const n = "tccScript", a = {
  builtinFunctions: /abs|acos|alert|alertcondition|alma|array\.avg|array\.clear|array\.concat|array\.copy|array\.covariance|array\.fill|array\.from|array\.get|array\.includes|array\.indexof|array\.insert|array\.join|array\.lastindexof|array\.max|array\.median|array\.min|array\.mode|array\.new_bool|array\.new_box|array\.new_color|array\.new_float|array\.new_int|array\.new_label|array\.new_line|array\.new_string|array\.new_table|array\.pop|array\.push|array\.range|array\.remove|array\.reverse|array\.set|array\.shift|array\.size|array\.slice|array\.sort|array\.standardize|array\.stdev|array\.sum|array\.unshift|array\.variance|asin|atan|atr|avg|barcolor|barssince|bb|bbw|bgcolor|bool|box|box\.delete|box\.get_bottom|box\.get_left|box\.get_right|box\.get_top|box\.new|box\.set_bgcolor|box\.set_border_color|box\.set_border_style|box\.set_border_width|box\.set_bottom|box\.set_extend|box\.set_left|box\.set_lefttop|box\.set_right|box\.set_rightbottom|box\.set_top|cci|ceil|change|cmo|cog|color|color\.b|color\.from_gradient|color\.g|color\.new|color\.r|color\.rgb|color\.t|correlation|cos|cross|crossover|crossunder|cum|dayofmonth|dayofweek|dev|dividends|dmi|earnings|ema|exp|falling|fill|fixnan|float|floor|heikinashi|highest|highestbars|hline|hma|hour|iff|input|int|kagi|kc|kcw|label|label\.delete|label\.get_text|label\.get_x|label\.get_y|label\.new|label\.set_color|label\.set_size|label\.set_style|label\.set_text|label\.set_textalign|label\.set_textcolor|label\.set_tooltip|label\.set_x|label\.set_xloc|label\.set_xy|label\.set_y|label\.set_yloc|line|line\.delete|line\.get_price|line\.get_x1|line\.get_x2|line\.get_y1|line\.get_y2|line\.new|line\.set_color|line\.set_extend|line\.set_style|line\.set_width|line\.set_x1|line\.set_x2|line\.set_xloc|line\.set_xy1|line\.set_xy2|line\.set_y1|line\.set_y2|linebreak|linreg|log|log10|lowest|lowestbars|macd|max|max_bars_back|median|mfi|min|minute|mode|mom|month|na|nz|offset|percentile_linear_interpolation|percentile_nearest_rank|percentrank|pivothigh|pivotlow|plot|plotarrow|plotbar|plotcandle|plotchar|plotshape|pointfigure|pow|random|range|renko|rising|rma|roc|round|round_to_mintick|rsi|sar|second|security|sign|sin|sma|splits|sqrt|stdev|stoch|str\.format|str\.length|str\.replace_all|str\.split|strategy|strategy\.cancel|strategy\.cancel_all|strategy\.close|strategy\.close_all|strategy\.entry|strategy\.exit|strategy\.order|strategy\.risk\.allow_entry_in|strategy\.risk\.max_cons_loss_days|strategy\.risk\.max_drawdown|strategy\.risk\.max_intraday_filled_orders|strategy\.risk\.max_intraday_loss|strategy\.risk\.max_position_size|string|study|sum|supertrend|swma|table|table\.cell|table\.cell_set_bgcolor|table\.cell_set_height|table\.cell_set_text|table\.cell_set_text_color|table\.cell_set_text_halign|table\.cell_set_text_size|table\.cell_set_text_valign|table\.cell_set_width|table\.clear|table\.delete|table\.new|table\.set_bgcolor|table\.set_border_color|table\.set_border_width|table\.set_frame_color|table\.set_frame_width|table\.set_position|tan|tickerid|time|time_close|timestamp|todegrees|tonumber|toradians|tostring|tr|tsi|valuewhen|variance|vwap|vwma|weekofyear|wma|wpr|year/,
  keywords: /and|break|by|continue|else|for|if|not|or|to|var|varip/,
  tokenizer: {
    root: [
      [/\/\/\s*(?=@)/, "comment", "@comments"],
      [/\/\/.*(?!@).*/, "comment"],
      [/\'([^\'\\]|\\.)*$/, "string.invalid"],
      [/'([^'\\]|\\.)*$/, "string.invalid"],
      [/\"/, {
        token: "string",
        bracket: "@open",
        next: "@stringDouble"
      }],
      [/'/, {
        token: "string",
        bracket: "@open",
        next: "@stringSingle"
      }],
      [/(@builtinFunctions)(?=\s*\(|\s*<.*>)/, {
        token: "support.function",
        next: "@template"
      }],
      [/@punctuation/, {
        token: "punctuation.operator",
        next: "@property"
      }],
      [/(varip|var)\b(\s+)((?!(?:series|string|array|color|const|float|label|table|bool|line|box|int|continue|break|varip|else|and|for|not|var|by|if|or|to)\b)[\w.\d_$]+)(\[\]|)(\s+)((?!(?:continue|break|varip|else|and|for|not|var|by|if|or|to)\b)[\w\d_$]+)/, [{
        token: "keyword"
      }, {
        token: "source"
      }, {
        token: "entity.name.type"
      }, {
        token: "paren"
      }, {
        token: "source"
      }, {
        token: "variable.other"
      }]],
      [/\b(?:@builtinTypes)(?=(\s*)[\[|<|(]|(?=\s+(?=[^.=][\w\(]*))|\s*$)/, {
        token: "support.type",
        next: "@template"
      }],
      [/^(\s*)\b(?!(?:series|string|array|color|const|float|label|table|bool|line|box|int|continue|break|varip|else|and|for|not|var|by|if|or|to)\b)([\w.\d_$]+)(\[\]|)(\s+)((?!(?:continue|break|varip|else|and|for|not|var|by|if|or|to)\b)[\w\d_$]+)(\s+)(\=)/, [{
        token: "source"
      }, {
        token: "entity.name.type"
      }, {
        token: "paren"
      }, {
        token: "source"
      }, {
        token: "variable.other"
      }, {
        token: "source"
      }, {
        token: "keyword.equals"
      }]],
      [/(\((?:\s+))?((?!(?:continue|series|string|array|color|const|float|label|table|break|varip|bool|line|else|box|int|and|for|not|var|by|if|or|to)\b)\b[\w.\d_$]+(?=[\[\]]*(?:\s+)(?:[\w\d_$]+\s*(?:\,|\))+\s*).+(?:\=\>|\→)))/, "entity.name.type"],
      [/[+-]?\d+\.\d*([eE][\-+]?\d+)?(?!\w+)/, "constant.numeric.float"],
      [/[+-]?\.\d+([eE][\-+]?\d+)?(?!\w+)/, "constant.numeric.float"],
      [/([+-]?(\d+))(?!\w+)(?!\w+)/, "constant.numeric.integer"],
      [/(?:true|false)\b/, "constant.other.boolean"],
      [/#[0-9a-fA-F]{6,8}\b/, "constant.other.color"],
      [/\+=|\-=|\*=|\/=|%=|[\/%*+\-]|==|!=|<=|>=|=>|<|>|\?|\:=|\:|\,/, "keyword.operator"],
      [/\b(?:continue|break|varip|else|and|for|not|var|by|if|or|to)\b/, "keyword"],
      [/^[a-zA-Z_][a-zA-Z_0-9]+(?=\s*\()/, "entity.name.function"],
      [/[0-9]+\b/, "constant.numeric.integer"],
      [/=/, "keyword.equals"],
      [/\b(?:@builtinVariables)\b(?!\s*=\s*\w+)/, "support.variable"],
      [/[(|)|\[|\]]/, "paren"],
      [/[a-zA-Z_][a-zA-Z_0-9]*(?=\s*\()/, {
        token: "entity.name.method"
      }],
      [/\w+\b/, "variable.other"]
    ],
    comments: [[/@[A-Za-z]+(\s*=\s*)?$/, {
      token: "comment.annotation",
      next: "@pop"
    }], [/@[A-Za-z]+(\s*=\s*)?/, {
      token: "comment.annotation"
    }], [/(?!\s*@[A-Za-z]+).+$/, {
      token: "comment",
      next: "@pop"
    }]],
    stringDouble: [[/[^\\\"]+/, "string"], [/\\./, "string.invalid"], [/\"/, {
      token: "string.quote",
      bracket: "@close",
      next: "@pop"
    }]],
    stringSingle: [[/[^\\']+/, "string"], [/\\./, "string.invalid"], [/'/, {
      token: "string",
      bracket: "@close",
      next: "@pop"
    }]],
    template: [[/(@builtinTypes)/, {
      token: "support.type"
    }], [/(\((?:\s+))?((?!(?:continue|series|string|array|color|const|float|label|table|break|varip|bool|line|else|box|int|and|for|not|var|by|if|or|to)\b)\b[\w.\d_$]+(?=[\[\]]*(?:\s+)(?:[\w\d_$]+\s*(?:\,|\))+\s*).+(?:\=\>|\→)))/, "entity.name.type"], [/\(|\)|\[|\]|\=|\>/, {
      token: "paren",
      next: "@pop"
    }], [/(\,)(\s+)/, ["keyword.operator", "source"]], [/(\,)/, {
      token: "keyword.operator"
    }], [/([\w.\d$]+)/, {
      token: "entity.name.type"
    }], [/(<|>)/, {
      token: "paren"
    }], [/\s(?=\w)|$/, {
      token: "source",
      next: "@pop"
    }]],
    property: [[/@punctuation/, {
      token: "punctuation.operator"
    }], [/(@builtinTypes)(?=\s*[(])/, {
      token: "support.method",
      next: "@pop"
    }], [/[a-zA-Z_][a-zA-Z_0-9]+(?=\s*\()/, {
      token: "entity.name.method",
      next: "@pop"
    }], [/[a-zA-Z0-9_]+/, {
      token: "variable.other.property",
      next: "@pop"
    }], [/@empty/, {
      token: "source",
      next: "@pop"
    }]]
  },
  builtinVariables: /adjustment\.dividends|adjustment\.none|adjustment\.splits|alert\.freq_all|alert\.freq_once_per_bar|alert\.freq_once_per_bar_close|barmerge\.gaps_off|barmerge\.gaps_on|barmerge\.lookahead_off|barmerge\.lookahead_on|color\.aqua|color\.black|color\.blue|color\.fuchsia|color\.gray|color\.green|color\.lime|color\.maroon|color\.navy|color\.olive|color\.orange|color\.purple|color\.red|color\.silver|color\.teal|color\.white|color\.yellow|currency\.AUD|currency\.CAD|currency\.CHF|currency\.EUR|currency\.GBP|currency\.HKD|currency\.JPY|currency\.NOK|currency\.NONE|currency\.NZD|currency\.RUB|currency\.SEK|currency\.SGD|currency\.TRY|currency\.USD|currency\.ZAR|dayofweek\.friday|dayofweek\.monday|dayofweek\.saturday|dayofweek\.sunday|dayofweek\.thursday|dayofweek\.tuesday|dayofweek\.wednesday|display\.all|display\.none|dividends\.gross|dividends\.net|earnings\.actual|earnings\.estimate|extend\.both|extend\.left|extend\.none|extend\.right|false|format\.inherit|format\.mintick|format\.percent|format\.price|format\.volume|hline\.style_dashed|hline\.style_dotted|hline\.style_solid|input\.bool|input\.color|input\.float|input\.integer|input\.price|input\.resolution|input\.session|input\.source|input\.string|input\.symbol|input\.time|label\.style_arrowdown|label\.style_arrowup|label\.style_circle|label\.style_cross|label\.style_diamond|label\.style_flag|label\.style_label_center|label\.style_label_down|label\.style_label_left|label\.style_label_lower_left|label\.style_label_lower_right|label\.style_label_right|label\.style_label_up|label\.style_label_upper_left|label\.style_label_upper_right|label\.style_none|label\.style_square|label\.style_triangledown|label\.style_triangleup|label\.style_xcross|line\.style_arrow_both|line\.style_arrow_left|line\.style_arrow_right|line\.style_dashed|line\.style_dotted|line\.style_solid|location\.abovebar|location\.absolute|location\.belowbar|location\.bottom|location\.top|math\.e|math\.phi|math\.pi|math\.rphi|order\.ascending|order\.descending|plot\.style_area|plot\.style_areabr|plot\.style_circles|plot\.style_columns|plot\.style_cross|plot\.style_histogram|plot\.style_line|plot\.style_linebr|plot\.style_stepline|position\.bottom_center|position\.bottom_left|position\.bottom_right|position\.middle_center|position\.middle_left|position\.middle_right|position\.top_center|position\.top_left|position\.top_right|scale\.left|scale\.none|scale\.right|session\.extended|session\.regular|shape\.arrowdown|shape\.arrowup|shape\.circle|shape\.cross|shape\.diamond|shape\.flag|shape\.labeldown|shape\.labelup|shape\.square|shape\.triangledown|shape\.triangleup|shape\.xcross|size\.auto|size\.huge|size\.large|size\.normal|size\.small|size\.tiny|splits\.denominator|splits\.numerator|strategy\.cash|strategy\.commission\.cash_per_contract|strategy\.commission\.cash_per_order|strategy\.commission\.percent|strategy\.direction\.all|strategy\.direction\.long|strategy\.direction\.short|strategy\.fixed|strategy\.long|strategy\.oca\.cancel|strategy\.oca\.none|strategy\.oca\.reduce|strategy\.percent_of_equity|strategy\.short|text\.align_bottom|text\.align_center|text\.align_left|text\.align_right|text\.align_top|true|xloc\.bar_index|xloc\.bar_time|yloc\.abovebar|yloc\.belowbar|yloc\.price|accdist|bar_index|barstate\.isconfirmed|barstate\.isfirst|barstate\.ishistory|barstate\.islast|barstate\.islastconfirmedhistory|barstate\.isnew|barstate\.isrealtime|close|dayofmonth|dayofweek|high|hl2|hlc3|hour|iii|low|minute|month|na|nvi|obv|ohlc4|open|pvi|pvt|second|session\.ismarket|session\.ispostmarket|session\.ispremarket|strategy\.closedtrades|strategy\.equity|strategy\.eventrades|strategy\.grossloss|strategy\.grossprofit|strategy\.initial_capital|strategy\.losstrades|strategy\.max_contracts_held_all|strategy\.max_contracts_held_long|strategy\.max_contracts_held_short|strategy\.max_drawdown|strategy\.netprofit|strategy\.openprofit|strategy\.opentrades|strategy\.position_avg_price|strategy\.position_entry_name|strategy\.position_size|strategy\.wintrades|syminfo\.basecurrency|syminfo\.currency|syminfo\.description|syminfo\.mintick|syminfo\.pointvalue|syminfo\.prefix|syminfo\.root|syminfo\.session|syminfo\.ticker|syminfo\.tickerid|syminfo\.timezone|syminfo\.type|time|time_close|time_tradingday|timeframe\.isdaily|timeframe\.isdwm|timeframe\.isintraday|timeframe\.isminutes|timeframe\.ismonthly|timeframe\.isseconds|timeframe\.isweekly|timeframe\.multiplier|timeframe\.period|timenow|tr|volume|vwap|wad|weekofyear|wvad|year/,
  builtinTypes: /bool|box|color|float|int|label|line|string|table/,
  punctuation: /[.](?![.])/,
  importName: /[a-zA-Z\d\$_\-\.\u00a1-\uffff\/]+/,
  importAlias: /[a-zA-Z\d\_\u00a1\uffff\/]+/,
  empty: /^$/
};
var e;
(function(r) {
  r[r.None = 0] = "None", r[r.Indent = 1] = "Indent", r[r.IndentOutdent = 2] = "IndentOutdent", r[r.Outdent = 3] = "Outdent";
})(e || (e = {}));
const i = {
  wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
  comments: {
    lineComment: "//",
    blockComment: ["/*", "*/"]
  },
  brackets: [["(", ")"], ["[", "]"]],
  folding: {
    markers: {
      start: /(\/\/#region)|(\/\/.*{($|\s))/,
      end: /(\/\/#endregion)|(\/\/.*}($|\s))/
    }
  },
  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: /\)\s*=>\s*$/,
    action: {
      indentAction: e.Indent
    }
  }, {
    beforeText: /if\s+.*\s*$/,
    action: {
      indentAction: e.Indent
    }
  }, {
    beforeText: /else/,
    action: {
      indentAction: e.Indent
    }
  }, {
    beforeText: /for\s+\S+\s*=\s*\S+\s+to\s+\S+(?:\s+by\s+\S+)?\s*$/,
    action: {
      indentAction: e.Indent
    }
  }, {
    beforeText: /for\s+(?:\[\S+\s+\S+]|\S+)\s+in\s+\S+\s*$/,
    action: {
      indentAction: e.Indent
    }
  }, {
    beforeText: /switch\s+.*\s*$/,
    action: {
      indentAction: e.Indent
    }
  }, {
    beforeText: /while\s+.*\s*$/,
    action: {
      indentAction: e.Indent
    }
  }, {
    beforeText: /type\s+\w+/,
    action: {
      indentAction: e.Indent
    }
  }, {
    beforeText: /enum\s+\w+/,
    action: {
      indentAction: e.Indent
    }
  }, {
    beforeText: /^\s*$/,
    action: {
      indentAction: e.Outdent
    }
  }]
}, o = { "color-white": "#ffffff", "color-black": "#000000", "color-transparent": "#00000000", "color-cold-gray-50": "#F8F9FD", "color-cold-gray-100": "#F0F3FA", "color-cold-gray-150": "#E0E3EB", "color-cold-gray-200": "#D1D4DC", "color-cold-gray-250": "#C1C4CD", "color-cold-gray-300": "#B2B5BE", "color-cold-gray-350": "#A3A6AF", "color-cold-gray-400": "#9598A1", "color-cold-gray-450": "#868993", "color-cold-gray-500": "#787B86", "color-cold-gray-550": "#6A6D78", "color-cold-gray-600": "#5D606B", "color-cold-gray-650": "#50535E", "color-cold-gray-700": "#434651", "color-cold-gray-750": "#363A45", "color-cold-gray-800": "#2A2E39", "color-cold-gray-850": "#1E222D", "color-cold-gray-900": "#131722", "color-cold-gray-950": "#0C0E15", "color-ripe-red-50": "#FFEBEC", "color-ripe-red-100": "#FCCBCD", "color-ripe-red-200": "#FAA1A4", "color-ripe-red-300": "#F77C80", "color-ripe-red-400": "#F7525F", "color-ripe-red-500": "#F23645", "color-ripe-red-600": "#CC2F3C", "color-ripe-red-700": "#B22833", "color-ripe-red-800": "#991F29", "color-ripe-red-900": "#801922", "color-ripe-red-a100": "#FF8080", "color-ripe-red-a200": "#FF5252", "color-ripe-red-a400": "#FF3333", "color-ripe-red-a600": "#CC2929", "color-ripe-red-a700": "#802028", "color-ripe-red-a800": "#4D191D", "color-ripe-red-a900": "#331F20", "color-tan-orange-50": "#FFF3E0", "color-tan-orange-100": "#FFE0B2", "color-tan-orange-200": "#FFCC80", "color-tan-orange-300": "#ffb74d", "color-tan-orange-400": "#FFA726", "color-tan-orange-500": "#FF9800", "color-tan-orange-600": "#FB8C00", "color-tan-orange-700": "#F57C00", "color-tan-orange-800": "#EF6C00", "color-tan-orange-900": "#e65100", "color-tan-orange-a200": "#ffab40", "color-tan-orange-a400": "#FF9100", "color-tan-orange-a600": "#CC7014", "color-tan-orange-a700": "#8C541C", "color-tan-orange-a800": "#593A1B", "color-tan-orange-a900": "#33261A", "color-iguana-green-100": "#C8E6C9", "color-iguana-green-200": "#A5D6A7", "color-iguana-green-300": "#81c784", "color-iguana-green-400": "#66BB6A", "color-iguana-green-500": "#4caf50", "color-iguana-green-600": "#43a047", "color-iguana-green-700": "#388e3c", "color-iguana-green-800": "#2E7D32", "color-iguana-green-900": "#1B5E20", "color-iguana-green-a700": "#00c853", "color-banana-yellow-100": "#FFF9C4", "color-banana-yellow-200": "#FFF59D", "color-banana-yellow-300": "#FFF176", "color-banana-yellow-400": "#ffee58", "color-banana-yellow-500": "#ffeb3b", "color-banana-yellow-600": "#fdd835", "color-banana-yellow-700": "#fbc02d", "color-banana-yellow-800": "#f9a825", "color-banana-yellow-900": "#F57F17", "color-banana-yellow-a400": "#ffea00", "color-banana-yellow-a700": "#EEDA01", "color-tv-blue-50": "#E3EFFD", "color-tv-blue-100": "#BBD9FB", "color-tv-blue-200": "#90BFF9", "color-tv-blue-300": "#5B9CF6", "color-tv-blue-400": "#3179F5", "color-tv-blue-500": "#2962FF", "color-tv-blue-600": "#1E53E5", "color-tv-blue-700": "#1848CC", "color-tv-blue-800": "#143EB3", "color-tv-blue-900": "#0C3299", "color-tv-blue-a100": "#82b1ff", "color-tv-blue-a200": "#448aff", "color-tv-blue-a400": "#2979ff", "color-tv-blue-a600": "#2962FF", "color-tv-blue-a700": "#143A87", "color-tv-blue-a800": "#142E61", "color-tv-blue-a900": "#132042", "color-deep-blue-50": "#EDE7F6", "color-deep-blue-100": "#D1C4E9", "color-deep-blue-200": "#B39DDB", "color-deep-blue-300": "#9575cd", "color-deep-blue-400": "#7e57c2", "color-deep-blue-500": "#673ab7", "color-deep-blue-700": "#512da8", "color-deep-blue-800": "#4527A0", "color-deep-blue-900": "#311B92", "color-deep-blue-a100": "#b388ff", "color-deep-blue-a200": "#7C4DFF", "color-deep-blue-a400": "#651FFF", "color-deep-blue-a700": "#6200EA", "color-minty-green-50": "#DAF2EE", "color-minty-green-100": "#ACE5DC", "color-minty-green-200": "#70CCBD", "color-minty-green-300": "#42BDA8", "color-minty-green-400": "#22AB94", "color-minty-green-500": "#089981", "color-minty-green-600": "#06806B", "color-minty-green-700": "#056656", "color-minty-green-800": "#004D40", "color-minty-green-900": "#00332A", "color-minty-green-a400": "#2BD9BC", "color-minty-green-a600": "#24B29B", "color-minty-green-a700": "#1B7667", "color-minty-green-a800": "#10443B", "color-minty-green-a900": "#082621", "color-grapes-purple-50": "#F3E5F5", "color-grapes-purple-100": "#E1BEE7", "color-grapes-purple-200": "#CE93D8", "color-grapes-purple-300": "#ba68c8", "color-grapes-purple-400": "#ab47bc", "color-grapes-purple-500": "#9c27b0", "color-grapes-purple-600": "#8e24aa", "color-grapes-purple-700": "#7b1fa2", "color-grapes-purple-800": "#6A1B9A", "color-grapes-purple-900": "#4A148C", "color-grapes-purple-a100": "#EA80FC", "color-grapes-purple-a200": "#E040FB", "color-grapes-purple-a400": "#D500F9", "color-grapes-purple-a700": "#aa00ff", "color-berry-pink-100": "#F8BBD0", "color-berry-pink-200": "#f48fb1", "color-berry-pink-300": "#f06292", "color-berry-pink-400": "#ec407a", "color-berry-pink-500": "#e91e63", "color-berry-pink-600": "#D81B60", "color-berry-pink-700": "#C2185B", "color-berry-pink-800": "#AD1457", "color-berry-pink-900": "#880E4F", "color-berry-pink-a100": "#ff80ab", "color-berry-pink-a200": "#ff4081", "color-berry-pink-a400": "#f50057", "color-sky-blue-100": "#B2EBF2", "color-sky-blue-200": "#80DEEA", "color-sky-blue-300": "#4dd0e1", "color-sky-blue-400": "#26c6da", "color-sky-blue-500": "#00bcd4", "color-sky-blue-600": "#00acc1", "color-sky-blue-700": "#0097A7", "color-sky-blue-800": "#00838F", "color-sky-blue-900": "#006064", "color-sky-blue-a400": "#00e5ff", "color-sky-blue-a700": "#00B8D4", "color-deep-blue-600": "#5E35B1", "color-forest-green-50": "#DAF2E6", "color-forest-green-100": "#ACE5C9", "color-forest-green-200": "#70CC9E", "color-forest-green-300": "#42BD7F", "color-forest-green-400": "#22AB67", "color-forest-green-500": "#089950", "color-forest-green-600": "#068043", "color-forest-green-700": "#056636", "color-forest-green-800": "#004D27", "color-forest-green-900": "#1A3326", "color-facebook": "#1877F2", "color-deep-facebook": "#1564CA", "color-twitter": "#1DA1F2", "color-deep-twitter": "#188CD3", "color-youtube": "#FF0000", "color-linkedin": "#007BB5", "color-seeking-alpha-brand": "#ff7200" };
function t(r, l = 1) {
  return r + Math.round(255 * Math.min(Math.max(l, 0), 1)).toString(16).toUpperCase().padStart(2, "0");
}
const c = {
  base: "vs",
  inherit: !0,
  rules: [{
    token: "comment",
    foreground: o["color-cold-gray-400"]
  }, {
    token: "comment.annotation",
    fontStyle: "bold"
  }, {
    token: "text",
    foreground: o["color-cold-gray-900"]
  }, {
    token: "string",
    foreground: o["color-iguana-green-700"]
  }, {
    token: "constant.numeric",
    foreground: o["color-banana-yellow-900"]
  }, {
    token: "constant.language",
    foreground: o["color-ripe-red-a600"]
  }, {
    token: "constant.other.color",
    foreground: o["color-ripe-red-a600"]
  }, {
    token: "constant.other",
    foreground: o["color-ripe-red-a600"]
  }, {
    token: "support.variable",
    foreground: o["color-ripe-red-a600"]
  }, {
    token: "support.function",
    foreground: o["color-tv-blue-a600"]
  }, {
    token: "support.type",
    foreground: o["color-minty-green-400"],
    fontStyle: "bold"
  }, {
    token: "entity.name.type",
    foreground: o["color-minty-green-400"],
    fontStyle: "bold"
  }, {
    token: "support.method",
    foreground: o["color-tv-blue-a600"]
  }, {
    token: "keyword.equals",
    foreground: o["color-minty-green-400"]
  }, {
    token: "keyword.operator",
    foreground: o["color-minty-green-400"]
  }, {
    token: "keyword.other",
    foreground: o["color-minty-green-400"]
  }, {
    token: "keyword",
    foreground: o["color-minty-green-400"]
  }, {
    token: "variable.other",
    foreground: o["color-cold-gray-800"]
  }, {
    token: "variable.other.property",
    foreground: o["color-cold-gray-800"]
  }, {
    token: "paren",
    foreground: o["color-black"]
  }, {
    token: "entity.name.function",
    foreground: o["color-tv-blue-900"]
  }, {
    token: "entity.name.method",
    foreground: o["color-tv-blue-900"]
  }, {
    token: "meta.function-call",
    foreground: o["color-grapes-purple-600"]
  }, {
    token: "entity.name.module.name",
    foreground: o["color-grapes-purple-600"]
  }, {
    token: "entity.name.module",
    foreground: o["color-tv-blue-a600"]
  }, {
    token: "",
    background: o["color-white"]
  }],
  colors: {
    "editor.foreground": o["color-cold-gray-900"],
    "editor.background": "#00000000",
    "editorLineNumber.foreground": o["color-cold-gray-400"],
    "editorLineNumber.activeForeground": o["color-cold-gray-700"],
    "editorHoverWidget.background": o["color-white"],
    "editorHoverWidget.statusBarBackground": o["color-cold-gray-150"],
    "editorHoverWidget.foreground": o["color-cold-gray-900"],
    "editorWidget.background": o["color-white"],
    "editorWidget.foreground": o["color-cold-gray-900"],
    "editorGutter.background": "#00000000",
    "editor.foldBackground": t(o["color-cold-gray-200"], 0.5),
    "editor.lineHighlightBackground": o["color-tv-blue-50"],
    "editor.lineHighlightBorder": o["color-tv-blue-50"],
    "editor.rangeHighlightBackground": o["color-tv-blue-100"],
    "editorBracketMatch.background": o["color-cold-gray-150"],
    "editor.selectionBackground": o["color-tv-blue-100"],
    "editor.selectionHighlightBackground": o["color-tv-blue-50"],
    "editor.findMatchBackground": o["color-tan-orange-100"],
    "editor.findMatchHighlightBackground": o["color-tan-orange-100"],
    "editor.findMatchBorder": o["color-tan-orange-500"],
    "list.foreground": o["color-cold-gray-900"],
    "list.hoverForeground": o["color-cold-gray-900"],
    "list.activeSelectionBackground": o["color-tv-blue-500"],
    "list.hoverBackground": o["color-tv-blue-50"],
    "list.focusHighlightForeground": o["color-tv-blue-100"],
    "list.inactiveSelectionBackground": o["color-tv-blue-500"],
    "keybindingLabel.background": o["color-white"],
    "keybindingLabel.foreground": o["color-cold-gray-900"],
    "keybindingLabel.border": o["color-cold-gray-150"],
    "input.foreground": o["color-cold-gray-900"],
    "textLink.foreground": o["color-tv-blue-500"],
    "textLink.activeForeground": o["color-tv-blue-600"],
    "peekViewEditor.matchHighlightBackground": o["color-tan-orange-100"],
    "peekViewResult.lineForeground": o["color-cold-gray-900"],
    "editorMarkerNavigationWarning.background": o["color-banana-yellow-800"],
    "inputValidation.warningBackground": o["color-banana-yellow-800"],
    "diffEditor.insertedTextBackground": t(o["color-forest-green-500"], 0.3),
    "diffEditor.insertedLineBackground": t(o["color-forest-green-500"], 0.15),
    "diffEditor.removedTextBackground": t(o["color-ripe-red-500"], 0.3),
    "diffEditor.removedLineBackground": t(o["color-ripe-red-500"], 0.15),
    "editorInlayHint.background": o["color-cold-gray-150"],
    "editorInlayHint.foreground": o["color-cold-gray-550"],
    "editorError.foreground": o["color-ripe-red-500"],
    "editorWarning.foreground": o["color-tan-orange-500"]
  }
}, s = {
  base: "vs-dark",
  inherit: !0,
  rules: [{
    token: "comment",
    foreground: o["color-cold-gray-500"]
  }, {
    token: "comment.annotation",
    fontStyle: "bold"
  }, {
    token: "text",
    foreground: o["color-white"]
  }, {
    token: "string",
    foreground: o["color-iguana-green-700"]
  }, {
    token: "constant.numeric",
    foreground: o["color-banana-yellow-900"]
  }, {
    token: "constant.language",
    foreground: o["color-ripe-red-300"]
  }, {
    token: "constant.other.color",
    foreground: o["color-ripe-red-300"]
  }, {
    token: "constant.other",
    foreground: o["color-ripe-red-300"]
  }, {
    token: "support.variable",
    foreground: o["color-ripe-red-300"]
  }, {
    token: "support.function",
    foreground: o["color-tv-blue-300"]
  }, {
    token: "support.method",
    foreground: o["color-tv-blue-300"]
  }, {
    token: "support.type",
    foreground: o["color-minty-green-300"],
    fontStyle: "bold"
  }, {
    token: "entity.name.type",
    foreground: o["color-minty-green-300"],
    fontStyle: "bold"
  }, {
    token: "keyword.equals",
    foreground: o["color-minty-green-300"]
  }, {
    token: "keyword.operator",
    foreground: o["color-minty-green-300"]
  }, {
    token: "keyword.other",
    foreground: o["color-minty-green-300"]
  }, {
    token: "keyword",
    foreground: o["color-minty-green-300"]
  }, {
    token: "variable.other",
    foreground: o["color-cold-gray-200"]
  }, {
    token: "variable.other.property",
    foreground: o["color-cold-gray-200"]
  }, {
    token: "paren",
    foreground: o["color-white"]
  }, {
    token: "entity.name.function",
    foreground: o["color-tv-blue-400"]
  }, {
    token: "entity.name.method",
    foreground: o["color-tv-blue-400"]
  }, {
    token: "meta.function-call",
    foreground: o["color-grapes-purple-300"]
  }, {
    token: "entity.name.module.name",
    foreground: o["color-grapes-purple-300"]
  }, {
    token: "entity.name.module",
    foreground: o["color-tv-blue-300"]
  }, {
    token: "",
    background: o["color-cold-gray-900"]
  }],
  colors: {
    "editor.foreground": o["color-white"],
    "editor.background": o["color-cold-gray-900"],
    "editorLineNumber.foreground": o["color-cold-gray-500"],
    "editorLineNumber.activeForeground": o["color-cold-gray-300"],
    "editorWidget.background": o["color-cold-gray-850"],
    "editorHoverWidget.background": o["color-cold-gray-850"],
    "editorHoverWidget.foreground": o["color-cold-gray-300"],
    "editorHoverWidget.statusBarBackground": o["color-cold-gray-900"],
    "editorWidget.foreground": o["color-cold-gray-300"],
    "editorGutter.background": o["color-cold-gray-900"],
    "editor.foldBackground": t(o["color-cold-gray-700"], 0.5),
    "editor.lineHighlightBackground": o["color-tv-blue-a900"],
    "editor.lineHighlightBorder": o["color-tv-blue-a900"],
    "editor.rangeHighlightBackground": o["color-tv-blue-a800"],
    "editorBracketMatch.background": o["color-cold-gray-750"],
    "editor.selectionBackground": o["color-tv-blue-a800"],
    "editor.selectionHighlightBackground": o["color-cold-gray-800"],
    "list.foreground": o["color-cold-gray-350"],
    "list.hoverForeground": o["color-cold-gray-350"],
    "list.activeSelectionBackground": o["color-tv-blue-500"],
    "list.hoverBackground": o["color-tv-blue-900"],
    "list.focusHighlightForeground": o["color-tv-blue-300"],
    "list.inactiveSelectionBackground": o["color-tv-blue-500"],
    "keybindingLabel.background": o["color-cold-gray-800"],
    "keybindingLabel.foreground": o["color-cold-gray-300"],
    "keybindingLabel.border": o["color-cold-gray-700"],
    "input.foreground": o["color-cold-gray-350"],
    "textLink.foreground": o["color-tv-blue-500"],
    "textLink.activeForeground": o["color-tv-blue-600"],
    "peekViewEditor.matchHighlightBackground": o["color-tan-orange-a800"],
    "peekViewResult.lineForeground": o["color-cold-gray-350"],
    "diffEditor.insertedTextBackground": t(o["color-iguana-green-a700"], 0.3),
    "diffEditor.insertedLineBackground": t(o["color-iguana-green-a700"], 0.15),
    "diffEditor.removedTextBackground": t(o["color-ripe-red-a400"], 0.3),
    "diffEditor.removedLineBackground": t(o["color-ripe-red-a400"], 0.15),
    "editorInlayHint.background": o["color-cold-gray-800"],
    "editorInlayHint.foreground": o["color-cold-gray-400"],
    "editorError.foreground": o["color-ripe-red-500"],
    "editorWarning.foreground": o["color-tan-orange-700"]
  }
}, d = /(\\(?:[\\'"]))|(\\$)|("|$)|($)/g, g = /(\\(?:[\\'"]))|(\\$)|('|$)|($)/g, y = {
  "color.aqua": "#00BCD4",
  "color.black": "#363A45",
  "color.blue": "#2962ff",
  "color.fuchsia": "#E040FB",
  "color.gray": "#787B86",
  "color.green": "#4CAF50",
  "color.lime": "#00E676",
  "color.maroon": "#880E4F",
  "color.navy": "#311B92",
  "color.olive": "#808000",
  "color.orange": "#FF9800",
  "color.purple": "#9C27B0",
  "color.red": "#FF5252",
  "color.silver": "#B2B5BE",
  "color.teal": "#00897B",
  "color.white": "#FFFFFF",
  "color.yellow": "#FFEB3B"
};
export {
  o as COLORS,
  i as CONFIGURATION,
  y as DEFAULT_COLORS,
  n as LANGAGE_NAME,
  a as LANGUAGE_MONARCH_TOKENS,
  d as QQSTRING_REG,
  g as QSTRING_REG,
  c as VS,
  s as VS_DARK
};
