swagger-editor
Version:
- [Anonymized analytics](#anonymized-analytics) - [Getting started](#getting-started) - [Prerequisites](#prerequisites) - [Installation](#installation) - [Usage](#usage) - [Development](#development) - [Prerequisites](#prerequisites) - [Setting
1,293 lines • 460 kB
JavaScript
//#region node_modules/@codingame/monaco-vscode-api/vscode/src/vs/base/common/charCode.js
var e;
(function(e) {
e[e.Null = 0] = "Null", e[e.Backspace = 8] = "Backspace", e[e.Tab = 9] = "Tab", e[e.LineFeed = 10] = "LineFeed", e[e.CarriageReturn = 13] = "CarriageReturn", e[e.Space = 32] = "Space", e[e.ExclamationMark = 33] = "ExclamationMark", e[e.DoubleQuote = 34] = "DoubleQuote", e[e.Hash = 35] = "Hash", e[e.DollarSign = 36] = "DollarSign", e[e.PercentSign = 37] = "PercentSign", e[e.Ampersand = 38] = "Ampersand", e[e.SingleQuote = 39] = "SingleQuote", e[e.OpenParen = 40] = "OpenParen", e[e.CloseParen = 41] = "CloseParen", e[e.Asterisk = 42] = "Asterisk", e[e.Plus = 43] = "Plus", e[e.Comma = 44] = "Comma", e[e.Dash = 45] = "Dash", e[e.Period = 46] = "Period", e[e.Slash = 47] = "Slash", e[e.Digit0 = 48] = "Digit0", e[e.Digit1 = 49] = "Digit1", e[e.Digit2 = 50] = "Digit2", e[e.Digit3 = 51] = "Digit3", e[e.Digit4 = 52] = "Digit4", e[e.Digit5 = 53] = "Digit5", e[e.Digit6 = 54] = "Digit6", e[e.Digit7 = 55] = "Digit7", e[e.Digit8 = 56] = "Digit8", e[e.Digit9 = 57] = "Digit9", e[e.Colon = 58] = "Colon", e[e.Semicolon = 59] = "Semicolon", e[e.LessThan = 60] = "LessThan", e[e.Equals = 61] = "Equals", e[e.GreaterThan = 62] = "GreaterThan", e[e.QuestionMark = 63] = "QuestionMark", e[e.AtSign = 64] = "AtSign", 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.OpenSquareBracket = 91] = "OpenSquareBracket", e[e.Backslash = 92] = "Backslash", e[e.CloseSquareBracket = 93] = "CloseSquareBracket", e[e.Caret = 94] = "Caret", e[e.Underline = 95] = "Underline", e[e.BackTick = 96] = "BackTick", 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.OpenCurlyBrace = 123] = "OpenCurlyBrace", e[e.Pipe = 124] = "Pipe", e[e.CloseCurlyBrace = 125] = "CloseCurlyBrace", e[e.Tilde = 126] = "Tilde", e[e.NoBreakSpace = 160] = "NoBreakSpace", e[e.U_Combining_Grave_Accent = 768] = "U_Combining_Grave_Accent", e[e.U_Combining_Acute_Accent = 769] = "U_Combining_Acute_Accent", e[e.U_Combining_Circumflex_Accent = 770] = "U_Combining_Circumflex_Accent", e[e.U_Combining_Tilde = 771] = "U_Combining_Tilde", e[e.U_Combining_Macron = 772] = "U_Combining_Macron", e[e.U_Combining_Overline = 773] = "U_Combining_Overline", e[e.U_Combining_Breve = 774] = "U_Combining_Breve", e[e.U_Combining_Dot_Above = 775] = "U_Combining_Dot_Above", e[e.U_Combining_Diaeresis = 776] = "U_Combining_Diaeresis", e[e.U_Combining_Hook_Above = 777] = "U_Combining_Hook_Above", e[e.U_Combining_Ring_Above = 778] = "U_Combining_Ring_Above", e[e.U_Combining_Double_Acute_Accent = 779] = "U_Combining_Double_Acute_Accent", e[e.U_Combining_Caron = 780] = "U_Combining_Caron", e[e.U_Combining_Vertical_Line_Above = 781] = "U_Combining_Vertical_Line_Above", e[e.U_Combining_Double_Vertical_Line_Above = 782] = "U_Combining_Double_Vertical_Line_Above", e[e.U_Combining_Double_Grave_Accent = 783] = "U_Combining_Double_Grave_Accent", e[e.U_Combining_Candrabindu = 784] = "U_Combining_Candrabindu", e[e.U_Combining_Inverted_Breve = 785] = "U_Combining_Inverted_Breve", e[e.U_Combining_Turned_Comma_Above = 786] = "U_Combining_Turned_Comma_Above", e[e.U_Combining_Comma_Above = 787] = "U_Combining_Comma_Above", e[e.U_Combining_Reversed_Comma_Above = 788] = "U_Combining_Reversed_Comma_Above", e[e.U_Combining_Comma_Above_Right = 789] = "U_Combining_Comma_Above_Right", e[e.U_Combining_Grave_Accent_Below = 790] = "U_Combining_Grave_Accent_Below", e[e.U_Combining_Acute_Accent_Below = 791] = "U_Combining_Acute_Accent_Below", e[e.U_Combining_Left_Tack_Below = 792] = "U_Combining_Left_Tack_Below", e[e.U_Combining_Right_Tack_Below = 793] = "U_Combining_Right_Tack_Below", e[e.U_Combining_Left_Angle_Above = 794] = "U_Combining_Left_Angle_Above", e[e.U_Combining_Horn = 795] = "U_Combining_Horn", e[e.U_Combining_Left_Half_Ring_Below = 796] = "U_Combining_Left_Half_Ring_Below", e[e.U_Combining_Up_Tack_Below = 797] = "U_Combining_Up_Tack_Below", e[e.U_Combining_Down_Tack_Below = 798] = "U_Combining_Down_Tack_Below", e[e.U_Combining_Plus_Sign_Below = 799] = "U_Combining_Plus_Sign_Below", e[e.U_Combining_Minus_Sign_Below = 800] = "U_Combining_Minus_Sign_Below", e[e.U_Combining_Palatalized_Hook_Below = 801] = "U_Combining_Palatalized_Hook_Below", e[e.U_Combining_Retroflex_Hook_Below = 802] = "U_Combining_Retroflex_Hook_Below", e[e.U_Combining_Dot_Below = 803] = "U_Combining_Dot_Below", e[e.U_Combining_Diaeresis_Below = 804] = "U_Combining_Diaeresis_Below", e[e.U_Combining_Ring_Below = 805] = "U_Combining_Ring_Below", e[e.U_Combining_Comma_Below = 806] = "U_Combining_Comma_Below", e[e.U_Combining_Cedilla = 807] = "U_Combining_Cedilla", e[e.U_Combining_Ogonek = 808] = "U_Combining_Ogonek", e[e.U_Combining_Vertical_Line_Below = 809] = "U_Combining_Vertical_Line_Below", e[e.U_Combining_Bridge_Below = 810] = "U_Combining_Bridge_Below", e[e.U_Combining_Inverted_Double_Arch_Below = 811] = "U_Combining_Inverted_Double_Arch_Below", e[e.U_Combining_Caron_Below = 812] = "U_Combining_Caron_Below", e[e.U_Combining_Circumflex_Accent_Below = 813] = "U_Combining_Circumflex_Accent_Below", e[e.U_Combining_Breve_Below = 814] = "U_Combining_Breve_Below", e[e.U_Combining_Inverted_Breve_Below = 815] = "U_Combining_Inverted_Breve_Below", e[e.U_Combining_Tilde_Below = 816] = "U_Combining_Tilde_Below", e[e.U_Combining_Macron_Below = 817] = "U_Combining_Macron_Below", e[e.U_Combining_Low_Line = 818] = "U_Combining_Low_Line", e[e.U_Combining_Double_Low_Line = 819] = "U_Combining_Double_Low_Line", e[e.U_Combining_Tilde_Overlay = 820] = "U_Combining_Tilde_Overlay", e[e.U_Combining_Short_Stroke_Overlay = 821] = "U_Combining_Short_Stroke_Overlay", e[e.U_Combining_Long_Stroke_Overlay = 822] = "U_Combining_Long_Stroke_Overlay", e[e.U_Combining_Short_Solidus_Overlay = 823] = "U_Combining_Short_Solidus_Overlay", e[e.U_Combining_Long_Solidus_Overlay = 824] = "U_Combining_Long_Solidus_Overlay", e[e.U_Combining_Right_Half_Ring_Below = 825] = "U_Combining_Right_Half_Ring_Below", e[e.U_Combining_Inverted_Bridge_Below = 826] = "U_Combining_Inverted_Bridge_Below", e[e.U_Combining_Square_Below = 827] = "U_Combining_Square_Below", e[e.U_Combining_Seagull_Below = 828] = "U_Combining_Seagull_Below", e[e.U_Combining_X_Above = 829] = "U_Combining_X_Above", e[e.U_Combining_Vertical_Tilde = 830] = "U_Combining_Vertical_Tilde", e[e.U_Combining_Double_Overline = 831] = "U_Combining_Double_Overline", e[e.U_Combining_Grave_Tone_Mark = 832] = "U_Combining_Grave_Tone_Mark", e[e.U_Combining_Acute_Tone_Mark = 833] = "U_Combining_Acute_Tone_Mark", e[e.U_Combining_Greek_Perispomeni = 834] = "U_Combining_Greek_Perispomeni", e[e.U_Combining_Greek_Koronis = 835] = "U_Combining_Greek_Koronis", e[e.U_Combining_Greek_Dialytika_Tonos = 836] = "U_Combining_Greek_Dialytika_Tonos", e[e.U_Combining_Greek_Ypogegrammeni = 837] = "U_Combining_Greek_Ypogegrammeni", e[e.U_Combining_Bridge_Above = 838] = "U_Combining_Bridge_Above", e[e.U_Combining_Equals_Sign_Below = 839] = "U_Combining_Equals_Sign_Below", e[e.U_Combining_Double_Vertical_Line_Below = 840] = "U_Combining_Double_Vertical_Line_Below", e[e.U_Combining_Left_Angle_Below = 841] = "U_Combining_Left_Angle_Below", e[e.U_Combining_Not_Tilde_Above = 842] = "U_Combining_Not_Tilde_Above", e[e.U_Combining_Homothetic_Above = 843] = "U_Combining_Homothetic_Above", e[e.U_Combining_Almost_Equal_To_Above = 844] = "U_Combining_Almost_Equal_To_Above", e[e.U_Combining_Left_Right_Arrow_Below = 845] = "U_Combining_Left_Right_Arrow_Below", e[e.U_Combining_Upwards_Arrow_Below = 846] = "U_Combining_Upwards_Arrow_Below", e[e.U_Combining_Grapheme_Joiner = 847] = "U_Combining_Grapheme_Joiner", e[e.U_Combining_Right_Arrowhead_Above = 848] = "U_Combining_Right_Arrowhead_Above", e[e.U_Combining_Left_Half_Ring_Above = 849] = "U_Combining_Left_Half_Ring_Above", e[e.U_Combining_Fermata = 850] = "U_Combining_Fermata", e[e.U_Combining_X_Below = 851] = "U_Combining_X_Below", e[e.U_Combining_Left_Arrowhead_Below = 852] = "U_Combining_Left_Arrowhead_Below", e[e.U_Combining_Right_Arrowhead_Below = 853] = "U_Combining_Right_Arrowhead_Below", e[e.U_Combining_Right_Arrowhead_And_Up_Arrowhead_Below = 854] = "U_Combining_Right_Arrowhead_And_Up_Arrowhead_Below", e[e.U_Combining_Right_Half_Ring_Above = 855] = "U_Combining_Right_Half_Ring_Above", e[e.U_Combining_Dot_Above_Right = 856] = "U_Combining_Dot_Above_Right", e[e.U_Combining_Asterisk_Below = 857] = "U_Combining_Asterisk_Below", e[e.U_Combining_Double_Ring_Below = 858] = "U_Combining_Double_Ring_Below", e[e.U_Combining_Zigzag_Above = 859] = "U_Combining_Zigzag_Above", e[e.U_Combining_Double_Breve_Below = 860] = "U_Combining_Double_Breve_Below", e[e.U_Combining_Double_Breve = 861] = "U_Combining_Double_Breve", e[e.U_Combining_Double_Macron = 862] = "U_Combining_Double_Macron", e[e.U_Combining_Double_Macron_Below = 863] = "U_Combining_Double_Macron_Below", e[e.U_Combining_Double_Tilde = 864] = "U_Combining_Double_Tilde", e[e.U_Combining_Double_Inverted_Breve = 865] = "U_Combining_Double_Inverted_Breve", e[e.U_Combining_Double_Rightwards_Arrow_Below = 866] = "U_Combining_Double_Rightwards_Arrow_Below", e[e.U_Combining_Latin_Small_Letter_A = 867] = "U_Combining_Latin_Small_Letter_A", e[e.U_Combining_Latin_Small_Letter_E = 868] = "U_Combining_Latin_Small_Letter_E", e[e.U_Combining_Latin_Small_Letter_I = 869] = "U_Combining_Latin_Small_Letter_I", e[e.U_Combining_Latin_Small_Letter_O = 870] = "U_Combining_Latin_Small_Letter_O", e[e.U_Combining_Latin_Small_Letter_U = 871] = "U_Combining_Latin_Small_Letter_U", e[e.U_Combining_Latin_Small_Letter_C = 872] = "U_Combining_Latin_Small_Letter_C", e[e.U_Combining_Latin_Small_Letter_D = 873] = "U_Combining_Latin_Small_Letter_D", e[e.U_Combining_Latin_Small_Letter_H = 874] = "U_Combining_Latin_Small_Letter_H", e[e.U_Combining_Latin_Small_Letter_M = 875] = "U_Combining_Latin_Small_Letter_M", e[e.U_Combining_Latin_Small_Letter_R = 876] = "U_Combining_Latin_Small_Letter_R", e[e.U_Combining_Latin_Small_Letter_T = 877] = "U_Combining_Latin_Small_Letter_T", e[e.U_Combining_Latin_Small_Letter_V = 878] = "U_Combining_Latin_Small_Letter_V", e[e.U_Combining_Latin_Small_Letter_X = 879] = "U_Combining_Latin_Small_Letter_X", e[e.LINE_SEPARATOR = 8232] = "LINE_SEPARATOR", e[e.PARAGRAPH_SEPARATOR = 8233] = "PARAGRAPH_SEPARATOR", e[e.NEXT_LINE = 133] = "NEXT_LINE", e[e.U_CIRCUMFLEX = 94] = "U_CIRCUMFLEX", e[e.U_GRAVE_ACCENT = 96] = "U_GRAVE_ACCENT", e[e.U_DIAERESIS = 168] = "U_DIAERESIS", e[e.U_MACRON = 175] = "U_MACRON", e[e.U_ACUTE_ACCENT = 180] = "U_ACUTE_ACCENT", e[e.U_CEDILLA = 184] = "U_CEDILLA", e[e.U_MODIFIER_LETTER_LEFT_ARROWHEAD = 706] = "U_MODIFIER_LETTER_LEFT_ARROWHEAD", e[e.U_MODIFIER_LETTER_RIGHT_ARROWHEAD = 707] = "U_MODIFIER_LETTER_RIGHT_ARROWHEAD", e[e.U_MODIFIER_LETTER_UP_ARROWHEAD = 708] = "U_MODIFIER_LETTER_UP_ARROWHEAD", e[e.U_MODIFIER_LETTER_DOWN_ARROWHEAD = 709] = "U_MODIFIER_LETTER_DOWN_ARROWHEAD", e[e.U_MODIFIER_LETTER_CENTRED_RIGHT_HALF_RING = 722] = "U_MODIFIER_LETTER_CENTRED_RIGHT_HALF_RING", e[e.U_MODIFIER_LETTER_CENTRED_LEFT_HALF_RING = 723] = "U_MODIFIER_LETTER_CENTRED_LEFT_HALF_RING", e[e.U_MODIFIER_LETTER_UP_TACK = 724] = "U_MODIFIER_LETTER_UP_TACK", e[e.U_MODIFIER_LETTER_DOWN_TACK = 725] = "U_MODIFIER_LETTER_DOWN_TACK", e[e.U_MODIFIER_LETTER_PLUS_SIGN = 726] = "U_MODIFIER_LETTER_PLUS_SIGN", e[e.U_MODIFIER_LETTER_MINUS_SIGN = 727] = "U_MODIFIER_LETTER_MINUS_SIGN", e[e.U_BREVE = 728] = "U_BREVE", e[e.U_DOT_ABOVE = 729] = "U_DOT_ABOVE", e[e.U_RING_ABOVE = 730] = "U_RING_ABOVE", e[e.U_OGONEK = 731] = "U_OGONEK", e[e.U_SMALL_TILDE = 732] = "U_SMALL_TILDE", e[e.U_DOUBLE_ACUTE_ACCENT = 733] = "U_DOUBLE_ACUTE_ACCENT", e[e.U_MODIFIER_LETTER_RHOTIC_HOOK = 734] = "U_MODIFIER_LETTER_RHOTIC_HOOK", e[e.U_MODIFIER_LETTER_CROSS_ACCENT = 735] = "U_MODIFIER_LETTER_CROSS_ACCENT", e[e.U_MODIFIER_LETTER_EXTRA_HIGH_TONE_BAR = 741] = "U_MODIFIER_LETTER_EXTRA_HIGH_TONE_BAR", e[e.U_MODIFIER_LETTER_HIGH_TONE_BAR = 742] = "U_MODIFIER_LETTER_HIGH_TONE_BAR", e[e.U_MODIFIER_LETTER_MID_TONE_BAR = 743] = "U_MODIFIER_LETTER_MID_TONE_BAR", e[e.U_MODIFIER_LETTER_LOW_TONE_BAR = 744] = "U_MODIFIER_LETTER_LOW_TONE_BAR", e[e.U_MODIFIER_LETTER_EXTRA_LOW_TONE_BAR = 745] = "U_MODIFIER_LETTER_EXTRA_LOW_TONE_BAR", e[e.U_MODIFIER_LETTER_YIN_DEPARTING_TONE_MARK = 746] = "U_MODIFIER_LETTER_YIN_DEPARTING_TONE_MARK", e[e.U_MODIFIER_LETTER_YANG_DEPARTING_TONE_MARK = 747] = "U_MODIFIER_LETTER_YANG_DEPARTING_TONE_MARK", e[e.U_MODIFIER_LETTER_UNASPIRATED = 749] = "U_MODIFIER_LETTER_UNASPIRATED", e[e.U_MODIFIER_LETTER_LOW_DOWN_ARROWHEAD = 751] = "U_MODIFIER_LETTER_LOW_DOWN_ARROWHEAD", e[e.U_MODIFIER_LETTER_LOW_UP_ARROWHEAD = 752] = "U_MODIFIER_LETTER_LOW_UP_ARROWHEAD", e[e.U_MODIFIER_LETTER_LOW_LEFT_ARROWHEAD = 753] = "U_MODIFIER_LETTER_LOW_LEFT_ARROWHEAD", e[e.U_MODIFIER_LETTER_LOW_RIGHT_ARROWHEAD = 754] = "U_MODIFIER_LETTER_LOW_RIGHT_ARROWHEAD", e[e.U_MODIFIER_LETTER_LOW_RING = 755] = "U_MODIFIER_LETTER_LOW_RING", e[e.U_MODIFIER_LETTER_MIDDLE_GRAVE_ACCENT = 756] = "U_MODIFIER_LETTER_MIDDLE_GRAVE_ACCENT", e[e.U_MODIFIER_LETTER_MIDDLE_DOUBLE_GRAVE_ACCENT = 757] = "U_MODIFIER_LETTER_MIDDLE_DOUBLE_GRAVE_ACCENT", e[e.U_MODIFIER_LETTER_MIDDLE_DOUBLE_ACUTE_ACCENT = 758] = "U_MODIFIER_LETTER_MIDDLE_DOUBLE_ACUTE_ACCENT", e[e.U_MODIFIER_LETTER_LOW_TILDE = 759] = "U_MODIFIER_LETTER_LOW_TILDE", e[e.U_MODIFIER_LETTER_RAISED_COLON = 760] = "U_MODIFIER_LETTER_RAISED_COLON", e[e.U_MODIFIER_LETTER_BEGIN_HIGH_TONE = 761] = "U_MODIFIER_LETTER_BEGIN_HIGH_TONE", e[e.U_MODIFIER_LETTER_END_HIGH_TONE = 762] = "U_MODIFIER_LETTER_END_HIGH_TONE", e[e.U_MODIFIER_LETTER_BEGIN_LOW_TONE = 763] = "U_MODIFIER_LETTER_BEGIN_LOW_TONE", e[e.U_MODIFIER_LETTER_END_LOW_TONE = 764] = "U_MODIFIER_LETTER_END_LOW_TONE", e[e.U_MODIFIER_LETTER_SHELF = 765] = "U_MODIFIER_LETTER_SHELF", e[e.U_MODIFIER_LETTER_OPEN_SHELF = 766] = "U_MODIFIER_LETTER_OPEN_SHELF", e[e.U_MODIFIER_LETTER_LOW_LEFT_ARROW = 767] = "U_MODIFIER_LETTER_LOW_LEFT_ARROW", e[e.U_GREEK_LOWER_NUMERAL_SIGN = 885] = "U_GREEK_LOWER_NUMERAL_SIGN", e[e.U_GREEK_TONOS = 900] = "U_GREEK_TONOS", e[e.U_GREEK_DIALYTIKA_TONOS = 901] = "U_GREEK_DIALYTIKA_TONOS", e[e.U_GREEK_KORONIS = 8125] = "U_GREEK_KORONIS", e[e.U_GREEK_PSILI = 8127] = "U_GREEK_PSILI", e[e.U_GREEK_PERISPOMENI = 8128] = "U_GREEK_PERISPOMENI", e[e.U_GREEK_DIALYTIKA_AND_PERISPOMENI = 8129] = "U_GREEK_DIALYTIKA_AND_PERISPOMENI", e[e.U_GREEK_PSILI_AND_VARIA = 8141] = "U_GREEK_PSILI_AND_VARIA", e[e.U_GREEK_PSILI_AND_OXIA = 8142] = "U_GREEK_PSILI_AND_OXIA", e[e.U_GREEK_PSILI_AND_PERISPOMENI = 8143] = "U_GREEK_PSILI_AND_PERISPOMENI", e[e.U_GREEK_DASIA_AND_VARIA = 8157] = "U_GREEK_DASIA_AND_VARIA", e[e.U_GREEK_DASIA_AND_OXIA = 8158] = "U_GREEK_DASIA_AND_OXIA", e[e.U_GREEK_DASIA_AND_PERISPOMENI = 8159] = "U_GREEK_DASIA_AND_PERISPOMENI", e[e.U_GREEK_DIALYTIKA_AND_VARIA = 8173] = "U_GREEK_DIALYTIKA_AND_VARIA", e[e.U_GREEK_DIALYTIKA_AND_OXIA = 8174] = "U_GREEK_DIALYTIKA_AND_OXIA", e[e.U_GREEK_VARIA = 8175] = "U_GREEK_VARIA", e[e.U_GREEK_OXIA = 8189] = "U_GREEK_OXIA", e[e.U_GREEK_DASIA = 8190] = "U_GREEK_DASIA", e[e.U_IDEOGRAPHIC_FULL_STOP = 12290] = "U_IDEOGRAPHIC_FULL_STOP", e[e.U_LEFT_CORNER_BRACKET = 12300] = "U_LEFT_CORNER_BRACKET", e[e.U_RIGHT_CORNER_BRACKET = 12301] = "U_RIGHT_CORNER_BRACKET", e[e.U_LEFT_BLACK_LENTICULAR_BRACKET = 12304] = "U_LEFT_BLACK_LENTICULAR_BRACKET", e[e.U_RIGHT_BLACK_LENTICULAR_BRACKET = 12305] = "U_RIGHT_BLACK_LENTICULAR_BRACKET", e[e.U_OVERLINE = 8254] = "U_OVERLINE", e[e.UTF8_BOM = 65279] = "UTF8_BOM", e[e.U_FULLWIDTH_SEMICOLON = 65307] = "U_FULLWIDTH_SEMICOLON", e[e.U_FULLWIDTH_COMMA = 65292] = "U_FULLWIDTH_COMMA";
})(e ||= {});
var t = new class {
constructor() {
this.listeners = [], this.unexpectedErrorHandler = function(e) {
setTimeout(() => {
throw e.stack ? c.isErrorNoTelemetry(e) ? new c(e.message + "\n\n" + e.stack) : /* @__PURE__ */ Error(e.message + "\n\n" + e.stack) : e;
}, 0);
};
}
addListener(e) {
return this.listeners.push(e), () => {
this._removeListener(e);
};
}
emit(e) {
this.listeners.forEach((t) => {
t(e);
});
}
_removeListener(e) {
this.listeners.splice(this.listeners.indexOf(e), 1);
}
setUnexpectedErrorHandler(e) {
this.unexpectedErrorHandler = e;
}
getUnexpectedErrorHandler() {
return this.unexpectedErrorHandler;
}
onUnexpectedError(e) {
this.unexpectedErrorHandler(e), this.emit(e);
}
onUnexpectedExternalError(e) {
this.unexpectedErrorHandler(e);
}
}();
function n(e) {
o(e) || t.onUnexpectedError(e);
}
function r(e) {
o(e) || t.onUnexpectedExternalError(e);
}
function i(e) {
if (e instanceof Error) {
let { name: t, message: n, cause: r } = e;
return {
$isError: !0,
name: t,
message: n,
stack: e.stacktrace || e.stack,
noTelemetry: c.isErrorNoTelemetry(e),
cause: r ? i(r) : void 0,
code: e.code
};
}
return e;
}
var a = "Canceled";
function o(e) {
return e instanceof s ? !0 : e instanceof Error && e.name === "Canceled" && e.message === "Canceled";
}
var s = class extends Error {
constructor() {
super(a), this.name = this.message;
}
};
(class e extends Error {
static {
this._name = "PendingMigrationError";
}
static is(t) {
return t instanceof e || t instanceof Error && t.name === e._name;
}
constructor(t) {
super(t), this.name = e._name;
}
});
var c = class e extends Error {
constructor(e) {
super(e), this.name = "CodeExpectedError";
}
static fromError(t) {
if (t instanceof e) return t;
let n = new e();
return n.message = t.message, n.stack = t.stack, n;
}
static isErrorNoTelemetry(e) {
return e.name === "CodeExpectedError";
}
}, l = class e extends Error {
constructor(t) {
super(t || "An unexpected bug occurred."), Object.setPrototypeOf(this, e.prototype);
}
}, u;
function d(e, t) {
let n = Object.create(null);
for (let r of e) {
let e = t(r), i = n[e];
i ||= n[e] = [], i.push(r);
}
return n;
}
(class {
static {
u = Symbol.toStringTag;
}
constructor(e, t) {
this.toKey = t, this._map = /* @__PURE__ */ new Map(), this[u] = "SetWithKey";
for (let t of e) this.add(t);
}
get size() {
return this._map.size;
}
add(e) {
let t = this.toKey(e);
return this._map.set(t, e), this;
}
delete(e) {
return this._map.delete(this.toKey(e));
}
has(e) {
return this._map.has(this.toKey(e));
}
*entries() {
for (let e of this._map.values()) yield [e, e];
}
keys() {
return this.values();
}
*values() {
for (let e of this._map.values()) yield e;
}
clear() {
this._map.clear();
}
forEach(e, t) {
this._map.forEach((n) => e.call(t, n, n, this));
}
[Symbol.iterator]() {
return this.values();
}
});
//#endregion
//#region node_modules/@codingame/monaco-vscode-api/vscode/src/vs/base/common/arraysFind.js
function f(e, t) {
let n = p(e, t);
return n === -1 ? void 0 : e[n];
}
function p(e, t, n = 0, r = e.length) {
let i = n, a = r;
for (; i < a;) {
let n = Math.floor((i + a) / 2);
t(e[n]) ? i = n + 1 : a = n;
}
return i - 1;
}
function m(e, t) {
let n = h(e, t);
return n === e.length ? void 0 : e[n];
}
function h(e, t, n = 0, r = e.length) {
let i = n, a = r;
for (; i < a;) {
let n = Math.floor((i + a) / 2);
t(e[n]) ? a = n : i = n + 1;
}
return i;
}
var g = class e {
static {
this.assertInvariants = !1;
}
constructor(e) {
this._array = e, this._findLastMonotonousLastIdx = 0;
}
findLastMonotonous(t) {
if (e.assertInvariants) {
if (this._prevFindLastPredicate) {
for (let e of this._array) if (this._prevFindLastPredicate(e) && !t(e)) throw /* @__PURE__ */ Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.");
}
this._prevFindLastPredicate = t;
}
let n = p(this._array, t, this._findLastMonotonousLastIdx);
return this._findLastMonotonousLastIdx = n + 1, n === -1 ? void 0 : this._array[n];
}
};
//#endregion
//#region node_modules/@codingame/monaco-vscode-api/vscode/src/vs/base/common/arrays.js
function _(e, t, n = (e, t) => e === t) {
if (e === t) return !0;
if (!e || !t || 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* v(e, t) {
let n, r;
for (let i of e) r !== void 0 && t(r, i) ? n.push(i) : (n && (yield n), n = [i]), r = i;
n && (yield n);
}
function y(e, t) {
for (let n = 0; n <= e.length; n++) t(n === 0 ? void 0 : e[n - 1], n === e.length ? void 0 : e[n]);
}
function b(e, t) {
for (let n = 0; n < e.length; n++) t(n === 0 ? void 0 : e[n - 1], e[n], n + 1 === e.length ? void 0 : e[n + 1]);
}
function x(e, t) {
for (let n of t) e.push(n);
}
var S;
(function(e) {
function t(e) {
return e < 0;
}
e.isLessThan = t;
function n(e) {
return e <= 0;
}
e.isLessThanOrEqual = n;
function r(e) {
return e > 0;
}
e.isGreaterThan = r;
function i(e) {
return e === 0;
}
e.isNeitherLessOrGreaterThan = i, e.greaterThan = 1, e.lessThan = -1, e.neitherLessOrGreaterThan = 0;
})(S ||= {});
function C(e, t) {
return (n, r) => t(e(n), e(r));
}
var w = (e, t) => e - t;
function ee(e) {
return (t, n) => -e(t, n);
}
(class e {
static {
this.empty = new e((e) => {});
}
constructor(e) {
this.iterate = e;
}
forEach(e) {
this.iterate((t) => (e(t), !0));
}
toArray() {
let e = [];
return this.iterate((t) => (e.push(t), !0)), e;
}
filter(t) {
return new e((e) => this.iterate((n) => t(n) ? e(n) : !0));
}
map(t) {
return new e((e) => this.iterate((n) => e(t(n))));
}
some(e) {
let t = !1;
return this.iterate((n) => (t = e(n), !t)), t;
}
findFirst(e) {
let t;
return this.iterate((n) => e(n) ? (t = n, !1) : !0), t;
}
findLast(e) {
let t;
return this.iterate((n) => (e(n) && (t = n), !0)), t;
}
findLastMaxBy(e) {
let t, n = !0;
return this.iterate((r) => ((n || S.isGreaterThan(e(r, t))) && (n = !1, t = r), !0)), t;
}
});
function te(e, t) {
return e.reduce((e, n) => e + t(n), 0);
}
//#endregion
//#region node_modules/@codingame/monaco-vscode-api/vscode/src/vs/base/common/map.js
var ne, re, ie = class {
constructor(e, t) {
this.uri = e, this.value = t;
}
};
function ae(e) {
return Array.isArray(e);
}
var oe = class e {
static {
this.defaultToKey = (e) => e.toString();
}
constructor(t, n) {
if (this[ne] = "ResourceMap", t instanceof e) this.map = new Map(t.map), this.toKey = n ?? e.defaultToKey;
else if (ae(t)) {
this.map = /* @__PURE__ */ new Map(), this.toKey = n ?? e.defaultToKey;
for (let [e, n] of t) this.set(e, n);
} else this.map = /* @__PURE__ */ new Map(), this.toKey = t ?? e.defaultToKey;
}
set(e, t) {
return this.map.set(this.toKey(e), new ie(e, t)), this;
}
get(e) {
return this.map.get(this.toKey(e))?.value;
}
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) {
t !== void 0 && (e = e.bind(t));
for (let [t, n] of this.map) e(n.value, n.uri, this);
}
*values() {
for (let e of this.map.values()) yield e.value;
}
*keys() {
for (let e of this.map.values()) yield e.uri;
}
*entries() {
for (let e of this.map.values()) yield [e.uri, e.value];
}
*[(ne = Symbol.toStringTag, Symbol.iterator)]() {
for (let [, e] of this.map) yield [e.uri, e.value];
}
}, T;
(function(e) {
e[e.None = 0] = "None", e[e.AsOld = 1] = "AsOld", e[e.AsNew = 2] = "AsNew";
})(T ||= {});
var se = class {
constructor() {
this[re] = "LinkedMap", this._map = /* @__PURE__ */ 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() {
return this._head?.value;
}
get last() {
return this._tail?.value;
}
has(e) {
return this._map.has(e);
}
get(e, t = T.None) {
let n = this._map.get(e);
if (n) return t !== T.None && this.touch(n, t), n.value;
}
set(e, t, n = T.None) {
let r = this._map.get(e);
if (r) r.value = t, n !== T.None && this.touch(r, n);
else {
switch (r = {
key: e,
value: t,
next: void 0,
previous: void 0
}, n) {
case T.None:
this.addItemLast(r);
break;
case T.AsOld:
this.addItemFirst(r);
break;
case T.AsNew:
this.addItemLast(r);
break;
default:
this.addItemLast(r);
break;
}
this._map.set(e, r), this._size++;
}
return this;
}
delete(e) {
return !!this.remove(e);
}
remove(e) {
let 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 /* @__PURE__ */ Error("Invalid list");
let e = this._head;
return this._map.delete(e.key), this.removeItem(e), this._size--, e.value;
}
forEach(e, t) {
let n = this._state, r = this._head;
for (; r;) {
if (t ? e.bind(t)(r.value, r.key, this) : e(r.value, r.key, this), this._state !== n) throw /* @__PURE__ */ Error("LinkedMap got modified during iteration.");
r = r.next;
}
}
keys() {
let e = this, t = this._state, n = this._head, r = {
[Symbol.iterator]() {
return r;
},
[Symbol.dispose]() {},
next() {
if (e._state !== t) throw /* @__PURE__ */ Error("LinkedMap got modified during iteration.");
if (n) {
let e = {
value: n.key,
done: !1
};
return n = n.next, e;
} else return {
value: void 0,
done: !0
};
}
};
return r;
}
values() {
let e = this, t = this._state, n = this._head, r = {
[Symbol.iterator]() {
return r;
},
[Symbol.dispose]() {},
next() {
if (e._state !== t) throw /* @__PURE__ */ Error("LinkedMap got modified during iteration.");
if (n) {
let e = {
value: n.value,
done: !1
};
return n = n.next, e;
} else return {
value: void 0,
done: !0
};
}
};
return r;
}
entries() {
let e = this, t = this._state, n = this._head, r = {
[Symbol.iterator]() {
return r;
},
[Symbol.dispose]() {},
next() {
if (e._state !== t) throw /* @__PURE__ */ Error("LinkedMap got modified during iteration.");
if (n) {
let e = {
value: [n.key, n.value],
done: !1
};
return n = n.next, e;
} else return {
value: void 0,
done: !0
};
}
};
return r;
}
[(re = Symbol.toStringTag, Symbol.iterator)]() {
return this.entries();
}
trimOld(e) {
if (e >= this.size) return;
if (e === 0) {
this.clear();
return;
}
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++;
}
trimNew(e) {
if (e >= this.size) return;
if (e === 0) {
this.clear();
return;
}
let t = this._tail, n = this.size;
for (; t && n > e;) this._map.delete(t.key), t = t.previous, n--;
this._tail = t, this._size = n, t && (t.next = void 0), this._state++;
}
addItemFirst(e) {
if (!this._head && !this._tail) this._tail = e;
else if (this._head) e.next = this._head, this._head.previous = e;
else throw /* @__PURE__ */ Error("Invalid list");
this._head = e, this._state++;
}
addItemLast(e) {
if (!this._head && !this._tail) this._head = e;
else if (this._tail) e.previous = this._tail, this._tail.next = e;
else throw /* @__PURE__ */ Error("Invalid list");
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 /* @__PURE__ */ Error("Invalid list");
e.next.previous = void 0, this._head = e.next;
} else if (e === this._tail) {
if (!e.previous) throw /* @__PURE__ */ Error("Invalid list");
e.previous.next = void 0, this._tail = e.previous;
} else {
let t = e.next, n = e.previous;
if (!t || !n) throw /* @__PURE__ */ 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 /* @__PURE__ */ Error("Invalid list");
if (!(t !== T.AsOld && t !== T.AsNew)) {
if (t === T.AsOld) {
if (e === this._head) return;
let 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 (t === T.AsNew) {
if (e === this._tail) return;
let 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() {
let e = [];
return this.forEach((t, n) => {
e.push([n, t]);
}), e;
}
fromJSON(e) {
this.clear();
for (let [t, n] of e) this.set(t, n);
}
}, ce = class extends se {
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 ratio() {
return this._ratio;
}
set ratio(e) {
this._ratio = Math.min(Math.max(0, e), 1), this.checkTrim();
}
get(e, t = T.AsNew) {
return super.get(e, t);
}
peek(e) {
return super.get(e, T.None);
}
set(e, t) {
return super.set(e, t, T.AsNew), this;
}
checkTrim() {
this.size > this._limit && this.trim(Math.round(this._limit * this._ratio));
}
}, le = class extends ce {
constructor(e, t = 1) {
super(e, t);
}
trim(e) {
this.trimOld(e);
}
set(e, t) {
return super.set(e, t), this.checkTrim(), this;
}
}, ue = class {
constructor() {
this.map = /* @__PURE__ */ new Map();
}
add(e, t) {
let n = this.map.get(e);
n || (n = /* @__PURE__ */ new Set(), this.map.set(e, n)), n.add(t);
}
delete(e, t) {
let n = this.map.get(e);
n && (n.delete(t), n.size === 0 && this.map.delete(e));
}
forEach(e, t) {
let n = this.map.get(e);
n && n.forEach(t);
}
get(e) {
return this.map.get(e) || /* @__PURE__ */ new Set();
}
};
//#endregion
//#region node_modules/@codingame/monaco-vscode-api/vscode/src/vs/base/common/assert.js
function de(e, t = "Unreachable") {
throw Error(t);
}
function fe(e, t = "unexpected state") {
if (!e) throw typeof t == "string" ? new l(`Assertion Failed: ${t}`) : t;
}
function pe(e) {
e() || (e(), n(new l("Assertion Failed")));
}
function me(e, t) {
let n = 0;
for (; n < e.length - 1;) {
let r = e[n], i = e[n + 1];
if (!t(r, i)) return !1;
n++;
}
return !0;
}
//#endregion
//#region node_modules/@codingame/monaco-vscode-api/vscode/src/vs/base/common/types.js
function he(e) {
return typeof e == "string";
}
function ge(e) {
return !!e && typeof e[Symbol.iterator] == "function";
}
//#endregion
//#region node_modules/@codingame/monaco-vscode-api/vscode/src/vs/base/common/iterator.js
var _e;
(function(e) {
function t(e) {
return !!e && typeof e == "object" && typeof e[Symbol.iterator] == "function";
}
e.is = t;
let n = Object.freeze([]);
function r() {
return n;
}
e.empty = r;
function* i(e) {
yield e;
}
e.single = i;
function a(e) {
return t(e) ? e : i(e);
}
e.wrap = a;
function o(e) {
return e ?? n;
}
e.from = o;
function* s(e) {
for (let t = e.length - 1; t >= 0; t--) yield e[t];
}
e.reverse = s;
function c(e) {
return !e || e[Symbol.iterator]().next().done === !0;
}
e.isEmpty = c;
function l(e) {
return e[Symbol.iterator]().next().value;
}
e.first = l;
function u(e, t) {
let n = 0;
for (let r of e) if (t(r, n++)) return !0;
return !1;
}
e.some = u;
function d(e, t) {
let n = 0;
for (let r of e) if (!t(r, n++)) return !1;
return !0;
}
e.every = d;
function f(e, t) {
for (let n of e) if (t(n)) return n;
}
e.find = f;
function* p(e, t) {
for (let n of e) t(n) && (yield n);
}
e.filter = p;
function* m(e, t) {
let n = 0;
for (let r of e) yield t(r, n++);
}
e.map = m;
function* h(e, t) {
let n = 0;
for (let r of e) yield* t(r, n++);
}
e.flatMap = h;
function* g(...e) {
for (let t of e) ge(t) ? yield* t : yield t;
}
e.concat = g;
function _(e, t, n) {
let r = n;
for (let n of e) r = t(r, n);
return r;
}
e.reduce = _;
function v(e) {
let t = 0;
for (let n of e) t++;
return t;
}
e.length = v;
function* y(e, t, n = e.length) {
for (t < -e.length && (t = 0), t < 0 && (t += e.length), n < 0 ? n += e.length : n > e.length && (n = e.length); t < n; t++) yield e[t];
}
e.slice = y;
function b(t, n = Infinity) {
let r = [];
if (n === 0) return [r, t];
let i = t[Symbol.iterator]();
for (let t = 0; t < n; t++) {
let t = i.next();
if (t.done) return [r, e.empty()];
r.push(t.value);
}
return [r, { [Symbol.iterator]() {
return i;
} }];
}
e.consume = b;
async function x(e) {
let t = [];
for await (let n of e) t.push(n);
return t;
}
e.asyncToArray = x;
async function S(e) {
let t = [];
for await (let n of e) t = t.concat(n);
return t;
}
e.asyncToArrayFlat = S;
})(_e ||= {});
//#endregion
//#region node_modules/@codingame/monaco-vscode-api/vscode/src/vs/base/common/lifecycle.js
var ve = null;
(class e {
constructor() {
this.livingDisposables = /* @__PURE__ */ new Map();
}
static {
this.idx = 0;
}
getDisposableData(t) {
let n = this.livingDisposables.get(t);
return n || (n = {
parent: null,
source: null,
isSingleton: !1,
value: t,
idx: e.idx++
}, this.livingDisposables.set(t, n)), n;
}
trackDisposable(e) {
let t = this.getDisposableData(e);
t.source ||= (/* @__PURE__ */ Error()).stack;
}
setParent(e, t) {
let n = this.getDisposableData(e);
n.parent = t;
}
markAsDisposed(e) {
this.livingDisposables.delete(e);
}
markAsSingleton(e) {
this.getDisposableData(e).isSingleton = !0;
}
getRootParent(e, t) {
let n = t.get(e);
if (n) return n;
let r = e.parent ? this.getRootParent(this.getDisposableData(e.parent), t) : e;
return t.set(e, r), r;
}
getTrackedDisposables() {
let e = /* @__PURE__ */ new Map();
return [...this.livingDisposables.entries()].filter(([, t]) => t.source !== null && !this.getRootParent(t, e).isSingleton).flatMap(([e]) => e);
}
computeLeakingDisposables(e = 10, t) {
let n;
if (t) n = t;
else {
let e = /* @__PURE__ */ new Map(), t = [...this.livingDisposables.values()].filter((t) => t.source !== null && !this.getRootParent(t, e).isSingleton);
if (t.length === 0) return;
let r = new Set(t.map((e) => e.value));
if (n = t.filter((e) => !(e.parent && r.has(e.parent))), n.length === 0) throw /* @__PURE__ */ Error("There are cyclic diposable chains!");
}
if (!n) return;
function r(e) {
function t(e, t) {
for (; e.length > 0 && t.some((t) => typeof t == "string" ? t === e[0] : e[0].match(t));) e.shift();
}
let n = e.source.split("\n").map((e) => e.trim().replace("at ", "")).filter((e) => e !== "");
return t(n, [
"Error",
/^trackDisposable \(.*\)$/,
/^DisposableTracker.trackDisposable \(.*\)$/
]), n.reverse();
}
let i = new ue();
for (let e of n) {
let t = r(e);
for (let n = 0; n <= t.length; n++) i.add(t.slice(0, n).join("\n"), e);
}
n.sort(C((e) => e.idx, w));
let a = "", o = 0;
for (let t of n.slice(0, e)) {
o++;
let e = r(t), s = [];
for (let t = 0; t < e.length; t++) {
let a = e[t];
a = `(shared with ${i.get(e.slice(0, t + 1).join("\n")).size}/${n.length} leaks) at ${a}`;
let o = d([...i.get(e.slice(0, t).join("\n"))].map((e) => r(e)[t]), (e) => e);
delete o[e[t]];
for (let [e, t] of Object.entries(o)) t && s.unshift(` - stacktraces of ${t.length} other leaks continue with ${e}`);
s.unshift(a);
}
a += `\n\n\n==================== Leaking disposable ${o}/${n.length}: ${t.value.constructor.name} ====================\n${s.join("\n")}\n============================================================\n\n`;
}
return n.length > e && (a += `\n\n\n... and ${n.length - e} more leaking disposables\n\n`), {
leaks: n,
details: a
};
}
});
function ye(e) {
return ve?.trackDisposable(e), e;
}
function be(e) {
ve?.markAsDisposed(e);
}
function xe(e, t) {
ve?.setParent(e, t);
}
function Se(e, t) {
if (ve) for (let n of e) ve.setParent(n, t);
}
function Ce(e) {
if (_e.is(e)) {
let t = [];
for (let n of e) if (n) try {
n.dispose();
} catch (e) {
t.push(e);
}
if (t.length === 1) throw t[0];
if (t.length > 1) throw AggregateError(t, "Encountered errors while disposing of store");
return Array.isArray(e) ? [] : e;
} else if (e) return e.dispose(), e;
}
function we(...e) {
let t = Ee(() => Ce(e));
return Se(e, t), t;
}
var Te = class {
constructor(e) {
this._isDisposed = !1, this._fn = e, ye(this);
}
dispose() {
if (!this._isDisposed) {
if (!this._fn) throw /* @__PURE__ */ Error("Unbound disposable context: Need to use an arrow function to preserve the value of this");
this._isDisposed = !0, be(this), this._fn();
}
}
};
function Ee(e) {
return new Te(e);
}
var De = class e {
static {
this.DISABLE_DISPOSED_WARNING = !1;
}
constructor() {
this._toDispose = /* @__PURE__ */ new Set(), this._isDisposed = !1, ye(this);
}
dispose() {
this._isDisposed || (be(this), this._isDisposed = !0, this.clear());
}
get isDisposed() {
return this._isDisposed;
}
clear() {
if (this._toDispose.size !== 0) try {
Ce(this._toDispose);
} finally {
this._toDispose.clear();
}
}
add(t) {
if (!t || t === Oe.None) return t;
if (t === this) throw /* @__PURE__ */ Error("Cannot register a disposable on itself!");
return xe(t, this), this._isDisposed ? e.DISABLE_DISPOSED_WARNING || console.warn((/* @__PURE__ */ 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(t), t;
}
delete(e) {
if (e) {
if (e === this) throw /* @__PURE__ */ Error("Cannot dispose a disposable on itself!");
this._toDispose.delete(e), e.dispose();
}
}
deleteAndLeak(e) {
e && this._toDispose.delete(e) && xe(e, null);
}
assertNotDisposed() {
this._isDisposed && n(new l("Object disposed"));
}
}, Oe = class {
static {
this.None = Object.freeze({ dispose() {} });
}
constructor() {
this._store = new De(), ye(this), xe(this._store, this);
}
dispose() {
be(this), this._store.dispose();
}
_register(e) {
if (e === this) throw /* @__PURE__ */ Error("Cannot register a disposable on itself!");
return this._store.add(e);
}
}, E = class e {
static {
this.Undefined = new e(void 0);
}
constructor(t) {
this.element = t, this.next = e.Undefined, this.prev = e.Undefined;
}
}, ke = class {
constructor() {
this._first = E.Undefined, this._last = E.Undefined, this._size = 0;
}
get size() {
return this._size;
}
isEmpty() {
return this._first === E.Undefined;
}
clear() {
let e = this._first;
for (; e !== E.Undefined;) {
let t = e.next;
e.prev = E.Undefined, e.next = E.Undefined, e = t;
}
this._first = E.Undefined, this._last = E.Undefined, this._size = 0;
}
unshift(e) {
return this._insert(e, !1);
}
push(e) {
return this._insert(e, !0);
}
_insert(e, t) {
let n = new E(e);
if (this._first === E.Undefined) this._first = n, this._last = n;
else if (t) {
let e = this._last;
this._last = n, n.prev = e, e.next = n;
} else {
let 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 !== E.Undefined) {
let e = this._first.element;
return this._remove(this._first), e;
}
}
pop() {
if (this._last !== E.Undefined) {
let e = this._last.element;
return this._remove(this._last), e;
}
}
peek() {
if (this._last !== E.Undefined) return this._last.element;
}
_remove(e) {
if (e.prev !== E.Undefined && e.next !== E.Undefined) {
let t = e.prev;
t.next = e.next, e.next.prev = t;
} else e.prev === E.Undefined && e.next === E.Undefined ? (this._first = E.Undefined, this._last = E.Undefined) : e.next === E.Undefined ? (this._last = this._last.prev, this._last.next = E.Undefined) : e.prev === E.Undefined && (this._first = this._first.next, this._first.prev = E.Undefined);
--this._size;
}
*[Symbol.iterator]() {
let e = this._first;
for (; e !== E.Undefined;) yield e.element, e = e.next;
}
};
//#endregion
//#region node_modules/@codingame/monaco-vscode-api/vscode/src/vs/nls.js
function Ae() {
return globalThis._VSCODE_NLS_MESSAGES;
}
function je() {
return globalThis._VSCODE_NLS_LANGUAGE;
}
var Me = je() === "pseudo" || typeof document < "u" && document.location && typeof document.location.hash == "string" && document.location.hash.indexOf("pseudo=true") >= 0;
function Ne(e, t) {
let n;
return n = t.length === 0 ? e : e.replace(/\{(\d+)\}/g, (e, n) => {
let r = t[n[0]], i = e;
return typeof r == "string" ? i = r : (typeof r == "number" || typeof r == "boolean" || r == null) && (i = String(r)), i;
}), Me && (n = "[" + n.replace(/[aouei]/g, "$&$&") + "]"), n;
}
function D(e, t, ...n) {
return Ne(typeof e == "number" ? Pe(e, t) : t, n);
}
function Pe(e, t) {
let n = Ae()?.[e];
if (typeof n != "string") {
if (typeof t == "string") return t;
throw /* @__PURE__ */ Error(`!!! NLS MISSING: ${e} !!!`);
}
return n;
}
var Fe = !1, Ie = !1, Le = !1, Re = !1, ze = !1, Be = !1, Ve = "en", He = void 0, Ue = globalThis, O = void 0;
Ue.vscode !== void 0 && Ue.vscode.process !== void 0 ? O = Ue.vscode.process : typeof process < "u" && typeof process?.versions?.node == "string" && (O = process);
var We = typeof O?.versions?.electron == "string" && O?.type === "renderer";
if (typeof O == "object") {
Fe = O.platform === "win32", Ie = O.platform === "darwin", Le = O.platform === "linux", Le && O.env.SNAP && O.env.SNAP_REVISION, O.env.CI || O.env.BUILD_ARTIFACTSTAGINGDIRECTORY || O.env.GITHUB_WORKSPACE, Ve = "en";
let e = O.env.VSCODE_NLS_CONFIG;
if (e) try {
let t = JSON.parse(e);
t.userLocale, t.osLocale, Ve = t.resolvedLanguage || "en", t.languagePack?.translationsConfigFile;
} catch {}
Re = !0;
} else typeof navigator == "object" && !We ? (He = navigator.userAgent, Fe = He.indexOf("Windows") >= 0, Ie = He.indexOf("Macintosh") >= 0, Be = (He.indexOf("Macintosh") >= 0 || He.indexOf("iPad") >= 0 || He.indexOf("iPhone") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0, Le = He.indexOf("Linux") >= 0, He?.indexOf("Mobi"), ze = !0, Ve = je() || "en", navigator.language.toLowerCase()) : console.error("Unable to resolve platform.");
var Ge;
(function(e) {
e[e.Web = 0] = "Web", e[e.Mac = 1] = "Mac", e[e.Linux = 2] = "Linux", e[e.Windows = 3] = "Windows";
})(Ge ||= {}), Ge.Web, Ie ? Ge.Mac : Fe ? Ge.Windows : Le && Ge.Linux;
var Ke = Fe, qe = Ie, Je = Le, Ye = Re, Xe = ze, Ze = ze && typeof Ue.importScripts == "function" ? Ue.origin : void 0, Qe = He, $e = Ve, et;
(function(e) {
function t() {
return $e;
}
e.value = t;
function n() {
return $e.length === 2 ? $e === "en" : $e.length >= 3 ? $e[0] === "e" && $e[1] === "n" && $e[2] === "-" : !1;
}
e.isDefaultVariant = n;
function r() {
return $e === "en";
}
e.isDefault = r;
})(et ||= {});
var tt = typeof Ue.postMessage == "function" && !Ue.importScripts;
(() => {
if (tt) {
let e = [];
Ue.addEventListener("message", (t) => {
if (t.data && t.data.vscodeScheduleAsyncWork) for (let n = 0, r = e.length; n < r; n++) {
let r = e[n];
if (r.id === t.data.vscodeScheduleAsyncWork) {
e.splice(n, 1), r.callback();
return;
}
}
});
let t = 0;
return (n) => {
let r = ++t;
e.push({
id: r,
callback: n
}), Ue.postMessage({ vscodeScheduleAsyncWork: r }, "*");
};
}
return (e) => setTimeout(e);
})();
var nt;
(function(e) {
e[e.Windows = 1] = "Windows", e[e.Macintosh = 2] = "Macintosh", e[e.Linux = 3] = "Linux";
})(nt ||= {}), Ie || Be ? nt.Macintosh : Fe ? nt.Windows : nt.Linux;
var rt = !!(Qe && Qe.indexOf("Chrome") >= 0);
Qe && Qe.indexOf("Firefox"), !rt && Qe && Qe.indexOf("Safari"), Qe && Qe.indexOf("Edg/"), Qe && Qe.indexOf("Android");
//#endregion
//#region node_modules/@codingame/monaco-vscode-api/vscode/src/vs/base/common/process.js
var it, at = globalThis.vscode;
if (at !== void 0 && at.process !== void 0) {
let e = at.process;
it = {
get platform() {
return e.platform;
},
get arch() {
return e.arch;
},
get env() {
return e.env;
},
cwd() {
return e.cwd();
}
};
} else it = typeof process < "u" && typeof process?.versions?.node == "string" ? {
get platform() {
return process.platform;
},
get arch() {
return process.arch;
},
get env() {
return process.env;
},
cwd() {
return process.env.VSCODE_CWD || process.cwd();
}
} : {
get platform() {
return Ke ? "win32" : qe ? "darwin" : "linux";
},
get arch() {},
get env() {
return {};
},
cwd() {
return "/";
}
};
var ot = it.cwd, st = it.env, ct = it.platform;
it.arch;
//#endregion
//#region node_modules/@codingame/monaco-vscode-api/vscode/src/vs/base/common/stopwatch.js
var lt = globalThis.performance.now.bind(globalThis.performance), ut = class e {
static create(t) {
return new e(t);
}
constructor(e) {
this._now = e === !1 ? Date.now : lt, this._startTime = this._now(), this._stopTime = -1;
}
stop() {
this._stopTime = this._now();
}
reset() {
this._startTime = this._now(), this._stopTime = -1;
}
elapsed() {
return this._stopTime === -1 ? this._now() - this._startTime : this._stopTime - this._startTime;
}
}, dt = 100, ft = 6e4;
function pt() {
return !!st.VSCODE_DEV;
}
var mt;
(function(e) {
e.None = () => Oe.None;
function t(e, t, n) {
return f(e, () => void 0, 0, void 0, t ?? !0, void 0, n);
}
e.defer = t;
function n(e) {
return (t, n = null, r) => {
let i = !1, a;
return a = e((e) => {
if (!i) return a ? a.dispose() : i = !0, t.call(n, e);
}, null, r), i && a.dispose(), a;
};
}
e.once = n;
function r(t, n) {
return e.once(e.filter(t, n));
}
e.onceIf = r;
function i(e, t, n) {
return u((n, r = null, i) => e((e) => n.call(r, t(e)), null, i), n);
}
e.map = i;
function a(e, t, n) {
return u((n, r = null, i) => e((e) => {
t(e), n.call(r, e);
}, null, i), n);
}
e.forEach = a;
function o(e, t, n) {
return u((n, r = null, i) => e((e) => t(e) && n.call(r, e), null, i), n);
}
e.filter = o;
function s(e) {
return e;
}
e.signal = s;
function c(...e) {
return (t, n = null, r) => d(we(...e.map((e) => e((e) => t.call(n, e)))), r);
}
e.any = c;
function l(e, t, n, r) {
let a = n;
return i(e, (e) => (a = t(a, e), a), r);
}
e.reduce = l;
function u(e, t) {
let n, r = new wt({
onWillAddFirstListener() {
n = e(r.fire, r);
},
onDidRemoveLastListener() {
n?.dispose();
}
});
return t?.add(r), r.event;
}
function d(e, t) {
return t instanceof Array ? t.push(e) : t && t.add(e), e;
}
function f(e, t, n = 100, r = !1, i = !1, a, o) {
let s, c, l, u = 0, d, f = new wt({
leakWarningThreshold: a,
onWillAddFirstListener() {
s = e((e) => {
u++, c = t(c, e), r && !l && (f.fire(c), c = void 0), d = () => {
let e = c;
c = void 0, l = void 0, (!r || u > 1) && f.fire(e), u = 0;
}, typeof n == "number" ? (l && clearTimeout(l), l = setTimeout(d, n)) : l === void 0 && (l = null, queueMicrotask(d));
});
},
onWillRemoveListener() {
i && u > 0 && d?.();
},
onDidRemoveLastListener() {
d = void 0, s.dispose();
}
});
return o?.add(f), f.event;
}
e.debounce = f;
function p(t, n = 0, r, i) {
return e.debounce(t, (e, t) => e ? (e.push(t), e) : [t], n, void 0, r ?? !0, void 0, i);
}
e.accumulate = p;
function m(e, t, n = 100, r = !0, i = !0, a, o) {
let s, c, l, u = 0, d = new wt({
leakWarningThreshold: a,
onWillAddFirstListener() {
s = e((e) => {
u++, c = t(c, e), l === void 0 && (r && (d.fire(c), c = void 0, u = 0), typeof n == "number" ? l = setTimeout(() => {
i && u > 0 && d.fire(c), c = void 0, l = void 0, u = 0;
}, n) : (l = 0, queueMicrotask(() => {
i && u > 0 && d.fire(c), c = void 0, l = void 0, u = 0;
})));
});
},
onDidRemoveLastListener() {
s.dispose();
}
});
return o?.add(d), d.event;
}
e.throttle = m;
function h(e, t = (e, t) => e === t, n) {
let r = !0, i;
return o(e, (e) => {
let n = r || !t(e, i);
return r = !1, i = e, n;
}, n);
}
e.latch = h;
function g(t, n, r) {
return [e.filter(t, n, r), e.filter(t, (e) => !n(e), r)];
}
e.split = g;
function _(e, t, n = !1, r = [], i) {
let a = r.slice(), o;
pt() && (o = {
stack: vt.create(),
timerId: setTimeout(() => {
a && a.length > 0 && o && !o.warned && (o.warned = !0, console.warn(`[Event.buffer][${t}] potential LEAK detected: ${a.length} events buffered for ${ft / 1e3}s without being consumed. Buffered here:`), o.stack.print());
}, ft),
warned: !1
}, i && i.add(Ee(() => clearTimeout(o.timerId))));
let s = () => {
o && clearTimeout(o.timerId);
},