Files
my-dev-server2/vscode-server-linux-x64-web/out/vs/platform/terminal/node/ptyHostMain.js
mol 263cb5ef03
Some checks failed
continuous-integration/drone/push Build is failing
test
2024-07-06 22:23:31 +08:00

59 lines
443 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*!--------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/(function(){var he=["require","exports","vs/base/common/lifecycle","vs/base/common/platform","vs/base/common/event","vs/base/common/path","vs/base/common/uri","vs/base/common/errors","vs/platform/log/common/log","vs/base/common/types","vs/base/common/strings","vs/nls!vs/platform/terminal/node/ptyHostMain","vs/base/common/async","vs/nls","vs/base/common/charCode","vs/base/common/decorators","vs/base/common/process","vs/platform/terminal/common/terminal","vs/base/common/arrays","vs/base/common/cancellation","vs/base/common/buffer","vs/base/common/network","os","vs/platform/instantiation/common/instantiation","vs/platform/terminal/common/capabilities/capabilities","vs/base/common/lazy","vs/base/common/resources","vs/base/node/pfs","vs/base/common/map","vs/base/common/marshallingIds","child_process","vs/base/parts/ipc/common/ipc","vs/base/common/functional","vs/base/common/objects","vs/base/parts/sandbox/node/electronTypes","vs/base/common/extpath","vs/base/common/processes","vs/base/node/processes","vs/platform/contextkey/common/contextkey","vs/platform/terminal/common/environmentVariable","vs/platform/terminal/common/terminalEnvironment","vs/platform/terminal/node/childProcessMonitor","vs/platform/terminal/node/terminalEnvironment","vs/base/common/arraysFind","vs/base/common/collections","vs/base/common/assert","vs/base/common/iterator","vs/base/common/linkedList","vs/base/common/normalization","vs/base/common/stopwatch","vs/base/common/cache","vs/base/common/stream","vs/base/common/symbols","vs/base/common/uint","vs/base/common/hash","vs/base/common/ternarySearchTree","vs/base/common/uuid","vs/nls!vs/base/common/date","vs/base/common/date","vs/nls!vs/base/common/errorMessage","vs/base/common/errorMessage","vs/nls!vs/base/common/platform","vs/base/common/console","vs/base/common/marshalling","vs/base/common/uriIpc","vs/base/node/powershell","vs/base/node/ps","vs/base/node/shell","vs/base/parts/ipc/node/ipc.cp","vs/base/parts/ipc/node/ipc.mp","vs/nls!vs/platform/contextkey/common/contextkey","vs/nls!vs/platform/contextkey/common/scanner","vs/nls!vs/platform/environment/node/argv","vs/nls!vs/platform/files/common/files","vs/nls!vs/platform/log/common/log","vs/nls!vs/platform/terminal/node/ptyService","vs/nls!vs/platform/terminal/node/terminalProcess","vs/platform/contextkey/common/scanner","vs/platform/environment/common/environmentService","vs/platform/environment/node/argv","vs/platform/environment/node/userDataPath","path","vs/platform/environment/node/environmentService","vs/platform/files/common/files","vs/platform/log/common/logIpc","vs/platform/log/common/logService","vs/platform/log/node/spdlogLog","vs/platform/log/node/loggerService","vs/platform/product/common/product","vs/platform/product/common/productService","vs/platform/registry/common/platform","vs/platform/terminal/common/capabilities/bufferMarkCapability","vs/platform/terminal/common/capabilities/commandDetection/promptInputModel","vs/platform/terminal/common/capabilities/commandDetection/terminalCommand","vs/platform/terminal/common/capabilities/commandDetectionCapability","vs/platform/terminal/common/capabilities/cwdDetectionCapability","vs/platform/terminal/common/capabilities/partialCommandDetectionCapability","vs/platform/terminal/common/capabilities/terminalCapabilityStore","vs/platform/terminal/common/environmentVariableCollection","vs/platform/terminal/common/environmentVariableShared","vs/platform/terminal/common/requestStore","vs/platform/terminal/common/terminalAutoResponder","vs/platform/terminal/common/terminalDataBuffering","vs/platform/terminal/common/terminalProcess","vs/platform/terminal/common/terminalStrings","vs/platform/terminal/common/xterm/shellIntegrationAddon","vs/platform/terminal/node/heartbeatService","vs/platform/terminal/node/windowsShellHelper","vs/platform/terminal/node/terminalProcess","vs/platform/terminal/node/ptyService","fs","util","minimist","node-pty","@xterm/headless","vs/base/common/performance","vs/platform/terminal/node/ptyHostMain"],fe=function(ie){for(var e=[],a=0,t=ie.length;a<t;a++)e[a]=he[ie[a]];return e};define(he[43],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$pb=void 0,e.$ib=a,e.$jb=t,e.$kb=L,e.$lb=$,e.$mb=B,e.$nb=P,e.$ob=w,e.$qb=E,e.$rb=p,e.$sb=d,e.$tb=u,e.$ub=c;function a(h,m){const l=t(h,m);if(l!==-1)return h[l]}function t(h,m,l=h.length-1){for(let s=l;s>=0;s--){const b=h[s];if(m(b))return s}return-1}function L(h,m){const l=$(h,m);return l===-1?void 0:h[l]}function $(h,m,l=0,s=h.length){let b=l,v=s;for(;b<v;){const r=Math.floor((b+v)/2);m(h[r])?b=r+1:v=r}return b-1}function B(h,m){const l=P(h,m);return l===h.length?void 0:h[l]}function P(h,m,l=0,s=h.length){let b=l,v=s;for(;b<v;){const r=Math.floor((b+v)/2);m(h[r])?v=r:b=r+1}return b}function w(h,m,l=0,s=h.length){const b=P(h,m,l,s);return b===h.length?-1:b}class o{static{this.assertInvariants=!1}constructor(m){this.e=m,this.c=0}findLastMonotonous(m){if(o.assertInvariants){if(this.d){for(const s of this.e)if(this.d(s)&&!m(s))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this.d=m}const l=$(this.e,m,this.c);return this.c=l+1,l===-1?void 0:this.e[l]}}e.$pb=o;function E(h,m){if(h.length===0)return;let l=h[0];for(let s=1;s<h.length;s++){const b=h[s];m(b,l)>0&&(l=b)}return l}function p(h,m){if(h.length===0)return;let l=h[0];for(let s=1;s<h.length;s++){const b=h[s];m(b,l)>=0&&(l=b)}return l}function d(h,m){return E(h,(l,s)=>-m(l,s))}function u(h,m){if(h.length===0)return-1;let l=0;for(let s=1;s<h.length;s++){const b=h[s];m(b,h[l])>0&&(l=s)}return l}function c(h,m){for(const l of h){const s=m(l);if(s!==void 0)return s}}}),define(he[14],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CharCode=void 0;var a;(function(t){t[t.Null=0]="Null",t[t.Backspace=8]="Backspace",t[t.Tab=9]="Tab",t[t.LineFeed=10]="LineFeed",t[t.CarriageReturn=13]="CarriageReturn",t[t.Space=32]="Space",t[t.ExclamationMark=33]="ExclamationMark",t[t.DoubleQuote=34]="DoubleQuote",t[t.Hash=35]="Hash",t[t.DollarSign=36]="DollarSign",t[t.PercentSign=37]="PercentSign",t[t.Ampersand=38]="Ampersand",t[t.SingleQuote=39]="SingleQuote",t[t.OpenParen=40]="OpenParen",t[t.CloseParen=41]="CloseParen",t[t.Asterisk=42]="Asterisk",t[t.Plus=43]="Plus",t[t.Comma=44]="Comma",t[t.Dash=45]="Dash",t[t.Period=46]="Period",t[t.Slash=47]="Slash",t[t.Digit0=48]="Digit0",t[t.Digit1=49]="Digit1",t[t.Digit2=50]="Digit2",t[t.Digit3=51]="Digit3",t[t.Digit4=52]="Digit4",t[t.Digit5=53]="Digit5",t[t.Digit6=54]="Digit6",t[t.Digit7=55]="Digit7",t[t.Digit8=56]="Digit8",t[t.Digit9=57]="Digit9",t[t.Colon=58]="Colon",t[t.Semicolon=59]="Semicolon",t[t.LessThan=60]="LessThan",t[t.Equals=61]="Equals",t[t.GreaterThan=62]="GreaterThan",t[t.QuestionMark=63]="QuestionMark",t[t.AtSign=64]="AtSign",t[t.A=65]="A",t[t.B=66]="B",t[t.C=67]="C",t[t.D=68]="D",t[t.E=69]="E",t[t.F=70]="F",t[t.G=71]="G",t[t.H=72]="H",t[t.I=73]="I",t[t.J=74]="J",t[t.K=75]="K",t[t.L=76]="L",t[t.M=77]="M",t[t.N=78]="N",t[t.O=79]="O",t[t.P=80]="P",t[t.Q=81]="Q",t[t.R=82]="R",t[t.S=83]="S",t[t.T=84]="T",t[t.U=85]="U",t[t.V=86]="V",t[t.W=87]="W",t[t.X=88]="X",t[t.Y=89]="Y",t[t.Z=90]="Z",t[t.OpenSquareBracket=91]="OpenSquareBracket",t[t.Backslash=92]="Backslash",t[t.CloseSquareBracket=93]="CloseSquareBracket",t[t.Caret=94]="Caret",t[t.Underline=95]="Underline",t[t.BackTick=96]="BackTick",t[t.a=97]="a",t[t.b=98]="b",t[t.c=99]="c",t[t.d=100]="d",t[t.e=101]="e",t[t.f=102]="f",t[t.g=103]="g",t[t.h=104]="h",t[t.i=105]="i",t[t.j=106]="j",t[t.k=107]="k",t[t.l=108]="l",t[t.m=109]="m",t[t.n=110]="n",t[t.o=111]="o",t[t.p=112]="p",t[t.q=113]="q",t[t.r=114]="r",t[t.s=115]="s",t[t.t=116]="t",t[t.u=117]="u",t[t.v=118]="v",t[t.w=119]="w",t[t.x=120]="x",t[t.y=121]="y",t[t.z=122]="z",t[t.OpenCurlyBrace=123]="OpenCurlyBrace",t[t.Pipe=124]="Pipe",t[t.CloseCurlyBrace=125]="CloseCurlyBrace",t[t.Tilde=126]="Tilde",t[t.NoBreakSpace=160]="NoBreakSpace",t[t.U_Combining_Grave_Accent=768]="U_Combining_Grave_Accent",t[t.U_Combining_Acute_Accent=769]="U_Combining_Acute_Accent",t[t.U_Combining_Circumflex_Accent=770]="U_Combining_Circumflex_Accent",t[t.U_Combining_Tilde=771]="U_Combining_Tilde",t[t.U_Combining_Macron=772]="U_Combining_Macron",t[t.U_Combining_Overline=773]="U_Combining_Overline",t[t.U_Combining_Breve=774]="U_Combining_Breve",t[t.U_Combining_Dot_Above=775]="U_Combining_Dot_Above",t[t.U_Combining_Diaeresis=776]="U_Combining_Diaeresis",t[t.U_Combining_Hook_Above=777]="U_Combining_Hook_Above",t[t.U_Combining_Ring_Above=778]="U_Combining_Ring_Above",t[t.U_Combining_Double_Acute_Accent=779]="U_Combining_Double_Acute_Accent",t[t.U_Combining_Caron=780]="U_Combining_Caron",t[t.U_Combining_Vertical_Line_Above=781]="U_Combining_Vertical_Line_Above",t[t.U_Combining_Double_Vertical_Line_Above=782]="U_Combining_Double_Vertical_Line_Above",t[t.U_Combining_Double_Grave_Accent=783]="U_Combining_Double_Grave_Accent",t[t.U_Combining_Candrabindu=784]="U_Combining_Candrabindu",t[t.U_Combining_Inverted_Breve=785]="U_Combining_Inverted_Breve",t[t.U_Combining_Turned_Comma_Above=786]="U_Combining_Turned_Comma_Above",t[t.U_Combining_Comma_Above=787]="U_Combining_Comma_Above",t[t.U_Combining_Reversed_Comma_Above=788]="U_Combining_Reversed_Comma_Above",t[t.U_Combining_Comma_Above_Right=789]="U_Combining_Comma_Above_Right",t[t.U_Combining_Grave_Accent_Below=790]="U_Combining_Grave_Accent_Below",t[t.U_Combining_Acute_Accent_Below=791]="U_Combining_Acute_Accent_Below",t[t.U_Combining_Left_Tack_Below=792]="U_Combining_Left_Tack_Below",t[t.U_Combining_Right_Tack_Below=793]="U_Combining_Right_Tack_Below",t[t.U_Combining_Left_Angle_Above=794]="U_Combining_Left_Angle_Above",t[t.U_Combining_Horn=795]="U_Combining_Horn",t[t.U_Combining_Left_Half_Ring_Below=796]="U_Combining_Left_Half_Ring_Below",t[t.U_Combining_Up_Tack_Below=797]="U_Combining_Up_Tack_Below",t[t.U_Combining_Down_Tack_Below=798]="U_Combining_Down_Tack_Below",t[t.U_Combining_Plus_Sign_Below=799]="U_Combining_Plus_Sign_Below",t[t.U_Combining_Minus_Sign_Below=800]="U_Combining_Minus_Sign_Below",t[t.U_Combining_Palatalized_Hook_Below=801]="U_Combining_Palatalized_Hook_Below",t[t.U_Combining_Retroflex_Hook_Below=802]="U_Combining_Retroflex_Hook_Below",t[t.U_Combining_Dot_Below=803]="U_Combining_Dot_Below",t[t.U_Combining_Diaeresis_Below=804]="U_Combining_Diaeresis_Below",t[t.U_Combining_Ring_Below=805]="U_Combining_Ring_Below",t[t.U_Combining_Comma_Below=806]="U_Combining_Comma_Below",t[t.U_Combining_Cedilla=807]="U_Combining_Cedilla",t[t.U_Combining_Ogonek=808]="U_Combining_Ogonek",t[t.U_Combining_Vertical_Line_Below=809]="U_Combining_Vertical_Line_Below",t[t.U_Combining_Bridge_Below=810]="U_Combining_Bridge_Below",t[t.U_Combining_Inverted_Double_Arch_Below=811]="U_Combining_Inverted_Double_Arch_Below",t[t.U_Combining_Caron_Below=812]="U_Combining_Caron_Below",t[t.U_Combining_Circumflex_Accent_Below=813]="U_Combining_Circumflex_Accent_Below",t[t.U_Combining_Breve_Below=814]="U_Combining_Breve_Below",t[t.U_Combining_Inverted_Breve_Below=815]="U_Combining_Inverted_Breve_Below",t[t.U_Combining_Tilde_Below=816]="U_Combining_Tilde_Below",t[t.U_Combining_Macron_Below=817]="U_Combining_Macron_Below",t[t.U_Combining_Low_Line=818]="U_Combining_Low_Line",t[t.U_Combining_Double_Low_Line=819]="U_Combining_Double_Low_Line",t[t.U_Combining_Tilde_Overlay=820]="U_Combining_Tilde_Overlay",t[t.U_Combining_Short_Stroke_Overlay=821]="U_Combining_Short_Stroke_Overlay",t[t.U_Combining_Long_Stroke_Overlay=822]="U_Combining_Long_Stroke_Overlay",t[t.U_Combining_Short_Solidus_Overlay=823]="U_Combining_Short_Solidus_Overlay",t[t.U_Combining_Long_Solidus_Overlay=824]="U_Combining_Long_Solidus_Overlay",t[t.U_Combining_Right_Half_Ring_Below=825]="U_Combining_Right_Half_Ring_Below",t[t.U_Combining_Inverted_Bridge_Below=826]="U_Combining_Inverted_Bridge_Below",t[t.U_Combining_Square_Below=827]="U_Combining_Square_Below",t[t.U_Combining_Seagull_Below=828]="U_Combining_Seagull_Below",t[t.U_Combining_X_Above=829]="U_Combining_X_Above",t[t.U_Combining_Vertical_Tilde=830]="U_Combining_Vertical_Tilde",t[t.U_Combining_Double_Overline=831]="U_Combining_Double_Overline",t[t.U_Combining_Grave_Tone_Mark=832]="U_Combining_Grave_Tone_Mark",t[t.U_Combining_Acute_Tone_Mark=833]="U_Combining_Acute_Tone_Mark",t[t.U_Combining_Greek_Perispomeni=834]="U_Combining_Greek_Perispomeni",t[t.U_Combining_Greek_Koronis=835]="U_Combining_Greek_Koronis",t[t.U_Combining_Greek_Dialytika_Tonos=836]="U_Combining_Greek_Dialytika_Tonos",t[t.U_Combining_Greek_Ypogegrammeni=837]="U_Combining_Greek_Ypogegrammeni",t[t.U_Combining_Bridge_Above=838]="U_Combining_Bridge_Above",t[t.U_Combining_Equals_Sign_Below=839]="U_Combining_Equals_Sign_Below",t[t.U_Combining_Double_Vertical_Line_Below=840]="U_Combining_Double_Vertical_Line_Below",t[t.U_Combining_Left_Angle_Below=841]="U_Combining_Left_Angle_Below",t[t.U_Combining_Not_Tilde_Above=842]="U_Combining_Not_Tilde_Above",t[t.U_Combining_Homothetic_Above=843]="U_Combining_Homothetic_Above",t[t.U_Combining_Almost_Equal_To_Above=844]="U_Combining_Almost_Equal_To_Above",t[t.U_Combining_Left_Right_Arrow_Below=845]="U_Combining_Left_Right_Arrow_Below",t[t.U_Combining_Upwards_Arrow_Below=846]="U_Combining_Upwards_Arrow_Below",t[t.U_Combining_Grapheme_Joiner=847]="U_Combining_Grapheme_Joiner",t[t.U_Combining_Right_Arrowhead_Above=848]="U_Combining_Right_Arrowhead_Above",t[t.U_Combining_Left_Half_Ring_Above=849]="U_Combining_Left_Half_Ring_Above",t[t.U_Combining_Fermata=850]="U_Combining_Fermata",t[t.U_Combining_X_Below=851]="U_Combining_X_Below",t[t.U_Combining_Left_Arrowhead_Below=852]="U_Combining_Left_Arrowhead_Below",t[t.U_Combining_Right_Arrowhead_Below=853]="U_Combining_Right_Arrowhead_Below",t[t.U_Combining_Right_Arrowhead_And_Up_Arrowhead_Below=854]="U_Combining_Right_Arrowhead_And_Up_Arrowhead_Below",t[t.U_Combining_Right_Half_Ring_Above=855]="U_Combining_Right_Half_Ring_Above",t[t.U_Combining_Dot_Above_Right=856]="U_Combining_Dot_Above_Right",t[t.U_Combining_Asterisk_Below=857]="U_Combining_Asterisk_Below",t[t.U_Combining_Double_Ring_Below=858]="U_Combining_Double_Ring_Below",t[t.U_Combining_Zigzag_Above=859]="U_Combining_Zigzag_Above",t[t.U_Combining_Double_Breve_Below=860]="U_Combining_Double_Breve_Below",t[t.U_Combining_Double_Breve=861]="U_Combining_Double_Breve",t[t.U_Combining_Double_Macron=862]="U_Combining_Double_Macron",t[t.U_Combining_Double_Macron_Below=863]="U_Combining_Double_Macron_Below",t[t.U_Combining_Double_Tilde=864]="U_Combining_Double_Tilde",t[t.U_Combining_Double_Inverted_Breve=865]="U_Combining_Double_Inverted_Breve",t[t.U_Combining_Double_Rightwards_Arrow_Below=866]="U_Combining_Double_Rightwards_Arrow_Below",t[t.U_Combining_Latin_Small_Letter_A=867]="U_Combining_Latin_Small_Letter_A",t[t.U_Combining_Latin_Small_Letter_E=868]="U_Combining_Latin_Small_Letter_E",t[t.U_Combining_Latin_Small_Letter_I=869]="U_Combining_Latin_Small_Letter_I",t[t.U_Combining_Latin_Small_Letter_O=870]="U_Combining_Latin_Small_Letter_O",t[t.U_Combining_Latin_Small_Letter_U=871]="U_Combining_Latin_Small_Letter_U",t[t.U_Combining_Latin_Small_Letter_C=872]="U_Combining_Latin_Small_Letter_C",t[t.U_Combining_Latin_Small_Letter_D=873]="U_Combining_Latin_Small_Letter_D",t[t.U_Combining_Latin_Small_Letter_H=874]="U_Combining_Latin_Small_Letter_H",t[t.U_Combining_Latin_Small_Letter_M=875]="U_Combining_Latin_Small_Letter_M",t[t.U_Combining_Latin_Small_Letter_R=876]="U_Combining_Latin_Small_Letter_R",t[t.U_Combining_Latin_Small_Letter_T=877]="U_Combining_Latin_Small_Letter_T",t[t.U_Combining_Latin_Small_Letter_V=878]="U_Combining_Latin_Small_Letter_V",t[t.U_Combining_Latin_Small_Letter_X=879]="U_Combining_Latin_Small_Letter_X",t[t.LINE_SEPARATOR=8232]="LINE_SEPARATOR",t[t.PARAGRAPH_SEPARATOR=8233]="PARAGRAPH_SEPARATOR",t[t.NEXT_LINE=133]="NEXT_LINE",t[t.U_CIRCUMFLEX=94]="U_CIRCUMFLEX",t[t.U_GRAVE_ACCENT=96]="U_GRAVE_ACCENT",t[t.U_DIAERESIS=168]="U_DIAERESIS",t[t.U_MACRON=175]="U_MACRON",t[t.U_ACUTE_ACCENT=180]="U_ACUTE_ACCENT",t[t.U_CEDILLA=184]="U_CEDILLA",t[t.U_MODIFIER_LETTER_LEFT_ARROWHEAD=706]="U_MODIFIER_LETTER_LEFT_ARROWHEAD",t[t.U_MODIFIER_LETTER_RIGHT_ARROWHEAD=707]="U_MODIFIER_LETTER_RIGHT_ARROWHEAD",t[t.U_MODIFIER_LETTER_UP_ARROWHEAD=708]="U_MODIFIER_LETTER_UP_ARROWHEAD",t[t.U_MODIFIER_LETTER_DOWN_ARROWHEAD=709]="U_MODIFIER_LETTER_DOWN_ARROWHEAD",t[t.U_MODIFIER_LETTER_CENTRED_RIGHT_HALF_RING=722]="U_MODIFIER_LETTER_CENTRED_RIGHT_HALF_RING",t[t.U_MODIFIER_LETTER_CENTRED_LEFT_HALF_RING=723]="U_MODIFIER_LETTER_CENTRED_LEFT_HALF_RING",t[t.U_MODIFIER_LETTER_UP_TACK=724]="U_MODIFIER_LETTER_UP_TACK",t[t.U_MODIFIER_LETTER_DOWN_TACK=725]="U_MODIFIER_LETTER_DOWN_TACK",t[t.U_MODIFIER_LETTER_PLUS_SIGN=726]="U_MODIFIER_LETTER_PLUS_SIGN",t[t.U_MODIFIER_LETTER_MINUS_SIGN=727]="U_MODIFIER_LETTER_MINUS_SIGN",t[t.U_BREVE=728]="U_BREVE",t[t.U_DOT_ABOVE=729]="U_DOT_ABOVE",t[t.U_RING_ABOVE=730]="U_RING_ABOVE",t[t.U_OGONEK=731]="U_OGONEK",t[t.U_SMALL_TILDE=732]="U_SMALL_TILDE",t[t.U_DOUBLE_ACUTE_ACCENT=733]="U_DOUBLE_ACUTE_ACCENT",t[t.U_MODIFIER_LETTER_RHOTIC_HOOK=734]="U_MODIFIER_LETTER_RHOTIC_HOOK",t[t.U_MODIFIER_LETTER_CROSS_ACCENT=735]="U_MODIFIER_LETTER_CROSS_ACCENT",t[t.U_MODIFIER_LETTER_EXTRA_HIGH_TONE_BAR=741]="U_MODIFIER_LETTER_EXTRA_HIGH_TONE_BAR",t[t.U_MODIFIER_LETTER_HIGH_TONE_BAR=742]="U_MODIFIER_LETTER_HIGH_TONE_BAR",t[t.U_MODIFIER_LETTER_MID_TONE_BAR=743]="U_MODIFIER_LETTER_MID_TONE_BAR",t[t.U_MODIFIER_LETTER_LOW_TONE_BAR=744]="U_MODIFIER_LETTER_LOW_TONE_BAR",t[t.U_MODIFIER_LETTER_EXTRA_LOW_TONE_BAR=745]="U_MODIFIER_LETTER_EXTRA_LOW_TONE_BAR",t[t.U_MODIFIER_LETTER_YIN_DEPARTING_TONE_MARK=746]="U_MODIFIER_LETTER_YIN_DEPARTING_TONE_MARK",t[t.U_MODIFIER_LETTER_YANG_DEPARTING_TONE_MARK=747]="U_MODIFIER_LETTER_YANG_DEPARTING_TONE_MARK",t[t.U_MODIFIER_LETTER_UNASPIRATED=749]="U_MODIFIER_LETTER_UNASPIRATED",t[t.U_MODIFIER_LETTER_LOW_DOWN_ARROWHEAD=751]="U_MODIFIER_LETTER_LOW_DOWN_ARROWHEAD",t[t.U_MODIFIER_LETTER_LOW_UP_ARROWHEAD=752]="U_MODIFIER_LETTER_LOW_UP_ARROWHEAD",t[t.U_MODIFIER_LETTER_LOW_LEFT_ARROWHEAD=753]="U_MODIFIER_LETTER_LOW_LEFT_ARROWHEAD",t[t.U_MODIFIER_LETTER_LOW_RIGHT_ARROWHEAD=754]="U_MODIFIER_LETTER_LOW_RIGHT_ARROWHEAD",t[t.U_MODIFIER_LETTER_LOW_RING=755]="U_MODIFIER_LETTER_LOW_RING",t[t.U_MODIFIER_LETTER_MIDDLE_GRAVE_ACCENT=756]="U_MODIFIER_LETTER_MIDDLE_GRAVE_ACCENT",t[t.U_MODIFIER_LETTER_MIDDLE_DOUBLE_GRAVE_ACCENT=757]="U_MODIFIER_LETTER_MIDDLE_DOUBLE_GRAVE_ACCENT",t[t.U_MODIFIER_LETTER_MIDDLE_DOUBLE_ACUTE_ACCENT=758]="U_MODIFIER_LETTER_MIDDLE_DOUBLE_ACUTE_ACCENT",t[t.U_MODIFIER_LETTER_LOW_TILDE=759]="U_MODIFIER_LETTER_LOW_TILDE",t[t.U_MODIFIER_LETTER_RAISED_COLON=760]="U_MODIFIER_LETTER_RAISED_COLON",t[t.U_MODIFIER_LETTER_BEGIN_HIGH_TONE=761]="U_MODIFIER_LETTER_BEGIN_HIGH_TONE",t[t.U_MODIFIER_LETTER_END_HIGH_TONE=762]="U_MODIFIER_LETTER_END_HIGH_TONE",t[t.U_MODIFIER_LETTER_BEGIN_LOW_TONE=763]="U_MODIFIER_LETTER_BEGIN_LOW_TONE",t[t.U_MODIFIER_LETTER_END_LOW_TONE=764]="U_MODIFIER_LETTER_END_LOW_TONE",t[t.U_MODIFIER_LETTER_SHELF=765]="U_MODIFIER_LETTER_SHELF",t[t.U_MODIFIER_LETTER_OPEN_SHELF=766]="U_MODIFIER_LETTER_OPEN_SHELF",t[t.U_MODIFIER_LETTER_LOW_LEFT_ARROW=767]="U_MODIFIER_LETTER_LOW_LEFT_ARROW",t[t.U_GREEK_LOWER_NUMERAL_SIGN=885]="U_GREEK_LOWER_NUMERAL_SIGN",t[t.U_GREEK_TONOS=900]="U_GREEK_TONOS",t[t.U_GREEK_DIALYTIKA_TONOS=901]="U_GREEK_DIALYTIKA_TONOS",t[t.U_GREEK_KORONIS=8125]="U_GREEK_KORONIS",t[t.U_GREEK_PSILI=8127]="U_GREEK_PSILI",t[t.U_GREEK_PERISPOMENI=8128]="U_GREEK_PERISPOMENI",t[t.U_GREEK_DIALYTIKA_AND_PERISPOMENI=8129]="U_GREEK_DIALYTIKA_AND_PERISPOMENI",t[t.U_GREEK_PSILI_AND_VARIA=8141]="U_GREEK_PSILI_AND_VARIA",t[t.U_GREEK_PSILI_AND_OXIA=8142]="U_GREEK_PSILI_AND_OXIA",t[t.U_GREEK_PSILI_AND_PERISPOMENI=8143]="U_GREEK_PSILI_AND_PERISPOMENI",t[t.U_GREEK_DASIA_AND_VARIA=8157]="U_GREEK_DASIA_AND_VARIA",t[t.U_GREEK_DASIA_AND_OXIA=8158]="U_GREEK_DASIA_AND_OXIA",t[t.U_GREEK_DASIA_AND_PERISPOMENI=8159]="U_GREEK_DASIA_AND_PERISPOMENI",t[t.U_GREEK_DIALYTIKA_AND_VARIA=8173]="U_GREEK_DIALYTIKA_AND_VARIA",t[t.U_GREEK_DIALYTIKA_AND_OXIA=8174]="U_GREEK_DIALYTIKA_AND_OXIA",t[t.U_GREEK_VARIA=8175]="U_GREEK_VARIA",t[t.U_GREEK_OXIA=8189]="U_GREEK_OXIA",t[t.U_GREEK_DASIA=8190]="U_GREEK_DASIA",t[t.U_IDEOGRAPHIC_FULL_STOP=12290]="U_IDEOGRAPHIC_FULL_STOP",t[t.U_LEFT_CORNER_BRACKET=12300]="U_LEFT_CORNER_BRACKET",t[t.U_RIGHT_CORNER_BRACKET=12301]="U_RIGHT_CORNER_BRACKET",t[t.U_LEFT_BLACK_LENTICULAR_BRACKET=12304]="U_LEFT_BLACK_LENTICULAR_BRACKET",t[t.U_RIGHT_BLACK_LENTICULAR_BRACKET=12305]="U_RIGHT_BLACK_LENTICULAR_BRACKET",t[t.U_OVERLINE=8254]="U_OVERLINE",t[t.UTF8_BOM=65279]="UTF8_BOM",t[t.U_FULLWIDTH_SEMICOLON=65307]="U_FULLWIDTH_SEMICOLON",t[t.U_FULLWIDTH_COMMA=65292]="U_FULLWIDTH_COMMA"})(a||(e.CharCode=a={}))}),define(he[44],fe([0,1]),function(ie,e){"use strict";var a;Object.defineProperty(e,"__esModule",{value:!0}),e.$O=void 0,e.$K=t,e.$L=L,e.$M=$,e.$N=B;function t(w,o){const E=Object.create(null);for(const p of w){const d=o(p);let u=E[d];u||(u=E[d]=[]),u.push(p)}return E}function L(w,o){const E=[],p=[];for(const d of w)o.has(d)||E.push(d);for(const d of o)w.has(d)||p.push(d);return{removed:E,added:p}}function $(w,o){const E=[],p=[];for(const[d,u]of w)o.has(d)||E.push(u);for(const[d,u]of o)w.has(d)||p.push(u);return{removed:E,added:p}}function B(w,o){const E=new Set;for(const p of o)w.has(p)&&E.add(p);return E}class P{static{a=Symbol.toStringTag}constructor(o,E){this.b=E,this.a=new Map,this[a]="SetWithKey";for(const p of o)this.add(p)}get size(){return this.a.size}add(o){const E=this.b(o);return this.a.set(E,o),this}delete(o){return this.a.delete(this.b(o))}has(o){return this.a.has(this.b(o))}*entries(){for(const o of this.a.values())yield[o,o]}keys(){return this.values()}*values(){for(const o of this.a.values())yield o}clear(){this.a.clear()}forEach(o,E){this.a.forEach(p=>o.call(E,p,p,this))}[Symbol.iterator](){return this.values()}}e.$O=P}),define(he[15],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$$h=t,e.$_h=L,e.$ai=$;function a(B){return(P,w,o)=>{let E=null,p=null;if(typeof o.value=="function"?(E="value",p=o.value):typeof o.get=="function"&&(E="get",p=o.get),!p)throw new Error("not supported");o[E]=B(p,w)}}function t(B,P,w){let o=null,E=null;if(typeof w.value=="function"?(o="value",E=w.value,E.length!==0&&console.warn("Memoize should only be used in functions with zero parameters")):typeof w.get=="function"&&(o="get",E=w.get),!E)throw new Error("not supported");const p=`$memoize$${P}`;w[o]=function(...d){return this.hasOwnProperty(p)||Object.defineProperty(this,p,{configurable:!1,enumerable:!1,writable:!1,value:E.apply(this,d)}),this[p]}}function L(B,P,w){return a((o,E)=>{const p=`$debounce$${E}`,d=`$debounce$result$${E}`;return function(...u){this[d]||(this[d]=w?w():void 0),clearTimeout(this[p]),P&&(this[d]=P(this[d],...u),u=[this[d]]),this[p]=setTimeout(()=>{o.apply(this,u),this[d]=w?w():void 0},B)}})}function $(B,P,w){return a((o,E)=>{const p=`$throttle$timer$${E}`,d=`$throttle$result$${E}`,u=`$throttle$lastRun$${E}`,c=`$throttle$pending$${E}`;return function(...h){if(this[d]||(this[d]=w?w():void 0),(this[u]===null||this[u]===void 0)&&(this[u]=-Number.MAX_VALUE),P&&(this[d]=P(this[d],...h)),this[c])return;const m=this[u]+B;m<=Date.now()?(this[u]=Date.now(),o.apply(this,[this[d]]),this[d]=w?w():void 0):(this[c]=!0,this[p]=setTimeout(()=>{this[c]=!1,this[u]=Date.now(),o.apply(this,[this[d]]),this[d]=w?w():void 0},m-Date.now()))}})}}),define(he[7],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$fb=e.$eb=e.$db=e.$cb=e.$bb=e.$_=e.$8=e.$Z=e.$Y=void 0,e.setUnexpectedErrorHandler=t,e.$2=L,e.$3=$,e.$4=B,e.$5=P,e.$6=w,e.$7=E,e.$9=d,e.$0=u,e.$$=c,e.$ab=m;class a{constructor(){this.b=[],this.a=function(n){setTimeout(()=>{throw n.stack?v.isErrorNoTelemetry(n)?new v(n.message+`
`+n.stack):new Error(n.message+`
`+n.stack):n},0)}}addListener(n){return this.b.push(n),()=>{this.d(n)}}c(n){this.b.forEach(k=>{k(n)})}d(n){this.b.splice(this.b.indexOf(n),1)}setUnexpectedErrorHandler(n){this.a=n}getUnexpectedErrorHandler(){return this.a}onUnexpectedError(n){this.a(n),this.c(n)}onUnexpectedExternalError(n){this.a(n)}}e.$Y=a,e.$Z=new a;function t(i){e.$Z.setUnexpectedErrorHandler(i)}function L(i){if(!i||typeof i!="object")return!1;const n=i;return n.code==="EPIPE"&&n.syscall?.toUpperCase()==="WRITE"}function $(i){E(i)||e.$Z.onUnexpectedError(i)}function B(i){E(i)||e.$Z.onUnexpectedExternalError(i)}function P(i){if(i instanceof Error){const{name:n,message:k}=i,_=i.stacktrace||i.stack;return{$isError:!0,name:n,message:k,stack:_,noTelemetry:v.isErrorNoTelemetry(i)}}return i}function w(i){let n;return i.noTelemetry?n=new v:(n=new Error,n.name=i.name),n.message=i.message,n.stack=i.stack,n}const o="Canceled";function E(i){return i instanceof p?!0:i instanceof Error&&i.name===o&&i.message===o}class p extends Error{constructor(){super(o),this.name=this.message}}e.$8=p;function d(){const i=new Error(o);return i.name=i.message,i}function u(i){return i?new Error(`Illegal argument: ${i}`):new Error("Illegal argument")}function c(i){return i?new Error(`Illegal state: ${i}`):new Error("Illegal state")}class h extends TypeError{constructor(n){super(n?`${n} is read-only and cannot be changed`:"Cannot change read-only property")}}e.$_=h;function m(i){return i?i.message?i.message:i.stack?i.stack.split(`
`)[0]:String(i):"Error"}class l extends Error{constructor(n){super("NotImplemented"),n&&(this.message=n)}}e.$bb=l;class s extends Error{constructor(n){super("NotSupported"),n&&(this.message=n)}}e.$cb=s;class b extends Error{constructor(){super(...arguments),this.isExpected=!0}}e.$db=b;class v extends Error{constructor(n){super(n),this.name="CodeExpectedError"}static fromError(n){if(n instanceof v)return n;const k=new v;return k.message=n.message,k.stack=n.stack,k}static isErrorNoTelemetry(n){return n.name==="CodeExpectedError"}}e.$eb=v;class r extends Error{constructor(n){super(n||"An unexpected bug occurred."),Object.setPrototypeOf(this,r.prototype)}}e.$fb=r}),define(he[18],fe([0,1,7,43]),function(ie,e,a,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$dc=e.$cc=e.$bc=e.$_b=e.$$b=e.CompareResult=void 0,e.$vb=L,e.$wb=$,e.$xb=B,e.$yb=P,e.$zb=w,e.$Ab=o,e.$Bb=E,e.$Cb=p,e.$Db=d,e.$Eb=u,e.$Fb=c,e.$Gb=h,e.$Hb=m,e.top=l,e.$Jb=s,e.$Kb=v,e.$Lb=r,e.$Mb=i,e.$Nb=n,e.$Ob=k,e.$Pb=_,e.$Qb=O,e.$Rb=y,e.$Sb=A,e.$Tb=S,e.$Ub=q,e.$Vb=j,e.$Wb=R,e.$Xb=g,e.$Yb=T,e.$Zb=I,e.$1b=D,e.$2b=F,e.$3b=J,e.$4b=V,e.$5b=Z,e.$6b=re,e.$7b=ce,e.$8b=X,e.$9b=ee,e.$0b=le,e.$ac=ge;function L(U,N=0){return U[U.length-(1+N)]}function $(U){if(U.length===0)throw new Error("Invalid tail call");return[U.slice(0,U.length-1),U[U.length-1]]}function B(U,N,K=(W,M)=>W===M){if(U===N)return!0;if(!U||!N||U.length!==N.length)return!1;for(let W=0,M=U.length;W<M;W++)if(!K(U[W],N[W]))return!1;return!0}function P(U,N){const K=U.length-1;N<K&&(U[N]=U[K]),U.pop()}function w(U,N,K){return o(U.length,W=>K(U[W],N))}function o(U,N){let K=0,W=U-1;for(;K<=W;){const M=(K+W)/2|0,x=N(M);if(x<0)K=M+1;else if(x>0)W=M-1;else return M}return-(K+1)}function E(U,N,K){if(U=U|0,U>=N.length)throw new TypeError("invalid index");const W=N[Math.floor(N.length*Math.random())],M=[],x=[],ne=[];for(const oe of N){const be=K(oe,W);be<0?M.push(oe):be>0?x.push(oe):ne.push(oe)}return U<M.length?E(U,M,K):U<M.length+ne.length?ne[0]:E(U-(M.length+ne.length),x,K)}function p(U,N){const K=[];let W;for(const M of U.slice(0).sort(N))!W||N(W[0],M)!==0?(W=[M],K.push(W)):W.push(M);return K}function*d(U,N){let K,W;for(const M of U)W!==void 0&&N(W,M)?K.push(M):(K&&(yield K),K=[M]),W=M;K&&(yield K)}function u(U,N){for(let K=0;K<=U.length;K++)N(K===0?void 0:U[K-1],K===U.length?void 0:U[K])}function c(U,N){for(let K=0;K<U.length;K++)N(K===0?void 0:U[K-1],U[K],K+1===U.length?void 0:U[K+1])}function h(U,N,K){const W=[];function M(oe,be,Ee){if(be===0&&Ee.length===0)return;const me=W[W.length-1];me&&me.start+me.deleteCount===oe?(me.deleteCount+=be,me.toInsert.push(...Ee)):W.push({start:oe,deleteCount:be,toInsert:Ee})}let x=0,ne=0;for(;;){if(x===U.length){M(x,0,N.slice(ne));break}if(ne===N.length){M(x,U.length-x,[]);break}const oe=U[x],be=N[ne],Ee=K(oe,be);Ee===0?(x+=1,ne+=1):Ee<0?(M(x,1,[]),x+=1):Ee>0&&(M(x,0,[be]),ne+=1)}return W}function m(U,N,K){const W=h(U,N,K),M=[],x=[];for(const ne of W)M.push(...U.slice(ne.start,ne.start+ne.deleteCount)),x.push(...ne.toInsert);return{removed:M,added:x}}function l(U,N,K){if(K===0)return[];const W=U.slice(0,K).sort(N);return b(U,N,W,K,U.length),W}function s(U,N,K,W,M){return K===0?Promise.resolve([]):new Promise((x,ne)=>{(async()=>{const oe=U.length,be=U.slice(0,K).sort(N);for(let Ee=K,me=Math.min(K+W,oe);Ee<oe;Ee=me,me=Math.min(me+W,oe)){if(Ee>K&&await new Promise(de=>setTimeout(de)),M&&M.isCancellationRequested)throw new a.$8;b(U,N,be,Ee,me)}return be})().then(x,ne)})}function b(U,N,K,W,M){for(const x=K.length;W<M;W++){const ne=U[W];if(N(ne,K[x-1])<0){K.pop();const oe=(0,t.$nb)(K,be=>N(ne,be)<0);K.splice(oe,0,ne)}}}function v(U){return U.filter(N=>!!N)}function r(U){let N=0;for(let K=0;K<U.length;K++)U[K]&&(U[N]=U[K],N+=1);U.length=N}function i(U,N,K){U.splice(K,0,U.splice(N,1)[0])}function n(U){return!Array.isArray(U)||U.length===0}function k(U){return Array.isArray(U)&&U.length>0}function _(U,N=K=>K){const K=new Set;return U.filter(W=>{const M=N(W);return K.has(M)?!1:(K.add(M),!0)})}function O(U){const N=new Set;return K=>{const W=U(K);return N.has(W)?!1:(N.add(W),!0)}}function y(U,N){return U.length>0?U[0]:N}function A(U,N){return U.length>0?U[U.length-1]:N}function S(U,N,K=(W,M)=>W===M){let W=0;for(let M=0,x=Math.min(U.length,N.length);M<x&&K(U[M],N[M]);M++)W++;return W}function q(U,N){let K=typeof N=="number"?U:0;typeof N=="number"?K=U:(K=0,N=U);const W=[];if(K<=N)for(let M=K;M<N;M++)W.push(M);else for(let M=K;M>N;M--)W.push(M);return W}function j(U,N,K){return U.reduce((W,M)=>(W[N(M)]=K?K(M):M,W),Object.create(null))}function R(U,N){return U.push(N),()=>g(U,N)}function g(U,N){const K=U.indexOf(N);if(K>-1)return U.splice(K,1),N}function T(U,N,K){const W=U.slice(0,N),M=U.slice(N);return W.concat(K,M)}function I(U,N){let K;if(typeof N=="number"){let W=N;K=()=>{const M=Math.sin(W++)*179426549;return M-Math.floor(M)}}else K=Math.random;for(let W=U.length-1;W>0;W-=1){const M=Math.floor(K()*(W+1)),x=U[W];U[W]=U[M],U[M]=x}}function D(U,N){const K=U.indexOf(N);K>-1&&(U.splice(K,1),U.unshift(N))}function F(U,N){const K=U.indexOf(N);K>-1&&(U.splice(K,1),U.push(N))}function J(U,N){for(const K of N)U.push(K)}function V(U,N){return Array.isArray(U)?U.map(N):N(U)}function Z(U){return Array.isArray(U)?U:[U]}function re(U){return U[Math.floor(Math.random()*U.length)]}function ce(U,N,K){const W=C(U,N),M=U.length,x=K.length;U.length=M+x;for(let ne=M-1;ne>=W;ne--)U[ne+x]=U[ne];for(let ne=0;ne<x;ne++)U[ne+W]=K[ne]}function X(U,N,K,W){const M=C(U,N);let x=U.splice(M,K);return x===void 0&&(x=[]),ce(U,M,W),x}function C(U,N){return N<0?Math.max(N+U.length,0):Math.min(N,U.length)}var Q;(function(U){function N(x){return x<0}U.isLessThan=N;function K(x){return x<=0}U.isLessThanOrEqual=K;function W(x){return x>0}U.isGreaterThan=W;function M(x){return x===0}U.isNeitherLessOrGreaterThan=M,U.greaterThan=1,U.lessThan=-1,U.neitherLessOrGreaterThan=0})(Q||(e.CompareResult=Q={}));function ee(U,N){return(K,W)=>N(U(K),U(W))}function le(...U){return(N,K)=>{for(const W of U){const M=W(N,K);if(!Q.isNeitherLessOrGreaterThan(M))return M}return Q.neitherLessOrGreaterThan}}const G=(U,N)=>U-N;e.$$b=G;const ae=(U,N)=>(0,e.$$b)(U?1:0,N?1:0);e.$_b=ae;function ge(U){return(N,K)=>-U(N,K)}class te{constructor(N){this.g=N,this.c=0,this.d=this.g.length-1}get length(){return this.d-this.c+1}takeWhile(N){let K=this.c;for(;K<this.g.length&&N(this.g[K]);)K++;const W=K===this.c?null:this.g.slice(this.c,K);return this.c=K,W}takeFromEndWhile(N){let K=this.d;for(;K>=0&&N(this.g[K]);)K--;const W=K===this.d?null:this.g.slice(K+1,this.d+1);return this.d=K,W}peek(){if(this.length!==0)return this.g[this.c]}peekLast(){if(this.length!==0)return this.g[this.d]}dequeue(){const N=this.g[this.c];return this.c++,N}removeLast(){const N=this.g[this.d];return this.d--,N}takeCount(N){const K=this.g.slice(this.c,this.c+N);return this.c+=N,K}}e.$bc=te;class f{static{this.empty=new f(N=>{})}constructor(N){this.iterate=N}forEach(N){this.iterate(K=>(N(K),!0))}toArray(){const N=[];return this.iterate(K=>(N.push(K),!0)),N}filter(N){return new f(K=>this.iterate(W=>N(W)?K(W):!0))}map(N){return new f(K=>this.iterate(W=>K(N(W))))}some(N){let K=!1;return this.iterate(W=>(K=N(W),!K)),K}findFirst(N){let K;return this.iterate(W=>N(W)?(K=W,!1):!0),K}findLast(N){let K;return this.iterate(W=>(N(W)&&(K=W),!0)),K}findLastMaxBy(N){let K,W=!0;return this.iterate(M=>((W||Q.isGreaterThan(N(M,K)))&&(W=!1,K=M),!0)),K}}e.$cc=f;class H{constructor(N){this.c=N}static createSortPermutation(N,K){const W=Array.from(N.keys()).sort((M,x)=>K(N[M],N[x]));return new H(W)}apply(N){return N.map((K,W)=>N[this.c[W]])}inverse(){const N=this.c.slice();for(let K=0;K<this.c.length;K++)N[this.c[K]]=K;return new H(N)}}e.$dc=H}),define(he[45],fe([0,1,7]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ok=t,e.$hd=L,e.$id=$,e.$jd=B,e.$kd=P,e.$ld=w;function t(o,E){if(!o)throw new Error(E?`Assertion failed (${E})`:"Assertion Failed")}function L(o,E="Unreachable"){throw new Error(E)}function $(o,E="unexpected state"){if(!o)throw new a.$fb(`Assertion Failed: ${E}`)}function B(o){o||(0,a.$3)(new a.$fb("Soft Assertion Failed"))}function P(o){if(!o()){debugger;o(),(0,a.$3)(new a.$fb("Assertion Failed"))}}function w(o,E){let p=0;for(;p<o.length-1;){const d=o[p],u=o[p+1];if(!E(d,u))return!1;p++}return!0}}),define(he[32],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$gb=a;function a(t,L){const $=this;let B=!1,P;return function(){if(B)return P;if(B=!0,L)try{P=t.apply($,arguments)}finally{L()}else P=t.apply($,arguments);return P}}}),define(he[46],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Iterable=void 0;var a;(function(t){function L(n){return n&&typeof n=="object"&&typeof n[Symbol.iterator]=="function"}t.is=L;const $=Object.freeze([]);function B(){return $}t.empty=B;function*P(n){yield n}t.single=P;function w(n){return L(n)?n:P(n)}t.wrap=w;function o(n){return n||$}t.from=o;function*E(n){for(let k=n.length-1;k>=0;k--)yield n[k]}t.reverse=E;function p(n){return!n||n[Symbol.iterator]().next().done===!0}t.isEmpty=p;function d(n){return n[Symbol.iterator]().next().value}t.first=d;function u(n,k){let _=0;for(const O of n)if(k(O,_++))return!0;return!1}t.some=u;function c(n,k){for(const _ of n)if(k(_))return _}t.find=c;function*h(n,k){for(const _ of n)k(_)&&(yield _)}t.filter=h;function*m(n,k){let _=0;for(const O of n)yield k(O,_++)}t.map=m;function*l(n,k){let _=0;for(const O of n)yield*k(O,_++)}t.flatMap=l;function*s(...n){for(const k of n)yield*k}t.concat=s;function b(n,k,_){let O=_;for(const y of n)O=k(O,y);return O}t.reduce=b;function*v(n,k,_=n.length){for(k<0&&(k+=n.length),_<0?_+=n.length:_>n.length&&(_=n.length);k<_;k++)yield n[k]}t.slice=v;function r(n,k=Number.POSITIVE_INFINITY){const _=[];if(k===0)return[_,n];const O=n[Symbol.iterator]();for(let y=0;y<k;y++){const A=O.next();if(A.done)return[_,t.empty()];_.push(A.value)}return[_,{[Symbol.iterator](){return O}}]}t.consume=r;async function i(n){const k=[];for await(const _ of n)k.push(_);return Promise.resolve(k)}t.asyncToArray=i})(a||(e.Iterable=a={}))}),define(he[25],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$X=void 0;class a{constructor(L){this.d=L,this.a=!1}get hasValue(){return this.a}get value(){if(!this.a)try{this.b=this.d()}catch(L){this.c=L}finally{this.a=!0}if(this.c)throw this.c;return this.b}get rawValue(){return this.b}}e.$X=a}),define(he[47],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$8c=void 0;class a{static{this.Undefined=new a(void 0)}constructor($){this.element=$,this.next=a.Undefined,this.prev=a.Undefined}}class t{constructor(){this.a=a.Undefined,this.b=a.Undefined,this.c=0}get size(){return this.c}isEmpty(){return this.a===a.Undefined}clear(){let $=this.a;for(;$!==a.Undefined;){const B=$.next;$.prev=a.Undefined,$.next=a.Undefined,$=B}this.a=a.Undefined,this.b=a.Undefined,this.c=0}unshift($){return this.d($,!1)}push($){return this.d($,!0)}d($,B){const P=new a($);if(this.a===a.Undefined)this.a=P,this.b=P;else if(B){const o=this.b;this.b=P,P.prev=o,o.next=P}else{const o=this.a;this.a=P,P.next=o,o.prev=P}this.c+=1;let w=!1;return()=>{w||(w=!0,this.e(P))}}shift(){if(this.a!==a.Undefined){const $=this.a.element;return this.e(this.a),$}}pop(){if(this.b!==a.Undefined){const $=this.b.element;return this.e(this.b),$}}e($){if($.prev!==a.Undefined&&$.next!==a.Undefined){const B=$.prev;B.next=$.next,$.next.prev=B}else $.prev===a.Undefined&&$.next===a.Undefined?(this.a=a.Undefined,this.b=a.Undefined):$.next===a.Undefined?(this.b=this.b.prev,this.b.next=a.Undefined):$.prev===a.Undefined&&(this.a=this.a.next,this.a.prev=a.Undefined);this.c-=1}*[Symbol.iterator](){let $=this.a;for(;$!==a.Undefined;)yield $.element,$=$.next}}e.$8c=t}),define(he[28],fe([0,1]),function(ie,e){"use strict";var a,t,L;Object.defineProperty(e,"__esModule",{value:!0}),e.$Kc=e.$Jc=e.$Ic=e.$Hc=e.$Gc=e.$Fc=e.Touch=e.$Ec=e.$Dc=void 0,e.$Ac=$,e.$Bc=B,e.$Cc=P,e.$Lc=v;function $(r,i,n){let k=r.get(i);return k===void 0&&(k=n,r.set(i,k)),k}function B(r){const i=[];return r.forEach((n,k)=>{i.push(`${k} => ${n}`)}),`Map(${r.size}) {${i.join(", ")}}`}function P(r){const i=[];return r.forEach(n=>{i.push(n)}),`Set(${r.size}) {${i.join(", ")}}`}class w{constructor(i,n){this.uri=i,this.value=n}}function o(r){return Array.isArray(r)}class E{static{this.c=i=>i.toString()}constructor(i,n){if(this[a]="ResourceMap",i instanceof E)this.d=new Map(i.d),this.e=n??E.c;else if(o(i)){this.d=new Map,this.e=n??E.c;for(const[k,_]of i)this.set(k,_)}else this.d=new Map,this.e=i??E.c}set(i,n){return this.d.set(this.e(i),new w(i,n)),this}get(i){return this.d.get(this.e(i))?.value}has(i){return this.d.has(this.e(i))}get size(){return this.d.size}clear(){this.d.clear()}delete(i){return this.d.delete(this.e(i))}forEach(i,n){typeof n<"u"&&(i=i.bind(n));for(const[k,_]of this.d)i(_.value,_.uri,this)}*values(){for(const i of this.d.values())yield i.value}*keys(){for(const i of this.d.values())yield i.uri}*entries(){for(const i of this.d.values())yield[i.uri,i.value]}*[(a=Symbol.toStringTag,Symbol.iterator)](){for(const[,i]of this.d)yield[i.uri,i.value]}}e.$Dc=E;class p{constructor(i,n){this[t]="ResourceSet",!i||typeof i=="function"?this.c=new E(i):(this.c=new E(n),i.forEach(this.add,this))}get size(){return this.c.size}add(i){return this.c.set(i,i),this}clear(){this.c.clear()}delete(i){return this.c.delete(i)}forEach(i,n){this.c.forEach((k,_)=>i.call(n,_,_,this))}has(i){return this.c.has(i)}entries(){return this.c.entries()}keys(){return this.c.keys()}values(){return this.c.keys()}[(t=Symbol.toStringTag,Symbol.iterator)](){return this.keys()}}e.$Ec=p;var d;(function(r){r[r.None=0]="None",r[r.AsOld=1]="AsOld",r[r.AsNew=2]="AsNew"})(d||(e.Touch=d={}));class u{constructor(){this[L]="LinkedMap",this.c=new Map,this.d=void 0,this.e=void 0,this.f=0,this.g=0}clear(){this.c.clear(),this.d=void 0,this.e=void 0,this.f=0,this.g++}isEmpty(){return!this.d&&!this.e}get size(){return this.f}get first(){return this.d?.value}get last(){return this.e?.value}has(i){return this.c.has(i)}get(i,n=d.None){const k=this.c.get(i);if(k)return n!==d.None&&this.m(k,n),k.value}set(i,n,k=d.None){let _=this.c.get(i);if(_)_.value=n,k!==d.None&&this.m(_,k);else{switch(_={key:i,value:n,next:void 0,previous:void 0},k){case d.None:this.k(_);break;case d.AsOld:this.j(_);break;case d.AsNew:this.k(_);break;default:this.k(_);break}this.c.set(i,_),this.f++}return this}delete(i){return!!this.remove(i)}remove(i){const n=this.c.get(i);if(n)return this.c.delete(i),this.l(n),this.f--,n.value}shift(){if(!this.d&&!this.e)return;if(!this.d||!this.e)throw new Error("Invalid list");const i=this.d;return this.c.delete(i.key),this.l(i),this.f--,i.value}forEach(i,n){const k=this.g;let _=this.d;for(;_;){if(n?i.bind(n)(_.value,_.key,this):i(_.value,_.key,this),this.g!==k)throw new Error("LinkedMap got modified during iteration.");_=_.next}}keys(){const i=this,n=this.g;let k=this.d;const _={[Symbol.iterator](){return _},next(){if(i.g!==n)throw new Error("LinkedMap got modified during iteration.");if(k){const O={value:k.key,done:!1};return k=k.next,O}else return{value:void 0,done:!0}}};return _}values(){const i=this,n=this.g;let k=this.d;const _={[Symbol.iterator](){return _},next(){if(i.g!==n)throw new Error("LinkedMap got modified during iteration.");if(k){const O={value:k.value,done:!1};return k=k.next,O}else return{value:void 0,done:!0}}};return _}entries(){const i=this,n=this.g;let k=this.d;const _={[Symbol.iterator](){return _},next(){if(i.g!==n)throw new Error("LinkedMap got modified during iteration.");if(k){const O={value:[k.key,k.value],done:!1};return k=k.next,O}else return{value:void 0,done:!0}}};return _}[(L=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}h(i){if(i>=this.size)return;if(i===0){this.clear();return}let n=this.d,k=this.size;for(;n&&k>i;)this.c.delete(n.key),n=n.next,k--;this.d=n,this.f=k,n&&(n.previous=void 0),this.g++}i(i){if(i>=this.size)return;if(i===0){this.clear();return}let n=this.e,k=this.size;for(;n&&k>i;)this.c.delete(n.key),n=n.previous,k--;this.e=n,this.f=k,n&&(n.next=void 0),this.g++}j(i){if(!this.d&&!this.e)this.e=i;else if(this.d)i.next=this.d,this.d.previous=i;else throw new Error("Invalid list");this.d=i,this.g++}k(i){if(!this.d&&!this.e)this.d=i;else if(this.e)i.previous=this.e,this.e.next=i;else throw new Error("Invalid list");this.e=i,this.g++}l(i){if(i===this.d&&i===this.e)this.d=void 0,this.e=void 0;else if(i===this.d){if(!i.next)throw new Error("Invalid list");i.next.previous=void 0,this.d=i.next}else if(i===this.e){if(!i.previous)throw new Error("Invalid list");i.previous.next=void 0,this.e=i.previous}else{const n=i.next,k=i.previous;if(!n||!k)throw new Error("Invalid list");n.previous=k,k.next=n}i.next=void 0,i.previous=void 0,this.g++}m(i,n){if(!this.d||!this.e)throw new Error("Invalid list");if(!(n!==d.AsOld&&n!==d.AsNew)){if(n===d.AsOld){if(i===this.d)return;const k=i.next,_=i.previous;i===this.e?(_.next=void 0,this.e=_):(k.previous=_,_.next=k),i.previous=void 0,i.next=this.d,this.d.previous=i,this.d=i,this.g++}else if(n===d.AsNew){if(i===this.e)return;const k=i.next,_=i.previous;i===this.d?(k.previous=void 0,this.d=k):(k.previous=_,_.next=k),i.next=void 0,i.previous=this.e,this.e.next=i,this.e=i,this.g++}}}toJSON(){const i=[];return this.forEach((n,k)=>{i.push([k,n])}),i}fromJSON(i){this.clear();for(const[n,k]of i)this.set(n,k)}}e.$Fc=u;class c extends u{constructor(i,n=1){super(),this.n=i,this.o=Math.min(Math.max(0,n),1)}get limit(){return this.n}set limit(i){this.n=i,this.p()}get ratio(){return this.o}set ratio(i){this.o=Math.min(Math.max(0,i),1),this.p()}get(i,n=d.AsNew){return super.get(i,n)}peek(i){return super.get(i,d.None)}set(i,n){return super.set(i,n,d.AsNew),this}p(){this.size>this.n&&this.q(Math.round(this.n*this.o))}}class h extends c{constructor(i,n=1){super(i,n)}q(i){this.h(i)}set(i,n){return super.set(i,n),this.p(),this}}e.$Gc=h;class m extends c{constructor(i,n=1){super(i,n)}q(i){this.i(i)}set(i,n){return this.n<=this.size&&!this.has(i)&&this.q(Math.round(this.n*this.o)-1),super.set(i,n),this}}e.$Hc=m;class l{constructor(){this.c=new Map}add(i){return this.c.set(i,(this.c.get(i)||0)+1),this}delete(i){let n=this.c.get(i)||0;return n===0?!1:(n--,n===0?this.c.delete(i):this.c.set(i,n),!0)}has(i){return this.c.has(i)}}e.$Ic=l;class s{constructor(i){if(this.c=new Map,this.d=new Map,i)for(const[n,k]of i)this.set(n,k)}clear(){this.c.clear(),this.d.clear()}set(i,n){this.c.set(i,n),this.d.set(n,i)}get(i){return this.c.get(i)}getKey(i){return this.d.get(i)}delete(i){const n=this.c.get(i);return n===void 0?!1:(this.c.delete(i),this.d.delete(n),!0)}forEach(i,n){this.c.forEach((k,_)=>{i.call(n,k,_,this)})}keys(){return this.c.keys()}values(){return this.c.values()}}e.$Jc=s;class b{constructor(){this.c=new Map}add(i,n){let k=this.c.get(i);k||(k=new Set,this.c.set(i,k)),k.add(n)}delete(i,n){const k=this.c.get(i);k&&(k.delete(n),k.size===0&&this.c.delete(i))}forEach(i,n){const k=this.c.get(i);k&&k.forEach(n)}get(i){const n=this.c.get(i);return n||new Set}}e.$Kc=b;function v(r,i){if(r===i)return!0;if(r.size!==i.size)return!1;for(const[n,k]of r)if(!i.has(n)||i.get(n)!==k)return!1;for(const[n]of i)if(!r.has(n))return!1;return!0}}),define(he[2],fe([0,1,18,44,28,32,46]),function(ie,e,a,t,L,$,B){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$7c=e.$5c=e.$4c=e.$3c=e.$2c=e.$1c=e.$Zc=e.$Yc=e.$Xc=e.$Wc=e.$Mc=void 0,e.$Nc=E,e.$Oc=p,e.$Pc=d,e.$Qc=h,e.$Rc=m,e.$Sc=l,e.$Tc=s,e.$Uc=b,e.$Vc=v,e.$6c=q;const P=!1;let w=null;class o{constructor(){this.b=new Map}static{this.a=0}c(g){let T=this.b.get(g);return T||(T={parent:null,source:null,isSingleton:!1,value:g,idx:o.a++},this.b.set(g,T)),T}trackDisposable(g){const T=this.c(g);T.source||(T.source=new Error().stack)}setParent(g,T){const I=this.c(g);I.parent=T}markAsDisposed(g){this.b.delete(g)}markAsSingleton(g){this.c(g).isSingleton=!0}f(g,T){const I=T.get(g);if(I)return I;const D=g.parent?this.f(this.c(g.parent),T):g;return T.set(g,D),D}getTrackedDisposables(){const g=new Map;return[...this.b.entries()].filter(([,I])=>I.source!==null&&!this.f(I,g).isSingleton).flatMap(([I])=>I)}computeLeakingDisposables(g=10,T){let I;if(T)I=T;else{const Z=new Map,re=[...this.b.values()].filter(X=>X.source!==null&&!this.f(X,Z).isSingleton);if(re.length===0)return;const ce=new Set(re.map(X=>X.value));if(I=re.filter(X=>!(X.parent&&ce.has(X.parent))),I.length===0)throw new Error("There are cyclic diposable chains!")}if(!I)return;function D(Z){function re(X,C){for(;X.length>0&&C.some(Q=>typeof Q=="string"?Q===X[0]:X[0].match(Q));)X.shift()}const ce=Z.source.split(`
`).map(X=>X.trim().replace("at ","")).filter(X=>X!=="");return re(ce,["Error",/^trackDisposable \(.*\)$/,/^DisposableTracker.trackDisposable \(.*\)$/]),ce.reverse()}const F=new L.$Kc;for(const Z of I){const re=D(Z);for(let ce=0;ce<=re.length;ce++)F.add(re.slice(0,ce).join(`
`),Z)}I.sort((0,a.$9b)(Z=>Z.idx,a.$$b));let J="",V=0;for(const Z of I.slice(0,g)){V++;const re=D(Z),ce=[];for(let X=0;X<re.length;X++){let C=re[X];C=`(shared with ${F.get(re.slice(0,X+1).join(`
`)).size}/${I.length} leaks) at ${C}`;const ee=F.get(re.slice(0,X).join(`
`)),le=(0,t.$K)([...ee].map(G=>D(G)[X]),G=>G);delete le[re[X]];for(const[G,ae]of Object.entries(le))ce.unshift(` - stacktraces of ${ae.length} other leaks continue with ${G}`);ce.unshift(C)}J+=`
==================== Leaking disposable ${V}/${I.length}: ${Z.value.constructor.name} ====================
${ce.join(`
`)}
============================================================
`}return I.length>g&&(J+=`
... and ${I.length-g} more leaking disposables
`),{leaks:I,details:J}}}e.$Mc=o;function E(R){w=R}if(P){const R="__is_disposable_tracked__";E(new class{trackDisposable(g){const T=new Error("Potentially leaked disposable").stack;setTimeout(()=>{g[R]||console.log(T)},3e3)}setParent(g,T){if(g&&g!==i.None)try{g[R]=!0}catch{}}markAsDisposed(g){if(g&&g!==i.None)try{g[R]=!0}catch{}}markAsSingleton(g){}})}function p(R){return w?.trackDisposable(R),R}function d(R){w?.markAsDisposed(R)}function u(R,g){w?.setParent(R,g)}function c(R,g){if(w)for(const T of R)w.setParent(T,g)}function h(R){return w?.markAsSingleton(R),R}function m(R){return typeof R=="object"&&R!==null&&typeof R.dispose=="function"&&R.dispose.length===0}function l(R){if(B.Iterable.is(R)){const g=[];for(const T of R)if(T)try{T.dispose()}catch(I){g.push(I)}if(g.length===1)throw g[0];if(g.length>1)throw new AggregateError(g,"Encountered errors while disposing of store");return Array.isArray(R)?[]:R}else if(R)return R.dispose(),R}function s(R){for(const g of R)m(g)&&g.dispose();return[]}function b(...R){const g=v(()=>l(R));return c(R,g),g}function v(R){const g=p({dispose:(0,$.$gb)(()=>{d(g),R()})});return g}class r{static{this.DISABLE_DISPOSED_WARNING=!1}constructor(){this.f=new Set,this.g=!1,p(this)}dispose(){this.g||(d(this),this.g=!0,this.clear())}get isDisposed(){return this.g}clear(){if(this.f.size!==0)try{l(this.f)}finally{this.f.clear()}}add(g){if(!g)return g;if(g===this)throw new Error("Cannot register a disposable on itself!");return u(g,this),this.g?r.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.f.add(g),g}delete(g){if(g){if(g===this)throw new Error("Cannot dispose a disposable on itself!");this.f.delete(g),g.dispose()}}deleteAndLeak(g){g&&this.f.has(g)&&(this.f.delete(g),u(g,null))}}e.$Wc=r;class i{static{this.None=Object.freeze({dispose(){}})}constructor(){this.q=new r,p(this),u(this.q,this)}dispose(){d(this),this.q.dispose()}B(g){if(g===this)throw new Error("Cannot register a disposable on itself!");return this.q.add(g)}}e.$Xc=i;class n{constructor(){this.b=!1,p(this)}get value(){return this.b?void 0:this.a}set value(g){this.b||g===this.a||(this.a?.dispose(),g&&u(g,this),this.a=g)}clear(){this.value=void 0}dispose(){this.b=!0,d(this),this.a?.dispose(),this.a=void 0}clearAndLeak(){const g=this.a;return this.a=void 0,g&&u(g,null),g}}e.$Yc=n;class k{constructor(g){this.a=new n,this.b=!1,this.a.value=g}get value(){return this.a.value}set value(g){this.b||g===this.a.value||(this.a.value=g)}dispose(){this.b=!0,this.a.dispose()}}e.$Zc=k;class _{constructor(g){this.b=g,this.a=1}acquire(){return this.a++,this}release(){return--this.a===0&&this.b.dispose(),this}}e.$1c=_;class O{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,p(this)}set(g){let T=g;return this.unset=()=>T=void 0,this.isset=()=>T!==void 0,this.dispose=()=>{T&&(T(),T=void 0,d(this))},this}}e.$2c=O;class y{constructor(){this.a=new Map}acquire(g,...T){let I=this.a.get(g);I||(I={counter:0,object:this.b(g,...T)},this.a.set(g,I));const{object:D}=I,F=(0,$.$gb)(()=>{--I.counter===0&&(this.c(g,I.object),this.a.delete(g))});return I.counter++,{object:D,dispose:F}}}e.$3c=y;class A{constructor(g){this.a=g}async acquire(g,...T){const I=this.a.acquire(g,...T);try{return{object:await I.object,dispose:()=>I.dispose()}}catch(D){throw I.dispose(),D}}}e.$4c=A;class S{constructor(g){this.object=g}dispose(){}}e.$5c=S;function q(R){const g=new r;try{R(g)}finally{g.dispose()}}class j{constructor(){this.a=new Map,this.b=!1,p(this)}dispose(){d(this),this.b=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this.a.size)try{l(this.a.values())}finally{this.a.clear()}}has(g){return this.a.has(g)}get size(){return this.a.size}get(g){return this.a.get(g)}set(g,T,I=!1){this.b&&console.warn(new Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),I||this.a.get(g)?.dispose(),this.a.set(g,T)}deleteAndDispose(g){this.a.get(g)?.dispose(),this.a.delete(g)}deleteAndLeak(g){const T=this.a.get(g);return this.a.delete(g),T}keys(){return this.a.keys()}values(){return this.a.values()}[Symbol.iterator](){return this.a[Symbol.iterator]()}}e.$7c=j}),define(he[29],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarshalledId=void 0;var a;(function(t){t[t.Uri=1]="Uri",t[t.Regexp=2]="Regexp",t[t.ScmResource=3]="ScmResource",t[t.ScmResourceGroup=4]="ScmResourceGroup",t[t.ScmProvider=5]="ScmProvider",t[t.CommentController=6]="CommentController",t[t.CommentThread=7]="CommentThread",t[t.CommentThreadInstance=8]="CommentThreadInstance",t[t.CommentThreadReply=9]="CommentThreadReply",t[t.CommentNode=10]="CommentNode",t[t.CommentThreadNode=11]="CommentThreadNode",t[t.TimelineActionContext=12]="TimelineActionContext",t[t.NotebookCellActionContext=13]="NotebookCellActionContext",t[t.NotebookActionContext=14]="NotebookActionContext",t[t.TerminalContext=15]="TerminalContext",t[t.TestItemContext=16]="TestItemContext",t[t.Date=17]="Date",t[t.TestMessageMenuArgs=18]="TestMessageMenuArgs"})(a||(e.MarshalledId=a={}))}),define(he[48],fe([0,1,28]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$pm=void 0,e.$nm=L,e.$om=B;const t=new a.$Gc(1e4);function L(o){return w(o,"NFC",t)}const $=new a.$Gc(1e4);function B(o){return w(o,"NFD",$)}const P=/[^\u0000-\u0080]/;function w(o,E,p){if(!o)return o;const d=p.get(o);if(d)return d;let u;return P.test(o)?u=o.normalize(E):u=o,p.set(o,u),u}e.$pm=function(){const o=/[\u0300-\u036f]/g;return function(E){return B(E).replace(o,"")}}()}),function(){function ie(L){const $=[];typeof L=="number"&&$.push("code/timeOrigin",L);function B(w){$.push(w,Date.now())}function P(){const w=[];for(let o=0;o<$.length;o+=2)w.push({name:$[o],startTime:$[o+1]});return w}return{mark:B,getMarks:P}}function e(){if(typeof performance=="object"&&typeof performance.mark=="function"&&!performance.nodeTiming)return typeof performance.timeOrigin!="number"&&!performance.timing?ie():{mark(L){performance.mark(L)},getMarks(){let L=performance.timeOrigin;typeof L!="number"&&(L=performance.timing.navigationStart||performance.timing.redirectStart||performance.timing.fetchStart);const $=[{name:"code/timeOrigin",startTime:Math.round(L)}];for(const B of performance.getEntriesByType("mark"))$.push({name:B.name,startTime:Math.round(L+B.startTime)});return $}};if(typeof process=="object"){const L=performance?.timeOrigin??Math.round((require.__$__nodeRequire||require)("perf_hooks").performance.timeOrigin);return ie(L)}else return console.trace("perf-util loaded in UNKNOWN environment"),ie()}function a(L){return L.MonacoPerformanceMarks||(L.MonacoPerformanceMarks=e()),L.MonacoPerformanceMarks}var t;typeof global=="object"?t=global:typeof self=="object"?t=self:t={},typeof define=="function"?define("vs/base/common/performance",[],function(){return a(t)}):typeof module=="object"&&typeof module.exports=="object"?module.exports=a(t):(console.trace("perf-util defined in UNKNOWN context (neither requirejs or commonjs)"),t.perf=a(t))}(),define(he[49],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$he=void 0;const a=globalThis.performance&&typeof globalThis.performance.now=="function";class t{static create($){return new t($)}constructor($){this.c=a&&$===!1?Date.now:globalThis.performance.now.bind(globalThis.performance),this.a=this.c(),this.b=-1}stop(){this.b=this.c()}reset(){this.a=this.c(),this.b=-1}elapsed(){return this.b!==-1?this.b-this.a:this.c()-this.a}}e.$he=t}),define(he[4],fe([0,1,7,32,2,47,49]),function(ie,e,a,t,L,$,B){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$xe=e.$we=e.$ve=e.$ue=e.$te=e.$se=e.$re=e.$qe=e.$pe=e.$oe=e.$ne=e.$me=e.$le=e.$je=e.Event=void 0,e.$ke=u;const P=!1,w=!1,o=!1;var E;(function(D){D.None=()=>L.$Xc.None;function F(me){if(o){const{onDidAddListener:de}=me,ye=h.create();let $e=0;me.onDidAddListener=()=>{++$e===2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),ye.print()),de?.()}}}function J(me,de){return G(me,()=>{},0,void 0,!0,void 0,de)}D.defer=J;function V(me){return(de,ye=null,$e)=>{let ve=!1,Le;return Le=me(Se=>{if(!ve)return Le?Le.dispose():ve=!0,de.call(ye,Se)},null,$e),ve&&Le.dispose(),Le}}D.once=V;function Z(me,de,ye){return ee(($e,ve=null,Le)=>me(Se=>$e.call(ve,de(Se)),null,Le),ye)}D.map=Z;function re(me,de,ye){return ee(($e,ve=null,Le)=>me(Se=>{de(Se),$e.call(ve,Se)},null,Le),ye)}D.forEach=re;function ce(me,de,ye){return ee(($e,ve=null,Le)=>me(Se=>de(Se)&&$e.call(ve,Se),null,Le),ye)}D.filter=ce;function X(me){return me}D.signal=X;function C(...me){return(de,ye=null,$e)=>{const ve=(0,L.$Uc)(...me.map(Le=>Le(Se=>de.call(ye,Se))));return le(ve,$e)}}D.any=C;function Q(me,de,ye,$e){let ve=ye;return Z(me,Le=>(ve=de(ve,Le),ve),$e)}D.reduce=Q;function ee(me,de){let ye;const $e={onWillAddFirstListener(){ye=me(ve.fire,ve)},onDidRemoveLastListener(){ye?.dispose()}};de||F($e);const ve=new n($e);return de?.add(ve),ve.event}function le(me,de){return de instanceof Array?de.push(me):de&&de.add(me),me}function G(me,de,ye=100,$e=!1,ve=!1,Le,Se){let De,_e,Fe,Be=0,ke;const Me={leakWarningThreshold:Le,onWillAddFirstListener(){De=me(Xe=>{Be++,_e=de(_e,Xe),$e&&!Fe&&(ze.fire(_e),_e=void 0),ke=()=>{const Ke=_e;_e=void 0,Fe=void 0,(!$e||Be>1)&&ze.fire(Ke),Be=0},typeof ye=="number"?(clearTimeout(Fe),Fe=setTimeout(ke,ye)):Fe===void 0&&(Fe=0,queueMicrotask(ke))})},onWillRemoveListener(){ve&&Be>0&&ke?.()},onDidRemoveLastListener(){ke=void 0,De.dispose()}};Se||F(Me);const ze=new n(Me);return Se?.add(ze),ze.event}D.debounce=G;function ae(me,de=0,ye){return D.debounce(me,($e,ve)=>$e?($e.push(ve),$e):[ve],de,void 0,!0,void 0,ye)}D.accumulate=ae;function ge(me,de=($e,ve)=>$e===ve,ye){let $e=!0,ve;return ce(me,Le=>{const Se=$e||!de(Le,ve);return $e=!1,ve=Le,Se},ye)}D.latch=ge;function te(me,de,ye){return[D.filter(me,de,ye),D.filter(me,$e=>!de($e),ye)]}D.split=te;function f(me,de=!1,ye=[],$e){let ve=ye.slice(),Le=me(_e=>{ve?ve.push(_e):De.fire(_e)});$e&&$e.add(Le);const Se=()=>{ve?.forEach(_e=>De.fire(_e)),ve=null},De=new n({onWillAddFirstListener(){Le||(Le=me(_e=>De.fire(_e)),$e&&$e.add(Le))},onDidAddFirstListener(){ve&&(de?setTimeout(Se):Se())},onDidRemoveLastListener(){Le&&Le.dispose(),Le=null}});return $e&&$e.add(De),De.event}D.buffer=f;function H(me,de){return($e,ve,Le)=>{const Se=de(new N);return me(function(De){const _e=Se.evaluate(De);_e!==U&&$e.call(ve,_e)},void 0,Le)}}D.chain=H;const U=Symbol("HaltChainable");class N{constructor(){this.f=[]}map(de){return this.f.push(de),this}forEach(de){return this.f.push(ye=>(de(ye),ye)),this}filter(de){return this.f.push(ye=>de(ye)?ye:U),this}reduce(de,ye){let $e=ye;return this.f.push(ve=>($e=de($e,ve),$e)),this}latch(de=(ye,$e)=>ye===$e){let ye=!0,$e;return this.f.push(ve=>{const Le=ye||!de(ve,$e);return ye=!1,$e=ve,Le?ve:U}),this}evaluate(de){for(const ye of this.f)if(de=ye(de),de===U)break;return de}}function K(me,de,ye=$e=>$e){const $e=(...De)=>Se.fire(ye(...De)),ve=()=>me.on(de,$e),Le=()=>me.removeListener(de,$e),Se=new n({onWillAddFirstListener:ve,onDidRemoveLastListener:Le});return Se.event}D.fromNodeEventEmitter=K;function W(me,de,ye=$e=>$e){const $e=(...De)=>Se.fire(ye(...De)),ve=()=>me.addEventListener(de,$e),Le=()=>me.removeEventListener(de,$e),Se=new n({onWillAddFirstListener:ve,onDidRemoveLastListener:Le});return Se.event}D.fromDOMEventEmitter=W;function M(me){return new Promise(de=>V(me)(de))}D.toPromise=M;function x(me){const de=new n;return me.then(ye=>{de.fire(ye)},()=>{de.fire(void 0)}).finally(()=>{de.dispose()}),de.event}D.fromPromise=x;function ne(me,de,ye){return de(ye),me($e=>de($e))}D.runAndSubscribe=ne;class oe{constructor(de,ye){this._observable=de,this.f=0,this.g=!1;const $e={onWillAddFirstListener:()=>{de.addObserver(this)},onDidRemoveLastListener:()=>{de.removeObserver(this)}};ye||F($e),this.emitter=new n($e),ye&&ye.add(this.emitter)}beginUpdate(de){this.f++}handlePossibleChange(de){}handleChange(de,ye){this.g=!0}endUpdate(de){this.f--,this.f===0&&(this._observable.reportChanges(),this.g&&(this.g=!1,this.emitter.fire(this._observable.get())))}}function be(me,de){return new oe(me,de).emitter.event}D.fromObservable=be;function Ee(me){return(de,ye,$e)=>{let ve=0,Le=!1;const Se={beginUpdate(){ve++},endUpdate(){ve--,ve===0&&(me.reportChanges(),Le&&(Le=!1,de.call(ye)))},handlePossibleChange(){},handleChange(){Le=!0}};me.addObserver(Se),me.reportChanges();const De={dispose(){me.removeObserver(Se)}};return $e instanceof L.$Wc?$e.add(De):Array.isArray($e)&&$e.push(De),De}}D.fromObservableLight=Ee})(E||(e.Event=E={}));class p{static{this.all=new Set}static{this.f=0}constructor(F){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${F}_${p.f++}`,p.all.add(this)}start(F){this.g=new B.$he,this.listenerCount=F}stop(){if(this.g){const F=this.g.elapsed();this.durations.push(F),this.elapsedOverall+=F,this.invocationCount+=1,this.g=void 0}}}e.$je=p;let d=-1;function u(D){const F=d;return d=D,{dispose(){d=F}}}class c{static{this.f=1}constructor(F,J,V=(c.f++).toString(16).padStart(3,"0")){this.j=F,this.threshold=J,this.name=V,this.h=0}dispose(){this.g?.clear()}check(F,J){const V=this.threshold;if(V<=0||J<V)return;this.g||(this.g=new Map);const Z=this.g.get(F.value)||0;if(this.g.set(F.value,Z+1),this.h-=1,this.h<=0){this.h=V*.5;const[re,ce]=this.getMostFrequentStack(),X=`[${this.name}] potential listener LEAK detected, having ${J} listeners already. MOST frequent listener (${ce}):`;console.warn(X),console.warn(re);const C=new m(X,re);this.j(C)}return()=>{const re=this.g.get(F.value)||0;this.g.set(F.value,re-1)}}getMostFrequentStack(){if(!this.g)return;let F,J=0;for(const[V,Z]of this.g)(!F||J<Z)&&(F=[V,Z],J=Z);return F}}class h{static create(){const F=new Error;return new h(F.stack??"")}constructor(F){this.value=F}print(){console.warn(this.value.split(`
`).slice(2).join(`
`))}}class m extends Error{constructor(F,J){super(F),this.name="ListenerLeakError",this.stack=J}}e.$le=m;class l extends Error{constructor(F,J){super(F),this.name="ListenerRefusalError",this.stack=J}}e.$me=l;let s=0;class b{constructor(F){this.value=F,this.id=s++}}const v=2,r=(D,F)=>{if(D instanceof b)F(D);else for(let J=0;J<D.length;J++){const V=D[J];V&&F(V)}};let i;if(P){const D=[];setInterval(()=>{D.length!==0&&(console.warn("[LEAKING LISTENERS] GC'ed these listeners that were NOT yet disposed:"),console.warn(D.join(`
`)),D.length=0)},3e3),i=new FinalizationRegistry(F=>{typeof F=="string"&&D.push(F)})}class n{constructor(F){this.z=0,this.f=F,this.g=d>0||this.f?.leakWarningThreshold?new c(F?.onListenerError??a.$3,this.f?.leakWarningThreshold??d):void 0,this.j=this.f?._profName?new p(this.f._profName):void 0,this.w=this.f?.deliveryQueue}dispose(){if(!this.m){if(this.m=!0,this.w?.current===this&&this.w.reset(),this.u){if(w){const F=this.u;queueMicrotask(()=>{r(F,J=>J.stack?.print())})}this.u=void 0,this.z=0}this.f?.onDidRemoveLastListener?.(),this.g?.dispose()}}get event(){return this.q??=(F,J,V)=>{if(this.g&&this.z>this.g.threshold**2){const C=`[${this.g.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this.z} vs ${this.g.threshold})`;console.warn(C);const Q=this.g.getMostFrequentStack()??["UNKNOWN stack",-1],ee=new l(`${C}. HINT: Stack shows most frequent listener (${Q[1]}-times)`,Q[0]);return(this.f?.onListenerError||a.$3)(ee),L.$Xc.None}if(this.m)return L.$Xc.None;J&&(F=F.bind(J));const Z=new b(F);let re,ce;this.g&&this.z>=Math.ceil(this.g.threshold*.2)&&(Z.stack=h.create(),re=this.g.check(Z.stack,this.z+1)),w&&(Z.stack=ce??h.create()),this.u?this.u instanceof b?(this.w??=new _,this.u=[this.u,Z]):this.u.push(Z):(this.f?.onWillAddFirstListener?.(this),this.u=Z,this.f?.onDidAddFirstListener?.(this)),this.z++;const X=(0,L.$Vc)(()=>{i?.unregister(X),re?.(),this.A(Z)});if(V instanceof L.$Wc?V.add(X):Array.isArray(V)&&V.push(X),i){const C=new Error().stack.split(`
`).slice(2,3).join(`
`).trim(),Q=/(file:|vscode-file:\/\/vscode-app)?(\/[^:]*:\d+:\d+)/.exec(C);i.register(X,Q?.[2]??C,X)}return X},this.q}A(F){if(this.f?.onWillRemoveListener?.(this),!this.u)return;if(this.z===1){this.u=void 0,this.f?.onDidRemoveLastListener?.(this),this.z=0;return}const J=this.u,V=J.indexOf(F);if(V===-1)throw console.log("disposed?",this.m),console.log("size?",this.z),console.log("arr?",JSON.stringify(this.u)),new Error("Attempted to dispose unknown listener");this.z--,J[V]=void 0;const Z=this.w.current===this;if(this.z*v<=J.length){let re=0;for(let ce=0;ce<J.length;ce++)J[ce]?J[re++]=J[ce]:Z&&(this.w.end--,re<this.w.i&&this.w.i--);J.length=re}}B(F,J){if(!F)return;const V=this.f?.onListenerError||a.$3;if(!V){F.value(J);return}try{F.value(J)}catch(Z){V(Z)}}C(F){const J=F.current.u;for(;F.i<F.end;)this.B(J[F.i++],F.value);F.reset()}fire(F){if(this.w?.current&&(this.C(this.w),this.j?.stop()),this.j?.start(this.z),this.u)if(this.u instanceof b)this.B(this.u,F);else{const J=this.w;J.enqueue(this,F,this.u.length),this.C(J)}this.j?.stop()}hasListeners(){return this.z>0}}e.$ne=n;const k=()=>new _;e.$oe=k;class _{constructor(){this.i=-1,this.end=0}enqueue(F,J,V){this.i=0,this.end=V,this.current=F,this.value=J}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class O extends n{async fireAsync(F,J,V){if(this.u)for(this.h||(this.h=new $.$8c),r(this.u,Z=>this.h.push([Z.value,F]));this.h.size>0&&!J.isCancellationRequested;){const[Z,re]=this.h.shift(),ce=[],X={...re,token:J,waitUntil:C=>{if(Object.isFrozen(ce))throw new Error("waitUntil can NOT be called asynchronous");V&&(C=V(C,Z)),ce.push(C)}};try{Z(X)}catch(C){(0,a.$3)(C);continue}Object.freeze(ce),await Promise.allSettled(ce).then(C=>{for(const Q of C)Q.status==="rejected"&&(0,a.$3)(Q.reason)})}}}e.$pe=O;class y extends n{get isPaused(){return this.h!==0}constructor(F){super(F),this.h=0,this.s=new $.$8c,this.t=F?.merge}pause(){this.h++}resume(){if(this.h!==0&&--this.h===0)if(this.t){if(this.s.size>0){const F=Array.from(this.s);this.s.clear(),super.fire(this.t(F))}}else for(;!this.h&&this.s.size!==0;)super.fire(this.s.shift())}fire(F){this.z&&(this.h!==0?this.s.push(F):super.fire(F))}}e.$qe=y;class A extends y{constructor(F){super(F),this.k=F.delay??100}fire(F){this.o||(this.pause(),this.o=setTimeout(()=>{this.o=void 0,this.resume()},this.k)),super.fire(F)}}e.$re=A;class S extends n{constructor(F){super(F),this.h=[],this.k=F?.merge}fire(F){this.hasListeners()&&(this.h.push(F),this.h.length===1&&queueMicrotask(()=>{this.k?super.fire(this.k(this.h)):this.h.forEach(J=>super.fire(J)),this.h=[]}))}}e.$se=S;class q{constructor(){this.g=!1,this.h=[],this.f=new n({onWillAddFirstListener:()=>this.j(),onDidRemoveLastListener:()=>this.k()})}get event(){return this.f.event}add(F){const J={event:F,listener:null};this.h.push(J),this.g&&this.m(J);const V=()=>{this.g&&this.o(J);const Z=this.h.indexOf(J);this.h.splice(Z,1)};return(0,L.$Vc)((0,t.$gb)(V))}j(){this.g=!0,this.h.forEach(F=>this.m(F))}k(){this.g=!1,this.h.forEach(F=>this.o(F))}m(F){F.listener=F.event(J=>this.f.fire(J))}o(F){F.listener?.dispose(),F.listener=null}dispose(){this.f.dispose();for(const F of this.h)F.listener?.dispose();this.h=[]}}e.$te=q;class j{constructor(F,J,V,Z){this.f=new L.$Wc;const re=this.f.add(new q),ce=this.f.add(new L.$7c);function X(C){ce.set(C,re.add(Z(C)))}for(const C of F)X(C);this.f.add(J(C=>{X(C)})),this.f.add(V(C=>{ce.deleteAndDispose(C)})),this.event=re.event}dispose(){this.f.dispose()}}e.$ue=j;class R{constructor(){this.f=[]}wrapEvent(F,J,V){return(Z,re,ce)=>F(X=>{const C=this.f[this.f.length-1];if(!J){C?C.buffers.push(()=>Z.call(re,X)):Z.call(re,X);return}const Q=C;if(!Q){Z.call(re,J(V,X));return}Q.items??=[],Q.items.push(X),Q.buffers.length===0&&C.buffers.push(()=>{Q.reducedResult??=V?Q.items.reduce(J,V):Q.items.reduce(J),Z.call(re,Q.reducedResult)})},void 0,ce)}bufferEvents(F){const J={buffers:new Array};this.f.push(J);const V=F();return this.f.pop(),J.buffers.forEach(Z=>Z()),V}}e.$ve=R;class g{constructor(){this.f=!1,this.g=E.None,this.h=L.$Xc.None,this.j=new n({onDidAddFirstListener:()=>{this.f=!0,this.h=this.g(this.j.fire,this.j)},onDidRemoveLastListener:()=>{this.f=!1,this.h.dispose()}}),this.event=this.j.event}set input(F){this.g=F,this.f&&(this.h.dispose(),this.h=F(this.j.fire,this.j))}dispose(){this.h.dispose(),this.j.dispose()}}e.$we=g;class T{static const(F){return new I(F)}constructor(F){this.g=F,this.f=new n,this.onDidChange=this.f.event}get value(){return this.g}set value(F){F!==this.g&&(this.g=F,this.f.fire(void 0))}}e.$xe=T;class I{constructor(F){this.value=F,this.onDidChange=E.None}}}),define(he[19],fe([0,1,4]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$ye=e.CancellationToken=void 0,e.$ze=P;const t=Object.freeze(function(w,o){const E=setTimeout(w.bind(o),0);return{dispose(){clearTimeout(E)}}});var L;(function(w){function o(E){return E===w.None||E===w.Cancelled||E instanceof $?!0:!E||typeof E!="object"?!1:typeof E.isCancellationRequested=="boolean"&&typeof E.onCancellationRequested=="function"}w.isCancellationToken=o,w.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:a.Event.None}),w.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:t})})(L||(e.CancellationToken=L={}));class ${constructor(){this.a=!1,this.b=null}cancel(){this.a||(this.a=!0,this.b&&(this.b.fire(void 0),this.dispose()))}get isCancellationRequested(){return this.a}get onCancellationRequested(){return this.a?t:(this.b||(this.b=new a.$ne),this.b.event)}dispose(){this.b&&(this.b.dispose(),this.b=null)}}class B{constructor(o){this.f=void 0,this.g=void 0,this.g=o&&o.onCancellationRequested(this.cancel,this)}get token(){return this.f||(this.f=new $),this.f}cancel(){this.f?this.f instanceof $&&this.f.cancel():this.f=L.Cancelled}dispose(o=!1){o&&this.cancel(),this.g?.dispose(),this.f?this.f instanceof $&&this.f.dispose():this.f=L.None}}e.$ye=B;function P(w){const o=new B;return w.add({dispose(){o.cancel()}}),o.token}}),define(he[50],fe([0,1,19]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$bf=e.$af=e.$$e=void 0,e.$_e=L;class t{constructor(w){this.b=w,this.a=null}get(){if(this.a)return this.a;const w=new a.$ye,o=this.b(w.token);return this.a={promise:o,dispose:()=>{this.a=null,w.cancel(),w.dispose()}},this.a}}e.$$e=t;function L(P){return P}class ${constructor(w,o){this.a=void 0,this.b=void 0,typeof w=="function"?(this.c=w,this.d=L):(this.c=o,this.d=w.getCacheKey)}get(w){const o=this.d(w);return this.b!==o&&(this.b=o,this.a=this.c(w)),this.a}}e.$af=$;class B{get cachedValues(){return this.a}constructor(w,o){this.a=new Map,this.b=new Map,typeof w=="function"?(this.c=w,this.d=L):(this.c=o,this.d=w.getCacheKey)}get(w){const o=this.d(w);if(this.b.has(o))return this.b.get(o);const E=this.c(w);return this.a.set(w,E),this.b.set(o,E),E}}e.$bf=B}),define(he[51],fe([0,1,7,2]),function(ie,e,a,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Ae=L,e.$Be=$,e.$Ce=B,e.$De=P,e.$Ee=o,e.$Fe=E,e.$Ge=p,e.$He=d,e.$Ie=u,e.$Je=c,e.$Ke=h,e.$Le=m,e.$Me=l,e.$Ne=s,e.$Oe=b;function L(v){const r=v;return r?typeof r.read=="function":!1}function $(v){const r=v;return r?[r.on,r.pause,r.resume,r.destroy].every(i=>typeof i=="function"):!1}function B(v){const r=v;return r?$(r.stream)&&Array.isArray(r.buffer)&&typeof r.ended=="boolean":!1}function P(v,r){return new w(v,r)}class w{constructor(r,i){this.e=r,this.f=i,this.a={flowing:!1,ended:!1,destroyed:!1},this.b={data:[],error:[]},this.c={data:[],error:[],end:[]},this.d=[]}pause(){this.a.destroyed||(this.a.flowing=!1)}resume(){this.a.destroyed||this.a.flowing||(this.a.flowing=!0,this.j(),this.k(),this.l())}write(r){if(!this.a.destroyed){if(this.a.flowing)this.g(r);else if(this.b.data.push(r),typeof this.f?.highWaterMark=="number"&&this.b.data.length>this.f.highWaterMark)return new Promise(i=>this.d.push(i))}}error(r){this.a.destroyed||(this.a.flowing?this.h(r):this.b.error.push(r))}end(r){this.a.destroyed||(typeof r<"u"&&this.write(r),this.a.flowing?(this.i(),this.destroy()):this.a.ended=!0)}g(r){this.c.data.slice(0).forEach(i=>i(r))}h(r){this.c.error.length===0?(0,a.$3)(r):this.c.error.slice(0).forEach(i=>i(r))}i(){this.c.end.slice(0).forEach(r=>r())}on(r,i){if(!this.a.destroyed)switch(r){case"data":this.c.data.push(i),this.resume();break;case"end":this.c.end.push(i),this.a.flowing&&this.l()&&this.destroy();break;case"error":this.c.error.push(i),this.a.flowing&&this.k();break}}removeListener(r,i){if(this.a.destroyed)return;let n;switch(r){case"data":n=this.c.data;break;case"end":n=this.c.end;break;case"error":n=this.c.error;break}if(n){const k=n.indexOf(i);k>=0&&n.splice(k,1)}}j(){if(this.b.data.length>0){const r=this.e(this.b.data);this.g(r),this.b.data.length=0;const i=[...this.d];this.d.length=0,i.forEach(n=>n())}}k(){if(this.c.error.length>0){for(const r of this.b.error)this.h(r);this.b.error.length=0}}l(){return this.a.ended?(this.i(),this.c.end.length>0):!1}destroy(){this.a.destroyed||(this.a.destroyed=!0,this.a.ended=!0,this.b.data.length=0,this.b.error.length=0,this.c.data.length=0,this.c.error.length=0,this.c.end.length=0,this.d.length=0)}}function o(v,r){const i=[];let n;for(;(n=v.read())!==null;)i.push(n);return r(i)}function E(v,r,i){const n=[];let k;for(;(k=v.read())!==null&&n.length<i;)n.push(k);return k===null&&n.length>0?r(n):{read:()=>{if(n.length>0)return n.shift();if(typeof k<"u"){const _=k;return k=void 0,_}return v.read()}}}function p(v,r){return new Promise((i,n)=>{const k=[];d(v,{onData:_=>{r&&k.push(_)},onError:_=>{r?n(_):i(void 0)},onEnd:()=>{i(r?r(k):void 0)}})})}function d(v,r,i){v.on("error",n=>{i?.isCancellationRequested||r.onError(n)}),v.on("end",()=>{i?.isCancellationRequested||r.onEnd()}),v.on("data",n=>{i?.isCancellationRequested||r.onData(n)})}function u(v,r){return new Promise((i,n)=>{const k=new t.$Wc,_=[],O=S=>{if(_.push(S),_.length>r)return k.dispose(),v.pause(),i({stream:v,buffer:_,ended:!1})},y=S=>(k.dispose(),n(S)),A=()=>(k.dispose(),i({stream:v,buffer:_,ended:!0}));k.add((0,t.$Vc)(()=>v.removeListener("error",y))),v.on("error",y),k.add((0,t.$Vc)(()=>v.removeListener("end",A))),v.on("end",A),k.add((0,t.$Vc)(()=>v.removeListener("data",O))),v.on("data",O)})}function c(v,r){const i=P(r);return i.end(v),i}function h(){const v=P(()=>{throw new Error("not supported")});return v.end(),v}function m(v){let r=!1;return{read:()=>r?null:(r=!0,v)}}function l(v,r,i){const n=P(i);return d(v,{onData:k=>n.write(r.data(k)),onError:k=>n.error(r.error?r.error(k):k),onEnd:()=>n.end()}),n}function s(v,r,i){let n=!1;return{read:()=>{const k=r.read();return n?k:(n=!0,k!==null?i([v,k]):v)}}}function b(v,r,i){let n=!1;const k=P(i);return d(r,{onData:_=>n?k.write(_):(n=!0,k.write(i([v,_]))),onError:_=>k.error(_),onEnd:()=>{n||(n=!0,k.write(v)),k.end()}}),k}});var Ye=this&&this.__createBinding||(Object.create?function(ie,e,a,t){t===void 0&&(t=a);var L=Object.getOwnPropertyDescriptor(e,a);(!L||("get"in L?!e.__esModule:L.writable||L.configurable))&&(L={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(ie,t,L)}:function(ie,e,a,t){t===void 0&&(t=a),ie[t]=e[a]}),Qe=this&&this.__setModuleDefault||(Object.create?function(ie,e){Object.defineProperty(ie,"default",{enumerable:!0,value:e})}:function(ie,e){ie.default=e}),Ae=this&&this.__importStar||function(ie){if(ie&&ie.__esModule)return ie;var e={};if(ie!=null)for(var a in ie)a!=="default"&&Object.prototype.hasOwnProperty.call(ie,a)&&Ye(e,ie,a);return Qe(e,ie),e};define(he[20],fe([0,1,25,51]),function(ie,e,a,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Pe=void 0,e.$Qe=o,e.$Re=E,e.$Se=p,e.$Te=d,e.$Ue=u,e.$Ve=c,e.$We=h,e.$Xe=m,e.$Ye=l,e.$Ze=s,e.$1e=b,e.$2e=v,e.$3e=r,e.$4e=i,e.$5e=n,e.$6e=k,e.$7e=_,e.$8e=O,e.$9e=y,e.$0e=q,t=Ae(t);const L=typeof Buffer<"u",$=new a.$X(()=>new Uint8Array(256));let B,P;class w{static alloc(R){return L?new w(Buffer.allocUnsafe(R)):new w(new Uint8Array(R))}static wrap(R){return L&&!Buffer.isBuffer(R)&&(R=Buffer.from(R.buffer,R.byteOffset,R.byteLength)),new w(R)}static fromString(R,g){return!(g?.dontUseNodeBuffer||!1)&&L?new w(Buffer.from(R)):(B||(B=new TextEncoder),new w(B.encode(R)))}static fromByteArray(R){const g=w.alloc(R.length);for(let T=0,I=R.length;T<I;T++)g.buffer[T]=R[T];return g}static concat(R,g){if(typeof g>"u"){g=0;for(let D=0,F=R.length;D<F;D++)g+=R[D].byteLength}const T=w.alloc(g);let I=0;for(let D=0,F=R.length;D<F;D++){const J=R[D];T.set(J,I),I+=J.byteLength}return T}constructor(R){this.buffer=R,this.byteLength=this.buffer.byteLength}clone(){const R=w.alloc(this.byteLength);return R.set(this),R}toString(){return L?this.buffer.toString():(P||(P=new TextDecoder),P.decode(this.buffer))}slice(R,g){return new w(this.buffer.subarray(R,g))}set(R,g){if(R instanceof w)this.buffer.set(R.buffer,g);else if(R instanceof Uint8Array)this.buffer.set(R,g);else if(R instanceof ArrayBuffer)this.buffer.set(new Uint8Array(R),g);else if(ArrayBuffer.isView(R))this.buffer.set(new Uint8Array(R.buffer,R.byteOffset,R.byteLength),g);else throw new Error("Unknown argument 'array'")}readUInt32BE(R){return d(this.buffer,R)}writeUInt32BE(R,g){u(this.buffer,R,g)}readUInt32LE(R){return c(this.buffer,R)}writeUInt32LE(R,g){h(this.buffer,R,g)}readUInt8(R){return m(this.buffer,R)}writeUInt8(R,g){l(this.buffer,R,g)}indexOf(R,g=0){return o(this.buffer,R instanceof w?R.buffer:R,g)}}e.$Pe=w;function o(j,R,g=0){const T=R.byteLength,I=j.byteLength;if(T===0)return 0;if(T===1)return j.indexOf(R[0]);if(T>I-g)return-1;const D=$.value;D.fill(R.length);for(let Z=0;Z<R.length;Z++)D[R[Z]]=R.length-Z-1;let F=g+R.length-1,J=F,V=-1;for(;F<I;)if(j[F]===R[J]){if(J===0){V=F;break}F--,J--}else F+=Math.max(R.length-J,D[j[F]]),J=R.length-1;return V}function E(j,R){return j[R+0]<<0>>>0|j[R+1]<<8>>>0}function p(j,R,g){j[g+0]=R&255,R=R>>>8,j[g+1]=R&255}function d(j,R){return j[R]*2**24+j[R+1]*2**16+j[R+2]*2**8+j[R+3]}function u(j,R,g){j[g+3]=R,R=R>>>8,j[g+2]=R,R=R>>>8,j[g+1]=R,R=R>>>8,j[g]=R}function c(j,R){return j[R+0]<<0>>>0|j[R+1]<<8>>>0|j[R+2]<<16>>>0|j[R+3]<<24>>>0}function h(j,R,g){j[g+0]=R&255,R=R>>>8,j[g+1]=R&255,R=R>>>8,j[g+2]=R&255,R=R>>>8,j[g+3]=R&255}function m(j,R){return j[R]}function l(j,R,g){j[g]=R}function s(j){return t.$Ee(j,R=>w.concat(R))}function b(j){return t.$Le(j)}function v(j){return t.$Ge(j,R=>w.concat(R))}async function r(j){return j.ended?w.concat(j.buffer):w.concat([...j.buffer,await v(j.stream)])}function i(j){return t.$Je(j,R=>w.concat(R))}function n(j){return t.$Me(j,{data:R=>typeof R=="string"?w.fromString(R):w.wrap(R)},R=>w.concat(R))}function k(j){return t.$De(R=>w.concat(R),j)}function _(j,R){return t.$Ne(j,R,g=>w.concat(g))}function O(j,R){return t.$Oe(j,R,g=>w.concat(g))}function y(j){let R=0,g=0,T=0;const I=new Uint8Array(Math.floor(j.length/4*3)),D=J=>{switch(g){case 3:I[T++]=R|J,g=0;break;case 2:I[T++]=R|J>>>2,R=J<<6,g=3;break;case 1:I[T++]=R|J>>>4,R=J<<4,g=2;break;default:R=J<<2,g=1}};for(let J=0;J<j.length;J++){const V=j.charCodeAt(J);if(V>=65&&V<=90)D(V-65);else if(V>=97&&V<=122)D(V-97+26);else if(V>=48&&V<=57)D(V-48+52);else if(V===43||V===45)D(62);else if(V===47||V===95)D(63);else{if(V===61)break;throw new SyntaxError(`Unexpected base64 character ${j[J]}`)}}const F=T;for(;g>0;)D(0);return w.wrap(I).slice(0,F)}const A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";function q({buffer:j},R=!0,g=!1){const T=g?S:A;let I="";const D=j.byteLength%3;let F=0;for(;F<j.byteLength-D;F+=3){const J=j[F+0],V=j[F+1],Z=j[F+2];I+=T[J>>>2],I+=T[(J<<4|V>>>4)&63],I+=T[(V<<2|Z>>>6)&63],I+=T[Z&63]}if(D===1){const J=j[F+0];I+=T[J>>>2],I+=T[J<<4&63],R&&(I+="==")}else if(D===2){const J=j[F+0],V=j[F+1];I+=T[J>>>2],I+=T[(J<<4|V>>>4)&63],I+=T[V<<2&63],R&&(I+="=")}return I}}),define(he[52],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$ie=void 0,e.$ie=Symbol("MicrotaskDelay")}),define(he[9],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$gg=a,e.$hg=t,e.$ig=L,e.$jg=$,e.$kg=B,e.$lg=P,e.$mg=w,e.$ng=o,e.$og=E,e.$pg=p,e.$qg=d,e.$rg=u,e.$sg=c,e.$tg=m,e.$ug=l,e.$vg=s,e.$wg=b,e.$xg=v;function a(r){return typeof r=="string"}function t(r){return Array.isArray(r)&&r.every(i=>a(i))}function L(r){return typeof r=="object"&&r!==null&&!Array.isArray(r)&&!(r instanceof RegExp)&&!(r instanceof Date)}function $(r){const i=Object.getPrototypeOf(Uint8Array);return typeof r=="object"&&r instanceof i}function B(r){return typeof r=="number"&&!isNaN(r)}function P(r){return!!r&&typeof r[Symbol.iterator]=="function"}function w(r){return r===!0||r===!1}function o(r){return typeof r>"u"}function E(r){return!p(r)}function p(r){return o(r)||r===null}function d(r,i){if(!r)throw new Error(i?`Unexpected type, expected '${i}'`:"Unexpected type")}function u(r){if(p(r))throw new Error("Assertion Failed: argument is undefined or null");return r}function c(...r){const i=[];for(let n=0;n<r.length;n++){const k=r[n];if(p(k))throw new Error(`Assertion Failed: argument at index ${n} is undefined or null`);i.push(k)}return i}const h=Object.prototype.hasOwnProperty;function m(r){if(!L(r))return!1;for(const i in r)if(h.call(r,i))return!1;return!0}function l(r){return typeof r=="function"}function s(...r){return r.length>0&&r.every(l)}function b(r,i){const n=Math.min(r.length,i.length);for(let k=0;k<n;k++)v(r[k],i[k])}function v(r,i){if(a(i)){if(typeof r!==i)throw new Error(`argument does not match constraint: typeof ${i}`)}else if(l(i)){try{if(r instanceof i)return}catch{}if(!p(r)&&r.constructor===i||i.length===1&&i.call(void 0,r)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}}),define(he[33],fe([0,1,9]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$eo=t,e.$fo=L,e.$go=B,e.$ho=w,e.$io=o,e.$jo=E,e.$ko=p,e.$lo=d,e.$mo=u,e.$no=c,e.$oo=h,e.$po=m,e.$qo=l;function t(s){if(!s||typeof s!="object"||s instanceof RegExp)return s;const b=Array.isArray(s)?[]:{};return Object.entries(s).forEach(([v,r])=>{b[v]=r&&typeof r=="object"?t(r):r}),b}function L(s){if(!s||typeof s!="object")return s;const b=[s];for(;b.length>0;){const v=b.shift();Object.freeze(v);for(const r in v)if($.call(v,r)){const i=v[r];typeof i=="object"&&!Object.isFrozen(i)&&!(0,a.$jg)(i)&&b.push(i)}}return s}const $=Object.prototype.hasOwnProperty;function B(s,b){return P(s,b,new Set)}function P(s,b,v){if((0,a.$pg)(s))return s;const r=b(s);if(typeof r<"u")return r;if(Array.isArray(s)){const i=[];for(const n of s)i.push(P(n,b,v));return i}if((0,a.$ig)(s)){if(v.has(s))throw new Error("Cannot clone recursive data-structure");v.add(s);const i={};for(const n in s)$.call(s,n)&&(i[n]=P(s[n],b,v));return v.delete(s),i}return s}function w(s,b,v=!0){return(0,a.$ig)(s)?((0,a.$ig)(b)&&Object.keys(b).forEach(r=>{r in s?v&&((0,a.$ig)(s[r])&&(0,a.$ig)(b[r])?w(s[r],b[r],v):s[r]=b[r]):s[r]=b[r]}),s):b}function o(s,b){if(s===b)return!0;if(s==null||b===null||b===void 0||typeof s!=typeof b||typeof s!="object"||Array.isArray(s)!==Array.isArray(b))return!1;let v,r;if(Array.isArray(s)){if(s.length!==b.length)return!1;for(v=0;v<s.length;v++)if(!o(s[v],b[v]))return!1}else{const i=[];for(r in s)i.push(r);i.sort();const n=[];for(r in b)n.push(r);if(n.sort(),!o(i,n))return!1;for(v=0;v<i.length;v++)if(!o(s[i[v]],b[i[v]]))return!1}return!0}function E(s){const b=new Set;return JSON.stringify(s,(v,r)=>{if((0,a.$ig)(r)||Array.isArray(r)){if(b.has(r))return"[Circular]";b.add(r)}return typeof r=="bigint"?`[BigInt ${r.toString()}]`:r})}function p(s,b){const v=Object.create(null);return!s||!b||Object.keys(b).forEach(i=>{const n=s[i],k=b[i];o(n,k)||(v[i]=k)}),v}function d(s,b){const v=b.toLowerCase(),r=Object.keys(s).find(i=>i.toLowerCase()===v);return r?s[r]:s[b]}function u(s,b){const v=Object.create(null);for(const[r,i]of Object.entries(s))b(r,i)&&(v[r]=i);return v}function c(s){let b=[];for(;Object.prototype!==s;)b=b.concat(Object.getOwnPropertyNames(s)),s=Object.getPrototypeOf(s);return b}function h(s){const b=[];for(const v of c(s))typeof s[v]=="function"&&b.push(v);return b}function m(s,b){const v=i=>function(){const n=Array.prototype.slice.call(arguments,0);return b(i,n)},r={};for(const i of s)r[i]=v(i);return r}function l(s,b){const v={};for(const[r,i]of Object.entries(s))v[r]=b(i,r);return v}}),define(he[53],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Constants=void 0,e.$cf=t,e.$df=L;var a;(function($){$[$.MAX_SAFE_SMALL_INTEGER=1073741824]="MAX_SAFE_SMALL_INTEGER",$[$.MIN_SAFE_SMALL_INTEGER=-1073741824]="MIN_SAFE_SMALL_INTEGER",$[$.MAX_UINT_8=255]="MAX_UINT_8",$[$.MAX_UINT_16=65535]="MAX_UINT_16",$[$.MAX_UINT_32=4294967295]="MAX_UINT_32",$[$.UNICODE_SUPPLEMENTARY_PLANE_BEGIN=65536]="UNICODE_SUPPLEMENTARY_PLANE_BEGIN"})(a||(e.Constants=a={}));function t($){return $<0?0:$>a.MAX_UINT_8?a.MAX_UINT_8:$|0}function L($){return $<0?0:$>a.MAX_UINT_32?a.MAX_UINT_32:$|0}}),define(he[10],fe([0,1,50,14,25,53]),function(ie,e,a,t,L,$){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$fg=e.$eg=e.$dg=e.GraphemeBreakType=e.$6f=e.$Xf=e.$Qf=e.$Pf=void 0,e.$ef=B,e.$ff=w,e.$gf=E,e.$hf=p,e.$if=d,e.$jf=u,e.$kf=c,e.$lf=h,e.$mf=m,e.$nf=l,e.$of=s,e.$pf=b,e.$qf=v,e.$rf=r,e.$sf=i,e.$tf=n,e.$uf=k,e.$vf=_,e.$wf=O,e.$xf=y,e.$yf=A,e.$zf=S,e.$Af=q,e.$Bf=j,e.$Cf=R,e.$Df=g,e.$Ef=T,e.$Ff=I,e.$Gf=D,e.$Hf=F,e.$If=J,e.$Jf=V,e.$Kf=Z,e.$Lf=re,e.$Mf=ce,e.$Nf=X,e.$Of=C,e.$Rf=G,e.$Sf=ae,e.$Tf=ge,e.$Uf=te,e.$Vf=U,e.$Wf=K,e.$Yf=W,e.$Zf=M,e.$1f=x,e.$2f=ne,e.$3f=be,e.$4f=Ee,e.$5f=de,e.$7f=ye,e.$8f=$e,e.$9f=ve,e.$0f=Le,e.$$f=Se,e.$_f=De,e.$ag=_e,e.$bg=Fe,e.$cg=Xe;function B(z){return!z||typeof z!="string"?!0:z.trim().length===0}const P=/{(\d+)}/g;function w(z,...Y){return Y.length===0?z:z.replace(P,function(se,ue){const we=parseInt(ue,10);return isNaN(we)||we<0||we>=Y.length?se:Y[we]})}const o=/{([^}]+)}/g;function E(z,Y){return Object.keys(Y).length===0?z:z.replace(o,(se,ue)=>Y[ue]??se)}function p(z){return z.replace(/[<>"'&]/g,Y=>{switch(Y){case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case"'":return"&apos;";case"&":return"&amp;"}return Y})}function d(z){return z.replace(/[<>&]/g,function(Y){switch(Y){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return Y}})}function u(z){return z.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function c(z,Y){let se=0,ue=z.indexOf(Y);for(;ue!==-1;)se++,ue=z.indexOf(Y,ue+Y.length);return se}function h(z,Y,se="\u2026"){return z.length<=Y?z:`${z.substr(0,Y)}${se}`}function m(z,Y,se="\u2026"){if(z.length<=Y)return z;const ue=Math.ceil(Y/2)-se.length/2,we=Math.floor(Y/2)-se.length/2;return`${z.substr(0,ue)}${se}${z.substr(z.length-we)}`}function l(z,Y=" "){const se=s(z,Y);return b(se,Y)}function s(z,Y){if(!z||!Y)return z;const se=Y.length;if(se===0||z.length===0)return z;let ue=0;for(;z.indexOf(Y,ue)===ue;)ue=ue+se;return z.substring(ue)}function b(z,Y){if(!z||!Y)return z;const se=Y.length,ue=z.length;if(se===0||ue===0)return z;let we=ue,Pe=-1;for(;Pe=z.lastIndexOf(Y,we-1),!(Pe===-1||Pe+se!==we);){if(Pe===0)return"";we=Pe}return z.substring(0,we)}function v(z){return z.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function r(z){return z.replace(/\*/g,"")}function i(z,Y,se={}){if(!z)throw new Error("Cannot create regex from empty string");Y||(z=u(z)),se.wholeWord&&(/\B/.test(z.charAt(0))||(z="\\b"+z),/\B/.test(z.charAt(z.length-1))||(z=z+"\\b"));let ue="";return se.global&&(ue+="g"),se.matchCase||(ue+="i"),se.multiline&&(ue+="m"),se.unicode&&(ue+="u"),new RegExp(z,ue)}function n(z){return z.source==="^"||z.source==="^$"||z.source==="$"||z.source==="^\\s*$"?!1:!!(z.exec("")&&z.lastIndex===0)}function k(z){return z.split(/\r\n|\r|\n/)}function _(z){const Y=[],se=z.split(/(\r\n|\r|\n)/);for(let ue=0;ue<Math.ceil(se.length/2);ue++)Y.push(se[2*ue]+(se[2*ue+1]??""));return Y}function O(z){for(let Y=0,se=z.length;Y<se;Y++){const ue=z.charCodeAt(Y);if(ue!==t.CharCode.Space&&ue!==t.CharCode.Tab)return Y}return-1}function y(z,Y=0,se=z.length){for(let ue=Y;ue<se;ue++){const we=z.charCodeAt(ue);if(we!==t.CharCode.Space&&we!==t.CharCode.Tab)return z.substring(Y,ue)}return z.substring(Y,se)}function A(z,Y=z.length-1){for(let se=Y;se>=0;se--){const ue=z.charCodeAt(se);if(ue!==t.CharCode.Space&&ue!==t.CharCode.Tab)return se}return-1}function S(z,Y,se){const ue=[];let we=0;for(const Pe of z.matchAll(Y)){if(ue.push(z.slice(we,Pe.index)),Pe.index===void 0)throw new Error("match.index should be defined");we=Pe.index+Pe[0].length,ue.push(se(Pe[0],...Pe.slice(1),Pe.index,z,Pe.groups))}return ue.push(z.slice(we)),Promise.all(ue).then(Pe=>Pe.join(""))}function q(z,Y){return z<Y?-1:z>Y?1:0}function j(z,Y,se=0,ue=z.length,we=0,Pe=Y.length){for(;se<ue&&we<Pe;se++,we++){const Oe=z.charCodeAt(se),Te=Y.charCodeAt(we);if(Oe<Te)return-1;if(Oe>Te)return 1}const Ie=ue-se,Ne=Pe-we;return Ie<Ne?-1:Ie>Ne?1:0}function R(z,Y){return g(z,Y,0,z.length,0,Y.length)}function g(z,Y,se=0,ue=z.length,we=0,Pe=Y.length){for(;se<ue&&we<Pe;se++,we++){let Oe=z.charCodeAt(se),Te=Y.charCodeAt(we);if(Oe===Te)continue;if(Oe>=128||Te>=128)return j(z.toLowerCase(),Y.toLowerCase(),se,ue,we,Pe);I(Oe)&&(Oe-=32),I(Te)&&(Te-=32);const Re=Oe-Te;if(Re!==0)return Re}const Ie=ue-se,Ne=Pe-we;return Ie<Ne?-1:Ie>Ne?1:0}function T(z){return z>=t.CharCode.Digit0&&z<=t.CharCode.Digit9}function I(z){return z>=t.CharCode.a&&z<=t.CharCode.z}function D(z){return z>=t.CharCode.A&&z<=t.CharCode.Z}function F(z,Y){return z.length===Y.length&&g(z,Y)===0}function J(z,Y){const se=Y.length;return Y.length>z.length?!1:g(z,Y,0,se)===0}function V(z,Y){const se=Math.min(z.length,Y.length);let ue;for(ue=0;ue<se;ue++)if(z.charCodeAt(ue)!==Y.charCodeAt(ue))return ue;return se}function Z(z,Y){const se=Math.min(z.length,Y.length);let ue;const we=z.length-1,Pe=Y.length-1;for(ue=0;ue<se;ue++)if(z.charCodeAt(we-ue)!==Y.charCodeAt(Pe-ue))return ue;return se}function re(z){return 55296<=z&&z<=56319}function ce(z){return 56320<=z&&z<=57343}function X(z,Y){return(z-55296<<10)+(Y-56320)+65536}function C(z,Y,se){const ue=z.charCodeAt(se);if(re(ue)&&se+1<Y){const we=z.charCodeAt(se+1);if(ce(we))return X(ue,we)}return ue}function Q(z,Y){const se=z.charCodeAt(Y-1);if(ce(se)&&Y>1){const ue=z.charCodeAt(Y-2);if(re(ue))return X(ue,se)}return se}class ee{get offset(){return this.e}constructor(Y,se=0){this.c=Y,this.d=Y.length,this.e=se}setOffset(Y){this.e=Y}prevCodePoint(){const Y=Q(this.c,this.e);return this.e-=Y>=$.Constants.UNICODE_SUPPLEMENTARY_PLANE_BEGIN?2:1,Y}nextCodePoint(){const Y=C(this.c,this.d,this.e);return this.e+=Y>=$.Constants.UNICODE_SUPPLEMENTARY_PLANE_BEGIN?2:1,Y}eol(){return this.e>=this.d}}e.$Pf=ee;class le{get offset(){return this.c.offset}constructor(Y,se=0){this.c=new ee(Y,se)}nextGraphemeLength(){const Y=Me.getInstance(),se=this.c,ue=se.offset;let we=Y.getGraphemeBreakType(se.nextCodePoint());for(;!se.eol();){const Pe=se.offset,Ie=Y.getGraphemeBreakType(se.nextCodePoint());if(Be(we,Ie)){se.setOffset(Pe);break}we=Ie}return se.offset-ue}prevGraphemeLength(){const Y=Me.getInstance(),se=this.c,ue=se.offset;let we=Y.getGraphemeBreakType(se.prevCodePoint());for(;se.offset>0;){const Pe=se.offset,Ie=Y.getGraphemeBreakType(se.prevCodePoint());if(Be(Ie,we)){se.setOffset(Pe);break}we=Ie}return ue-se.offset}eol(){return this.c.eol()}}e.$Qf=le;function G(z,Y){return new le(z,Y).nextGraphemeLength()}function ae(z,Y){return new le(z,Y).prevGraphemeLength()}function ge(z,Y){Y>0&&ce(z.charCodeAt(Y))&&Y--;const se=Y+G(z,Y);return[se-ae(z,se),se]}function te(z){const Y=new le(z);let se=0;for(;!Y.eol();)se++,Y.nextGraphemeLength();return se}let f;function H(){return/(?:[\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\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/}function U(z){return f||(f=H()),f.test(z)}const N=/^[\t\n\r\x20-\x7E]*$/;function K(z){return N.test(z)}e.$Xf=/[\u2028\u2029]/;function W(z){return e.$Xf.test(z)}function M(z){return z>=11904&&z<=55215||z>=63744&&z<=64255||z>=65281&&z<=65374}function x(z){return z>=127462&&z<=127487||z===8986||z===8987||z===9200||z===9203||z>=9728&&z<=10175||z===11088||z===11093||z>=127744&&z<=128591||z>=128640&&z<=128764||z>=128992&&z<=129008||z>=129280&&z<=129535||z>=129648&&z<=129782}function ne(z,Y,se=""){const ue=z.trimStart();if(ue.length<Y)return ue;const we=/\b/g;let Pe=0;for(;we.test(ue)&&!(ue.length-we.lastIndex<Y);)Pe=we.lastIndex,we.lastIndex+=1;return Pe===0?ue:se+ue.substring(Pe).trimStart()}const oe=/(?:(?:\x1b\[|\x9B)[=?>!]?[\d;:]*["$#'* ]?[a-zA-Z@^`{}|~])|(:?\x1b\].*?\x07)/g;function*be(z){let Y=0;for(const se of z.matchAll(oe))Y!==se.index&&(yield{isCode:!1,str:z.substring(Y,se.index)}),yield{isCode:!0,str:se[0]},Y=se.index+se[0].length;Y!==z.length&&(yield{isCode:!1,str:z.substring(Y)})}function Ee(z){return z&&(z=z.replace(oe,"")),z}const me=/\\\[.*?\\\]/g;function de(z){return Ee(z).replace(me,"")}e.$6f=String.fromCharCode(t.CharCode.UTF8_BOM);function ye(z){return!!(z&&z.length>0&&z.charCodeAt(0)===t.CharCode.UTF8_BOM)}function $e(z){return ye(z)?z.substr(1):z}function ve(z,Y){if(!z||!Y||z.length<Y.length)return!1;const se=Y.length,ue=z.toLowerCase();let we=0,Pe=-1;for(;we<se;){const Ie=ue.indexOf(Y[we],Pe+1);if(Ie<0)return!1;Pe=Ie,we++}return!0}function Le(z,Y=!1){return z?(Y&&(z=z.replace(/\\./g,"")),z.toLowerCase()!==z):!1}function Se(z){return z.charAt(0).toUpperCase()+z.slice(1)}function De(z,Y=1){if(Y===0)return"";let se=-1;do se=z.indexOf(`
`,se+1),Y--;while(Y>0&&se>=0);return se===-1?z:(z[se-1]==="\r"&&se--,z.substr(0,se))}function _e(z){const Y=t.CharCode.Z-t.CharCode.A+1;return z=z%(2*Y),z<Y?String.fromCharCode(t.CharCode.a+z):String.fromCharCode(t.CharCode.A+z-Y)}function Fe(z){return Me.getInstance().getGraphemeBreakType(z)}function Be(z,Y){return z===ke.Other?Y!==ke.Extend&&Y!==ke.SpacingMark:z===ke.CR&&Y===ke.LF?!1:z===ke.Control||z===ke.CR||z===ke.LF||Y===ke.Control||Y===ke.CR||Y===ke.LF?!0:!(z===ke.L&&(Y===ke.L||Y===ke.V||Y===ke.LV||Y===ke.LVT)||(z===ke.LV||z===ke.V)&&(Y===ke.V||Y===ke.T)||(z===ke.LVT||z===ke.T)&&Y===ke.T||Y===ke.Extend||Y===ke.ZWJ||Y===ke.SpacingMark||z===ke.Prepend||z===ke.ZWJ&&Y===ke.Extended_Pictographic||z===ke.Regional_Indicator&&Y===ke.Regional_Indicator)}var ke;(function(z){z[z.Other=0]="Other",z[z.Prepend=1]="Prepend",z[z.CR=2]="CR",z[z.LF=3]="LF",z[z.Control=4]="Control",z[z.Extend=5]="Extend",z[z.Regional_Indicator=6]="Regional_Indicator",z[z.SpacingMark=7]="SpacingMark",z[z.L=8]="L",z[z.V=9]="V",z[z.T=10]="T",z[z.LV=11]="LV",z[z.LVT=12]="LVT",z[z.ZWJ=13]="ZWJ",z[z.Extended_Pictographic=14]="Extended_Pictographic"})(ke||(e.GraphemeBreakType=ke={}));class Me{static{this.c=null}static getInstance(){return Me.c||(Me.c=new Me),Me.c}constructor(){this.d=ze()}getGraphemeBreakType(Y){if(Y<32)return Y===t.CharCode.LineFeed?ke.LF:Y===t.CharCode.CarriageReturn?ke.CR:ke.Control;if(Y<127)return ke.Other;const se=this.d,ue=se.length/3;let we=1;for(;we<=ue;)if(Y<se[3*we])we=2*we;else if(Y>se[3*we+1])we=2*we+1;else return se[3*we+2];return ke.Other}}function ze(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,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,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,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,129008,129008,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,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,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,2192,2193,1,2250,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,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,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,6862,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,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,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,9775,9775,14,9784,9785,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,9874,14,9876,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,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,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,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,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,118528,118573,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,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}function Xe(z,Y){if(z===0)return 0;const se=Ke(z,Y);if(se!==void 0)return se;const ue=new ee(Y,z);return ue.prevCodePoint(),ue.offset}function Ke(z,Y){const se=new ee(Y,z);let ue=se.prevCodePoint();for(;Je(ue)||ue===We.emojiVariantSelector||ue===We.enclosingKeyCap;){if(se.offset===0)return;ue=se.prevCodePoint()}if(!x(ue))return;let we=se.offset;return we>0&&se.prevCodePoint()===We.zwj&&(we=se.offset),we}function Je(z){return 127995<=z&&z<=127999}var We;(function(z){z[z.zwj=8205]="zwj",z[z.emojiVariantSelector=65039]="emojiVariantSelector",z[z.enclosingKeyCap=8419]="enclosingKeyCap"})(We||(We={})),e.$dg="\xA0";class Ge{static{this.c=new L.$X(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}'))}static{this.d=new a.$af({getCacheKey:JSON.stringify},Y=>{function se(Re){const Ce=new Map;for(let Ue=0;Ue<Re.length;Ue+=2)Ce.set(Re[Ue],Re[Ue+1]);return Ce}function ue(Re,Ce){const Ue=new Map(Re);for(const[He,xe]of Ce)Ue.set(He,xe);return Ue}function we(Re,Ce){if(!Re)return Ce;const Ue=new Map;for(const[He,xe]of Re)Ce.has(He)&&Ue.set(He,xe);return Ue}const Pe=this.c.value;let Ie=Y.filter(Re=>!Re.startsWith("_")&&Re in Pe);Ie.length===0&&(Ie=["_default"]);let Ne;for(const Re of Ie){const Ce=se(Pe[Re]);Ne=we(Ne,Ce)}const Oe=se(Pe._common),Te=ue(Oe,Ne);return new Ge(Te)})}static getInstance(Y){return Ge.d.get(Array.from(Y))}static{this.e=new L.$X(()=>Object.keys(Ge.c.value).filter(Y=>!Y.startsWith("_")))}static getLocales(){return Ge.e.value}constructor(Y){this.f=Y}isAmbiguous(Y){return this.f.has(Y)}containsAmbiguousCharacter(Y){for(let se=0;se<Y.length;se++){const ue=Y.codePointAt(se);if(typeof ue=="number"&&this.isAmbiguous(ue))return!0}return!1}getPrimaryConfusable(Y){return this.f.get(Y)}getConfusableCodePoints(){return new Set(this.f.keys())}}e.$eg=Ge;class qe{static c(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static{this.d=void 0}static e(){return this.d||(this.d=new Set(qe.c())),this.d}static isInvisibleCharacter(Y){return qe.e().has(Y)}static containsInvisibleCharacter(Y){for(let se=0;se<Y.length;se++){const ue=Y.codePointAt(se);if(typeof ue=="number"&&qe.isInvisibleCharacter(ue))return!0}return!1}static get codePoints(){return qe.e()}}e.$fg=qe}),define(he[54],fe([0,1,10]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Aj=e.$yj=void 0,e.$uj=t,e.$vj=L,e.$wj=$,e.$xj=P,e.$zj=h,a=Ae(a);function t(l){return L(l,0)}function L(l,s){switch(typeof l){case"object":return l===null?$(349,s):Array.isArray(l)?w(l,s):o(l,s);case"string":return P(l,s);case"boolean":return B(l,s);case"number":return $(l,s);case"undefined":return $(937,s);default:return $(617,s)}}function $(l,s){return(s<<5)-s+l|0}function B(l,s){return $(l?433:863,s)}function P(l,s){s=$(149417,s);for(let b=0,v=l.length;b<v;b++)s=$(l.charCodeAt(b),s);return s}function w(l,s){return s=$(104579,s),l.reduce((b,v)=>L(v,b),s)}function o(l,s){return s=$(181387,s),Object.keys(l).sort().reduce((b,v)=>(b=P(v,b),L(l[v],b)),s)}class E{constructor(){this.g=0}get value(){return this.g}hash(s){return this.g=L(s,this.g),this.g}}e.$yj=E;var p;(function(l){l[l.BLOCK_SIZE=64]="BLOCK_SIZE",l[l.UNICODE_REPLACEMENT=65533]="UNICODE_REPLACEMENT"})(p||(p={}));function d(l,s,b=32){const v=b-s,r=~((1<<v)-1);return(l<<s|(r&l)>>>v)>>>0}function u(l,s=0,b=l.byteLength,v=0){for(let r=0;r<b;r++)l[s+r]=v}function c(l,s,b="0"){for(;l.length<s;)l=b+l;return l}function h(l,s=32){return l instanceof ArrayBuffer?Array.from(new Uint8Array(l)).map(b=>b.toString(16).padStart(2,"0")).join(""):c((l>>>0).toString(16),s/4)}class m{static{this.g=new DataView(new ArrayBuffer(320))}constructor(){this.h=1732584193,this.l=4023233417,this.m=2562383102,this.n=271733878,this.o=3285377520,this.p=new Uint8Array(p.BLOCK_SIZE+3),this.q=new DataView(this.p.buffer),this.r=0,this.t=0,this.u=0,this.v=!1}update(s){const b=s.length;if(b===0)return;const v=this.p;let r=this.r,i=this.u,n,k;for(i!==0?(n=i,k=-1,i=0):(n=s.charCodeAt(0),k=0);;){let _=n;if(a.$Lf(n))if(k+1<b){const O=s.charCodeAt(k+1);a.$Mf(O)?(k++,_=a.$Nf(n,O)):_=p.UNICODE_REPLACEMENT}else{i=n;break}else a.$Mf(n)&&(_=p.UNICODE_REPLACEMENT);if(r=this.w(v,r,_),k++,k<b)n=s.charCodeAt(k);else break}this.r=r,this.u=i}w(s,b,v){return v<128?s[b++]=v:v<2048?(s[b++]=192|(v&1984)>>>6,s[b++]=128|(v&63)>>>0):v<65536?(s[b++]=224|(v&61440)>>>12,s[b++]=128|(v&4032)>>>6,s[b++]=128|(v&63)>>>0):(s[b++]=240|(v&1835008)>>>18,s[b++]=128|(v&258048)>>>12,s[b++]=128|(v&4032)>>>6,s[b++]=128|(v&63)>>>0),b>=p.BLOCK_SIZE&&(this.y(),b-=p.BLOCK_SIZE,this.t+=p.BLOCK_SIZE,s[0]=s[p.BLOCK_SIZE+0],s[1]=s[p.BLOCK_SIZE+1],s[2]=s[p.BLOCK_SIZE+2]),b}digest(){return this.v||(this.v=!0,this.u&&(this.u=0,this.r=this.w(this.p,this.r,p.UNICODE_REPLACEMENT)),this.t+=this.r,this.x()),h(this.h)+h(this.l)+h(this.m)+h(this.n)+h(this.o)}x(){this.p[this.r++]=128,u(this.p,this.r),this.r>56&&(this.y(),u(this.p));const s=8*this.t;this.q.setUint32(56,Math.floor(s/4294967296),!1),this.q.setUint32(60,s%4294967296,!1),this.y()}y(){const s=m.g,b=this.q;for(let A=0;A<64;A+=4)s.setUint32(A,b.getUint32(A,!1),!1);for(let A=64;A<320;A+=4)s.setUint32(A,d(s.getUint32(A-12,!1)^s.getUint32(A-32,!1)^s.getUint32(A-56,!1)^s.getUint32(A-64,!1),1),!1);let v=this.h,r=this.l,i=this.m,n=this.n,k=this.o,_,O,y;for(let A=0;A<80;A++)A<20?(_=r&i|~r&n,O=1518500249):A<40?(_=r^i^n,O=1859775393):A<60?(_=r&i|r&n|i&n,O=2400959708):(_=r^i^n,O=3395469782),y=d(v,5)+_+k+O+s.getUint32(A*4,!1)&4294967295,k=n,n=i,i=d(r,30),r=v,v=y;this.h=this.h+v&4294967295,this.l=this.l+r&4294967295,this.m=this.m+i&4294967295,this.n=this.n+n&4294967295,this.o=this.o+k&4294967295}}e.$Aj=m}),define(he[55],fe([0,1,18,14,10]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Mi=e.$Li=e.$Ki=e.$Ji=e.$Ii=void 0;class ${constructor(){this.b="",this.c=0}reset(c){return this.b=c,this.c=0,this}next(){return this.c+=1,this}hasNext(){return this.c<this.b.length-1}cmp(c){const h=c.charCodeAt(0),m=this.b.charCodeAt(this.c);return h-m}value(){return this.b[this.c]}}e.$Ii=$;class B{constructor(c=!0){this.e=c}reset(c){return this.b=c,this.c=0,this.d=0,this.next()}hasNext(){return this.d<this.b.length}next(){this.c=this.d;let c=!0;for(;this.d<this.b.length;this.d++)if(this.b.charCodeAt(this.d)===t.CharCode.Period)if(c)this.c++;else break;else c=!1;return this}cmp(c){return this.e?(0,L.$Bf)(c,this.b,0,c.length,this.c,this.d):(0,L.$Df)(c,this.b,0,c.length,this.c,this.d)}value(){return this.b.substring(this.c,this.d)}}e.$Ji=B;class P{constructor(c=!0,h=!0){this.f=c,this.g=h}reset(c){this.d=0,this.e=0,this.b=c,this.c=c.length;for(let h=c.length-1;h>=0;h--,this.c--){const m=this.b.charCodeAt(h);if(!(m===t.CharCode.Slash||this.f&&m===t.CharCode.Backslash))break}return this.next()}hasNext(){return this.e<this.c}next(){this.d=this.e;let c=!0;for(;this.e<this.c;this.e++){const h=this.b.charCodeAt(this.e);if(h===t.CharCode.Slash||this.f&&h===t.CharCode.Backslash)if(c)this.d++;else break;else c=!1}return this}cmp(c){return this.g?(0,L.$Bf)(c,this.b,0,c.length,this.d,this.e):(0,L.$Df)(c,this.b,0,c.length,this.d,this.e)}value(){return this.b.substring(this.d,this.e)}}e.$Ki=P;var w;(function(u){u[u.Scheme=1]="Scheme",u[u.Authority=2]="Authority",u[u.Path=3]="Path",u[u.Query=4]="Query",u[u.Fragment=5]="Fragment"})(w||(w={}));class o{constructor(c,h){this.f=c,this.g=h,this.d=[],this.e=0}reset(c){return this.c=c,this.d=[],this.c.scheme&&this.d.push(w.Scheme),this.c.authority&&this.d.push(w.Authority),this.c.path&&(this.b=new P(!1,!this.f(c)),this.b.reset(c.path),this.b.value()&&this.d.push(w.Path)),this.g(c)||(this.c.query&&this.d.push(w.Query),this.c.fragment&&this.d.push(w.Fragment)),this.e=0,this}next(){return this.d[this.e]===w.Path&&this.b.hasNext()?this.b.next():this.e+=1,this}hasNext(){return this.d[this.e]===w.Path&&this.b.hasNext()||this.e<this.d.length-1}cmp(c){if(this.d[this.e]===w.Scheme)return(0,L.$Cf)(c,this.c.scheme);if(this.d[this.e]===w.Authority)return(0,L.$Cf)(c,this.c.authority);if(this.d[this.e]===w.Path)return this.b.cmp(c);if(this.d[this.e]===w.Query)return(0,L.$Af)(c,this.c.query);if(this.d[this.e]===w.Fragment)return(0,L.$Af)(c,this.c.fragment);throw new Error}value(){if(this.d[this.e]===w.Scheme)return this.c.scheme;if(this.d[this.e]===w.Authority)return this.c.authority;if(this.d[this.e]===w.Path)return this.b.value();if(this.d[this.e]===w.Query)return this.c.query;if(this.d[this.e]===w.Fragment)return this.c.fragment;throw new Error}}e.$Li=o;class E{constructor(){this.height=1}isEmpty(){return!this.left&&!this.mid&&!this.right&&!this.value}rotateLeft(){const c=this.right;return this.right=c.left,c.left=this,this.updateHeight(),c.updateHeight(),c}rotateRight(){const c=this.left;return this.left=c.right,c.right=this,this.updateHeight(),c.updateHeight(),c}updateHeight(){this.height=1+Math.max(this.heightLeft,this.heightRight)}balanceFactor(){return this.heightRight-this.heightLeft}get heightLeft(){return this.left?.height??0}get heightRight(){return this.right?.height??0}}var p;(function(u){u[u.Left=-1]="Left",u[u.Mid=0]="Mid",u[u.Right=1]="Right"})(p||(p={}));class d{static forUris(c=()=>!1,h=()=>!1){return new d(new o(c,h))}static forPaths(c=!1){return new d(new P(void 0,!c))}static forStrings(){return new d(new $)}static forConfigKeys(){return new d(new B)}constructor(c){this.b=c}clear(){this.c=void 0}fill(c,h){if(h){const m=h.slice(0);(0,a.$Zb)(m);for(const l of m)this.set(l,c)}else{const m=c.slice(0);(0,a.$Zb)(m);for(const l of m)this.set(l[0],l[1])}}set(c,h){const m=this.b.reset(c);let l;this.c||(this.c=new E,this.c.segment=m.value());const s=[];for(l=this.c;;){const v=m.cmp(l.segment);if(v>0)l.left||(l.left=new E,l.left.segment=m.value()),s.push([p.Left,l]),l=l.left;else if(v<0)l.right||(l.right=new E,l.right.segment=m.value()),s.push([p.Right,l]),l=l.right;else if(m.hasNext())m.next(),l.mid||(l.mid=new E,l.mid.segment=m.value()),s.push([p.Mid,l]),l=l.mid;else break}const b=l.value;l.value=h,l.key=c;for(let v=s.length-1;v>=0;v--){const r=s[v][1];r.updateHeight();const i=r.balanceFactor();if(i<-1||i>1){const n=s[v][0],k=s[v+1][0];if(n===p.Right&&k===p.Right)s[v][1]=r.rotateLeft();else if(n===p.Left&&k===p.Left)s[v][1]=r.rotateRight();else if(n===p.Right&&k===p.Left)r.right=s[v+1][1]=s[v+1][1].rotateRight(),s[v][1]=r.rotateLeft();else if(n===p.Left&&k===p.Right)r.left=s[v+1][1]=s[v+1][1].rotateLeft(),s[v][1]=r.rotateRight();else throw new Error;if(v>0)switch(s[v-1][0]){case p.Left:s[v-1][1].left=s[v][1];break;case p.Right:s[v-1][1].right=s[v][1];break;case p.Mid:s[v-1][1].mid=s[v][1];break}else this.c=s[0][1]}}return b}get(c){return this.d(c)?.value}d(c){const h=this.b.reset(c);let m=this.c;for(;m;){const l=h.cmp(m.segment);if(l>0)m=m.left;else if(l<0)m=m.right;else if(h.hasNext())h.next(),m=m.mid;else break}return m}has(c){const h=this.d(c);return!(h?.value===void 0&&h?.mid===void 0)}delete(c){return this.e(c,!1)}deleteSuperstr(c){return this.e(c,!0)}e(c,h){const m=this.b.reset(c),l=[];let s=this.c;for(;s;){const b=m.cmp(s.segment);if(b>0)l.push([p.Left,s]),s=s.left;else if(b<0)l.push([p.Right,s]),s=s.right;else if(m.hasNext())m.next(),l.push([p.Mid,s]),s=s.mid;else break}if(s){if(h?(s.left=void 0,s.mid=void 0,s.right=void 0,s.height=1):(s.key=void 0,s.value=void 0),!s.mid&&!s.value)if(s.left&&s.right){const b=this.f(s.right);if(b.key){const{key:v,value:r,segment:i}=b;this.e(b.key,!1),s.key=v,s.value=r,s.segment=i}}else{const b=s.left??s.right;if(l.length>0){const[v,r]=l[l.length-1];switch(v){case p.Left:r.left=b;break;case p.Mid:r.mid=b;break;case p.Right:r.right=b;break}}else this.c=b}for(let b=l.length-1;b>=0;b--){const v=l[b][1];v.updateHeight();const r=v.balanceFactor();if(r>1?(v.right.balanceFactor()>=0||(v.right=v.right.rotateRight()),l[b][1]=v.rotateLeft()):r<-1&&(v.left.balanceFactor()<=0||(v.left=v.left.rotateLeft()),l[b][1]=v.rotateRight()),b>0)switch(l[b-1][0]){case p.Left:l[b-1][1].left=l[b][1];break;case p.Right:l[b-1][1].right=l[b][1];break;case p.Mid:l[b-1][1].mid=l[b][1];break}else this.c=l[0][1]}}}f(c){for(;c.left;)c=c.left;return c}findSubstr(c){const h=this.b.reset(c);let m=this.c,l;for(;m;){const s=h.cmp(m.segment);if(s>0)m=m.left;else if(s<0)m=m.right;else if(h.hasNext())h.next(),l=m.value||l,m=m.mid;else break}return m&&m.value||l}findSuperstr(c){return this.g(c,!1)}g(c,h){const m=this.b.reset(c);let l=this.c;for(;l;){const s=m.cmp(l.segment);if(s>0)l=l.left;else if(s<0)l=l.right;else if(m.hasNext())m.next(),l=l.mid;else return l.mid?this.h(l.mid):h?l.value:void 0}}hasElementOrSubtree(c){return this.g(c,!0)!==void 0}forEach(c){for(const[h,m]of this)c(m,h)}*[Symbol.iterator](){yield*this.h(this.c)}h(c){const h=[];return this.j(c,h),h[Symbol.iterator]()}j(c,h){c&&(c.left&&this.j(c.left,h),c.value&&h.push([c.key,c.value]),c.mid&&this.j(c.mid,h),c.right&&this.j(c.right,h))}_isBalanced(){const c=h=>{if(!h)return!0;const m=h.balanceFactor();return m<-1||m>1?!1:c(h.left)&&c(h.right)};return c(this.c)}}e.$Mi=d}),define(he[56],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$3g=void 0,e.$2g=t;const a=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function t(L){return a.test(L)}e.$3g=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let L;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?L=crypto.getRandomValues.bind(crypto):L=function(P){for(let w=0;w<P.length;w++)P[w]=Math.floor(Math.random()*256);return P};const $=new Uint8Array(16),B=[];for(let P=0;P<256;P++)B.push(P.toString(16).padStart(2,"0"));return function(){L($),$[6]=$[6]&15|64,$[8]=$[8]&63|128;let w=0,o="";return o+=B[$[w++]],o+=B[$[w++]],o+=B[$[w++]],o+=B[$[w++]],o+="-",o+=B[$[w++]],o+=B[$[w++]],o+="-",o+=B[$[w++]],o+=B[$[w++]],o+="-",o+=B[$[w++]],o+=B[$[w++]],o+="-",o+=B[$[w++]],o+=B[$[w++]],o+=B[$[w++]],o+=B[$[w++]],o+=B[$[w++]],o+=B[$[w++]],o}}()}),define(he[34],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$RX=a;function a(t){return!!t.parentPort}}),define(he[57],fe([13,11]),function(ie,e){return ie.create("vs/base/common/date",e)}),define(he[58],fe([0,1,57]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$2m=o,e.$3m=E,e.$4m=p;const t=60,L=t*60,$=L*24,B=$*7,P=$*30,w=$*365;function o(d,u,c,h){typeof d!="number"&&(d=d.getTime());const m=Math.round((new Date().getTime()-d)/1e3);if(m<-30)return(0,a.localize)(0,null,o(new Date().getTime()+m*1e3,!1));if(!h&&m<30)return(0,a.localize)(1,null);let l;return m<t?(l=m,u?l===1?c?(0,a.localize)(2,null,l):(0,a.localize)(3,null,l):c?(0,a.localize)(4,null,l):(0,a.localize)(5,null,l):l===1?c?(0,a.localize)(6,null,l):(0,a.localize)(7,null,l):c?(0,a.localize)(8,null,l):(0,a.localize)(9,null,l)):m<L?(l=Math.floor(m/t),u?l===1?c?(0,a.localize)(10,null,l):(0,a.localize)(11,null,l):c?(0,a.localize)(12,null,l):(0,a.localize)(13,null,l):l===1?c?(0,a.localize)(14,null,l):(0,a.localize)(15,null,l):c?(0,a.localize)(16,null,l):(0,a.localize)(17,null,l)):m<$?(l=Math.floor(m/L),u?l===1?c?(0,a.localize)(18,null,l):(0,a.localize)(19,null,l):c?(0,a.localize)(20,null,l):(0,a.localize)(21,null,l):l===1?c?(0,a.localize)(22,null,l):(0,a.localize)(23,null,l):c?(0,a.localize)(24,null,l):(0,a.localize)(25,null,l)):m<B?(l=Math.floor(m/$),u?l===1?(0,a.localize)(26,null,l):(0,a.localize)(27,null,l):l===1?(0,a.localize)(28,null,l):(0,a.localize)(29,null,l)):m<P?(l=Math.floor(m/B),u?l===1?c?(0,a.localize)(30,null,l):(0,a.localize)(31,null,l):c?(0,a.localize)(32,null,l):(0,a.localize)(33,null,l):l===1?c?(0,a.localize)(34,null,l):(0,a.localize)(35,null,l):c?(0,a.localize)(36,null,l):(0,a.localize)(37,null,l)):m<w?(l=Math.floor(m/P),u?l===1?c?(0,a.localize)(38,null,l):(0,a.localize)(39,null,l):c?(0,a.localize)(40,null,l):(0,a.localize)(41,null,l):l===1?c?(0,a.localize)(42,null,l):(0,a.localize)(43,null,l):c?(0,a.localize)(44,null,l):(0,a.localize)(45,null,l)):(l=Math.floor(m/w),u?l===1?c?(0,a.localize)(46,null,l):(0,a.localize)(47,null,l):c?(0,a.localize)(48,null,l):(0,a.localize)(49,null,l):l===1?c?(0,a.localize)(50,null,l):(0,a.localize)(51,null,l):c?(0,a.localize)(52,null,l):(0,a.localize)(53,null,l))}function E(d,u){const c=Math.abs(d/1e3);return c<1?u?(0,a.localize)(54,null,d):(0,a.localize)(55,null,d):c<t?u?(0,a.localize)(56,null,Math.round(d)/1e3):(0,a.localize)(57,null,Math.round(d)/1e3):c<L?u?(0,a.localize)(58,null,Math.round(d/(1e3*t))):(0,a.localize)(59,null,Math.round(d/(1e3*t))):c<$?u?(0,a.localize)(60,null,Math.round(d/(1e3*L))):(0,a.localize)(61,null,Math.round(d/(1e3*L))):(0,a.localize)(62,null,Math.round(d/(1e3*$)))}function p(d){return d.getFullYear()+"-"+String(d.getMonth()+1).padStart(2,"0")+"-"+String(d.getDate()).padStart(2,"0")+"T"+String(d.getHours()).padStart(2,"0")+":"+String(d.getMinutes()).padStart(2,"0")+":"+String(d.getSeconds()).padStart(2,"0")+"."+(d.getMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}}),define(he[59],fe([13,11]),function(ie,e){return ie.create("vs/base/common/errorMessage",e)}),define(he[60],fe([0,1,18,9,59]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$rj=w,e.$sj=o,e.$tj=E,a=Ae(a),t=Ae(t),L=Ae(L);function $(p,d){return d&&(p.stack||p.stacktrace)?L.localize(0,null,P(p),B(p.stack)||B(p.stacktrace)):P(p)}function B(p){return Array.isArray(p)?p.join(`
`):p}function P(p){return p.code==="ERR_UNC_HOST_NOT_ALLOWED"?`${p.message}. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.`:typeof p.code=="string"&&typeof p.errno=="number"&&typeof p.syscall=="string"?L.localize(1,null,p.message):p.message||L.localize(2,null)}function w(p=null,d=!1){if(!p)return L.localize(3,null);if(Array.isArray(p)){const u=a.$Kb(p),c=w(u[0],d);return u.length>1?L.localize(4,null,c,u.length):c}if(t.$gg(p))return p;if(p.detail){const u=p.detail;if(u.error)return $(u.error,d);if(u.exception)return $(u.exception,d)}return p.stack?$(p,d):p.message?p.message:L.localize(5,null)}function o(p){const d=p;return d instanceof Error&&Array.isArray(d.actions)}function E(p,d){let u;return typeof p=="string"?u=new Error(p):u=p,u.actions=d,u}}),define(he[61],fe([13,11]),function(ie,e){return ie.create("vs/base/common/platform",e)}),define(he[3],fe([0,1,61]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$I=e.$H=e.$G=e.$F=e.$E=e.OS=e.OperatingSystem=e.$B=e.$A=e.$z=e.$y=e.$x=e.Language=e.$w=e.$v=e.$u=e.$t=e.$s=e.$r=e.$q=e.$p=e.$o=e.$n=e.$m=e.$l=e.$k=e.$j=e.$i=e.Platform=e.$g=void 0,e.$h=n,e.$D=S,e.$J=q,a=Ae(a),e.$g="en";let t=!1,L=!1,$=!1,B=!1,P=!1,w=!1,o=!1,E=!1,p=!1,d=!1,u,c=e.$g,h=e.$g,m,l;const s=globalThis;let b;typeof s.vscode<"u"&&typeof s.vscode.process<"u"?b=s.vscode.process:typeof process<"u"&&typeof process?.versions?.node=="string"&&(b=process);const v=typeof b?.versions?.electron=="string",r=v&&b?.type==="renderer";if(typeof b=="object"){t=b.platform==="win32",L=b.platform==="darwin",$=b.platform==="linux",B=$&&!!b.env.SNAP&&!!b.env.SNAP_REVISION,o=v,p=!!b.env.CI||!!b.env.BUILD_ARTIFACTSTAGINGDIRECTORY,u=e.$g,c=e.$g;const j=b.env.VSCODE_NLS_CONFIG;if(j)try{const R=JSON.parse(j),g=R.availableLanguages["*"];u=R.locale,h=R.osLocale,c=g||e.$g,m=R._translationsConfigFile}catch{}P=!0}else typeof navigator=="object"&&!r?(l=navigator.userAgent,t=l.indexOf("Windows")>=0,L=l.indexOf("Macintosh")>=0,E=(l.indexOf("Macintosh")>=0||l.indexOf("iPad")>=0||l.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,$=l.indexOf("Linux")>=0,d=l?.indexOf("Mobi")>=0,w=!0,u=a.getConfiguredDefaultLocale(a.localize(0,null))||e.$g,c=u,h=navigator.language):console.error("Unable to resolve platform.");var i;(function(j){j[j.Web=0]="Web",j[j.Mac=1]="Mac",j[j.Linux=2]="Linux",j[j.Windows=3]="Windows"})(i||(e.Platform=i={}));function n(j){switch(j){case i.Web:return"Web";case i.Mac:return"Mac";case i.Linux:return"Linux";case i.Windows:return"Windows"}}let k=i.Web;L?k=i.Mac:t?k=i.Windows:$&&(k=i.Linux),e.$i=t,e.$j=L,e.$k=$,e.$l=B,e.$m=P,e.$n=o,e.$o=w,e.$p=w&&typeof s.importScripts=="function",e.$q=e.$p?s.origin:void 0,e.$r=E,e.$s=d,e.$t=p,e.$u=k,e.$v=l,e.$w=c;var _;(function(j){function R(){return e.$w}j.value=R;function g(){return e.$w.length===2?e.$w==="en":e.$w.length>=3?e.$w[0]==="e"&&e.$w[1]==="n"&&e.$w[2]==="-":!1}j.isDefaultVariant=g;function T(){return e.$w==="en"}j.isDefault=T})(_||(e.Language=_={})),e.$x=u,e.$y=h,e.$z=m,e.$A=typeof s.postMessage=="function"&&!s.importScripts,e.$B=(()=>{if(e.$A){const j=[];s.addEventListener("message",g=>{if(g.data&&g.data.vscodeScheduleAsyncWork)for(let T=0,I=j.length;T<I;T++){const D=j[T];if(D.id===g.data.vscodeScheduleAsyncWork){j.splice(T,1),D.callback();return}}});let R=0;return g=>{const T=++R;j.push({id:T,callback:g}),s.postMessage({vscodeScheduleAsyncWork:T},"*")}}return j=>setTimeout(j)})();var O;(function(j){j[j.Windows=1]="Windows",j[j.Macintosh=2]="Macintosh",j[j.Linux=3]="Linux"})(O||(e.OperatingSystem=O={})),e.OS=L||E?O.Macintosh:t?O.Windows:O.Linux;let y=!0,A=!1;function S(){if(!A){A=!0;const j=new Uint8Array(2);j[0]=1,j[1]=2,y=new Uint16Array(j.buffer)[0]===513}return y}e.$E=!!(e.$v&&e.$v.indexOf("Chrome")>=0),e.$F=!!(e.$v&&e.$v.indexOf("Firefox")>=0),e.$G=!!(!e.$E&&e.$v&&e.$v.indexOf("Safari")>=0),e.$H=!!(e.$v&&e.$v.indexOf("Edg/")>=0),e.$I=!!(e.$v&&e.$v.indexOf("Android")>=0);function q(j){return parseFloat(j)>=20}}),define(he[16],fe([0,1,3]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$hc=e.$gc=e.env=e.cwd=void 0;let t;const L=globalThis.vscode;if(typeof L<"u"&&typeof L.process<"u"){const $=L.process;t={get platform(){return $.platform},get arch(){return $.arch},get env(){return $.env},cwd(){return $.cwd()}}}else typeof process<"u"?t={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:t={get platform(){return a.$i?"win32":a.$j?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};e.cwd=t.cwd,e.env=t.env,e.$gc=t.platform,e.$hc=t.arch}),define(he[5],fe([0,1,16]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$wc=e.sep=e.$uc=e.$tc=e.$sc=e.$rc=e.$qc=e.$pc=e.$oc=e.$nc=e.$mc=e.$lc=e.$kc=e.$jc=e.$ic=void 0,a=Ae(a);const t=65,L=97,$=90,B=122,P=46,w=47,o=92,E=58,p=63;class d extends Error{constructor(n,k,_){let O;typeof k=="string"&&k.indexOf("not ")===0?(O="must not be",k=k.replace(/^not /,"")):O="must be";const y=n.indexOf(".")!==-1?"property":"argument";let A=`The "${n}" ${y} ${O} of type ${k}`;A+=`. Received type ${typeof _}`,super(A),this.code="ERR_INVALID_ARG_TYPE"}}function u(i,n){if(i===null||typeof i!="object")throw new d(n,"Object",i)}function c(i,n){if(typeof i!="string")throw new d(n,"string",i)}const h=a.$gc==="win32";function m(i){return i===w||i===o}function l(i){return i===w}function s(i){return i>=t&&i<=$||i>=L&&i<=B}function b(i,n,k,_){let O="",y=0,A=-1,S=0,q=0;for(let j=0;j<=i.length;++j){if(j<i.length)q=i.charCodeAt(j);else{if(_(q))break;q=w}if(_(q)){if(!(A===j-1||S===1))if(S===2){if(O.length<2||y!==2||O.charCodeAt(O.length-1)!==P||O.charCodeAt(O.length-2)!==P){if(O.length>2){const R=O.lastIndexOf(k);R===-1?(O="",y=0):(O=O.slice(0,R),y=O.length-1-O.lastIndexOf(k)),A=j,S=0;continue}else if(O.length!==0){O="",y=0,A=j,S=0;continue}}n&&(O+=O.length>0?`${k}..`:"..",y=2)}else O.length>0?O+=`${k}${i.slice(A+1,j)}`:O=i.slice(A+1,j),y=j-A-1;A=j,S=0}else q===P&&S!==-1?++S:S=-1}return O}function v(i,n){u(n,"pathObject");const k=n.dir||n.root,_=n.base||`${n.name||""}${n.ext||""}`;return k?k===n.root?`${k}${_}`:`${k}${i}${_}`:_}e.$ic={resolve(...i){let n="",k="",_=!1;for(let O=i.length-1;O>=-1;O--){let y;if(O>=0){if(y=i[O],c(y,"path"),y.length===0)continue}else n.length===0?y=a.cwd():(y=a.env[`=${n}`]||a.cwd(),(y===void 0||y.slice(0,2).toLowerCase()!==n.toLowerCase()&&y.charCodeAt(2)===o)&&(y=`${n}\\`));const A=y.length;let S=0,q="",j=!1;const R=y.charCodeAt(0);if(A===1)m(R)&&(S=1,j=!0);else if(m(R))if(j=!0,m(y.charCodeAt(1))){let g=2,T=g;for(;g<A&&!m(y.charCodeAt(g));)g++;if(g<A&&g!==T){const I=y.slice(T,g);for(T=g;g<A&&m(y.charCodeAt(g));)g++;if(g<A&&g!==T){for(T=g;g<A&&!m(y.charCodeAt(g));)g++;(g===A||g!==T)&&(q=`\\\\${I}\\${y.slice(T,g)}`,S=g)}}}else S=1;else s(R)&&y.charCodeAt(1)===E&&(q=y.slice(0,2),S=2,A>2&&m(y.charCodeAt(2))&&(j=!0,S=3));if(q.length>0)if(n.length>0){if(q.toLowerCase()!==n.toLowerCase())continue}else n=q;if(_){if(n.length>0)break}else if(k=`${y.slice(S)}\\${k}`,_=j,j&&n.length>0)break}return k=b(k,!_,"\\",m),_?`${n}\\${k}`:`${n}${k}`||"."},normalize(i){c(i,"path");const n=i.length;if(n===0)return".";let k=0,_,O=!1;const y=i.charCodeAt(0);if(n===1)return l(y)?"\\":i;if(m(y))if(O=!0,m(i.charCodeAt(1))){let S=2,q=S;for(;S<n&&!m(i.charCodeAt(S));)S++;if(S<n&&S!==q){const j=i.slice(q,S);for(q=S;S<n&&m(i.charCodeAt(S));)S++;if(S<n&&S!==q){for(q=S;S<n&&!m(i.charCodeAt(S));)S++;if(S===n)return`\\\\${j}\\${i.slice(q)}\\`;S!==q&&(_=`\\\\${j}\\${i.slice(q,S)}`,k=S)}}}else k=1;else s(y)&&i.charCodeAt(1)===E&&(_=i.slice(0,2),k=2,n>2&&m(i.charCodeAt(2))&&(O=!0,k=3));let A=k<n?b(i.slice(k),!O,"\\",m):"";return A.length===0&&!O&&(A="."),A.length>0&&m(i.charCodeAt(n-1))&&(A+="\\"),_===void 0?O?`\\${A}`:A:O?`${_}\\${A}`:`${_}${A}`},isAbsolute(i){c(i,"path");const n=i.length;if(n===0)return!1;const k=i.charCodeAt(0);return m(k)||n>2&&s(k)&&i.charCodeAt(1)===E&&m(i.charCodeAt(2))},join(...i){if(i.length===0)return".";let n,k;for(let y=0;y<i.length;++y){const A=i[y];c(A,"path"),A.length>0&&(n===void 0?n=k=A:n+=`\\${A}`)}if(n===void 0)return".";let _=!0,O=0;if(typeof k=="string"&&m(k.charCodeAt(0))){++O;const y=k.length;y>1&&m(k.charCodeAt(1))&&(++O,y>2&&(m(k.charCodeAt(2))?++O:_=!1))}if(_){for(;O<n.length&&m(n.charCodeAt(O));)O++;O>=2&&(n=`\\${n.slice(O)}`)}return e.$ic.normalize(n)},relative(i,n){if(c(i,"from"),c(n,"to"),i===n)return"";const k=e.$ic.resolve(i),_=e.$ic.resolve(n);if(k===_||(i=k.toLowerCase(),n=_.toLowerCase(),i===n))return"";let O=0;for(;O<i.length&&i.charCodeAt(O)===o;)O++;let y=i.length;for(;y-1>O&&i.charCodeAt(y-1)===o;)y--;const A=y-O;let S=0;for(;S<n.length&&n.charCodeAt(S)===o;)S++;let q=n.length;for(;q-1>S&&n.charCodeAt(q-1)===o;)q--;const j=q-S,R=A<j?A:j;let g=-1,T=0;for(;T<R;T++){const D=i.charCodeAt(O+T);if(D!==n.charCodeAt(S+T))break;D===o&&(g=T)}if(T!==R){if(g===-1)return _}else{if(j>R){if(n.charCodeAt(S+T)===o)return _.slice(S+T+1);if(T===2)return _.slice(S+T)}A>R&&(i.charCodeAt(O+T)===o?g=T:T===2&&(g=3)),g===-1&&(g=0)}let I="";for(T=O+g+1;T<=y;++T)(T===y||i.charCodeAt(T)===o)&&(I+=I.length===0?"..":"\\..");return S+=g,I.length>0?`${I}${_.slice(S,q)}`:(_.charCodeAt(S)===o&&++S,_.slice(S,q))},toNamespacedPath(i){if(typeof i!="string"||i.length===0)return i;const n=e.$ic.resolve(i);if(n.length<=2)return i;if(n.charCodeAt(0)===o){if(n.charCodeAt(1)===o){const k=n.charCodeAt(2);if(k!==p&&k!==P)return`\\\\?\\UNC\\${n.slice(2)}`}}else if(s(n.charCodeAt(0))&&n.charCodeAt(1)===E&&n.charCodeAt(2)===o)return`\\\\?\\${n}`;return i},dirname(i){c(i,"path");const n=i.length;if(n===0)return".";let k=-1,_=0;const O=i.charCodeAt(0);if(n===1)return m(O)?i:".";if(m(O)){if(k=_=1,m(i.charCodeAt(1))){let S=2,q=S;for(;S<n&&!m(i.charCodeAt(S));)S++;if(S<n&&S!==q){for(q=S;S<n&&m(i.charCodeAt(S));)S++;if(S<n&&S!==q){for(q=S;S<n&&!m(i.charCodeAt(S));)S++;if(S===n)return i;S!==q&&(k=_=S+1)}}}}else s(O)&&i.charCodeAt(1)===E&&(k=n>2&&m(i.charCodeAt(2))?3:2,_=k);let y=-1,A=!0;for(let S=n-1;S>=_;--S)if(m(i.charCodeAt(S))){if(!A){y=S;break}}else A=!1;if(y===-1){if(k===-1)return".";y=k}return i.slice(0,y)},basename(i,n){n!==void 0&&c(n,"ext"),c(i,"path");let k=0,_=-1,O=!0,y;if(i.length>=2&&s(i.charCodeAt(0))&&i.charCodeAt(1)===E&&(k=2),n!==void 0&&n.length>0&&n.length<=i.length){if(n===i)return"";let A=n.length-1,S=-1;for(y=i.length-1;y>=k;--y){const q=i.charCodeAt(y);if(m(q)){if(!O){k=y+1;break}}else S===-1&&(O=!1,S=y+1),A>=0&&(q===n.charCodeAt(A)?--A===-1&&(_=y):(A=-1,_=S))}return k===_?_=S:_===-1&&(_=i.length),i.slice(k,_)}for(y=i.length-1;y>=k;--y)if(m(i.charCodeAt(y))){if(!O){k=y+1;break}}else _===-1&&(O=!1,_=y+1);return _===-1?"":i.slice(k,_)},extname(i){c(i,"path");let n=0,k=-1,_=0,O=-1,y=!0,A=0;i.length>=2&&i.charCodeAt(1)===E&&s(i.charCodeAt(0))&&(n=_=2);for(let S=i.length-1;S>=n;--S){const q=i.charCodeAt(S);if(m(q)){if(!y){_=S+1;break}continue}O===-1&&(y=!1,O=S+1),q===P?k===-1?k=S:A!==1&&(A=1):k!==-1&&(A=-1)}return k===-1||O===-1||A===0||A===1&&k===O-1&&k===_+1?"":i.slice(k,O)},format:v.bind(null,"\\"),parse(i){c(i,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return n;const k=i.length;let _=0,O=i.charCodeAt(0);if(k===1)return m(O)?(n.root=n.dir=i,n):(n.base=n.name=i,n);if(m(O)){if(_=1,m(i.charCodeAt(1))){let g=2,T=g;for(;g<k&&!m(i.charCodeAt(g));)g++;if(g<k&&g!==T){for(T=g;g<k&&m(i.charCodeAt(g));)g++;if(g<k&&g!==T){for(T=g;g<k&&!m(i.charCodeAt(g));)g++;g===k?_=g:g!==T&&(_=g+1)}}}}else if(s(O)&&i.charCodeAt(1)===E){if(k<=2)return n.root=n.dir=i,n;if(_=2,m(i.charCodeAt(2))){if(k===3)return n.root=n.dir=i,n;_=3}}_>0&&(n.root=i.slice(0,_));let y=-1,A=_,S=-1,q=!0,j=i.length-1,R=0;for(;j>=_;--j){if(O=i.charCodeAt(j),m(O)){if(!q){A=j+1;break}continue}S===-1&&(q=!1,S=j+1),O===P?y===-1?y=j:R!==1&&(R=1):y!==-1&&(R=-1)}return S!==-1&&(y===-1||R===0||R===1&&y===S-1&&y===A+1?n.base=n.name=i.slice(A,S):(n.name=i.slice(A,y),n.base=i.slice(A,S),n.ext=i.slice(y,S))),A>0&&A!==_?n.dir=i.slice(0,A-1):n.dir=n.root,n},sep:"\\",delimiter:";",win32:null,posix:null};const r=(()=>{if(h){const i=/\\/g;return()=>{const n=a.cwd().replace(i,"/");return n.slice(n.indexOf("/"))}}return()=>a.cwd()})();e.$jc={resolve(...i){let n="",k=!1;for(let _=i.length-1;_>=-1&&!k;_--){const O=_>=0?i[_]:r();c(O,"path"),O.length!==0&&(n=`${O}/${n}`,k=O.charCodeAt(0)===w)}return n=b(n,!k,"/",l),k?`/${n}`:n.length>0?n:"."},normalize(i){if(c(i,"path"),i.length===0)return".";const n=i.charCodeAt(0)===w,k=i.charCodeAt(i.length-1)===w;return i=b(i,!n,"/",l),i.length===0?n?"/":k?"./":".":(k&&(i+="/"),n?`/${i}`:i)},isAbsolute(i){return c(i,"path"),i.length>0&&i.charCodeAt(0)===w},join(...i){if(i.length===0)return".";let n;for(let k=0;k<i.length;++k){const _=i[k];c(_,"path"),_.length>0&&(n===void 0?n=_:n+=`/${_}`)}return n===void 0?".":e.$jc.normalize(n)},relative(i,n){if(c(i,"from"),c(n,"to"),i===n||(i=e.$jc.resolve(i),n=e.$jc.resolve(n),i===n))return"";const k=1,_=i.length,O=_-k,y=1,A=n.length-y,S=O<A?O:A;let q=-1,j=0;for(;j<S;j++){const g=i.charCodeAt(k+j);if(g!==n.charCodeAt(y+j))break;g===w&&(q=j)}if(j===S)if(A>S){if(n.charCodeAt(y+j)===w)return n.slice(y+j+1);if(j===0)return n.slice(y+j)}else O>S&&(i.charCodeAt(k+j)===w?q=j:j===0&&(q=0));let R="";for(j=k+q+1;j<=_;++j)(j===_||i.charCodeAt(j)===w)&&(R+=R.length===0?"..":"/..");return`${R}${n.slice(y+q)}`},toNamespacedPath(i){return i},dirname(i){if(c(i,"path"),i.length===0)return".";const n=i.charCodeAt(0)===w;let k=-1,_=!0;for(let O=i.length-1;O>=1;--O)if(i.charCodeAt(O)===w){if(!_){k=O;break}}else _=!1;return k===-1?n?"/":".":n&&k===1?"//":i.slice(0,k)},basename(i,n){n!==void 0&&c(n,"ext"),c(i,"path");let k=0,_=-1,O=!0,y;if(n!==void 0&&n.length>0&&n.length<=i.length){if(n===i)return"";let A=n.length-1,S=-1;for(y=i.length-1;y>=0;--y){const q=i.charCodeAt(y);if(q===w){if(!O){k=y+1;break}}else S===-1&&(O=!1,S=y+1),A>=0&&(q===n.charCodeAt(A)?--A===-1&&(_=y):(A=-1,_=S))}return k===_?_=S:_===-1&&(_=i.length),i.slice(k,_)}for(y=i.length-1;y>=0;--y)if(i.charCodeAt(y)===w){if(!O){k=y+1;break}}else _===-1&&(O=!1,_=y+1);return _===-1?"":i.slice(k,_)},extname(i){c(i,"path");let n=-1,k=0,_=-1,O=!0,y=0;for(let A=i.length-1;A>=0;--A){const S=i.charCodeAt(A);if(S===w){if(!O){k=A+1;break}continue}_===-1&&(O=!1,_=A+1),S===P?n===-1?n=A:y!==1&&(y=1):n!==-1&&(y=-1)}return n===-1||_===-1||y===0||y===1&&n===_-1&&n===k+1?"":i.slice(n,_)},format:v.bind(null,"/"),parse(i){c(i,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return n;const k=i.charCodeAt(0)===w;let _;k?(n.root="/",_=1):_=0;let O=-1,y=0,A=-1,S=!0,q=i.length-1,j=0;for(;q>=_;--q){const R=i.charCodeAt(q);if(R===w){if(!S){y=q+1;break}continue}A===-1&&(S=!1,A=q+1),R===P?O===-1?O=q:j!==1&&(j=1):O!==-1&&(j=-1)}if(A!==-1){const R=y===0&&k?1:y;O===-1||j===0||j===1&&O===A-1&&O===y+1?n.base=n.name=i.slice(R,A):(n.name=i.slice(R,O),n.base=i.slice(R,A),n.ext=i.slice(O,A))}return y>0?n.dir=i.slice(0,y-1):k&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null},e.$jc.win32=e.$ic.win32=e.$ic,e.$jc.posix=e.$ic.posix=e.$jc,e.$kc=h?e.$ic.normalize:e.$jc.normalize,e.$lc=h?e.$ic.isAbsolute:e.$jc.isAbsolute,e.$mc=h?e.$ic.join:e.$jc.join,e.$nc=h?e.$ic.resolve:e.$jc.resolve,e.$oc=h?e.$ic.relative:e.$jc.relative,e.$pc=h?e.$ic.dirname:e.$jc.dirname,e.$qc=h?e.$ic.basename:e.$jc.basename,e.$rc=h?e.$ic.extname:e.$jc.extname,e.$sc=h?e.$ic.format:e.$jc.format,e.$tc=h?e.$ic.parse:e.$jc.parse,e.$uc=h?e.$ic.toNamespacedPath:e.$jc.toNamespacedPath,e.sep=h?e.$ic.sep:e.$jc.sep,e.$wc=h?e.$ic.delimiter:e.$jc.delimiter}),define(he[35],fe([0,1,14,5,3,10,9]),function(ie,e,a,t,L,$,B){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$yg=P,e.$zg=w,e.$Ag=o,e.$Bg=E,e.$Cg=p,e.$Dg=h,e.$Eg=m,e.$Fg=l,e.$Gg=s,e.$Hg=b,e.$Ig=v,e.$Jg=r,e.$Kg=i,e.$Lg=n,e.$Mg=k,e.$Ng=_,e.$Og=A;function P(S){return S===a.CharCode.Slash||S===a.CharCode.Backslash}function w(S){return S.replace(/[\\/]/g,t.$jc.sep)}function o(S){return S.indexOf("/")===-1&&(S=w(S)),/^[a-zA-Z]:(\/|$)/.test(S)&&(S="/"+S),S}function E(S,q=t.$jc.sep){if(!S)return"";const j=S.length,R=S.charCodeAt(0);if(P(R)){if(P(S.charCodeAt(1))&&!P(S.charCodeAt(2))){let T=3;const I=T;for(;T<j&&!P(S.charCodeAt(T));T++);if(I!==T&&!P(S.charCodeAt(T+1))){for(T+=1;T<j;T++)if(P(S.charCodeAt(T)))return S.slice(0,T+1).replace(/[\\/]/g,q)}}return q}else if(s(R)&&S.charCodeAt(1)===a.CharCode.Colon)return P(S.charCodeAt(2))?S.slice(0,2)+q:S.slice(0,2);let g=S.indexOf("://");if(g!==-1){for(g+=3;g<j;g++)if(P(S.charCodeAt(g)))return S.slice(0,g+1)}return""}function p(S){if(!L.$i||!S||S.length<5)return!1;let q=S.charCodeAt(0);if(q!==a.CharCode.Backslash||(q=S.charCodeAt(1),q!==a.CharCode.Backslash))return!1;let j=2;const R=j;for(;j<S.length&&(q=S.charCodeAt(j),q!==a.CharCode.Backslash);j++);return!(R===j||(q=S.charCodeAt(j+1),isNaN(q)||q===a.CharCode.Backslash))}const d=/[\\/:\*\?"<>\|]/g,u=/[/]/g,c=/^(con|prn|aux|clock\$|nul|lpt[0-9]|com[0-9])(\.(.*?))?$/i;function h(S,q=L.$i){const j=q?d:u;return!(!S||S.length===0||/^\s+$/.test(S)||(j.lastIndex=0,j.test(S))||q&&c.test(S)||S==="."||S===".."||q&&S[S.length-1]==="."||q&&S.length!==S.trim().length||S.length>255)}function m(S,q,j){const R=S===q;return!j||R?R:!S||!q?!1:(0,$.$Hf)(S,q)}function l(S,q,j,R=t.sep){if(S===q)return!0;if(!S||!q||q.length>S.length)return!1;if(j){if(!(0,$.$If)(S,q))return!1;if(q.length===S.length)return!0;let T=q.length;return q.charAt(q.length-1)===R&&T--,S.charAt(T)===R}return q.charAt(q.length-1)!==R&&(q+=R),S.indexOf(q)===0}function s(S){return S>=a.CharCode.A&&S<=a.CharCode.Z||S>=a.CharCode.a&&S<=a.CharCode.z}function b(S,q){return L.$i&&S.endsWith(":")&&(S+=t.sep),(0,t.$lc)(S)||(S=(0,t.$mc)(q,S)),S=(0,t.$kc)(S),v(S)}function v(S){return L.$i?(S=(0,$.$pf)(S,t.sep),S.endsWith(":")&&(S+=t.sep)):(S=(0,$.$pf)(S,t.sep),S||(S=t.sep)),S}function r(S){const q=(0,t.$kc)(S);return L.$i?S.length>3?!1:i(q)&&(S.length===2||q.charCodeAt(2)===a.CharCode.Backslash):q===t.$jc.sep}function i(S,q=L.$i){return q?s(S.charCodeAt(0))&&S.charCodeAt(1)===a.CharCode.Colon:!1}function n(S,q=L.$i){return i(S,q)?S[0]:void 0}function k(S,q,j){return q.length>S.length?-1:S===q?0:(j&&(S=S.toLowerCase(),q=q.toLowerCase()),S.indexOf(q))}function _(S){const q=S.split(":");let j,R,g;for(const T of q){const I=Number(T);(0,B.$kg)(I)?R===void 0?R=I:g===void 0&&(g=I):j=j?[j,T].join(":"):T}if(!j)throw new Error("Format for `--goto` should be: `FILE:LINE(:COLUMN)`");return{path:j,line:R!==void 0?R:void 0,column:g!==void 0?g:R!==void 0?1:void 0}}const O="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",y="BDEFGHIJKMOQRSTUVWXYZbdefghijkmoqrstuvwxyz0123456789";function A(S,q,j=8){let R="";for(let T=0;T<j;T++){let I;T===0&&L.$i&&!q&&(j===3||j===4)?I=y:I=O,R+=I.charAt(Math.floor(Math.random()*I.length))}let g;return q?g=`${q}-${R}`:g=R,S?(0,t.$mc)(S,g):g}}),define(he[36],fe([0,1,3]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TerminateResponseCode=e.Source=void 0,e.$lm=$,e.$mm=B;var t;(function(P){P[P.stdout=0]="stdout",P[P.stderr=1]="stderr"})(t||(e.Source=t={}));var L;(function(P){P[P.Success=0]="Success",P[P.Unknown=1]="Unknown",P[P.AccessDenied=2]="AccessDenied",P[P.ProcessNotFound=3]="ProcessNotFound"})(L||(e.TerminateResponseCode=L={}));function $(P,...w){const o=w.reduce((d,u)=>(d[u]=!0,d),{}),E=[/^ELECTRON_.+$/,/^VSCODE_(?!(PORTABLE|SHELL_LOGIN|ENV_REPLACE|ENV_APPEND|ENV_PREPEND)).+$/,/^SNAP(|_.*)$/,/^GDK_PIXBUF_.+$/];Object.keys(P).filter(d=>!o[d]).forEach(d=>{for(let u=0;u<E.length;u++)if(d.search(E[u])!==-1){delete P[d];break}})}function B(P){P&&(delete P.DEBUG,a.$j&&delete P.DYLD_LIBRARY_PATH,a.$k&&delete P.LD_PRELOAD)}}),define(he[6],fe([0,1,14,29,5,3]),function(ie,e,a,t,L,$){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.URI=void 0,e.$yc=m,e.$zc=i,L=Ae(L);const B=/^\w[\w\d+.-]*$/,P=/^\//,w=/^\/\//;function o(y,A){if(!y.scheme&&A)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${y.authority}", path: "${y.path}", query: "${y.query}", fragment: "${y.fragment}"}`);if(y.scheme&&!B.test(y.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(y.path){if(y.authority){if(!P.test(y.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(w.test(y.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function E(y,A){return!y&&!A?"file":y}function p(y,A){switch(y){case"https":case"http":case"file":A?A[0]!==u&&(A=u+A):A=u;break}return A}const d="",u="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class h{static isUri(A){return A instanceof h?!0:A?typeof A.authority=="string"&&typeof A.fragment=="string"&&typeof A.path=="string"&&typeof A.query=="string"&&typeof A.scheme=="string"&&typeof A.fsPath=="string"&&typeof A.with=="function"&&typeof A.toString=="function":!1}constructor(A,S,q,j,R,g=!1){typeof A=="object"?(this.scheme=A.scheme||d,this.authority=A.authority||d,this.path=A.path||d,this.query=A.query||d,this.fragment=A.fragment||d):(this.scheme=E(A,g),this.authority=S||d,this.path=p(this.scheme,q||d),this.query=j||d,this.fragment=R||d,o(this,g))}get fsPath(){return i(this,!1)}with(A){if(!A)return this;let{scheme:S,authority:q,path:j,query:R,fragment:g}=A;return S===void 0?S=this.scheme:S===null&&(S=d),q===void 0?q=this.authority:q===null&&(q=d),j===void 0?j=this.path:j===null&&(j=d),R===void 0?R=this.query:R===null&&(R=d),g===void 0?g=this.fragment:g===null&&(g=d),S===this.scheme&&q===this.authority&&j===this.path&&R===this.query&&g===this.fragment?this:new s(S,q,j,R,g)}static parse(A,S=!1){const q=c.exec(A);return q?new s(q[2]||d,O(q[4]||d),O(q[5]||d),O(q[7]||d),O(q[9]||d),S):new s(d,d,d,d,d)}static file(A){let S=d;if($.$i&&(A=A.replace(/\\/g,u)),A[0]===u&&A[1]===u){const q=A.indexOf(u,2);q===-1?(S=A.substring(2),A=u):(S=A.substring(2,q),A=A.substring(q)||u)}return new s("file",S,A,d,d)}static from(A,S){return new s(A.scheme,A.authority,A.path,A.query,A.fragment,S)}static joinPath(A,...S){if(!A.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let q;return $.$i&&A.scheme==="file"?q=h.file(L.$ic.join(i(A,!0),...S)).path:q=L.$jc.join(A.path,...S),A.with({path:q})}toString(A=!1){return n(this,A)}toJSON(){return this}static revive(A){if(A){if(A instanceof h)return A;{const S=new s(A);return S._formatted=A.external??null,S._fsPath=A._sep===l?A.fsPath??null:null,S}}else return A}}e.URI=h;function m(y){return!y||typeof y!="object"?!1:typeof y.scheme=="string"&&(typeof y.authority=="string"||typeof y.authority>"u")&&(typeof y.path=="string"||typeof y.path>"u")&&(typeof y.query=="string"||typeof y.query>"u")&&(typeof y.fragment=="string"||typeof y.fragment>"u")}const l=$.$i?1:void 0;class s extends h{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=i(this,!1)),this._fsPath}toString(A=!1){return A?n(this,!0):(this._formatted||(this._formatted=n(this,!1)),this._formatted)}toJSON(){const A={$mid:t.MarshalledId.Uri};return this._fsPath&&(A.fsPath=this._fsPath,A._sep=l),this._formatted&&(A.external=this._formatted),this.path&&(A.path=this.path),this.scheme&&(A.scheme=this.scheme),this.authority&&(A.authority=this.authority),this.query&&(A.query=this.query),this.fragment&&(A.fragment=this.fragment),A}}const b={[a.CharCode.Colon]:"%3A",[a.CharCode.Slash]:"%2F",[a.CharCode.QuestionMark]:"%3F",[a.CharCode.Hash]:"%23",[a.CharCode.OpenSquareBracket]:"%5B",[a.CharCode.CloseSquareBracket]:"%5D",[a.CharCode.AtSign]:"%40",[a.CharCode.ExclamationMark]:"%21",[a.CharCode.DollarSign]:"%24",[a.CharCode.Ampersand]:"%26",[a.CharCode.SingleQuote]:"%27",[a.CharCode.OpenParen]:"%28",[a.CharCode.CloseParen]:"%29",[a.CharCode.Asterisk]:"%2A",[a.CharCode.Plus]:"%2B",[a.CharCode.Comma]:"%2C",[a.CharCode.Semicolon]:"%3B",[a.CharCode.Equals]:"%3D",[a.CharCode.Space]:"%20"};function v(y,A,S){let q,j=-1;for(let R=0;R<y.length;R++){const g=y.charCodeAt(R);if(g>=a.CharCode.a&&g<=a.CharCode.z||g>=a.CharCode.A&&g<=a.CharCode.Z||g>=a.CharCode.Digit0&&g<=a.CharCode.Digit9||g===a.CharCode.Dash||g===a.CharCode.Period||g===a.CharCode.Underline||g===a.CharCode.Tilde||A&&g===a.CharCode.Slash||S&&g===a.CharCode.OpenSquareBracket||S&&g===a.CharCode.CloseSquareBracket||S&&g===a.CharCode.Colon)j!==-1&&(q+=encodeURIComponent(y.substring(j,R)),j=-1),q!==void 0&&(q+=y.charAt(R));else{q===void 0&&(q=y.substr(0,R));const T=b[g];T!==void 0?(j!==-1&&(q+=encodeURIComponent(y.substring(j,R)),j=-1),q+=T):j===-1&&(j=R)}}return j!==-1&&(q+=encodeURIComponent(y.substring(j))),q!==void 0?q:y}function r(y){let A;for(let S=0;S<y.length;S++){const q=y.charCodeAt(S);q===a.CharCode.Hash||q===a.CharCode.QuestionMark?(A===void 0&&(A=y.substr(0,S)),A+=b[q]):A!==void 0&&(A+=y[S])}return A!==void 0?A:y}function i(y,A){let S;return y.authority&&y.path.length>1&&y.scheme==="file"?S=`//${y.authority}${y.path}`:y.path.charCodeAt(0)===a.CharCode.Slash&&(y.path.charCodeAt(1)>=a.CharCode.A&&y.path.charCodeAt(1)<=a.CharCode.Z||y.path.charCodeAt(1)>=a.CharCode.a&&y.path.charCodeAt(1)<=a.CharCode.z)&&y.path.charCodeAt(2)===a.CharCode.Colon?A?S=y.path.substr(1):S=y.path[1].toLowerCase()+y.path.substr(2):S=y.path,$.$i&&(S=S.replace(/\//g,"\\")),S}function n(y,A){const S=A?r:v;let q="",{scheme:j,authority:R,path:g,query:T,fragment:I}=y;if(j&&(q+=j,q+=":"),(R||j==="file")&&(q+=u,q+=u),R){let D=R.indexOf("@");if(D!==-1){const F=R.substr(0,D);R=R.substr(D+1),D=F.lastIndexOf(":"),D===-1?q+=S(F,!1,!1):(q+=S(F.substr(0,D),!1,!1),q+=":",q+=S(F.substr(D+1),!1,!0)),q+="@"}R=R.toLowerCase(),D=R.lastIndexOf(":"),D===-1?q+=S(R,!1,!0):(q+=S(R.substr(0,D),!1,!0),q+=R.substr(D))}if(g){if(g.length>=3&&g.charCodeAt(0)===a.CharCode.Slash&&g.charCodeAt(2)===a.CharCode.Colon){const D=g.charCodeAt(1);D>=a.CharCode.A&&D<=a.CharCode.Z&&(g=`/${String.fromCharCode(D+32)}:${g.substr(3)}`)}else if(g.length>=2&&g.charCodeAt(1)===a.CharCode.Colon){const D=g.charCodeAt(0);D>=a.CharCode.A&&D<=a.CharCode.Z&&(g=`${String.fromCharCode(D+32)}:${g.substr(2)}`)}q+=S(g,!0,!1)}return T&&(q+="?",q+=S(T,!1,!1)),I&&(q+="#",q+=A?I:v(I,!1,!1)),q}function k(y){try{return decodeURIComponent(y)}catch{return y.length>3?y.substr(0,3)+k(y.substr(3)):y}}const _=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function O(y){return y.match(_)?y.replace(_,A=>k(A)):y}}),define(he[62],fe([0,1,6]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$br=t,e.$cr=L,e.$dr=$,e.log=P;function t(o){const E=o;return E&&typeof E.type=="string"&&typeof E.severity=="string"}function L(o){const E=[];let p;try{const d=JSON.parse(o.arguments),u=d[d.length-1];u&&u.__$stack&&(d.pop(),p=u.__$stack),E.push(...d)}catch{E.push("Unable to log remote console arguments",o.arguments)}return{args:E,stack:p}}function $(o){if(typeof o!="string")return $(L(o).stack);const E=o;if(E){const p=B(E),d=/at [^\/]*((?:(?:[a-zA-Z]+:)|(?:[\/])|(?:\\\\))(?:.+)):(\d+):(\d+)/.exec(p||"");if(d&&d.length===4)return{uri:a.URI.file(d[1]),line:Number(d[2]),column:Number(d[3])}}}function B(o){if(!o)return o;const E=o.indexOf(`
`);return E===-1?o:o.substring(0,E)}function P(o,E){const{args:p,stack:d}=L(o),u=typeof p[0]=="string"&&p.length===1;let c=B(d);c&&(c=`(${c.trim()})`);let h=[];if(typeof p[0]=="string"?c&&u?h=[`%c[${E}] %c${p[0]} %c${c}`,w("blue"),w(""),w("grey")]:h=[`%c[${E}] %c${p[0]}`,w("blue"),w(""),...p.slice(1)]:h=[`%c[${E}]%`,w("blue"),...p],c&&!u&&h.push(c),typeof console[o.severity]!="function")throw new Error("Unknown console method");console[o.severity].apply(console,h)}function w(o){return`color: ${o}`}}),define(he[63],fe([0,1,20,6,29]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$bi=$,e.$ci=B,e.$di=w;function $(o){return JSON.stringify(o,P)}function B(o){let E=JSON.parse(o);return E=w(E),E}function P(o,E){return E instanceof RegExp?{$mid:L.MarshalledId.Regexp,source:E.source,flags:E.flags}:E}function w(o,E=0){if(!o||E>200)return o;if(typeof o=="object"){switch(o.$mid){case L.MarshalledId.Uri:return t.URI.revive(o);case L.MarshalledId.Regexp:return new RegExp(o.source,o.flags);case L.MarshalledId.Date:return new Date(o.source)}if(o instanceof a.$Pe||o instanceof Uint8Array)return o;if(Array.isArray(o))for(let p=0;p<o.length;++p)o[p]=w(o[p],E+1);else for(const p in o)Object.hasOwnProperty.call(o,p)&&(o[p]=w(o[p],E+1))}return o}}),define(he[21],fe([0,1,7,3,10,6,5]),function(ie,e,a,t,L,$,B){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.COI=e.$1g=e.$Zg=e.$Yg=e.$Xg=e.$Wg=e.$Vg=e.$Tg=e.$Sg=e.$Rg=e.Schemas=void 0,e.$Pg=w,e.$Qg=o,e.$Ug=p,a=Ae(a),t=Ae(t),B=Ae(B);var P;(function(c){c.inMemory="inmemory",c.vscode="vscode",c.internal="private",c.walkThrough="walkThrough",c.walkThroughSnippet="walkThroughSnippet",c.http="http",c.https="https",c.file="file",c.mailto="mailto",c.untitled="untitled",c.data="data",c.command="command",c.vscodeRemote="vscode-remote",c.vscodeRemoteResource="vscode-remote-resource",c.vscodeManagedRemoteResource="vscode-managed-remote-resource",c.vscodeUserData="vscode-userdata",c.vscodeCustomEditor="vscode-custom-editor",c.vscodeNotebookCell="vscode-notebook-cell",c.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",c.vscodeNotebookCellOutput="vscode-notebook-cell-output",c.vscodeInteractiveInput="vscode-interactive-input",c.vscodeSettings="vscode-settings",c.vscodeWorkspaceTrust="vscode-workspace-trust",c.vscodeTerminal="vscode-terminal",c.vscodeChatCodeBlock="vscode-chat-code-block",c.vscodeCopilotBackingChatCodeBlock="vscode-copilot-chat-code-block",c.vscodeChatCodeCompareBlock="vscode-chat-code-compare-block",c.vscodeChatSesssion="vscode-chat-editor",c.webviewPanel="webview-panel",c.vscodeWebview="vscode-webview",c.extension="extension",c.vscodeFileResource="vscode-file",c.tmp="tmp",c.vsls="vsls",c.vscodeSourceControl="vscode-scm",c.commentsInput="comment",c.codeSetting="code-setting"})(P||(e.Schemas=P={}));function w(c,h){return $.URI.isUri(c)?(0,L.$Hf)(c.scheme,h):(0,L.$If)(c,h+":")}function o(c,...h){return h.some(m=>w(c,m))}e.$Rg="vscode-tkn",e.$Sg="tkn";class E{constructor(){this.a=Object.create(null),this.b=Object.create(null),this.c=Object.create(null),this.d="http",this.e=null,this.f="/"}setPreferredWebSchema(h){this.d=h}setDelegate(h){this.e=h}setServerRootPath(h,m){this.f=p(h,m)}getServerRootPath(){return this.f}get g(){return B.$jc.join(this.f,P.vscodeRemoteResource)}set(h,m,l){this.a[h]=m,this.b[h]=l}setConnectionToken(h,m){this.c[h]=m}getPreferredWebSchema(){return this.d}rewrite(h){if(this.e)try{return this.e(h)}catch(r){return a.$3(r),h}const m=h.authority;let l=this.a[m];l&&l.indexOf(":")!==-1&&l.indexOf("[")===-1&&(l=`[${l}]`);const s=this.b[m],b=this.c[m];let v=`path=${encodeURIComponent(h.path)}`;return typeof b=="string"&&(v+=`&${e.$Sg}=${encodeURIComponent(b)}`),$.URI.from({scheme:t.$o?this.d:P.vscodeRemoteResource,authority:`${l}:${s}`,path:this.g,query:v})}}e.$Tg=new E;function p(c,h){return B.$jc.join(h??"/",`${c.quality??"oss"}-${c.commit??"dev"}`)}e.$Vg="vs/../../extensions",e.$Wg="vs/../../node_modules",e.$Xg="vs/../../node_modules.asar",e.$Yg="vs/../../node_modules.asar.unpacked",e.$Zg="vscode-app";class d{static{this.a=e.$Zg}asBrowserUri(h){const m=this.b(h,ie);return this.uriToBrowserUri(m)}uriToBrowserUri(h){return h.scheme===P.vscodeRemote?e.$Tg.rewrite(h):h.scheme===P.file&&(t.$m||t.$q===`${P.vscodeFileResource}://${d.a}`)?h.with({scheme:P.vscodeFileResource,authority:h.authority||d.a,query:null,fragment:null}):h}asFileUri(h){const m=this.b(h,ie);return this.uriToFileUri(m)}uriToFileUri(h){return h.scheme===P.vscodeFileResource?h.with({scheme:P.file,authority:h.authority!==d.a?h.authority:null,query:null,fragment:null}):h}b(h,m){return $.URI.isUri(h)?h:$.URI.parse(m.toUrl(h))}}e.$1g=new d;var u;(function(c){const h=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);c.CoopAndCoep=Object.freeze(h.get("3"));const m="vscode-coi";function l(b){let v;typeof b=="string"?v=new URL(b).searchParams:b instanceof URL?v=b.searchParams:$.URI.isUri(b)&&(v=new URL(b.toString(!0)).searchParams);const r=v?.get(m);if(r)return h.get(r)}c.getHeadersFromQuery=l;function s(b,v,r){if(!globalThis.crossOriginIsolated)return;const i=v&&r?"3":r?"2":"1";b instanceof URLSearchParams?b.set(m,i):b[m]=i}c.addSearchParam=s})(u||(e.COI=u={}))}),define(he[26],fe([0,1,14,35,21,5,3,10,6]),function(ie,e,a,t,L,$,B,P,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataUri=e.$ph=e.$oh=e.$nh=e.$mh=e.$lh=e.$kh=e.$jh=e.$ih=e.$hh=e.$gh=e.$fh=e.$eh=e.$dh=e.$ch=e.$bh=e.$ah=e.$_g=e.$$g=e.$0g=e.$9g=void 0,e.$8g=o,e.$qh=p,e.$rh=u,t=Ae(t),$=Ae($);function o(c){return(0,w.$zc)(c,!0)}class E{constructor(h){this.a=h}compare(h,m,l=!1){return h===m?0:(0,P.$Af)(this.getComparisonKey(h,l),this.getComparisonKey(m,l))}isEqual(h,m,l=!1){return h===m?!0:!h||!m?!1:this.getComparisonKey(h,l)===this.getComparisonKey(m,l)}getComparisonKey(h,m=!1){return h.with({path:this.a(h)?h.path.toLowerCase():void 0,fragment:m?null:void 0}).toString()}ignorePathCasing(h){return this.a(h)}isEqualOrParent(h,m,l=!1){if(h.scheme===m.scheme){if(h.scheme===L.Schemas.file)return t.$Fg(o(h),o(m),this.a(h))&&h.query===m.query&&(l||h.fragment===m.fragment);if((0,e.$mh)(h.authority,m.authority))return t.$Fg(h.path,m.path,this.a(h),"/")&&h.query===m.query&&(l||h.fragment===m.fragment)}return!1}joinPath(h,...m){return w.URI.joinPath(h,...m)}basenameOrAuthority(h){return(0,e.$eh)(h)||h.authority}basename(h){return $.$jc.basename(h.path)}extname(h){return $.$jc.extname(h.path)}dirname(h){if(h.path.length===0)return h;let m;return h.scheme===L.Schemas.file?m=w.URI.file($.$pc(o(h))).path:(m=$.$jc.dirname(h.path),h.authority&&m.length&&m.charCodeAt(0)!==a.CharCode.Slash&&(console.error(`dirname("${h.toString})) resulted in a relative path`),m="/")),h.with({path:m})}normalizePath(h){if(!h.path.length)return h;let m;return h.scheme===L.Schemas.file?m=w.URI.file($.$kc(o(h))).path:m=$.$jc.normalize(h.path),h.with({path:m})}relativePath(h,m){if(h.scheme!==m.scheme||!(0,e.$mh)(h.authority,m.authority))return;if(h.scheme===L.Schemas.file){const b=$.$oc(o(h),o(m));return B.$i?t.$zg(b):b}let l=h.path||"/";const s=m.path||"/";if(this.a(h)){let b=0;for(const v=Math.min(l.length,s.length);b<v&&!(l.charCodeAt(b)!==s.charCodeAt(b)&&l.charAt(b).toLowerCase()!==s.charAt(b).toLowerCase());b++);l=s.substr(0,b)+l.substr(b)}return $.$jc.relative(l,s)}resolvePath(h,m){if(h.scheme===L.Schemas.file){const l=w.URI.file($.$nc(o(h),m));return h.with({authority:l.authority,path:l.path})}return m=t.$Ag(m),h.with({path:$.$jc.resolve(h.path,m)})}isAbsolutePath(h){return!!h.path&&h.path[0]==="/"}isEqualAuthority(h,m){return h===m||h!==void 0&&m!==void 0&&(0,P.$Hf)(h,m)}hasTrailingPathSeparator(h,m=$.sep){if(h.scheme===L.Schemas.file){const l=o(h);return l.length>t.$Bg(l).length&&l[l.length-1]===m}else{const l=h.path;return l.length>1&&l.charCodeAt(l.length-1)===a.CharCode.Slash&&!/^[a-zA-Z]:(\/$|\\$)/.test(h.fsPath)}}removeTrailingPathSeparator(h,m=$.sep){return(0,e.$nh)(h,m)?h.with({path:h.path.substr(0,h.path.length-1)}):h}addTrailingPathSeparator(h,m=$.sep){let l=!1;if(h.scheme===L.Schemas.file){const s=o(h);l=s!==void 0&&s.length===t.$Bg(s).length&&s[s.length-1]===m}else{m="/";const s=h.path;l=s.length===1&&s.charCodeAt(s.length-1)===a.CharCode.Slash}return!l&&!(0,e.$nh)(h,m)?h.with({path:h.path+"/"}):h}}e.$9g=E,e.$0g=new E(()=>!1),e.$$g=new E(c=>c.scheme===L.Schemas.file?!B.$k:!0),e.$_g=new E(c=>!0),e.$ah=e.$0g.isEqual.bind(e.$0g),e.$bh=e.$0g.isEqualOrParent.bind(e.$0g),e.$ch=e.$0g.getComparisonKey.bind(e.$0g),e.$dh=e.$0g.basenameOrAuthority.bind(e.$0g),e.$eh=e.$0g.basename.bind(e.$0g),e.$fh=e.$0g.extname.bind(e.$0g),e.$gh=e.$0g.dirname.bind(e.$0g),e.$hh=e.$0g.joinPath.bind(e.$0g),e.$ih=e.$0g.normalizePath.bind(e.$0g),e.$jh=e.$0g.relativePath.bind(e.$0g),e.$kh=e.$0g.resolvePath.bind(e.$0g),e.$lh=e.$0g.isAbsolutePath.bind(e.$0g),e.$mh=e.$0g.isEqualAuthority.bind(e.$0g),e.$nh=e.$0g.hasTrailingPathSeparator.bind(e.$0g),e.$oh=e.$0g.removeTrailingPathSeparator.bind(e.$0g),e.$ph=e.$0g.addTrailingPathSeparator.bind(e.$0g);function p(c,h){const m=[];for(let l=0;l<c.length;l++){const s=h(c[l]);c.some((b,v)=>v===l?!1:(0,e.$bh)(s,h(b)))||m.push(c[l])}return m}var d;(function(c){c.META_DATA_LABEL="label",c.META_DATA_DESCRIPTION="description",c.META_DATA_SIZE="size",c.META_DATA_MIME="mime";function h(m){const l=new Map;m.path.substring(m.path.indexOf(";")+1,m.path.lastIndexOf(";")).split(";").forEach(v=>{const[r,i]=v.split(":");r&&i&&l.set(r,i)});const b=m.path.substring(0,m.path.indexOf(";"));return b&&l.set(c.META_DATA_MIME,b),l}c.parseMetaData=h})(d||(e.DataUri=d={}));function u(c,h,m){if(h){let l=c.path;return l&&l[0]!==$.$jc.sep&&(l=$.$jc.sep+l),c.with({scheme:m,authority:h,path:l})}return c.with({scheme:m})}}),define(he[12],fe([0,1,19,7,4,2,26,3,52,25]),function(ie,e,a,t,L,$,B,P,w,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$0h=e.$8h=e.$7h=e.$6h=e.$5h=e.Promises=e.$4h=e.$3h=e.$2h=e.$Zh=e.$Yh=e.$Xh=e.$Wh=e.$Vh=e.$Uh=e.$Th=e.$Sh=e.$Rh=e.$Qh=e.$Ph=e.$Oh=e.$Nh=e.$Mh=e.$Gh=e.$Fh=e.$Eh=e.$Dh=e.$Ch=e.$Bh=e.$Ah=void 0,e.$sh=E,e.$th=p,e.$uh=d,e.$vh=u,e.$wh=c,e.$xh=h,e.$yh=m,e.$zh=l,e.$Hh=y,e.$Ih=A,e.$Jh=S,e.$Kh=q,e.$Lh=j,e.$1h=C,e.$9h=N;function E(W){return!!W&&typeof W.then=="function"}function p(W){const M=new a.$ye,x=W(M.token),ne=new Promise((oe,be)=>{const Ee=M.token.onCancellationRequested(()=>{Ee.dispose(),be(new t.$8)});Promise.resolve(x).then(me=>{Ee.dispose(),M.dispose(),oe(me)},me=>{Ee.dispose(),M.dispose(),be(me)})});return new class{cancel(){M.cancel(),M.dispose()}then(oe,be){return ne.then(oe,be)}catch(oe){return this.then(void 0,oe)}finally(oe){return ne.finally(oe)}}}function d(W,M,x){return new Promise((ne,oe)=>{const be=M.onCancellationRequested(()=>{be.dispose(),ne(x)});W.then(ne,oe).finally(()=>be.dispose())})}function u(W,M){return new Promise((x,ne)=>{const oe=M.onCancellationRequested(()=>{oe.dispose(),ne(new t.$8)});W.then(x,ne).finally(()=>oe.dispose())})}async function c(W){let M=-1;const x=W.map((ne,oe)=>ne.then(be=>(M=oe,be)));try{return await Promise.race(x)}finally{W.forEach((ne,oe)=>{oe!==M&&ne.cancel()})}}function h(W,M,x){let ne;const oe=setTimeout(()=>{ne?.(void 0),x?.()},M);return Promise.race([W.finally(()=>clearTimeout(oe)),new Promise(be=>ne=be)])}function m(W){return new Promise((M,x)=>{const ne=W();E(ne)?ne.then(M,x):M(ne)})}function l(){let W,M;return{promise:new Promise((ne,oe)=>{W=ne,M=oe}),resolve:W,reject:M}}class s{constructor(){this.f=!1,this.a=null,this.b=null,this.d=null}queue(M){if(this.f)return Promise.reject(new Error("Throttler is disposed"));if(this.a){if(this.d=M,!this.b){const x=()=>{if(this.b=null,this.f)return;const ne=this.queue(this.d);return this.d=null,ne};this.b=new Promise(ne=>{this.a.then(x,x).then(ne)})}return new Promise((x,ne)=>{this.b.then(x,ne)})}return this.a=M(),new Promise((x,ne)=>{this.a.then(oe=>{this.a=null,x(oe)},oe=>{this.a=null,ne(oe)})})}dispose(){this.f=!0}}e.$Ah=s;class b{constructor(){this.a=Promise.resolve(null)}queue(M){return this.a=this.a.then(()=>M(),()=>M())}}e.$Bh=b;class v{constructor(){this.a=new Map}queue(M,x){const oe=(this.a.get(M)??Promise.resolve()).catch(()=>{}).then(x).finally(()=>{this.a.get(M)===oe&&this.a.delete(M)});return this.a.set(M,oe),oe}}e.$Ch=v;const r=(W,M)=>{let x=!0;const ne=setTimeout(()=>{x=!1,M()},W);return{isTriggered:()=>x,dispose:()=>{clearTimeout(ne),x=!1}}},i=W=>{let M=!0;return queueMicrotask(()=>{M&&(M=!1,W())}),{isTriggered:()=>M,dispose:()=>{M=!1}}};class n{constructor(M){this.defaultDelay=M,this.a=null,this.b=null,this.d=null,this.f=null,this.g=null}trigger(M,x=this.defaultDelay){this.g=M,this.h(),this.b||(this.b=new Promise((oe,be)=>{this.d=oe,this.f=be}).then(()=>{if(this.b=null,this.d=null,this.g){const oe=this.g;return this.g=null,oe()}}));const ne=()=>{this.a=null,this.d?.(null)};return this.a=x===w.$ie?i(ne):r(x,ne),this.b}isTriggered(){return!!this.a?.isTriggered()}cancel(){this.h(),this.b&&(this.f?.(new t.$8),this.b=null)}h(){this.a?.dispose(),this.a=null}dispose(){this.cancel()}}e.$Dh=n;class k{constructor(M){this.a=new n(M),this.b=new s}trigger(M,x){return this.a.trigger(()=>this.b.queue(M),x)}isTriggered(){return this.a.isTriggered()}cancel(){this.a.cancel()}dispose(){this.a.dispose(),this.b.dispose()}}e.$Eh=k;class _{constructor(){this.a=!1,this.b=new Promise((M,x)=>{this.d=M})}isOpen(){return this.a}open(){this.a=!0,this.d(!0)}wait(){return this.b}}e.$Fh=_;class O extends _{constructor(M){super(),this.f=setTimeout(()=>this.open(),M)}open(){clearTimeout(this.f),super.open()}}e.$Gh=O;function y(W,M){return M?new Promise((x,ne)=>{const oe=setTimeout(()=>{be.dispose(),x()},W),be=M.onCancellationRequested(()=>{clearTimeout(oe),be.dispose(),ne(new t.$8)})}):p(x=>y(W,x))}function A(W,M=0,x){const ne=setTimeout(()=>{W(),x&&oe.dispose()},M),oe=(0,$.$Vc)(()=>{clearTimeout(ne),x?.deleteAndLeak(oe)});return x?.add(oe),oe}function S(W){const M=[];let x=0;const ne=W.length;function oe(){return x<ne?W[x++]():null}function be(Ee){Ee!=null&&M.push(Ee);const me=oe();return me?me.then(be):Promise.resolve(M)}return Promise.resolve(null).then(be)}function q(W,M=ne=>!!ne,x=null){let ne=0;const oe=W.length,be=()=>{if(ne>=oe)return Promise.resolve(x);const Ee=W[ne++];return Promise.resolve(Ee()).then(de=>M(de)?Promise.resolve(de):be())};return be()}function j(W,M=ne=>!!ne,x=null){if(W.length===0)return Promise.resolve(x);let ne=W.length;const oe=()=>{ne=-1;for(const be of W)be.cancel?.()};return new Promise((be,Ee)=>{for(const me of W)me.then(de=>{--ne>=0&&M(de)?(oe(),be(de)):ne===0&&be(x)}).catch(de=>{--ne>=0&&(oe(),Ee(de))})})}class R{constructor(M){this.a=0,this.b=!1,this.f=M,this.g=[],this.d=0,this.h=new L.$ne}whenIdle(){return this.size>0?L.Event.toPromise(this.onDrained):Promise.resolve()}get onDrained(){return this.h.event}get size(){return this.a}queue(M){if(this.b)throw new Error("Object has been disposed");return this.a++,new Promise((x,ne)=>{this.g.push({factory:M,c:x,e:ne}),this.j()})}j(){for(;this.g.length&&this.d<this.f;){const M=this.g.shift();this.d++;const x=M.factory();x.then(M.c,M.e),x.then(()=>this.k(),()=>this.k())}}k(){this.b||(this.d--,--this.a===0&&this.h.fire(),this.g.length>0&&this.j())}clear(){if(this.b)throw new Error("Object has been disposed");this.g.length=0,this.a=this.d}dispose(){this.b=!0,this.g.length=0,this.a=0,this.h.dispose()}}e.$Mh=R;class g extends R{constructor(){super(1)}}e.$Nh=g;class T{constructor(){this.a=new Q,this.b=0}queue(M){return this.a.isRunning()?this.a.queue(()=>this.a.run(this.b++,M())):this.a.run(this.b++,M())}}e.$Oh=T;class I{constructor(){this.a=new Map,this.b=new Set,this.d=void 0,this.f=0}async whenDrained(){if(this.g())return;const M=new G;return this.b.add(M),M.p}g(){for(const[,M]of this.a)if(M.size>0)return!1;return!0}queueSize(M,x=B.$0g){const ne=x.getComparisonKey(M);return this.a.get(ne)?.size??0}queueFor(M,x,ne=B.$0g){const oe=ne.getComparisonKey(M);let be=this.a.get(oe);if(!be){be=new g;const Ee=this.f++,me=L.Event.once(be.onDrained)(()=>{be?.dispose(),this.a.delete(oe),this.h(),this.d?.deleteAndDispose(Ee),this.d?.size===0&&(this.d.dispose(),this.d=void 0)});this.d||(this.d=new $.$7c),this.d.set(Ee,me),this.a.set(oe,be)}return be.queue(x)}h(){this.g()&&this.j()}j(){for(const M of this.b)M.complete();this.b.clear()}dispose(){for(const[,M]of this.a)M.dispose();this.a.clear(),this.j(),this.d?.dispose()}}e.$Ph=I;class D{constructor(M,x){this.b=!1,this.a=-1,typeof M=="function"&&typeof x=="number"&&this.setIfNotSet(M,x)}dispose(){this.cancel(),this.b=!0}cancel(){this.a!==-1&&(clearTimeout(this.a),this.a=-1)}cancelAndSet(M,x){if(this.b)throw new t.$fb("Calling 'cancelAndSet' on a disposed TimeoutTimer");this.cancel(),this.a=setTimeout(()=>{this.a=-1,M()},x)}setIfNotSet(M,x){if(this.b)throw new t.$fb("Calling 'setIfNotSet' on a disposed TimeoutTimer");this.a===-1&&(this.a=setTimeout(()=>{this.a=-1,M()},x))}}e.$Qh=D;class F{constructor(){this.d=void 0,this.f=!1}cancel(){this.d?.dispose(),this.d=void 0}cancelAndSet(M,x,ne=globalThis){if(this.f)throw new t.$fb("Calling 'cancelAndSet' on a disposed IntervalTimer");this.cancel();const oe=ne.setInterval(()=>{M()},x);this.d=(0,$.$Vc)(()=>{ne.clearInterval(oe),this.d=void 0})}dispose(){this.cancel(),this.f=!0}}e.$Rh=F;class J{constructor(M,x){this.b=-1,this.a=M,this.d=x,this.f=this.g.bind(this)}dispose(){this.cancel(),this.a=null}cancel(){this.isScheduled()&&(clearTimeout(this.b),this.b=-1)}schedule(M=this.d){this.cancel(),this.b=setTimeout(this.f,M)}get delay(){return this.d}set delay(M){this.d=M}isScheduled(){return this.b!==-1}flush(){this.isScheduled()&&(this.cancel(),this.h())}g(){this.b=-1,this.a&&this.h()}h(){this.a?.()}}e.$Sh=J;class V{constructor(M,x){x%1e3!==0&&console.warn(`ProcessTimeRunOnceScheduler resolution is 1s, ${x}ms is not a multiple of 1000ms.`),this.a=M,this.b=x,this.d=0,this.f=-1,this.g=this.h.bind(this)}dispose(){this.cancel(),this.a=null}cancel(){this.isScheduled()&&(clearInterval(this.f),this.f=-1)}schedule(M=this.b){M%1e3!==0&&console.warn(`ProcessTimeRunOnceScheduler resolution is 1s, ${M}ms is not a multiple of 1000ms.`),this.cancel(),this.d=Math.ceil(M/1e3),this.f=setInterval(this.g,1e3)}isScheduled(){return this.f!==-1}h(){this.d--,!(this.d>0)&&(clearInterval(this.f),this.f=-1,this.a?.())}}e.$Th=V;class Z extends J{constructor(M,x){super(M,x),this.j=[]}work(M){this.j.push(M),this.isScheduled()||this.schedule()}h(){const M=this.j;this.j=[],this.a?.(M)}dispose(){this.j=[],super.dispose()}}e.$Uh=Z;class re extends $.$Xc{constructor(M,x){super(),this.g=M,this.h=x,this.a=[],this.b=this.B(new $.$Yc),this.f=!1}get pending(){return this.a.length}work(M){if(this.f)return!1;if(typeof this.g.maxBufferedWork=="number"){if(this.b.value){if(this.pending+M.length>this.g.maxBufferedWork)return!1}else if(this.pending+M.length-this.g.maxWorkChunkSize>this.g.maxBufferedWork)return!1}for(const x of M)this.a.push(x);return this.b.value||this.j(),!0}j(){this.h(this.a.splice(0,this.g.maxWorkChunkSize)),this.a.length>0&&(this.b.value=new J(()=>{this.b.clear(),this.j()},this.g.throttleDelay),this.b.value.schedule())}dispose(){super.dispose(),this.f=!0}}e.$Vh=re,function(){typeof globalThis.requestIdleCallback!="function"||typeof globalThis.cancelIdleCallback!="function"?e.$Xh=(W,M)=>{(0,P.$B)(()=>{if(x)return;const ne=Date.now()+15;M(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,ne-Date.now())}}))});let x=!1;return{dispose(){x||(x=!0)}}}:e.$Xh=(W,M,x)=>{const ne=W.requestIdleCallback(M,typeof x=="number"?{timeout:x}:void 0);let oe=!1;return{dispose(){oe||(oe=!0,W.cancelIdleCallback(ne))}}},e.$Wh=W=>(0,e.$Xh)(globalThis,W)}();class ce{constructor(M,x){this.g=!1,this.d=()=>{try{this.j=x()}catch(ne){this.l=ne}finally{this.g=!0}},this.f=(0,e.$Xh)(M,()=>this.d())}dispose(){this.f.dispose()}get value(){if(this.g||(this.f.dispose(),this.d()),this.l)throw this.l;return this.j}get isInitialized(){return this.g}}e.$Yh=ce;class X extends ce{constructor(M){super(globalThis,M)}}e.$Zh=X;async function C(W,M,x){let ne;for(let oe=0;oe<x;oe++)try{return await W()}catch(be){ne=be,await y(M)}throw ne}class Q{isRunning(M){return typeof M=="number"?this.a?.taskId===M:!!this.a}get running(){return this.a?.promise}cancelRunning(){this.a?.cancel()}run(M,x,ne){return this.a={taskId:M,cancel:()=>ne?.(),promise:x},x.then(()=>this.d(M),()=>this.d(M)),x}d(M){this.a&&M===this.a.taskId&&(this.a=void 0,this.f())}f(){if(this.b){const M=this.b;this.b=void 0,M.run().then(M.promiseResolve,M.promiseReject)}}queue(M){if(this.b)this.b.run=M;else{const{promise:x,resolve:ne,reject:oe}=l();this.b={run:M,promise:x,promiseResolve:ne,promiseReject:oe}}return this.b.promise}hasQueued(){return!!this.b}async join(){return this.b?.promise??this.a?.promise}}e.$2h=Q;class ee{constructor(M,x=()=>Date.now()){this.d=M,this.f=x,this.a=0,this.b=0}increment(){const M=this.f();return M-this.a>this.d&&(this.a=M,this.b=0),this.b++,this.b}}e.$3h=ee;var le;(function(W){W[W.Resolved=0]="Resolved",W[W.Rejected=1]="Rejected"})(le||(le={}));class G{get isRejected(){return this.d?.outcome===le.Rejected}get isResolved(){return this.d?.outcome===le.Resolved}get isSettled(){return!!this.d}get value(){return this.d?.outcome===le.Resolved?this.d?.value:void 0}constructor(){this.p=new Promise((M,x)=>{this.a=M,this.b=x})}complete(M){return new Promise(x=>{this.a(M),this.d={outcome:le.Resolved,value:M},x()})}error(M){return new Promise(x=>{this.b(M),this.d={outcome:le.Rejected,value:M},x()})}cancel(){return this.error(new t.$8)}}e.$4h=G;var ae;(function(W){async function M(ne){let oe;const be=await Promise.all(ne.map(Ee=>Ee.then(me=>me,me=>{oe||(oe=me)})));if(typeof oe<"u")throw oe;return be}W.settled=M;function x(ne){return new Promise(async(oe,be)=>{try{await ne(oe,be)}catch(Ee){be(Ee)}})}W.withAsyncBody=x})(ae||(e.Promises=ae={}));class ge{get value(){return this.a}get error(){return this.b}get isResolved(){return this.d}constructor(M){this.a=void 0,this.b=void 0,this.d=!1,this.promise=M.then(x=>(this.a=x,this.d=!0,x),x=>{throw this.b=x,this.d=!0,x})}requireValue(){if(!this.d)throw new t.$fb("Promise is not resolved yet");if(this.b)throw this.b;return this.a}}e.$5h=ge;class te{constructor(M){this.b=M,this.a=new o.$X(()=>new ge(this.b()))}requireValue(){return this.a.value.requireValue()}getPromise(){return this.a.value.promise}get currentValue(){return this.a.rawValue?.value}}e.$6h=te;var f;(function(W){W[W.Initial=0]="Initial",W[W.DoneOK=1]="DoneOK",W[W.DoneError=2]="DoneError"})(f||(f={}));class H{static fromArray(M){return new H(x=>{x.emitMany(M)})}static fromPromise(M){return new H(async x=>{x.emitMany(await M)})}static fromPromises(M){return new H(async x=>{await Promise.all(M.map(async ne=>x.emitOne(await ne)))})}static merge(M){return new H(async x=>{await Promise.all(M.map(async ne=>{for await(const oe of ne)x.emitOne(oe)}))})}static{this.EMPTY=H.fromArray([])}constructor(M,x){this.a=f.Initial,this.b=[],this.d=null,this.f=x,this.g=new L.$ne,queueMicrotask(async()=>{const ne={emitOne:oe=>this.h(oe),emitMany:oe=>this.j(oe),reject:oe=>this.l(oe)};try{await Promise.resolve(M(ne)),this.k()}catch(oe){this.l(oe)}finally{ne.emitOne=void 0,ne.emitMany=void 0,ne.reject=void 0}})}[Symbol.asyncIterator](){let M=0;return{next:async()=>{do{if(this.a===f.DoneError)throw this.d;if(M<this.b.length)return{done:!1,value:this.b[M++]};if(this.a===f.DoneOK)return{done:!0,value:void 0};await L.Event.toPromise(this.g.event)}while(!0)},return:async()=>(this.f?.(),{done:!0,value:void 0})}}static map(M,x){return new H(async ne=>{for await(const oe of M)ne.emitOne(x(oe))})}map(M){return H.map(this,M)}static filter(M,x){return new H(async ne=>{for await(const oe of M)x(oe)&&ne.emitOne(oe)})}filter(M){return H.filter(this,M)}static coalesce(M){return H.filter(M,x=>!!x)}coalesce(){return H.coalesce(this)}static async toPromise(M){const x=[];for await(const ne of M)x.push(ne);return x}toPromise(){return H.toPromise(this)}h(M){this.a===f.Initial&&(this.b.push(M),this.g.fire())}j(M){this.a===f.Initial&&(this.b=this.b.concat(M),this.g.fire())}k(){this.a===f.Initial&&(this.a=f.DoneOK,this.g.fire())}l(M){this.a===f.Initial&&(this.a=f.DoneError,this.d=M,this.g.fire())}}e.$7h=H;class U extends H{constructor(M,x){super(x),this.m=M}cancel(){this.m.cancel()}}e.$8h=U;function N(W){const M=new a.$ye,x=W(M.token);return new U(M,async ne=>{const oe=M.token.onCancellationRequested(()=>{oe.dispose(),M.dispose(),ne.reject(new t.$8)});try{for await(const be of x){if(M.token.isCancellationRequested)return;ne.emitOne(be)}oe.dispose(),M.dispose()}catch(be){oe.dispose(),M.dispose(),ne.reject(be)}})}class K{constructor(M){this.a=new G,this.b=new H(oe=>{if(x){oe.reject(x);return}return ne&&oe.emitMany(ne),this.d=be=>oe.reject(be),this.f=be=>oe.emitOne(be),this.a.p},M);let x,ne;this.f=oe=>{ne||(ne=[]),ne.push(oe)},this.d=oe=>{x||(x=oe)}}get asyncIterable(){return this.b}resolve(){this.a.complete()}reject(M){this.d(M),this.a.complete()}emitOne(M){this.f(M)}}e.$0h=K}),define(he[64],fe([0,1,20,29,6]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Nn=e.$Mn=void 0,e.$On=w,e.$Pn=E,e.$Qn=p;function $(d){return d.toJSON()}class B{constructor(u){this.a=u}transformIncoming(u){const c=this.a.transformIncoming(u);return c===u?u:$(L.URI.from(c))}transformOutgoing(u){const c=this.a.transformOutgoing(u);return c===u?u:$(L.URI.from(c))}transformOutgoingURI(u){const c=this.a.transformOutgoing(u);return c===u?u:L.URI.from(c)}transformOutgoingScheme(u){return this.a.transformOutgoingScheme(u)}}e.$Mn=B,e.$Nn=new class{transformIncoming(d){return d}transformOutgoing(d){return d}transformOutgoingURI(d){return d}transformOutgoingScheme(d){return d}};function P(d,u,c){if(!d||c>200)return null;if(typeof d=="object"){if(d instanceof L.URI)return u.transformOutgoing(d);for(const h in d)if(Object.hasOwnProperty.call(d,h)){const m=P(d[h],u,c+1);m!==null&&(d[h]=m)}}return null}function w(d,u){const c=P(d,u,0);return c===null?d:c}function o(d,u,c,h){if(!d||h>200)return null;if(typeof d=="object"){if(d.$mid===t.MarshalledId.Uri)return c?L.URI.revive(u.transformIncoming(d)):u.transformIncoming(d);if(d instanceof a.$Pe)return null;for(const m in d)if(Object.hasOwnProperty.call(d,m)){const l=o(d[m],u,c,h+1);l!==null&&(d[m]=l)}}return null}function E(d,u){const c=o(d,u,!1,0);return c===null?d:c}function p(d,u){const c=o(d,u,!0,0);return c===null?d:c}}),define(he[27],fe([0,1,110,22,111,12,35,48,5,3,26,6]),function(ie,e,a,t,L,$,B,P,w,o,E,p){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Promises=e.SymlinkSupport=e.RimRafMode=void 0,e.rimrafSync=m,e.readdirSync=b,e.whenDeleted=i,e.configureFlushOnWrite=y,e.writeFileSync=S,a=Ae(a);var d;(function(V){V[V.UNLINK=0]="UNLINK",V[V.MOVE=1]="MOVE"})(d||(e.RimRafMode=d={}));async function u(V,Z=d.UNLINK,re){if((0,B.$Jg)(V))throw new Error("rimraf - will refuse to recursively delete root");return Z===d.UNLINK?h(V):c(V,re)}async function c(V,Z=(0,B.$Og)((0,t.tmpdir)())){try{try{await a.promises.rename(V,Z)}catch(re){return re.code==="ENOENT"?void 0:h(V)}h(Z).catch(re=>{})}catch(re){if(re.code!=="ENOENT")throw re}}async function h(V){return a.promises.rm(V,{recursive:!0,force:!0,maxRetries:3})}function m(V){if((0,B.$Jg)(V))throw new Error("rimraf - will refuse to recursively delete root");a.rmSync(V,{recursive:!0,force:!0,maxRetries:3})}async function l(V,Z){return v(await(Z?s(V):a.promises.readdir(V)))}async function s(V){try{return await a.promises.readdir(V,{withFileTypes:!0})}catch(ce){console.warn("[node.js fs] readdir with filetypes failed with error: ",ce)}const Z=[],re=await l(V);for(const ce of re){let X=!1,C=!1,Q=!1;try{const ee=await e.Promises.lstat((0,w.$mc)(V,ce));X=ee.isFile(),C=ee.isDirectory(),Q=ee.isSymbolicLink()}catch(ee){console.warn("[node.js fs] unexpected error from lstat after readdir: ",ee)}Z.push({name:ce,isFile:()=>X,isDirectory:()=>C,isSymbolicLink:()=>Q})}return Z}function b(V){return v(a.readdirSync(V))}function v(V){return V.map(Z=>typeof Z=="string"?o.$j?(0,P.$nm)(Z):Z:(Z.name=o.$j?(0,P.$nm)(Z.name):Z.name,Z))}async function r(V){const Z=await l(V),re=[];for(const ce of Z)await n.existsDirectory((0,w.$mc)(V,ce))&&re.push(ce);return re}function i(V,Z=1e3){return new Promise(re=>{let ce=!1;const X=setInterval(()=>{ce||(ce=!0,a.access(V,C=>{ce=!1,C&&(clearInterval(X),re(void 0))}))},Z)})}var n;(function(V){async function Z(X){let C;try{if(C=await e.Promises.lstat(X),!C.isSymbolicLink())return{stat:C}}catch{}try{return{stat:await e.Promises.stat(X),symbolicLink:C?.isSymbolicLink()?{dangling:!1}:void 0}}catch(Q){if(Q.code==="ENOENT"&&C)return{stat:C,symbolicLink:{dangling:!0}};if(o.$i&&Q.code==="EACCES")try{return{stat:await e.Promises.stat(await e.Promises.readlink(X)),symbolicLink:{dangling:!1}}}catch(ee){if(ee.code==="ENOENT"&&C)return{stat:C,symbolicLink:{dangling:!0}};throw ee}throw Q}}V.stat=Z;async function re(X){try{const{stat:C,symbolicLink:Q}=await V.stat(X);return C.isFile()&&Q?.dangling!==!0}catch{}return!1}V.existsFile=re;async function ce(X){try{const{stat:C,symbolicLink:Q}=await V.stat(X);return C.isDirectory()&&Q?.dangling!==!0}catch{}return!1}V.existsDirectory=ce})(n||(e.SymlinkSupport=n={}));const k=new $.$Ph;function _(V,Z,re){return k.queueFor(p.URI.file(V),()=>{const ce=q(re);return new Promise((X,C)=>A(V,Z,ce,Q=>Q?C(Q):X()))},E.$$g)}let O=!0;function y(V){O=V}function A(V,Z,re,ce){if(!O)return a.writeFile(V,Z,{mode:re.mode,flag:re.flag},ce);a.open(V,re.flag,re.mode,(X,C)=>{if(X)return ce(X);a.writeFile(C,Z,Q=>{if(Q)return a.close(C,()=>ce(Q));a.fdatasync(C,ee=>(ee&&(console.warn("[node.js fs] fdatasync is now disabled for this session because it failed: ",ee),y(!1)),a.close(C,le=>ce(le))))})})}function S(V,Z,re){const ce=q(re);if(!O)return a.writeFileSync(V,Z,{mode:ce.mode,flag:ce.flag});const X=a.openSync(V,ce.flag,ce.mode);try{a.writeFileSync(X,Z);try{a.fdatasyncSync(X)}catch(C){console.warn("[node.js fs] fdatasyncSync is now disabled for this session because it failed: ",C),y(!1)}}finally{a.closeSync(X)}}function q(V){return V?{mode:typeof V.mode=="number"?V.mode:438,flag:typeof V.flag=="string"?V.flag:"w"}:{mode:438,flag:"w"}}async function j(V,Z,re=6e4){if(V!==Z)try{o.$i&&typeof re=="number"?await R(V,Z,Date.now(),re):await a.promises.rename(V,Z)}catch(ce){if(V.toLowerCase()!==Z.toLowerCase()&&ce.code==="EXDEV"||V.endsWith("."))await g(V,Z,{preserveSymlinks:!1}),await u(V,d.MOVE);else throw ce}}async function R(V,Z,re,ce,X=0){try{return await a.promises.rename(V,Z)}catch(C){if(C.code!=="EACCES"&&C.code!=="EPERM"&&C.code!=="EBUSY")throw C;if(Date.now()-re>=ce)throw console.error(`[node.js fs] rename failed after ${X} retries with error: ${C}`),C;if(X===0){let Q=!1;try{const{stat:ee}=await n.stat(Z);ee.isFile()||(Q=!0)}catch{}if(Q)throw C}return await(0,$.$Hh)(Math.min(100,X*10)),R(V,Z,re,ce,X+1)}}async function g(V,Z,re){return I(V,Z,{root:{source:V,target:Z},options:re,handledSourcePaths:new Set})}const T=511;async function I(V,Z,re){if(re.handledSourcePaths.has(V))return;re.handledSourcePaths.add(V);const{stat:ce,symbolicLink:X}=await n.stat(V);if(X){if(re.options.preserveSymlinks)try{return await J(V,Z,re)}catch{}if(X.dangling)return}return ce.isDirectory()?D(V,Z,ce.mode&T,re):F(V,Z,ce.mode&T)}async function D(V,Z,re,ce){await e.Promises.mkdir(Z,{recursive:!0,mode:re});const X=await l(V);for(const C of X)await I((0,w.$mc)(V,C),(0,w.$mc)(Z,C),ce)}async function F(V,Z,re){await e.Promises.copyFile(V,Z),await e.Promises.chmod(Z,re)}async function J(V,Z,re){let ce=await e.Promises.readlink(V);(0,B.$Fg)(ce,re.root.source,!o.$k)&&(ce=(0,w.$mc)(re.root.target,ce.substr(re.root.source.length+1))),await e.Promises.symlink(ce,Z)}e.Promises=new class{get access(){return a.promises.access}get stat(){return a.promises.stat}get lstat(){return a.promises.lstat}get utimes(){return a.promises.utimes}get read(){return(V,Z,re,ce,X)=>new Promise((C,Q)=>{a.read(V,Z,re,ce,X,(ee,le,G)=>ee?Q(ee):C({bytesRead:le,buffer:G}))})}get readFile(){return a.promises.readFile}get write(){return(V,Z,re,ce,X)=>new Promise((C,Q)=>{a.write(V,Z,re,ce,X,(ee,le,G)=>ee?Q(ee):C({bytesWritten:le,buffer:G}))})}get appendFile(){return a.promises.appendFile}get fdatasync(){return(0,L.promisify)(a.fdatasync)}get truncate(){return a.promises.truncate}get copyFile(){return a.promises.copyFile}get open(){return(0,L.promisify)(a.open)}get close(){return(0,L.promisify)(a.close)}get symlink(){return a.promises.symlink}get readlink(){return a.promises.readlink}get chmod(){return a.promises.chmod}get mkdir(){return a.promises.mkdir}get unlink(){return a.promises.unlink}get rmdir(){return a.promises.rmdir}get realpath(){return(0,L.promisify)(a.realpath)}async exists(V){try{return await e.Promises.access(V),!0}catch{return!1}}get readdir(){return l}get readDirsInDir(){return r}get writeFile(){return _}get rm(){return u}get rename(){return j}get copy(){return g}}}),define(he[65],fe([0,1,22,5,27]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$wm=s,e.$xm=b,a=Ae(a),t=Ae(t),L=Ae(L);const $=/^\d+$/,B=/^Microsoft.PowerShell_.*/,P=/^Microsoft.PowerShellPreview_.*/;var w;(function(v){v[v.x64=0]="x64",v[v.x86=1]="x86",v[v.ARM=2]="ARM"})(w||(w={}));let o;switch(process.arch){case"ia32":o=w.x86;break;case"arm":case"arm64":o=w.ARM;break;default:o=w.x64;break}let E;process.env.PROCESSOR_ARCHITEW6432?E=process.env.PROCESSOR_ARCHITEW6432==="ARM64"?w.ARM:w.x64:process.env.PROCESSOR_ARCHITECTURE==="ARM64"?E=w.ARM:process.env.PROCESSOR_ARCHITECTURE==="X86"?E=w.x86:E=w.x64;class p{constructor(r,i,n){this.exePath=r,this.displayName=i,this.a=n}async exists(){return this.a===void 0&&(this.a=await L.SymlinkSupport.existsFile(this.exePath)),this.a}}function d({useAlternateBitness:v=!1}={}){return v?o===w.x64?process.env["ProgramFiles(x86)"]||null:E===w.x64&&process.env.ProgramW6432||null:process.env.ProgramFiles||null}async function u({useAlternateBitness:v=!1,findPreview:r=!1}={}){const i=d({useAlternateBitness:v});if(!i)return null;const n=t.$mc(i,"PowerShell");if(!await L.SymlinkSupport.existsDirectory(n))return null;let k=-1,_=null;for(const A of await L.Promises.readdir(n)){let S=-1;if(r){const j=A.indexOf("-");if(j<0)continue;const R=A.substring(0,j);if(!$.test(R)||A.substring(j+1)!=="preview")continue;S=parseInt(R,10)}else{if(!$.test(A))continue;S=parseInt(A,10)}if(S<=k)continue;const q=t.$mc(n,A,"pwsh.exe");await L.SymlinkSupport.existsFile(q)&&(_=q,k=S)}if(!_)return null;const O=i.includes("x86")?" (x86)":"",y=r?" Preview":"";return new p(_,`PowerShell${y}${O}`,!0)}async function c({findPreview:v}={}){if(!process.env.LOCALAPPDATA)return null;const r=t.$mc(process.env.LOCALAPPDATA,"Microsoft","WindowsApps");if(!await L.SymlinkSupport.existsDirectory(r))return null;const{pwshMsixDirRegex:i,pwshMsixName:n}=v?{pwshMsixDirRegex:P,pwshMsixName:"PowerShell Preview (Store)"}:{pwshMsixDirRegex:B,pwshMsixName:"PowerShell (Store)"};for(const k of await L.Promises.readdir(r))if(i.test(k)){const _=t.$mc(r,k,"pwsh.exe");return new p(_,n)}return null}function h(){const v=t.$mc(a.homedir(),".dotnet","tools","pwsh.exe");return new p(v,".NET Core PowerShell Global Tool")}function m(){const v=t.$mc(process.env.windir,o===w.x86&&E!==w.x86?"SysNative":"System32","WindowsPowerShell","v1.0","powershell.exe");return new p(v,"Windows PowerShell",!0)}async function*l(){let v=await u();v&&(yield v),v=await u({useAlternateBitness:!0}),v&&(yield v),v=await c(),v&&(yield v),v=h(),v&&(yield v),v=await u({findPreview:!0}),v&&(yield v),v=await c({findPreview:!0}),v&&(yield v),v=await u({useAlternateBitness:!0,findPreview:!0}),v&&(yield v),v=m(),v&&(yield v)}async function*s(){for await(const v of l())await v.exists()&&(yield v)}async function b(){for await(const v of s())return v;return null}}),define(he[37],fe([0,1,5,3,16,36,9,27]),function(ie,e,a,t,L,$,B,P){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.win32=e.TerminateResponseCode=e.Source=void 0,e.$ym=w,e.$zm=o,a=Ae(a),t=Ae(t),L=Ae(L),B=Ae(B),P=Ae(P),Object.defineProperty(e,"Source",{enumerable:!0,get:function(){return $.Source}}),Object.defineProperty(e,"TerminateResponseCode",{enumerable:!0,get:function(){return $.TerminateResponseCode}});function w(p=L.env){return p.comspec||"cmd.exe"}function o(p){let d=[],u=!1;const c=function(h){if(u){d.push(h);return}(!p.send(h,l=>{if(l&&console.error(l),u=!1,d.length>0){const s=d.slice(0);d=[],s.forEach(b=>c(b))}})||t.$i)&&(u=!0)};return{send:c}}var E;(function(p){async function d(u,c,h){if(a.$lc(u))return u;if(c===void 0&&(c=L.cwd()),a.$pc(u)!=="."||(h===void 0&&B.$gg(L.env.PATH)&&(h=L.env.PATH.split(a.$wc)),h===void 0||h.length===0))return a.$mc(c,u);async function l(s){if(await P.Promises.exists(s)){let b;try{b=await P.Promises.stat(s)}catch(v){v.message.startsWith("EACCES")&&(b=await P.Promises.lstat(s))}return b?!b.isDirectory():!1}return!1}for(const s of h){let b;if(a.$lc(s)?b=a.$mc(s,u):b=a.$mc(c,s,u),await l(b))return b;let v=b+".com";if(await l(v)||(v=b+".exe",await l(v)))return v}return a.$mc(c,u)}p.findExecutable=d})(E||(e.win32=E={}))}),define(he[66],fe([0,1,30,21]),function(ie,e,a,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Vs=L;function L(B){return new Promise((P,w)=>{let o;const E=new Map;function p(u,c,h,m,l){const s=E.get(c);if(u===B||s){const b={name:d(h),cmd:h,pid:u,ppid:c,load:m,mem:l};E.set(u,b),u===B&&(o=b),s&&(s.children||(s.children=[]),s.children.push(b),s.children.length>1&&(s.children=s.children.sort((v,r)=>v.pid-r.pid)))}}function d(u){const c=/--utility-sub-type=network/i,h=/--crashes-directory/i,m=/\\pipe\\winpty-control/i,l=/conhost\.exe.+--headless/i,s=/--type=([a-zA-Z-]+)/;if(h.exec(u))return"electron-crash-reporter";if(m.exec(u))return"winpty-agent";if(l.exec(u))return"conpty-agent";let b=s.exec(u);if(b&&b.length===2)return b[1]==="renderer"?"window":b[1]==="utility"?c.exec(u)?"utility-network-service":"utility-process":b[1]==="extensionHost"?"extension-host":b[1];const v=/[a-zA-Z-]+\.js/g;let r="";do b=v.exec(u),b&&(r+=b+" ");while(b);return r&&u.indexOf("node ")<0&&u.indexOf("node.exe")<0?`electron-nodejs (${r})`:u}if(process.platform==="win32"){const u=c=>c.indexOf("\\\\?\\")===0||c.indexOf("\\??\\")===0?c.substring(4):c.indexOf('"\\\\?\\')===0||c.indexOf('"\\??\\')===0?'"'+c.substring(5):c;new Promise((c,h)=>{ie(["@vscode/windows-process-tree"],c,h)}).then(Ae).then(c=>{c.getProcessList(B,h=>{if(!h){w(new Error(`Root process ${B} not found`));return}c.getProcessCpuUsage(h,m=>{const l=new Map;m.forEach(s=>{const b=u(s.commandLine||"");l.set(s.pid,{name:d(b),cmd:b,pid:s.pid,ppid:s.ppid,load:s.cpu||0,mem:s.memory||0})}),o=l.get(B),o?(l.forEach(s=>{const b=l.get(s.ppid);b&&(b.children||(b.children=[]),b.children.push(s))}),l.forEach(s=>{s.children&&(s.children=s.children.sort((b,v)=>b.pid-v.pid))}),P(o)):w(new Error(`Root process ${B} not found`))})},c.ProcessDataFlag.CommandLine|c.ProcessDataFlag.Memory)})}else{let u=function(){let c=[o];const h=[];for(;c.length;){const l=c.shift();l&&(h.push(l.pid),l.children&&(c=c.concat(l.children)))}let m=JSON.stringify(t.$1g.asFileUri("vs/base/node/cpuUsage.sh").fsPath);m+=" "+h.join(" "),(0,a.exec)(m,{},(l,s,b)=>{if(l||b)w(l||new Error(b.toString()));else{const v=s.toString().split(`
`);for(let r=0;r<h.length;r++){const i=E.get(h[r]);i.load=parseFloat(v[r])}if(!o){w(new Error(`Root process ${B} not found`));return}P(o)}})};(0,a.exec)("which ps",{},(c,h,m)=>{if(c||m)if(process.platform!=="linux")w(c||new Error(m.toString()));else{const l=JSON.stringify(t.$1g.asFileUri("vs/base/node/ps.sh").fsPath);(0,a.exec)(l,{},(s,b,v)=>{s||v?w(s||new Error(v.toString())):($(b,p),u())})}else{const l=h.toString().trim();(0,a.exec)(`${l} -ax -o pid=,ppid=,pcpu=,pmem=,command=`,{maxBuffer:1e3*1024,env:{LC_NUMERIC:"en_US.UTF-8"}},(b,v,r)=>{b||r&&!r.includes("screen size is bogus")?w(b||new Error(r.toString())):($(v,p),process.platform==="linux"?u():o?P(o):w(new Error(`Root process ${B} not found`)))})}})}})}function $(B,P){const w=/^\s*([0-9]+)\s+([0-9]+)\s+([0-9]+\.[0-9]+)\s+([0-9]+\.[0-9]+)\s+(.+)$/,o=B.toString().split(`
`);for(const E of o){const p=w.exec(E.trim());p&&p.length===6&&P(parseInt(p[1]),parseInt(p[2]),p[5],parseFloat(p[3]),parseFloat(p[4]))}}}),define(he[67],fe([0,1,22,3,65,37]),function(ie,e,a,t,L,$){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Am=B,t=Ae(t),$=Ae($);async function B(p,d){return p===t.OperatingSystem.Windows?t.$i?E():$.$ym(d):w(p,d)}let P=null;function w(p,d){if(t.$k&&p===t.OperatingSystem.Macintosh||t.$j&&p===t.OperatingSystem.Linux)return"/bin/bash";if(!P){let u;if(t.$i)u="/bin/bash";else{if(u=d.SHELL,!u)try{u=(0,a.userInfo)().shell}catch{}u||(u="sh"),u==="/bin/false"&&(u="/bin/bash")}P=u}return P}let o=null;async function E(){return o||(o=(await(0,L.$xm)()).exePath),o}});var pe=this&&this.__decorate||function(ie,e,a,t){var L=arguments.length,$=L<3?e:t===null?t=Object.getOwnPropertyDescriptor(e,a):t,B;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")$=Reflect.decorate(ie,e,a,t);else for(var P=ie.length-1;P>=0;P--)(B=ie[P])&&($=(L<3?B($):L>3?B(e,a,$):B(e,a))||$);return L>3&&$&&Object.defineProperty(e,a,$),$};define(he[31],fe([0,1,18,12,20,19,15,7,4,2,63,10,9]),function(ie,e,a,t,L,$,B,P,w,o,E,p,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$pi=e.ProxyChannel=e.$oi=e.$li=e.$ki=e.$ji=e.RequestInitiator=e.$ii=e.$fi=e.$ei=void 0,e.$gi=y,e.$hi=A,e.$mi=T,e.$ni=I,p=Ae(p);var u;(function(X){X[X.Promise=100]="Promise",X[X.PromiseCancel=101]="PromiseCancel",X[X.EventListen=102]="EventListen",X[X.EventDispose=103]="EventDispose"})(u||(u={}));function c(X){switch(X){case u.Promise:return"req";case u.PromiseCancel:return"cancel";case u.EventListen:return"subscribe";case u.EventDispose:return"unsubscribe"}}var h;(function(X){X[X.Initialize=200]="Initialize",X[X.PromiseSuccess=201]="PromiseSuccess",X[X.PromiseError=202]="PromiseError",X[X.PromiseErrorObj=203]="PromiseErrorObj",X[X.EventFire=204]="EventFire"})(h||(h={}));function m(X){switch(X){case h.Initialize:return"init";case h.PromiseSuccess:return"reply:";case h.PromiseError:case h.PromiseErrorObj:return"replyErr:";case h.EventFire:return"event:"}}var l;(function(X){X[X.Uninitialized=0]="Uninitialized",X[X.Idle=1]="Idle"})(l||(l={}));function s(X){let C=0;for(let Q=0;;Q+=7){const ee=X.read(1);if(C|=(ee.buffer[0]&127)<<Q,!(ee.buffer[0]&128))return C}}const b=k(0);function v(X,C){if(C===0){X.write(b);return}let Q=0;for(let le=C;le!==0;le=le>>>7)Q++;const ee=L.$Pe.alloc(Q);for(let le=0;C!==0;le++)ee.buffer[le]=C&127,C=C>>>7,C>0&&(ee.buffer[le]|=128);X.write(ee)}class r{constructor(C){this.b=C,this.a=0}read(C){const Q=this.b.slice(this.a,this.a+C);return this.a+=Q.byteLength,Q}}e.$ei=r;class i{constructor(){this.a=[]}get buffer(){return L.$Pe.concat(this.a)}write(C){this.a.push(C)}}e.$fi=i;var n;(function(X){X[X.Undefined=0]="Undefined",X[X.String=1]="String",X[X.Buffer=2]="Buffer",X[X.VSBuffer=3]="VSBuffer",X[X.Array=4]="Array",X[X.Object=5]="Object",X[X.Int=6]="Int"})(n||(n={}));function k(X){const C=L.$Pe.alloc(1);return C.writeUInt8(X,0),C}const _={Undefined:k(n.Undefined),String:k(n.String),Buffer:k(n.Buffer),VSBuffer:k(n.VSBuffer),Array:k(n.Array),Object:k(n.Object),Uint:k(n.Int)},O=typeof Buffer<"u";function y(X,C){if(typeof C>"u")X.write(_.Undefined);else if(typeof C=="string"){const Q=L.$Pe.fromString(C);X.write(_.String),v(X,Q.byteLength),X.write(Q)}else if(O&&Buffer.isBuffer(C)){const Q=L.$Pe.wrap(C);X.write(_.Buffer),v(X,Q.byteLength),X.write(Q)}else if(C instanceof L.$Pe)X.write(_.VSBuffer),v(X,C.byteLength),X.write(C);else if(Array.isArray(C)){X.write(_.Array),v(X,C.length);for(const Q of C)y(X,Q)}else if(typeof C=="number"&&(C|0)===C)X.write(_.Uint),v(X,C);else{const Q=L.$Pe.fromString(JSON.stringify(C));X.write(_.Object),v(X,Q.byteLength),X.write(Q)}}function A(X){switch(X.read(1).readUInt8(0)){case n.Undefined:return;case n.String:return X.read(s(X)).toString();case n.Buffer:return X.read(s(X)).buffer;case n.VSBuffer:return X.read(s(X));case n.Array:{const Q=s(X),ee=[];for(let le=0;le<Q;le++)ee.push(A(X));return ee}case n.Object:return JSON.parse(X.read(s(X)).toString());case n.Int:return s(X)}}class S{constructor(C,Q,ee=null,le=1e3){this.h=C,this.j=Q,this.k=ee,this.l=le,this.b=new Map,this.d=new Map,this.g=new Map,this.f=this.h.onMessage(G=>this.q(G)),this.m({type:h.Initialize})}registerChannel(C,Q){this.b.set(C,Q),setTimeout(()=>this.w(C),0)}m(C){switch(C.type){case h.Initialize:{const Q=this.o([C.type]);this.k?.logOutgoing(Q,0,q.OtherSide,m(C.type));return}case h.PromiseSuccess:case h.PromiseError:case h.EventFire:case h.PromiseErrorObj:{const Q=this.o([C.type,C.id],C.data);this.k?.logOutgoing(Q,C.id,q.OtherSide,m(C.type),C.data);return}}}o(C,Q=void 0){const ee=new i;return y(ee,C),y(ee,Q),this.p(ee.buffer)}p(C){try{return this.h.send(C),C.byteLength}catch{return 0}}q(C){const Q=new r(C),ee=A(Q),le=A(Q),G=ee[0];switch(G){case u.Promise:return this.k?.logIncoming(C.byteLength,ee[1],q.OtherSide,`${c(G)}: ${ee[2]}.${ee[3]}`,le),this.s({type:G,id:ee[1],channelName:ee[2],name:ee[3],arg:le});case u.EventListen:return this.k?.logIncoming(C.byteLength,ee[1],q.OtherSide,`${c(G)}: ${ee[2]}.${ee[3]}`,le),this.t({type:G,id:ee[1],channelName:ee[2],name:ee[3],arg:le});case u.PromiseCancel:return this.k?.logIncoming(C.byteLength,ee[1],q.OtherSide,`${c(G)}`),this.u({type:G,id:ee[1]});case u.EventDispose:return this.k?.logIncoming(C.byteLength,ee[1],q.OtherSide,`${c(G)}`),this.u({type:G,id:ee[1]})}}s(C){const Q=this.b.get(C.channelName);if(!Q){this.v(C);return}const ee=new $.$ye;let le;try{le=Q.call(this.j,C.name,C.arg,ee.token)}catch(ge){le=Promise.reject(ge)}const G=C.id;le.then(ge=>{this.m({id:G,data:ge,type:h.PromiseSuccess})},ge=>{ge instanceof Error?this.m({id:G,data:{message:ge.message,name:ge.name,stack:ge.stack?ge.stack.split(`
`):void 0},type:h.PromiseError}):this.m({id:G,data:ge,type:h.PromiseErrorObj})}).finally(()=>{ae.dispose(),this.d.delete(C.id)});const ae=(0,o.$Vc)(()=>ee.cancel());this.d.set(C.id,ae)}t(C){const Q=this.b.get(C.channelName);if(!Q){this.v(C);return}const ee=C.id,G=Q.listen(this.j,C.name,C.arg)(ae=>this.m({id:ee,data:ae,type:h.EventFire}));this.d.set(C.id,G)}u(C){const Q=this.d.get(C.id);Q&&(Q.dispose(),this.d.delete(C.id))}v(C){let Q=this.g.get(C.channelName);Q||(Q=[],this.g.set(C.channelName,Q));const ee=setTimeout(()=>{console.error(`Unknown channel: ${C.channelName}`),C.type===u.Promise&&this.m({id:C.id,data:{name:"Unknown channel",message:`Channel name '${C.channelName}' timed out after ${this.l}ms`,stack:void 0},type:h.PromiseError})},this.l);Q.push({request:C,timeoutTimer:ee})}w(C){const Q=this.g.get(C);if(Q){for(const ee of Q)switch(clearTimeout(ee.timeoutTimer),ee.request.type){case u.Promise:this.s(ee.request);break;case u.EventListen:this.t(ee.request);break}this.g.delete(C)}}dispose(){this.f&&(this.f.dispose(),this.f=null),(0,o.$Sc)(this.d.values()),this.d.clear()}}e.$ii=S;var q;(function(X){X[X.LocalSide=0]="LocalSide",X[X.OtherSide=1]="OtherSide"})(q||(e.RequestInitiator=q={}));class j{constructor(C,Q=null){this.l=C,this.a=!1,this.b=l.Uninitialized,this.d=new Set,this.f=new Map,this.g=0,this.k=new w.$ne,this.onDidInitialize=this.k.event,this.h=this.l.onMessage(ee=>this.s(ee)),this.j=Q}getChannel(C){const Q=this;return{call(ee,le,G){return Q.a?Promise.reject(new P.$8):Q.m(C,ee,le,G)},listen(ee,le){return Q.a?w.Event.None:Q.o(C,ee,le)}}}m(C,Q,ee,le=$.CancellationToken.None){const G=this.g++,ae=u.Promise,ge={id:G,type:ae,channelName:C,name:Q,arg:ee};if(le.isCancellationRequested)return Promise.reject(new P.$8);let te;return new Promise((H,U)=>{if(le.isCancellationRequested)return U(new P.$8);const N=()=>{const x=ne=>{switch(ne.type){case h.PromiseSuccess:this.f.delete(G),H(ne.data);break;case h.PromiseError:{this.f.delete(G);const oe=new Error(ne.data.message);oe.stack=Array.isArray(ne.data.stack)?ne.data.stack.join(`
`):ne.data.stack,oe.name=ne.data.name,U(oe);break}case h.PromiseErrorObj:this.f.delete(G),U(ne.data);break}};this.f.set(G,x),this.p(ge)};let K=null;this.b===l.Idle?N():(K=(0,t.$th)(x=>this.u()),K.then(()=>{K=null,N()}));const W=()=>{K?(K.cancel(),K=null):this.p({id:G,type:u.PromiseCancel}),U(new P.$8)},M=le.onCancellationRequested(W);te=(0,o.$Uc)((0,o.$Vc)(W),M),this.d.add(te)}).finally(()=>{te.dispose(),this.d.delete(te)})}o(C,Q,ee){const le=this.g++,G=u.EventListen,ae={id:le,type:G,channelName:C,name:Q,arg:ee};let ge=null;const te=new w.$ne({onWillAddFirstListener:()=>{ge=(0,t.$th)(H=>this.u()),ge.then(()=>{ge=null,this.d.add(te),this.p(ae)})},onDidRemoveLastListener:()=>{ge?(ge.cancel(),ge=null):(this.d.delete(te),this.p({id:le,type:u.EventDispose}))}}),f=H=>te.fire(H.data);return this.f.set(le,f),te.event}p(C){switch(C.type){case u.Promise:case u.EventListen:{const Q=this.q([C.type,C.id,C.channelName,C.name],C.arg);this.j?.logOutgoing(Q,C.id,q.LocalSide,`${c(C.type)}: ${C.channelName}.${C.name}`,C.arg);return}case u.PromiseCancel:case u.EventDispose:{const Q=this.q([C.type,C.id]);this.j?.logOutgoing(Q,C.id,q.LocalSide,c(C.type));return}}}q(C,Q=void 0){const ee=new i;return y(ee,C),y(ee,Q),this.r(ee.buffer)}r(C){try{return this.l.send(C),C.byteLength}catch{return 0}}s(C){const Q=new r(C),ee=A(Q),le=A(Q),G=ee[0];switch(G){case h.Initialize:return this.j?.logIncoming(C.byteLength,0,q.LocalSide,m(G)),this.t({type:ee[0]});case h.PromiseSuccess:case h.PromiseError:case h.EventFire:case h.PromiseErrorObj:return this.j?.logIncoming(C.byteLength,ee[1],q.LocalSide,m(G),le),this.t({type:ee[0],id:ee[1],data:le})}}t(C){if(C.type===h.Initialize){this.b=l.Idle,this.k.fire();return}this.f.get(C.id)?.(C)}get onDidInitializePromise(){return w.Event.toPromise(this.onDidInitialize)}u(){return this.b===l.Idle?Promise.resolve():this.onDidInitializePromise}dispose(){this.a=!0,this.h&&(this.h.dispose(),this.h=null),(0,o.$Sc)(this.d.values()),this.d.clear()}}e.$ji=j,pe([B.$$h],j.prototype,"onDidInitializePromise",null);class R{get connections(){const C=[];return this.f.forEach(Q=>C.push(Q)),C}constructor(C,Q,ee){this.a=new Map,this.f=new Set,this.g=new w.$ne,this.onDidAddConnection=this.g.event,this.h=new w.$ne,this.onDidRemoveConnection=this.h.event,this.j=new o.$Wc,this.j.add(C(({protocol:le,onDidClientDisconnect:G})=>{const ae=w.Event.once(le.onMessage);this.j.add(ae(ge=>{const te=new r(ge),f=A(te),H=new S(le,f,Q,ee),U=new j(le,Q);this.a.forEach((K,W)=>H.registerChannel(W,K));const N={channelServer:H,channelClient:U,ctx:f};this.f.add(N),this.g.fire(N),this.j.add(G(()=>{H.dispose(),U.dispose(),this.f.delete(N),this.h.fire(N)}))}))}))}getChannel(C,Q){const ee=this;return{call(le,G,ae){let ge;if((0,d.$ug)(Q)){const f=(0,a.$6b)(ee.connections.filter(Q));ge=f?Promise.resolve(f):w.Event.toPromise(w.Event.filter(ee.onDidAddConnection,Q))}else ge=Q.routeCall(ee,le,G);const te=ge.then(f=>f.channelClient.getChannel(C));return T(te).call(le,G,ae)},listen(le,G){if((0,d.$ug)(Q))return ee.k(C,Q,le,G);const ae=Q.routeEvent(ee,le,G).then(ge=>ge.channelClient.getChannel(C));return T(ae).listen(le,G)}}}k(C,Q,ee,le){const G=this;let ae;const ge=new w.$ne({onWillAddFirstListener:()=>{ae=new o.$Wc;const te=new w.$te,f=new Map,H=N=>{const W=N.channelClient.getChannel(C).listen(ee,le),M=te.add(W);f.set(N,M)},U=N=>{const K=f.get(N);K&&(K.dispose(),f.delete(N))};G.connections.filter(Q).forEach(H),w.Event.filter(G.onDidAddConnection,Q)(H,void 0,ae),G.onDidRemoveConnection(U,void 0,ae),te.event(ge.fire,ge,ae),ae.add(te)},onDidRemoveLastListener:()=>{ae?.dispose(),ae=void 0}});return ge.event}registerChannel(C,Q){this.a.set(C,Q);for(const ee of this.f)ee.channelServer.registerChannel(C,Q)}dispose(){this.j.dispose();for(const C of this.f)C.channelClient.dispose(),C.channelServer.dispose();this.f.clear(),this.a.clear(),this.g.dispose(),this.h.dispose()}}e.$ki=R;class g{constructor(C,Q,ee=null){const le=new i;y(le,Q),C.send(le.buffer),this.a=new j(C,ee),this.d=new S(C,Q,ee)}getChannel(C){return this.a.getChannel(C)}registerChannel(C,Q){this.d.registerChannel(C,Q)}dispose(){this.a.dispose(),this.d.dispose()}}e.$li=g;function T(X){return{call(C,Q,ee){return X.then(le=>le.call(C,Q,ee))},listen(C,Q){const ee=new w.$we;return X.then(le=>ee.input=le.listen(C,Q)),ee.event}}}function I(X){let C=!1;return{call(Q,ee,le){return C?X.call(Q,ee,le):(0,t.$Hh)(0).then(()=>C=!0).then(()=>X.call(Q,ee,le))},listen(Q,ee){if(C)return X.listen(Q,ee);const le=new w.$we;return(0,t.$Hh)(0).then(()=>C=!0).then(()=>le.input=X.listen(Q,ee)),le.event}}}class D{constructor(C){this.a=C}routeCall(C){return this.b(C)}routeEvent(C){return this.b(C)}async b(C){for(const Q of C.connections)if(await Promise.resolve(this.a(Q.ctx)))return Promise.resolve(Q);return await w.Event.toPromise(C.onDidAddConnection),await this.b(C)}}e.$oi=D;var F;(function(X){function C(G,ae,ge){const te=G,f=ge&&ge.disableMarshalling,H=new Map;for(const U in te)ee(U)&&H.set(U,w.Event.buffer(te[U],!0,void 0,ae));return new class{listen(U,N,K){const W=H.get(N);if(W)return W;const M=te[N];if(typeof M=="function"){if(le(N))return M.call(te,K);if(ee(N))return H.set(N,w.Event.buffer(te[N],!0,void 0,ae)),H.get(N)}throw new P.$eb(`Event not found: ${N}`)}call(U,N,K){const W=te[N];if(typeof W=="function"){if(!f&&Array.isArray(K))for(let x=0;x<K.length;x++)K[x]=(0,E.$di)(K[x]);let M=W.apply(te,K);return M instanceof Promise||(M=Promise.resolve(M)),M}throw new P.$eb(`Method not found: ${N}`)}}}X.fromService=C;function Q(G,ae){const ge=ae&&ae.disableMarshalling;return new Proxy({},{get(te,f){if(typeof f=="string")return ae?.properties?.has(f)?ae.properties.get(f):le(f)?function(H){return G.listen(f,H)}:ee(f)?G.listen(f):async function(...H){let U;ae&&!(0,d.$pg)(ae.context)?U=[ae.context,...H]:U=H;const N=await G.call(f,U);return ge?N:(0,E.$di)(N)};throw new P.$eb(`Property not found: ${String(f)}`)}})}X.toService=Q;function ee(G){return G[0]==="o"&&G[1]==="n"&&p.$Gf(G.charCodeAt(2))}function le(G){return/^onDynamic/.test(G)&&p.$Gf(G.charCodeAt(9))}})(F||(e.ProxyChannel=F={}));const J=[["#2977B1","#FC802D","#34A13A","#D3282F","#9366BA"],["#8B564C","#E177C0","#7F7F7F","#BBBE3D","#2EBECD"]];function V(X){if(Array.isArray(X))return X;if(X&&typeof X=="object"&&typeof X.toString=="function"){const C=X.toString();if(C!=="[object Object]")return C}return X}function Z(X){return Array.isArray(X)?X.map(V):V(X)}function re(X,C,Q,ee,le,G,ae){ae=Z(ae);const ge=J[le],te=ge[ee%ge.length];let f=[`%c[${X}]%c[${String(C).padStart(7," ")}]%c[len: ${String(Q).padStart(5," ")}]%c${String(ee).padStart(5," ")} - ${G}`,"color: darkgreen","color: grey","color: grey",`color: ${te}`];/\($/.test(G)?(f=f.concat(ae),f.push(")")):f.push(ae),console.log.apply(console,f)}class ce{constructor(C,Q){this.d=C,this.f=Q,this.a=0,this.b=0}logOutgoing(C,Q,ee,le,G){this.b+=C,re(this.d,this.b,C,Q,ee,le,G)}logIncoming(C,Q,ee,le,G){this.a+=C,re(this.f,this.a,C,Q,ee,le,G)}}e.$pi=ce}),define(he[68],fe([0,1,30,12,20,19,62,7,4,2,33,37,36,31]),function(ie,e,a,t,L,$,B,P,w,o,E,p,d,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$gr=e.$fr=void 0,P=Ae(P);class c extends u.$ii{constructor(l){super({send:s=>{try{process.send?.(s.buffer.toString("base64"))}catch{}},onMessage:w.Event.fromNodeEventEmitter(process,"message",s=>L.$Pe.wrap(Buffer.from(s,"base64")))},l),process.once("disconnect",()=>this.dispose())}}e.$fr=c;class h{constructor(l,s){this.i=l,this.j=s,this.c=new Set,this.g=new Map,this.h=new w.$ne,this.onDidProcessExit=this.h.event;const b=s&&s.timeout?s.timeout:6e4;this.b=new t.$Dh(b),this.d=null,this.f=null}getChannel(l){const s=this;return{call(b,v,r){return s.k(l,b,v,r)},listen(b,v){return s.l(l,b,v)}}}k(l,s,b,v=$.CancellationToken.None){if(!this.b)return Promise.reject(new Error("disposed"));if(v.isCancellationRequested)return Promise.reject(P.$9());this.b.cancel();const r=this.n(l),i=(0,t.$th)(_=>r.call(s,b,_)),n=v.onCancellationRequested(()=>i.cancel()),k=(0,o.$Vc)(()=>i.cancel());return this.c.add(k),i.finally(()=>{n.dispose(),this.c.delete(k),this.c.size===0&&this.b&&this.b.trigger(()=>this.o())}),i}l(l,s,b){if(!this.b)return w.Event.None;this.b.cancel();let v;const r=new w.$ne({onWillAddFirstListener:()=>{v=this.n(l).listen(s,b)(r.fire,r),this.c.add(v)},onDidRemoveLastListener:()=>{this.c.delete(v),v.dispose(),this.c.size===0&&this.b&&this.b.trigger(()=>this.o())}});return r.event}get m(){if(!this.f){const l=this.j&&this.j.args?this.j.args:[],s=Object.create(null);s.env={...(0,E.$eo)(process.env),VSCODE_PARENT_PID:String(process.pid)},this.j&&this.j.env&&(s.env={...s.env,...this.j.env}),this.j&&this.j.freshExecArgv&&(s.execArgv=[]),this.j&&typeof this.j.debug=="number"&&(s.execArgv=["--nolazy","--inspect="+this.j.debug]),this.j&&typeof this.j.debugBrk=="number"&&(s.execArgv=["--nolazy","--inspect-brk="+this.j.debugBrk]),s.execArgv===void 0&&(s.execArgv=process.execArgv.filter(y=>!/^--inspect(-brk)?=/.test(y)).filter(y=>!y.startsWith("--vscode-"))),(0,d.$mm)(s.env),this.d=(0,a.fork)(this.i,l,s);const b=new w.$ne,r=w.Event.fromNodeEventEmitter(this.d,"message",y=>y)(y=>{if((0,B.$br)(y)){(0,B.log)(y,`IPC Library: ${this.j.serverName}`);return}b.fire(L.$Pe.wrap(Buffer.from(y,"base64")))}),i=this.j.useQueue?(0,p.$zm)(this.d):this.d,n=y=>this.d&&this.d.connected&&i.send(y.buffer.toString("base64")),k=b.event,_={send:n,onMessage:k};this.f=new u.$ji(_);const O=()=>this.o();process.once("exit",O),this.d.on("error",y=>console.warn('IPC "'+this.j.serverName+'" errored with '+y)),this.d.on("exit",(y,A)=>{process.removeListener("exit",O),r.dispose(),this.c.forEach(S=>(0,o.$Sc)(S)),this.c.clear(),y!==0&&A!=="SIGTERM"&&console.warn('IPC "'+this.j.serverName+'" crashed with exit code '+y+" and signal "+A),this.b?.cancel(),this.o(),this.h.fire({code:y,signal:A})})}return this.f}n(l){let s=this.g.get(l);return s||(s=this.m.getChannel(l),this.g.set(l,s)),s}o(){this.f&&(this.d&&(this.d.kill(),this.d=null),this.f=null,this.g.clear())}dispose(){this.h.dispose(),this.b?.cancel(),this.b=void 0,this.o(),this.c.clear()}}e.$gr=h}),define(he[69],fe([0,1,34,20,31,4,9,18]),function(ie,e,a,t,L,$,B,P){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$SX=void 0,e.$TX=E;class w{constructor(d){this.a=d,this.onMessage=$.Event.fromNodeEventEmitter(this.a,"message",u=>u.data?t.$Pe.wrap(u.data):t.$Pe.alloc(0)),d.start()}send(d){this.a.postMessage(d.buffer)}disconnect(){this.a.close()}}class o extends L.$ki{static b(d){(0,B.$qg)((0,a.$RX)(process),"Electron Utility Process");const u=new $.$ne;return process.parentPort.on("message",c=>{if(d?.handledClientConnection(c))return;const h=(0,P.$Rb)(c.ports);h&&u.fire(h)}),$.Event.map(u.event,c=>({protocol:new w(c),onDidClientDisconnect:$.Event.fromNodeEventEmitter(c,"close")}))}constructor(d){super(o.b(d))}}e.$SX=o;function E(p,d,u){const c=h=>{h.data===d&&(p.removeListener("message",c),u())};p.on("message",c)}}),define(he[70],fe([13,11]),function(ie,e){return ie.create("vs/platform/contextkey/common/contextkey",e)}),define(he[71],fe([13,11]),function(ie,e){return ie.create("vs/platform/contextkey/common/scanner",e)}),define(he[72],fe([13,11]),function(ie,e){return ie.create("vs/platform/environment/node/argv",e)}),define(he[73],fe([13,11]),function(ie,e){return ie.create("vs/platform/files/common/files",e)}),define(he[74],fe([13,11]),function(ie,e){return ie.create("vs/platform/log/common/log",e)}),define(he[75],fe([13,11]),function(ie,e){return ie.create("vs/platform/terminal/node/ptyService",e)}),define(he[76],fe([13,11]),function(ie,e){return ie.create("vs/platform/terminal/node/terminalProcess",e)}),define(he[77],fe([0,1,14,7,71]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Bj=e.TokenType=void 0;var $;(function(E){E[E.LParen=0]="LParen",E[E.RParen=1]="RParen",E[E.Neg=2]="Neg",E[E.Eq=3]="Eq",E[E.NotEq=4]="NotEq",E[E.Lt=5]="Lt",E[E.LtEq=6]="LtEq",E[E.Gt=7]="Gt",E[E.GtEq=8]="GtEq",E[E.RegexOp=9]="RegexOp",E[E.RegexStr=10]="RegexStr",E[E.True=11]="True",E[E.False=12]="False",E[E.In=13]="In",E[E.Not=14]="Not",E[E.And=15]="And",E[E.Or=16]="Or",E[E.Str=17]="Str",E[E.QuotedStr=18]="QuotedStr",E[E.Error=19]="Error",E[E.EOF=20]="EOF"})($||(e.TokenType=$={}));function B(...E){switch(E.length){case 1:return(0,L.localize)(0,null,E[0]);case 2:return(0,L.localize)(1,null,E[0],E[1]);case 3:return(0,L.localize)(2,null,E[0],E[1],E[2]);default:return}}const P=(0,L.localize)(3,null),w=(0,L.localize)(4,null);class o{constructor(){this.c="",this.d=0,this.e=0,this.f=[],this.g=[],this.m=/[a-zA-Z0-9_<>\-\./\\:\*\?\+\[\]\^,#@;"%\$\p{L}-]+/uy}static getLexeme(p){switch(p.type){case $.LParen:return"(";case $.RParen:return")";case $.Neg:return"!";case $.Eq:return p.isTripleEq?"===":"==";case $.NotEq:return p.isTripleEq?"!==":"!=";case $.Lt:return"<";case $.LtEq:return"<=";case $.Gt:return">=";case $.GtEq:return">=";case $.RegexOp:return"=~";case $.RegexStr:return p.lexeme;case $.True:return"true";case $.False:return"false";case $.In:return"in";case $.Not:return"not";case $.And:return"&&";case $.Or:return"||";case $.Str:return p.lexeme;case $.QuotedStr:return p.lexeme;case $.Error:return p.lexeme;case $.EOF:return"EOF";default:throw(0,t.$$)(`unhandled token type: ${JSON.stringify(p)}; have you forgotten to add a case?`)}}static{this.a=new Set(["i","g","s","m","y","u"].map(p=>p.charCodeAt(0)))}static{this.b=new Map([["not",$.Not],["in",$.In],["false",$.False],["true",$.True]])}get errors(){return this.g}reset(p){return this.c=p,this.d=0,this.e=0,this.f=[],this.g=[],this}scan(){for(;!this.r();)switch(this.d=this.e,this.i()){case a.CharCode.OpenParen:this.k($.LParen);break;case a.CharCode.CloseParen:this.k($.RParen);break;case a.CharCode.ExclamationMark:if(this.h(a.CharCode.Equals)){const d=this.h(a.CharCode.Equals);this.f.push({type:$.NotEq,offset:this.d,isTripleEq:d})}else this.k($.Neg);break;case a.CharCode.SingleQuote:this.o();break;case a.CharCode.Slash:this.q();break;case a.CharCode.Equals:if(this.h(a.CharCode.Equals)){const d=this.h(a.CharCode.Equals);this.f.push({type:$.Eq,offset:this.d,isTripleEq:d})}else this.h(a.CharCode.Tilde)?this.k($.RegexOp):this.l(B("==","=~"));break;case a.CharCode.LessThan:this.k(this.h(a.CharCode.Equals)?$.LtEq:$.Lt);break;case a.CharCode.GreaterThan:this.k(this.h(a.CharCode.Equals)?$.GtEq:$.Gt);break;case a.CharCode.Ampersand:this.h(a.CharCode.Ampersand)?this.k($.And):this.l(B("&&"));break;case a.CharCode.Pipe:this.h(a.CharCode.Pipe)?this.k($.Or):this.l(B("||"));break;case a.CharCode.Space:case a.CharCode.CarriageReturn:case a.CharCode.Tab:case a.CharCode.LineFeed:case a.CharCode.NoBreakSpace:break;default:this.n()}return this.d=this.e,this.k($.EOF),Array.from(this.f)}h(p){return this.r()||this.c.charCodeAt(this.e)!==p?!1:(this.e++,!0)}i(){return this.c.charCodeAt(this.e++)}j(){return this.r()?a.CharCode.Null:this.c.charCodeAt(this.e)}k(p){this.f.push({type:p,offset:this.d})}l(p){const d=this.d,u=this.c.substring(this.d,this.e),c={type:$.Error,offset:this.d,lexeme:u};this.g.push({offset:d,lexeme:u,additionalInfo:p}),this.f.push(c)}n(){this.m.lastIndex=this.d;const p=this.m.exec(this.c);if(p){this.e=this.d+p[0].length;const d=this.c.substring(this.d,this.e),u=o.b.get(d);u?this.k(u):this.f.push({type:$.Str,lexeme:d,offset:this.d})}}o(){for(;this.j()!==a.CharCode.SingleQuote&&!this.r();)this.i();if(this.r()){this.l(P);return}this.i(),this.f.push({type:$.QuotedStr,lexeme:this.c.substring(this.d+1,this.e-1),offset:this.d+1})}q(){let p=this.e,d=!1,u=!1;for(;;){if(p>=this.c.length){this.e=p,this.l(w);return}const h=this.c.charCodeAt(p);if(d)d=!1;else if(h===a.CharCode.Slash&&!u){p++;break}else h===a.CharCode.OpenSquareBracket?u=!0:h===a.CharCode.Backslash?d=!0:h===a.CharCode.CloseSquareBracket&&(u=!1);p++}for(;p<this.c.length&&o.a.has(this.c.charCodeAt(p));)p++;this.e=p;const c=this.c.substring(this.d,this.e);this.f.push({type:$.RegexStr,lexeme:c,offset:this.d})}r(){return this.e>=this.c.length}}e.$Bj=o}),define(he[78],fe([0,1,58,15,21,5,16,26,6]),function(ie,e,a,t,L,$,B,P,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$6m=e.$5m=void 0,e.$7m=E,e.$8m=p,e.$5m=/^([^.]+\..+)[:=](.+)$/;class o{get appRoot(){return(0,$.$pc)(L.$1g.asFileUri("").fsPath)}get userHome(){return w.URI.file(this.b.homeDir)}get userDataPath(){return this.b.userDataDir}get appSettingsHome(){return w.URI.file((0,$.$mc)(this.userDataPath,"User"))}get tmpDir(){return w.URI.file(this.b.tmpDir)}get cacheHome(){return w.URI.file(this.userDataPath)}get stateResource(){return(0,P.$hh)(this.appSettingsHome,"globalStorage","storage.json")}get userRoamingDataHome(){return this.appSettingsHome.with({scheme:L.Schemas.vscodeUserData})}get userDataSyncHome(){return(0,P.$hh)(this.appSettingsHome,"sync")}get logsHome(){if(!this.args.logsPath){const u=(0,a.$4m)(new Date).replace(/-|:|\.\d+Z$/g,"");this.args.logsPath=(0,$.$mc)(this.userDataPath,"logs",u)}return w.URI.file(this.args.logsPath)}get sync(){return this.args.sync}get machineSettingsResource(){return(0,P.$hh)(w.URI.file((0,$.$mc)(this.userDataPath,"Machine")),"settings.json")}get workspaceStorageHome(){return(0,P.$hh)(this.appSettingsHome,"workspaceStorage")}get localHistoryHome(){return(0,P.$hh)(this.appSettingsHome,"History")}get keyboardLayoutResource(){return(0,P.$hh)(this.userRoamingDataHome,"keyboardLayout.json")}get argvResource(){const u=B.env.VSCODE_PORTABLE;return u?w.URI.file((0,$.$mc)(u,"argv.json")):(0,P.$hh)(this.userHome,this.c.dataFolderName,"argv.json")}get isExtensionDevelopment(){return!!this.args.extensionDevelopmentPath}get untitledWorkspacesHome(){return w.URI.file((0,$.$mc)(this.userDataPath,"Workspaces"))}get builtinExtensionsPath(){const u=this.args["builtin-extensions-dir"];return u?(0,$.$nc)(u):(0,$.$kc)((0,$.$mc)(L.$1g.asFileUri("").fsPath,"..","extensions"))}get extensionsDownloadLocation(){const u=this.args["extensions-download-dir"];return u?w.URI.file((0,$.$nc)(u)):w.URI.file((0,$.$mc)(this.userDataPath,"CachedExtensionVSIXs"))}get extensionsPath(){const u=this.args["extensions-dir"];if(u)return(0,$.$nc)(u);const c=B.env.VSCODE_EXTENSIONS;if(c)return c;const h=B.env.VSCODE_PORTABLE;return h?(0,$.$mc)(h,"extensions"):(0,P.$hh)(this.userHome,this.c.dataFolderName,"extensions").fsPath}get extensionDevelopmentLocationURI(){const u=this.args.extensionDevelopmentPath;if(Array.isArray(u))return u.map(c=>/^[^:/?#]+?:\/\//.test(c)?w.URI.parse(c):w.URI.file((0,$.$kc)(c)))}get extensionDevelopmentKind(){return this.args.extensionDevelopmentKind?.map(u=>u==="ui"||u==="workspace"||u==="web"?u:"workspace")}get extensionTestsLocationURI(){const u=this.args.extensionTestsPath;if(u)return/^[^:/?#]+?:\/\//.test(u)?w.URI.parse(u):w.URI.file((0,$.$kc)(u))}get disableExtensions(){if(this.args["disable-extensions"])return!0;const u=this.args["disable-extension"];if(u){if(typeof u=="string")return[u];if(Array.isArray(u)&&u.length>0)return u}return!1}get debugExtensionHost(){return E(this.args,this.isBuilt)}get debugRenderer(){return!!this.args.debugRenderer}get isBuilt(){return!B.env.VSCODE_DEV}get verbose(){return!!this.args.verbose}get logLevel(){return this.args.log?.find(u=>!e.$5m.test(u))}get extensionLogLevel(){const u=[];for(const c of this.args.log||[]){const h=e.$5m.exec(c);h&&h[1]&&h[2]&&u.push([h[1],h[2]])}return u.length?u:void 0}get serviceMachineIdResource(){return(0,P.$hh)(w.URI.file(this.userDataPath),"machineid")}get crashReporterId(){return this.args["crash-reporter-id"]}get crashReporterDirectory(){return this.args["crash-reporter-directory"]}get disableTelemetry(){return!!this.args["disable-telemetry"]}get disableWorkspaceTrust(){return!!this.args["disable-workspace-trust"]}get useInMemorySecretStorage(){return!!this.args["use-inmemory-secretstorage"]}get policyFile(){if(this.args["__enable-file-policy"]){const u=B.env.VSCODE_PORTABLE;return u?w.URI.file((0,$.$mc)(u,"policy.json")):(0,P.$hh)(this.userHome,this.c.dataFolderName,"policy.json")}}get continueOn(){return this.args.continueOn}set continueOn(u){this.args.continueOn=u}get args(){return this.a}constructor(u,c,h){this.a=u,this.b=c,this.c=h,this.editSessionId=this.args.editSessionId}}e.$6m=o,pe([t.$$h],o.prototype,"appRoot",null),pe([t.$$h],o.prototype,"userHome",null),pe([t.$$h],o.prototype,"userDataPath",null),pe([t.$$h],o.prototype,"appSettingsHome",null),pe([t.$$h],o.prototype,"tmpDir",null),pe([t.$$h],o.prototype,"cacheHome",null),pe([t.$$h],o.prototype,"stateResource",null),pe([t.$$h],o.prototype,"userRoamingDataHome",null),pe([t.$$h],o.prototype,"userDataSyncHome",null),pe([t.$$h],o.prototype,"sync",null),pe([t.$$h],o.prototype,"machineSettingsResource",null),pe([t.$$h],o.prototype,"workspaceStorageHome",null),pe([t.$$h],o.prototype,"localHistoryHome",null),pe([t.$$h],o.prototype,"keyboardLayoutResource",null),pe([t.$$h],o.prototype,"argvResource",null),pe([t.$$h],o.prototype,"isExtensionDevelopment",null),pe([t.$$h],o.prototype,"untitledWorkspacesHome",null),pe([t.$$h],o.prototype,"builtinExtensionsPath",null),pe([t.$$h],o.prototype,"extensionsPath",null),pe([t.$$h],o.prototype,"extensionDevelopmentLocationURI",null),pe([t.$$h],o.prototype,"extensionDevelopmentKind",null),pe([t.$$h],o.prototype,"extensionTestsLocationURI",null),pe([t.$$h],o.prototype,"debugExtensionHost",null),pe([t.$$h],o.prototype,"logLevel",null),pe([t.$$h],o.prototype,"extensionLogLevel",null),pe([t.$$h],o.prototype,"serviceMachineIdResource",null),pe([t.$$h],o.prototype,"disableTelemetry",null),pe([t.$$h],o.prototype,"disableWorkspaceTrust",null),pe([t.$$h],o.prototype,"useInMemorySecretStorage",null),pe([t.$$h],o.prototype,"policyFile",null);function E(d,u){return p(d["inspect-extensions"],d["inspect-brk-extensions"],5870,u,d.debugId,d.extensionEnvironment)}function p(d,u,c,h,m,l){const b=Number(u||d)||(h?null:c),v=b?!!u:!1;let r;if(l)try{r=JSON.parse(l)}catch{}return{port:b,break:v,debugId:m,env:r}}});var Ve=this&&this.__importDefault||function(ie){return ie&&ie.__esModule?ie:{default:ie}};define(he[79],fe([0,1,112,3,72]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Cm=e.$Bm=void 0,e.$Dm=P,e.$Em=o,e.$Fm=u,e.$Gm=c,a=Ve(a);const $={o:(0,L.localize)(0,null),e:(0,L.localize)(1,null),t:(0,L.localize)(2,null)};e.$Bm=["tunnel","serve-web"],e.$Cm={tunnel:{type:"subcommand",description:"Make the current machine accessible from vscode.dev or other machines through a secure tunnel",options:{"cli-data-dir":{type:"string",args:"dir",description:(0,L.localize)(3,null)},"disable-telemetry":{type:"boolean"},"telemetry-level":{type:"string"},user:{type:"subcommand",options:{login:{type:"subcommand",options:{provider:{type:"string"},"access-token":{type:"string"}}}}}}},"serve-web":{type:"subcommand",description:"Run a server that displays the editor UI in browsers.",options:{"cli-data-dir":{type:"string",args:"dir",description:(0,L.localize)(4,null)},"disable-telemetry":{type:"boolean"},"telemetry-level":{type:"string"}}},diff:{type:"boolean",cat:"o",alias:"d",args:["file","file"],description:(0,L.localize)(5,null)},merge:{type:"boolean",cat:"o",alias:"m",args:["path1","path2","base","result"],description:(0,L.localize)(6,null)},add:{type:"boolean",cat:"o",alias:"a",args:"folder",description:(0,L.localize)(7,null)},goto:{type:"boolean",cat:"o",alias:"g",args:"file:line[:character]",description:(0,L.localize)(8,null)},"new-window":{type:"boolean",cat:"o",alias:"n",description:(0,L.localize)(9,null)},"reuse-window":{type:"boolean",cat:"o",alias:"r",description:(0,L.localize)(10,null)},wait:{type:"boolean",cat:"o",alias:"w",description:(0,L.localize)(11,null)},waitMarkerFilePath:{type:"string"},locale:{type:"string",cat:"o",args:"locale",description:(0,L.localize)(12,null)},"user-data-dir":{type:"string",cat:"o",args:"dir",description:(0,L.localize)(13,null)},profile:{type:"string",cat:"o",args:"profileName",description:(0,L.localize)(14,null)},help:{type:"boolean",cat:"o",alias:"h",description:(0,L.localize)(15,null)},"extensions-dir":{type:"string",deprecates:["extensionHomePath"],cat:"e",args:"dir",description:(0,L.localize)(16,null)},"extensions-download-dir":{type:"string"},"builtin-extensions-dir":{type:"string"},"list-extensions":{type:"boolean",cat:"e",description:(0,L.localize)(17,null)},"show-versions":{type:"boolean",cat:"e",description:(0,L.localize)(18,null)},category:{type:"string",allowEmptyValue:!0,cat:"e",description:(0,L.localize)(19,null),args:"category"},"install-extension":{type:"string[]",cat:"e",args:"ext-id | path",description:(0,L.localize)(20,null)},"pre-release":{type:"boolean",cat:"e",description:(0,L.localize)(21,null)},"uninstall-extension":{type:"string[]",cat:"e",args:"ext-id",description:(0,L.localize)(22,null)},"update-extensions":{type:"boolean",cat:"e",description:(0,L.localize)(23,null)},"enable-proposed-api":{type:"string[]",allowEmptyValue:!0,cat:"e",args:"ext-id",description:(0,L.localize)(24,null)},version:{type:"boolean",cat:"t",alias:"v",description:(0,L.localize)(25,null)},verbose:{type:"boolean",cat:"t",global:!0,description:(0,L.localize)(26,null)},log:{type:"string[]",cat:"t",args:"level",global:!0,description:(0,L.localize)(27,null)},status:{type:"boolean",alias:"s",cat:"t",description:(0,L.localize)(28,null)},"prof-startup":{type:"boolean",cat:"t",description:(0,L.localize)(29,null)},"prof-append-timers":{type:"string"},"prof-duration-markers":{type:"string[]"},"prof-duration-markers-file":{type:"string"},"no-cached-data":{type:"boolean"},"prof-startup-prefix":{type:"string"},"prof-v8-extensions":{type:"boolean"},"disable-extensions":{type:"boolean",deprecates:["disableExtensions"],cat:"t",description:(0,L.localize)(30,null)},"disable-extension":{type:"string[]",cat:"t",args:"ext-id",description:(0,L.localize)(31,null)},sync:{type:"string",cat:"t",description:(0,L.localize)(32,null),args:["on | off"]},"inspect-extensions":{type:"string",allowEmptyValue:!0,deprecates:["debugPluginHost"],args:"port",cat:"t",description:(0,L.localize)(33,null)},"inspect-brk-extensions":{type:"string",allowEmptyValue:!0,deprecates:["debugBrkPluginHost"],args:"port",cat:"t",description:(0,L.localize)(34,null)},"disable-lcd-text":{type:"boolean",cat:"t",description:(0,L.localize)(35,null)},"disable-gpu":{type:"boolean",cat:"t",description:(0,L.localize)(36,null)},"disable-chromium-sandbox":{type:"boolean",cat:"t",description:(0,L.localize)(37,null)},sandbox:{type:"boolean"},telemetry:{type:"boolean",cat:"t",description:(0,L.localize)(38,null)},remote:{type:"string",allowEmptyValue:!0},"folder-uri":{type:"string[]",cat:"o",args:"uri"},"file-uri":{type:"string[]",cat:"o",args:"uri"},"locate-extension":{type:"string[]"},extensionDevelopmentPath:{type:"string[]"},extensionDevelopmentKind:{type:"string[]"},extensionTestsPath:{type:"string"},extensionEnvironment:{type:"string"},debugId:{type:"string"},debugRenderer:{type:"boolean"},"inspect-ptyhost":{type:"string",allowEmptyValue:!0},"inspect-brk-ptyhost":{type:"string",allowEmptyValue:!0},"inspect-search":{type:"string",deprecates:["debugSearch"],allowEmptyValue:!0},"inspect-brk-search":{type:"string",deprecates:["debugBrkSearch"],allowEmptyValue:!0},"inspect-sharedprocess":{type:"string",allowEmptyValue:!0},"inspect-brk-sharedprocess":{type:"string",allowEmptyValue:!0},"export-default-configuration":{type:"string"},"install-source":{type:"string"},"enable-smoke-test-driver":{type:"boolean"},logExtensionHostCommunication:{type:"boolean"},"skip-release-notes":{type:"boolean"},"skip-welcome":{type:"boolean"},"disable-telemetry":{type:"boolean"},"disable-updates":{type:"boolean"},"use-inmemory-secretstorage":{type:"boolean",deprecates:["disable-keytar"]},"password-store":{type:"string"},"disable-workspace-trust":{type:"boolean"},"disable-crash-reporter":{type:"boolean"},"crash-reporter-directory":{type:"string"},"crash-reporter-id":{type:"string"},"skip-add-to-recently-opened":{type:"boolean"},"open-url":{type:"boolean"},"file-write":{type:"boolean"},"file-chmod":{type:"boolean"},"install-builtin-extension":{type:"string[]"},force:{type:"boolean"},"do-not-sync":{type:"boolean"},trace:{type:"boolean"},"trace-category-filter":{type:"string"},"trace-options":{type:"string"},"preserve-env":{type:"boolean"},"force-user-env":{type:"boolean"},"force-disable-user-env":{type:"boolean"},"open-devtools":{type:"boolean"},"disable-gpu-sandbox":{type:"boolean"},logsPath:{type:"string"},"__enable-file-policy":{type:"boolean"},editSessionId:{type:"string"},continueOn:{type:"string"},"locate-shell-integration-path":{type:"string",args:["bash","pwsh","zsh","fish"]},"enable-coi":{type:"boolean"},"no-proxy-server":{type:"boolean"},"no-sandbox":{type:"boolean",alias:"sandbox"},"proxy-server":{type:"string"},"proxy-bypass-list":{type:"string"},"proxy-pac-url":{type:"string"},"js-flags":{type:"string"},inspect:{type:"string",allowEmptyValue:!0},"inspect-brk":{type:"string",allowEmptyValue:!0},nolazy:{type:"boolean"},"force-device-scale-factor":{type:"string"},"force-renderer-accessibility":{type:"boolean"},"ignore-certificate-errors":{type:"boolean"},"allow-insecure-localhost":{type:"boolean"},"log-net-log":{type:"string"},vmodule:{type:"string"},_urls:{type:"string[]"},"disable-dev-shm-usage":{type:"boolean"},"profile-temp":{type:"boolean"},"ozone-platform":{type:"string"},"enable-tracing":{type:"string"},"trace-startup-format":{type:"string"},"trace-startup-file":{type:"string"},"trace-startup-duration":{type:"string"},_:{type:"string[]"}};const B={onUnknownOption:()=>{},onMultipleValues:()=>{},onEmptyValue:()=>{},onDeprecatedOption:()=>{}};function P(h,m,l=B){const s=h.find(y=>y.length>0&&y[0]!=="-"),b={},v=["_"],r=[],i={};let n;for(const y in m){const A=m[y];A.type==="subcommand"?y===s&&(n=A):(A.alias&&(b[y]=A.alias),A.type==="string"||A.type==="string[]"?(v.push(y),A.deprecates&&v.push(...A.deprecates)):A.type==="boolean"&&(r.push(y),A.deprecates&&r.push(...A.deprecates)),A.global&&(i[y]=A))}if(n&&s){const y=i;for(const j in n.options)y[j]=n.options[j];const A=h.filter(j=>j!==s),S=l.getSubcommandReporter?l.getSubcommandReporter(s):void 0,q=P(A,y,S);return{[s]:q,_:[]}}const k=(0,a.default)(h,{string:v,boolean:r,alias:b}),_={},O=k;_._=k._.map(y=>String(y)).filter(y=>y.length>0),delete O._;for(const y in m){const A=m[y];if(A.type==="subcommand")continue;A.alias&&delete O[A.alias];let S=O[y];if(A.deprecates)for(const q of A.deprecates)O.hasOwnProperty(q)&&(S||(S=O[q],S&&l.onDeprecatedOption(q,A.deprecationMessage||(0,L.localize)(39,null,y))),delete O[q]);if(typeof S<"u"){if(A.type==="string[]"){if(Array.isArray(S)||(S=[S]),!A.allowEmptyValue){const q=S.filter(j=>j.length>0);q.length!==S.length&&(l.onEmptyValue(y),S=q.length>0?q:void 0)}}else A.type==="string"&&(Array.isArray(S)?(S=S.pop(),l.onMultipleValues(y,S)):!S&&!A.allowEmptyValue&&(l.onEmptyValue(y),S=void 0));_[y]=S,A.deprecationMessage&&l.onDeprecatedOption(y,A.deprecationMessage)}delete O[y]}for(const y in O)l.onUnknownOption(y);return _}function w(h,m){let l="";return m.args&&(Array.isArray(m.args)?l=` <${m.args.join("> <")}>`:l=` <${m.args}>`),m.alias?`-${m.alias} --${h}${l}`:`--${h}${l}`}function o(h,m){const l=[];for(const s in h){const b=h[s],v=w(s,b);l.push([v,b.description])}return E(l,m)}function E(h,m){const s=h.reduce((r,i)=>Math.max(r,i[0].length),12)+2+1;if(m-s<25)return h.reduce((r,i)=>r.concat([` ${i[0]}`,` ${i[1]}`]),[]);const b=m-s-1,v=[];for(const r of h){const i=r[0],n=d(r[1],b),k=p(s-i.length-2);v.push(" "+i+k+n[0]);for(let _=1;_<n.length;_++)v.push(p(s)+n[_])}return v}function p(h){return" ".repeat(h)}function d(h,m){const l=[];for(;h.length;){const s=h.length<m?h.length:h.lastIndexOf(" ",m),b=h.slice(0,s).trim();h=h.slice(s),l.push(b)}return l}function u(h,m,l,s,b){const v=process.stdout.isTTY&&process.stdout.columns||80,r=b?.noInputFiles!==!0?`[${(0,L.localize)(40,null)}...]`:"",i=[`${h} ${l}`];i.push(""),i.push(`${(0,L.localize)(41,null)}: ${m} [${(0,L.localize)(42,null)}]${r}`),i.push(""),b?.noPipe!==!0&&(t.$i?i.push((0,L.localize)(43,null,m)):i.push((0,L.localize)(44,null,m)),i.push(""));const n={},k=[];for(const _ in s){const O=s[_];if(O.type==="subcommand")O.description&&k.push({command:_,description:O.description});else if(O.description&&O.cat){let y=n[O.cat];y||(n[O.cat]=y={}),y[_]=O}}for(const _ in n){const O=_,y=n[O];y&&(i.push($[O]),i.push(...o(y,v)),i.push(""))}return k.length&&(i.push((0,L.localize)(45,null)),i.push(...E(k.map(_=>[_.command,_.description]),v)),i.push("")),i.join(`
`)}function c(h,m){return`${h||(0,L.localize)(46,null)}
${m||(0,L.localize)(47,null)}
${process.arch}`}}),function(){"use strict";function ie(e,a,t){function L(B,P){const w=$(B,P),o=[w];return e.isAbsolute(w)||o.unshift(t),e.resolve(...o)}function $(B,P){process.env.VSCODE_DEV&&(P="code-oss-dev");const w=process.env.VSCODE_PORTABLE;if(w)return e.join(w,"user-data");let o=process.env.VSCODE_APPDATA;if(o)return e.join(o,P);const E=B["user-data-dir"];if(E)return E;switch(process.platform){case"win32":if(o=process.env.APPDATA,!o){const p=process.env.USERPROFILE;if(typeof p!="string")throw new Error("Windows: Unexpected undefined %USERPROFILE% environment variable");o=e.join(p,"AppData","Roaming")}break;case"darwin":o=e.join(a.homedir(),"Library","Application Support");break;case"linux":o=process.env.XDG_CONFIG_HOME||e.join(a.homedir(),".config");break;default:throw new Error("Platform not supported")}return e.join(o,P)}return{getUserDataPath:L}}if(typeof define=="function")define(he[80],fe([81,22,16]),function(e,a,t){return ie(e,a,t.cwd())});else if(typeof module=="object"&&typeof module.exports=="object"){const e=require("path"),a=require("os");module.exports=ie(e,a,process.env.VSCODE_CWD||process.cwd())}else throw new Error("Unknown context")}(),define(he[82],fe([0,1,22,78,80]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$9m=void 0,e.$0m=B,e.$$m=P;class $ extends t.$6m{constructor(o,E){super(o,{homeDir:(0,a.homedir)(),tmpDir:(0,a.tmpdir)(),userDataDir:(0,L.getUserDataPath)(o,E.nameShort)},E)}}e.$9m=$;function B(w,o){return(0,t.$8m)(w["inspect-ptyhost"],w["inspect-brk-ptyhost"],5877,o,w.extensionEnvironment)}function P(w,o){return(0,t.$8m)(w["inspect-sharedprocess"],w["inspect-brk-sharedprocess"],5879,o,w.extensionEnvironment)}}),define(he[23],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Fi=e._util=void 0,e.$Gi=L,e.$Hi=$;var a;(function(B){B.serviceIds=new Map,B.DI_TARGET="$di$target",B.DI_DEPENDENCIES="$di$dependencies";function P(w){return w[B.DI_DEPENDENCIES]||[]}B.getServiceDependencies=P})(a||(e._util=a={})),e.$Fi=L("instantiationService");function t(B,P,w){P[a.DI_TARGET]===P?P[a.DI_DEPENDENCIES].push({id:B,index:w}):(P[a.DI_DEPENDENCIES]=[{id:B,index:w}],P[a.DI_TARGET]=P)}function L(B){if(a.serviceIds.has(B))return a.serviceIds.get(B);const P=function(w,o,E){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");t(P,w,E)};return P.toString=()=>B,a.serviceIds.set(B,P),P}function $(B){return B}}),define(he[38],fe([0,1,14,3,10,77,23,70,7]),function(ie,e,a,t,L,$,B,P,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Yj=e.$Xj=e.$Wj=e.$Vj=e.$Uj=e.$Tj=e.$Sj=e.$Rj=e.$Qj=e.$Pj=e.$Oj=e.$Nj=e.$Mj=e.$Lj=e.$Kj=e.$Jj=e.$Ij=e.$Hj=e.$Ej=e.$Dj=e.ContextKeyExprType=void 0,e.$Cj=E,e.$Fj=k,e.$Gj=_,e.$Zj=G;const o=new Map;o.set("false",!1),o.set("true",!0),o.set("isMac",t.$j),o.set("isLinux",t.$k),o.set("isWindows",t.$i),o.set("isWeb",t.$o),o.set("isMacNative",t.$j&&!t.$o),o.set("isEdge",t.$H),o.set("isFirefox",t.$F),o.set("isChrome",t.$E),o.set("isSafari",t.$G);function E(te,f){if(o.get(te)!==void 0)throw(0,w.$0)("contextkey.setConstant(k, v) invoked with already set constant `k`");o.set(te,f)}const p=Object.prototype.hasOwnProperty;var d;(function(te){te[te.False=0]="False",te[te.True=1]="True",te[te.Defined=2]="Defined",te[te.Not=3]="Not",te[te.Equals=4]="Equals",te[te.NotEquals=5]="NotEquals",te[te.And=6]="And",te[te.Regex=7]="Regex",te[te.NotRegex=8]="NotRegex",te[te.Or=9]="Or",te[te.In=10]="In",te[te.NotIn=11]="NotIn",te[te.Greater=12]="Greater",te[te.GreaterEquals=13]="GreaterEquals",te[te.Smaller=14]="Smaller",te[te.SmallerEquals=15]="SmallerEquals"})(d||(e.ContextKeyExprType=d={}));const u={regexParsingWithErrorRecovery:!0},c=(0,P.localize)(0,null),h=(0,P.localize)(1,null),m=(0,P.localize)(2,null),l=(0,P.localize)(3,null),s=(0,P.localize)(4,null),b=(0,P.localize)(5,null),v=(0,P.localize)(6,null),r=(0,P.localize)(7,null);class i{static{this.c=new Error}get lexingErrors(){return this.d.errors}get parsingErrors(){return this.h}constructor(f=u){this.k=f,this.d=new $.$Bj,this.f=[],this.g=0,this.h=[],this.v=/g|y/g}parse(f){if(f===""){this.h.push({message:c,offset:0,lexeme:"",additionalInfo:h});return}this.f=this.d.reset(f).scan(),this.g=0,this.h=[];try{const H=this.l();if(!this.E()){const U=this.D(),N=U.type===$.TokenType.Str?b:void 0;throw this.h.push({message:s,offset:U.offset,lexeme:$.$Bj.getLexeme(U),additionalInfo:N}),i.c}return H}catch(H){if(H!==i.c)throw H;return}}l(){return this.m()}m(){const f=[this.o()];for(;this.y($.TokenType.Or);){const H=this.o();f.push(H)}return f.length===1?f[0]:n.or(...f)}o(){const f=[this.s()];for(;this.y($.TokenType.And);){const H=this.s();f.push(H)}return f.length===1?f[0]:n.and(...f)}s(){if(this.y($.TokenType.Neg)){const f=this.D();switch(f.type){case $.TokenType.True:return this.z(),y.INSTANCE;case $.TokenType.False:return this.z(),A.INSTANCE;case $.TokenType.LParen:{this.z();const H=this.l();return this.A($.TokenType.RParen,l),H?.negate()}case $.TokenType.Str:return this.z(),T.create(f.lexeme);default:throw this.B("KEY | true | false | '(' expression ')'",f)}}return this.t()}t(){const f=this.D();switch(f.type){case $.TokenType.True:return this.z(),n.true();case $.TokenType.False:return this.z(),n.false();case $.TokenType.LParen:{this.z();const H=this.l();return this.A($.TokenType.RParen,l),H}case $.TokenType.Str:{const H=f.lexeme;if(this.z(),this.y($.TokenType.RegexOp)){const N=this.D();if(!this.k.regexParsingWithErrorRecovery){if(this.z(),N.type!==$.TokenType.RegexStr)throw this.B("REGEX",N);const K=N.lexeme,W=K.lastIndexOf("/"),M=W===K.length-1?void 0:this.w(K.substring(W+1));let x;try{x=new RegExp(K.substring(1,W),M)}catch{throw this.B("REGEX",N)}return Z.create(H,x)}switch(N.type){case $.TokenType.RegexStr:case $.TokenType.Error:{const K=[N.lexeme];this.z();let W=this.D(),M=0;for(let Ee=0;Ee<N.lexeme.length;Ee++)N.lexeme.charCodeAt(Ee)===a.CharCode.OpenParen?M++:N.lexeme.charCodeAt(Ee)===a.CharCode.CloseParen&&M--;for(;!this.E()&&W.type!==$.TokenType.And&&W.type!==$.TokenType.Or;){switch(W.type){case $.TokenType.LParen:M++;break;case $.TokenType.RParen:M--;break;case $.TokenType.RegexStr:case $.TokenType.QuotedStr:for(let Ee=0;Ee<W.lexeme.length;Ee++)W.lexeme.charCodeAt(Ee)===a.CharCode.OpenParen?M++:N.lexeme.charCodeAt(Ee)===a.CharCode.CloseParen&&M--}if(M<0)break;K.push($.$Bj.getLexeme(W)),this.z(),W=this.D()}const x=K.join(""),ne=x.lastIndexOf("/"),oe=ne===x.length-1?void 0:this.w(x.substring(ne+1));let be;try{be=new RegExp(x.substring(1,ne),oe)}catch{throw this.B("REGEX",N)}return n.regex(H,be)}case $.TokenType.QuotedStr:{const K=N.lexeme;this.z();let W=null;if(!(0,L.$ef)(K)){const M=K.indexOf("/"),x=K.lastIndexOf("/");if(M!==x&&M>=0){const ne=K.slice(M+1,x),oe=K[x+1]==="i"?"i":"";try{W=new RegExp(ne,oe)}catch{throw this.B("REGEX",N)}}}if(W===null)throw this.B("REGEX",N);return Z.create(H,W)}default:throw this.B("REGEX",this.D())}}if(this.y($.TokenType.Not)){this.A($.TokenType.In,m);const N=this.u();return n.notIn(H,N)}switch(this.D().type){case $.TokenType.Eq:{this.z();const N=this.u();if(this.x().type===$.TokenType.QuotedStr)return n.equals(H,N);switch(N){case"true":return n.has(H);case"false":return n.not(H);default:return n.equals(H,N)}}case $.TokenType.NotEq:{this.z();const N=this.u();if(this.x().type===$.TokenType.QuotedStr)return n.notEquals(H,N);switch(N){case"true":return n.not(H);case"false":return n.has(H);default:return n.notEquals(H,N)}}case $.TokenType.Lt:return this.z(),J.create(H,this.u());case $.TokenType.LtEq:return this.z(),V.create(H,this.u());case $.TokenType.Gt:return this.z(),D.create(H,this.u());case $.TokenType.GtEq:return this.z(),F.create(H,this.u());case $.TokenType.In:return this.z(),n.in(H,this.u());default:return n.has(H)}}case $.TokenType.EOF:throw this.h.push({message:v,offset:f.offset,lexeme:"",additionalInfo:r}),i.c;default:throw this.B(`true | false | KEY
| KEY '=~' REGEX
| KEY ('==' | '!=' | '<' | '<=' | '>' | '>=' | 'in' | 'not' 'in') value`,this.D())}}u(){const f=this.D();switch(f.type){case $.TokenType.Str:case $.TokenType.QuotedStr:return this.z(),f.lexeme;case $.TokenType.True:return this.z(),"true";case $.TokenType.False:return this.z(),"false";case $.TokenType.In:return this.z(),"in";default:return""}}w(f){return f.replaceAll(this.v,"")}x(){return this.f[this.g-1]}y(f){return this.C(f)?(this.z(),!0):!1}z(){return this.E()||this.g++,this.x()}A(f,H){if(this.C(f))return this.z();throw this.B(H,this.D())}B(f,H,U){const N=(0,P.localize)(8,null,f,$.$Bj.getLexeme(H)),K=H.offset,W=$.$Bj.getLexeme(H);return this.h.push({message:N,offset:K,lexeme:W,additionalInfo:U}),i.c}C(f){return this.D().type===f}D(){return this.f[this.g]}E(){return this.D().type===$.TokenType.EOF}}e.$Dj=i;class n{static false(){return y.INSTANCE}static true(){return A.INSTANCE}static has(f){return S.create(f)}static equals(f,H){return q.create(f,H)}static notEquals(f,H){return g.create(f,H)}static regex(f,H){return Z.create(f,H)}static in(f,H){return j.create(f,H)}static notIn(f,H){return R.create(f,H)}static not(f){return T.create(f)}static and(...f){return X.create(f,null,!0)}static or(...f){return C.create(f,null,!0)}static greater(f,H){return D.create(f,H)}static greaterEquals(f,H){return F.create(f,H)}static smaller(f,H){return J.create(f,H)}static smallerEquals(f,H){return V.create(f,H)}static{this.c=new i({regexParsingWithErrorRecovery:!1})}static deserialize(f){return f==null?void 0:this.c.parse(f)}}e.$Ej=n;function k(te){const f=new i({regexParsingWithErrorRecovery:!1});return te.map(H=>(f.parse(H),f.lexingErrors.length>0?f.lexingErrors.map(U=>({errorMessage:U.additionalInfo?(0,P.localize)(9,null,U.additionalInfo):(0,P.localize)(10,null),offset:U.offset,length:U.lexeme.length})):f.parsingErrors.length>0?f.parsingErrors.map(U=>({errorMessage:U.additionalInfo?`${U.message}. ${U.additionalInfo}`:U.message,offset:U.offset,length:U.lexeme.length})):[]))}function _(te,f){const H=te?te.substituteConstants():void 0,U=f?f.substituteConstants():void 0;return!H&&!U?!0:!H||!U?!1:H.equals(U)}function O(te,f){return te.cmp(f)}class y{static{this.INSTANCE=new y}constructor(){this.type=d.False}cmp(f){return this.type-f.type}equals(f){return f.type===this.type}substituteConstants(){return this}evaluate(f){return!1}serialize(){return"false"}keys(){return[]}map(f){return this}negate(){return A.INSTANCE}}e.$Hj=y;class A{static{this.INSTANCE=new A}constructor(){this.type=d.True}cmp(f){return this.type-f.type}equals(f){return f.type===this.type}substituteConstants(){return this}evaluate(f){return!0}serialize(){return"true"}keys(){return[]}map(f){return this}negate(){return y.INSTANCE}}e.$Ij=A;class S{static create(f,H=null){const U=o.get(f);return typeof U=="boolean"?U?A.INSTANCE:y.INSTANCE:new S(f,H)}constructor(f,H){this.key=f,this.c=H,this.type=d.Defined}cmp(f){return f.type!==this.type?this.type-f.type:ee(this.key,f.key)}equals(f){return f.type===this.type?this.key===f.key:!1}substituteConstants(){const f=o.get(this.key);return typeof f=="boolean"?f?A.INSTANCE:y.INSTANCE:this}evaluate(f){return!!f.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}map(f){return f.mapDefined(this.key)}negate(){return this.c||(this.c=T.create(this.key,this)),this.c}}e.$Jj=S;class q{static create(f,H,U=null){if(typeof H=="boolean")return H?S.create(f,U):T.create(f,U);const N=o.get(f);return typeof N=="boolean"?H===(N?"true":"false")?A.INSTANCE:y.INSTANCE:new q(f,H,U)}constructor(f,H,U){this.c=f,this.d=H,this.f=U,this.type=d.Equals}cmp(f){return f.type!==this.type?this.type-f.type:le(this.c,this.d,f.c,f.d)}equals(f){return f.type===this.type?this.c===f.c&&this.d===f.d:!1}substituteConstants(){const f=o.get(this.c);if(typeof f=="boolean"){const H=f?"true":"false";return this.d===H?A.INSTANCE:y.INSTANCE}return this}evaluate(f){return f.getValue(this.c)==this.d}serialize(){return`${this.c} == '${this.d}'`}keys(){return[this.c]}map(f){return f.mapEquals(this.c,this.d)}negate(){return this.f||(this.f=g.create(this.c,this.d,this)),this.f}}e.$Kj=q;class j{static create(f,H){return new j(f,H)}constructor(f,H){this.d=f,this.f=H,this.type=d.In,this.c=null}cmp(f){return f.type!==this.type?this.type-f.type:le(this.d,this.f,f.d,f.f)}equals(f){return f.type===this.type?this.d===f.d&&this.f===f.f:!1}substituteConstants(){return this}evaluate(f){const H=f.getValue(this.f),U=f.getValue(this.d);return Array.isArray(H)?H.includes(U):typeof U=="string"&&typeof H=="object"&&H!==null?p.call(H,U):!1}serialize(){return`${this.d} in '${this.f}'`}keys(){return[this.d,this.f]}map(f){return f.mapIn(this.d,this.f)}negate(){return this.c||(this.c=R.create(this.d,this.f)),this.c}}e.$Lj=j;class R{static create(f,H){return new R(f,H)}constructor(f,H){this.d=f,this.f=H,this.type=d.NotIn,this.c=j.create(f,H)}cmp(f){return f.type!==this.type?this.type-f.type:this.c.cmp(f.c)}equals(f){return f.type===this.type?this.c.equals(f.c):!1}substituteConstants(){return this}evaluate(f){return!this.c.evaluate(f)}serialize(){return`${this.d} not in '${this.f}'`}keys(){return this.c.keys()}map(f){return f.mapNotIn(this.d,this.f)}negate(){return this.c}}e.$Mj=R;class g{static create(f,H,U=null){if(typeof H=="boolean")return H?T.create(f,U):S.create(f,U);const N=o.get(f);return typeof N=="boolean"?H===(N?"true":"false")?y.INSTANCE:A.INSTANCE:new g(f,H,U)}constructor(f,H,U){this.c=f,this.d=H,this.f=U,this.type=d.NotEquals}cmp(f){return f.type!==this.type?this.type-f.type:le(this.c,this.d,f.c,f.d)}equals(f){return f.type===this.type?this.c===f.c&&this.d===f.d:!1}substituteConstants(){const f=o.get(this.c);if(typeof f=="boolean"){const H=f?"true":"false";return this.d===H?y.INSTANCE:A.INSTANCE}return this}evaluate(f){return f.getValue(this.c)!=this.d}serialize(){return`${this.c} != '${this.d}'`}keys(){return[this.c]}map(f){return f.mapNotEquals(this.c,this.d)}negate(){return this.f||(this.f=q.create(this.c,this.d,this)),this.f}}e.$Nj=g;class T{static create(f,H=null){const U=o.get(f);return typeof U=="boolean"?U?y.INSTANCE:A.INSTANCE:new T(f,H)}constructor(f,H){this.c=f,this.d=H,this.type=d.Not}cmp(f){return f.type!==this.type?this.type-f.type:ee(this.c,f.c)}equals(f){return f.type===this.type?this.c===f.c:!1}substituteConstants(){const f=o.get(this.c);return typeof f=="boolean"?f?y.INSTANCE:A.INSTANCE:this}evaluate(f){return!f.getValue(this.c)}serialize(){return`!${this.c}`}keys(){return[this.c]}map(f){return f.mapNot(this.c)}negate(){return this.d||(this.d=S.create(this.c,this)),this.d}}e.$Oj=T;function I(te,f){if(typeof te=="string"){const H=parseFloat(te);isNaN(H)||(te=H)}return typeof te=="string"||typeof te=="number"?f(te):y.INSTANCE}class D{static create(f,H,U=null){return I(H,N=>new D(f,N,U))}constructor(f,H,U){this.c=f,this.d=H,this.f=U,this.type=d.Greater}cmp(f){return f.type!==this.type?this.type-f.type:le(this.c,this.d,f.c,f.d)}equals(f){return f.type===this.type?this.c===f.c&&this.d===f.d:!1}substituteConstants(){return this}evaluate(f){return typeof this.d=="string"?!1:parseFloat(f.getValue(this.c))>this.d}serialize(){return`${this.c} > ${this.d}`}keys(){return[this.c]}map(f){return f.mapGreater(this.c,this.d)}negate(){return this.f||(this.f=V.create(this.c,this.d,this)),this.f}}e.$Pj=D;class F{static create(f,H,U=null){return I(H,N=>new F(f,N,U))}constructor(f,H,U){this.c=f,this.d=H,this.f=U,this.type=d.GreaterEquals}cmp(f){return f.type!==this.type?this.type-f.type:le(this.c,this.d,f.c,f.d)}equals(f){return f.type===this.type?this.c===f.c&&this.d===f.d:!1}substituteConstants(){return this}evaluate(f){return typeof this.d=="string"?!1:parseFloat(f.getValue(this.c))>=this.d}serialize(){return`${this.c} >= ${this.d}`}keys(){return[this.c]}map(f){return f.mapGreaterEquals(this.c,this.d)}negate(){return this.f||(this.f=J.create(this.c,this.d,this)),this.f}}e.$Qj=F;class J{static create(f,H,U=null){return I(H,N=>new J(f,N,U))}constructor(f,H,U){this.c=f,this.d=H,this.f=U,this.type=d.Smaller}cmp(f){return f.type!==this.type?this.type-f.type:le(this.c,this.d,f.c,f.d)}equals(f){return f.type===this.type?this.c===f.c&&this.d===f.d:!1}substituteConstants(){return this}evaluate(f){return typeof this.d=="string"?!1:parseFloat(f.getValue(this.c))<this.d}serialize(){return`${this.c} < ${this.d}`}keys(){return[this.c]}map(f){return f.mapSmaller(this.c,this.d)}negate(){return this.f||(this.f=F.create(this.c,this.d,this)),this.f}}e.$Rj=J;class V{static create(f,H,U=null){return I(H,N=>new V(f,N,U))}constructor(f,H,U){this.c=f,this.d=H,this.f=U,this.type=d.SmallerEquals}cmp(f){return f.type!==this.type?this.type-f.type:le(this.c,this.d,f.c,f.d)}equals(f){return f.type===this.type?this.c===f.c&&this.d===f.d:!1}substituteConstants(){return this}evaluate(f){return typeof this.d=="string"?!1:parseFloat(f.getValue(this.c))<=this.d}serialize(){return`${this.c} <= ${this.d}`}keys(){return[this.c]}map(f){return f.mapSmallerEquals(this.c,this.d)}negate(){return this.f||(this.f=D.create(this.c,this.d,this)),this.f}}e.$Sj=V;class Z{static create(f,H){return new Z(f,H)}constructor(f,H){this.d=f,this.f=H,this.type=d.Regex,this.c=null}cmp(f){if(f.type!==this.type)return this.type-f.type;if(this.d<f.d)return-1;if(this.d>f.d)return 1;const H=this.f?this.f.source:"",U=f.f?f.f.source:"";return H<U?-1:H>U?1:0}equals(f){if(f.type===this.type){const H=this.f?this.f.source:"",U=f.f?f.f.source:"";return this.d===f.d&&H===U}return!1}substituteConstants(){return this}evaluate(f){const H=f.getValue(this.d);return this.f?this.f.test(H):!1}serialize(){const f=this.f?`/${this.f.source}/${this.f.flags}`:"/invalid/";return`${this.d} =~ ${f}`}keys(){return[this.d]}map(f){return f.mapRegex(this.d,this.f)}negate(){return this.c||(this.c=re.create(this)),this.c}}e.$Tj=Z;class re{static create(f){return new re(f)}constructor(f){this.c=f,this.type=d.NotRegex}cmp(f){return f.type!==this.type?this.type-f.type:this.c.cmp(f.c)}equals(f){return f.type===this.type?this.c.equals(f.c):!1}substituteConstants(){return this}evaluate(f){return!this.c.evaluate(f)}serialize(){return`!(${this.c.serialize()})`}keys(){return this.c.keys()}map(f){return new re(this.c.map(f))}negate(){return this.c}}e.$Uj=re;function ce(te){let f=null;for(let H=0,U=te.length;H<U;H++){const N=te[H].substituteConstants();if(te[H]!==N&&f===null){f=[];for(let K=0;K<H;K++)f[K]=te[K]}f!==null&&(f[H]=N)}return f===null?te:f}class X{static create(f,H,U){return X.d(f,H,U)}constructor(f,H){this.expr=f,this.c=H,this.type=d.And}cmp(f){if(f.type!==this.type)return this.type-f.type;if(this.expr.length<f.expr.length)return-1;if(this.expr.length>f.expr.length)return 1;for(let H=0,U=this.expr.length;H<U;H++){const N=O(this.expr[H],f.expr[H]);if(N!==0)return N}return 0}equals(f){if(f.type===this.type){if(this.expr.length!==f.expr.length)return!1;for(let H=0,U=this.expr.length;H<U;H++)if(!this.expr[H].equals(f.expr[H]))return!1;return!0}return!1}substituteConstants(){const f=ce(this.expr);return f===this.expr?this:X.create(f,this.c,!1)}evaluate(f){for(let H=0,U=this.expr.length;H<U;H++)if(!this.expr[H].evaluate(f))return!1;return!0}static d(f,H,U){const N=[];let K=!1;for(const W of f)if(W){if(W.type===d.True){K=!0;continue}if(W.type===d.False)return y.INSTANCE;if(W.type===d.And){N.push(...W.expr);continue}N.push(W)}if(N.length===0&&K)return A.INSTANCE;if(N.length!==0){if(N.length===1)return N[0];N.sort(O);for(let W=1;W<N.length;W++)N[W-1].equals(N[W])&&(N.splice(W,1),W--);if(N.length===1)return N[0];for(;N.length>1;){const W=N[N.length-1];if(W.type!==d.Or)break;N.pop();const M=N.pop(),x=N.length===0,ne=C.create(W.expr.map(oe=>X.create([oe,M],null,U)),null,x);ne&&(N.push(ne),N.sort(O))}if(N.length===1)return N[0];if(U){for(let W=0;W<N.length;W++)for(let M=W+1;M<N.length;M++)if(N[W].negate().equals(N[M]))return y.INSTANCE;if(N.length===1)return N[0]}return new X(N,H)}}serialize(){return this.expr.map(f=>f.serialize()).join(" && ")}keys(){const f=[];for(const H of this.expr)f.push(...H.keys());return f}map(f){return new X(this.expr.map(H=>H.map(f)),null)}negate(){if(!this.c){const f=[];for(const H of this.expr)f.push(H.negate());this.c=C.create(f,this,!0)}return this.c}}e.$Vj=X;class C{static create(f,H,U){return C.d(f,H,U)}constructor(f,H){this.expr=f,this.c=H,this.type=d.Or}cmp(f){if(f.type!==this.type)return this.type-f.type;if(this.expr.length<f.expr.length)return-1;if(this.expr.length>f.expr.length)return 1;for(let H=0,U=this.expr.length;H<U;H++){const N=O(this.expr[H],f.expr[H]);if(N!==0)return N}return 0}equals(f){if(f.type===this.type){if(this.expr.length!==f.expr.length)return!1;for(let H=0,U=this.expr.length;H<U;H++)if(!this.expr[H].equals(f.expr[H]))return!1;return!0}return!1}substituteConstants(){const f=ce(this.expr);return f===this.expr?this:C.create(f,this.c,!1)}evaluate(f){for(let H=0,U=this.expr.length;H<U;H++)if(this.expr[H].evaluate(f))return!0;return!1}static d(f,H,U){let N=[],K=!1;if(f){for(let W=0,M=f.length;W<M;W++){const x=f[W];if(x){if(x.type===d.False){K=!0;continue}if(x.type===d.True)return A.INSTANCE;if(x.type===d.Or){N=N.concat(x.expr);continue}N.push(x)}}if(N.length===0&&K)return y.INSTANCE;N.sort(O)}if(N.length!==0){if(N.length===1)return N[0];for(let W=1;W<N.length;W++)N[W-1].equals(N[W])&&(N.splice(W,1),W--);if(N.length===1)return N[0];if(U){for(let W=0;W<N.length;W++)for(let M=W+1;M<N.length;M++)if(N[W].negate().equals(N[M]))return A.INSTANCE;if(N.length===1)return N[0]}return new C(N,H)}}serialize(){return this.expr.map(f=>f.serialize()).join(" || ")}keys(){const f=[];for(const H of this.expr)f.push(...H.keys());return f}map(f){return new C(this.expr.map(H=>H.map(f)),null)}negate(){if(!this.c){const f=[];for(const H of this.expr)f.push(H.negate());for(;f.length>1;){const H=f.shift(),U=f.shift(),N=[];for(const K of ge(H))for(const W of ge(U))N.push(X.create([K,W],null,!1));f.unshift(C.create(N,null,!1))}this.c=C.create(f,this,!0)}return this.c}}e.$Wj=C;class Q extends S{static{this.d=[]}static all(){return Q.d.values()}constructor(f,H,U){super(f,null),this.f=H,typeof U=="object"?Q.d.push({...U,key:f}):U!==!0&&Q.d.push({key:f,description:U,type:H!=null?typeof H:void 0})}bindTo(f){return f.createKey(this.key,this.f)}getValue(f){return f.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(f){return q.create(this.key,f)}notEqualsTo(f){return g.create(this.key,f)}}e.$Xj=Q,e.$Yj=(0,B.$Gi)("contextKeyService");function ee(te,f){return te<f?-1:te>f?1:0}function le(te,f,H,U){return te<H?-1:te>H?1:f<U?-1:f>U?1:0}function G(te,f){if(te.type===d.False||f.type===d.True)return!0;if(te.type===d.Or)return f.type===d.Or?ae(te.expr,f.expr):!1;if(f.type===d.Or){for(const H of f.expr)if(G(te,H))return!0;return!1}if(te.type===d.And){if(f.type===d.And)return ae(f.expr,te.expr);for(const H of te.expr)if(G(H,f))return!0;return!1}return te.equals(f)}function ae(te,f){let H=0,U=0;for(;H<te.length&&U<f.length;){const N=te[H].cmp(f[U]);if(N<0)return!1;N===0&&H++,U++}return H===te.length}function ge(te){return te.type===d.Or?te.expr:[te]}}),define(he[83],fe([0,1,55,5,10,9,6,73,23,3,21,25]),function(ie,e,a,t,L,$,B,P,w,o,E,p){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Il=e.$Fl=e.FileKind=e.$El=e.$Dl=e.$Cl=e.$Bl=e.$Al=e.$zl=e.$yl=e.FileOperationResult=e.$xl=e.$wl=e.$vl=e.$tl=e.FileChangeType=e.$sl=e.FileOperation=e.$ml=e.FileSystemProviderErrorCode=e.FileSystemProviderCapabilities=e.FileChangeFilter=e.FilePermission=e.FileType=e.$al=void 0,e.$bl=d,e.$cl=m,e.$dl=s,e.$el=b,e.$fl=v,e.$gl=r,e.$hl=i,e.$il=n,e.$jl=k,e.$kl=_,e.$ll=O,e.$nl=S,e.$ol=q,e.$pl=j,e.$ql=R,e.$rl=g,e.$ul=J,e.$Gl=C,e.$Hl=Q,e.$Jl=le,e.$al=(0,w.$Gi)("fileService");function d(G){return G.create===!0}var u;(function(G){G[G.Unknown=0]="Unknown",G[G.File=1]="File",G[G.Directory=2]="Directory",G[G.SymbolicLink=64]="SymbolicLink"})(u||(e.FileType=u={}));var c;(function(G){G[G.Readonly=1]="Readonly",G[G.Locked=2]="Locked"})(c||(e.FilePermission=c={}));var h;(function(G){G[G.UPDATED=2]="UPDATED",G[G.ADDED=4]="ADDED",G[G.DELETED=8]="DELETED"})(h||(e.FileChangeFilter=h={}));function m(G){const ae=G;return!!ae&&typeof ae.onDidChange=="function"}var l;(function(G){G[G.None=0]="None",G[G.FileReadWrite=2]="FileReadWrite",G[G.FileOpenReadWriteClose=4]="FileOpenReadWriteClose",G[G.FileReadStream=16]="FileReadStream",G[G.FileFolderCopy=8]="FileFolderCopy",G[G.PathCaseSensitive=1024]="PathCaseSensitive",G[G.Readonly=2048]="Readonly",G[G.Trash=4096]="Trash",G[G.FileWriteUnlock=8192]="FileWriteUnlock",G[G.FileAtomicRead=16384]="FileAtomicRead",G[G.FileAtomicWrite=32768]="FileAtomicWrite",G[G.FileAtomicDelete=65536]="FileAtomicDelete",G[G.FileClone=131072]="FileClone"})(l||(e.FileSystemProviderCapabilities=l={}));function s(G){return!!(G.capabilities&l.FileReadWrite)}function b(G){return!!(G.capabilities&l.FileFolderCopy)}function v(G){return!!(G.capabilities&l.FileClone)}function r(G){return!!(G.capabilities&l.FileOpenReadWriteClose)}function i(G){return!!(G.capabilities&l.FileReadStream)}function n(G){return s(G)?!!(G.capabilities&l.FileAtomicRead):!1}function k(G){return s(G)?!!(G.capabilities&l.FileAtomicWrite):!1}function _(G){return!!(G.capabilities&l.FileAtomicDelete)}function O(G){return!!(G.capabilities&l.Readonly)}var y;(function(G){G.FileExists="EntryExists",G.FileNotFound="EntryNotFound",G.FileNotADirectory="EntryNotADirectory",G.FileIsADirectory="EntryIsADirectory",G.FileExceedsStorageQuota="EntryExceedsStorageQuota",G.FileTooLarge="EntryTooLarge",G.FileWriteLocked="EntryWriteLocked",G.NoPermissions="NoPermissions",G.Unavailable="Unavailable",G.Unknown="Unknown"})(y||(e.FileSystemProviderErrorCode=y={}));class A extends Error{static create(ae,ge){const te=new A(ae.toString(),ge);return j(te,ge),te}constructor(ae,ge){super(ae),this.code=ge}}e.$ml=A;function S(G,ae){return A.create(G,ae)}function q(G){return G||S((0,P.localize)(0,null),y.Unknown)}function j(G,ae){return G.name=ae?`${ae} (FileSystemError)`:"FileSystemError",G}function R(G){if(!G)return y.Unknown;if(G instanceof A)return G.code;const ae=/^(.+) \(FileSystemError\)$/.exec(G.name);if(!ae)return y.Unknown;switch(ae[1]){case y.FileExists:return y.FileExists;case y.FileIsADirectory:return y.FileIsADirectory;case y.FileNotADirectory:return y.FileNotADirectory;case y.FileNotFound:return y.FileNotFound;case y.FileTooLarge:return y.FileTooLarge;case y.FileWriteLocked:return y.FileWriteLocked;case y.NoPermissions:return y.NoPermissions;case y.Unavailable:return y.Unavailable}return y.Unknown}function g(G){if(G instanceof V)return G.fileOperationResult;switch(R(G)){case y.FileNotFound:return ce.FILE_NOT_FOUND;case y.FileIsADirectory:return ce.FILE_IS_DIRECTORY;case y.FileNotADirectory:return ce.FILE_NOT_DIRECTORY;case y.FileWriteLocked:return ce.FILE_WRITE_LOCKED;case y.NoPermissions:return ce.FILE_PERMISSION_DENIED;case y.FileExists:return ce.FILE_MOVE_CONFLICT;case y.FileTooLarge:return ce.FILE_TOO_LARGE;default:return ce.FILE_OTHER_ERROR}}var T;(function(G){G[G.CREATE=0]="CREATE",G[G.DELETE=1]="DELETE",G[G.MOVE=2]="MOVE",G[G.COPY=3]="COPY",G[G.WRITE=4]="WRITE"})(T||(e.FileOperation=T={}));class I{constructor(ae,ge,te){this.resource=ae,this.operation=ge,this.target=te}isOperation(ae){return this.operation===ae}}e.$sl=I;var D;(function(G){G[G.UPDATED=0]="UPDATED",G[G.ADDED=1]="ADDED",G[G.DELETED=2]="DELETED"})(D||(e.FileChangeType=D={}));class F{static{this.a=null}constructor(ae,ge){this.c=ge,this.b=void 0,this.d=new p.$X(()=>{const te=a.$Mi.forUris(()=>this.c);return te.fill(this.rawAdded.map(f=>[f,!0])),te}),this.f=new p.$X(()=>{const te=a.$Mi.forUris(()=>this.c);return te.fill(this.rawUpdated.map(f=>[f,!0])),te}),this.g=new p.$X(()=>{const te=a.$Mi.forUris(()=>this.c);return te.fill(this.rawDeleted.map(f=>[f,!0])),te}),this.rawAdded=[],this.rawUpdated=[],this.rawDeleted=[];for(const te of ae){switch(te.type){case D.ADDED:this.rawAdded.push(te.resource);break;case D.UPDATED:this.rawUpdated.push(te.resource);break;case D.DELETED:this.rawDeleted.push(te.resource);break}this.b!==F.a&&(typeof te.cId=="number"?this.b===void 0?this.b=te.cId:this.b!==te.cId&&(this.b=F.a):this.b!==void 0&&(this.b=F.a))}}contains(ae,...ge){return this.h(ae,{includeChildren:!1},...ge)}affects(ae,...ge){return this.h(ae,{includeChildren:!0},...ge)}h(ae,ge,...te){if(!ae)return!1;const f=te.length>0;return!!((!f||te.includes(D.ADDED))&&(this.d.value.get(ae)||ge.includeChildren&&this.d.value.findSuperstr(ae))||(!f||te.includes(D.UPDATED))&&(this.f.value.get(ae)||ge.includeChildren&&this.f.value.findSuperstr(ae))||(!f||te.includes(D.DELETED))&&(this.g.value.findSubstr(ae)||ge.includeChildren&&this.g.value.findSuperstr(ae)))}gotAdded(){return this.rawAdded.length>0}gotDeleted(){return this.rawDeleted.length>0}gotUpdated(){return this.rawUpdated.length>0}correlates(ae){return this.b===ae}hasCorrelation(){return typeof this.b=="number"}}e.$tl=F;function J(G,ae,ge){return!G||!ae||G===ae||ae.length>G.length?!1:(ae.charAt(ae.length-1)!==t.sep&&(ae+=t.sep),ge?(0,L.$If)(G,ae):G.indexOf(ae)===0)}class V extends Error{constructor(ae,ge,te){super(ae),this.fileOperationResult=ge,this.options=te}}e.$vl=V;class Z extends V{constructor(ae,ge,te,f){super(ae,ge,f),this.fileOperationResult=ge,this.size=te}}e.$wl=Z;class re extends V{constructor(ae,ge,te){super(ae,ce.FILE_NOT_MODIFIED_SINCE,te),this.stat=ge}}e.$xl=re;var ce;(function(G){G[G.FILE_IS_DIRECTORY=0]="FILE_IS_DIRECTORY",G[G.FILE_NOT_FOUND=1]="FILE_NOT_FOUND",G[G.FILE_NOT_MODIFIED_SINCE=2]="FILE_NOT_MODIFIED_SINCE",G[G.FILE_MODIFIED_SINCE=3]="FILE_MODIFIED_SINCE",G[G.FILE_MOVE_CONFLICT=4]="FILE_MOVE_CONFLICT",G[G.FILE_WRITE_LOCKED=5]="FILE_WRITE_LOCKED",G[G.FILE_PERMISSION_DENIED=6]="FILE_PERMISSION_DENIED",G[G.FILE_TOO_LARGE=7]="FILE_TOO_LARGE",G[G.FILE_INVALID_PATH=8]="FILE_INVALID_PATH",G[G.FILE_NOT_DIRECTORY=9]="FILE_NOT_DIRECTORY",G[G.FILE_OTHER_ERROR=10]="FILE_OTHER_ERROR"})(ce||(e.FileOperationResult=ce={})),e.$yl={OFF:"off",AFTER_DELAY:"afterDelay",ON_FOCUS_CHANGE:"onFocusChange",ON_WINDOW_CHANGE:"onWindowChange"},e.$zl={OFF:"off",ON_EXIT:"onExit",ON_EXIT_AND_WINDOW_CLOSE:"onExitAndWindowClose"},e.$Al="files.associations",e.$Bl="files.exclude",e.$Cl="files.readonlyInclude",e.$Dl="files.readonlyExclude",e.$El="files.readonlyFromPermissions";var X;(function(G){G[G.FILE=0]="FILE",G[G.FOLDER=1]="FOLDER",G[G.ROOT_FOLDER=2]="ROOT_FOLDER"})(X||(e.FileKind=X={})),e.$Fl="";function C(G){if(!(typeof G.size!="number"||typeof G.mtime!="number"))return G.mtime.toString(29)+G.size.toString(31)}async function Q(G,ae){if(!ae.hasProvider(B.URI.from({scheme:G.scheme})))return new Promise(ge=>{const te=ae.onDidChangeFileSystemProviderRegistrations(f=>{f.scheme===G.scheme&&f.added&&(te.dispose(),ge())})})}class ee{static{this.KB=1024}static{this.MB=ee.KB*ee.KB}static{this.GB=ee.MB*ee.KB}static{this.TB=ee.GB*ee.KB}static formatSize(ae){return(0,$.$kg)(ae)||(ae=0),ae<ee.KB?(0,P.localize)(1,null,ae.toFixed(0)):ae<ee.MB?(0,P.localize)(2,null,(ae/ee.KB).toFixed(2)):ae<ee.GB?(0,P.localize)(3,null,(ae/ee.MB).toFixed(2)):ae<ee.TB?(0,P.localize)(4,null,(ae/ee.GB).toFixed(2)):(0,P.localize)(5,null,(ae/ee.TB).toFixed(2))}}e.$Il=ee;function le(G){const ae=typeof G=="string"||G?.scheme===E.Schemas.vscodeRemote;return typeof G!="string"&&G?.scheme===E.Schemas.file?1024*ee.MB:ae?10*ee.MB:o.$o?50*ee.MB:1024*ee.MB}}),define(he[8],fe([0,1,74,60,4,54,2,28,3,26,9,6,38,23]),function(ie,e,a,t,L,$,B,P,w,o,E,p,d,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$sk=e.$nk=e.$mk=e.$lk=e.$kk=e.$jk=e.$ik=e.$hk=e.$gk=e.$fk=e.$dk=e.LogLevel=e.$bk=e.$ak=void 0,e.$ck=h,e.log=l,e.$ok=A,e.$pk=S,e.$qk=q,e.$rk=j,a=Ae(a),e.$ak=(0,u.$Gi)("logService"),e.$bk=(0,u.$Gi)("loggerService");function c(){return new Date().toISOString()}function h(R){return(0,E.$kg)(R)}var m;(function(R){R[R.Off=0]="Off",R[R.Trace=1]="Trace",R[R.Debug=2]="Debug",R[R.Info=3]="Info",R[R.Warning=4]="Warning",R[R.Error=5]="Error"})(m||(e.LogLevel=m={})),e.$dk=m.Info;function l(R,g,T){switch(g){case m.Trace:R.trace(T);break;case m.Debug:R.debug(T);break;case m.Info:R.info(T);break;case m.Warning:R.warn(T);break;case m.Error:R.error(T);break;case m.Off:break;default:throw new Error(`Invalid log level ${g}`)}}function s(R,g=!1){let T="";for(let I=0;I<R.length;I++){let D=R[I];if(D instanceof Error&&(D=(0,t.$rj)(D,g)),typeof D=="object")try{D=JSON.stringify(D)}catch{}T+=(I>0?" ":"")+D}return T}class b extends B.$Xc{constructor(){super(...arguments),this.b=e.$dk,this.c=this.B(new L.$ne),this.onDidChangeLogLevel=this.c.event}setLevel(g){this.b!==g&&(this.b=g,this.c.fire(this.b))}getLevel(){return this.b}f(g){return this.b!==m.Off&&this.b<=g}}e.$fk=b;class v extends b{constructor(g){super(),this.h=g}f(g){return this.h||super.f(g)}trace(g,...T){this.f(m.Trace)&&this.g(m.Trace,s([g,...T],!0))}debug(g,...T){this.f(m.Debug)&&this.g(m.Debug,s([g,...T]))}info(g,...T){this.f(m.Info)&&this.g(m.Info,s([g,...T]))}warn(g,...T){this.f(m.Warning)&&this.g(m.Warning,s([g,...T]))}error(g,...T){if(this.f(m.Error))if(g instanceof Error){const I=Array.prototype.slice.call(arguments);I[0]=g.stack,this.g(m.Error,s(I))}else this.g(m.Error,s([g,...T]))}flush(){}}e.$gk=v;class r extends b{constructor(g=e.$dk){super(),this.setLevel(g),this.g=!w.$i}trace(g,...T){this.f(m.Trace)&&(this.g?console.log(`\x1B[90m[main ${c()}]\x1B[0m`,g,...T):console.log(`[main ${c()}]`,g,...T))}debug(g,...T){this.f(m.Debug)&&(this.g?console.log(`\x1B[90m[main ${c()}]\x1B[0m`,g,...T):console.log(`[main ${c()}]`,g,...T))}info(g,...T){this.f(m.Info)&&(this.g?console.log(`\x1B[90m[main ${c()}]\x1B[0m`,g,...T):console.log(`[main ${c()}]`,g,...T))}warn(g,...T){this.f(m.Warning)&&(this.g?console.warn(`\x1B[93m[main ${c()}]\x1B[0m`,g,...T):console.warn(`[main ${c()}]`,g,...T))}error(g,...T){this.f(m.Error)&&(this.g?console.error(`\x1B[91m[main ${c()}]\x1B[0m`,g,...T):console.error(`[main ${c()}]`,g,...T))}flush(){}}e.$hk=r;class i extends b{constructor(g=e.$dk,T=!0){super(),this.g=T,this.setLevel(g)}trace(g,...T){this.f(m.Trace)&&(this.g?console.log("%cTRACE","color: #888",g,...T):console.log(g,...T))}debug(g,...T){this.f(m.Debug)&&(this.g?console.log("%cDEBUG","background: #eee; color: #888",g,...T):console.log(g,...T))}info(g,...T){this.f(m.Info)&&(this.g?console.log("%c INFO","color: #33f",g,...T):console.log(g,...T))}warn(g,...T){this.f(m.Warning)&&(this.g?console.log("%c WARN","color: #993",g,...T):console.log(g,...T))}error(g,...T){this.f(m.Error)&&(this.g?console.log("%c ERR","color: #f33",g,...T):console.error(g,...T))}flush(){}}e.$ik=i;class n extends b{constructor(g,T=e.$dk){super(),this.g=g,this.setLevel(T)}trace(g,...T){this.f(m.Trace)&&this.g.log(m.Trace,[this.h(g),...T])}debug(g,...T){this.f(m.Debug)&&this.g.log(m.Debug,[this.h(g),...T])}info(g,...T){this.f(m.Info)&&this.g.log(m.Info,[this.h(g),...T])}warn(g,...T){this.f(m.Warning)&&this.g.log(m.Warning,[this.h(g),...T])}error(g,...T){this.f(m.Error)&&this.g.log(m.Error,[this.h(g),...T])}h(g){return typeof g=="string"?g:(0,t.$rj)(g,this.f(m.Trace))}flush(){}}e.$jk=n;class k extends b{constructor(g){super(),this.g=g,g.length&&this.setLevel(g[0].getLevel())}setLevel(g){for(const T of this.g)T.setLevel(g);super.setLevel(g)}trace(g,...T){for(const I of this.g)I.trace(g,...T)}debug(g,...T){for(const I of this.g)I.debug(g,...T)}info(g,...T){for(const I of this.g)I.info(g,...T)}warn(g,...T){for(const I of this.g)I.warn(g,...T)}error(g,...T){for(const I of this.g)I.error(g,...T)}flush(){for(const g of this.g)g.flush()}dispose(){for(const g of this.g)g.dispose();super.dispose()}}e.$kk=k;class _ extends B.$Xc{constructor(g,T,I){if(super(),this.h=g,this.j=T,this.b=new P.$Dc,this.c=this.B(new L.$ne),this.onDidChangeLoggers=this.c.event,this.f=this.B(new L.$ne),this.onDidChangeLogLevel=this.f.event,this.g=this.B(new L.$ne),this.onDidChangeVisibility=this.g.event,I)for(const D of I)this.b.set(D.resource,{logger:void 0,info:D})}m(g){return(0,E.$gg)(g)?[...this.b.values()].find(T=>T.info.id===g):this.b.get(g)}getLogger(g){return this.m(g)?.logger}createLogger(g,T){const I=this.n(g),D=(0,E.$gg)(g)?g:T?.id??(0,$.$uj)(I.toString()).toString(16);let F=this.b.get(I)?.logger;const J=T?.logLevel==="always"?m.Trace:T?.logLevel;F||(F=this.s(I,J??this.getLogLevel(I)??this.h,{...T,id:D}));const V={logger:F,info:{resource:I,id:D,logLevel:J,name:T?.name,hidden:T?.hidden,extensionId:T?.extensionId,when:T?.when}};return this.registerLogger(V.info),this.b.set(I,V),F}n(g){return(0,E.$gg)(g)?(0,o.$hh)(this.j,`${g}.log`):g}setLogLevel(g,T){if(p.URI.isUri(g)){const I=g,D=T,F=this.b.get(I);F&&D!==F.info.logLevel&&(F.info.logLevel=D===this.h?void 0:D,F.logger?.setLevel(D),this.b.set(F.info.resource,F),this.f.fire([I,D]))}else{this.h=g;for(const[I,D]of this.b.entries())this.b.get(I)?.info.logLevel===void 0&&D.logger?.setLevel(this.h);this.f.fire(this.h)}}setVisibility(g,T){const I=this.m(g);I&&T!==!I.info.hidden&&(I.info.hidden=!T,this.b.set(I.info.resource,I),this.g.fire([I.info.resource,T]))}getLogLevel(g){let T;return g&&(T=this.b.get(g)?.info.logLevel),T??this.h}registerLogger(g){const T=this.b.get(g.resource);T?T.info.hidden!==g.hidden&&this.setVisibility(g.resource,!g.hidden):(this.b.set(g.resource,{info:g,logger:void 0}),this.c.fire({added:[g],removed:[]}))}deregisterLogger(g){const T=this.b.get(g);T&&(T.logger&&T.logger.dispose(),this.b.delete(g),this.c.fire({added:[],removed:[T.info]}))}*getRegisteredLoggers(){for(const g of this.b.values())yield g.info}getRegisteredLogger(g){return this.b.get(g)?.info}dispose(){this.b.forEach(g=>g.logger?.dispose()),this.b.clear(),super.dispose()}}e.$lk=_;class O{constructor(){this.onDidChangeLogLevel=new L.$ne().event}setLevel(g){}getLevel(){return m.Info}trace(g,...T){}debug(g,...T){}info(g,...T){}warn(g,...T){}error(g,...T){}critical(g,...T){}dispose(){}flush(){}}e.$mk=O;class y extends O{}e.$nk=y;function A(R){if(R.verbose)return m.Trace;if(typeof R.logLevel=="string"){const g=j(R.logLevel.toLowerCase());if(g!==void 0)return g}return e.$dk}function S(R){switch(R){case m.Trace:return"trace";case m.Debug:return"debug";case m.Info:return"info";case m.Warning:return"warn";case m.Error:return"error";case m.Off:return"off"}}function q(R){switch(R){case m.Trace:return{original:"Trace",value:a.localize(0,null)};case m.Debug:return{original:"Debug",value:a.localize(1,null)};case m.Info:return{original:"Info",value:a.localize(2,null)};case m.Warning:return{original:"Warning",value:a.localize(3,null)};case m.Error:return{original:"Error",value:a.localize(4,null)};case m.Off:return{original:"Off",value:a.localize(5,null)}}}function j(R){switch(R){case"trace":return m.Trace;case"debug":return m.Debug;case"info":return m.Info;case"warn":return m.Warning;case"error":return m.Error;case"critical":return m.Error;case"off":return m.Off}}e.$sk=new d.$Xj("logLevel",S(m.Info))}),define(he[84],fe([0,1,6,4,8,2]),function(ie,e,a,t,L,$){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$ts=e.$ss=e.$rs=void 0;class B extends L.$lk{constructor(p,d,u,c,h){super(d,u,c),this.r=p,this.t=h,this.B(h.listen("onDidChangeLogLevel",p)(m=>{(0,L.$ck)(m)?super.setLogLevel(m):super.setLogLevel(a.URI.revive(m[0]),m[1])})),this.B(h.listen("onDidChangeVisibility",p)(([m,l])=>super.setVisibility(a.URI.revive(m),l))),this.B(h.listen("onDidChangeLoggers",p)(({added:m,removed:l})=>{for(const s of m)super.registerLogger({...s,resource:a.URI.revive(s.resource)});for(const s of l)super.deregisterLogger(s.resource)}))}createConsoleMainLogger(){return new L.$jk({log:(p,d)=>{this.t.call("consoleLog",[p,d])}})}registerLogger(p){super.registerLogger(p),this.t.call("registerLogger",[p,this.r])}deregisterLogger(p){super.deregisterLogger(p),this.t.call("deregisterLogger",[p,this.r])}setLogLevel(p,d){super.setLogLevel(p,d),this.t.call("setLogLevel",[p,d])}setVisibility(p,d){super.setVisibility(p,d),this.t.call("setVisibility",[this.n(p),d])}s(p,d,u){return new P(this.t,p,d,u,this.r)}static setLogLevel(p,d,u){return p.call("setLogLevel",[d,u])}}e.$rs=B;class P extends L.$gk{constructor(p,d,u,c,h){super(c?.logLevel==="always"),this.r=p,this.s=d,this.m=!1,this.n=[],this.setLevel(u),this.r.call("createLogger",[d,c,h]).then(()=>{this.u(this.n),this.m=!0})}g(p,d){const u=[[p,d]];this.m?this.u(u):this.n.push(...u)}u(p){this.r.call("log",[this.s,p])}}class w{constructor(p,d){this.a=p,this.b=d}listen(p,d){const u=this.b(p);switch(d){case"onDidChangeLoggers":return t.Event.map(this.a.onDidChangeLoggers,c=>({added:[...c.added].map(h=>this.c(h,u)),removed:[...c.removed].map(h=>this.c(h,u))}));case"onDidChangeVisibility":return t.Event.map(this.a.onDidChangeVisibility,c=>[u.transformOutgoingURI(c[0]),c[1]]);case"onDidChangeLogLevel":return t.Event.map(this.a.onDidChangeLogLevel,c=>(0,L.$ck)(c)?c:[u.transformOutgoingURI(c[0]),c[1]])}throw new Error(`Event not found: ${d}`)}async call(p,d,u){const c=this.b(p);switch(d){case"setLogLevel":return(0,L.$ck)(u[0])?this.a.setLogLevel(u[0]):this.a.setLogLevel(a.URI.revive(c.transformIncoming(u[0][0])),u[0][1]);case"getRegisteredLoggers":return Promise.resolve([...this.a.getRegisteredLoggers()].map(h=>this.c(h,c)))}throw new Error(`Call not found: ${d}`)}c(p,d){return{...p,resource:d.transformOutgoingURI(p.resource)}}}e.$ss=w;class o extends $.$Xc{constructor(p,d){super(),d.call("setLogLevel",[p.getLogLevel()]),this.B(p.onDidChangeLogLevel(u=>d.call("setLogLevel",[u]))),d.call("getRegisteredLoggers").then(u=>{for(const c of u)p.registerLogger({...c,resource:a.URI.revive(c.resource)})}),this.B(d.listen("onDidChangeVisibility")(([u,c])=>p.setVisibility(a.URI.revive(u),c))),this.B(d.listen("onDidChangeLoggers")(({added:u,removed:c})=>{for(const h of u)p.registerLogger({...h,resource:a.URI.revive(h.resource)});for(const h of c)p.deregisterLogger(h.resource)}))}}e.$ts=o}),define(he[85],fe([0,1,2,8]),function(ie,e,a,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$oR=void 0;class L extends a.$Xc{constructor(B,P=[]){super(),this.a=new t.$kk([B,...P]),this.B(B.onDidChangeLogLevel(w=>this.setLevel(w)))}get onDidChangeLogLevel(){return this.a.onDidChangeLogLevel}setLevel(B){this.a.setLevel(B)}getLevel(){return this.a.getLevel()}trace(B,...P){this.a.trace(B,...P)}debug(B,...P){this.a.debug(B,...P)}info(B,...P){this.a.info(B,...P)}warn(B,...P){this.a.warn(B,...P)}error(B,...P){this.a.error(B,...P)}flush(){this.a.flush()}}e.$oR=L}),define(he[86],fe([0,1,83,8]),function(ie,e,a,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$dR=void 0;var L;(function(o){o[o.Trace=0]="Trace",o[o.Debug=1]="Debug",o[o.Info=2]="Info",o[o.Warning=3]="Warning",o[o.Error=4]="Error",o[o.Critical=5]="Critical",o[o.Off=6]="Off"})(L||(L={}));async function $(o,E,p,d,u){try{const c=await new Promise((m,l)=>{ie(["@vscode/spdlog"],m,l)}).then(Ae);c.setFlushOn(L.Trace);const h=await c.createAsyncRotatingLogger(o,E,p,d);return u?h.clearFormatters():h.setPattern("%Y-%m-%d %H:%M:%S.%e [%l] %v"),h}catch(c){console.error(c)}return null}function B(o,E,p){switch(E){case t.LogLevel.Trace:o.trace(p);break;case t.LogLevel.Debug:o.debug(p);break;case t.LogLevel.Info:o.info(p);break;case t.LogLevel.Warning:o.warn(p);break;case t.LogLevel.Error:o.error(p);break;case t.LogLevel.Off:break;default:throw new Error(`Invalid log level ${E}`)}}function P(o,E){switch(E){case t.LogLevel.Trace:o.setLevel(L.Trace);break;case t.LogLevel.Debug:o.setLevel(L.Debug);break;case t.LogLevel.Info:o.setLevel(L.Info);break;case t.LogLevel.Warning:o.setLevel(L.Warning);break;case t.LogLevel.Error:o.setLevel(L.Error);break;case t.LogLevel.Off:o.setLevel(L.Off);break;default:throw new Error(`Invalid log level ${E}`)}}class w extends t.$gk{constructor(E,p,d,u,c){super(),this.m=[],this.setLevel(c),this.n=this.s(E,p,d,u),this.B(this.onDidChangeLogLevel(h=>{this.r&&P(this.r,h)}))}async s(E,p,d,u){const c=d?6:1,h=30/c*a.$Il.MB,m=await $(E,p,h,c,u);if(m){this.r=m,P(this.r,this.getLevel());for(const{level:l,message:s}of this.m)B(this.r,l,s);this.m=[]}}g(E,p){this.r?B(this.r,E,p):this.getLevel()<=E&&this.m.push({level:E,message:p})}flush(){this.r?this.r.flush():this.n.then(()=>this.flush())}dispose(){this.r?this.u():this.n.then(()=>this.u()),super.dispose()}u(){this.r&&(this.r.drop(),this.r=void 0)}}e.$dR=w}),define(he[87],fe([0,1,56,8,86]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$eR=void 0;class $ extends t.$lk{s(P,w,o){return new L.$dR((0,a.$3g)(),P.fsPath,!o?.donotRotate,!!o?.donotUseFormatters,w)}}e.$eR=$}),define(he[88],fe([0,1,16]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});let t;const L=globalThis.vscode;if(typeof L<"u"&&typeof L.context<"u"){const $=L.context.configuration();if($)t=$.product;else throw new Error("Sandbox: unable to resolve product configuration from preload script.")}else if(globalThis._VSCODE_PRODUCT_JSON&&globalThis._VSCODE_PACKAGE_JSON){if(t=globalThis._VSCODE_PRODUCT_JSON,a.env.VSCODE_DEV&&Object.assign(t,{nameShort:`${t.nameShort} Dev`,nameLong:`${t.nameLong} Dev`,dataFolderName:`${t.dataFolderName}-dev`,serverDataFolderName:t.serverDataFolderName?`${t.serverDataFolderName}-dev`:void 0}),!t.version){const $=globalThis._VSCODE_PACKAGE_JSON;Object.assign(t,{version:$.version})}}else t={nameShort:"Code",nameLong:"Visual Studio Code",applicationName:"code",win32x64AppId:"{{EA457B21-F73E-494C-ACAB-524FDE069978}",win32arm64AppId:"{{A5270FC5-65AD-483E-AC30-2C276B63D0AC}",win32x64UserAppId:"{{771FD6B0-FA20-440A-A002-3B3BAC16DC50}",win32arm64UserAppId:"{{D9E514E7-1A56-452D-9337-2990C0DC4310}",win32NameVersion:"Microsoft Visual Studio Code",win32DirName:"Microsoft VS Code",win32SetupExeBasename:"VSCodeSetup",win32AppUserModelId:"Microsoft.VisualStudioCode",win32ShellNameShort:"Code",win32MutexName:"vscode",win32RegValueName:"VSCode",darwinCredits:"resources/darwin/Credits.rtf",darwinBundleIdentifier:"com.microsoft.VSCode",darwinExecutable:"VSCode",linuxIconName:"vscode",licenseFileName:"LICENSE.rtf",licenseName:"Multiple, see https://code.visualstudio.com/license",serverGreeting:[],serverLicense:["*","* Visual Studio Code Server","*","* By using the software, you agree to","* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and","* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).","*"],serverLicensePrompt:"Do you accept the terms in the License Agreement (Y/n)?",serverApplicationName:"code-server",urlProtocol:"vscode",dataFolderName:".vscode",serverDataFolderName:".vscode-server",downloadUrl:"https://code.visualstudio.com",updateUrl:"https://update.code.visualstudio.com",webUrl:"https://vscode.dev",webEndpointUrl:"https://main.vscode-cdn.net",webviewContentExternalBaseUrlTemplate:"https://{{uuid}}.vscode-cdn.net/{{quality}}/{{commit}}/out/vs/workbench/contrib/webview/browser/pre/",quality:"stable",extensionsGallery:{nlsBaseUrl:"https://www.vscode-unpkg.net/_lp/",serviceUrl:"https://marketplace.visualstudio.com/_apis/public/gallery",itemUrl:"https://marketplace.visualstudio.com/items",publisherUrl:"https://marketplace.visualstudio.com/publishers",resourceUrlTemplate:"https://{publisher}.vscode-unpkg.net/{publisher}/{name}/{version}/{path}",controlUrl:"https://az764295.vo.msecnd.net/extensions/marketplace.json"},profileTemplatesUrl:"https://az764295.vo.msecnd.net/profile-templates/profile-templates.json",extensionRecommendations:{"ms-dotnettools.csdevkit":{onFileOpen:[{pathGlob:"{**/*.cs,**/global.json,**/*.csproj,**/*.cshtml,**/*.sln}",important:!0},{languages:["csharp"],important:!0},{pathGlob:"{**/project.json,**/appsettings.json}"}]},"ms-python.python":{onFileOpen:[{pathGlob:"{**/*.py}",important:!0},{languages:["python"],important:!0},{pathGlob:"{**/*.ipynb}"}]},"ms-toolsai.jupyter":{onFileOpen:[{pathGlob:"{**/*.py}",contentPattern:"^#\\s*%%$",important:!0,whenInstalled:["ms-python.python"]},{pathGlob:"{**/*.ipynb}"}]},"ms-toolsai.datawrangler":{onFileOpen:[{pathGlob:"{**/*.ipynb}",contentPattern:"import\\s*pandas|from\\s*pandas",whenInstalled:["ms-toolsai.jupyter"]}]},"golang.Go":{onFileOpen:[{pathGlob:"**/*.go",important:!0},{languages:["go"],important:!0}]},"vscjava.vscode-java-pack":{onFileOpen:[{pathGlob:"{**/*.java}",important:!0,whenNotInstalled:["ASF.apache-netbeans-java","Oracle.oracle-java"]},{languages:["java"],important:!0,whenNotInstalled:["ASF.apache-netbeans-java","Oracle.oracle-java"]}]},"ms-vscode.PowerShell":{onFileOpen:[{pathGlob:"{**/*.ps1,**/*.psd1,**/*.psm1}",important:!0},{languages:["powershell"],important:!0},{pathGlob:"{**/*.ps.config,**/*.ps1.config}"}]},"ms-toolsai.prompty":{onFileOpen:[{pathGlob:"{**/*.prompty}",important:!1}]},"ms-vscode.cpptools-extension-pack":{onFileOpen:[{pathGlob:"{**/*.c,**/*.cpp,**/*.cc,**/.cxx,**/*.hh,**/*.hpp,**/*.hxx,**/*.h}",important:!0,whenNotInstalled:["llvm-vs-code-extensions.vscode-clangd"]},{languages:["c","cpp"],important:!0,whenNotInstalled:["llvm-vs-code-extensions.vscode-clangd"]}]},"ms-azuretools.vscode-docker":{onFileOpen:[{pathGlob:"{**/dockerfile,**/Dockerfile,**/docker-compose.yml,**/docker-compose.*.yml}",important:!0},{languages:["dockerfile"],important:!0},{pathGlob:"{**/*.cs,**/project.json,**/global.json,**/*.csproj,**/*.cshtml,**/*.sln,**/appsettings.json,**/*.py,**/*.ipynb,**/*.js,**/*.ts,**/package.json}"}]},"vue.volar":{onFileOpen:[{pathGlob:"{**/*.vue}",important:!0},{languages:["vue"],important:!0}]},"ms-vscode.makefile-tools":{onFileOpen:[{pathGlob:"{**/makefile,**/Makefile}",important:!0},{languages:["makefile"],important:!0}]},"ms-vscode.cmake-tools":{onFileOpen:[{pathGlob:"{**/CMakeLists.txt}",important:!0}]},"ms-azure-devops.azure-pipelines":{onFileOpen:[{pathGlob:"{**/azure-pipelines.yaml}",important:!0}]},"msazurermtools.azurerm-vscode-tools":{onFileOpen:[{pathGlob:"{**/azuredeploy.json}",important:!0}]},"ms-vscode-remote.remote-containers":{onFileOpen:[{pathGlob:"{**/devcontainer.json}",important:!0}]},"ms-azuretools.vscode-bicep":{onFileOpen:[{pathGlob:"{**/*.bicep}",important:!0,whenNotInstalled:["ms-azuretools.rad-vscode-bicep"]}]},"svelte.svelte-vscode":{onFileOpen:[{pathGlob:"{**/*.svelte}",important:!0}]},"ms-vscode.vscode-github-issue-notebooks":{onFileOpen:[{pathGlob:"{**/*.github-issues}",important:!0}]},"ms-playwright.playwright":{onFileOpen:[{pathGlob:"{**/*playwright*.config.ts,**/*playwright*.config.js,**/*playwright*.config.mjs}",important:!0}]},"vscjava.vscode-gradle":{onFileOpen:[{pathGlob:"{**/gradlew,**/gradlew.bat,**/build.gradle,**/build.gradle.kts,**/settings.gradle,**/settings.gradle.kts}",important:!0}]},"REditorSupport.r":{onFileOpen:[{pathGlob:"{**/*.r}",important:!0},{languages:["r"],important:!0}]},"firefox-devtools.vscode-firefox-debug":{onFileOpen:[{pathGlob:"{**/*.ts,**/*.tsx,**/*.js,**/*.jsx,**/*.es6,**/.babelrc}"}]},"ms-edgedevtools.vscode-edge-devtools":{onFileOpen:[{pathGlob:"{**/*.ts,**/*.tsx,**/*.js,**/*.css,**/*.html}"}]},"Ionide.Ionide-fsharp":{onFileOpen:[{pathGlob:"{**/*.fsx,**/*.fsi,**/*.fs,**/*.ml,**/*.mli}"}]},"dbaeumer.vscode-eslint":{onFileOpen:[{pathGlob:"{**/*.js,**/*.jsx,**/*.es6,**/.eslintrc.*,**/.eslintrc,**/.babelrc,**/jsconfig.json}"}]},"bmewburn.vscode-intelephense-client":{onFileOpen:[{pathGlob:"{**/*.php,**/php.ini}"}]},"xdebug.php-debug":{onFileOpen:[{pathGlob:"{**/*.php,**/php.ini}"}]},"rust-lang.rust-analyzer":{onFileOpen:[{pathGlob:"{**/*.rs,**/*.rslib}"}]},"DavidAnson.vscode-markdownlint":{onFileOpen:[{pathGlob:"{**/*.md}"}]},"EditorConfig.EditorConfig":{onFileOpen:[{pathGlob:"{**/.editorconfig}"}]},"HookyQR.beautify":{onFileOpen:[{pathGlob:"{**/.jsbeautifyrc}"}]},"donjayamanne.githistory":{onFileOpen:[{pathGlob:"{**/.gitignore,**/.git}"}]},"eamodio.gitlens":{onFileOpen:[{pathGlob:"{**/.gitignore,**/.git}"}]},"Shopify.ruby-lsp":{onFileOpen:[{pathGlob:"{**/*.rb,**/*.erb,**/*.reek,**/.fasterer.yml,**/ruby-lint.yml,**/.rubocop.yml}"}]},"DotJoshJohnson.xml":{onFileOpen:[{pathGlob:"{**/*.xml}"}]},"stylelint.vscode-stylelint":{onFileOpen:[{pathGlob:"{**/.stylelintrc,**/stylelint.config.js}"}]},"ms-mssql.mssql":{onFileOpen:[{pathGlob:"{**/*.sql}"}]},"mtxr.sqltools":{onFileOpen:[{pathGlob:"{**/*.sql}"}]},"usqlextpublisher.usql-vscode-ext":{onFileOpen:[{pathGlob:"{**/*.usql}"}]},"ms-vscode.sublime-keybindings":{onFileOpen:[{pathGlob:"{**/.sublime-project,**/.sublime-workspace}"}]},"k--kato.intellij-idea-keybindings":{onFileOpen:[{pathGlob:"{**/.idea}"}]},"christian-kohler.npm-intellisense":{onFileOpen:[{pathGlob:"{**/package.json}"}]},"cake-build.cake-vscode":{onFileOpen:[{pathGlob:"{**/build.cake}"}]},"Angular.ng-template":{onFileOpen:[{pathGlob:"{**/.angular-cli.json,**/angular.json,**/*.ng.html,**/*.ng,**/*.ngml}"}]},"vscjava.vscode-maven":{onFileOpen:[{pathGlob:"**/pom.xml"}]},"ms-azuretools.vscode-azureterraform":{onFileOpen:[{pathGlob:"**/*.tf"}]},"HashiCorp.terraform":{onFileOpen:[{pathGlob:"**/*.tf"}]},"vsciot-vscode.vscode-arduino":{onFileOpen:[{pathGlob:"**/*.ino"}]},"ms-kubernetes-tools.vscode-kubernetes-tools":{onFileOpen:[{pathGlob:"{**/Chart.yaml}"}]},"Oracle.oracledevtools":{onFileOpen:[{pathGlob:"{**/*.sql}"}]},"betterthantomorrow.calva":{onFileOpen:[{pathGlob:"{**/*.clj,**/*.cljs}"}]},"vmware.vscode-boot-dev-pack":{onFileOpen:[{pathGlob:"{**/application.properties}"}]},"GitHub.copilot":{onFileOpen:[{pathGlob:"{**/*.ts,**/*.tsx,**/*.js,**/*.py,**/*.go,**/*.rb}"}],onSettingsEditorOpen:{}},"GitHub.vscode-github-actions":{onFileOpen:[{pathGlob:"{**/.github/workflows/*.yml}",important:!0}]},"circleci.circleci":{onFileOpen:[{pathGlob:"{**/.circleci/config.yml}"}]},"mechatroner.rainbow-csv":{onFileOpen:[{pathGlob:"**/*.csv",important:!0}]},"tomoki1207.pdf":{onFileOpen:[{pathGlob:"**/*.pdf",important:!0}]}},keymapExtensionTips:["vscodevim.vim","ms-vscode.sublime-keybindings","ms-vscode.atom-keybindings","ms-vscode.brackets-keybindings","ms-vscode.vs-keybindings","ms-vscode.notepadplusplus-keybindings","k--kato.intellij-idea-keybindings","lfs.vscode-emacs-friendly","alphabotsec.vscode-eclipse-keybindings","alefragnani.delphi-keybindings"],languageExtensionTips:["ms-python.python","ms-vscode.cpptools-extension-pack","ms-dotnettools.csdevkit","ms-toolsai.jupyter","vscjava.vscode-java-pack","ecmel.vscode-html-css","vue.volar","bmewburn.vscode-intelephense-client","dsznajder.es7-react-js-snippets","golang.go","ms-vscode.powershell","dart-code.dart-code","rust-lang.rust-analyzer","Shopify.ruby-lsp","GitHub.copilot"],configBasedExtensionTips:{git:{configPath:".git/config",configName:"Git",recommendations:{"github.vscode-pull-request-github":{name:"GitHub Pull Request",contentPattern:"^\\s*url\\s*=\\s*https:\\/\\/github\\.com.*$"},"eamodio.gitlens":{name:"GitLens"}}},devContainer:{configPath:".devcontainer/devcontainer.json",configName:"Dev Container",recommendations:{"ms-vscode-remote.remote-containers":{name:"Dev Containers",important:!0}}},maven:{configPath:"pom.xml",configName:"Maven",recommendations:{"vscjava.vscode-java-pack":{name:"Java",important:!0,isExtensionPack:!0,whenNotInstalled:["ASF.apache-netbeans-java","Oracle.oracle-java"]},"vmware.vscode-boot-dev-pack":{name:"Spring Boot Extension Pack",isExtensionPack:!0}}},gradle:{configPath:"build.gradle",configName:"Gradle",recommendations:{"vscjava.vscode-java-pack":{name:"Java",important:!0,isExtensionPack:!0,whenNotInstalled:["ASF.apache-netbeans-java","Oracle.oracle-java"]}}},"github-pull-request":{configPath:".vscode/.github-pull-request.rec",configName:"GitHub",configScheme:"vscode-vfs",recommendations:{"github.vscode-pull-request-github":{name:"GitHub Pull Request",important:!0}}},"pyproject-formatter":{configPath:"pyproject.toml",configName:"Python Formatter",recommendations:{"ms-python.black-formatter":{name:"Black Formatter",contentPattern:'(^\\s*\\[\\[?\\s*"?tool"?\\s*\\.\\s*"?black"?\\s*[\\].])|("black\\s*["[(<=>!~;@])'},"ms-python.autopep8":{name:"Autopep8",contentPattern:'(^\\s*\\[\\[?\\s*"?tool"?\\s*\\.\\s*"?autopep8"?\\s*[\\].])|("autopep8\\s*["[(<=>!~;@])'}}},"pep8-formatter":{configPath:".pep8",configName:"Python Formatter",recommendations:{"ms-python.autopep8":{name:"Autopep8"}}},"python-setup-cgf-formatter":{configPath:"setup.cfg",configName:"Python Formatter",recommendations:{"ms-python.autopep8":{name:"Autopep8",contentPattern:"^\\[pep8\\]"}}},"tox-ini-formatter":{configPath:"tox.ini",configName:"Python Formatter",recommendations:{"ms-python.autopep8":{name:"Autopep8",contentPattern:"^\\[pep8\\]"}}},"pyproject-linter":{configPath:"pyproject.toml",configName:"Python Linter",recommendations:{"ms-python.pylint":{name:"Pylint",contentPattern:'(^\\s*\\[\\[?\\s*"?tool"?\\s*\\.\\s*"?pylint"?\\s*[\\].])|("pylint\\s*["[(<=>!~;@])'},"charliermarsh.ruff":{name:"Ruff",contentPattern:'(^\\s*\\[\\[?\\s*"?tool"?\\s*\\.\\s*"?ruff"?\\s*[\\].])|("ruff\\s*["[(<=>!~;@])'},"ms-python.mypy-type-checker":{name:"Mypy Type Checker",contentPattern:'(^\\s*\\[\\[?\\s*"?tool"?\\s*\\.\\s*"?mypy"?\\s*[\\].])|("mypy\\s*["[(<=>!~;@])'},"ms-python.flake8":{name:"Flake8",contentPattern:'(^\\s*\\[\\[?\\s*"?tool"?\\s*\\.\\s*"?flake8"?\\s*[\\].])|("flake8\\s*["[(<=>!~;@])'}}},".pylintrc-linter":{configPath:".pylintrc",configName:"Python Linter",recommendations:{"ms-python.pylint":{name:"Pylint"}}},"pylintrc-linter":{configPath:"pylintrc",configName:"Python Linter",recommendations:{"ms-python.pylint":{name:"Pylint"}}},"mypy-ini-linter":{configPath:".mypy.ini",configName:"Python Linter",recommendations:{"ms-python.mypy-type-checker":{name:"Mypy Type Checker"}}},"tox-ini-linter":{configPath:"tox.ini",configName:"Python Linter",recommendations:{"ms-python.flake8":{name:"Flake8",contentPattern:"^\\[flake8\\]"}}},".flake8-linter":{configPath:".flake8",configName:"Python Linter",recommendations:{"ms-python.flake8":{name:"Flake8"}}},"python-setup-cgf-linter":{configPath:"setup.cfg",configName:"Python Linter",recommendations:{"ms-python.flake8":{name:"Flake8",contentPattern:"^\\[flake8\\]"}}}},exeBasedExtensionTips:{az:{friendlyName:"Azure CLI",windowsPath:"%ProgramFiles(x86)%\\Microsoft SDKs\\Azure\\CLI2\\wbin\\az.cmd",recommendations:{"ms-vscode.azurecli":{name:"Azure CLI Tools"}}},azd:{friendlyName:"Azure Dev CLI",windowsPath:"%USERPROFILE%\\AppData\\Local\\Programs\\Azure Dev CLI\\azd.exe",recommendations:{"ms-azuretools.azure-dev":{name:"Azure Developer CLI"},"ms-azuretools.vscode-azureresourcegroups":{name:"Azure Resources"}}},"azd-user":{friendlyName:"Azure Dev CLI",windowsPath:"%ProgramFiles%\\Azure Dev CLI\\azd.exe",recommendations:{"ms-azuretools.azure-dev":{name:"Azure Developer CLI"},"ms-azuretools.vscode-azureresourcegroups":{name:"Azure Resources"}}},heroku:{friendlyName:"Heroku CLI",windowsPath:"%ProgramFiles%\\Heroku\\bin\\heroku.cmd",recommendations:{"ms-azuretools.vscode-azureappservice":{name:"Azure App Service"},"pkosta2005.heroku-command":{name:"heroku-cli"}}},mongo:{friendlyName:"Mongo",windowsPath:"%ProgramFiles%\\MongoDB\\Server\\3.6\\bin\\mongod.exe",recommendations:{"ms-azuretools.vscode-cosmosdb":{name:"Azure Databases"}}},serverless:{friendlyName:"Serverless framework",windowsPath:"%APPDATA%\\npm\\serverless.cmd",recommendations:{"ms-azuretools.vscode-azurefunctions":{name:"Azure Functions"}}},func:{friendlyName:"Azure Function SDK",windowsPath:"%APPDATA%\\npm\\func.cmd",recommendations:{"ms-azuretools.vscode-azurefunctions":{name:"Azure Functions"}}},mysql:{friendlyName:"MySQL",windowsPath:"%ProgramFiles%\\MySQL\\MySQL Server 8.0\\bin\\mysqld.exe",recommendations:{"mtxr.sqltools":{name:"SQLTools"}}},postgres:{friendlyName:"PostgreSQL",windowsPath:"%ProgramFiles%\\PostgreSQL\\11\\bin\\psql.exe",recommendations:{"ms-ossdata.vscode-postgresql":{name:"PostgreSQL"},"mtxr.sqltools":{name:"SQLTools"}}},sqlcmd:{friendlyName:"SQL CLI",recommendations:{"ms-mssql.mssql":{name:"SQL Server (mssql)"}}},now:{friendlyName:"Now CLI",windowsPath:"%APPDATA%\\npm\\now.cmd",recommendations:{"ms-azuretools.vscode-azureappservice":{name:"Azure App Service"},"ms-azuretools.vscode-docker":{name:"Docker"}}},docker:{friendlyName:"Docker",windowsPath:"%ProgramFiles%\\Docker\\Docker\\Resources\\bin\\docker.exe",recommendations:{"ms-azuretools.vscode-docker":{name:"Docker",important:!0},"ms-vscode-remote.remote-containers":{name:"Dev Containers",important:!0},"ms-kubernetes-tools.vscode-kubernetes-tools":{name:"Kubernetes"}}},kubectl:{friendlyName:"Kubernetes",windowsPath:"%ProgramFiles%\\Docker\\Docker\\Resources\\bin\\kubectl.exe",recommendations:{"ms-azuretools.vscode-docker":{name:"Docker"},"ms-kubernetes-tools.vscode-kubernetes-tools":{name:"Kubernetes"},"ms-vscode-remote.remote-containers":{name:"Dev Containers"}}},ng:{friendlyName:"Angular CLI",windowsPath:"%APPDATA%\\npmexit\\ng.cmd",recommendations:{"johnpapa.Angular2":{name:"Angular Snippets"}}},"create-react-app":{friendlyName:"Create React App",windowsPath:"%APPDATA%\\npm\\create-react-app.cmd",recommendations:{"msjsdiag.vscode-react-native":{name:"React Native Tools"}}},"react-native":{friendlyName:"React Native",windowsPath:"%APPDATA%\\npm\\react-native-cli",recommendations:{"msjsdiag.vscode-react-native":{name:"React Native Tools"}}},p4:{friendlyName:"Perforce",recommendations:{"slevesque.perforce":{name:"Perforce for VS Code"}}},hg:{friendlyName:"Mercurial",recommendations:{"mrcrowl.hg":{name:"Hg"}}},git:{friendlyName:"Git",windowsPath:"%ProgramFiles%\\Git\\git-bash.exe",recommendations:{"eamodio.gitlens":{name:"GitLens"}}},svn:{friendlyName:"Subversion",windowsPath:"%ProgramFiles%\\TortoiseSVN\\bin\\TortoiseProc.exe",recommendations:{"johnstoncode.svn-scm":{name:"SVN"}}},subl:{friendlyName:"Sublime",windowsPath:"%ProgramFiles%\\Sublime Text3\\sublime_text.exe",recommendations:{"ms-vscode.sublime-keybindings":{name:"Sublime Text Keymap and Settings Importer"}}},atom:{friendlyName:"Atom",windowsPath:"%USERPROFILE%\\AppData\\Local\\atom\\bin\\atom.cmd",recommendations:{"ms-vscode.atom-keybindings":{name:"Atom Keymap"}}},brackets:{friendlyName:"Brackets",windowsPath:"%ProgramFiles(x86)%\\Brackets\\Brackets.exe",recommendations:{"ms-vscode.brackets-keybindings":{name:"Brackets Keymap"}}},notepadplusplus:{friendlyName:"Notepad++",windowsPath:"%ProgramFiles%\\Notepad++\\Notepad++.exe",recommendations:{"ms-vscode.notepadplusplus-keybindings":{name:"Notepad++ keymap"}}},vi:{friendlyName:"VIM",windowsPath:"%ProgramFiles(x86)%\\Vim\\vim80\\gvim.exe",recommendations:{"vscodevim.vim":{name:"Vim"}}},mvn:{friendlyName:"Maven",recommendations:{"vscjava.vscode-java-pack":{name:"Java",important:!0,isExtensionPack:!0,whenNotInstalled:["ASF.apache-netbeans-java","Oracle.oracle-java"]}}},gradle:{friendlyName:"Gradle",recommendations:{"vscjava.vscode-java-pack":{name:"Java",important:!0,isExtensionPack:!0,whenNotInstalled:["ASF.apache-netbeans-java","Oracle.oracle-java"]}}},"Microsoft Edge":{friendlyName:"Microsoft Edge",windowsPath:"%USERPROFILE%\\AppData\\Local\\Microsoft\\Edge\\Application\\msedge.exe",recommendations:{"ms-edgedevtools.vscode-edge-devtools":{name:"Microsoft Edge Developer Tools"}}},"Microsoft Edge Dev":{friendlyName:"Microsoft Edge Dev",windowsPath:"%USERPROFILE%\\AppData\\Local\\Microsoft\\Edge Dev\\Application\\msedge.exe",recommendations:{"ms-edgedevtools.vscode-edge-devtools":{name:"Microsoft Edge Developer Tools"}}},"Microsoft Edge Beta":{friendlyName:"Microsoft Edge Beta",windowsPath:"%USERPROFILE%\\AppData\\Local\\Microsoft\\Edge Beta\\Application\\msedge.exe",recommendations:{"ms-edgedevtools.vscode-edge-devtools":{name:"Microsoft Edge Developer Tools"}}},"Microsoft Edge Canary":{friendlyName:"Microsoft Edge Canary",windowsPath:"%USERPROFILE%\\AppData\\Local\\Microsoft\\Edge SxS\\Application\\msedge.exe",recommendations:{"ms-edgedevtools.vscode-edge-devtools":{name:"Microsoft Edge Developer Tools"}}},"Mozilla Firefox (x86)":{friendlyName:"Mozilla Firefox",windowsPath:"%ProgramFiles(x86)%\\Mozilla Firefox\\firefox.exe",recommendations:{"firefox-devtools.vscode-firefox-debug":{name:"Debugger for Firefox"}}},"Mozilla Firefox Developer Edition (x86)":{friendlyName:"Mozilla Firefox Developer Edition",windowsPath:"%ProgramFiles(x86)%\\Firefox Developer Edition\\firefox.exe",recommendations:{"firefox-devtools.vscode-firefox-debug":{name:"Debugger for Firefox"}}},"Mozilla Firefox":{friendlyName:"Mozilla Firefox",windowsPath:"%ProgramFiles%\\Mozilla Firefox\\firefox.exe",recommendations:{"firefox-devtools.vscode-firefox-debug":{name:"Debugger for Firefox"}}},"Mozilla Firefox Developer Edition":{friendlyName:"Mozilla Firefox Developer Edition",windowsPath:"%ProgramFiles%\\Firefox Developer Edition\\firefox.exe",recommendations:{"firefox-devtools.vscode-firefox-debug":{name:"Debugger for Firefox"}}},cordova:{friendlyName:"Cordova",windowsPath:"%APPDATA%\\npm\\cordova",recommendations:{"msjsdiag.cordova-tools":{name:"Cordova Tools"}}},gcloud:{friendlyName:"Google GCloud CLI",windowsPath:"%ProgramFiles(x86)%\\Google\\Cloud SDK\\google-cloud-sdk\\bin\\gcloud.cmd",recommendations:{"GoogleCloudTools.cloudcode":{name:"Cloud Code"}}},skaffold:{friendlyName:"Skaffold Code to Cluster",recommendations:{"ms-azuretools.vscode-docker":{name:"Docker"},"ms-kubernetes-tools.vscode-kubernetes-tools":{name:"Kubernetes"}}},minikube:{friendlyName:"MiniKube Local Kubernetes Cluster",recommendations:{"ms-azuretools.vscode-docker":{name:"Docker"},"ms-kubernetes-tools.vscode-kubernetes-tools":{name:"Kubernetes"},"ms-vscode-remote.remote-containers":{name:"Dev Containers"}}},podman:{friendlyName:"Podman",recommendations:{"ms-vscode-remote.remote-containers":{name:"Dev Containers"}}},wsl:{friendlyName:"Windows Subsystem for Linux (WSL)",windowsPath:"%WINDIR%\\system32\\lxss\\LxssManager.dll",important:!0,recommendations:{"ms-vscode-remote.remote-wsl":{name:"WSL",important:!0}}}},webExtensionTips:["tyriar.luna-paint","codespaces-contrib.codeswing","ms-vscode.vscode-github-issue-notebooks","esbenp.prettier-vscode","hediet.vscode-drawio"],virtualWorkspaceExtensionTips:{"vscode-vfs":{friendlyName:"Remote Repositories",extensionId:"ms-vscode.remote-repositories",startEntry:{helpLink:"https://aka.ms/vscode-remote/remote-repositories",startConnectLabel:"Remote Repository",startCommand:"remoteHub.continueOn.openRepository",priority:5}}},remoteExtensionTips:{wsl:{friendlyName:"WSL",extensionId:"ms-vscode-remote.remote-wsl",supportedPlatforms:["Windows","Web"],startEntry:{helpLink:"https://aka.ms/vscode-remote/wsl",startConnectLabel:"WSL",startCommand:"remote-wsl.connect",priority:3}},"ssh-remote":{friendlyName:"Remote - SSH",extensionId:"ms-vscode-remote.remote-ssh",supportedPlatforms:["Windows","Linux","Mac"],startEntry:{helpLink:"https://aka.ms/vscode-remote/ssh",startConnectLabel:"SSH ",startCommand:"opensshremotes.openEmptyWindowInCurrentWindow",priority:1}},"dev-container":{friendlyName:"Dev Containers",extensionId:"ms-vscode-remote.remote-containers",supportedPlatforms:["Windows","Linux","Mac"],startEntry:{helpLink:"https://aka.ms/vscode-remote/containers",startConnectLabel:"Dev Container",startCommand:"remote-containers.reopenInContainer",priority:2}},"attached-container":{friendlyName:"Dev Containers",extensionId:"ms-vscode-remote.remote-containers"},codespaces:{friendlyName:"GitHub Codespaces",extensionId:"github.codespaces",startEntry:{helpLink:"https://aka.ms/vscode-remote-codespaces",startConnectLabel:"GitHub Codespace ",startCommand:"github.codespaces.connect",priority:4}},tunnel:{friendlyName:"Remote - Tunnels",extensionId:"ms-vscode.remote-server",startEntry:{helpLink:"https://aka.ms/remote-tunnels-doc",startConnectLabel:"Tunnel",startCommand:"remote-tunnels.connectCurrentWindowToTunnel",priority:0}}},commandPaletteSuggestedCommandIds:["workbench.action.files.openFile","workbench.action.files.openFileFolder","workbench.action.files.openFolder","workbench.action.remote.showMenu","editor.action.formatDocument","editor.action.commentLine","workbench.action.tasks.runTask","workbench.action.openSettings2","workbench.action.selectTheme","workbench.action.openWalkthrough","workbench.action.openIssueReporter"],extensionKeywords:{md:["Markdown"],js:["JavaScript"],jsx:["JavaScript"],es6:["JavaScript"],html:["Html"],ts:["TypeScript"],tsx:["TypeScript"],css:["CSS"],scss:["SASS"],txt:["Text"],php:["PHP"],php3:["PHP"],php4:["PHP"],ph3:["PHP"],ph4:["PHP"],xml:["XML"],py:["Python"],pyc:["Python"],pyd:["Python"],pyo:["Python"],pyw:["Python"],pyz:["Python"],java:["Java"],class:["Java"],jar:["Java"],c:["c","objective c","objective-c"],m:["objective c","objective-c"],mm:["objective c","objective-c"],cpp:["cpp","c plus plus","c","c++"],cc:["cpp","c plus plus","c","c++"],cxx:["cpp","c plus plus","c++"],hh:["cpp","c plus plus","c++"],hpp:["cpp","c++"],h:["cpp","c plus plus","c++","c","objective c","objective-c"],sql:["sql"],sh:["bash"],bash:["bash"],zsh:["bash","zshell"],cs:["c#","csharp"],csproj:["c#","csharp"],sln:["c#","csharp"],go:["go"],sty:["latex"],tex:["latex"],ps:["powershell"],ps1:["powershell"],rs:["rust"],rslib:["rust"],hs:["haskell"],lhs:["haskell"],scm:["scheme"],ss:["scheme"],clj:["clojure"],cljs:["clojure"],cljc:["clojure"],edn:["clojure"],erl:["erlang"],hrl:["erlang"],scala:["scala"],sc:["scala"],pl:["perl"],pm:["perl"],t:["perl"],pod:["perl"],groovy:["groovy"],swift:["swift"],rb:["ruby"],rbw:["ruby"],jl:["julia"],f:["fortran"],for:["fortran"],f90:["fortran"],f95:["fortran"],coffee:["CoffeeScript"],litcoffee:["CoffeeScript"],yaml:["yaml"],yml:["yaml"],dart:["dart"],json:["json"]},extensionAllowedBadgeProviders:["api.bintray.com","api.travis-ci.com","api.travis-ci.org","app.fossa.io","badge.buildkite.com","badge.fury.io","badge.waffle.io","badgen.net","badges.frapsoft.com","badges.gitter.im","badges.greenkeeper.io","cdn.travis-ci.com","cdn.travis-ci.org","ci.appveyor.com","circleci.com","cla.opensource.microsoft.com","codacy.com","codeclimate.com","codecov.io","coveralls.io","david-dm.org","deepscan.io","dev.azure.com","docs.rs","flat.badgen.net","gemnasium.com","githost.io","gitlab.com","godoc.org","goreportcard.com","img.shields.io","isitmaintained.com","marketplace.visualstudio.com","nodesecurity.io","opencollective.com","snyk.io","travis-ci.com","travis-ci.org","visualstudio.com","vsmarketplacebadge.apphb.com","www.bithound.io","www.versioneye.com"],extensionAllowedBadgeProvidersRegex:["^https:\\/\\/github\\.com\\/[^/]+\\/[^/]+\\/(actions\\/)?workflows\\/.*badge\\.svg"],crashReporter:{productName:"VSCode",companyName:"Microsoft"},appCenter:{"win32-x64":"appcenter://code?aid=a4e3233c-699c-46ec-b4f4-9c2a77254662","win32-arm64":"appcenter://code?aid=3712d786-7cc8-4f11-8b08-cc12eab6d4f7","linux-x64":"appcenter://code?aid=fba07a4d-84bd-4fc8-a125-9640fc8ce171",darwin:"appcenter://code?aid=860d6632-f65b-490b-85a8-3e72944f7774","darwin-arm64":"appcenter://code?aid=be71415d-3893-4ae5-b453-e537b9668a10","darwin-universal":"appcenter://code?aid=de75e3cc-e22f-4f42-a03f-1409c21d8af8"},enableTelemetry:!0,aiConfig:{ariaKey:"5bbf946d11a54f6783919c455abaddaf-fd62977b-c92d-4714-a45d-649d06980372-7168"},msftInternalDomains:["redmond.corp.microsoft.com","northamerica.corp.microsoft.com","fareast.corp.microsoft.com","ntdev.corp.microsoft.com","wingroup.corp.microsoft.com","southpacific.corp.microsoft.com","wingroup.windeploy.ntdev.microsoft.com","ddnet.microsoft.com","europe.corp.microsoft.com"],documentationUrl:"https://go.microsoft.com/fwlink/?LinkID=533484#vscode",serverDocumentationUrl:"https://aka.ms/vscode-server-doc",releaseNotesUrl:"https://go.microsoft.com/fwlink/?LinkID=533483#vscode",keyboardShortcutsUrlMac:"https://go.microsoft.com/fwlink/?linkid=832143",keyboardShortcutsUrlLinux:"https://go.microsoft.com/fwlink/?linkid=832144",keyboardShortcutsUrlWin:"https://go.microsoft.com/fwlink/?linkid=832145",introductoryVideosUrl:"https://go.microsoft.com/fwlink/?linkid=832146",tipsAndTricksUrl:"https://go.microsoft.com/fwlink/?linkid=852118",newsletterSignupUrl:"https://www.research.net/r/vsc-newsletter",youTubeUrl:"https://aka.ms/vscode-youtube",requestFeatureUrl:"https://go.microsoft.com/fwlink/?LinkID=533482",reportIssueUrl:"https://github.com/Microsoft/vscode/issues/new",reportMarketplaceIssueUrl:"https://github.com/microsoft/vsmarketplace/issues/new",licenseUrl:"https://go.microsoft.com/fwlink/?LinkID=533485",serverLicenseUrl:"https://aka.ms/vscode-server-license",privacyStatementUrl:"https://go.microsoft.com/fwlink/?LinkId=521839",showTelemetryOptOut:!0,npsSurveyUrl:"https://aka.ms/vscode-nps",cesSurveyUrl:"https://aka.ms/new-to-vscode-feedback",checksumFailMoreInfoUrl:"https://go.microsoft.com/fwlink/?LinkId=828886",electronRepository:"Microsoft/vscode-electron-prebuilt",nodejsRepository:"Microsoft/vscode-node",settingsSearchUrl:"https://bingsettingssearch.trafficmanager.net/api/Search",surveys:[{surveyId:"cpp.1",surveyUrl:"https://www.research.net/r/VBVV6C6",languageId:"cpp",editCount:10,userProbability:.15},{surveyId:"java.2",surveyUrl:"https://www.research.net/r/vscodejava",languageId:"java",editCount:10,userProbability:.3},{surveyId:"javascript.1",surveyUrl:"https://www.research.net/r/vscode-js",languageId:"javascript",editCount:10,userProbability:.05},{surveyId:"typescript.1",surveyUrl:"https://www.research.net/r/vscode-ts",languageId:"typescript",editCount:10,userProbability:.05},{surveyId:"csharp.1",surveyUrl:"https://www.research.net/r/8KGJ9V8",languageId:"csharp",editCount:10,userProbability:.1}],extensionsEnabledWithApiProposalVersion:["GitHub.copilot-chat"],extensionEnabledApiProposals:{"ms-vscode.vscode-selfhost-test-provider":["testObserver","attributableCoverage"],"VisualStudioExptTeam.vscodeintellicode-completions":["inlineCompletionsAdditions"],"ms-vsliveshare.vsliveshare":["contribMenuBarHome","contribShareMenu","contribStatusBarItems","diffCommand","documentFiltersExclusive","fileSearchProvider","findTextInFiles","notebookCellExecutionState","notebookLiveShare","terminalDimensions","terminalDataWriteEvent","textSearchProvider"],"ms-vscode.js-debug":["portsAttributes","findTextInFiles","workspaceTrust","tunnels"],"ms-toolsai.vscode-ai-remote":["resolvers"],"ms-python.python":["contribEditorContentMenu","quickPickSortByLabel","portsAttributes","testObserver","quickPickItemTooltip","terminalDataWriteEvent","terminalExecuteCommandEvent","contribIssueReporter","terminalShellIntegration"],"ms-dotnettools.dotnet-interactive-vscode":["notebookMessaging"],"GitHub.codespaces":["contribEditSessions","contribMenuBarHome","contribRemoteHelp","contribViewsRemote","resolvers","tunnels","terminalDataWriteEvent","treeViewReveal","notebookKernelSource"],"ms-vscode.azure-repos":["extensionRuntime","fileSearchProvider","textSearchProvider"],"ms-vscode.remote-repositories":["canonicalUriProvider","contribEditSessions","contribRemoteHelp","contribMenuBarHome","contribViewsRemote","contribViewsWelcome","contribShareMenu","documentFiltersExclusive","editSessionIdentityProvider","extensionRuntime","fileSearchProvider","quickPickSortByLabel","workspaceTrust","shareProvider","scmActionButton","scmSelectedProvider","scmValidation","textSearchProvider","timeline"],"ms-vscode-remote.remote-wsl":["resolvers","contribRemoteHelp","contribViewsRemote","telemetry"],"ms-vscode-remote.remote-ssh":["resolvers","tunnels","terminalDataWriteEvent","contribRemoteHelp","contribViewsRemote","telemetry"],"ms-vscode.remote-server":["resolvers","tunnels","contribViewsWelcome"],"ms-vscode.remote-explorer":["contribRemoteHelp","contribViewsRemote","extensionsAny"],"ms-vscode-remote.remote-containers":["contribEditSessions","resolvers","portsAttributes","tunnels","workspaceTrust","terminalDimensions","contribRemoteHelp","contribViewsRemote"],"ms-vscode.js-debug-nightly":["portsAttributes","findTextInFiles","workspaceTrust","tunnels"],"ms-vscode.lsif-browser":["documentFiltersExclusive"],"ms-vscode.vscode-speech":["speech"],"GitHub.vscode-pull-request-github":["activeComment","codiconDecoration","codeActionRanges","commentingRangeHint","commentReactor","commentReveal","commentThreadApplicability","contribAccessibilityHelpContent","contribCommentEditorActionsMenu","contribCommentPeekContext","contribCommentThreadAdditionalMenu","contribCommentsViewThreadMenus","contribEditorContentMenu","contribMultiDiffEditorMenus","contribShareMenu","diffCommand","fileComments","quickDiffProvider","shareProvider","tabInputTextMerge","tokenInformation","treeViewMarkdownMessage"],"GitHub.copilot":["inlineCompletionsAdditions"],"GitHub.copilot-nightly":["inlineCompletionsAdditions"],"GitHub.copilot-chat":["interactive","terminalDataWriteEvent","terminalExecuteCommandEvent","terminalSelection","terminalQuickFixProvider","chatParticipantAdditions","defaultChatParticipant","embeddings","chatVariableResolver","chatProvider","mappedEditsProvider","aiRelatedInformation","codeActionAI","findTextInFiles","textSearchProvider","commentReveal","contribSourceControlInputBoxMenu","contribCommentEditorActionsMenu","contribCommentThreadAdditionalMenu","contribCommentsViewThreadMenus","newSymbolNamesProvider","findFiles2","extensionsAny","authLearnMore","testObserver","aiTextSearchProvider","documentFiltersExclusive","chatParticipantPrivate","lmTools"],"GitHub.remotehub":["contribRemoteHelp","contribMenuBarHome","contribViewsRemote","contribViewsWelcome","documentFiltersExclusive","extensionRuntime","fileSearchProvider","quickPickSortByLabel","workspaceTrust","scmSelectedProvider","scmValidation","textSearchProvider","timeline"],"ms-python.gather":["notebookCellExecutionState"],"ms-python.vscode-pylance":["notebookCellExecutionState"],"ms-python.debugpy":["portsAttributes","contribIssueReporter","debugVisualization"],"ms-toolsai.jupyter-renderers":["contribNotebookStaticPreloads"],"ms-toolsai.jupyter":["notebookDeprecated","notebookMessaging","notebookMime","notebookCellExecutionState","portsAttributes","quickPickSortByLabel","notebookKernelSource","interactiveWindow","notebookControllerAffinityHidden","contribNotebookStaticPreloads","quickPickItemTooltip","notebookExecution","notebookCellExecution","notebookVariableProvider"],"dbaeumer.vscode-eslint":["notebookCellExecutionState"],"ms-vscode.azure-sphere-tools-ui":["tunnels"],"ms-azuretools.vscode-azureappservice":["terminalDataWriteEvent"],"ms-azuretools.vscode-azureresourcegroups":["authGetSessions"],"ms-azuretools.vscode-azure-github-copilot":["chatParticipantAdditions","embeddings","languageModelSystem"],"ms-vscode.anycode":["extensionsAny"],"ms-vscode.cpptools":["terminalDataWriteEvent"],"redhat.java":["documentPaste"],"ms-dotnettools.csdevkit":["inlineCompletionsAdditions"],"ms-dotnettools.vscodeintellicode-csharp":["inlineCompletionsAdditions"],"microsoft-IsvExpTools.powerplatform-vscode":["fileSearchProvider","textSearchProvider"],"microsoft-IsvExpTools.powerplatform-vscode-preview":["fileSearchProvider","textSearchProvider"],"TeamsDevApp.ms-teams-vscode-extension":["chatParticipantAdditions","languageModelSystem"]},tasConfig:{endpoint:"https://default.exp-tas.com/vscode/ab",telemetryEventName:"query-expfeature",assignmentContextTelemetryPropertyName:"abexp.assignmentcontext"},extensionKind:{"Shan.code-settings-sync":["ui"],"shalldie.background":["ui"],"techer.open-in-browser":["ui"],"CoenraadS.bracket-pair-colorizer-2":["ui"],"CoenraadS.bracket-pair-colorizer":["ui","workspace"],"hiro-sun.vscode-emacs":["ui","workspace"],"hnw.vscode-auto-open-markdown-preview":["ui","workspace"],"wayou.vscode-todo-highlight":["ui","workspace"],"aaron-bond.better-comments":["ui","workspace"],"vscodevim.vim":["ui"],"ollyhayes.colmak-vim":["ui"]},extensionPointExtensionKind:{typescriptServerPlugins:["workspace"]},extensionSyncedKeys:{"ritwickdey.liveserver":["liveServer.setup.version"]},extensionVirtualWorkspacesSupport:{"esbenp.prettier-vscode":{default:!1},"msjsdiag.debugger-for-chrome":{default:!1},"redhat.java":{default:!1},"HookyQR.beautify":{default:!1},"ritwickdey.LiveServer":{default:!1},"VisualStudioExptTeam.vscodeintellicode":{default:!1},"octref.vetur":{default:!1},"formulahendry.code-runner":{default:!1},"xdebug.php-debug":{default:!1},"ms-mssql.mssql":{default:!1},"christian-kohler.path-intellisense":{default:!1},"eg2.tslint":{default:!1},"eg2.vscode-npm-script":{default:!1},"donjayamanne.githistory":{default:!1},"Zignd.html-css-class-completion":{default:!1},"christian-kohler.npm-intellisense":{default:!1},"EditorConfig.EditorConfig":{default:!1},"austin.code-gnu-global":{default:!1},"johnpapa.Angular2":{default:!1},"ms-vscode.vscode-typescript-tslint-plugin":{default:!1},"DotJoshJohnson.xml":{default:!1},"techer.open-in-browser":{default:!1},"tht13.python":{default:!1},"bmewburn.vscode-intelephense-client":{default:!1},"Angular.ng-template":{default:!1},"xdebug.php-pack":{default:!1},"dbaeumer.jshint":{default:!1},"yzhang.markdown-all-in-one":{default:!1},"Dart-Code.flutter":{default:!1},"streetsidesoftware.code-spell-checker":{default:!1},"rebornix.Ruby":{default:!1},"ms-vscode.sublime-keybindings":{default:!1},"mitaki28.vscode-clang":{default:!1},"steoates.autoimport":{default:!1},"donjayamanne.python-extension-pack":{default:!1},"shd101wyy.markdown-preview-enhanced":{default:!1},"mikestead.dotenv":{default:!1},"pranaygp.vscode-css-peek":{default:!1},"ikappas.phpcs":{default:!1},"platformio.platformio-ide":{default:!1},"jchannon.csharpextensions":{default:!1},"gruntfuggly.todo-tree":{default:!1}},linkProtectionTrustedDomains:["https://*.visualstudio.com","https://*.microsoft.com","https://aka.ms","https://*.gallerycdn.vsassets.io","https://*.github.com","https://login.microsoftonline.com","https://*.vscode.dev","https://*.github.dev","https://gh.io","https://portal.azure.com","https://raw.githubusercontent.com","https://private-user-images.githubusercontent.com","https://avatars.githubusercontent.com"],trustedExtensionAuthAccess:{github:["vscode.github","github.remotehub","ms-vscode.remote-server","github.vscode-pull-request-github","github.codespaces","github.copilot","github.copilot-chat","ms-vsliveshare.vsliveshare"],"github-enterprise":["vscode.github","github.remotehub","ms-vscode.remote-server","github.vscode-pull-request-github","github.codespaces","github.copilot","github.copilot-chat","ms-vsliveshare.vsliveshare"],microsoft:["ms-vscode.azure-repos","ms-vscode.remote-server","ms-vsliveshare.vsliveshare","ms-azuretools.vscode-azureresourcegroups","ms-edu.vscode-learning"],"microsoft-sovereign-cloud":["ms-vscode.azure-repos","ms-vscode.remote-server","ms-vsliveshare.vsliveshare","ms-azuretools.vscode-azureresourcegroups","ms-edu.vscode-learning"]},trustedExtensionProtocolHandlers:["vscode.git","vscode.github-authentication","vscode.microsoft-authentication"],auth:{loginUrl:"https://login.microsoftonline.com/common/oauth2/authorize",tokenUrl:"https://login.microsoftonline.com/common/oauth2/token",redirectUrl:"https://vscode-redirect.azurewebsites.net/",clientId:"aebc6443-996d-45c2-90f0-388ff96faa56"},"configurationSync.store":{url:"https://vscode-sync.trafficmanager.net/",stableUrl:"https://vscode-sync.trafficmanager.net/",insidersUrl:"https://vscode-sync-insiders.trafficmanager.net/",canSwitch:!1,authenticationProviders:{github:{scopes:["user:email"]},microsoft:{scopes:["openid","profile","email","offline_access"]}}},"editSessions.store":{url:"https://vscode-sync.trafficmanager.net/",authenticationProviders:{microsoft:{scopes:["openid","profile","email","offline_access"]},github:{scopes:["user:email"]}}},tunnelServerQualities:{stable:{serverApplicationName:"code-server"},exploration:{serverApplicationName:"code-server-exploration"},insider:{serverApplicationName:"code-server-insiders"}},tunnelApplicationName:"code-tunnel",tunnelApplicationConfig:{editorWebUrl:"https://vscode.dev",extension:{friendlyName:"Remote - Tunnels",extensionId:"ms-vscode.remote-server"},authenticationProviders:{github:{scopes:["user:email","read:org"]},microsoft:{scopes:["46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2/.default","profile","openid"]}}},win32TunnelServiceMutex:"vscode-tunnelservice",win32TunnelMutex:"vscode-tunnel",commonlyUsedSettings:["files.autoSave","editor.fontSize","editor.fontFamily","GitHub.copilot.manageExtension","editor.tabSize","editor.renderWhitespace","editor.cursorStyle","editor.multiCursorModifier","editor.insertSpaces","editor.wordWrap","files.exclude","files.associations","workbench.editor.enablePreview"],aiGeneratedWorkspaceTrust:{title:"This workspace was generated by GitHub Copilot",checkboxText:"Trust the contents of all files in this workspace",trustOption:"Yes, I trust the contents",dontTrustOption:"No, I don't trust the contents",startupTrustRequestLearnMore:"If you don't trust the contents of the files generated by GitHub Copilot, we recommend continuing in restricted mode. See [our docs](https://aka.ms/vscode-workspace-trust) to learn more. "},gitHubEntitlement:{providerId:"github",command:{title:"Install GitHub Copilot (Paid for by {{org}})...",titleWithoutPlaceHolder:"Install GitHub Copilot",action:"workbench.extensions.installExtension",when:"workbench.accounts.experimental.showEntitlements"},entitlementUrl:"https://api.github.com/copilot_internal/user",extensionId:"github.copilot",enablementKey:"chat_enabled",confirmationAction:"Install",confirmationMessage:"Are you sure you want to install GitHub Copilot?"},chatWelcomeView:{welcomeViewId:"copilot.welcome",welcomeViewTitle:"GitHub Copilot",welcomeViewContent:`You have access to [GitHub Copilot](command:extension.open?%5B%22github.copilot%22%5D), an AI-powered coding assistant, as a part of the Microsoft organization.
Getting started with Copilot is easy - simply install the Copilot extension. [Learn more](https://aka.ms/copilot-overview)
[Install GitHub Copilot](command:workbench.extensions.installExtension?%5B%22github.copilot%22%5D)`},chatParticipantRegistry:"https://az764295.vo.msecnd.net/extensions/chat.json",builtInExtensions:[{name:"ms-vscode.js-debug-companion",version:"1.1.2",sha256:"e034b8b41beb4e97e02c70f7175bd88abe66048374c2bd629f54bb33354bc2aa",repo:"https://github.com/microsoft/vscode-js-debug-companion",metadata:{id:"99cb0b7f-7354-4278-b8da-6cc79972169d",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}},{name:"ms-vscode.js-debug",version:"1.91.0",sha256:"53b99146c7fa280f00c74414e09721530c622bf3e5eac2c967ddfb9906b51c80",repo:"https://github.com/microsoft/vscode-js-debug",metadata:{id:"25629058-ddac-4e17-abba-74678e126c5d",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}},{name:"ms-vscode.vscode-js-profile-table",version:"1.0.9",sha256:"3b62ee4276a2bbea3fe230f94b1d5edd915b05966090ea56f882e1e0ab53e1a6",repo:"https://github.com/microsoft/vscode-js-profile-visualizer",metadata:{id:"7e52b41b-71ad-457b-ab7e-0620f1fc4feb",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}}],version:"1.91.0",commit:"ea1445cc7016315d0f5728f8e8b12a45dc0a7286",date:"2024-07-01T18:06:54.530Z"},Object.keys(t).length===0&&Object.assign(t,{version:"1.91.0-dev",nameShort:"Code - OSS Dev",nameLong:"Code - OSS Dev",applicationName:"code-oss",dataFolderName:".vscode-oss",urlProtocol:"code-oss",reportIssueUrl:"https://github.com/microsoft/vscode/issues/new",licenseName:"MIT",licenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt",serverLicenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt"});e.default=t}),define(he[89],fe([0,1,23]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$uk=e.$tk=void 0,e.$tk=(0,a.$Gi)("productService"),e.$uk="vscode://schemas/vscode-product"}),define(he[90],fe([0,1,45,9]),function(ie,e,a,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$ro=void 0,a=Ae(a),t=Ae(t);class L{constructor(){this.a=new Map}add(B,P){a.ok(t.$gg(B)),a.ok(t.$ig(P)),a.ok(!this.a.has(B),"There is already an extension with this id"),this.a.set(B,P)}knows(B){return this.a.has(B)}as(B){return this.a.get(B)||null}}e.$ro=new L}),define(he[24],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CommandInvalidationReason=e.TerminalCapability=void 0;var a;(function(L){L[L.CwdDetection=0]="CwdDetection",L[L.NaiveCwdDetection=1]="NaiveCwdDetection",L[L.CommandDetection=2]="CommandDetection",L[L.PartialCommandDetection=3]="PartialCommandDetection",L[L.BufferMarkDetection=4]="BufferMarkDetection"})(a||(e.TerminalCapability=a={}));var t;(function(L){L.Windows="windows",L.NoProblemsReported="noProblemsReported"})(t||(e.CommandInvalidationReason=t={}))}),define(he[91],fe([0,1,4,2,24]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$qwb=void 0;class $ extends t.$Xc{constructor(P){super(),this.f=P,this.type=L.TerminalCapability.BufferMarkDetection,this.a=new Map,this.b=new Map,this.c=this.B(new a.$ne),this.onMarkAdded=this.c.event}*markers(){for(const P of this.a.values())yield P;for(const P of this.b.values())yield P}addMark(P){const w=P?.marker||this.f.registerMarker(),o=P?.id;w&&(o?(this.a.set(o,w),w.onDispose(()=>this.a.delete(o))):(this.b.set(w.id,w),w.onDispose(()=>this.b.delete(w.id))),this.c.fire({marker:w,id:o,hidden:P?.hidden,hoverMessage:P?.hoverMessage}))}getMark(P){return this.a.get(P)}}e.$qwb=$});var je=this&&this.__param||function(ie,e){return function(a,t){e(a,t,ie)}};define(he[92],fe([0,1,4,2,8,15]),function(ie,e,a,t,L,$){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$is=void 0;var B;(function(w){w[w.Unknown=0]="Unknown",w[w.Input=1]="Input",w[w.Execute=2]="Execute"})(B||(B={}));let P=class extends t.$Xc{get value(){return this.j}get cursorIndex(){return this.m}get ghostTextIndex(){return this.n}constructor(o,E,p,d){super(),this.w=o,this.z=d,this.a=B.Unknown,this.c=0,this.h="",this.j="",this.m=0,this.n=-1,this.r=this.B(new a.$ne),this.onDidStartInput=this.r.event,this.s=this.B(new a.$ne),this.onDidChangeInput=this.s.event,this.t=this.B(new a.$ne),this.onDidFinishInput=this.t.event,this.u=this.B(new a.$ne),this.onDidInterrupt=this.u.event,this.B(a.Event.any(this.w.onCursorMove,this.w.onData,this.w.onWriteParsed)(()=>this.G())),this.B(this.w.onData(u=>this.I(u))),this.B(E(u=>this.D(u))),this.B(p(()=>this.F())),this.B(this.onDidStartInput(()=>this.C("PromptInputModel#onDidStartInput"))),this.B(this.onDidChangeInput(()=>this.C("PromptInputModel#onDidChangeInput"))),this.B(this.onDidFinishInput(()=>this.C("PromptInputModel#onDidFinishInput"))),this.B(this.onDidInterrupt(()=>this.C("PromptInputModel#onDidInterrupt")))}C(o){this.z.getLevel()===L.LogLevel.Trace&&this.z.trace(o,this.getCombinedString())}setContinuationPrompt(o){this.g=o,this.G()}setLastPromptLine(o){this.f=o,this.G()}setConfidentCommandLine(o){this.j!==o&&(this.j=o,this.m=-1,this.n=-1,this.s.fire(this.Q()))}getCombinedString(){const o=this.j.replaceAll(`
`,"\u23CE");if(this.m===-1)return o;let E=`${o.substring(0,this.cursorIndex)}|`;return this.ghostTextIndex!==-1?(E+=`${o.substring(this.cursorIndex,this.ghostTextIndex)}[`,E+=`${o.substring(this.ghostTextIndex)}]`):E+=o.substring(this.cursorIndex),E}serialize(){return{modelState:this.Q(),commandStartX:this.c,lastPromptLine:this.f,continuationPrompt:this.g,lastUserInput:this.h}}deserialize(o){this.j=o.modelState.value,this.m=o.modelState.cursorIndex,this.n=o.modelState.ghostTextIndex,this.c=o.commandStartX,this.f=o.lastPromptLine,this.g=o.continuationPrompt,this.h=o.lastUserInput}D(o){this.a!==B.Input&&(this.a=B.Input,this.b=o.marker,this.c=this.w.buffer.active.cursorX,this.j="",this.m=0,this.r.fire(this.Q()),this.s.fire(this.Q()),this.f&&this.c!==this.f.length&&this.w.buffer.active.getLine(this.b.line)?.translateToString(!0).startsWith(this.f)&&(this.c=this.f.length,this.G()))}F(){if(this.a===B.Execute)return;this.m=-1,this.n!==-1&&(this.j=this.j.substring(0,this.n),this.n=-1);const o=this.Q();this.h===""&&(this.h="",this.u.fire(o)),this.a=B.Execute,this.t.fire(o),this.s.fire(o)}G(){try{this.H()}catch(o){this.z.error("Error while syncing prompt input model",o)}}H(){if(this.a!==B.Input)return;const o=this.b?.line;if(o===void 0)return;const E=this.w.buffer.active;let p=E.getLine(o);const d=p?.translateToString(!0,this.c);if(!p||d===void 0){this.z.trace("PromptInputModel#_sync: no line");return}const u=E.baseY+E.cursorY;let c=d,h=-1,m;u===o?m=this.O(this.c,E,p):m=d.trimEnd().length,u===o&&E.cursorX>1&&(h=this.J(E,p,m));for(let l=o+1;l<=u;l++){p=E.getLine(l);const s=p?.translateToString(!0);if(s&&p)if(p.isWrapped){c+=s;const b=this.O(0,E,p);u===l?m+=b:m+=s.length}else if(this.g===void 0||this.M(s)){const b=this.L(s);if(c+=`
${b}`,u===l){const v=this.N(p,s),r=this.O(v,E,p);m+=r+1}else m+=b.length+1}else break}for(let l=u+1;l<E.baseY+this.w.rows;l++){p=E.getLine(l);const s=p?.translateToString(!0);if(s&&p)if(this.g===void 0||this.M(s))c+=`
${this.L(s)}`;else break;else break}this.z.getLevel()===L.LogLevel.Trace&&this.z.trace(`PromptInputModel#_sync: ${this.getCombinedString()}`);{let l=this.j.length-this.j.trimEnd().length;this.h==="\x7F"&&(this.h="",m===this.m-1&&(this.j.trimEnd().length>c.trimEnd().length&&c.trimEnd().length<=m?l=Math.max(this.j.length-1-c.trimEnd().length,0):l=Math.max(l-1,0))),this.h==="\x1B[3~"&&(this.h="",m===this.m&&(l=Math.max(l-1,0)));const s=c.split(`
`),b=s.length>1,v=c.trimEnd();if(!b){v.length<c.length&&(this.h===" "&&(this.h="",m>v.length&&m>this.m&&l++),l=Math.max(m-v.length,l,0));const r=m===0?"":c[m-1];l>0&&m===this.m+1&&this.h!==""&&r!==" "&&(l=this.j.length-this.m)}if(b){s[s.length-1]=s.at(-1)?.trimEnd()??"";const r=(s.length-1)*(this.g?.length??0);l=Math.max(0,m-c.length-r)}c=s.map(r=>r.trimEnd()).join(`
`)+" ".repeat(l)}(this.j!==c||this.m!==m||this.n!==h)&&(this.j=c,this.m=m,this.n=h,this.s.fire(this.Q()))}I(o){this.h=o}J(o,E,p){let d=-1,u=!1,c=o.cursorX;for(;c>0;){const h=E.getCell(--c);if(!h)break;if(h.getChars().trim().length>0){u=!this.P(h);break}}if(u){let h=0,m=o.cursorX;for(;m<E.length;){const l=E.getCell(m++);if(!l||l.getCode()===0)break;if(this.P(l)){d=p+h;break}h+=l.getChars().length}}return d}L(o){return this.M(o)&&(o=o.substring(this.g.length)),o}M(o){return!!(this.g&&o.startsWith(this.g))}N(o,E){if(!this.g||!E.startsWith(this.g))return 0;let p="",d=0;for(;p!==this.g;)p+=o.getCell(d++).getChars();return d}O(o,E,p){return p?.translateToString(!0,o,E.cursorX).length??0}P(o){return!!(o.isItalic()||o.isDim())}Q(){return Object.freeze({value:this.j,cursorIndex:this.m,ghostTextIndex:this.n})}};e.$is=P,pe([(0,$.$ai)(0)],P.prototype,"G",null),e.$is=P=pe([je(3,L.$ak)],P)}),define(he[93],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$ks=e.$js=void 0;class a{get command(){return this.b.command}get commandLineConfidence(){return this.b.commandLineConfidence}get isTrusted(){return this.b.isTrusted}get timestamp(){return this.b.timestamp}get duration(){return this.b.duration}get promptStartMarker(){return this.b.promptStartMarker}get marker(){return this.b.marker}get endMarker(){return this.b.endMarker}set endMarker(E){this.b.endMarker=E}get executedMarker(){return this.b.executedMarker}get aliases(){return this.b.aliases}get wasReplayed(){return this.b.wasReplayed}get cwd(){return this.b.cwd}get exitCode(){return this.b.exitCode}get commandStartLineContent(){return this.b.commandStartLineContent}get markProperties(){return this.b.markProperties}get executedX(){return this.b.executedX}get startX(){return this.b.startX}constructor(E,p){this.a=E,this.b=p}static deserialize(E,p,d){const u=E.buffer.normal,c=p.startLine!==void 0?E.registerMarker(p.startLine-(u.baseY+u.cursorY)):void 0;if(!c)return;const h=p.promptStartLine!==void 0?E.registerMarker(p.promptStartLine-(u.baseY+u.cursorY)):void 0,m=p.endLine!==void 0?E.registerMarker(p.endLine-(u.baseY+u.cursorY)):void 0,l=p.executedLine!==void 0?E.registerMarker(p.executedLine-(u.baseY+u.cursorY)):void 0;return new a(E,{command:d?"":p.command,commandLineConfidence:p.commandLineConfidence??"low",isTrusted:p.isTrusted,promptStartMarker:h,marker:c,startX:p.startX,endMarker:m,executedMarker:l,executedX:p.executedX,timestamp:p.timestamp,duration:p.duration,cwd:p.cwd,commandStartLineContent:p.commandStartLineContent,exitCode:p.exitCode,markProperties:p.markProperties,aliases:void 0,wasReplayed:!0})}serialize(E){return{promptStartLine:this.promptStartMarker?.line,startLine:this.marker?.line,startX:void 0,endLine:this.endMarker?.line,executedLine:this.executedMarker?.line,executedX:this.executedX,command:E?"":this.command,commandLineConfidence:E?"low":this.commandLineConfidence,isTrusted:this.isTrusted,cwd:this.cwd,exitCode:this.exitCode,commandStartLineContent:this.commandStartLineContent,timestamp:this.timestamp,duration:this.duration,markProperties:this.markProperties}}extractCommandLine(){return L(this.a.buffer.active,this.a.cols,this.marker,this.startX,this.executedMarker,this.executedX)}getOutput(){if(!this.executedMarker||!this.endMarker)return;const E=this.executedMarker.line,p=this.endMarker.line;if(E===p)return;let d="",u;for(let c=E;c<p;c++)u=this.a.buffer.active.getLine(c),u&&(d+=u.translateToString(!u.isWrapped)+(u.isWrapped?"":`
`));return d===""?void 0:d}getOutputMatch(E){if(!this.executedMarker||!this.endMarker)return;const p=this.endMarker.line;if(p===-1)return;const d=this.a.buffer.active,u=Math.max(this.executedMarker.line,0),c=E.lineMatcher,h=typeof c=="string"?1:E.length||B(c),m=[];let l;if(E.anchor==="bottom")for(let s=p-(E.offset||0);s>=u;s--){let b=s;const v=s;for(;b>=u&&d.getLine(b)?.isWrapped;)b--;if(s=b,m.unshift($(d,b,v,this.a.cols)),l||(l=m[0].match(c)),m.length>=h)break}else for(let s=u+(E.offset||0);s<p;s++){const b=s;let v=s;for(;v+1<p&&d.getLine(v+1)?.isWrapped;)v++;if(s=v,m.push($(d,b,v,this.a.cols)),l||(l=m[m.length-1].match(c)),m.length>=h)break}return l?{regexMatch:l,outputLines:m}:void 0}hasOutput(){return!this.executedMarker?.isDisposed&&!this.endMarker?.isDisposed&&!!(this.executedMarker&&this.endMarker&&this.executedMarker.line<this.endMarker.line)}getPromptRowCount(){return P(this,this.a.buffer.active)}getCommandRowCount(){return w(this)}}e.$js=a;class t{constructor(E){this.c=E}serialize(E){if(this.commandStartMarker)return{promptStartLine:this.promptStartMarker?.line,startLine:this.commandStartMarker.line,startX:this.commandStartX,endLine:void 0,executedLine:void 0,executedX:void 0,command:"",commandLineConfidence:"low",isTrusted:!0,cwd:E,exitCode:void 0,commandStartLineContent:void 0,timestamp:0,duration:0,markProperties:void 0}}promoteToFullCommand(E,p,d,u){if(p===void 0&&this.command===void 0&&(this.command=""),this.command!==void 0&&!this.command.startsWith("\\")||d)return new a(this.c,{command:d?"":this.command||"",commandLineConfidence:d?"low":this.commandLineConfidence||"low",isTrusted:!!this.isTrusted,promptStartMarker:this.promptStartMarker,marker:this.commandStartMarker,startX:this.commandStartX,endMarker:this.commandFinishedMarker,executedMarker:this.commandExecutedMarker,executedX:this.commandExecutedX,timestamp:Date.now(),duration:this.b||0,cwd:E,exitCode:p,commandStartLineContent:this.commandStartLineContent,markProperties:u})}markExecutedTime(){this.a===void 0&&(this.a=Date.now())}markFinishedTime(){this.b===void 0&&this.a!==void 0&&(this.b=Date.now()-this.a)}extractCommandLine(){return L(this.c.buffer.active,this.c.cols,this.commandStartMarker,this.commandStartX,this.commandExecutedMarker,this.commandExecutedX)}getPromptRowCount(){return P(this,this.c.buffer.active)}getCommandRowCount(){return w(this)}}e.$ks=t;function L(o,E,p,d,u,c){if(!p||!u||d===void 0||c===void 0)return"";let h="";for(let m=p.line;m<=u.line;m++){const l=o.getLine(m);l&&(h+=l.translateToString(!0,m===p.line?d:0,m===u.line?c:E))}return h}function $(o,E,p,d){const u=Math.max(2048/d*2);p=Math.min(p,E+u);let c="";for(let h=E;h<=p;h++){const m=o.getLine(h);m&&(c+=m.translateToString(!0,0,d))}return c}function B(o){if(!o.multiline)return 1;const E=o.source;let p=1,d=E.indexOf("\\n");for(;d!==-1;)p++,d=E.indexOf("\\n",d+1);return p}function P(o,E){const p="hasOutput"in o?o.marker:o.commandStartMarker;if(!p||!o.promptStartMarker)return 1;let d=1,u=o.promptStartMarker.line;for(;u<p.line&&(E.getLine(u)?.translateToString(!0)??"").length===0;)u++;return d=p.line-u+1,d}function w(o){const E="hasOutput"in o?o.marker:o.commandStartMarker,p="hasOutput"in o?o.executedMarker:o.commandExecutedMarker;if(!E||!p)return 1;let u=Math.max(p.line,E.line)-E.line+1;return("hasOutput"in o?o.executedX:o.commandExecutedX)===0&&u--,u}}),define(he[94],fe([0,1,12,15,4,2,8,24,93,92]),function(ie,e,a,t,L,$,B,P,w,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$mwb=void 0,e.$nwb=c;let E=class extends $.$Xc{get promptInputModel(){return this.c}get commands(){return this.f}get executingCommand(){return this.n.command}get executingCommandObject(){if(this.n.commandStartMarker)return{marker:this.n.commandStartMarker}}get currentCommand(){return this.n}get cwd(){return this.g}get promptTerminator(){return this.h}constructor(s,b){super(),this.L=s,this.M=b,this.type=P.TerminalCapability.CommandDetection,this.f=[],this.n=new w.$ks(this.L),this.r=[],this.t=!1,this.D=this.B(new L.$ne),this.onCommandStarted=this.D.event,this.F=this.B(new L.$ne),this.onBeforeCommandFinished=this.F.event,this.G=this.B(new L.$ne),this.onCommandFinished=this.G.event,this.H=this.B(new L.$ne),this.onCommandExecuted=this.H.event,this.I=this.B(new L.$ne),this.onCommandInvalidated=this.I.event,this.J=this.B(new L.$ne),this.onCurrentCommandInvalidated=this.J.event,this.c=this.B(new o.$is(this.L,this.onCommandStarted,this.onCommandExecuted,this.M)),this.B(this.onCommandExecuted(r=>{if(r.commandLineConfidence!=="high"){const i=r;r.command=i.extractCommandLine(),r.commandLineConfidence="low","getOutput"in i?i.promptStartMarker&&i.marker&&i.executedMarker&&r.command.indexOf(`
`)===-1&&i.startX!==void 0&&i.startX>0&&(r.commandLineConfidence="medium"):i.promptStartMarker&&i.commandStartMarker&&i.commandExecutedMarker&&r.command.indexOf(`
`)===-1&&i.commandStartX!==void 0&&i.commandStartX>0&&(r.commandLineConfidence="medium")}}));const v=this;this.z=new class{get onCurrentCommandInvalidatedEmitter(){return v.J}get onCommandStartedEmitter(){return v.D}get onCommandExecutedEmitter(){return v.H}get dimensions(){return v.s}get isCommandStorageDisabled(){return v.t}get commandMarkers(){return v.r}set commandMarkers(r){v.r=r}get clearCommandsInViewport(){return v.P.bind(v)}commitCommandFinished(){v.w?.flush(),v.w=void 0}},this.C=this.B(new $.$Zc(new p(this.L,this,this.z,this.M))),this.s={cols:this.L.cols,rows:this.L.rows},this.B(this.L.onResize(r=>this.N(r))),this.B(this.L.onCursorMove(()=>this.O()))}N(s){this.C.value.preHandleResize?.(s),this.s.cols=s.cols,this.s.rows=s.rows}O(){this.L.buffer.active===this.L.buffer.normal&&this.n.commandStartMarker&&this.L.buffer.active.baseY+this.L.buffer.active.cursorY<this.n.commandStartMarker.line&&(this.P(),this.n.isInvalid=!0,this.J.fire({reason:P.CommandInvalidationReason.Windows}))}P(){let s=0;for(let b=this.f.length-1;b>=0;b--){const v=this.f[b].marker?.line;if(v&&v<this.L.buffer.active.baseY)break;s++}s>0&&this.I.fire(this.f.splice(this.f.length-s,s))}setContinuationPrompt(s){this.c.setContinuationPrompt(s)}setPromptTerminator(s,b){this.M.debug("CommandDetectionCapability#setPromptTerminator",s),this.h=s,this.c.setLastPromptLine(b)}setCwd(s){this.g=s}setIsWindowsPty(s){if(s&&!(this.C.value instanceof u)){const b=this;this.C.value=new u(this.L,this,new class{get onCurrentCommandInvalidatedEmitter(){return b.J}get onCommandStartedEmitter(){return b.D}get onCommandExecutedEmitter(){return b.H}get dimensions(){return b.s}get isCommandStorageDisabled(){return b.t}get commandMarkers(){return b.r}set commandMarkers(v){b.r=v}get clearCommandsInViewport(){return b.P.bind(b)}commitCommandFinished(){b.w?.flush(),b.w=void 0}},this.M)}else!s&&!(this.C.value instanceof p)&&(this.C.value=new p(this.L,this,this.z,this.M))}setIsCommandStorageDisabled(){this.t=!0}getCommandForLine(s){if(this.n.promptStartMarker&&s>=this.n.promptStartMarker?.line)return this.n;if(this.f.length!==0&&!((this.f[0].promptStartMarker??this.f[0].marker).line>s)){for(let b=this.commands.length-1;b>=0;b--)if((this.commands[b].promptStartMarker??this.commands[b].marker).line<=s)return this.commands[b]}}getCwdForLine(s){if(this.n.promptStartMarker&&s>=this.n.promptStartMarker?.line)return this.g;const b=this.getCommandForLine(s);if(b&&"cwd"in b)return b.cwd}handlePromptStart(s){const b=this.commands.at(-1);b?.endMarker&&b?.executedMarker&&b.endMarker.line===b.executedMarker.line&&(this.M.debug("CommandDetectionCapability#handlePromptStart adjusted commandFinished",`${b.endMarker.line} -> ${b.executedMarker.line+1}`),b.endMarker=m(this.L,b.executedMarker,1)),this.n.promptStartMarker=s?.marker||(b?.endMarker?m(this.L,b.endMarker):this.L.registerMarker(0)),this.M.debug("CommandDetectionCapability#handlePromptStart",this.L.buffer.active.cursorX,this.n.promptStartMarker?.line)}handleContinuationStart(){this.n.currentContinuationMarker=this.L.registerMarker(0),this.M.debug("CommandDetectionCapability#handleContinuationStart",this.n.currentContinuationMarker)}handleContinuationEnd(){if(!this.n.currentContinuationMarker){this.M.warn("CommandDetectionCapability#handleContinuationEnd Received continuation end without start");return}this.n.continuations||(this.n.continuations=[]),this.n.continuations.push({marker:this.n.currentContinuationMarker,end:this.L.buffer.active.cursorX}),this.n.currentContinuationMarker=void 0,this.M.debug("CommandDetectionCapability#handleContinuationEnd",this.n.continuations[this.n.continuations.length-1])}handleRightPromptStart(){this.n.commandRightPromptStartX=this.L.buffer.active.cursorX,this.M.debug("CommandDetectionCapability#handleRightPromptStart",this.n.commandRightPromptStartX)}handleRightPromptEnd(){this.n.commandRightPromptEndX=this.L.buffer.active.cursorX,this.M.debug("CommandDetectionCapability#handleRightPromptEnd",this.n.commandRightPromptEndX)}handleCommandStart(s){if(this.u=s,this.n.cwd=this.g,this.n.commandStartMarker=s?.marker||this.n.commandStartMarker,this.n.commandStartMarker?.line===this.L.buffer.active.cursorY){this.n.commandStartX=this.L.buffer.active.cursorX,this.M.debug("CommandDetectionCapability#handleCommandStart",this.n.commandStartX,this.n.commandStartMarker?.line);return}this.C.value.handleCommandStart(s)}handleGenericCommand(s){s?.markProperties?.disableCommandStorage&&this.setIsCommandStorageDisabled(),this.handlePromptStart(s),this.handleCommandStart(s),this.handleCommandExecuted(s),this.handleCommandFinished(void 0,s)}handleCommandExecuted(s){this.C.value.handleCommandExecuted(s),this.n.markExecutedTime()}handleCommandFinished(s,b){if(this.n.markFinishedTime(),this.C.value.preHandleCommandFinished?.(),this.M.debug("CommandDetectionCapability#handleCommandFinished",this.L.buffer.active.cursorX,b?.marker?.line,this.n.command,this.n),s===void 0){const r=this.commands.length>0?this.commands[this.commands.length-1]:void 0;this.n.command&&this.n.command.length>0&&r?.command===this.n.command&&(s=r.exitCode)}if(this.n.commandStartMarker===void 0||!this.L.buffer.active)return;this.n.commandFinishedMarker=b?.marker||this.L.registerMarker(0),this.C.value.postHandleCommandFinished?.();const v=this.n.promoteToFullCommand(this.g,s,this.u?.ignoreCommandLine??!1,b?.markProperties);v&&(this.f.push(v),this.w=new a.$Sh(()=>{this.F.fire(v),this.n.isInvalid||(this.M.debug("CommandDetectionCapability#onCommandFinished",v),this.G.fire(v))},50),this.w.schedule()),this.n=new w.$ks(this.L),this.u=void 0}setCommandLine(s,b){this.M.debug("CommandDetectionCapability#setCommandLine",s,b),this.n.command=s,this.n.commandLineConfidence="high",this.n.isTrusted=b,b&&this.c.setConfidentCommandLine(s)}serialize(){const s=this.commands.map(v=>v.serialize(this.t)),b=this.n.serialize(this.g);return b&&s.push(b),{isWindowsPty:this.C.value instanceof u,commands:s,promptInputModel:this.c.serialize()}}deserialize(s){s.isWindowsPty&&this.setIsWindowsPty(s.isWindowsPty);const b=this.L.buffer.normal;for(const v of s.commands){if(!v.endLine){const i=v.startLine!==void 0?this.L.registerMarker(v.startLine-(b.baseY+b.cursorY)):void 0;if(!i)continue;this.n.commandStartMarker=v.startLine!==void 0?this.L.registerMarker(v.startLine-(b.baseY+b.cursorY)):void 0,this.n.commandStartX=v.startX,this.n.promptStartMarker=v.promptStartLine!==void 0?this.L.registerMarker(v.promptStartLine-(b.baseY+b.cursorY)):void 0,this.g=v.cwd,this.D.fire({marker:i});continue}const r=w.$js.deserialize(this.L,v,this.t);r&&(this.f.push(r),this.M.debug("CommandDetectionCapability#onCommandFinished",r),this.G.fire(r))}s.promptInputModel&&this.c.deserialize(s.promptInputModel)}};e.$mwb=E,pe([(0,t.$_h)(500)],E.prototype,"O",null),e.$mwb=E=pe([je(1,B.$ak)],E);class p extends $.$Xc{constructor(s,b,v,r){super(),this.c=s,this.f=b,this.g=v,this.h=r,this.B(s.parser.registerCsiHandler({final:"J"},i=>(i.length>=1&&(i[0]===2||i[0]===3)&&v.clearCommandsInViewport(),!1)))}handleCommandStart(s){this.g.commitCommandFinished();const b=this.f.currentCommand;b.commandStartX=this.c.buffer.active.cursorX,b.commandStartMarker=s?.marker||this.c.registerMarker(0),b.commandExecutedMarker?.dispose(),b.commandExecutedMarker=void 0,b.commandExecutedX=void 0;for(const v of this.g.commandMarkers)v.dispose();this.g.commandMarkers.length=0,this.g.onCommandStartedEmitter.fire({marker:s?.marker||b.commandStartMarker,markProperties:s?.markProperties}),this.h.debug("CommandDetectionCapability#handleCommandStart",b.commandStartX,b.commandStartMarker?.line)}handleCommandExecuted(s){const b=this.f.currentCommand;if(b.commandExecutedMarker=s?.marker||this.c.registerMarker(0),b.commandExecutedX=this.c.buffer.active.cursorX,this.h.debug("CommandDetectionCapability#handleCommandExecuted",b.commandExecutedX,b.commandExecutedMarker?.line),!b.commandStartMarker||!b.commandExecutedMarker||b.commandStartX===void 0)return;b.command=this.g.isCommandStorageDisabled?"":this.c.buffer.active.getLine(b.commandStartMarker.line)?.translateToString(!0,b.commandStartX,b.commandRightPromptStartX).trim();let v=b.commandStartMarker.line+1;const r=b.commandExecutedMarker.line;for(;v<r;v++){const i=this.c.buffer.active.getLine(v);if(i){const n=b.continuations?.find(_=>_.marker.line===v);n&&(b.command+=`
`);const k=n?.end??0;b.command+=i.translateToString(!0,k)}}v===r&&(b.command+=this.c.buffer.active.getLine(r)?.translateToString(!0,void 0,b.commandExecutedX)||""),this.g.onCommandExecutedEmitter.fire(b)}}var d;(function(l){l[l.MaxCheckLineCount=10]="MaxCheckLineCount",l[l.Interval=20]="Interval",l[l.MaximumPollCount=10]="MaximumPollCount"})(d||(d={}));let u=class extends $.$Xc{constructor(s,b,v,r){super(),this.n=s,this.r=b,this.s=v,this.t=r,this.c=this.B(new $.$Yc),this.g=0,this.h=0,this.B(s.parser.registerCsiHandler({final:"J"},i=>(i.length>=1&&(i[0]===2||i[0]===3)&&this.s.clearCommandsInViewport(),!1))),this.B(this.r.onBeforeCommandFinished(i=>{(i.command.trim().toLowerCase()==="clear"||i.command.trim().toLowerCase()==="cls")&&(this.f?.cancel(),this.f=void 0,this.s.clearCommandsInViewport(),this.r.currentCommand.isInvalid=!0,this.s.onCurrentCommandInvalidatedEmitter.fire({reason:P.CommandInvalidationReason.Windows}))}))}preHandleResize(s){const b=this.n.buffer.active.baseY,v=s.rows-this.s.dimensions.rows;v>0&&this.D().then(()=>{const r=Math.min(v,b);for(let i=this.r.commands.length-1;i>=0;i--){const n=this.r.commands[i];if(!n.marker||n.marker.line<b||n.commandStartLineContent===void 0)break;const k=this.n.buffer.active.getLine(n.marker.line);if(!k||k.translateToString(!0)===n.commandStartLineContent)continue;const _=n.marker.line-r;this.n.buffer.active.getLine(_)?.translateToString(!0)===n.commandStartLineContent&&this.n._core._bufferService.buffer.lines.onDeleteEmitter.fire({index:this.n.buffer.active.baseY,amount:r})}})}handleCommandStart(){this.r.currentCommand.commandStartX=this.n.buffer.active.cursorX,this.s.commandMarkers.length=0;const s=this.r.currentCommand.commandStartMarker=this.r.currentCommand.promptStartMarker?m(this.n,this.r.currentCommand.promptStartMarker):this.n.registerMarker(0);this.r.currentCommand.commandStartX=0,this.g=0,this.h=0,this.f=new a.$Sh(()=>this.u(s),d.Interval),this.f.schedule()}u(s){if(this.q.isDisposed)return;const b=this.n.buffer.active;let v=this.g;for(;v<d.MaxCheckLineCount&&s.line+v<b.baseY+this.n.rows;){if(this.C()){const r=this.F(s.line+v);if(r){const i=typeof r=="string"?r:r.prompt;if(this.r.currentCommand.commandStartMarker=this.n.registerMarker(0),typeof r=="object"&&r.likelySingleLine){this.t.debug("CommandDetectionCapability#_tryAdjustCommandStartMarker adjusted promptStart",`${this.r.currentCommand.promptStartMarker?.line} -> ${this.r.currentCommand.commandStartMarker.line}`),this.r.currentCommand.promptStartMarker?.dispose(),this.r.currentCommand.promptStartMarker=m(this.n,this.r.currentCommand.commandStartMarker);const n=this.r.commands.at(-1);n&&this.r.currentCommand.commandStartMarker.line!==n.endMarker?.line&&(n.endMarker?.dispose(),n.endMarker=m(this.n,this.r.currentCommand.commandStartMarker))}this.r.currentCommand.commandStartX=i.length,this.t.debug("CommandDetectionCapability#_tryAdjustCommandStartMarker adjusted commandStart",`${s.line} -> ${this.r.currentCommand.commandStartMarker.line}:${this.r.currentCommand.commandStartX}`),this.w();return}}v++}v<d.MaxCheckLineCount?(this.g=v,++this.h<d.MaximumPollCount?this.f?.schedule():this.w()):this.w()}w(){if(this.f&&(this.h=d.MaximumPollCount,this.f.flush(),this.f=void 0),this.s.commitCommandFinished(),this.r.currentCommand.commandExecutedMarker||(this.c.value=this.n.onCursorMove(()=>{if(this.s.commandMarkers.length===0||this.s.commandMarkers[this.s.commandMarkers.length-1].line!==this.n.buffer.active.cursorY){const s=this.n.registerMarker(0);s&&this.s.commandMarkers.push(s)}})),this.r.currentCommand.commandStartMarker){const s=this.n.buffer.active.getLine(this.r.currentCommand.commandStartMarker.line);s&&(this.r.currentCommand.commandStartLineContent=s.translateToString(!0))}this.s.onCommandStartedEmitter.fire({marker:this.r.currentCommand.commandStartMarker}),this.t.debug("CommandDetectionCapability#_handleCommandStartWindows",this.r.currentCommand.commandStartX,this.r.currentCommand.commandStartMarker?.line)}handleCommandExecuted(s){this.f&&this.w(),this.c.clear(),this.z(),this.r.currentCommand.commandExecutedX=this.n.buffer.active.cursorX,this.s.onCommandExecutedEmitter.fire(this.r.currentCommand),this.t.debug("CommandDetectionCapability#handleCommandExecuted",this.r.currentCommand.commandExecutedX,this.r.currentCommand.commandExecutedMarker?.line)}preHandleCommandFinished(){this.r.currentCommand.commandExecutedMarker||(this.s.commandMarkers.length===0&&(this.r.currentCommand.commandStartMarker||(this.r.currentCommand.commandStartMarker=this.n.registerMarker(0)),this.r.currentCommand.commandStartMarker&&this.s.commandMarkers.push(this.r.currentCommand.commandStartMarker)),this.z())}postHandleCommandFinished(){const s=this.r.currentCommand,b=s.command,v=s.commandStartMarker?.line,r=s.commandExecutedMarker?.line;if(!b||b.length===0||v===void 0||v===-1||r===void 0||r===-1)return;let i=0,n=!1;for(let k=v;k<=r;k++){const _=this.n.buffer.active.getLine(k);if(!_)break;const O=_.translateToString(!0);for(let y=0;y<O.length;y++){for(;b.length<i&&b[i]===" ";)i++;if(O[y]===b[i]&&i++,i===b.length){const A=y>=this.n.cols-1;s.commandExecutedMarker=this.n.registerMarker(k-(this.n.buffer.active.baseY+this.n.buffer.active.cursorY)+(A?1:0)),s.commandExecutedX=A?0:y+1,n=!0;break}}if(n)break}}z(){if(this.s.commandMarkers.length!==0){if(this.s.commandMarkers=this.s.commandMarkers.sort((s,b)=>s.line-b.line),this.r.currentCommand.commandStartMarker=this.s.commandMarkers[0],this.r.currentCommand.commandStartMarker){const s=this.n.buffer.active.getLine(this.r.currentCommand.commandStartMarker.line);s&&(this.r.currentCommand.commandStartLineContent=s.translateToString(!0))}this.r.currentCommand.commandExecutedMarker=this.s.commandMarkers[this.s.commandMarkers.length-1],this.s.onCommandExecutedEmitter.fire(this.r.currentCommand)}}C(){const s=this.r.commands.at(-1);if(!s)return!0;const b=this.n.buffer.active.baseY+this.n.buffer.active.cursorY,v=(s.endMarker?s.endMarker.line:s.marker?.line)??-1;return b>v}D(){const s=this.n.buffer.active.cursorX,b=this.n.buffer.active.cursorY;let v=0;return new Promise((r,i)=>{const n=setInterval(()=>{if(s!==this.n.buffer.active.cursorX||b!==this.n.buffer.active.cursorY){r(),clearInterval(n);return}v+=10,v>1e3&&(clearInterval(n),r())},10)})}F(s=this.n.buffer.active.baseY+this.n.buffer.active.cursorY){const b=this.n.buffer.active.getLine(s);if(!b)return;const v=b.translateToString(!0);if(!v)return;const r=v.match(/(?<prompt>(\(.+\)\s)?(?:PS.+>\s?))/)?.groups?.prompt;if(r){const O=this.G(r,v,">");if(O)return{prompt:O,likelySingleLine:!0}}const i=v.match(/.*\u276f(?=[^\u276f]*$)/g)?.[0];if(i){const O=this.G(i,v,"\u276F");if(O)return O}const n=v.match(/^(?<prompt>\$)/)?.groups?.prompt;if(n){const O=this.G(n,v,"$");if(O)return O}const k=v.match(/^(?<prompt>>>> )/g)?.groups?.prompt;if(k)return{prompt:k,likelySingleLine:!0};if(this.r.promptTerminator&&v.trim().endsWith(this.r.promptTerminator)){const O=this.G(v,v,this.r.promptTerminator);if(O)return O}const _=v.match(/^(?<prompt>(\(.+\)\s)?(?:[A-Z]:\\.*>))/);return _?.groups?.prompt?{prompt:_.groups.prompt,likelySingleLine:!0}:void 0}G(s,b,v){if(s)return b===s&&s.endsWith(v)&&(s+=" "),s}};u=pe([je(3,B.$ak)],u);function c(l,s,b,v){if(!v)return;const r=s.executedMarker,i=s.endMarker;if(!r||!i)return;const n=r.line,k=i.line,_=v.length,O=[];if(v.anchor==="bottom")for(let y=k-(v.offset||0);y>=n;y--){let A=y;const S=y;for(;A>=n&&l.getLine(A)?.isWrapped;)A--;y=A,O.unshift(h(l,A,S,b)),O.length>_&&O.pop()}else for(let y=n+(v.offset||0);y<k;y++){const A=y;let S=y;for(;S+1<k&&l.getLine(S+1)?.isWrapped;)S++;y=S,O.push(h(l,A,S,b)),O.length===_&&O.shift()}return O}function h(l,s,b,v){const r=Math.max(2048/v*2);b=Math.min(b,s+r);let i="";for(let n=s;n<=b;n++){const k=l.getLine(n);k&&(i+=k.translateToString(!0,0,v))}return i}function m(l,s,b=0){return l.registerMarker(s.line-(l.buffer.active.baseY+l.buffer.active.cursorY)+b)}}),define(he[95],fe([0,1,4,2,24]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$owb=void 0;class $ extends t.$Xc{constructor(){super(...arguments),this.type=L.TerminalCapability.CwdDetection,this.a="",this.b=new Map,this.c=this.B(new a.$ne),this.onDidChangeCwd=this.c.event}get cwds(){return Array.from(this.b.keys())}getCwd(){return this.a}updateCwd(P){const w=this.a!==P;this.a=P;const o=this.b.get(this.a)||0;this.b.delete(this.a),this.b.set(this.a,o+1),w&&this.c.fire(P)}}e.$owb=$}),define(he[96],fe([0,1,4,2,24]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$pwb=void 0;var $;(function(P){P[P.MinimumPromptLength=2]="MinimumPromptLength"})($||($={}));class B extends t.$Wc{get commands(){return this.a}constructor(w){super(),this.c=w,this.type=L.TerminalCapability.PartialCommandDetection,this.a=[],this.b=this.add(new a.$ne),this.onCommandFinished=this.b.event,this.add(this.c.onData(o=>this.h(o))),this.add(this.c.parser.registerCsiHandler({final:"J"},o=>(o.length>=1&&(o[0]===2||o[0]===3)&&this.m(),!1)))}h(w){w==="\r"&&this.j()}j(){if(this.c&&this.c.buffer.active.cursorX>=$.MinimumPromptLength){const w=this.c.registerMarker(0);w&&(this.a.push(w),this.b.fire(w))}}m(){let w=0;for(let o=this.a.length-1;o>=0&&!(this.a[o].line<this.c.buffer.active.baseY);o--)w++;this.a.splice(this.a.length-w,w)}}e.$pwb=B}),define(he[97],fe([0,1,4,2]),function(ie,e,a,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$lwb=e.$kwb=void 0;class L extends t.$Xc{constructor(){super(...arguments),this.a=new Map,this.b=this.B(new a.$ne),this.onDidRemoveCapabilityType=this.b.event,this.f=this.B(new a.$ne),this.onDidAddCapabilityType=this.f.event,this.g=this.B(new a.$ne),this.onDidRemoveCapability=this.g.event,this.h=this.B(new a.$ne),this.onDidAddCapability=this.h.event}get items(){return this.a.keys()}add(P,w){this.a.set(P,w),this.f.fire(P),this.h.fire({id:P,capability:w})}get(P){return this.a.get(P)}remove(P){const w=this.a.get(P);w&&(this.a.delete(P),this.b.fire(P),this.h.fire({id:P,capability:w}))}has(P){return this.a.has(P)}}e.$kwb=L;class $ extends t.$Xc{constructor(){super(...arguments),this._stores=[],this.a=this.B(new a.$ne),this.onDidRemoveCapabilityType=this.a.event,this.b=this.B(new a.$ne),this.onDidAddCapabilityType=this.b.event,this.f=this.B(new a.$ne),this.onDidRemoveCapability=this.f.event,this.g=this.B(new a.$ne),this.onDidAddCapability=this.g.event}get items(){return this.h()}*h(){for(const P of this._stores)for(const w of P.items)yield w}has(P){for(const w of this._stores)for(const o of w.items)if(o===P)return!0;return!1}get(P){for(const w of this._stores){const o=w.get(P);if(o)return o}}add(P){this._stores.push(P);for(const w of P.items)this.b.fire(w),this.g.fire({id:w,capability:P.get(w)});this.B(P.onDidAddCapabilityType(w=>this.b.fire(w))),this.B(P.onDidAddCapability(w=>this.g.fire(w))),this.B(P.onDidRemoveCapabilityType(w=>this.a.fire(w))),this.B(P.onDidRemoveCapability(w=>this.f.fire(w)))}}e.$lwb=$}),define(he[39],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EnvironmentVariableMutatorType=void 0;var a;(function(t){t[t.Replace=1]="Replace",t[t.Append=2]="Append",t[t.Prepend=3]="Prepend"})(a||(e.EnvironmentVariableMutatorType=a={}))}),define(he[98],fe([0,1,3,39]),function(ie,e,a,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Js=void 0;const L=new Map([[t.EnvironmentVariableMutatorType.Append,"APPEND"],[t.EnvironmentVariableMutatorType.Prepend,"PREPEND"],[t.EnvironmentVariableMutatorType.Replace,"REPLACE"]]);class ${constructor(E){this.collections=E,this.a=new Map,this.b=new Map,E.forEach((p,d)=>{this.d(p,d);const u=p.map.entries();let c=u.next();for(;!c.done;){const h=c.value[1],m=c.value[0];let l=this.a.get(m);if(l||(l=[],this.a.set(m,l)),l.length>0&&l[0].type===t.EnvironmentVariableMutatorType.Replace){c=u.next();continue}const s={extensionIdentifier:d,value:h.value,type:h.type,scope:h.scope,variable:h.variable,options:h.options};s.scope||delete s.scope,l.unshift(s),c=u.next()}})}async applyToProcessEnvironment(E,p,d){let u;a.$i&&(u={},Object.keys(E).forEach(c=>u[c.toLowerCase()]=c));for(const[c,h]of this.getVariableMap(p)){const m=a.$i&&u[c.toLowerCase()]||c;for(const l of h){const s=d?await d(l.value):l.value;if(l.options?.applyAtProcessCreation??!0)switch(l.type){case t.EnvironmentVariableMutatorType.Append:E[m]=(E[m]||"")+s;break;case t.EnvironmentVariableMutatorType.Prepend:E[m]=s+(E[m]||"");break;case t.EnvironmentVariableMutatorType.Replace:E[m]=s;break}if(l.options?.applyAtShellIntegration??!1){const b=`VSCODE_ENV_${L.get(l.type)}`;E[b]=(E[b]?E[b]+":":"")+c+"="+this.c(s)}}}}c(E){return E.replaceAll(":","\\x3a")}diff(E,p){const d=new Map,u=new Map,c=new Map;if(E.getVariableMap(p).forEach((h,m)=>{const l=this.getVariableMap(p).get(m),s=P(h,l);s&&d.set(m,s)}),this.getVariableMap(p).forEach((h,m)=>{const l=E.getVariableMap(p).get(m),s=P(h,l);s&&c.set(m,s)}),this.getVariableMap(p).forEach((h,m)=>{const l=E.getVariableMap(p).get(m),s=w(h,l);s&&u.set(m,s)}),!(d.size===0&&u.size===0&&c.size===0))return{added:d,changed:u,removed:c}}getVariableMap(E){const p=new Map;for(const d of this.a.values()){const u=d.filter(c=>B(c,E));u.length>0&&p.set(u[0].variable,u)}return p}getDescriptionMap(E){const p=new Map;for(const d of this.b.values()){const u=d.filter(c=>B(c,E,!0));for(const c of u)p.set(c.extensionIdentifier,c.description)}return p}d(E,p){if(!E.descriptionMap)return;const d=E.descriptionMap.entries();let u=d.next();for(;!u.done;){const c=u.value[1],h=u.value[0];let m=this.b.get(h);m||(m=[],this.b.set(h,m));const l={extensionIdentifier:p,scope:c.scope,description:c.description};l.scope||delete l.scope,m.push(l),u=d.next()}}}e.$Js=$;function B(o,E,p=!1){return o.scope?!!(o.scope.workspaceFolder&&E?.workspaceFolder&&o.scope.workspaceFolder.index===E.workspaceFolder.index):p?E===o.scope:!0}function P(o,E){if(!E)return o;const p=new Set;E.forEach(u=>p.add(u.extensionIdentifier));const d=[];return o.forEach(u=>{p.has(u.extensionIdentifier)||d.push(u)}),d.length===0?void 0:d}function w(o,E){if(!E)return;const p=new Map;E.forEach(u=>p.set(u.extensionIdentifier,u));const d=[];return o.forEach(u=>{const c=p.get(u.extensionIdentifier);c&&(u.type!==c.type||u.value!==c.value||u.scope?.workspaceFolder?.index!==c.scope?.workspaceFolder?.index)&&d.push(c)}),d.length===0?void 0:d}}),define(he[99],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Ds=a,e.$Es=t,e.$Fs=L,e.$Gs=$,e.$Hs=B,e.$Is=P;function a(w){return[...w.entries()]}function t(w){return w?[...w.entries()]:[]}function L(w){return new Map(w)}function $(w){return new Map(w??[])}function B(w){return Array.from(w.entries()).map(o=>[o[0],a(o[1].map),t(o[1].descriptionMap)])}function P(w){return new Map(w.map(o=>[o[0],{map:L(o[1]),descriptionMap:$(o[2])}]))}}),define(he[100],fe([0,1,12,19,4,2,8]),function(ie,e,a,t,L,$,B){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$us=void 0;let P=class extends $.$Xc{constructor(o,E){super(),this.h=E,this.a=0,this.c=new Map,this.f=new Map,this.g=this.B(new L.$ne),this.onCreateRequest=this.g.event,this.b=o===void 0?15e3:o,this.B((0,$.$Vc)(()=>{for(const p of this.f.values())(0,$.$Sc)(p)}))}createRequest(o){return new Promise((E,p)=>{const d=++this.a;this.c.set(d,E),this.g.fire({requestId:d,...o});const u=new t.$ye;(0,a.$Hh)(this.b,u.token).then(()=>p(`Request ${d} timed out (${this.b}ms)`)),this.f.set(d,[(0,$.$Vc)(()=>u.cancel())])})}acceptReply(o,E){const p=this.c.get(o);p?(this.c.delete(o),(0,$.$Sc)(this.f.get(o)||[]),this.f.delete(o),p(E)):this.h.warn(`RequestStore#acceptReply was called without receiving a matching request ${o}`)}};e.$us=P,e.$us=P=pe([je(1,B.$ak)],P)}),define(he[17],fe([0,1,23,38,90]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$qs=e.$ps=e.$os=e.TerminalExitReason=e.ShellIntegrationStatus=e.ProfileSource=e.FlowControlConstants=e.LocalReconnectConstants=e.TerminalLocationString=e.TerminalLocation=e.HeartbeatConstants=e.$ns=e.ProcessPropertyType=e.TerminalIpcChannels=e.TitleEventSource=e.WindowsShellType=e.PosixShellType=e.TerminalSettingId=e.TerminalSettingPrefix=e.$ms=void 0,e.$ms=new t.$Xj("terminalTabFocusMode",!1,!0);var $;(function(r){r.AutomationProfile="terminal.integrated.automationProfile.",r.DefaultProfile="terminal.integrated.defaultProfile.",r.Profiles="terminal.integrated.profiles."})($||(e.TerminalSettingPrefix=$={}));var B;(function(r){r.SendKeybindingsToShell="terminal.integrated.sendKeybindingsToShell",r.AutomationProfileLinux="terminal.integrated.automationProfile.linux",r.AutomationProfileMacOs="terminal.integrated.automationProfile.osx",r.AutomationProfileWindows="terminal.integrated.automationProfile.windows",r.ProfilesWindows="terminal.integrated.profiles.windows",r.ProfilesMacOs="terminal.integrated.profiles.osx",r.ProfilesLinux="terminal.integrated.profiles.linux",r.DefaultProfileLinux="terminal.integrated.defaultProfile.linux",r.DefaultProfileMacOs="terminal.integrated.defaultProfile.osx",r.DefaultProfileWindows="terminal.integrated.defaultProfile.windows",r.UseWslProfiles="terminal.integrated.useWslProfiles",r.TabsDefaultColor="terminal.integrated.tabs.defaultColor",r.TabsDefaultIcon="terminal.integrated.tabs.defaultIcon",r.TabsEnabled="terminal.integrated.tabs.enabled",r.TabsEnableAnimation="terminal.integrated.tabs.enableAnimation",r.TabsHideCondition="terminal.integrated.tabs.hideCondition",r.TabsShowActiveTerminal="terminal.integrated.tabs.showActiveTerminal",r.TabsShowActions="terminal.integrated.tabs.showActions",r.TabsLocation="terminal.integrated.tabs.location",r.TabsFocusMode="terminal.integrated.tabs.focusMode",r.MacOptionIsMeta="terminal.integrated.macOptionIsMeta",r.MacOptionClickForcesSelection="terminal.integrated.macOptionClickForcesSelection",r.AltClickMovesCursor="terminal.integrated.altClickMovesCursor",r.CopyOnSelection="terminal.integrated.copyOnSelection",r.EnableMultiLinePasteWarning="terminal.integrated.enableMultiLinePasteWarning",r.DrawBoldTextInBrightColors="terminal.integrated.drawBoldTextInBrightColors",r.FontFamily="terminal.integrated.fontFamily",r.FontSize="terminal.integrated.fontSize",r.LetterSpacing="terminal.integrated.letterSpacing",r.LineHeight="terminal.integrated.lineHeight",r.MinimumContrastRatio="terminal.integrated.minimumContrastRatio",r.TabStopWidth="terminal.integrated.tabStopWidth",r.FastScrollSensitivity="terminal.integrated.fastScrollSensitivity",r.MouseWheelScrollSensitivity="terminal.integrated.mouseWheelScrollSensitivity",r.BellDuration="terminal.integrated.bellDuration",r.FontWeight="terminal.integrated.fontWeight",r.FontWeightBold="terminal.integrated.fontWeightBold",r.CursorBlinking="terminal.integrated.cursorBlinking",r.CursorStyle="terminal.integrated.cursorStyle",r.CursorStyleInactive="terminal.integrated.cursorStyleInactive",r.CursorWidth="terminal.integrated.cursorWidth",r.Scrollback="terminal.integrated.scrollback",r.DetectLocale="terminal.integrated.detectLocale",r.DefaultLocation="terminal.integrated.defaultLocation",r.GpuAcceleration="terminal.integrated.gpuAcceleration",r.TerminalTitleSeparator="terminal.integrated.tabs.separator",r.TerminalTitle="terminal.integrated.tabs.title",r.TerminalDescription="terminal.integrated.tabs.description",r.RightClickBehavior="terminal.integrated.rightClickBehavior",r.MiddleClickBehavior="terminal.integrated.middleClickBehavior",r.Cwd="terminal.integrated.cwd",r.ConfirmOnExit="terminal.integrated.confirmOnExit",r.ConfirmOnKill="terminal.integrated.confirmOnKill",r.EnableBell="terminal.integrated.enableBell",r.EnableVisualBell="terminal.integrated.enableVisualBell",r.CommandsToSkipShell="terminal.integrated.commandsToSkipShell",r.AllowChords="terminal.integrated.allowChords",r.AllowMnemonics="terminal.integrated.allowMnemonics",r.TabFocusMode="terminal.integrated.tabFocusMode",r.EnvMacOs="terminal.integrated.env.osx",r.EnvLinux="terminal.integrated.env.linux",r.EnvWindows="terminal.integrated.env.windows",r.EnvironmentChangesIndicator="terminal.integrated.environmentChangesIndicator",r.EnvironmentChangesRelaunch="terminal.integrated.environmentChangesRelaunch",r.ShowExitAlert="terminal.integrated.showExitAlert",r.SplitCwd="terminal.integrated.splitCwd",r.WindowsEnableConpty="terminal.integrated.windowsEnableConpty",r.WordSeparators="terminal.integrated.wordSeparators",r.EnableFileLinks="terminal.integrated.enableFileLinks",r.AllowedLinkSchemes="terminal.integrated.allowedLinkSchemes",r.UnicodeVersion="terminal.integrated.unicodeVersion",r.EnablePersistentSessions="terminal.integrated.enablePersistentSessions",r.PersistentSessionReviveProcess="terminal.integrated.persistentSessionReviveProcess",r.HideOnStartup="terminal.integrated.hideOnStartup",r.CustomGlyphs="terminal.integrated.customGlyphs",r.RescaleOverlappingGlyphs="terminal.integrated.rescaleOverlappingGlyphs",r.PersistentSessionScrollback="terminal.integrated.persistentSessionScrollback",r.InheritEnv="terminal.integrated.inheritEnv",r.ShowLinkHover="terminal.integrated.showLinkHover",r.IgnoreProcessNames="terminal.integrated.ignoreProcessNames",r.AutoReplies="terminal.integrated.autoReplies",r.ShellIntegrationEnabled="terminal.integrated.shellIntegration.enabled",r.ShellIntegrationShowWelcome="terminal.integrated.shellIntegration.showWelcome",r.ShellIntegrationDecorationsEnabled="terminal.integrated.shellIntegration.decorationsEnabled",r.ShellIntegrationCommandHistory="terminal.integrated.shellIntegration.history",r.EnableImages="terminal.integrated.enableImages",r.SmoothScrolling="terminal.integrated.smoothScrolling",r.IgnoreBracketedPasteMode="terminal.integrated.ignoreBracketedPasteMode",r.FocusAfterRun="terminal.integrated.focusAfterRun",r.DeveloperPtyHostLatency="terminal.integrated.developer.ptyHost.latency",r.DeveloperPtyHostStartupDelay="terminal.integrated.developer.ptyHost.startupDelay",r.DevMode="terminal.integrated.developer.devMode"})(B||(e.TerminalSettingId=B={}));var P;(function(r){r.PowerShell="pwsh",r.Bash="bash",r.Fish="fish",r.Sh="sh",r.Csh="csh",r.Ksh="ksh",r.Zsh="zsh",r.Python="python"})(P||(e.PosixShellType=P={}));var w;(function(r){r.CommandPrompt="cmd",r.PowerShell="pwsh",r.Wsl="wsl",r.GitBash="gitbash",r.Python="python"})(w||(e.WindowsShellType=w={}));var o;(function(r){r[r.Api=0]="Api",r[r.Process=1]="Process",r[r.Sequence=2]="Sequence",r[r.Config=3]="Config"})(o||(e.TitleEventSource=o={}));var E;(function(r){r.LocalPty="localPty",r.PtyHost="ptyHost",r.PtyHostWindow="ptyHostWindow",r.Logger="logger",r.Heartbeat="heartbeat"})(E||(e.TerminalIpcChannels=E={}));var p;(function(r){r.Cwd="cwd",r.InitialCwd="initialCwd",r.FixedDimensions="fixedDimensions",r.Title="title",r.ShellType="shellType",r.HasChildProcesses="hasChildProcesses",r.ResolvedShellLaunchConfig="resolvedShellLaunchConfig",r.OverrideDimensions="overrideDimensions",r.FailedShellIntegrationActivation="failedShellIntegrationActivation",r.UsedShellIntegrationInjection="usedShellIntegrationInjection"})(p||(e.ProcessPropertyType=p={})),e.$ns=(0,a.$Gi)("ptyService");var d;(function(r){r[r.BeatInterval=5e3]="BeatInterval",r[r.ConnectingBeatInterval=2e4]="ConnectingBeatInterval",r[r.FirstWaitMultiplier=1.2]="FirstWaitMultiplier",r[r.SecondWaitMultiplier=1]="SecondWaitMultiplier",r[r.CreateProcessTimeout=5e3]="CreateProcessTimeout"})(d||(e.HeartbeatConstants=d={}));var u;(function(r){r[r.Panel=1]="Panel",r[r.Editor=2]="Editor"})(u||(e.TerminalLocation=u={}));var c;(function(r){r.TerminalView="view",r.Editor="editor"})(c||(e.TerminalLocationString=c={}));var h;(function(r){r[r.GraceTime=6e4]="GraceTime",r[r.ShortGraceTime=6e3]="ShortGraceTime"})(h||(e.LocalReconnectConstants=h={}));var m;(function(r){r[r.HighWatermarkChars=1e5]="HighWatermarkChars",r[r.LowWatermarkChars=5e3]="LowWatermarkChars",r[r.CharCountAckSize=5e3]="CharCountAckSize"})(m||(e.FlowControlConstants=m={}));var l;(function(r){r.GitBash="Git Bash",r.Pwsh="PowerShell"})(l||(e.ProfileSource=l={}));var s;(function(r){r[r.Off=0]="Off",r[r.FinalTerm=1]="FinalTerm",r[r.VSCode=2]="VSCode"})(s||(e.ShellIntegrationStatus=s={}));var b;(function(r){r[r.Unknown=0]="Unknown",r[r.Shutdown=1]="Shutdown",r[r.Process=2]="Process",r[r.User=3]="User",r[r.Extension=4]="Extension"})(b||(e.TerminalExitReason=b={})),e.$os={Backend:"workbench.contributions.terminal.processBackend"};class v{constructor(){this.a=new Map}get backends(){return this.a}registerTerminalBackend(i){const n=this.b(i.remoteAuthority);if(this.a.has(n))throw new Error(`A terminal backend with remote authority '${n}' was already registered.`);this.a.set(n,i)}getTerminalBackend(i){return this.a.get(this.b(i))}b(i){return i?.toLowerCase()??""}}L.$ro.add(e.$os.Backend,new v),e.$ps=(0,a.$Gi)("localPtyService"),e.$qs=(0,a.$Gi)("terminalLogService")}),define(he[101],fe([0,1,12,2,3]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Nlc=void 0;class $ extends t.$Xc{constructor(P,w,o,E){super(),this.a=0,this.b=!1,this.c=!1,this.B(P.onProcessData(p=>{if(this.b||this.c)return;const d=typeof p=="string"?p:p.data;for(let u=0;u<d.length;u++)d[u]===w[this.a]?this.a++:this.f(),this.a===w.length&&(E.debug(`Auto reply match: "${w}", response: "${o}"`),P.input(o),this.c=!0,(0,a.$Hh)(1e3).then(()=>this.c=!1),this.f())}))}f(){this.a=0}handleResize(){L.$i&&(this.b=!0)}handleInput(){this.b=!1}}e.$Nlc=$}),define(he[102],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Axb=void 0;class a{constructor(L){this.b=L,this.a=new Map}dispose(){for(const L of this.a.values())L.dispose()}startBuffering(L,$,B=5){const P=$(w=>{const o=typeof w=="string"?w:w.data;let E=this.a.get(L);if(E){E.data.push(o);return}const p=setTimeout(()=>this.flushBuffer(L),B);E={data:[o],timeoutId:p,dispose:()=>{clearTimeout(p),this.flushBuffer(L),P.dispose()}},this.a.set(L,E)});return P}stopBuffering(L){this.a.get(L)?.dispose()}flushBuffer(L){const $=this.a.get(L);$&&(this.a.delete(L),this.b(L,$.data.join("")))}}e.$Axb=a}),define(he[40],fe([0,1,3]),function(ie,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$QQ=t,e.$RQ=L,e.$SQ=$,e.$TQ=B;function t(P){let w=P;w.includes("\\")&&(w=w.replace(/\\/g,"\\\\"));const o=/[\`\$\|\&\>\~\#\!\^\*\;\<\"\']/g;return w=w.replace(o,""),`'${w}'`}function L(P,w,o){if(!P)return"";if(!w)return P;w.match(/[\/\\]$/)&&(w=w.slice(0,w.length-1));const E=P.replace(/\\/g,"/").toLowerCase(),p=w.replace(/\\/g,"/").toLowerCase();return E.includes(p)?`~${o}${P.slice(w.length+1)}`:P}function $(P){return P.match(/^['"].*['"]$/)&&(P=P.substring(1,P.length-1)),a.OS===a.OperatingSystem.Windows&&P&&P[1]===":"?P[0].toUpperCase()+P.substring(1):P}function B(P){return!P.strictEnv}}),define(he[103],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$ls=t;var a;(function(L){L[L.WriteMaxChunkSize=50]="WriteMaxChunkSize"})(a||(a={}));function t(L){const $=[];let B=0;for(let P=0;P<L.length-1;P++)(P-B+1>=a.WriteMaxChunkSize||L[P+1]==="\x1B")&&($.push(L.substring(B,P+1)),B=P+1,P++);return B!==L.length&&$.push(L.substring(B)),$}}),define(he[104],fe([0,1]),function(ie,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$cXb=a;function a(t,L={}){let $="";return L.excludeLeadingNewLine||($+=`\r
`),$+="\x1B[0m\x1B[7m * ",L.loudFormatting?$+="\x1B[0;104m":$+="\x1B[0m",$+=` ${t} \x1B[0m
\r`,$}}),define(he[105],fe([0,1,17,2,97,94,95,24,96,4,91,6,40,10]),function(ie,e,a,t,L,$,B,P,w,o,E,p,d,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$rwb=e.ShellIntegrationOscPs=void 0,e.$swb=b,e.$twb=v,e.$uwb=r;var c;(function(i){i[i.FinalTerm=133]="FinalTerm",i[i.VSCode=633]="VSCode",i[i.ITerm=1337]="ITerm",i[i.SetCwd=7]="SetCwd",i[i.SetWindowsFriendlyCwd=9]="SetWindowsFriendlyCwd"})(c||(e.ShellIntegrationOscPs=c={}));var h;(function(i){i.PromptStart="A",i.CommandStart="B",i.CommandExecuted="C",i.CommandFinished="D"})(h||(h={}));var m;(function(i){i.PromptStart="A",i.CommandStart="B",i.CommandExecuted="C",i.CommandFinished="D",i.CommandLine="E",i.ContinuationStart="F",i.ContinuationEnd="G",i.RightPromptStart="H",i.RightPromptEnd="I",i.Property="P",i.SetMark="SetMark"})(m||(m={}));var l;(function(i){i.SetMark="SetMark",i.CurrentDir="CurrentDir"})(l||(l={}));class s extends t.$Xc{get status(){return this.g}constructor(n,k,_,O){super(),this.j=n,this.m=k,this.n=_,this.r=O,this.capabilities=this.B(new L.$kwb),this.b=!1,this.f=[],this.g=a.ShellIntegrationStatus.Off,this.h=new o.$ne,this.onDidChangeStatus=this.h.event,this.B((0,t.$Vc)(()=>{this.z(),this.s()}))}s(){(0,t.$Sc)(this.f),this.f.length=0}activate(n){this.a=n,this.capabilities.add(P.TerminalCapability.PartialCommandDetection,this.B(new w.$pwb(this.a))),this.B(n.parser.registerOscHandler(c.VSCode,k=>this.w(k))),this.B(n.parser.registerOscHandler(c.ITerm,k=>this.H(k))),this.f.push(n.parser.registerOscHandler(c.FinalTerm,k=>this.t(k))),this.B(n.parser.registerOscHandler(c.SetCwd,k=>this.J(k))),this.B(n.parser.registerOscHandler(c.SetWindowsFriendlyCwd,k=>this.I(k))),this.y()}getMarkerId(n,k){this.N(n).getMark(k)}t(n){const k=this.u(n);return this.g===a.ShellIntegrationStatus.Off&&(this.g=a.ShellIntegrationStatus.FinalTerm,this.h.fire(this.g)),k}u(n){if(!this.a)return!1;const[k,..._]=n.split(";");switch(k){case h.PromptStart:return this.M(this.a).handlePromptStart(),!0;case h.CommandStart:return this.M(this.a).handleCommandStart({ignoreCommandLine:!0}),!0;case h.CommandExecuted:return this.M(this.a).handleCommandExecuted(),!0;case h.CommandFinished:{const O=_.length===1?parseInt(_[0]):void 0;return this.M(this.a).handleCommandFinished(O),!0}}return!1}w(n){const k=this.C(n);return!this.b&&k&&(this.n?.publicLog2("terminal/shellIntegrationActivationSucceeded"),this.b=!0,this.z()),this.g!==a.ShellIntegrationStatus.VSCode&&(this.g=a.ShellIntegrationStatus.VSCode,this.h.fire(this.g)),k}async y(){!this.n||this.m||(this.c=setTimeout(()=>{!this.capabilities.get(P.TerminalCapability.CommandDetection)&&!this.capabilities.get(P.TerminalCapability.CwdDetection)&&(this.n?.publicLog2("terminal/shellIntegrationActivationTimeout"),this.r.warn("Shell integration failed to add capabilities within 10 seconds")),this.b=!0},1e4))}z(){this.c!==void 0&&(clearTimeout(this.c),this.c=void 0)}C(n){if(!this.a)return!1;const k=n.indexOf(";"),_=k===-1?n:n.substring(0,k),O=k===-1?[]:n.substring(k+1).split(";");switch(_){case m.PromptStart:return this.M(this.a).handlePromptStart(),!0;case m.CommandStart:return this.M(this.a).handleCommandStart(),!0;case m.CommandExecuted:return this.M(this.a).handleCommandExecuted(),!0;case m.CommandFinished:{const y=O[0],A=y!==void 0?parseInt(y):void 0;return this.M(this.a).handleCommandFinished(A),!0}case m.CommandLine:{const y=O[0],A=O[1];let S;return y!==void 0?S=b(y):S="",this.M(this.a).setCommandLine(S,A===this.j),!0}case m.ContinuationStart:return this.M(this.a).handleContinuationStart(),!0;case m.ContinuationEnd:return this.M(this.a).handleContinuationEnd(),!0;case m.RightPromptStart:return this.M(this.a).handleRightPromptStart(),!0;case m.RightPromptEnd:return this.M(this.a).handleRightPromptEnd(),!0;case m.Property:{const y=O[0],A=y!==void 0?b(y):"",{key:S,value:q}=v(A);if(q===void 0)return!0;switch(S){case"ContinuationPrompt":return this.D((0,u.$5f)(q)),!0;case"Cwd":return this.G(q),!0;case"IsWindows":return this.M(this.a).setIsWindowsPty(q==="True"),!0;case"Prompt":{const j=q.replace(/\x1b\[[0-9;]*m/g,"");return this.F(j),!0}case"Task":return this.N(this.a),this.capabilities.get(P.TerminalCapability.CommandDetection)?.setIsCommandStorageDisabled(),!0}}case m.SetMark:return this.N(this.a).addMark(r(O)),!0}return!1}D(n){this.a&&this.M(this.a).setContinuationPrompt(n)}F(n){if(!this.a)return;const k=n.substring(n.lastIndexOf(`
`)+1),_=k.substring(k.lastIndexOf(" "));_&&this.M(this.a).setPromptTerminator(_,k)}G(n){n=(0,d.$SQ)(n),this.L().updateCwd(n),this.capabilities.get(P.TerminalCapability.CommandDetection)?.setCwd(n)}H(n){if(!this.a)return!1;const[k]=n.split(";");switch(k){case l.SetMark:this.N(this.a).addMark();default:{const{key:_,value:O}=v(k);if(O===void 0)return!0;switch(_){case l.CurrentDir:return this.G(O),!0}}}return!1}I(n){if(!this.a)return!1;const[k,..._]=n.split(";");switch(k){case"9":return _.length&&this.G(_[0]),!0}return!1}J(n){if(!this.a)return!1;const[k]=n.split(";");if(k.match(/^file:\/\/.*\//)){const _=p.URI.parse(k);if(_.path&&_.path.length>0)return this.G(_.path),!0}return!1}serialize(){return!this.a||!this.capabilities.has(P.TerminalCapability.CommandDetection)?{isWindowsPty:!1,commands:[],promptInputModel:void 0}:this.M(this.a).serialize()}deserialize(n){if(!this.a)throw new Error("Cannot restore commands before addon is activated");this.M(this.a).deserialize(n)}L(){let n=this.capabilities.get(P.TerminalCapability.CwdDetection);return n||(n=this.B(new B.$owb),this.capabilities.add(P.TerminalCapability.CwdDetection,n)),n}M(n){let k=this.capabilities.get(P.TerminalCapability.CommandDetection);return k||(k=this.B(new $.$mwb(n,this.r)),this.capabilities.add(P.TerminalCapability.CommandDetection,k)),k}N(n){let k=this.capabilities.get(P.TerminalCapability.BufferMarkDetection);return k||(k=this.B(new E.$qwb(n)),this.capabilities.add(P.TerminalCapability.BufferMarkDetection,k)),k}}e.$rwb=s;function b(i){return i.replaceAll(/\\(\\|x([0-9a-f]{2}))/gi,(n,k,_)=>_?String.fromCharCode(parseInt(_,16)):k)}function v(i){const n=i.indexOf("=");return n===-1?{key:i,value:void 0}:{key:i.substring(0,n),value:i.substring(1+n)}}function r(i){let n,k=!1;for(const _ of i)_!==void 0&&(_==="Hidden"&&(k=!0),_.startsWith("Id=")&&(n=_.substring(3)));return{id:n,hidden:k}}}),define(he[41],fe([0,1,5,15,4,2,66,8]),function(ie,e,a,t,L,$,B,P){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Plc=e.$Olc=void 0;var w;(function(E){E[E.InactiveThrottleDuration=5e3]="InactiveThrottleDuration",E[E.ActiveDebounceDuration=1e3]="ActiveDebounceDuration"})(w||(w={})),e.$Olc=[];let o=class extends $.$Xc{set hasChildProcesses(p){this.a!==p&&(this.a=p,this.f.debug("ChildProcessMonitor: Has child processes changed",p),this.b.fire(p))}get hasChildProcesses(){return this.a}constructor(p,d){super(),this.c=p,this.f=d,this.a=!1,this.b=this.B(new L.$ne),this.onDidChangeHasChildProcesses=this.b.event}handleInput(){this.g()}handleOutput(){this.h()}async g(){if(!this.q.isDisposed)try{const p=await(0,B.$Vs)(this.c);this.hasChildProcesses=this.j(p)}catch(p){this.f.debug("ChildProcessMonitor: Fetching process tree failed",p)}}h(){this.g()}j(p){if(!p.children)return!1;if(p.children.length===1){const d=p.children[0];let u;if(d.cmd.startsWith('"'))u=d.cmd.substring(1,d.cmd.indexOf('"',1));else{const c=d.cmd.indexOf(" ");c===-1?u=d.cmd:u=d.cmd.substring(0,c)}return e.$Olc.indexOf((0,a.$tc)(u).name)===-1}return p.children.length>0}};e.$Plc=o,pe([(0,t.$_h)(w.ActiveDebounceDuration)],o.prototype,"g",null),pe([(0,t.$ai)(w.InactiveThrottleDuration)],o.prototype,"h",null),e.$Plc=o=pe([je(1,P.$ak)],o)}),define(he[106],fe([0,1,4,2,17]),function(ie,e,a,t,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Qlc=void 0;class $ extends t.$Xc{constructor(){super(),this.a=this.B(new a.$ne),this.onBeat=this.a.event;const P=setInterval(()=>{this.a.fire()},L.HeartbeatConstants.BeatInterval);this.B((0,t.$Vc)(()=>clearInterval(P)))}}e.$Qlc=$}),define(he[42],fe([0,1,22,21,33,5,3,16,10,9,27,39,99,98]),function(ie,e,a,t,L,$,B,P,w,o,E,p,d,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Ks=c,e.$Ls=h,e.$Ms=m,a=Ae(a),$=Ae($),P=Ae(P),E=Ae(E);function c(){const y=/(\d+)\.(\d+)\.(\d+)/g.exec(a.release());let A=0;return y&&y.length===4&&(A=parseInt(y[3])),A}async function h(y,A,S,q=P.env,j=E.Promises.exists){if($.$lc(y))return await j(y)?y:void 0;if(A===void 0&&(A=P.cwd()),$.$pc(y)!=="."){const I=$.$mc(A,y);return await j(I)?I:void 0}const g=(0,L.$lo)(q,"PATH");if(S===void 0&&(0,o.$gg)(g)&&(S=g.split($.$wc)),S===void 0||S.length===0){const I=$.$mc(A,y);return await j(I)?I:void 0}for(const I of S){let D;if($.$lc(I)?D=$.$mc(I,y):D=$.$mc(A,I,y),await j(D))return D;if(B.$i){let F=D+".com";if(await j(F)||(F=D+".exe",await j(F)))return F}}const T=$.$mc(A,y);return await j(T)?T:void 0}function m(y,A,S,q,j){const R=B.$i&&(!A.windowsEnableConpty||c()<18309);if(!A.shellIntegration.enabled||!y.executable||y.isFeatureTerminal&&!y.forceShellIntegration||y.ignoreShellIntegration||R)return;const g=y.args,T=P.$gc==="win32"?$.$qc(y.executable).toLowerCase():$.$qc(y.executable),I=$.$pc(t.$1g.asFileUri("").fsPath);let D;const F={VSCODE_INJECTION:"1"};if(A.shellIntegration.nonce&&(F.VSCODE_NONCE=A.shellIntegration.nonce),B.$i){if(T==="pwsh.exe"||T==="powershell.exe")return!g||_(g)?D=b.get(s.WindowsPwsh):k(g)&&(D=b.get(s.WindowsPwshLogin)),D?(D=[...D],D[D.length-1]=(0,w.$ff)(D[D.length-1],I,""),F.VSCODE_STABLE=j.quality==="stable"?"1":"0",A.shellIntegration.suggestEnabled&&(F.VSCODE_SUGGEST="1"),{newArgs:D,envMixin:F}):void 0;if(T==="bash.exe")return!g||g.length===0?D=b.get(s.Bash):O(g)&&(F.VSCODE_SHELL_LOGIN="1",l(A,F),D=b.get(s.Bash)),D?(D=[...D],D[D.length-1]=(0,w.$ff)(D[D.length-1],I),F.VSCODE_STABLE=j.quality==="stable"?"1":"0",{newArgs:D,envMixin:F}):void 0;q.warn(`Shell integration cannot be enabled for executable "${y.executable}" and args`,y.args);return}switch(T){case"bash":return!g||g.length===0?D=b.get(s.Bash):O(g)&&(F.VSCODE_SHELL_LOGIN="1",l(A,F),D=b.get(s.Bash)),D?(D=[...D],D[D.length-1]=(0,w.$ff)(D[D.length-1],I),F.VSCODE_STABLE=j.quality==="stable"?"1":"0",{newArgs:D,envMixin:F}):void 0;case"fish":{const J=S?.XDG_DATA_DIRS??"/usr/local/share:/usr/share",V=$.$mc(I,"out/vs/workbench/contrib/terminal/browser/media/fish_xdg_data");return F.XDG_DATA_DIRS=`${J}:${V}`,l(A,F),{newArgs:void 0,envMixin:F}}case"pwsh":return!g||_(g)?D=b.get(s.Pwsh):k(g)&&(D=b.get(s.PwshLogin)),D?(A.shellIntegration.suggestEnabled&&(F.VSCODE_SUGGEST="1"),D=[...D],D[D.length-1]=(0,w.$ff)(D[D.length-1],I,""),F.VSCODE_STABLE=j.quality==="stable"?"1":"0",{newArgs:D,envMixin:F}):void 0;case"zsh":{if(!g||g.length===0?D=b.get(s.Zsh):O(g)?(D=b.get(s.ZshLogin),l(A,F)):(g===b.get(s.Zsh)||g===b.get(s.ZshLogin))&&(D=g),!D)return;D=[...D],D[D.length-1]=(0,w.$ff)(D[D.length-1],I);let J;try{J=a.userInfo().username}catch{J="unknown"}const V=$.$mc(a.tmpdir(),`${J}-${j.applicationName}-zsh`);F.ZDOTDIR=V;const Z=S?.ZDOTDIR??a.homedir()??"~";F.USER_ZDOTDIR=Z;const re=[];return re.push({source:$.$mc(I,"out/vs/workbench/contrib/terminal/browser/media/shellIntegration-rc.zsh"),dest:$.$mc(V,".zshrc")}),re.push({source:$.$mc(I,"out/vs/workbench/contrib/terminal/browser/media/shellIntegration-profile.zsh"),dest:$.$mc(V,".zprofile")}),re.push({source:$.$mc(I,"out/vs/workbench/contrib/terminal/browser/media/shellIntegration-env.zsh"),dest:$.$mc(V,".zshenv")}),re.push({source:$.$mc(I,"out/vs/workbench/contrib/terminal/browser/media/shellIntegration-login.zsh"),dest:$.$mc(V,".zlogin")}),{newArgs:D,envMixin:F,filesToCopy:re}}}q.warn(`Shell integration cannot be enabled for executable "${y.executable}" and args`,y.args)}function l(y,A){if(B.$j&&y.environmentVariableCollections){const S=(0,d.$Is)(y.environmentVariableCollections),j=new u.$Js(S).getVariableMap({workspaceFolder:y.workspaceFolder}).get("PATH"),R=[];if(j)for(const g of j)g.type===p.EnvironmentVariableMutatorType.Prepend&&R.push(g.value);R.length>0&&(A.VSCODE_PATH_PREFIX=R.join(""))}}var s;(function(y){y.WindowsPwsh="windows-pwsh",y.WindowsPwshLogin="windows-pwsh-login",y.Pwsh="pwsh",y.PwshLogin="pwsh-login",y.Zsh="zsh",y.ZshLogin="zsh-login",y.Bash="bash"})(s||(s={}));const b=new Map;b.set(s.WindowsPwsh,["-noexit","-command",'try { . "{0}\\out\\vs\\workbench\\contrib\\terminal\\browser\\media\\shellIntegration.ps1" } catch {}{1}']),b.set(s.WindowsPwshLogin,["-l","-noexit","-command",'try { . "{0}\\out\\vs\\workbench\\contrib\\terminal\\browser\\media\\shellIntegration.ps1" } catch {}{1}']),b.set(s.Pwsh,["-noexit","-command",'. "{0}/out/vs/workbench/contrib/terminal/browser/media/shellIntegration.ps1"{1}']),b.set(s.PwshLogin,["-l","-noexit","-command",'. "{0}/out/vs/workbench/contrib/terminal/browser/media/shellIntegration.ps1"']),b.set(s.Zsh,["-i"]),b.set(s.ZshLogin,["-il"]),b.set(s.Bash,["--init-file","{0}/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh"]);const v=["-login","-l"],r=["--login","-l"],i=["-i","--interactive"],n=["-nol","-nologo"];function k(y){return typeof y=="string"?v.includes(y.toLowerCase()):y.length===1&&v.includes(y[0].toLowerCase())||y.length===2&&(v.includes(y[0].toLowerCase())||v.includes(y[1].toLowerCase()))&&(n.includes(y[0].toLowerCase())||n.includes(y[1].toLowerCase()))}function _(y){return typeof y=="string"?n.includes(y.toLowerCase()):y.length===0||y?.length===1&&n.includes(y[0].toLowerCase())}function O(y){return typeof y!="string"&&(y=y.filter(A=>!i.includes(A.toLowerCase()))),y==="string"&&r.includes(y.toLowerCase())||typeof y!="string"&&y.length===1&&r.includes(y[0].toLowerCase())}}),define(he[107],fe([0,1,12,15,4,2,3,17]),function(ie,e,a,t,L,$,B,P){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Rlc=void 0;const w=["cmd.exe","powershell.exe","pwsh.exe","bash.exe","wsl.exe","ubuntu.exe","ubuntu1804.exe","kali.exe","debian.exe","opensuse-42.exe","sles-12.exe"];let o;class E extends $.$Xc{get shellType(){return this.b}get shellTitle(){return this.c}get onShellNameChanged(){return this.f.event}get onShellTypeChanged(){return this.g.event}constructor(d){if(super(),this.h=d,this.c="",this.f=new L.$ne,this.g=new L.$ne,!B.$i)throw new Error(`WindowsShellHelper cannot be instantiated on ${B.$u}`);this.j()}async j(){this.q.isDisposed||this.checkShell()}async checkShell(){B.$i&&(await(0,a.$Hh)(300),this.getShellName().then(d=>{const u=this.getShellType(d);u!==this.b&&(this.g.fire(u),this.f.fire(d),this.b=u,this.c=d)}))}m(d){if(!d)return"";if(w.indexOf(d.name)===-1||!d.children||d.children.length===0)return d.name;let u=0;for(;u<d.children.length;u++){const c=d.children[u];if(!c.children||c.children.length===0||c.children[0].name!=="conhost.exe")break}return u>=d.children.length?d.name:this.m(d.children[u])}async getShellName(){return this.q.isDisposed?Promise.resolve(""):this.a?this.a:(o||(o=await new Promise((d,u)=>{ie(["@vscode/windows-process-tree"],d,u)}).then(Ae)),this.a=new Promise(d=>{o.getProcessTree(this.h,u=>{const c=this.m(u);this.a=void 0,d(c)})}),this.a)}getShellType(d){switch(d.toLowerCase()){case"cmd.exe":return P.WindowsShellType.CommandPrompt;case"powershell.exe":case"pwsh.exe":return P.WindowsShellType.PowerShell;case"bash.exe":case"git-cmd.exe":return P.WindowsShellType.GitBash;case"wsl.exe":case"ubuntu.exe":case"ubuntu1804.exe":case"kali.exe":case"debian.exe":case"opensuse-42.exe":case"sles-12.exe":return P.WindowsShellType.Wsl;default:return d.match(/python(\d(\.\d{0,2})?)?\.exe/)?P.WindowsShellType.Python:void 0}}}e.$Rlc=E,pe([(0,t.$_h)(500)],E.prototype,"checkShell",null)}),define(he[108],fe([0,1,30,12,4,2,5,3,6,27,76,8,89,17,41,42,107,113,103]),function(ie,e,a,t,L,$,B,P,w,o,E,p,d,u,c,h,m,l,s){"use strict";var b;Object.defineProperty(e,"__esModule",{value:!0}),e.$Slc=void 0,B=Ae(B);var v;(function(_){_[_.DataFlushTimeout=250]="DataFlushTimeout",_[_.MaximumShutdownTime=5e3]="MaximumShutdownTime"})(v||(v={}));var r;(function(_){_[_.KillSpawnThrottleInterval=250]="KillSpawnThrottleInterval",_[_.KillSpawnSpacingDuration=50]="KillSpawnSpacingDuration",_[_.WriteInterval=5]="WriteInterval"})(r||(r={}));const i=new Map([["bash",u.PosixShellType.Bash],["csh",u.PosixShellType.Csh],["fish",u.PosixShellType.Fish],["ksh",u.PosixShellType.Ksh],["sh",u.PosixShellType.Sh],["pwsh",u.PosixShellType.PowerShell],["python",u.PosixShellType.Python],["zsh",u.PosixShellType.Zsh]]);let n=class extends $.$Xc{static{b=this}static{this.b=0}get exitMessage(){return this.h}get currentTitle(){return this.t?.shellTitle||this.n}get shellType(){return P.$i?this.t?.shellType:i.get(this.n)}get hasChildProcesses(){return this.u?.hasChildProcesses||!1}constructor(O,y,A,S,q,j,R,g,T){super(),this.shellLaunchConfig=O,this.N=j,this.O=R,this.P=g,this.Q=T,this.id=0,this.shouldPersist=!1,this.a={cwd:"",initialCwd:"",fixedDimensions:{cols:void 0,rows:void 0},title:"",shellType:void 0,hasChildProcesses:!0,resolvedShellLaunchConfig:{},overrideDimensions:void 0,failedShellIntegrationActivation:!1,usedShellIntegrationInjection:void 0},this.n="",this.w=null,this.y=[],this.G=!1,this.H=0,this.I=this.B(new L.$ne),this.onProcessData=this.I.event,this.J=this.B(new L.$ne),this.onProcessReady=this.J.event,this.L=this.B(new L.$ne),this.onDidChangeProperty=this.L.event,this.M=this.B(new L.$ne),this.onProcessExit=this.M.event;let I;P.$i?I=B.$qc(this.shellLaunchConfig.executable||""):I="xterm-256color",this.D=y,this.a[u.ProcessPropertyType.InitialCwd]=this.D,this.a[u.ProcessPropertyType.Cwd]=this.D;const D=this.O.windowsEnableConpty&&process.platform==="win32"&&(0,h.$Ks)()>=18309;this.F={name:I,cwd:y,env:q,cols:A,rows:S,useConpty:D,conptyInheritCursor:D&&!!O.initialText},P.$i&&(D&&A===0&&S===0&&this.shellLaunchConfig.executable?.endsWith("Git\\bin\\bash.exe")&&(this.C=new k,this.B(this.C.onTrigger(F=>{this.C?.dispose(),this.C=void 0,F.cols&&F.rows&&this.resize(F.cols,F.rows)}))),this.onProcessReady(F=>{this.t=this.B(new m.$Rlc(F.pid)),this.B(this.t.onShellTypeChanged(J=>this.L.fire({type:u.ProcessPropertyType.ShellType,value:J}))),this.B(this.t.onShellNameChanged(J=>this.L.fire({type:u.ProcessPropertyType.Title,value:J})))})),this.B((0,$.$Vc)(()=>{this.w&&(clearInterval(this.w),this.w=null)}))}async start(){const y=(await Promise.all([this.R(),this.S()])).find(S=>S!==void 0);if(y)return y;let A;if(this.O.shellIntegration.enabled)if(A=(0,h.$Ms)(this.shellLaunchConfig,this.O,this.F.env,this.P,this.Q),A){if(this.L.fire({type:u.ProcessPropertyType.UsedShellIntegrationInjection,value:!0}),A.envMixin)for(const[S,q]of Object.entries(A.envMixin))this.F.env||={},this.F.env[S]=q;if(A.filesToCopy)for(const S of A.filesToCopy){await o.Promises.mkdir(B.$pc(S.dest),{recursive:!0});try{await o.Promises.copyFile(S.source,S.dest)}catch{}}}else this.L.fire({type:u.ProcessPropertyType.FailedShellIntegrationActivation,value:!0});try{return await this.U(this.shellLaunchConfig,this.F,A),A?.newArgs?{injectedArgs:A.newArgs}:void 0}catch(S){return this.P.trace("node-pty.node-pty.IPty#spawn native exception",S),{message:`A native exception occurred during launch (${S.message})`}}}async R(){try{if(!(await o.Promises.stat(this.D)).isDirectory())return{message:(0,E.localize)(0,null,this.D.toString())}}catch(O){if(O?.code==="ENOENT")return{message:(0,E.localize)(1,null,this.D.toString())}}this.L.fire({type:u.ProcessPropertyType.InitialCwd,value:this.D})}async S(){const O=this.shellLaunchConfig;if(!O.executable)throw new Error("IShellLaunchConfig.executable not set");const y=O.cwd instanceof w.URI?O.cwd.path:O.cwd,A=O.env&&O.env.PATH?O.env.PATH.split(B.$wc):void 0,S=await(0,h.$Ls)(O.executable,y,A,this.N);if(!S)return{message:(0,E.localize)(2,null,O.executable)};try{const q=await o.Promises.stat(S);if(!q.isFile()&&!q.isSymbolicLink())return{message:(0,E.localize)(3,null,O.executable)};O.executable=S}catch(q){if(q?.code!=="EACCES")throw q}}async U(O,y,A){const S=A?.newArgs||O.args||[];await this.Z(),this.P.trace("node-pty.IPty#spawn",O.executable,S,y);const q=(0,l.spawn)(O.executable,S,y);this.m=q,this.u=this.B(new c.$Plc(q.pid,this.P)),this.u.onDidChangeHasChildProcesses(j=>this.L.fire({type:u.ProcessPropertyType.HasChildProcesses,value:j})),this.s=new Promise(j=>{this.onProcessReady(()=>j())}),q.onData(j=>{this.H+=j.length,!this.G&&this.H>u.FlowControlConstants.HighWatermarkChars&&(this.P.trace(`Flow control: Pause (${this.H} > ${u.FlowControlConstants.HighWatermarkChars})`),this.G=!0,q.pause()),this.P.trace("node-pty.IPty#onData",j),this.I.fire(j),this.j&&this.X(),this.t?.checkShell(),this.u?.handleOutput()}),q.onExit(j=>{this.g=j.exitCode,this.X()}),this.$(q.pid),this.W(q)}W(O){setTimeout(()=>this.ab(O)),P.$i||(this.w=setInterval(()=>{this.n!==O.process&&this.ab(O)},200))}X(){this.P.getLevel()===p.LogLevel.Trace&&this.P.trace("TerminalProcess#_queueProcessExit",new Error().stack?.replace(/^Error/,"")),this.j&&clearTimeout(this.j),this.j=setTimeout(()=>{this.j=void 0,this.Y()},v.DataFlushTimeout)}async Y(){if(await this.s,!this.q.isDisposed){try{this.m&&(await this.Z(),this.P.trace("node-pty.IPty#kill"),this.m.kill())}catch{}this.M.fire(this.g||0),this.dispose()}}async Z(){if(!(!P.$i||!("useConpty"in this.F)||!this.F.useConpty)){for(;Date.now()-b.b<r.KillSpawnThrottleInterval;)this.P.trace("Throttling kill/spawn call"),await(0,t.$Hh)(r.KillSpawnThrottleInterval-(Date.now()-b.b)+r.KillSpawnSpacingDuration);b.b=Date.now()}}$(O){this.J.fire({pid:O,cwd:this.D,windowsPty:this.getWindowsPty()})}ab(O){if(this.q.isDisposed)return;this.n=O.process,this.L.fire({type:u.ProcessPropertyType.Title,value:this.n});const y=this.currentTitle.replace(/ \(figterm\)$/g,"");y.toLowerCase().startsWith("python")?this.L.fire({type:u.ProcessPropertyType.ShellType,value:u.PosixShellType.Python}):this.L.fire({type:u.ProcessPropertyType.ShellType,value:i.get(y)})}shutdown(O){this.P.getLevel()===p.LogLevel.Trace&&this.P.trace("TerminalProcess#shutdown",new Error().stack?.replace(/^Error/,"")),O&&!P.$i?this.Y():!this.j&&!this.q.isDisposed&&(this.X(),setTimeout(()=>{this.j&&!this.q.isDisposed&&(this.j=void 0,this.Y())},v.MaximumShutdownTime))}input(O,y=!1){this.q.isDisposed||!this.m||(this.y.push(...(0,s.$ls)(O).map(A=>({isBinary:y,data:A}))),this.bb())}async processBinary(O){this.input(O,!0)}async refreshProperty(O){switch(O){case u.ProcessPropertyType.Cwd:{const y=await this.getCwd();return y!==this.a.cwd&&(this.a.cwd=y,this.L.fire({type:u.ProcessPropertyType.Cwd,value:this.a.cwd})),y}case u.ProcessPropertyType.InitialCwd:{const y=await this.getInitialCwd();return y!==this.a.initialCwd&&(this.a.initialCwd=y,this.L.fire({type:u.ProcessPropertyType.InitialCwd,value:this.a.initialCwd})),y}case u.ProcessPropertyType.Title:return this.currentTitle;default:return this.shellType}}async updateProperty(O,y){O===u.ProcessPropertyType.FixedDimensions&&(this.a.fixedDimensions=y)}bb(){if(!(this.z!==void 0||this.y.length===0)){if(this.cb(),this.y.length===0){this.z=void 0;return}this.z=setTimeout(()=>{this.z=void 0,this.bb()},r.WriteInterval)}}cb(){const O=this.y.shift();this.P.trace("node-pty.IPty#write",O.data),O.isBinary?this.m.write(Buffer.from(O.data,"binary")):this.m.write(O.data),this.u?.handleInput()}resize(O,y){if(!this.q.isDisposed&&!(typeof O!="number"||typeof y!="number"||isNaN(O)||isNaN(y))&&this.m){if(O=Math.max(O,1),y=Math.max(y,1),this.C){this.C.cols=O,this.C.rows=y;return}this.P.trace("node-pty.IPty#resize",O,y);try{this.m.resize(O,y)}catch(A){if(this.P.trace("node-pty.IPty#resize exception "+A.message),this.g!==void 0&&A.message!=="ioctl(2) failed, EBADF"&&A.message!=="Cannot resize a pty that has already exited")throw A}}}clearBuffer(){this.m?.clear()}acknowledgeDataEvent(O){this.H=Math.max(this.H-O,0),this.P.trace(`Flow control: Ack ${O} chars (unacknowledged: ${this.H})`),this.G&&this.H<u.FlowControlConstants.LowWatermarkChars&&(this.P.trace(`Flow control: Resume (${this.H} < ${u.FlowControlConstants.LowWatermarkChars})`),this.m?.resume(),this.G=!1)}clearUnacknowledgedChars(){this.H=0,this.P.trace("Flow control: Cleared all unacknowledged chars, forcing resume"),this.G&&(this.m?.resume(),this.G=!1)}async setUnicodeVersion(O){}getInitialCwd(){return Promise.resolve(this.D)}async getCwd(){if(P.$j)return new Promise(O=>{if(!this.m){O(this.D);return}this.P.trace("node-pty.IPty#pid"),(0,a.exec)("lsof -OPln -p "+this.m.pid+" | grep cwd",{env:{...process.env,LANG:"en_US.UTF-8"}},(y,A,S)=>{!y&&A!==""?O(A.substring(A.indexOf("/"),A.length-1)):(this.P.error("lsof did not run successfully, it may not be on the $PATH?",y,A,S),O(this.D))})});if(P.$k){if(!this.m)return this.D;this.P.trace("node-pty.IPty#pid");try{return await o.Promises.readlink(`/proc/${this.m.pid}/cwd`)}catch{return this.D}}return this.D}getWindowsPty(){return P.$i?{backend:"useConpty"in this.F&&this.F.useConpty?"conpty":"winpty",buildNumber:(0,h.$Ks)()}:void 0}};e.$Slc=n,e.$Slc=n=b=pe([je(7,p.$ak),je(8,d.$tk)],n);class k extends $.$Xc{get onTrigger(){return this.b.event}constructor(){super(),this.b=this.B(new L.$ne),this.a=setTimeout(()=>{this.b.fire({rows:this.rows,cols:this.cols})},1e3),this.B((0,$.$Vc)(()=>clearTimeout(this.a)))}}}),define(he[109],fe([0,1,30,12,4,2,3,67,8,100,17,102,40,114,42,108,75,41,101,7,105,104,81,15,115]),function(ie,e,a,t,L,$,B,P,w,o,E,p,d,u,c,h,m,l,s,b,v,r,i,n,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.$Ulc=void 0,e.$Tlc=_,k=Ae(k);function _(T,I,D){if(typeof D.value!="function")throw new Error("not supported");const F="value",J=D.value;D[F]=async function(...V){this.traceRpcArgs.logService.getLevel()===w.LogLevel.Trace&&this.traceRpcArgs.logService.trace(`[RPC Request] PtyService#${J.name}(${V.map(re=>JSON.stringify(re)).join(", ")})`),this.traceRpcArgs.simulatedLatency&&await(0,t.$Hh)(this.traceRpcArgs.simulatedLatency);let Z;try{Z=await J.apply(this,V)}catch(re){throw this.traceRpcArgs.logService.error(`[RPC Response] PtyService#${J.name}`,re),re}return this.traceRpcArgs.logService.getLevel()===w.LogLevel.Trace&&this.traceRpcArgs.logService.trace(`[RPC Response] PtyService#${J.name}`,Z),Z}}let O,y;class A extends $.$Xc{H(I,D){return D(F=>{this.I.getLevel()===w.LogLevel.Trace&&this.I.trace(`[RPC Event] PtyService#${I}.fire(${JSON.stringify(F)})`)}),D}get traceRpcArgs(){return{logService:this.I,simulatedLatency:this.M}}constructor(I,D,F,J){super(),this.I=I,this.J=D,this.L=F,this.M=J,this.a=new Map,this.b=new Map,this.g=new Map,this.j=new Map,this.n=0,this.u=this.B(new L.$ne),this.onHeartbeat=this.H("_onHeartbeat",this.u.event),this.w=this.B(new L.$ne),this.onProcessData=this.H("_onProcessData",this.w.event),this.y=this.B(new L.$ne),this.onProcessReplay=this.H("_onProcessReplay",this.y.event),this.z=this.B(new L.$ne),this.onProcessReady=this.H("_onProcessReady",this.z.event),this.C=this.B(new L.$ne),this.onProcessExit=this.H("_onProcessExit",this.C.event),this.D=this.B(new L.$ne),this.onProcessOrphanQuestion=this.H("_onProcessOrphanQuestion",this.D.event),this.F=this.B(new L.$ne),this.onDidRequestDetach=this.H("_onDidRequestDetach",this.F.event),this.G=this.B(new L.$ne),this.onDidChangeProperty=this.H("_onDidChangeProperty",this.G.event),this.B((0,$.$Vc)(()=>{for(const V of this.a.values())V.shutdown(!0);this.a.clear()})),this.f=this.B(new o.$us(void 0,this.I)),this.f.onCreateRequest(this.F.fire,this.F)}async refreshIgnoreProcessNames(I){l.$Olc.length=0,l.$Olc.push(...I)}async requestDetachInstance(I,D){return this.f.createRequest({workspaceId:I,instanceId:D})}async acceptDetachInstanceReply(I,D){let F;const J=this.a.get(D);J&&(F=await this.S(D,J)),this.f.acceptReply(I,F)}async freePortKillProcess(I){const F=(await new Promise((J,V)=>{(0,a.exec)(B.$i?`netstat -ano | findstr "${I}"`:`lsof -nP -iTCP -sTCP:LISTEN | grep ${I}`,{},(Z,re)=>{if(Z)return V("Problem occurred when listing active processes");J(re)})})).split(/\r?\n/).filter(J=>!!J.trim());if(F.length>=1){const J=/\s+(\d+)(?:\s+|$)/,V=F[0].match(J)?.[1];if(V)try{process.kill(Number.parseInt(V))}catch{}else throw new Error(`Processes for port ${I} were not found`);return{port:I,processId:V}}throw new Error(`Could not kill process with port ${I}`)}async serializeTerminalState(I){const D=[];for(const[J,V]of this.a.entries())V.hasWrittenData&&I.indexOf(J)!==-1&&D.push(t.Promises.withAsyncBody(async Z=>{Z({id:J,shellLaunchConfig:V.shellLaunchConfig,processDetails:await this.S(J,V),processLaunchConfig:V.processLaunchOptions,unicodeVersion:V.unicodeVersion,replayEvent:await V.serializeNormalBuffer(),timestamp:Date.now()})}));const F={version:1,state:await Promise.all(D)};return JSON.stringify(F)}async reviveTerminalProcesses(I,D,F){const J=[];for(const V of D)J.push(this.N(I,V));await Promise.all(J)}async N(I,D){const F=(0,m.localize)(0,null),J=await this.createProcess({...D.shellLaunchConfig,cwd:D.processDetails.cwd,color:D.processDetails.color,icon:D.processDetails.icon,name:D.processDetails.titleSource===E.TitleEventSource.Api?D.processDetails.title:void 0,initialText:D.replayEvent.events[0].data+(0,r.$cXb)(F,{loudFormatting:!0})},D.processDetails.cwd,D.replayEvent.events[0].cols,D.replayEvent.events[0].rows,D.unicodeVersion,D.processLaunchConfig.env,D.processLaunchConfig.executableEnv,D.processLaunchConfig.options,!0,D.processDetails.workspaceId,D.processDetails.workspaceName,!0,D.replayEvent.events[0].data),V=this.R(I,D.id);this.g.set(V,{newId:J,state:D}),this.I.info(`Revived process, old id ${V} -> new id ${J}`)}async shutdownAll(){this.dispose()}async createProcess(I,D,F,J,V,Z,re,ce,X,C,Q,ee,le){if(I.attachPersistentProcess)throw new Error("Attempt to create a process when attach object was provided");const G=++this.n,ae=new h.$Slc(I,D,F,J,Z,re,ce,this.I,this.J),ge={env:Z,executableEnv:re,options:ce},te=new q(G,ae,C,Q,X,F,J,ge,V,this.L,this.I,ee&&typeof I.initialText=="string"?I.initialText:void 0,le,I.icon,I.color,I.name,I.fixedDimensions);return ae.onProcessExit(f=>{te.dispose(),this.a.delete(G),this.C.fire({id:G,event:f})}),te.onProcessData(f=>this.w.fire({id:G,event:f})),te.onProcessReplay(f=>this.y.fire({id:G,event:f})),te.onProcessReady(f=>this.z.fire({id:G,event:f})),te.onProcessOrphanQuestion(()=>this.D.fire({id:G})),te.onDidChangeProperty(f=>this.G.fire({id:G,property:f})),te.onPersistentProcessReady(()=>{for(const f of this.j.entries())te.installAutoReply(f[0],f[1])}),this.a.set(G,te),G}async attachToProcess(I){try{await this.U(I).attach(),this.I.info(`Persistent process reconnection "${I}"`)}catch(D){throw this.I.warn(`Persistent process reconnection "${I}" failed`,D.message),D}}async updateTitle(I,D,F){this.U(I).setTitle(D,F)}async updateIcon(I,D,F,J){this.U(I).setIcon(D,F,J)}async clearBuffer(I){this.U(I).clearBuffer()}async refreshProperty(I,D){return this.U(I).refreshProperty(D)}async updateProperty(I,D,F){return this.U(I).updateProperty(D,F)}async detachFromProcess(I,D){return this.U(I).detach(D)}async reduceConnectionGraceTime(){for(const I of this.a.values())I.reduceGraceTime()}async listProcesses(){const I=Array.from(this.a.entries()).filter(([J,V])=>V.shouldPersistTerminal);this.I.info(`Listing ${I.length} persistent terminals, ${this.a.size} total terminals`);const D=I.map(async([J,V])=>this.S(J,V));return(await Promise.all(D)).filter(J=>J.isOrphan)}async getPerformanceMarks(){return k.getMarks()}async start(I){const D=this.a.get(I);return D?D.start():{message:`Could not find pty with id "${I}"`}}async shutdown(I,D){return this.a.get(I)?.shutdown(D)}async input(I,D){return this.U(I).input(D)}async processBinary(I,D){return this.U(I).writeBinary(D)}async resize(I,D,F){return this.U(I).resize(D,F)}async getInitialCwd(I){return this.U(I).getInitialCwd()}async getCwd(I){return this.U(I).getCwd()}async acknowledgeDataEvent(I,D){return this.U(I).acknowledgeDataEvent(D)}async setUnicodeVersion(I,D){return this.U(I).setUnicodeVersion(D)}async getLatency(){return[]}async orphanQuestionReply(I){return this.U(I).orphanQuestionReply()}async installAutoReply(I,D){this.j.set(I,D);for(const F of this.a.values())F.installAutoReply(I,D)}async uninstallAllAutoReplies(){for(const I of this.j.keys())for(const D of this.a.values())D.uninstallAutoReply(I)}async uninstallAutoReply(I){for(const D of this.a.values())D.uninstallAutoReply(I)}async getDefaultSystemShell(I=B.OS){return(0,P.$Am)(I,process.env)}async getEnvironment(){return{...process.env}}async getWslPath(I,D){if(D==="win-to-unix"){if(!B.$i)return I;if((0,c.$Ks)()<17063)return I.replace(/\\/g,"/");const F=this.O();return F?new Promise(J=>{(0,a.execFile)(F,["-e","wslpath",I],{},(Z,re,ce)=>{J(Z?I:(0,d.$QQ)(re.trim()))}).stdin.end()}):I}if(D==="unix-to-win"&&B.$i){if((0,c.$Ks)()<17063)return I;const F=this.O();return F?new Promise(J=>{(0,a.execFile)(F,["-e","wslpath","-w",I],{},(Z,re,ce)=>{J(Z?I:re.trim())}).stdin.end()}):I}return I}O(){const I=(0,c.$Ks)()>=16299,D=process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432"),F=process.env.SystemRoot;if(F)return(0,i.join)(F,D?"Sysnative":"System32",I?"wsl.exe":"bash.exe")}async getRevivedPtyNewId(I,D){try{return this.g.get(this.R(I,D))?.newId}catch(F){this.I.warn(`Couldn't find terminal ID ${I}-${D}`,F.message)}}async setTerminalLayoutInfo(I){this.b.set(I.workspaceId,I)}async getTerminalLayoutInfo(I){k.mark("code/willGetTerminalLayoutInfo");const D=this.b.get(I.workspaceId);if(D){const F=new Set,V=(await Promise.all(D.tabs.map(async Z=>this.P(I.workspaceId,Z,F)))).filter(Z=>Z.terminals.length>0);return k.mark("code/didGetTerminalLayoutInfo"),{tabs:V}}k.mark("code/didGetTerminalLayoutInfo")}async P(I,D,F){const V=(await Promise.all(D.terminals.map(Z=>this.Q(I,Z,F)))).filter(Z=>Z.terminal!==null);return{isActive:D.isActive,activePersistentProcessId:D.activePersistentProcessId,terminals:V}}async Q(I,D,F){try{const J=this.R(I,D.terminal),V=this.g.get(J)?.newId;this.I.info(`Expanding terminal instance, old id ${J} -> new id ${V}`),this.g.delete(J);const Z=V??D.terminal;if(F.has(Z))throw new Error(`Terminal ${Z} has already been expanded`);F.add(Z);const re=this.U(Z);return{terminal:{...re&&await this.S(D.terminal,re,V!==void 0),id:Z},relativeSize:D.relativeSize}}catch(J){return this.I.warn("Couldn't get layout info, a terminal was probably disconnected",J.message),this.I.debug("Reattach to wrong terminal debug info - layout info by id",D),this.I.debug("Reattach to wrong terminal debug info - _revivePtyIdMap",Array.from(this.g.values())),this.I.debug("Reattach to wrong terminal debug info - _ptys ids",Array.from(this.a.keys())),{terminal:null,relativeSize:D.relativeSize}}}R(I,D){return`${I}-${D}`}async S(I,D,F=!1){k.mark(`code/willBuildProcessDetails/${I}`);const[J,V]=await Promise.all([D.getCwd(),F?!0:D.isOrphaned()]),Z={id:I,title:D.title,titleSource:D.titleSource,pid:D.pid,workspaceId:D.workspaceId,workspaceName:D.workspaceName,cwd:J,isOrphan:V,icon:D.icon,color:D.color,fixedDimensions:D.fixedDimensions,environmentVariableCollections:D.processLaunchOptions.options.environmentVariableCollections,reconnectionProperties:D.shellLaunchConfig.reconnectionProperties,waitOnExit:D.shellLaunchConfig.waitOnExit,hideFromUser:D.shellLaunchConfig.hideFromUser,isFeatureTerminal:D.shellLaunchConfig.isFeatureTerminal,type:D.shellLaunchConfig.type,hasChildProcesses:D.hasChildProcesses,shellIntegrationNonce:D.processLaunchOptions.options.shellIntegration.nonce};return k.mark(`code/didBuildProcessDetails/${I}`),Z}U(I){const D=this.a.get(I);if(!D)throw new b.$eb("Could not find pty on pty host");return D}}e.$Ulc=A,pe([n.$$h],A.prototype,"traceRpcArgs",null),pe([_],A.prototype,"refreshIgnoreProcessNames",null),pe([_],A.prototype,"requestDetachInstance",null),pe([_],A.prototype,"acceptDetachInstanceReply",null),pe([_],A.prototype,"freePortKillProcess",null),pe([_],A.prototype,"serializeTerminalState",null),pe([_],A.prototype,"reviveTerminalProcesses",null),pe([_],A.prototype,"shutdownAll",null),pe([_],A.prototype,"createProcess",null),pe([_],A.prototype,"attachToProcess",null),pe([_],A.prototype,"updateTitle",null),pe([_],A.prototype,"updateIcon",null),pe([_],A.prototype,"clearBuffer",null),pe([_],A.prototype,"refreshProperty",null),pe([_],A.prototype,"updateProperty",null),pe([_],A.prototype,"detachFromProcess",null),pe([_],A.prototype,"reduceConnectionGraceTime",null),pe([_],A.prototype,"listProcesses",null),pe([_],A.prototype,"getPerformanceMarks",null),pe([_],A.prototype,"start",null),pe([_],A.prototype,"shutdown",null),pe([_],A.prototype,"input",null),pe([_],A.prototype,"processBinary",null),pe([_],A.prototype,"resize",null),pe([_],A.prototype,"getInitialCwd",null),pe([_],A.prototype,"getCwd",null),pe([_],A.prototype,"acknowledgeDataEvent",null),pe([_],A.prototype,"setUnicodeVersion",null),pe([_],A.prototype,"getLatency",null),pe([_],A.prototype,"orphanQuestionReply",null),pe([_],A.prototype,"installAutoReply",null),pe([_],A.prototype,"uninstallAllAutoReplies",null),pe([_],A.prototype,"uninstallAutoReply",null),pe([_],A.prototype,"getDefaultSystemShell",null),pe([_],A.prototype,"getEnvironment",null),pe([_],A.prototype,"getWslPath",null),pe([_],A.prototype,"getRevivedPtyNewId",null),pe([_],A.prototype,"setTerminalLayoutInfo",null),pe([_],A.prototype,"getTerminalLayoutInfo",null);var S;(function(T){T.None="None",T.ReplayOnly="ReplayOnly",T.Session="Session"})(S||(S={}));class q extends $.$Xc{get pid(){return this.L}get shellLaunchConfig(){return this.W.shellLaunchConfig}get hasWrittenData(){return this.j.value!==S.None}get title(){return this.N||this.W.currentTitle}get titleSource(){return this.O}get icon(){return this.Y}get color(){return this.Z}get fixedDimensions(){return this.R}get hasChildProcesses(){return this.W.hasChildProcesses}setTitle(I,D){D===E.TitleEventSource.Api&&(this.j.setValue(S.Session,"setTitle"),this.P.freeRawReviveBuffer()),this.N=I,this.O=D}setIcon(I,D,F){(!this.Y||"id"in D&&"id"in this.Y&&D.id!==this.Y.id||!this.color||F!==this.Z)&&(this.P.freeRawReviveBuffer(),I&&this.j.setValue(S.Session,"setIcon")),this.Y=D,this.Z=F}S(I){this.R=I}constructor(I,D,F,J,V,Z,re,ce,X,C,Q,ee,le,G,ae,ge,te){super(),this.U=I,this.W=D,this.workspaceId=F,this.workspaceName=J,this.shouldPersistTerminal=V,this.processLaunchOptions=ce,this.unicodeVersion=X,this.X=Q,this.Y=G,this.Z=ae,this.b=new Map,this.f=new Map,this.g=!1,this.w=new t.$Nh,this.C=this.B(new L.$ne),this.onProcessReplay=this.C.event,this.D=this.B(new L.$ne),this.onProcessReady=this.D.event,this.F=this.B(new L.$ne),this.onPersistentProcessReady=this.F.event,this.G=this.B(new L.$ne),this.onProcessData=this.G.event,this.H=this.B(new L.$ne),this.onProcessOrphanQuestion=this.H.event,this.I=this.B(new L.$ne),this.onDidChangeProperty=this.I.event,this.J=!1,this.L=-1,this.M="",this.O=E.TitleEventSource.Process,this.j=new j(`Persistent process "${this.U}" interaction state`,S.None,this.X),this.Q=ee!==void 0,this.P=new R(Z,re,C.scrollback,X,ee,ce.options.shellIntegration.nonce,V?le:void 0,this.X),ge&&this.setTitle(ge,E.TitleEventSource.Api),this.R=te,this.n=null,this.u=0,this.y=this.B(new t.$Th(()=>{this.X.info(`Persistent process "${this.U}": The reconnection grace time of ${g(C.graceTime)} has expired, shutting down pid "${this.L}"`),this.shutdown(!0)},C.graceTime)),this.z=this.B(new t.$Th(()=>{this.X.info(`Persistent process "${this.U}": The short reconnection grace time of ${g(C.shortGraceTime)} has expired, shutting down pid ${this.L}`),this.shutdown(!0)},C.shortGraceTime)),this.B(this.W.onProcessExit(()=>this.a.stopBuffering(this.U))),this.B(this.W.onProcessReady(f=>{this.L=f.pid,this.M=f.cwd,this.D.fire(f)})),this.B(this.W.onDidChangeProperty(f=>{this.I.fire(f)})),this.a=new p.$Axb((f,H)=>this.G.fire(H)),this.B(this.a.startBuffering(this.U,this.W.onProcessData)),this.B(this.onProcessData(f=>this.P.handleData(f))),this.B((0,$.$Vc)(()=>{for(const f of this.b.values())f.dispose();this.b.clear()}))}async attach(){!this.y.isScheduled()&&!this.z.isScheduled()&&this.X.warn(`Persistent process "${this.U}": Process had no disconnect runners but was an orphan`),this.y.cancel(),this.z.cancel()}async detach(I){this.shouldPersistTerminal&&(this.j.value!==S.None||I)?this.y.schedule():this.shutdown(!0)}serializeNormalBuffer(){return this.P.generateReplayEvent(!0,this.j.value!==S.Session)}async refreshProperty(I){return this.W.refreshProperty(I)}async updateProperty(I,D){if(I===E.ProcessPropertyType.FixedDimensions)return this.S(D)}async start(){if(!this.g){const I=await this.W.start();return I&&"message"in I||(this.g=!0,this.Q?this.triggerReplay():this.F.fire()),I}this.D.fire({pid:this.L,cwd:this.M,windowsPty:this.W.getWindowsPty()}),this.I.fire({type:E.ProcessPropertyType.Title,value:this.W.currentTitle}),this.I.fire({type:E.ProcessPropertyType.ShellType,value:this.W.shellType}),this.triggerReplay()}shutdown(I){return this.W.shutdown(I)}input(I){if(this.j.setValue(S.Session,"input"),this.P.freeRawReviveBuffer(),!this.J){for(const D of this.b.values())D.handleInput();return this.W.input(I)}}writeBinary(I){return this.W.processBinary(I)}resize(I,D){if(!this.J){this.P.handleResize(I,D),this.a.flushBuffer(this.U);for(const F of this.b.values())F.handleResize();return this.W.resize(I,D)}}async clearBuffer(){this.P.clearBuffer(),this.W.clearBuffer()}setUnicodeVersion(I){this.unicodeVersion=I,this.P.setUnicodeVersion?.(I)}acknowledgeDataEvent(I){if(!this.J)return this.W.acknowledgeDataEvent(I)}getInitialCwd(){return this.W.getInitialCwd()}getCwd(){return this.W.getCwd()}async triggerReplay(){this.j.value===S.None&&this.j.setValue(S.ReplayOnly,"triggerReplay");const I=await this.P.generateReplayEvent();let D=0;for(const F of I.events)D+=F.data.length;this.X.info(`Persistent process "${this.U}": Replaying ${D} chars and ${I.events.length} size events`),this.C.fire(I),this.W.clearUnacknowledgedChars(),this.F.fire()}installAutoReply(I,D){this.b.get(I)?.dispose(),this.b.set(I,new s.$Nlc(this.W,I,D,this.X))}uninstallAutoReply(I){this.b.get(I)?.dispose(),this.b.delete(I)}sendCommandResult(I,D,F){this.f.get(I)&&this.f.delete(I)}orphanQuestionReply(){if(this.u=Date.now(),this.n){const I=this.n;this.n=null,I.open()}}reduceGraceTime(){this.z.isScheduled()||this.y.isScheduled()&&this.z.schedule()}async isOrphaned(){return await this.w.queue(async()=>this.$())}async $(){return this.y.isScheduled()||this.z.isScheduled()?!0:(this.n||(this.n=new t.$Gh(4e3),this.u=0,this.H.fire()),await this.n.wait(),Date.now()-this.u>500)}}class j{get value(){return this.b}setValue(I,D){this.b!==I&&(this.b=I,this.f(D))}constructor(I,D,F){this.a=I,this.b=D,this.d=F,this.f("initialized")}f(I){this.d.debug(`MutationLogger "${this.a}" set to "${this.b}", reason: ${I}`)}}class R{constructor(I,D,F,J,V,Z,re,ce){this.f=re,this.a=new u.Terminal({cols:I,rows:D,scrollback:F,allowProposedApi:!0}),V&&this.a.writeln(V),this.setUnicodeVersion(J),this.b=new v.$rwb(Z,!0,void 0,ce),this.a.loadAddon(this.b)}freeRawReviveBuffer(){this.f=void 0}handleData(I){this.a.write(I)}handleResize(I,D){this.a.resize(I,D)}clearBuffer(){this.a.clear()}async generateReplayEvent(I,D){const F=new(await this._getSerializeConstructor());this.a.loadAddon(F);const J={scrollback:this.a.options.scrollback};I&&(J.excludeAltBuffer=!0,J.excludeModes=!0);let V;return D&&this.f?V=this.f:V=F.serialize(J),{events:[{cols:this.a.cols,rows:this.a.rows,data:V}],commands:this.b.serialize()}}async setUnicodeVersion(I){this.a.unicode.activeVersion!==I&&(I==="11"?(this.d=new(await this._getUnicode11Constructor()),this.a.loadAddon(this.d)):(this.d?.dispose(),this.d=void 0),this.a.unicode.activeVersion=I)}async _getUnicode11Constructor(){return y||(y=(await new Promise((I,D)=>{ie(["@xterm/addon-unicode11"],I,D)}).then(Ae)).Unicode11Addon),y}async _getSerializeConstructor(){return O||(O=(await new Promise((I,D)=>{ie(["@xterm/addon-serialize"],I,D)}).then(Ae)).SerializeAddon),O}}function g(T){let I=0,D=0,F=0;T>=1e3&&(F=Math.floor(T/1e3),T-=F*1e3),F>=60&&(D=Math.floor(F/60),F-=D*60),D>=60&&(I=Math.floor(D/60),D-=I*60);const J=I?`${I}h`:"",V=D?`${D}m`:"",Z=F?`${F}s`:"",re=T?`${T}ms`:"";return`${J}${V}${Z}${re}`}});var Ve=this&&this.__importDefault||function(ie){return ie&&ie.__esModule?ie:{default:ie}};define(he[116],fe([0,1,64,31,68,69,11,79,82,8,84,85,87,88,17,106,109,34,12,2]),function(ie,e,a,t,L,$,B,P,w,o,E,p,d,u,c,h,m,l,s,b){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),u=Ve(u),v();async function v(){const r=parseInt(process.env.VSCODE_STARTUP_DELAY??"0"),i=parseInt(process.env.VSCODE_LATENCY??"0"),n={graceTime:parseInt(process.env.VSCODE_RECONNECT_GRACE_TIME||"0"),shortGraceTime:parseInt(process.env.VSCODE_RECONNECT_SHORT_GRACE_TIME||"0"),scrollback:parseInt(process.env.VSCODE_RECONNECT_SCROLLBACK||"100")};delete process.env.VSCODE_RECONNECT_GRACE_TIME,delete process.env.VSCODE_RECONNECT_SHORT_GRACE_TIME,delete process.env.VSCODE_RECONNECT_SCROLLBACK,delete process.env.VSCODE_LATENCY,delete process.env.VSCODE_STARTUP_DELAY,r&&await(0,s.$Hh)(r);const k=(0,l.$RX)(process);let _;k?_=new $.$SX:_=new L.$fr(c.TerminalIpcChannels.PtyHost);const O={_serviceBrand:void 0,...u.default},y=new w.$9m((0,P.$Dm)(process.argv,P.$Cm),O),A=new d.$eR((0,o.$ok)(y),y.logsHome);_.registerChannel(c.TerminalIpcChannels.Logger,new E.$ss(A,()=>a.$Nn));const S=A.createLogger("ptyhost",{name:(0,B.localize)(0,null)}),q=new p.$oR(S);r&&q.warn(`Pty Host startup is delayed ${r}ms`),i&&q.warn(`Pty host is simulating ${i}ms latency`);const j=new b.$Wc,R=new h.$Qlc;_.registerChannel(c.TerminalIpcChannels.Heartbeat,t.ProxyChannel.fromService(R,j));const g=new m.$Ulc(q,O,n,i),T=t.ProxyChannel.fromService(g,j);_.registerChannel(c.TerminalIpcChannels.PtyHost,T),k&&_.registerChannel(c.TerminalIpcChannels.PtyHostWindow,T),process.once("exit",()=>{q.trace("Pty host exiting"),q.dispose(),R.dispose(),g.dispose()})}})}).call(this);
//# sourceMappingURL=https://main.vscode-cdn.net/sourcemaps/ea1445cc7016315d0f5728f8e8b12a45dc0a7286/core/vs/platform/terminal/node/ptyHostMain.js.map