From 526f4bfb40caf0b5184cf8e584141be4ebd53305 Mon Sep 17 00:00:00 2001 From: Joe Hildebrand Date: Tue, 7 May 2024 15:15:35 -0600 Subject: [PATCH 1/2] Update dependencies, including GHA --- .c8rc | 11 + .eslintrc.cjs | 9 - .github/workflows/node.js.yml | 25 +- .npmignore | 2 + .npmrc | 2 - ava.config.cjs | 4 +- bin/quence.js | 4 +- doc/block.wsd | 11 + ...icon.be50c974.ttf => codicon.87081341.ttf} | Bin 73464 -> 79844 bytes docs/editor.worker.696b220e.js | 1 - docs/editor.worker.a800dd5e.js | 1 + docs/index.0a8a0b6a.js | 294 +- docs/index.30c12bcc.js | 1 - docs/index.aa6dc9fa.css | 1 + docs/index.e42e8c15.css | 2 +- docs/index.html | 2 +- docs/index.runtime.30c12bcc.js | 1 + eslint.config.js | 27 + examples/data.pdf | Bin 2183 -> 2182 bytes examples/diag.pdf | Bin 2023 -> 2020 bytes examples/test.pdf | Bin 4527 -> 4524 bytes lib/JSONDriver.js | 8 +- lib/PDFDriver.js | 139 +- lib/SVGDriver.js | 96 +- lib/ast.js | 290 +- lib/cli.js | 76 +- lib/driver.js | 260 +- lib/grammar.js | 204 +- lib/index.js | 30 +- lib/point.js | 38 +- package.js | 6 +- package.json | 42 +- pnpm-lock.yaml | 3400 +++++++++++++++ test/PDFDriver.ava.js | 24 +- test/SVGDriver.ava.js | 22 +- test/ast.ava.js | 110 +- test/cli.ava.js | 84 +- test/driver.ava.js | 26 +- test/examples.ava.js | 84 +- test/grammar.ava.js | 128 +- test/point.ava.js | 26 +- test/store.ava.js | 42 +- test/store.js | 38 +- types/lib/grammar.d.ts | 6 +- web/.eslintrc.cjs | 20 - web/index.js | 128 +- web/package.json | 15 +- web/pnpm-lock.yaml | 3644 ++++++++++------- web/registerStaticFiles.js | 16 +- web/virtual-fs.js | 26 +- web/wsd_language.js | 39 +- 51 files changed, 6787 insertions(+), 2678 deletions(-) create mode 100644 .c8rc delete mode 100644 .eslintrc.cjs delete mode 100644 .npmrc create mode 100644 doc/block.wsd rename docs/{codicon.be50c974.ttf => codicon.87081341.ttf} (72%) delete mode 100644 docs/editor.worker.696b220e.js create mode 100644 docs/editor.worker.a800dd5e.js delete mode 100644 docs/index.30c12bcc.js create mode 100644 docs/index.aa6dc9fa.css create mode 100644 docs/index.runtime.30c12bcc.js create mode 100644 eslint.config.js create mode 100644 pnpm-lock.yaml delete mode 100644 web/.eslintrc.cjs diff --git a/.c8rc b/.c8rc new file mode 100644 index 0000000..bef1bc3 --- /dev/null +++ b/.c8rc @@ -0,0 +1,11 @@ +{ + "reporter": [ + "text", + "lcov" + ], + "exclude": [ + "**/test/**", + "**/node_modules/**", + "ava.config.cjs" + ] +} diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index 27bbbe7..0000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,9 +0,0 @@ -'use strict' - -module.exports = { - root: true, - extends: '@cto.af/eslint-config/modules', - ignorePatterns: [ - 'docs/', - ], -} diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 6ec0e95..39ddf79 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -15,29 +15,18 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x, 21.x, 22.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - run: corepack enable - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - name: Cache pnpm modules - uses: actions/cache@v3 - env: - cache-name: cache-pnpm-modules - with: - # pnpm cache files are stored in `~/.pnpm-store` on Linux/macOS - path: ~/.pnpm-store - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/package.json') }} - restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}- - - name: Install pnpm - uses: pnpm/action-setup@v2 - with: - version: 8.6.3 - run_install: true + cache: pnpm + - name: Install modules + run: pnpm install - name: Lint run: npm run lint - name: Type check diff --git a/.npmignore b/.npmignore index 549f862..a48e597 100644 --- a/.npmignore +++ b/.npmignore @@ -26,3 +26,5 @@ tsconfig.json ava.config.cjs CHANGELOG.md vscode/ +eslint.config.js +.c8rc diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 4c1bf77..0000000 --- a/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -engine-strict=true -package-lock=false diff --git a/ava.config.cjs b/ava.config.cjs index 884c53f..65f4285 100644 --- a/ava.config.cjs +++ b/ava.config.cjs @@ -1,4 +1,4 @@ -'use strict' +'use strict'; module.exports = { // Allow chdir @@ -6,4 +6,4 @@ module.exports = { files: [ 'test/*.ava.js', ], -} +}; diff --git a/bin/quence.js b/bin/quence.js index 381ddb3..2463457 100755 --- a/bin/quence.js +++ b/bin/quence.js @@ -1,4 +1,4 @@ #!/usr/bin/env node -import {main} from '../lib/cli.js' +import {main} from '../lib/cli.js'; -main().catch(() => process.exit(1)) +main().catch(() => process.exit(1)); diff --git a/doc/block.wsd b/doc/block.wsd new file mode 100644 index 0000000..d58e5f9 --- /dev/null +++ b/doc/block.wsd @@ -0,0 +1,11 @@ +block Do a thing + A->B: Some messages +end + +loop Many times + A->B: Some messages +end + +opt Might happen + A->B: Some messages +end diff --git a/docs/codicon.be50c974.ttf b/docs/codicon.87081341.ttf similarity index 72% rename from docs/codicon.be50c974.ttf rename to docs/codicon.87081341.ttf index c4a33a4d5669d1c4f6ac274fae5792096bdb082b..57eda48f1db732ce3cff0fccb9e75f57a58a965f 100644 GIT binary patch delta 13709 zcma)@31C#!_5aU#GxOf;GnqF_mdQHF3`-WWPS_y=0zpJTWsL;Lf(8;oSW6vTYN-Xc zAhFgeS{JbHQBg$14L6F^w$@*N){6CK?R%+Psai_)|GjeqEd|Y79GOJf54Uw}Y@Jw{REZMHiT=K|y`_2i zyuMv?aP8Zmt{n%Ih03Sc-w%r0SN3ekeDcc^c-{b!R@%|ItU2e0^KK@J9VW8eu(EkW zmomVY;5?pB1*@7@w)EzF_IM+46gTkaU7c%sW-L59g*fkBqRcO^-5>M3LX2y{(ddEO zt{tf4S9153&OM0&q(n*BlR?7#-AV7W`QH-s|Hsb~3CDUQf9H{)5zxgO6>cpVqohM(o<_<4SbU#3s!Z}fNilrEqp)JY?$iG$+sG>gurnG~d> zbRRuH^Qeu_rJqv^h3FtX&Bc^Y1@uqSQ~WRo$)q>w5A+Un#xZ)A{)hfde<6eZNN;g3 z9p+m45vin+ogDN&{fXYA9D1HDnDC=0i!x~jJxCAnLTcnDUP(vT$-DSAn!+pSPTo%= zIL3ZOR2iipKUF|;6yT$ED zxy5`9?U1vUUlG$ zLdF^irG9{&9tkuK8EYlbJ!Gtt&;-c!66hl`Hb|hE$k-^MFytl)v=tfOlR$5gu~|Yt zg#5mQ#WOD^N{J2UAR$@;Z~$_PgmuVEBv5)}Tq=S3BjYj&6d@UxOGsoaDg^jvkXJ~c zCdm+)1G*A&tAwwj6dB?GU{Tv2OISQ)n}kJ1S4&v5f@lH2;^8or0^SZO`Wdizc&|j5 zIs;=%Ku7UXZ}PknxfPmWGVO64)Fv#CQa- zK4ct`zz&h|sst8^jH43RCUoVmkN_}KWV|MU!6M_=5|}PBej|YqBjdLcm@_h7m%y-* z@jD4j92sv&VC=~FFA2;Z8NZjn0Fv?F0t{Z*LNeZzz$%jQ2MO#W8E;8oDarVwgtkDw zErInUDfonsiO9Cf{Ot(b%wWdb`$A?U>1TGMnJ_(#5GW`;`MPz1x z6gKdX$P7r}E0L*7;5CsMl)!%?GbDj0MP^t6pNhynG*O}WM)a=agmuVf$v3T zjs#v9rOYT2fY7vNu7pKX}RHAzTVlz51QMTv(>SQKoSghj!IOISRxRKnugG6{=o%OxzXt&p&|c7%k*`AX6M zl~Cv6f+`7%3#uiIb7qZ%#rawZi}Q67u7^xYcqF7q10Dq_(tt-piZtLckRlB@H5NPK z0N`26!H%co^XMkm6Z@7eI<<0bT?-OTx{N=SX-d z=D#@`3Bb!B=Sa8(a;}8iA6a@j?1t|&wxEoRw1n?Tjg%aKX zDGId+{m&b*vsl8LAe$uoJ;)0rd@G@QyCFq00lp8iN5T(4u9fhEkn1G;5afCZKLRP574V~wqE!L! zg%qs{_;E2h6wM9zdB{s7{1T*SdVrM} znU_hhCL>dH1HkHx%pXXwP9yUQ34JOaF8T*x@kZuW2`zyXeFdh(S0S4#{$X`gX)FtyC z2^PI%-YdcKmrOAT0sRZ|eu;=enPNZ!ERHdN#E1km6jF>xz;Vca3D(YJJ}kj1noKcL z0oK!GijfLv8l)JhfJJ+Y!U7i05G?~(6ikd-z@qR^2vSIh((jj$DCLt9o&|Y8!gC-+ zjQ|$yWFC~zMUZ0j13m=#jD%l=d{)9QK#GnB+y^N}Kj0f6M~a&O{{&K82>3=w@c_U- zg?vfEVw{L60(fU{US1?6M#e8Ch!>D~L_*@qS0#ucka<*sXabqPk|3@?=4%o}7|8s! z1hED(e3Yi~DNEGiQ2?8!; zek?)gh0ISxJ7I$;44HqEARa^JaS0+bWd2=(7!8@9N)W9f^D_yFcKKX_2o9P5kkDbs z6B0yq$P^U?i0_bjQi4cN@A`uBEYyF1B?$S@fFhyydJhytN-!V?Y!bFWsuJ8l1Db?J z^`0n*rDh=Ik|0b(18xaD1nH3=bVLJQ2{l6cB-{k)mmsi20~r!J0vV976B2zS;9ZdD z7XboLG!Q~tiVaOcA}m2viUuMQx)U-}f=Cq&WJzcQWVVE3kU0_-g^5bo0hud7Y>Ni+ zB#3g+K)!@NfW{gqKmzb|$U+H%U^Gx9K{$*CL?!^2(?GF=*Fu&^5Gn5_$x3sDuwd4in&k2(Qt=a0yLUP%w*HPD-t`qLKd#?L2_Xi%u zGt4vFbI|jNcY=45cZb*TP4aE?9r79eb^hD@FJ{CumSjAfVFbK^&4J(R#rhli$>8kZ z=HS-giO|f@W8uv3rtkyd--HLkCnN4iW~4MSD$*2rGxBMsKeH+GNal$wch;1wYqAbz z{XSbsW#?trWVdE-&Auo5?d;EUHstKiITDRVM@5%Jw?uD`z7;)@8_k`OdvWgFxrcL) z=N05l&D)aqM*f2QZTWZRzf~}%;NpUJ3da?$D}1qNMA3$#14UoNmdCD$Jsdj}d#AXy z`10ai#rsQ~B~wc_m)sqX#;;1KiP?$GiIYQ$hU^|XW@zfMVH1X3Iqb;rrNeI<{zj>{ zbVlh1W$k6#%H!p`%ik+MQ8A%ndBrsqM=L%ZF?Yn}Bi^els+?81v+~obc-5q;>#7b_ z8P)Tu@2fUyvTNFF3uo2a~S$}k-dt}qd&r_r7M=ct4VASiQJ{i4r^sdndM}IQryfHmv4vqO_Y{A&pvD?Pp zGxoW$Z;f+~s~fjy+_rH8uy>ROOsjp2_rcIr;W!eqX zQU|BKJ$=ITp6OpSE^0i`_|c3BGdgCxc9wG1kh8X&b<YMo_FrfbN8S7(Rstp z>pAbW^R4F>o!@l6F>mg?BlBzK?^xhm(6C_hg4Y*LUwF;JlZ!52JUz9zeeo4dJxzBu z?QeSLg3=4RFSzc4=a$%)+^}TdlH<)a&GVWsZ@#nn&86K-?_B!Yvdm>imz`L?Y5Aiq z1uausE^Ya|wWf7L>%P`c+s3qQZF{@j+CH=Wy%pmw8rN}rWx>ixD<4?-#wzQo=&I?f zZd&znXS8!)=kYFUSFo$NtEOv5*Kbw_SC4L5eS3GXdtCRnHGwtvt$C|wM9p$JFZ{x6yhc`{yv~|;S{fCPm52rBmF#j~H zl9M7Ps8@%oYX^yhszb5UXt7YN_B4swSZ(!blGPd#O?p7rK|K94n9%i-^bgKlb{S_4 z?#l~t$|nwpo6_vOtpBpnuW2dhc@!!eg|gt~fQx*vl@WqwLh)ir5cyikH0&p|bg@MN zBh|^;L=&=YY>YRie;^j?`mtjm5Mb@q{ipLg5@>3Ab@l2%;MIVL_#@9C0wHSek~7Ap zV0Vx%MHxbPUp5h{Yq2o;dMFrzv!koxtbiQ2)VxVG}!*J{b? zs&G&pj@MPgxu_hkpdu)CFg%*8>XM=Aa9vG2R>HXsjm z1)dM)N0KDHflXEjEuo7N5rKbQe!4b~~Bf!NP!QwW@)_;3)eDpL>|D zSQ45=(TBNxBUU@qC~{F#QPts7(UR%ZL#$YIn^n)q)7^e8%bRIaEe@OAX4PzgfK9Vv z*I`j@ncghT@7D7&bgS)BWfrS8pU&()D$@3fJaBN(Z8T{c9lMUp;FBqPblIIcxg#EP_dtggB$51paaX&7TQ z8&Olzkd67gUD`;y$I*?bKm%-SHB*NiD zx!6RmspqISG-9|T(-Vm01#C7wk|-bI@(w?BaWU>2yclw7Er2el)^Jx}OI>U;k* z|Ki@iJki$QzMx4>r3au;5FuzScpkbIN=Bf#Vp?r10*w&CFse;xr>h%|p!TYdt838| zm}z-RE>~kbVbm4HYwE;=oa=Bn_Y`KvnS=hKB8TG!uRo9%%g^w8JYmhstUCjl9`0zWLBdIbib&6r(<-8797p7I5^4hTBp%a5I##3# z%>nfxj#gtP#D`-H#3N!F*3{*(CU(YgRXEhRGZ+ivZ%{-E3nM!th06*fo2<5|RaLD~ zn_Z1sZ8mFE{gKO$g1U6TPQU9oZi99S3T=R0y)Ys)LS}uWu;d%J*~No&ySSB|6Ciyq zmz}6TdC`lONmc|VEabr}W%$iH42y;#i!Mt>w1iOUID&EDZ}QC4&+<0;VG(qlHT}q9 z@64Q>ncl^_1983ovsGKwl!oB20|ucGpEJNMh0?5zBoi?$A~c5R_n4Q9;t63SYN2ha z>csPfA-hbk@-%oFymb!8F{iV^nq8P}Sy6gqxV<1zFjnOEQBhHqcj83vXh)L+fBsO& zA82gM2!$5m{tTx{kv=WpEA3* zqodN((BN74?aHBt)~|h3IrCJ8!sH5ri(!~H^04}$>O^%Uq{R}o5m@@w0T|7ZBO8u5 zoktvj{rl@hD$s<4?!bV8-FJ`eY3;4yUDzOthZANN#V+>mrMT3oU z`Snm{NcXu^W)Cc&MRVBlYz|Ci#i3a&d5X2f;?fjrwd!?wG@E9(yX;P@&1rXO4h?@u zr`#btXNf-$2Rz26**We$U*IY_39fn*>ZF|JzYds!0XX4Jl-JEv0@b)I*DbZ@R&mQcmkaVmksxf=R`~l7g%1{Q4L2s*2mW4 zZ+WSGyS<_`y}btMf7R>t4O6^sTccyjnOoYV~H}Ts5Nwp8x5R*Q;71F#6t134i+WSgc%Xq zR!q-0l#tZQLO*FCt#Maam2TaE8&-w-4t}Cuxw8IWg5Qj5++f&@!E_xv>IN$y3OfqJH`Hy>7T~NKwv-gVtVv(cK_77 zp7x)1-b*oF^6`n;c)b2UpO&C6D`ABygKDg@C|+9$5Aj>+Z=e5mTC0YsfbJ8PLTGhp zrx=_WRoJ?6e8&~OMOd+vuwY{6JETpYFQ5Ni`F9Q$ zZ_zNkjukl`rd`MMX=#R{j5frN6sRPPVqDE4%W4WsLm#-`uy7zc$|N z@GY{TqekGPkyd0beW0qaCg!17jzqrNNxMflRhNWk2xlRghwlL4E{Cu<%Vn6l)0QYv zE0oY^u7#cxx-ac_38yQqgyN~#&TxJhfAzxK@ww{1kt&C6ab!iaoF3scI~^671$v+` zvkO8m$gFTU{h9u`{&3jeB{n~;7oTo}QW)%84~ zQqy~pLbmwC!f$lgx7r`(kbku=+&_80)lws!%n07*tN5n10AC1=6ibQP1k3^^6qHjk z0T&F*sytZeN|@+GW$%|yg<8||EqTlO8?RV)q4$R5+Ho_CP@( zLyu*6+_}9|pZW>c_P+B}l`1pr%|BSIon7L^vLwIv?1RJ9P>GJ+{$D;-U{6VHqv5lI zEOho55rW0aGm>6aYtr?LrM0l|A>cL3PLF-ZHDa}ycB}_4S?vy4+O4Y1a-k)Z6|&@7 zRkm94Eg?4#`m!@{K?;X$;wY|Yx7w`YV$b0DO@6nk*;p*TvFwA?<)GMkDt+qw;BkCx zEGCZlUKLiQ1YcZD5Fb$`V_I5oi*O4pIEG!?4vGbnT9kr!gk`XgW5OO{Nh5tEF}7jq z%UKO+RU=}RO$~6yoca?`;lm1jA#L(xE#wP1tqSWif`uVwxH`Uw!@(9+nKVgJEhCwa zIrcjo^%Z-%Dhg}VOsCI2Eo++H=M361G^e^rFVG8pE}z%RLo60V;1o2@ZPdT{#UCiA zRZTWN<*XDhQ%+C5M3EW_LT`seR4IvW3c+56id5k+V0jjg;V->t)x;!APrmdNOn0a7 z1=Dj+Y=mQ96yFICPqo`B^r$^llp6@Sz0rWbHJl#rdwk)rFYJdAZ}7Y0dXCd!cZubQ zeUI4aE_>ABh`ap;v^yR$JSXUNh4g4)NaGURSAZ!~0NH^1E8H1y4xBD~U~na*xt#Tm z{x4o`V~>*VGNI;5>HOYxhf6uqyYXt?b`zuFR=IcUmJ zIpKN+#HXElQo8=ag2DIJBFS2GW-J{}6G656J+-x-agB|v1p*>{?ASGgh?JEGO@wOIo-np}6?{fKkuB=t|m@C6ElvS5kogUE~%sy9x z)7Pf;-uj{5>;Lfjd0%@FN|mRGv7e{F`4`J%5lBmqlDb3R`TXpacC6c+A_vXo5ji*q zGf?|){cxWrC6?e>_+C=PLC+jqgr^-(3_^tYiV&`nOA~l5V(Fdsc(I_VLWh5~C`ZGT zfP@V3$!{>8`ojzZNCX(r~o6_74zqiQicepiS3(%6BrR%o{PozR@ zcAnllp7x;;(^H+!!pug5`@+6Pe^_-n94-VL8hv4e?CMM8M3LK5-id}!qiisf`C{R$ zi>|B*B}Co4DGb~?Oi&SmK`?rn8Wd^!;z)ft#?@Md`T!8N}qzVOHUsW(!y(`q$*;6 zB9jzyf&LO3(WEGXm`ozds)=O=O!Hw?wOE!6OXp`PF1DaBc4gR7tKC{fScHhyZ>NfX zq^RsG*6<$|uk3wB{Fgl_A5^+ z2b8CjgUZv&Gs?5dbIS9|A>{?-Mdc;sW#tv+@ZPYCBUlnHYhTe<>fuj<_GO*RTgp1u ztg(t6by;U?YfB&W`IfM@tg~xHM`sUCbZx|C>sq>-+gkSC<>k*5uV?v+*4DC>Ydd;Y zbak}!-JHSMZddx)niZ?sI$HKVmVy6Ou;71d`XV}4*;-qAmbLdy()s2gzP1%TWovqx z*R+>4cXf4a^n8`>>g;lyPW8Q`^H84`>Grit%euNdFKk)Xv)2{mP9>1hv7)WLXX)CG zrDbcnn!7JT5jKVSkwP8+JXD5)_N-Xe+)>uLqNAf_x%=zK`YIwk%;#LWV%gwX3wHbF zN4Q3{tz5eX``aUYw`%KJ(Y&g2Z!#1A=;CsAw{&%u$r?=0;u)%~yK`x0Pv6cg9y!9_ zy>?Yub4N$nsRq&p4>*Ke+S1Xv-Yxb{o$fo9#k*A7n)c@ImcC1}IUoD0nlEbU+l76f zcd#~th3k7Nn-_UKYu0vmcdlKvylg$%VlN_nrAk=_T4m+ZHOo8KuNu7A`PC7h++Eu> kcxvx#p(e7Gb=|&oYtkLQV%3@z%UinFs50HxmB&~7KP@`sf&c&j delta 7958 zcmY+}33yc1*$43dJ4t4;O%i6Zk+5VVku79TAS_`E5FqSfM*>L*kWH2ViVUJ6MN}}6 z;D!;Y0<~(15~YaNS`>>&DW%p0fugndrml#fDE*(j_W7OL0~N(m%jA78xMP``53@sfwOL0qjs%#0mJlHCU&JeS`7Zk@10?8)Yp|MyS$ zxrL~}8Jv+)Im7q-a6z(U01ilkG)lNk!4KjqLy0^gqj}0i{0ceJ6&vt6zQ8b9g_Vew z$I*n1(oX_$Lm>CyFm~fPxkJivr>u}UvQ(DHTv;Z!NR3qD1z9L{aKIk{yoeBl!i_M5 zvnU?Kp&PoR2g)!LvoIU;FdvCc8No5W3}hk;*%*X;6k;%jU?_?(93wFbqcH}PFd0)Y z73ElrN>rl;b*M)JZovwy!fG^P4c1~EZpCd_kK5tH9k>hkU<>ZWHr$8%@c_1C2OdN- zcA^El@Gu_1qj(%opcPO0c+ws`g}wL#6R&F{tXK@I`9>~#$|kmE4YRqaUDP5XK{$1IK?Hw5+YqBN}?r3VkJ)ErJHn@ z9@0}%q?e>hn%pG5-qJ_lTF^#ubV^1gw<`z75=A z|7oz>fVEn&1A%2qP8i0xMzK?YwN|lvfwfK{n(A~ zHtd^VnVKNnU^FL^@X)$LvFC!dNwE)ub*Ex)2J0?`=NRu+W+1ROEB1A;%;yQ_b6b?G zU{7Oh@&C8oJ{C^6Oipc2zu=BkMuDy(LO7Z@K>vXF77 z;m?!mnqH20ZAcjppHb{zVeM1wX<_YG>~moqQ0#qS{YGJa(~DgmWiJft6~+D-mZ>FT z&kXDLihVRJ4yOitYgn%;_S>+ID)!*8UQ_JLVZE-{tHb((V*d{74TU1cKbofGhMhjF zHx;{oSbtI+2w)vk91>u?r8qdiI<7cOz&fEgV8D7;ap-_`QgIN0^`7Ez0_&9Gz`~~d z3lE5646M_NqYbRTDvmp_&M1yRusFFeI2OS=t2ipb`n%%z1nYgpkqXv76vr%BA1IDq zus$@*&D+SGj}(VASRX46Zm`ZN4s)kGwk z7}l4HBQmV7l#hcmtgjV^X;|MV4%o21RUEouT~-{#VST4KoWr`JIIzR|UU7(rbyab& zhjmS%mGK9KCmDYQ>!C)n|dQz-cCZag5)reJqhoL9l_p*X{W-BWR{1v^1;)&)CJasCB6 zNpU6yJ6Ul~20KN8&1m;hVwxzmlMiCrC{2lJikp;}rs%CCn6Zx%Q~iCFm@4e2#MDlI zC8l=Lm6+NYpv)q}&QM}%B-6BiCcAS}C0R;Ljj+o##MDTR5>q3&N=%L9DKS@=uf$wo zff93t1C^Ky9HhitV4>nHlski!m@6Ej#9ZM}CFZJzDKS@7q{Ljwa3#D5dxR2G_>oFX z;YTSkg&(cN6u#KBKR04ZKSqfu{a7WY^y8G6!jvd6g&D8J6lQ`FQ<#ZLOkqlum;y{z zV!m&Rk`g}u_Ea8_m@k~B#C+j&C6gFuC^27Bro@~(Q;9iumJ)OBY$fLXIZDj?bCt|v z?8Nq$`8@cAEa3hx)6G9`C1nlB@{i?K$@-HhgoNj5XqDcQnk{s_sh7#oyqWxPfC z8CNT5Vr*2>%(zBL3!}LRl3k4EB1j%)yj97gjJGLyjB&kb z|Mfhnl?S&gd6IF1l0A%UB14{H+^A$P;~h%&F`8N;E~8+ZS|To}V4GSZF0EjjS|Tp8 zV4GSZd~Uw{9>tXxY*S^#H5hDDWyIAOY*S^#bs20^W5g92Y*S+dbI;tTxN3uazvB80 z_5+G5IoPIFiEBF8J1Bq~%xEg=mXyWy9qfk`S9-8_Dz5opo7yF`Gn(2Z+0oS8E!k)8 zP*azLPZ%Fp62!P$Ng?ACN=*BGGur};hl?-A$s$?+ZYlg0KBJgLfc-bcd;;vVikSu2e^<;gzhR#?P%PBB#h`xC{a1?=+*3mGpcCNf}OR7`2W z{-=Vue=aGeIbeUP(6cEcA;$L~9(}IhW&F1i^8{Op2@%+~Vrm3-hhmZhw)s3UT>|?H z#l#8hFBMZLu)k7FrojGMF|7jo8}kfu!wd`TZxwSburDiSU0{Ewn16wNMVV}={k?)| zKl2L3i}z|ig_Y*@NP9QmN8sOF(cc{ zU=|4-yweSnPii`myx7+mvL&QB3(qq=f?2CCL#)@^uc8e{IZHR65#l9VTzU#uS+q)i$ z^N&l48yi<0w=Hg8+&gjC<8O*DiC+=FJN{Vw&)v$pz27~!drJ3t-4A!a-lML^J3Spe zr}sRP;Ga;Eur=YUL{DN-;?%^t#BY)!lKLf$P1>1sCOI%UFL_@|LP|}_&R)^I9!t$g zeKsv8ZA01{HkAI} z3ceZ`Juq)z>A+hDwhlZsC}U8`pw>a}6gmrs7H%j!Sa@l$XYho<%LYF;`0S8*Lv{|0 z7&>Rz&|!_k_7#N{Wfg5Kx;T8$@QuUIjF>Q@b;LI#14kB&+%WRc$deA}*DNqLi+Cmow~X>!8kXQxC@**@j{sijjl zPknt_+_Z($PE3Dr`U}%f&NwpTi!%SRK4q)Qn#+#O44(PO%p)_e%*vZJXV&If`(~Y+ zy=wNp*=Od&%{e{i`rP$%U!Irbn^!XLu6aMq&zpbi{3G+PE*QFC>w=3nJ8zzR^XChT z78NbNQjt_qTye1CY^9?zuCk``Xw|%`omEd)9jZE3b#_VKlEx*6s!?5BeW?2U()6V- zE}Oh;sdiIsYh6X%nfk{1FB-BM>i7uoA-vJH zH0{Ocw%-mtC0vGW3&q9&ELg-_lc(Ue%ezU`;-N+(AUK0R?)4OLA^bx+5vf(YcqGpYE5Nlb@HLmlYEo6YUCfq-B|-+?=#@Npd+|&PcwTAC>IN zP0r1Z%FoVCj^eAi_lHKiA|gVf;(NqLhDIcG4G4Dn`3FS@#|B3Sx%?fjz_h@Hf#EK{ zP-l3AiB4zetBIKriE%M|0|Wf)1G;cbIY-;= zoA$=E&3JT|t8Lv=`yFkm&-8S(eY!s)q^3s)=8pC&v~6)cYwnY;CA|)?Qa%% z^%8t< z_m*x21^gxJ|0=i_r*_#U+v#Ps#zZ-z&E1n^%A8jyowt)IawRwUxvq@vlCNdfx=v1G zv43jstX%gHt!mbJLBa6g_Xc{sp}+jm!CtR)^@bhfd7jRyHg%rr3Azv?_uk{3sdb$j z?rB?lyjGfiDtEPop19^{dg;AgZQq>=4fF+dmN$-B3qSq>=j9JH@%%L;jZHDYlsl?W zlGAeYJ8u(>orPr4(oC^g@U&!C)c;-^;q|T<>~akbtm@nj_n3dGK)bS0xs31>Jkf-&Q@x9u%eQ>vD-TAvxMoV=Md0Y;(JA2A>zxKzHB*xM5a*BNI z@4vXdqUF_IvN3>r4eQ#crONk?xX_BFRaO00RMyrvR#yD)!2Awe(Y~R#luOH{KK#xe zedXbnPx?yl_LzQB?`YYTE-$sz4Uj%9&kT^9mJ0*;2X|zMS6ZIWlnE{T#dV;^wPJN$ z|MHreAQKl=*3_?QS(YWOEfLw$vnAJT7H7-6_II{if(e.stack){if(ep.isErrorNoTelemetry(e))throw new ep(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function ec(e){e instanceof ef||e instanceof Error&&e.name===em&&e.message===em||ed.onUnexpectedError(e)}function eg(e){if(e instanceof Error){let{name:t,message:n}=e,i=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:i,noTelemetry:ep.isErrorNoTelemetry(e)}}return e}const em="Canceled";class ef extends Error{constructor(){super(em),this.name=this.message}}class ep extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof ep)return e;let t=new ep;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class eb extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,eb.prototype)}}function e_(e){return e}function eC(e){}function ey(e,t){}function ev(e){if(r.is(e)){let t=[];for(let n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function eL(e){let t={dispose:function(e){let t;let n=this,i=!1;return function(){return i?t:(i=!0,t=e.apply(n,arguments))}}(()=>{e()})};return t}!function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;let n=Object.freeze([]);function*i(e){yield e}e.empty=function(){return n},e.single=i,e.wrap=function(e){return t(e)?e:i(e)},e.from=function(e){return e||n},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(let n of e)if(t(n))return!0;return!1},e.find=function(e,t){for(let n of e)if(t(n))return n},e.filter=function*(e,t){for(let n of e)t(n)&&(yield n)},e.map=function*(e,t){let n=0;for(let i of e)yield t(i,n++)},e.concat=function*(...e){for(let t of e)for(let e of t)yield e},e.reduce=function(e,t,n){let i=n;for(let n of e)i=t(i,n);return i},e.slice=function*(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);tr}]}}(r||(r={}));class ew{constructor(){var e;this._toDispose=new Set,this._isDisposed=!1,e=this}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{ev(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return this._isDisposed?ew.DISABLE_DISPOSED_WARNING||console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}ew.DISABLE_DISPOSED_WARNING=!1;class eS{constructor(){var e;this._store=new ew,e=this,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}eS.None=Object.freeze({dispose(){}});class eN{constructor(){var e;this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,e=this}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0)},this}}class eE{constructor(e){this.element=e,this.next=eE.Undefined,this.prev=eE.Undefined}}eE.Undefined=new eE(void 0);class eA{constructor(){this._first=eE.Undefined,this._last=eE.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===eE.Undefined}clear(){let e=this._first;for(;e!==eE.Undefined;){let t=e.next;e.prev=eE.Undefined,e.next=eE.Undefined,e=t}this._first=eE.Undefined,this._last=eE.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let n=new eE(e);if(this._first===eE.Undefined)this._first=n,this._last=n;else if(t){let e=this._last;this._last=n,n.prev=e,e.next=n}else{let e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==eE.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==eE.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==eE.Undefined&&e.next!==eE.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===eE.Undefined&&e.next===eE.Undefined?(this._first=eE.Undefined,this._last=eE.Undefined):e.next===eE.Undefined?(this._last=this._last.prev,this._last.next=eE.Undefined):e.prev===eE.Undefined&&(this._first=this._first.next,this._first.prev=eE.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==eE.Undefined;)yield e.element,e=e.next}}var eR={};eh(eR,"localize",()=>eM),eh(eR,"getConfiguredDefaultLocale",()=>ek);let ex="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function eM(e,t,...n){let i;return i=0===n.length?t:t.replace(/\{(\d+)\}/g,(e,t)=>{let i=t[0],r=n[i],s=e;return"string"==typeof r?s=r:("number"==typeof r||"boolean"==typeof r||null==r)&&(s=String(r)),s}),ex&&(i="["+i.replace(/[aouei]/g,"$&$&")+"]"),i}function ek(e){}var eT={},eO=eT={};function eI(){throw Error("setTimeout has not been defined")}function eD(){throw Error("clearTimeout has not been defined")}function eP(e){if(s===setTimeout)return setTimeout(e,0);if((s===eI||!s)&&setTimeout)return s=setTimeout,setTimeout(e,0);try{return s(e,0)}catch(t){try{return s.call(null,e,0)}catch(t){return s.call(this,e,0)}}}!function(){try{s="function"==typeof setTimeout?setTimeout:eI}catch(e){s=eI}try{o="function"==typeof clearTimeout?clearTimeout:eD}catch(e){o=eD}}();var eF=[],eK=!1,eV=-1;function eB(){eK&&a&&(eK=!1,a.length?eF=a.concat(eF):eV=-1,eF.length&&eq())}function eq(){if(!eK){var e=eP(eB);eK=!0;for(var t=eF.length;t;){for(a=eF,eF=[];++eV1)for(var n=1;n=0,e$=t.indexOf("Macintosh")>=0,(t.indexOf("Macintosh")>=0||t.indexOf("iPad")>=0||t.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints,t.indexOf("Linux"),null==t||t.indexOf("Mobi"),ez=!0,eR.getConfiguredDefaultLocale(eR.localize({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_")),navigator.language;const eJ=eH,eQ=e$;ez&&ej.importScripts;const eX=t,eZ="function"==typeof ej.postMessage&&!ej.importScripts;(()=>{if(eZ){let e=[];ej.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,i=e.length;n{let i=++t;e.push({id:i,callback:n}),ej.postMessage({vscodeScheduleAsyncWork:i},"*")}}return e=>setTimeout(e)})();const e1=!!(eX&&eX.indexOf("Chrome")>=0);eX&&eX.indexOf("Firefox"),!e1&&eX&&eX.indexOf("Safari"),eX&&eX.indexOf("Edg/"),eX&&eX.indexOf("Android");const e0=ej.performance&&"function"==typeof ej.performance.now;class e2{static create(e=!0){return new e2(e)}constructor(e){this._highResolution=e0&&e,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?ej.performance.now():Date.now()}}!function(e){function t(e){return(t,n=null,i)=>{let r,s=!1;return r=e(e=>s?void 0:(r?r.dispose():s=!0,t.call(n,e)),null,i),s&&r.dispose(),r}}function n(e,t,n){return o((n,i=null,r)=>e(e=>n.call(i,t(e)),null,r),n)}function i(e,t,n){return o((n,i=null,r)=>e(e=>{t(e),n.call(i,e)},null,r),n)}function r(e,t,n){return o((n,i=null,r)=>e(e=>t(e)&&n.call(i,e),null,r),n)}function s(e,t,i,r){let s=i;return n(e,e=>s=t(s,e),r)}function o(e,t){let n;let i=new e6({onWillAddFirstListener(){n=e(i.fire,i)},onDidRemoveLastListener(){null==n||n.dispose()}});return null==t||t.add(i),i.event}function a(e,t,n=100,i=!1,r=!1,s,o){let a,l,u,h;let d=0,c=new e6({leakWarningThreshold:s,onWillAddFirstListener(){a=e(e=>{d++,u=t(u,e),i&&!h&&(c.fire(u),u=void 0),l=()=>{let e=u;u=void 0,h=void 0,(!i||d>1)&&c.fire(e),d=0},"number"==typeof n?(clearTimeout(h),h=setTimeout(l,n)):void 0===h&&(h=0,queueMicrotask(l))})},onWillRemoveListener(){r&&d>0&&(null==l||l())},onDidRemoveLastListener(){l=void 0,a.dispose()}});return null==o||o.add(c),c.event}function l(e,t=(e,t)=>e===t,n){let i,s=!0;return r(e,e=>{let n=s||!t(e,i);return s=!1,i=e,n},n)}e.None=()=>eS.None,e.defer=function(e,t){return a(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=t,e.map=n,e.forEach=i,e.filter=r,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,i)=>(function(...e){let t=eL(()=>ev(e));return t})(...e.map(e=>e(e=>t.call(n,e),null,i)))},e.reduce=s,e.debounce=a,e.accumulate=function(t,n=0,i){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],n,void 0,!0,void 0,i)},e.latch=l,e.split=function(t,n,i){return[e.filter(t,n,i),e.filter(t,e=>!n(e),i)]},e.buffer=function(e,t=!1,n=[]){let i=n.slice(),r=e(e=>{i?i.push(e):o.fire(e)}),s=()=>{null==i||i.forEach(e=>o.fire(e)),i=null},o=new e6({onWillAddFirstListener(){r||(r=e(e=>o.fire(e)))},onDidAddFirstListener(){i&&(t?setTimeout(s):s())},onDidRemoveLastListener(){r&&r.dispose(),r=null}});return o.event};class u{constructor(e){this.event=e,this.disposables=new ew}map(e){return new u(n(this.event,e,this.disposables))}forEach(e){return new u(i(this.event,e,this.disposables))}filter(e){return new u(r(this.event,e,this.disposables))}reduce(e,t){return new u(s(this.event,e,t,this.disposables))}latch(){return new u(l(this.event,void 0,this.disposables))}debounce(e,t=100,n=!1,i=!1,r){return new u(a(this.event,e,t,n,i,r,this.disposables))}on(e,t,n){return this.event(e,t,n)}once(e,n,i){return t(this.event)(e,n,i)}dispose(){this.disposables.dispose()}}e.chain=function(e){return new u(e)},e.fromNodeEventEmitter=function(e,t,n=e=>e){let i=(...e)=>r.fire(n(...e)),r=new e6({onWillAddFirstListener:()=>e.on(t,i),onDidRemoveLastListener:()=>e.removeListener(t,i)});return r.event},e.fromDOMEventEmitter=function(e,t,n=e=>e){let i=(...e)=>r.fire(n(...e)),r=new e6({onWillAddFirstListener:()=>e.addEventListener(t,i),onDidRemoveLastListener:()=>e.removeEventListener(t,i)});return r.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))},e.runAndSubscribe=function(e,t){return t(void 0),e(e=>t(e))},e.runAndSubscribeWithStore=function(e,t){let n=null;function i(e){null==n||n.dispose(),t(e,n=new ew)}i(void 0);let r=e(e=>i(e));return eL(()=>{r.dispose(),null==n||n.dispose()})};class h{constructor(e,t){this._observable=e,this._counter=0,this._hasChanged=!1;this.emitter=new e6({onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}}),t&&t.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){let n=new h(e,t);return n.emitter.event},e.fromObservableLight=function(e){return t=>{let n=0,i=!1,r={beginUpdate(){n++},endUpdate(){0==--n&&(e.reportChanges(),i&&(i=!1,t()))},handlePossibleChange(){},handleChange(){i=!0}};return e.addObserver(r),{dispose(){e.removeObserver(r)}}}}}(u||(u={}));class e4{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${e4._idPool++}`,e4.all.add(this)}start(e){this._stopWatch=new e2(!0),this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}e4.all=new Set,e4._idPool=0;class e5{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let n=this.threshold;if(n<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class e7{static create(){var e;return new e7(null!==(e=Error().stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class e9{constructor(e,t,n){this.callback=e,this.callbackThis=t,this.stack=n,this.subscription=new eN}invoke(e){this.callback.call(this.callbackThis,e)}}class e6{constructor(e){var t,n,i,r,s;this._disposed=!1,this._options=e,this._leakageMon=(null===(t=this._options)||void 0===t?void 0:t.leakWarningThreshold)?new e5(null!==(i=null===(n=this._options)||void 0===n?void 0:n.leakWarningThreshold)&&void 0!==i?i:-1):void 0,this._perfMon=(null===(r=this._options)||void 0===r?void 0:r._profName)?new e4(this._options._profName):void 0,this._deliveryQueue=null===(s=this._options)||void 0===s?void 0:s.deliveryQueue}dispose(){var e,t,n,i;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),null===(e=this._deliveryQueue)||void 0===e||e.clear(this),null===(n=null===(t=this._options)||void 0===t?void 0:t.onDidRemoveLastListener)||void 0===n||n.call(t),null===(i=this._leakageMon)||void 0===i||i.dispose())}get event(){return this._event||(this._event=(e,t,n)=>{var i,r,s;let o,a;if(this._listeners||(this._listeners=new eA),this._leakageMon&&this._listeners.size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),eS.None;let l=this._listeners.isEmpty();l&&(null===(i=this._options)||void 0===i?void 0:i.onWillAddFirstListener)&&this._options.onWillAddFirstListener(this),this._leakageMon&&this._listeners.size>=Math.ceil(.2*this._leakageMon.threshold)&&(a=e7.create(),o=this._leakageMon.check(a,this._listeners.size+1));let u=new e9(e,t,a),h=this._listeners.push(u);l&&(null===(r=this._options)||void 0===r?void 0:r.onDidAddFirstListener)&&this._options.onDidAddFirstListener(this),(null===(s=this._options)||void 0===s?void 0:s.onDidAddListener)&&this._options.onDidAddListener(this,e,t);let d=u.subscription.set(()=>{var e,t;if(null==o||o(),!this._disposed&&(null===(t=null===(e=this._options)||void 0===e?void 0:e.onWillRemoveListener)||void 0===t||t.call(e,this),h(),this._options&&this._options.onDidRemoveLastListener)){let e=this._listeners&&!this._listeners.isEmpty();e||this._options.onDidRemoveLastListener(this)}});return n instanceof ew?n.add(d):Array.isArray(n)&&n.push(d),d}),this._event}fire(e){var t,n,i;if(this._listeners){for(let n of(this._deliveryQueue||(this._deliveryQueue=new e3(null===(t=this._options)||void 0===t?void 0:t.onListenerError)),this._listeners))this._deliveryQueue.push(this,n,e);null===(n=this._perfMon)||void 0===n||n.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),null===(i=this._perfMon)||void 0===i||i.stop()}}hasListeners(){return!!this._listeners&&!this._listeners.isEmpty()}}class e8{constructor(e=ec){this._onListenerError=e,this._queue=new eA}get size(){return this._queue.size}push(e,t,n){this._queue.push(new te(e,t,n))}clear(e){let t=new eA;for(let n of this._queue)n.emitter!==e&&t.push(n);this._queue=t}deliver(){for(;this._queue.size>0;){let e=this._queue.shift();try{e.listener.invoke(e.event)}catch(e){this._onListenerError(e)}}}}class e3 extends e8{clear(e){this._queue.clear()}}class te{constructor(e,t,n){this.emitter=e,this.listener=t,this.event=n}}function tt(e){let t=[];for(let n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}Object.prototype.hasOwnProperty;class tn{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function ti(e){return e>=65&&e<=90}function tr(e){return 55296<=e&&e<=56319}function ts(e){return 56320<=e&&e<=57343}function to(e,t){return(e-55296<<10)+(t-56320)+65536}const ta=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);class tl{static getInstance(){return tl._INSTANCE||(tl._INSTANCE=new tl),tl._INSTANCE}constructor(){this._data=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]")}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,n=t.length/3,i=1;for(;i<=n;)if(et[3*i+1]))return t[3*i+2];i=2*i+1}return 0}}tl._INSTANCE=null;class tu{static getInstance(e){return tu.cache.get(Array.from(e))}static getLocales(){return tu._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}tu.ambiguousCharacterData=new tn(()=>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]}')),tu.cache=new class{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}(e=>{let t;function n(e){let t=new Map;for(let n=0;n!e.startsWith("_")&&e in i);for(let e of(0===r.length&&(r=["_default"]),r)){let r=n(i[e]);t=function(e,t){if(!e)return t;let n=new Map;for(let[i,r]of e)t.has(i)&&n.set(i,r);return n}(t,r)}let s=n(i._common),o=function(e,t){let n=new Map(e);for(let[e,i]of t)n.set(e,i);return n}(s,t);return new tu(o)}),tu._locales=new tn(()=>Object.keys(tu.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class th{static getRawData(){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 getData(){return this._data||(this._data=new Set(th.getRawData())),this._data}static isInvisibleCharacter(e){return th.getData().has(e)}static get codePoints(){return th.getData()}}th._data=void 0;class td{constructor(e,t,n,i){this.vsWorker=e,this.req=t,this.method=n,this.args=i,this.type=0}}class tc{constructor(e,t,n,i){this.vsWorker=e,this.seq=t,this.res=n,this.err=i,this.type=1}}class tg{constructor(e,t,n,i){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=i,this.type=2}}class tm{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class tf{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class tp{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((i,r)=>{this._pendingReplies[n]={resolve:i,reject:r},this._send(new td(this._workerId,n,e,t))})}listen(e,t){let n=null,i=new e6({onWillAddFirstListener:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,i),this._send(new tg(this._workerId,n,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(n),this._send(new tf(this._workerId,n)),n=null}});return i.event}handleMessage(e){e&&e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId)&&this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;e.err.$isError&&((n=Error()).name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),t.reject(n);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req,n=this._handler.handleMessage(e.method,e.args);n.then(e=>{this._send(new tc(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=eg(e.detail)),this._send(new tc(this._workerId,t,void 0,eg(e)))})}_handleSubscribeEventMessage(e){let t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new tm(this._workerId,t,e))});this._pendingEvents.set(t,n)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let n=0;n{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}_handleEvent(e,t){if(!this._requestHandler)throw Error("Missing requestHandler");if(t_(e)){let n=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof n)throw Error(`Missing dynamic event ${e} on request handler.`);return n}if(tb(e)){let t=this._requestHandler[e];if("function"!=typeof t)throw Error(`Missing event ${e} on request handler.`);return t}throw Error(`Malformed event name ${e}`)}initialize(e,t,n,i){this._protocol.setWorkerId(e);let r=function(e,t,n){let i=e=>function(){let n=Array.prototype.slice.call(arguments,0);return t(e,n)},r=e=>function(t){return n(e,t)},s={};for(let t of e){if(t_(t)){s[t]=r(t);continue}if(tb(t)){s[t]=n(t,void 0);continue}s[t]=i(t)}return s}(i,(e,t)=>this._protocol.sendMessage(e,t),(e,t)=>this._protocol.listen(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(r),Promise.resolve(tt(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.trustedTypesPolicy,delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise((e,t)=>{let i=globalThis.require;i([n],n=>{if(this._requestHandler=n.create(r),!this._requestHandler){t(Error("No RequestHandler!"));return}e(tt(this._requestHandler))},t)}))}}var ty={};eh(ty,"EditorSimpleWorker",()=>iR);class tv{constructor(e,t,n,i){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function tL(e,t,n=32){let i=n-t;return(e<>>i)>>>0}function tw(e,t=0,n=e.byteLength,i=0){for(let r=0;re.toString(16).padStart(2,"0")).join(""):function(e,t,n="0"){for(;e.length>>0).toString(16),t/4)}class tN{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,n;let i=e.length;if(0===i)return;let r=this._buff,s=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(t=o,n=-1,o=0):(t=e.charCodeAt(0),n=0);;){let a=t;if(tr(t)){if(n+1>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),tS(this._h0)+tS(this._h1)+tS(this._h2)+tS(this._h3)+tS(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,tw(this._buff,this._buffLen),this._buffLen>56&&(this._step(),tw(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e,t,n;let i=tN._bigBlock32,r=this._buffDV;for(let e=0;e<64;e+=4)i.setUint32(e,r.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)i.setUint32(e,tL(i.getUint32(e-12,!1)^i.getUint32(e-32,!1)^i.getUint32(e-56,!1)^i.getUint32(e-64,!1),1),!1);let s=this._h0,o=this._h1,a=this._h2,l=this._h3,u=this._h4;for(let r=0;r<80;r++)r<20?(e=o&a|~o&l,t=1518500249):r<40?(e=o^a^l,t=1859775393):r<60?(e=o&a|o&l|a&l,t=2400959708):(e=o^a^l,t=3395469782),n=tL(s,5)+e+u+t+i.getUint32(4*r,!1)&4294967295,u=l,l=a,a=tL(o,30),o=s,s=n;this._h0=this._h0+s&4294967295,this._h1=this._h1+o&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+u&4294967295}}tN._bigBlock32=new DataView(new ArrayBuffer(320));class tE{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let n=0,i=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new tv(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class tM{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;let[i,r,s]=tM._getElements(e),[o,a,l]=tM._getElements(t);this._hasStrings=s&&l,this._originalStringElements=i,this._originalElementsOrHash=r,this._modifiedStringElements=o,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(tM._isStringArray(t)){let e=new Int32Array(t.length);for(let n=0,i=t.length;n=e&&i>=n&&this.ElementsAreEqual(t,i);)t--,i--;if(e>t||n>i){let r;return n<=i?(tA.Assert(e===t+1,"originalStart should only be one more than originalEnd"),r=[new tv(e,0,n,i-n+1)]):e<=t?(tA.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[new tv(e,t-e+1,n,0)]):(tA.Assert(e===t+1,"originalStart should only be one more than originalEnd"),tA.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[]),r}let s=[0],o=[0],a=this.ComputeRecursionPoint(e,t,n,i,s,o,r),l=s[0],u=o[0];if(null!==a)return a;if(!r[0]){let s=this.ComputeDiffRecursive(e,l,n,u,r),o=[];return o=r[0]?[new tv(l+1,t-(l+1)+1,u+1,i-(u+1)+1)]:this.ComputeDiffRecursive(l+1,t,u+1,i,r),this.ConcatenateChanges(s,o)}return[new tv(e,t-e+1,n,i-n+1)]}WALKTRACE(e,t,n,i,r,s,o,a,l,u,h,d,c,g,m,f,p,b){let _=null,C=null,y=new tx,v=t,L=n,w=c[0]-f[0]-i,S=-1073741824,N=this.m_forwardHistory.length-1;do{let t=w+e;t===v||t=0&&(e=(l=this.m_forwardHistory[N])[0],v=1,L=l.length-1)}while(--N>=-1)if(_=y.getReverseChanges(),b[0]){let e=c[0]+1,t=f[0]+1;if(null!==_&&_.length>0){let n=_[_.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}C=[new tv(e,d-e+1,t,m-t+1)]}else{y=new tx,v=s,L=o,w=c[0]-f[0]-a,S=1073741824,N=p?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=w+r;e===v||e=u[e+1]?(g=(h=u[e+1]-1)-w-a,h>S&&y.MarkNextChange(),S=h+1,y.AddOriginalElement(h+1,g+1),w=e+1-r):(g=(h=u[e-1])-w-a,h>S&&y.MarkNextChange(),S=h,y.AddModifiedElement(h+1,g+1),w=e-1-r),N>=0&&(r=(u=this.m_reverseHistory[N])[0],v=1,L=u.length-1)}while(--N>=-1)C=y.getChanges()}return this.ConcatenateChanges(_,C)}ComputeRecursionPoint(e,t,n,i,r,s,o){let a=0,l=0,u=0,h=0,d=0,c=0;e--,n--,r[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let g=t-e+(i-n),m=g+1,f=new Int32Array(m),p=new Int32Array(m),b=i-n,_=t-e,C=e-n,y=t-i,v=_-b,L=v%2==0;f[b]=e,p[_]=t,o[0]=!1;for(let v=1;v<=g/2+1;v++){let g=0,w=0;u=this.ClipDiagonalBound(b-v,v,b,m),h=this.ClipDiagonalBound(b+v,v,b,m);for(let e=u;e<=h;e+=2){l=(a=e===u||eg+w&&(g=a,w=l),!L&&Math.abs(e-_)<=v-1&&a>=p[e]){if(r[0]=a,s[0]=l,n<=p[e]&&v<=1448)return this.WALKTRACE(b,u,h,C,_,d,c,y,f,p,a,t,r,l,i,s,L,o);return null}}let S=(g-e+(w-n)-v)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(g,S)){if(o[0]=!0,r[0]=g,s[0]=w,!(S>0)||!(v<=1448))return e++,n++,[new tv(e,t-e+1,n,i-n+1)];break}d=this.ClipDiagonalBound(_-v,v,_,m),c=this.ClipDiagonalBound(_+v,v,_,m);for(let g=d;g<=c;g+=2){l=(a=g===d||g=p[g+1]?p[g+1]-1:p[g-1])-(g-_)-y;let m=a;for(;a>e&&l>n&&this.ElementsAreEqual(a,l);)a--,l--;if(p[g]=a,L&&Math.abs(g-b)<=v&&a<=f[g]){if(r[0]=a,s[0]=l,m>=f[g]&&v<=1448)return this.WALKTRACE(b,u,h,C,_,d,c,y,f,p,a,t,r,l,i,s,L,o);return null}}if(v<=1447){let e=new Int32Array(h-u+2);e[0]=b-u+1,tR.Copy2(f,u,e,1,h-u+1),this.m_forwardHistory.push(e),(e=new Int32Array(c-d+2))[0]=_-d+1,tR.Copy2(p,d,e,1,c-d+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,u,h,C,_,d,c,y,f,p,a,t,r,l,i,s,L,o)}PrettifyChanges(e){for(let t=0;t0,o=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;t--){let n=e[t],i=0,r=0;if(t>0){let n=e[t-1];i=n.originalStart+n.originalLength,r=n.modifiedStart+n.modifiedLength}let s=n.originalLength>0,o=n.modifiedLength>0,a=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){let t=n.originalStart-e,u=n.modifiedStart-e;if(tl&&(l=d,a=e)}n.originalStart-=a,n.modifiedStart-=a;let u=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],u)){e[t-1]=u[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,n=e.length;t0&&n>a&&(a=n,l=t,u=e)}return a>0?[l,u]:null}_contiguousSequenceScore(e,t,n){let i=0;for(let r=0;r=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,i){let r=this._OriginalRegionIsBoundary(e,t)?1:0,s=this._ModifiedRegionIsBoundary(n,i)?1:0;return r+s}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){let i=Array(e.length+t.length-1);return tR.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],tR.Copy(t,1,i,e.length,t.length-1),i}{let n=Array(e.length+t.length);return tR.Copy(e,0,n,0,e.length),tR.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(tA.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),tA.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return n[0]=null,!1;{let i=e.originalStart,r=e.originalLength,s=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(r=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(o=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new tv(i,r,s,o),!0}}ClipDiagonalBound(e,t,n,i){if(e>=0&&et.cwd()}}else e=void 0!==eT?{get platform(){return eT.platform},get arch(){return eT.arch},get env(){return eT.env},cwd:()=>eT.cwd()}:{get platform(){return eJ?"win32":eQ?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};const tk=e.cwd,tT=e.env,tO=e.platform;class tI extends Error{constructor(e,t,n){let i;"string"==typeof t&&0===t.indexOf("not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";let r=-1!==e.indexOf(".")?"property":"argument",s=`The "${e}" ${r} ${i} of type ${t}`;super(s+=`. Received type ${typeof n}`),this.code="ERR_INVALID_ARG_TYPE"}}function tD(e,t){if("string"!=typeof e)throw new tI(t,"string",e)}const tP="win32"===tO;function tF(e){return 47===e||92===e}function tK(e){return 47===e}function tV(e){return e>=65&&e<=90||e>=97&&e<=122}function tB(e,t,n,i){let r="",s=0,o=-1,a=0,l=0;for(let u=0;u<=e.length;++u){if(u2){let e=r.lastIndexOf(n);-1===e?(r="",s=0):s=(r=r.slice(0,e)).length-1-r.lastIndexOf(n),o=u,a=0;continue}if(0!==r.length){r="",s=0,o=u,a=0;continue}}t&&(r+=r.length>0?`${n}..`:"..",s=2)}else r.length>0?r+=`${n}${e.slice(o+1,u)}`:r=e.slice(o+1,u),s=u-o-1;o=u,a=0}else 46===l&&-1!==a?++a:a=-1}return r}function tq(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new tI(t,"Object",e)}(t,"pathObject");let n=t.dir||t.root,i=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${i}`:`${n}${e}${i}`:i}const tU={resolve(...e){let t="",n="",i=!1;for(let r=e.length-1;r>=-1;r--){let s;if(r>=0){if(tD(s=e[r],"path"),0===s.length)continue}else 0===t.length?s=tk():(void 0===(s=tT[`=${t}`]||tk())||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===s.charCodeAt(2))&&(s=`${t}\\`);let o=s.length,a=0,l="",u=!1,h=s.charCodeAt(0);if(1===o)tF(h)&&(a=1,u=!0);else if(tF(h)){if(u=!0,tF(s.charCodeAt(1))){let e=2,t=2;for(;e2&&tF(s.charCodeAt(2))&&(u=!0,a=3));if(l.length>0){if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l}if(i){if(t.length>0)break}else if(n=`${s.slice(a)}\\${n}`,i=u,u&&t.length>0)break}return n=tB(n,!i,"\\",tF),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){let t;tD(e,"path");let n=e.length;if(0===n)return".";let i=0,r=!1,s=e.charCodeAt(0);if(1===n)return tK(s)?"\\":e;if(tF(s)){if(r=!0,tF(e.charCodeAt(1))){let r=2,s=2;for(;r2&&tF(e.charCodeAt(2))&&(r=!0,i=3));let o=i0&&tF(e.charCodeAt(n-1))&&(o+="\\"),void 0===t)?r?`\\${o}`:o:r?`${t}\\${o}`:`${t}${o}`},isAbsolute(e){tD(e,"path");let t=e.length;if(0===t)return!1;let n=e.charCodeAt(0);return tF(n)||t>2&&tV(n)&&58===e.charCodeAt(1)&&tF(e.charCodeAt(2))},join(...e){let t,n;if(0===e.length)return".";for(let i=0;i0&&(void 0===t?t=n=r:t+=`\\${r}`)}if(void 0===t)return".";let i=!0,r=0;if("string"==typeof n&&tF(n.charCodeAt(0))){++r;let e=n.length;e>1&&tF(n.charCodeAt(1))&&(++r,e>2&&(tF(n.charCodeAt(2))?++r:i=!1))}if(i){for(;r=2&&(t=`\\${t.slice(r)}`)}return tU.normalize(t)},relative(e,t){if(tD(e,"from"),tD(t,"to"),e===t)return"";let n=tU.resolve(e),i=tU.resolve(t);if(n===i||(e=n.toLowerCase())===(t=i.toLowerCase()))return"";let r=0;for(;rr&&92===e.charCodeAt(s-1);)s--;let o=s-r,a=0;for(;aa&&92===t.charCodeAt(l-1);)l--;let u=l-a,h=oh){if(92===t.charCodeAt(a+c))return i.slice(a+c+1);if(2===c)return i.slice(a+c)}o>h&&(92===e.charCodeAt(r+c)?d=c:2===c&&(d=3)),-1===d&&(d=0)}let g="";for(c=r+d+1;c<=s;++c)(c===s||92===e.charCodeAt(c))&&(g+=0===g.length?"..":"\\..");return(a+=d,g.length>0)?`${g}${i.slice(a,l)}`:(92===i.charCodeAt(a)&&++a,i.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=tU.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(tV(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){tD(e,"path");let t=e.length;if(0===t)return".";let n=-1,i=0,r=e.charCodeAt(0);if(1===t)return tF(r)?e:".";if(tF(r)){if(n=i=1,tF(e.charCodeAt(1))){let r=2,s=2;for(;r2&&tF(e.charCodeAt(2))?3:2);let s=-1,o=!0;for(let n=t-1;n>=i;--n)if(tF(e.charCodeAt(n))){if(!o){s=n;break}}else o=!1;if(-1===s){if(-1===n)return".";s=n}return e.slice(0,s)},basename(e,t){let n;void 0!==t&&tD(t,"ext"),tD(e,"path");let i=0,r=-1,s=!0;if(e.length>=2&&tV(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(i=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=i;--n){let l=e.charCodeAt(n);if(tF(l)){if(!s){i=n+1;break}}else -1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=n):(o=-1,r=a))}return i===r?r=a:-1===r&&(r=e.length),e.slice(i,r)}for(n=e.length-1;n>=i;--n)if(tF(e.charCodeAt(n))){if(!s){i=n+1;break}}else -1===r&&(s=!1,r=n+1);return -1===r?"":e.slice(i,r)},extname(e){tD(e,"path");let t=0,n=-1,i=0,r=-1,s=!0,o=0;e.length>=2&&58===e.charCodeAt(1)&&tV(e.charCodeAt(0))&&(t=i=2);for(let a=e.length-1;a>=t;--a){let t=e.charCodeAt(a);if(tF(t)){if(!s){i=a+1;break}continue}-1===r&&(s=!1,r=a+1),46===t?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1)}return -1===n||-1===r||0===o||1===o&&n===r-1&&n===i+1?"":e.slice(n,r)},format:tq.bind(null,"\\"),parse(e){tD(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let n=e.length,i=0,r=e.charCodeAt(0);if(1===n)return tF(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(tF(r)){if(i=1,tF(e.charCodeAt(1))){let t=2,r=2;for(;t0&&(t.root=e.slice(0,i));let s=-1,o=i,a=-1,l=!0,u=e.length-1,h=0;for(;u>=i;--u){if(tF(r=e.charCodeAt(u))){if(!l){o=u+1;break}continue}-1===a&&(l=!1,a=u+1),46===r?-1===s?s=u:1!==h&&(h=1):-1!==s&&(h=-1)}return -1!==a&&(-1===s||0===h||1===h&&s===a-1&&s===o+1?t.base=t.name=e.slice(o,a):(t.name=e.slice(o,s),t.base=e.slice(o,a),t.ext=e.slice(s,a))),o>0&&o!==i?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},tW=(()=>{if(tP){let e=/\\/g;return()=>{let t=tk().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>tk()})(),tH={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=-1&&!n;i--){let r=i>=0?e[i]:tW();tD(r,"path"),0!==r.length&&(t=`${r}/${t}`,n=47===r.charCodeAt(0))}return(t=tB(t,!n,"/",tK),n)?`/${t}`:t.length>0?t:"."},normalize(e){if(tD(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=tB(e,!t,"/",tK)).length?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(tD(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=i:t+=`/${i}`)}return void 0===t?".":tH.normalize(t)},relative(e,t){if(tD(e,"from"),tD(t,"to"),e===t||(e=tH.resolve(e))===(t=tH.resolve(t)))return"";let n=e.length,i=n-1,r=t.length-1,s=is){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else i>s&&(47===e.charCodeAt(1+a)?o=a:0===a&&(o=0))}let l="";for(a=1+o+1;a<=n;++a)(a===n||47===e.charCodeAt(a))&&(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(tD(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),n=-1,i=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!i){n=t;break}}else i=!1;return -1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){let n;void 0!==t&&tD(t,"ext"),tD(e,"path");let i=0,r=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){let l=e.charCodeAt(n);if(47===l){if(!s){i=n+1;break}}else -1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=n):(o=-1,r=a))}return i===r?r=a:-1===r&&(r=e.length),e.slice(i,r)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){i=n+1;break}}else -1===r&&(s=!1,r=n+1);return -1===r?"":e.slice(i,r)},extname(e){tD(e,"path");let t=-1,n=0,i=-1,r=!0,s=0;for(let o=e.length-1;o>=0;--o){let a=e.charCodeAt(o);if(47===a){if(!r){n=o+1;break}continue}-1===i&&(r=!1,i=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1)}return -1===t||-1===i||0===s||1===s&&t===i-1&&t===n+1?"":e.slice(t,i)},format:tq.bind(null,"/"),parse(e){let t;tD(e,"path");let n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;let i=47===e.charCodeAt(0);i?(n.root="/",t=1):t=0;let r=-1,s=0,o=-1,a=!0,l=e.length-1,u=0;for(;l>=t;--l){let t=e.charCodeAt(l);if(47===t){if(!a){s=l+1;break}continue}-1===o&&(a=!1,o=l+1),46===t?-1===r?r=l:1!==u&&(u=1):-1!==r&&(u=-1)}if(-1!==o){let t=0===s&&i?1:s;-1===r||0===u||1===u&&r===o-1&&r===s+1?n.base=n.name=e.slice(t,o):(n.name=e.slice(t,r),n.base=e.slice(t,o),n.ext=e.slice(r,o))}return s>0?n.dir=e.slice(0,s-1):i&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};tH.win32=tU.win32=tU,tH.posix=tU.posix=tH,tP?tU.normalize:tH.normalize,tP?tU.resolve:tH.resolve,tP?tU.relative:tH.relative,tP?tU.dirname:tH.dirname,tP?tU.basename:tH.basename,tP?tU.extname:tH.extname,tP?tU.sep:tH.sep;const t$=/^\w[\w\d+.-]*$/,tz=/^\//,tj=/^\/\//,tG=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class tY{static isUri(e){return e instanceof tY||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,n,i,r,s=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,s),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,n||""),this.query=i||"",this.fragment=r||"",function(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!t$.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!tz.test(e.path))throw 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(tj.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,s))}get fsPath(){return t0(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:i,query:r,fragment:s}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===r?r=this.query:null===r&&(r=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&s===this.fragment)?this:new tQ(t,n,i,r,s)}static parse(e,t=!1){let n=tG.exec(e);return n?new tQ(n[2]||"",t5(n[4]||""),t5(n[5]||""),t5(n[7]||""),t5(n[9]||""),t):new tQ("","","","","")}static file(e){let t="";if(eJ&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){let n=e.indexOf("/",2);-1===n?(t=e.substring(2),e="/"):(t=e.substring(2,n),e=e.substring(n)||"/")}return new tQ("file",t,e,"","")}static from(e,t){let n=new tQ(e.scheme,e.authority,e.path,e.query,e.fragment,t);return n}static joinPath(e,...t){let n;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return n=eJ&&"file"===e.scheme?tY.file(tU.join(t0(e,!0),...t)).path:tH.join(e.path,...t),e.with({path:n})}toString(e=!1){return t2(this,e)}toJSON(){return this}static revive(e){var t,n;if(!e)return e;{if(e instanceof tY)return e;let i=new tQ(e);return i._formatted=null!==(t=e.external)&&void 0!==t?t:null,i._fsPath=e._sep===tJ&&null!==(n=e.fsPath)&&void 0!==n?n:null,i}}}const tJ=eJ?1:void 0;class tQ extends tY{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=t0(this,!1)),this._fsPath}toString(e=!1){return e?t2(this,!0):(this._formatted||(this._formatted=t2(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=tJ),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const tX={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function tZ(e,t,n){let i;let r=-1;for(let s=0;s=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||n&&91===o||n&&93===o||n&&58===o)-1!==r&&(i+=encodeURIComponent(e.substring(r,s)),r=-1),void 0!==i&&(i+=e.charAt(s));else{void 0===i&&(i=e.substr(0,s));let t=tX[o];void 0!==t?(-1!==r&&(i+=encodeURIComponent(e.substring(r,s)),r=-1),i+=t):-1===r&&(r=s)}}return -1!==r&&(i+=encodeURIComponent(e.substring(r))),void 0!==i?i:e}function t1(e){let t;for(let n=0;n1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,eJ&&(n=n.replace(/\//g,"\\")),n}function t2(e,t){let n=t?t1:tZ,i="",{scheme:r,authority:s,path:o,query:a,fragment:l}=e;if(r&&(i+=r+":"),(s||"file"===r)&&(i+="//"),s){let e=s.indexOf("@");if(-1!==e){let t=s.substr(0,e);s=s.substr(e+1),-1===(e=t.lastIndexOf(":"))?i+=n(t,!1,!1):i+=n(t.substr(0,e),!1,!1)+":"+n(t.substr(e+1),!1,!0),i+="@"}-1===(e=(s=s.toLowerCase()).lastIndexOf(":"))?i+=n(s,!1,!0):i+=n(s.substr(0,e),!1,!0)+s.substr(e)}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){let e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){let e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}i+=n(o,!0,!1)}return a&&(i+="?"+n(a,!1,!1)),l&&(i+="#"+(t?l:tZ(l,!1,!1))),i}const t4=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function t5(e){return e.match(t4)?e.replace(t4,e=>(function e(t){try{return decodeURIComponent(t)}catch(n){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}class t7{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new t7(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return t7.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return t7.isBefore(this,e)}static isBefore(e,t){return e.lineNumbern||e===n&&t>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=i)}isEmpty(){return t9.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return t9.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))}containsRange(e){return t9.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))}strictContainsRange(e){return t9.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))}plusRange(e){return t9.plusRange(this,e)}static plusRange(e,t){let n,i,r,s;return t.startLineNumbere.endLineNumber?(r=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(r=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(r=e.endLineNumber,s=e.endColumn),new t9(n,i,r,s)}intersectRanges(e){return t9.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,i=e.startColumn,r=e.endLineNumber,s=e.endColumn,o=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,u=t.endColumn;return(nl?(r=l,s=u):r===l&&(s=Math.min(s,u)),n>r||n===r&&i>s)?null:new t9(n,i,r,s)}equalsRange(e){return t9.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return t9.getEndPosition(this)}static getEndPosition(e){return new t7(e.endLineNumber,e.endColumn)}getStartPosition(){return t9.getStartPosition(this)}static getStartPosition(e){return new t7(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new t9(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new t9(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return t9.collapseToStart(this)}static collapseToStart(e){return new t9(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return t9.collapseToEnd(this)}static collapseToEnd(e){return new t9(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new t9(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new t9(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new t9(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}!function(e){e.isLessThan=function(e){return e<0},e.isGreaterThan=function(e){return e>0},e.isNeitherLessOrGreaterThan=function(e){return 0===e},e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0}(h||(h={}));class t6{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new t6(t=>this.iterate(n=>!e(n)||t(n)))}map(e){return new t6(t=>this.iterate(n=>t(e(n))))}findLast(e){let t;return this.iterate(n=>(e(n)&&(t=n),!0)),t}findLastMaxBy(e){let t;let n=!0;return this.iterate(i=>((n||h.isGreaterThan(e(i,t)))&&(n=!1,t=i),!0)),t}}function t8(e){return e<0?0:e>255?255:0|e}function t3(e){return e<0?0:e>4294967295?4294967295:0|e}t6.empty=new t6(e=>{});class ne{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=t3(e);let n=this.values,i=this.prefixSum,r=t.length;return 0!==r&&(this.values=new Uint32Array(n.length+r),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+r),this.values.set(t,e),e-1=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=t3(e),t=t3(t),this.values[e]!==t&&(this.values[e]=t,e-1=n.length)return!1;let r=n.length-e;return t>=r&&(t=r),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=t3(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,i=0,r=0,s=0;for(;t<=n;)if(i=t+(n-t)/2|0,e<(s=(r=this.prefixSum[i])-this.values[i]))n=i-1;else if(e>=r)t=i+1;else break;return new nt(i,e-s)}}class nt{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class nn{constructor(e,t,n,i){this._uri=e,this._lines=t,this._eol=n,this._versionId=i,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);let t=e.changes;for(let e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new t7(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let i=0;i/?")e.indexOf(n)>=0||(t+="\\"+n);return RegExp(t+="\\s]+)","g")}(),nr=new eA;function ns(e,t,n,i,s){if(s||(s=r.first(nr)),n.length>s.maxLen){let r=e-s.maxLen/2;return r<0?r=0:i+=r,n=n.substring(r,e+s.maxLen/2),ns(e,t,n,i,s)}let o=Date.now(),a=e-1-i,l=-1,u=null;for(let e=1;!(Date.now()-o>=s.timeBudget);e++){let i=a-s.windowSize*e;t.lastIndex=Math.max(0,i);let r=function(e,t,n,i){let r;for(;r=e.exec(t);){let t=r.index||0;if(t<=n&&e.lastIndex>=n)return r;if(i>0&&t>i)break}return null}(t,n,a,l);if(!r&&u||(u=r,i<=0))break;l=i}if(u){let e={word:u[0],startColumn:i+1+u.index,endColumn:i+1+u.index+u[0].length};return t.lastIndex=0,e}return null}nr.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class no{constructor(e){let t=t8(e);this._defaultValue=t,this._asciiMap=no._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let n=t8(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class na{constructor(e,t,n){let i=new Uint8Array(e*t);for(let r=0,s=e*t;rt&&(t=s),r>n&&(n=r),o>n&&(n=o)}t++,n++;let i=new na(n,t,0);for(let t=0,n=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let nu=null;function nh(){return null===nu&&(nu=new nl([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),nu}let nd=null;class nc{static _createLink(e,t,n,i,r){let s=r-1;do{let n=t.charCodeAt(s),i=e.get(n);if(2!==i)break;s--}while(s>i)if(i>0){let e=t.charCodeAt(i-1),n=t.charCodeAt(s);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&s--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:s+2},url:t.substring(i,s+1)}}static computeLinks(e,t=nh()){let n=function(){if(null===nd){nd=new no(0);let e=" <>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let t=0;t=0?((i+=n?1:-1)<0?i=e.length-1:i%=e.length,e[i]):null}}ng.INSTANCE=new ng;const nm=Object.freeze(function(e,t){let n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||t instanceof nf||!!t&&"object"==typeof t&&"boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:u.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:nm})}(d||(d={}));class nf{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?nm:(this._emitter||(this._emitter=new e6),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class np{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const nb=new np,n_=new np,nC=new np,ny=Array(230),nv={},nL=[],nw=Object.create(null),nS=Object.create(null),nN=[],nE=[];for(let e=0;e<=193;e++)nN[e]=-1;for(let e=0;e<=132;e++)nE[e]=-1;!function(){let e=[],t=[];for(let n of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[i,r,s,o,a,l,u,h,d]=n;if(!t[r]&&(t[r]=!0,nL[r]=s,nw[s]=r,nS[s.toLowerCase()]=r,i&&(nN[r]=o,0!==o&&3!==o&&5!==o&&4!==o&&6!==o&&57!==o&&(nE[o]=r))),!e[o]){if(e[o]=!0,!a)throw Error(`String representation missing for key code ${o} around scan code ${s}`);nb.define(o,a),n_.define(o,h||a),nC.define(o,d||h||a)}l&&(ny[l]=o),u&&(nv[u]=o)}nE[3]=46}(),function(e){e.toString=function(e){return nb.keyCodeToStr(e)},e.fromString=function(e){return nb.strToKeyCode(e)},e.toUserSettingsUS=function(e){return n_.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return nC.keyCodeToStr(e)},e.fromUserSettings=function(e){return n_.strToKeyCode(e)||nC.strToKeyCode(e)},e.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return nb.keyCodeToStr(e)}}(c||(c={}));class nA extends t9{constructor(e,t,n,i){super(e,t,n,i),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return nA.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new nA(this.startLineNumber,this.startColumn,e,t):new nA(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new t7(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new t7(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new nA(e,t,this.endLineNumber,this.endColumn):new nA(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new nA(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new nA(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new nA(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new nA(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,i=e.length;nnO);var nT=function(e,t,n,i){return new(n||(n=Promise))(function(r,s){function o(e){try{l(i.next(e))}catch(e){s(e)}}function a(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((i=i.apply(e,t||[])).next())})};class nO{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new e6,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._tokenizationSupports.set(e,t),this.handleChange([e]),eL(()=>{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var n;null===(n=this._factories.get(e))||void 0===n||n.dispose();let i=new nI(this,e,t);return this._factories.set(e,i),eL(()=>{let t=this._factories.get(e);t&&t===i&&(this._factories.delete(e),t.dispose())})}getOrCreate(e){return nT(this,void 0,void 0,function*(){let t=this.get(e);if(t)return t;let n=this._factories.get(e);return!n||n.isResolved?null:(yield n.resolve(),this.get(e))})}isResolved(e){let t=this.get(e);if(t)return!0;let n=this._factories.get(e);return!n||!!n.isResolved}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class nI extends eS{get isResolved(){return this._isResolved}constructor(e,t,n){super(),this._registry=e,this._languageId=t,this._factory=n,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return nT(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return nT(this,void 0,void 0,function*(){let e=yield this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))})}}!function(e){let t=new Map;t.set(0,nM.symbolMethod),t.set(1,nM.symbolFunction),t.set(2,nM.symbolConstructor),t.set(3,nM.symbolField),t.set(4,nM.symbolVariable),t.set(5,nM.symbolClass),t.set(6,nM.symbolStruct),t.set(7,nM.symbolInterface),t.set(8,nM.symbolModule),t.set(9,nM.symbolProperty),t.set(10,nM.symbolEvent),t.set(11,nM.symbolOperator),t.set(12,nM.symbolUnit),t.set(13,nM.symbolValue),t.set(15,nM.symbolEnum),t.set(14,nM.symbolConstant),t.set(15,nM.symbolEnum),t.set(16,nM.symbolEnumMember),t.set(17,nM.symbolKeyword),t.set(27,nM.symbolSnippet),t.set(18,nM.symbolText),t.set(19,nM.symbolColor),t.set(20,nM.symbolFile),t.set(21,nM.symbolReference),t.set(22,nM.symbolCustomColor),t.set(23,nM.symbolFolder),t.set(24,nM.symbolTypeParameter),t.set(25,nM.account),t.set(26,nM.issues),e.toIcon=function(e){let n=t.get(e);return n||(console.info("No codicon found for CompletionItemKind "+e),n=nM.symbolProperty),n};let n=new Map;n.set("method",0),n.set("function",1),n.set("constructor",2),n.set("field",3),n.set("variable",4),n.set("class",5),n.set("struct",6),n.set("interface",7),n.set("module",8),n.set("property",9),n.set("event",10),n.set("operator",11),n.set("unit",12),n.set("value",13),n.set("constant",14),n.set("enum",15),n.set("enum-member",16),n.set("enumMember",16),n.set("keyword",17),n.set("snippet",27),n.set("text",18),n.set("color",19),n.set("file",20),n.set("reference",21),n.set("customcolor",22),n.set("folder",23),n.set("type-parameter",24),n.set("typeParameter",24),n.set("account",25),n.set("issue",26),e.fromString=function(e,t){let i=n.get(e);return void 0!==i||t||(i=9),i}}(g||(g={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(m||(m={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(f||(f={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(p||(p={})),function(e){let t=new Map;t.set(0,nM.symbolFile),t.set(1,nM.symbolModule),t.set(2,nM.symbolNamespace),t.set(3,nM.symbolPackage),t.set(4,nM.symbolClass),t.set(5,nM.symbolMethod),t.set(6,nM.symbolProperty),t.set(7,nM.symbolField),t.set(8,nM.symbolConstructor),t.set(9,nM.symbolEnum),t.set(10,nM.symbolInterface),t.set(11,nM.symbolFunction),t.set(12,nM.symbolVariable),t.set(13,nM.symbolConstant),t.set(14,nM.symbolString),t.set(15,nM.symbolNumber),t.set(16,nM.symbolBoolean),t.set(17,nM.symbolArray),t.set(18,nM.symbolObject),t.set(19,nM.symbolKey),t.set(20,nM.symbolNull),t.set(21,nM.symbolEnumMember),t.set(22,nM.symbolStruct),t.set(23,nM.symbolEvent),t.set(24,nM.symbolOperator),t.set(25,nM.symbolTypeParameter),e.toIcon=function(e){let n=t.get(e);return n||(console.info("No codicon found for SymbolKind "+e),n=nM.symbolProperty),n}}(b||(b={}));class nD{static fromValue(e){switch(e){case"comment":return nD.Comment;case"imports":return nD.Imports;case"region":return nD.Region}return new nD(e)}constructor(e){this.value=e}}nD.Comment=new nD("comment"),nD.Imports=new nD("imports"),nD.Region=new nD("region"),(_||(_={})).is=function(e){return!!e&&"object"==typeof e&&"string"==typeof e.id&&"string"==typeof e.title},function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(C||(C={})),new nk.TokenizationRegistry,function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(y||(y={})),function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"}(v||(v={})),function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(L||(L={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(w||(w={})),function(e){e[e.Deprecated=1]="Deprecated"}(S||(S={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(N||(N={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(E||(E={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(A||(A={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(R||(R={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(x||(x={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(M||(M={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.screenReaderAnnounceInlineSuggestion=6]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=7]="autoClosingDelete",e[e.autoClosingOvertype=8]="autoClosingOvertype",e[e.autoClosingQuotes=9]="autoClosingQuotes",e[e.autoIndent=10]="autoIndent",e[e.automaticLayout=11]="automaticLayout",e[e.autoSurround=12]="autoSurround",e[e.bracketPairColorization=13]="bracketPairColorization",e[e.guides=14]="guides",e[e.codeLens=15]="codeLens",e[e.codeLensFontFamily=16]="codeLensFontFamily",e[e.codeLensFontSize=17]="codeLensFontSize",e[e.colorDecorators=18]="colorDecorators",e[e.colorDecoratorsLimit=19]="colorDecoratorsLimit",e[e.columnSelection=20]="columnSelection",e[e.comments=21]="comments",e[e.contextmenu=22]="contextmenu",e[e.copyWithSyntaxHighlighting=23]="copyWithSyntaxHighlighting",e[e.cursorBlinking=24]="cursorBlinking",e[e.cursorSmoothCaretAnimation=25]="cursorSmoothCaretAnimation",e[e.cursorStyle=26]="cursorStyle",e[e.cursorSurroundingLines=27]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=28]="cursorSurroundingLinesStyle",e[e.cursorWidth=29]="cursorWidth",e[e.disableLayerHinting=30]="disableLayerHinting",e[e.disableMonospaceOptimizations=31]="disableMonospaceOptimizations",e[e.domReadOnly=32]="domReadOnly",e[e.dragAndDrop=33]="dragAndDrop",e[e.dropIntoEditor=34]="dropIntoEditor",e[e.emptySelectionClipboard=35]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=36]="experimentalWhitespaceRendering",e[e.extraEditorClassName=37]="extraEditorClassName",e[e.fastScrollSensitivity=38]="fastScrollSensitivity",e[e.find=39]="find",e[e.fixedOverflowWidgets=40]="fixedOverflowWidgets",e[e.folding=41]="folding",e[e.foldingStrategy=42]="foldingStrategy",e[e.foldingHighlight=43]="foldingHighlight",e[e.foldingImportsByDefault=44]="foldingImportsByDefault",e[e.foldingMaximumRegions=45]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=46]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=47]="fontFamily",e[e.fontInfo=48]="fontInfo",e[e.fontLigatures=49]="fontLigatures",e[e.fontSize=50]="fontSize",e[e.fontWeight=51]="fontWeight",e[e.fontVariations=52]="fontVariations",e[e.formatOnPaste=53]="formatOnPaste",e[e.formatOnType=54]="formatOnType",e[e.glyphMargin=55]="glyphMargin",e[e.gotoLocation=56]="gotoLocation",e[e.hideCursorInOverviewRuler=57]="hideCursorInOverviewRuler",e[e.hover=58]="hover",e[e.inDiffEditor=59]="inDiffEditor",e[e.inlineSuggest=60]="inlineSuggest",e[e.letterSpacing=61]="letterSpacing",e[e.lightbulb=62]="lightbulb",e[e.lineDecorationsWidth=63]="lineDecorationsWidth",e[e.lineHeight=64]="lineHeight",e[e.lineNumbers=65]="lineNumbers",e[e.lineNumbersMinChars=66]="lineNumbersMinChars",e[e.linkedEditing=67]="linkedEditing",e[e.links=68]="links",e[e.matchBrackets=69]="matchBrackets",e[e.minimap=70]="minimap",e[e.mouseStyle=71]="mouseStyle",e[e.mouseWheelScrollSensitivity=72]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=73]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=74]="multiCursorMergeOverlapping",e[e.multiCursorModifier=75]="multiCursorModifier",e[e.multiCursorPaste=76]="multiCursorPaste",e[e.multiCursorLimit=77]="multiCursorLimit",e[e.occurrencesHighlight=78]="occurrencesHighlight",e[e.overviewRulerBorder=79]="overviewRulerBorder",e[e.overviewRulerLanes=80]="overviewRulerLanes",e[e.padding=81]="padding",e[e.pasteAs=82]="pasteAs",e[e.parameterHints=83]="parameterHints",e[e.peekWidgetDefaultFocus=84]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=85]="definitionLinkOpensInPeek",e[e.quickSuggestions=86]="quickSuggestions",e[e.quickSuggestionsDelay=87]="quickSuggestionsDelay",e[e.readOnly=88]="readOnly",e[e.renameOnType=89]="renameOnType",e[e.renderControlCharacters=90]="renderControlCharacters",e[e.renderFinalNewline=91]="renderFinalNewline",e[e.renderLineHighlight=92]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=93]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=94]="renderValidationDecorations",e[e.renderWhitespace=95]="renderWhitespace",e[e.revealHorizontalRightPadding=96]="revealHorizontalRightPadding",e[e.roundedSelection=97]="roundedSelection",e[e.rulers=98]="rulers",e[e.scrollbar=99]="scrollbar",e[e.scrollBeyondLastColumn=100]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=101]="scrollBeyondLastLine",e[e.scrollPredominantAxis=102]="scrollPredominantAxis",e[e.selectionClipboard=103]="selectionClipboard",e[e.selectionHighlight=104]="selectionHighlight",e[e.selectOnLineNumbers=105]="selectOnLineNumbers",e[e.showFoldingControls=106]="showFoldingControls",e[e.showUnused=107]="showUnused",e[e.snippetSuggestions=108]="snippetSuggestions",e[e.smartSelect=109]="smartSelect",e[e.smoothScrolling=110]="smoothScrolling",e[e.stickyScroll=111]="stickyScroll",e[e.stickyTabStops=112]="stickyTabStops",e[e.stopRenderingLineAfter=113]="stopRenderingLineAfter",e[e.suggest=114]="suggest",e[e.suggestFontSize=115]="suggestFontSize",e[e.suggestLineHeight=116]="suggestLineHeight",e[e.suggestOnTriggerCharacters=117]="suggestOnTriggerCharacters",e[e.suggestSelection=118]="suggestSelection",e[e.tabCompletion=119]="tabCompletion",e[e.tabIndex=120]="tabIndex",e[e.unicodeHighlighting=121]="unicodeHighlighting",e[e.unusualLineTerminators=122]="unusualLineTerminators",e[e.useShadowDOM=123]="useShadowDOM",e[e.useTabStops=124]="useTabStops",e[e.wordBreak=125]="wordBreak",e[e.wordSeparators=126]="wordSeparators",e[e.wordWrap=127]="wordWrap",e[e.wordWrapBreakAfterCharacters=128]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=129]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=130]="wordWrapColumn",e[e.wordWrapOverride1=131]="wordWrapOverride1",e[e.wordWrapOverride2=132]="wordWrapOverride2",e[e.wrappingIndent=133]="wrappingIndent",e[e.wrappingStrategy=134]="wrappingStrategy",e[e.showDeprecated=135]="showDeprecated",e[e.inlayHints=136]="inlayHints",e[e.editorClassName=137]="editorClassName",e[e.pixelRatio=138]="pixelRatio",e[e.tabFocusMode=139]="tabFocusMode",e[e.layoutInfo=140]="layoutInfo",e[e.wrappingInfo=141]="wrappingInfo",e[e.defaultColorDecorators=142]="defaultColorDecorators"}(k||(k={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(T||(T={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(O||(O={})),function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"}(I||(I={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(D||(D={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(P||(P={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(F||(F={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(K||(K={})),function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"}(V||(V={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(B||(B={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(q||(q={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(U||(U={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(W||(W={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(H||(H={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}($||($={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"}(z||(z={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(j||(j={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(G||(G={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(Y||(Y={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(J||(J={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(Q||(Q={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(X||(X={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(Z||(Z={})),function(e){e[e.Deprecated=1]="Deprecated"}(ee||(ee={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(et||(et={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(en||(en={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(ei||(ei={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(er||(er={}));class nP{static chord(e,t){return(e|(65535&t)<<16>>>0)>>>0}}nP.CtrlCmd=2048,nP.Shift=1024,nP.Alt=512,nP.WinCtrl=256;class nF extends no{constructor(e){super(0);for(let t=0,n=e.length;tnew nF(e),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(es||(es={})),function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"}(eo||(eo={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(ea||(ea={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(el||(el={}));class nK{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let n=e.length;do{var i;if(this._prevMatchStartIndex+this._prevMatchLength===n||!(t=this._searchRegex.exec(e)))break;let r=t.index,s=t[0].length;if(r===this._prevMatchStartIndex&&s===this._prevMatchLength){if(0===s){(function(e,t,n){let i=e.charCodeAt(n);if(tr(i)&&n+165535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=r,this._prevMatchLength=s,!this._wordSeparators||function(e,t,n,i,r){if(0===i)return!0;let s=t.charCodeAt(i-1);if(0!==e.get(s)||13===s||10===s)return!0;if(r>0){let n=t.charCodeAt(i);if(0!==e.get(n))return!0}return!1}(i=this._wordSeparators,e,0,r,s)&&function(e,t,n,i,r){if(i+r===n)return!0;let s=t.charCodeAt(i+r);if(0!==e.get(s)||13===s||10===s)return!0;if(r>0){let n=t.charCodeAt(i+r-1);if(0!==e.get(n))return!0}return!1}(i,e,n,r,s))return t}while(t)return null}}function nV(e){e()||(e(),ec(new eb("Assertion Failed")))}function nB(e,t){let n=0;for(;nString.fromCodePoint(e)).join("").replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}]`;return n}(Array.from(l))}`,"g");let u=new nK(null,i),h=[],d=!1,c=0,g=0,m=0;e:for(let t=s;t<=o;t++){let n=e.getLineContent(t),i=n.length;u.reset(0);do if(r=u.next(n)){let e=r.index,s=r.index+r[0].length;if(e>0){let t=n.charCodeAt(e-1);tr(t)&&e--}if(s+1=1e3){d=!0;break e}h.push(new t9(t,e+1,t,s+1))}}while(r)}return{ranges:h,hasMore:d,ambiguousCharacterCount:c,invisibleCharacterCount:g,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){let n=new nU(t),i=n.shouldHighlightNonBasicASCII(e,null);switch(i){case 0:return null;case 2:return{kind:1};case 3:{let i=e.codePointAt(0),r=n.ambiguousCharacters.getPrimaryConfusable(i),s=tu.getLocales().filter(e=>!tu.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(i));return{kind:0,confusableWith:String.fromCodePoint(r),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}class nU{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=tu.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of th.codePoints)nW(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let i=!1,r=!1;if(t)for(let e of t){let t=e.codePointAt(0),n=ta.test(e);i=i||n,n||this.ambiguousCharacters.isAmbiguous(t)||th.isInvisibleCharacter(t)||(r=!0)}return!i&&r?0:this.options.invisibleCharacters&&!nW(e)&&th.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function nW(e){return" "===e||"\n"===e||" "===e}class nH{static fromRange(e){return new nH(e.startLineNumber,e.endLineNumber)}static joinMany(e){if(0===e.length)return[];let t=e[0];for(let n=1;n=o.startLineNumber?s=new nH(s.startLineNumber,Math.max(s.endLineNumberExclusive,o.endLineNumberExclusive)):(n.push(s),s=o)}return null!==s&&n.push(s),n}static ofLength(e,t){return new nH(e,e+t)}constructor(e,t){if(e>t)throw new eb(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&e${this.modifiedRange.toString()}}`}get changedLineCount(){return Math.max(this.originalRange.length,this.modifiedRange.length)}}class nj{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}function nG(e,t,n,i){let r=new tM(e,t,n);return r.ComputeDiff(i)}class nY{constructor(e){let t=[],n=[];for(let i=0,r=e.length;i(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class nQ{constructor(e,t,n,i,r,s,o,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=r,this.modifiedStartColumn=s,this.modifiedEndLineNumber=o,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){let i=t.getStartLineNumber(e.originalStart),r=t.getStartColumn(e.originalStart),s=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),a=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),u=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),h=n.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new nQ(i,r,s,o,a,l,u,h)}}class nX{constructor(e,t,n,i,r){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=r}static createFromDiffResult(e,t,n,i,r,s,o){let a,l,u,h,d;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,l=0):(a=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=i.getStartLineNumber(t.modifiedStart)-1,h=0):(u=i.getStartLineNumber(t.modifiedStart),h=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),s&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&r()){let s=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=i.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(s.getElements().length>0&&a.getElements().length>0){let e=nG(s,a,r,!0).changes;o&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],n=t[0];for(let i=1,r=e.length;i1&&o>1;){let i=e.charCodeAt(n-2),r=t.charCodeAt(o-2);if(i!==r)break;n--,o--}(n>1||o>1)&&this._pushTrimWhitespaceCharChange(i,r+1,1,n,s+1,1,o)}{let n=n0(e,1),o=n0(t,1),a=e.length+1,l=t.length+1;for(;n=0;n--){let t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return -1}(e);return -1===n?t:n+2}function n2(e){if(0===e)return()=>!0;let t=Date.now();return()=>Date.now()-tt))return new n4(e,t)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new eb(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new n4(this.start+e,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}join(e){return new n4(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){let t=Math.max(this.start,e.start),n=Math.min(this.endExclusive,e.endExclusive);if(t<=n)return new n4(t,n)}}class n5{static trivial(e,t){return new n5([new n7(new n4(0,e.length),new n4(0,t.length))],!1)}static trivialTimedOut(e,t){return new n5([new n7(new n4(0,e.length),new n4(0,t.length))],!0)}constructor(e,t){this.diffs=e,this.hitTimeout=t}}class n7{constructor(e,t){this.seq1Range=e,this.seq2Range=t}reverse(){return new n7(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new n7(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}}class n9{isValid(){return!0}}n9.instance=new n9;class n6{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new eb("timeout must be positive")}isValid(){let e=Date.now()-this.startTime0&&l>0&&3===s.get(a-1,l-1)&&(u+=o.get(a-1,l-1)),u+=i?i(a,l):1):u=-1;let c=Math.max(h,d,u);if(c===u){let e=a>0&&l>0?o.get(a-1,l-1):0;o.set(a,l,e+1),s.set(a,l,3)}else c===h?(o.set(a,l,0),s.set(a,l,1)):c===d&&(o.set(a,l,0),s.set(a,l,2));r.set(a,l,c)}let a=[],l=e.length,u=t.length;function h(e,t){(e+1!==l||t+1!==u)&&a.push(new n7(new n4(e+1,l),new n4(t+1,u))),l=e,u=t}let d=e.length-1,c=t.length-1;for(;d>=0&&c>=0;)3===s.get(d,c)?(h(d,c),d--,c--):1===s.get(d,c)?d--:c--;return h(-1,-1),a.reverse(),new n5(a,!1)}}function ie(e,t,n){let i=n;return i=function(e,t,n){let i=[];n.length>0&&i.push(n[0]);for(let e=1;e0?n[i-1].seq2Range.endExclusive:-1,o=i+10?n[i-1].seq1Range.endExclusive:-1,o=i+1r&&n.getElement(e.seq2Range.start-s)===n.getElement(e.seq2Range.endExclusive-s)&&s<20;)s++;s--;let o=0;for(;e.seq2Range.start+ol&&(l=u,a=i)}return 0!==a?new n7(e.seq1Range.delta(a),e.seq2Range.delta(a)):e}class ii{compute(e,t,n=n9.instance){if(0===e.length||0===t.length)return n5.trivial(e,t);function i(n,i){for(;n=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class io{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}class ia{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let t=0===e?0:il(this.lines[e-1]),n=e===this.lines.length?0:il(this.lines[e]);return 1e3-(t+n)}}function il(e){let t=0;for(;t0&&t.endExclusive>=e.length&&(t=new n4(t.start-1,t.endExclusive),i=!0),this.lineRange=t;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=ic(e>0?this.elements[e-1]:-1),n=ic(ee?n=i:t=i+1}let i=0===t?0:this.firstCharOffsetByLineMinusOne[t-1];return new t7(this.lineRange.start+t+1,e-i+1+this.offsetByLine[t])}translateRange(e){return t9.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!ih(this.elements[e]))return;let t=e;for(;t>0&&ih(this.elements[t-1]);)t--;let n=e;for(;n=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}const id={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function ic(e){if(10===e)return 7;if(13===e)return 6;if(32===e||9===e)return 5;if(e>=97&&e<=122)return 0;if(e>=65&&e<=90)return 1;if(e>=48&&e<=57)return 2;if(-1===e)return 3;else return 4}const ig={legacy:new class{computeDiff(e,t,n){var i;let r=new nZ(e,t,{maxComputationTime:n.maxComputationTimeMs,shouldIgnoreTrimWhitespace:n.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}),s=r.computeDiff(),o=[],a=null;for(let e of s.changes){let t,n;t=0===e.originalEndLineNumber?new nH(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new nH(e.originalStartLineNumber,e.originalEndLineNumber+1),n=0===e.modifiedEndLineNumber?new nH(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new nH(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1);let r=new nz(t,n,null===(i=e.charChanges)||void 0===i?void 0:i.map(e=>new nj(new t9(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new t9(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));a&&(a.modifiedRange.endLineNumberExclusive===r.modifiedRange.startLineNumber||a.originalRange.endLineNumberExclusive===r.originalRange.startLineNumber)&&(r=new nz(a.originalRange.join(r.originalRange),a.modifiedRange.join(r.modifiedRange),a.innerChanges&&r.innerChanges?a.innerChanges.concat(r.innerChanges):void 0),o.pop()),o.push(r),a=r}return nV(()=>nB(o,(e,t)=>t.originalRange.startLineNumber-e.originalRange.endLineNumberExclusive==t.modifiedRange.startLineNumber-e.modifiedRange.endLineNumberExclusive&&e.originalRange.endLineNumberExclusiveo(e.trim())),l=t.map(e=>o(e.trim())),u=new ia(a,e),h=new ia(l,t),d=u.length+h.length<1500?this.dynamicProgrammingDiffing.compute(u,h,i,(n,i)=>e[n]===t[i]?0===t[i].length?.1:1+Math.log(1+t[i].length):.99):this.myersDiffingAlgorithm.compute(u,h),c=d.diffs,g=d.hitTimeout;c=ie(u,h,c);let m=[],f=n=>{if(r)for(let s=0;sn.seq1Range.start-p==n.seq2Range.start-b);let s=n.seq1Range.start-p;f(s),p=n.seq1Range.endExclusive,b=n.seq2Range.endExclusive;let o=this.refineDiff(e,t,n,i,r);for(let e of(o.hitTimeout&&(g=!0),o.mappings))m.push(e)}f(e.length-p);let _=function(e,t,n){let i=[];for(let r of function*(e,t){let n,i;for(let r of e)void 0!==i&&t(i,r)?n.push(r):(n&&(yield n),n=[r]),i=r;n&&(yield n)}(e.map(e=>(function(e,t,n){let i=0,r=0;e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&(i=1),1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+i<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+i<=e.modifiedRange.endLineNumber&&(r=-1);let s=new nH(e.originalRange.startLineNumber+i,e.originalRange.endLineNumber+1+r),o=new nH(e.modifiedRange.startLineNumber+i,e.modifiedRange.endLineNumber+1+r);return new nz(s,o,[e])})(e,t,n)),(e,t)=>e.originalRange.overlapOrTouch(t.originalRange)||e.modifiedRange.overlapOrTouch(t.modifiedRange))){let e=r[0],t=r[r.length-1];i.push(new nz(e.originalRange.join(t.originalRange),e.modifiedRange.join(t.modifiedRange),r.map(e=>e.innerChanges[0])))}return nV(()=>nB(i,(e,t)=>t.originalRange.startLineNumber-e.originalRange.endLineNumberExclusive==t.modifiedRange.startLineNumber-e.modifiedRange.endLineNumberExclusive&&e.originalRange.endLineNumberExclusivee&&r.push(new n7(i.s1Range,i.s2Range)),i=void 0}for(let r of n){function o(e,t){var n,o,a,l;if(!i||!i.s1Range.containsRange(e)||!i.s2Range.containsRange(t)){if(i&&!(i.s1Range.endExclusive0||t.length>0;){let i;let r=e[0],s=t[0];i=r&&(!s||r.seq1Range.start0&&n[n.length-1].seq1Range.endExclusive>=i.seq1Range.start?n[n.length-1]=n[n.length-1].join(i):n.push(i)}return n}(n,r);return a}(s,o,l));let u=l.map(e=>new nj(s.translateRange(e.seq1Range),o.translateRange(e.seq2Range)));return{mappings:u,hitTimeout:a.hitTimeout}}}};function im(e,t){let n=Math.pow(10,t);return Math.round(e*n)/n}class ip{constructor(e,t,n,i=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=im(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class ib{constructor(e,t,n,i){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=im(Math.max(Math.min(1,t),0),3),this.l=im(Math.max(Math.min(1,n),0),3),this.a=im(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,n=e.g/255,i=e.b/255,r=e.a,s=Math.max(t,n,i),o=Math.min(t,n,i),a=0,l=0,u=(o+s)/2,h=s-o;if(h>0){switch(l=Math.min(u<=.5?h/(2*u):h/(2-2*u),1),s){case t:a=(n-i)/h+(n1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){let t,n,i;let r=e.h/360,{s:s,l:o,a:a}=e;if(0===s)t=n=i=o;else{let e=o<.5?o*(1+s):o+s-o*s,a=2*o-e;t=ib._hue2rgb(a,e,r+1/3),n=ib._hue2rgb(a,e,r),i=ib._hue2rgb(a,e,r-1/3)}return new ip(Math.round(255*t),Math.round(255*n),Math.round(255*i),a)}}class i_{constructor(e,t,n,i){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=im(Math.max(Math.min(1,t),0),3),this.v=im(Math.max(Math.min(1,n),0),3),this.a=im(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let n=e.r/255,i=e.g/255,r=e.b/255,s=Math.max(n,i,r),o=Math.min(n,i,r),a=s-o,l=0===s?0:a/s;return t=0===a?0:s===n?((i-r)/a%6+6)%6:s===i?(r-n)/a+2:(n-i)/a+4,new i_(Math.round(60*t),l,s,e.a)}static toRGBA(e){let{h:t,s:n,v:i,a:r}=e,s=i*n,o=s*(1-Math.abs(t/60%2-1)),a=i-s,[l,u,h]=[0,0,0];return t<60?(l=s,u=o):t<120?(l=o,u=s):t<180?(u=s,h=o):t<240?(u=o,h=s):t<300?(l=o,h=s):t<=360&&(l=s,h=o),l=Math.round((l+a)*255),u=Math.round((u+a)*255),h=Math.round((h+a)*255),new ip(l,u,h,r)}}class iC{static fromHex(e){return iC.Format.CSS.parseHex(e)||iC.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:ib.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:i_.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof ip)this.rgba=e;else if(e instanceof ib)this._hsla=e,this.rgba=ib.toRGBA(e);else if(e instanceof i_)this._hsva=e,this.rgba=i_.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&ip.equals(this.rgba,e.rgba)&&ib.equals(this.hsla,e.hsla)&&i_.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=iC._relativeLuminanceForComponent(this.rgba.r),t=iC._relativeLuminanceForComponent(this.rgba.g),n=iC._relativeLuminanceForComponent(this.rgba.b);return im(.2126*e+.7152*t+.0722*n,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){let e=(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3;return e>=128}isLighterThan(e){let t=this.getRelativeLuminance(),n=e.getRelativeLuminance();return t>n}isDarkerThan(e){let t=this.getRelativeLuminance(),n=e.getRelativeLuminance();return tthis._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,i=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,i=!0):n>e&&(n=e,i=!0)}return i?{lineNumber:t,column:n}:e}}class iR{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new iA(tY.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;let n=this._models[e];n.onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,t,n){return iE(this,void 0,void 0,function*(){let i=this._getModel(e);return i?nq.computeUnicodeHighlights(i,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,t,n,i){return iE(this,void 0,void 0,function*(){let r=this._getModel(e),s=this._getModel(t);return r&&s?iR.computeDiff(r,s,n,i):null})}static computeDiff(e,t,n,i){let r="advanced"===i?ig.advanced:ig.legacy,s=e.getLinesContent(),o=t.getLinesContent(),a=r.computeDiff(s,o,n),l=!(a.changes.length>0)&&this._modelsAreIdentical(e,t);return{identical:l,quitEarly:a.hitTimeout,changes:a.changes.map(e=>{var t;return[e.originalRange.startLineNumber,e.originalRange.endLineNumberExclusive,e.modifiedRange.startLineNumber,e.modifiedRange.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}}static _modelsAreIdentical(e,t){let n=e.getLineCount(),i=t.getLineCount();if(n!==i)return!1;for(let i=1;i<=n;i++){let n=e.getLineContent(i),r=t.getLineContent(i);if(n!==r)return!1}return!0}computeMoreMinimalEdits(e,t,n){return iE(this,void 0,void 0,function*(){let i;let r=this._getModel(e);if(!r)return t;let s=[];for(let{range:e,text:a,eol:l}of t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return t9.compareRangesUsingStarts(e.range,t.range);let n=e.range?0:1,i=t.range?0:1;return n-i})){var o;if("number"==typeof l&&(i=l),t9.isEmpty(e)&&!a)continue;let t=r.getValueInRange(e);if(t===(a=a.replace(/\r\n|\n|\r/g,r.eol)))continue;if(Math.max(a.length,t.length)>iR._diffLimit){s.push({range:e,text:a});continue}let u=(o=a,new tM(new tE(t),new tE(o)).ComputeDiff(n).changes),h=r.offsetAt(t9.lift(e).getStartPosition());for(let e of u){let t=r.positionAt(h+e.originalStart),n=r.positionAt(h+e.originalStart+e.originalLength),i={text:a.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}};r.getValueInRange(i.range)!==i.text&&s.push(i)}}return"number"==typeof i&&s.push({eol:i,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s})}computeLinks(e){return iE(this,void 0,void 0,function*(){let t=this._getModel(e);return t?t&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?nc.computeLinks(t):[]:null})}computeDefaultDocumentColors(e){return iE(this,void 0,void 0,function*(){let t=this._getModel(e);return t?t&&"function"==typeof t.getValue&&"function"==typeof t.positionAt?function(e){let t=[],n=iN(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(n.length>0)for(let i of n){let n;let r=i.filter(e=>void 0!==e),s=r[1],o=r[2];if(o){if("rgb"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;n=iw(iL(e,i),iN(o,t),!1)}else if("rgba"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;n=iw(iL(e,i),iN(o,t),!0)}else if("hsl"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;n=iS(iL(e,i),iN(o,t),!1)}else if("hsla"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;n=iS(iL(e,i),iN(o,t),!0)}else"#"===s&&(n=function(e,t){if(!e)return;let n=iC.Format.CSS.parseHex(t);if(n)return{range:e,color:iv(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}(iL(e,i),s+o));n&&t.push(n)}}return t}(t):[]:null})}textualSuggest(e,t,n,i){return iE(this,void 0,void 0,function*(){let r=new e2(!0),s=new RegExp(n,i),o=new Set;n:for(let n of e){let e=this._getModel(n);if(e){for(let n of e.words(s))if(n!==t&&isNaN(Number(n))&&(o.add(n),o.size>iR._suggestionsLimit))break n}}return{words:Array.from(o),duration:r.elapsed()}})}computeWordRanges(e,t,n,i){return iE(this,void 0,void 0,function*(){let r=this._getModel(e);if(!r)return Object.create(null);let s=new RegExp(n,i),o=Object.create(null);for(let e=t.startLineNumber;efunction(){let n=Array.prototype.slice.call(arguments,0);return t(e,n)},i={};for(let t of e)i[t]=n(t);return i}(n,(e,t)=>this._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:i,getMirrorModels:()=>this._getModels()},t),Promise.resolve(tt(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}iR._diffLimit=1e5,iR._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:class{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new nf),this._token}cancel(){this._token?this._token instanceof nf&&this._token.cancel():this._token=d.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof nf&&this._token.dispose():this._token=d.None}},Emitter:e6,KeyCode:V,KeyMod:nP,Position:t7,Range:t9,Selection:nA,SelectionDirection:Q,MarkerSeverity:B,MarkerTag:q,Uri:tY,Token:class{constructor(e,t,n){this.offset=e,this.type=t,this.language=n,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}});let ix=!1;globalThis.onmessage=e=>{ix||function(e){if(ix)return;ix=!0;let t=new tC(e=>{globalThis.postMessage(e)},e=>new ty.EditorSimpleWorker(e,null));globalThis.onmessage=e=>{t.onmessage(e.data)}}(0)}; \ No newline at end of file diff --git a/docs/editor.worker.a800dd5e.js b/docs/editor.worker.a800dd5e.js new file mode 100644 index 0000000..dd818d9 --- /dev/null +++ b/docs/editor.worker.a800dd5e.js @@ -0,0 +1 @@ +function e(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,enumerable:!0,configurable:!0})}var t=globalThis,r={},i={},n=t.parcelRequire2d1f;null==n&&((n=function(e){if(e in r)return r[e].exports;if(e in i){var t=i[e];delete i[e];var n={id:e,exports:{}};return r[e]=n,t.call(n.exports,n,n.exports),n.exports}var s=Error("Cannot find module '"+e+"'");throw s.code="MODULE_NOT_FOUND",s}).register=function(e,t){i[e]=t},t.parcelRequire2d1f=n);var s=n.register;s("6gZbM",function(t,r){e(t.exports,"logOnceWebWorkerWarning",()=>g),e(t.exports,"SimpleWorkerClient",()=>v),e(t.exports,"SimpleWorkerServer",()=>x);var i=n("8xqBM"),s=n("7QlpW"),o=n("5OUe2"),a=n("cQzfL"),l=n("aWCAT"),u=n("241rv");let h="$initialize",d=!1;function g(e){l.isWeb&&(d||(d=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq")),console.warn(e.message))}class c{constructor(e,t,r,i){this.vsWorker=e,this.req=t,this.method=r,this.args=i,this.type=0}}class f{constructor(e,t,r,i){this.vsWorker=e,this.seq=t,this.res=r,this.err=i,this.type=1}}class m{constructor(e,t,r,i){this.vsWorker=e,this.req=t,this.eventName=r,this.arg=i,this.type=2}}class p{constructor(e,t,r){this.vsWorker=e,this.req=t,this.event=r,this.type=3}}class b{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class _{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let r=String(++this._lastSentReq);return new Promise((i,n)=>{this._pendingReplies[r]={resolve:i,reject:n},this._send(new c(this._workerId,r,e,t))})}listen(e,t){let r=null,i=new s.Emitter({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,i),this._send(new m(this._workerId,r,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new b(this._workerId,r)),r=null}});return i.event}handleMessage(e){e&&e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId)&&this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let r=e.err;e.err.$isError&&((r=Error()).name=e.err.name,r.message=e.err.message,r.stack=e.err.stack),t.reject(r);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req,r=this._handler.handleMessage(e.method,e.args);r.then(e=>{this._send(new f(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=(0,i.transformErrorForSerialization)(e.detail)),this._send(new f(this._workerId,t,void 0,(0,i.transformErrorForSerialization)(e)))})}_handleSubscribeEventMessage(e){let t=e.req,r=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new p(this._workerId,t,e))});this._pendingEvents.set(t,r)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let r=0;r{this._protocol.handleMessage(e)},e=>{null==i||i(e)})),this._protocol=new _({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof r[e])return Promise.reject(Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(r[e].apply(r,t))}catch(e){return Promise.reject(e)}},handleEvent:(e,t)=>{if(L(e)){let i=r[e].call(r,t);if("function"!=typeof i)throw Error(`Missing dynamic event ${e} on main thread host.`);return i}if(C(e)){let t=r[e];if("function"!=typeof t)throw Error(`Missing event ${e} on main thread host.`);return t}throw Error(`Malformed event name ${e}`)}}),this._protocol.setWorkerId(this._worker.getId());let n=null,s=globalThis.require;void 0!==s&&"function"==typeof s.getConfig?n=s.getConfig():void 0!==globalThis.requirejs&&(n=globalThis.requirejs.s.contexts._.config);let o=(0,a.getAllMethodNames)(r);this._onModuleLoaded=this._protocol.sendMessage(h,[this._worker.getId(),JSON.parse(JSON.stringify(n)),t,o]);let l=(e,t)=>this._request(e,t),u=(e,t)=>this._protocol.listen(e,t);this._lazyProxy=new Promise((e,r)=>{i=r,this._onModuleLoaded.then(t=>{e(y(t,l,u))},e=>{r(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((r,i)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(r,i)},i)})}_onError(e,t){console.error(e),console.info(t)}}function C(e){return"o"===e[0]&&"n"===e[1]&&u.isUpperAsciiLetter(e.charCodeAt(2))}function L(e){return/^onDynamic/.test(e)&&u.isUpperAsciiLetter(e.charCodeAt(9))}function y(e,t,r){let i=e=>function(){let r=Array.prototype.slice.call(arguments,0);return t(e,r)},n=e=>function(t){return r(e,t)},s={};for(let t of e){if(L(t)){s[t]=n(t);continue}if(C(t)){s[t]=r(t,void 0);continue}s[t]=i(t)}return s}class x{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new _({sendMessage:(t,r)=>{e(t,r)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if(e===h)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}_handleEvent(e,t){if(!this._requestHandler)throw Error("Missing requestHandler");if(L(e)){let r=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof r)throw Error(`Missing dynamic event ${e} on request handler.`);return r}if(C(e)){let t=this._requestHandler[e];if("function"!=typeof t)throw Error(`Missing event ${e} on request handler.`);return t}throw Error(`Malformed event name ${e}`)}initialize(e,t,r,i){this._protocol.setWorkerId(e);let n=y(i,(e,t)=>this._protocol.sendMessage(e,t),(e,t)=>this._protocol.listen(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(n),Promise.resolve((0,a.getAllMethodNames)(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,void 0!==t.trustedTypesPolicy&&delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise((e,t)=>{let i=globalThis.require;i([r],r=>{if(this._requestHandler=r.create(n),!this._requestHandler){t(Error("No RequestHandler!"));return}e((0,a.getAllMethodNames)(this._requestHandler))},t)}))}}}),s("8xqBM",function(t,r){e(t.exports,"onUnexpectedError",()=>n),e(t.exports,"isCancellationError",()=>l),e(t.exports,"onUnexpectedExternalError",()=>s),e(t.exports,"transformErrorForSerialization",()=>o),e(t.exports,"CancellationError",()=>u),e(t.exports,"canceled",()=>h),e(t.exports,"illegalArgument",()=>d),e(t.exports,"illegalState",()=>g),e(t.exports,"NotSupportedError",()=>c),e(t.exports,"BugIndicatingError",()=>m);let i=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(f.isErrorNoTelemetry(e))throw new f(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function n(e){l(e)||i.onUnexpectedError(e)}function s(e){l(e)||i.onUnexpectedExternalError(e)}function o(e){if(e instanceof Error){let{name:t,message:r}=e,i=e.stacktrace||e.stack;return{$isError:!0,name:t,message:r,stack:i,noTelemetry:f.isErrorNoTelemetry(e)}}return e}let a="Canceled";function l(e){return e instanceof u||e instanceof Error&&e.name===a&&e.message===a}class u extends Error{constructor(){super(a),this.name=this.message}}function h(){let e=Error(a);return e.name=e.message,e}function d(e){return e?Error(`Illegal argument: ${e}`):Error("Illegal argument")}function g(e){return e?Error(`Illegal state: ${e}`):Error("Illegal state")}class c extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}class f extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof f)return e;let t=new f;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class m extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,m.prototype)}}}),s("7QlpW",function(t,r){e(t.exports,"Event",()=>i),e(t.exports,"Emitter",()=>m),e(t.exports,"createEventDeliveryQueue",()=>p),e(t.exports,"PauseableEmitter",()=>_),e(t.exports,"DebounceEmitter",()=>v),e(t.exports,"MicrotaskEmitter",()=>C),e(t.exports,"EventMultiplexer",()=>L),e(t.exports,"EventBufferer",()=>y),e(t.exports,"Relay",()=>x);var i,s=n("8xqBM"),o=n("kvp1V"),a=n("5OUe2"),l=n("1IAZc"),u=n("bVTAA");!function(e){function t(e){return(t,r=null,i)=>{let n,s=!1;return n=e(e=>s?void 0:(n?n.dispose():s=!0,t.call(r,e)),null,i),s&&n.dispose(),n}}function r(e,t,r){return n((r,i=null,n)=>e(e=>r.call(i,t(e)),null,n),r)}function i(e,t,r){return n((r,i=null,n)=>e(e=>t(e)&&r.call(i,e),null,n),r)}function n(e,t){let r;let i=new m({onWillAddFirstListener(){r=e(i.fire,i)},onDidRemoveLastListener(){null==r||r.dispose()}});return null==t||t.add(i),i.event}function s(e,t,r=100,i=!1,n=!1,s,o){let a,l,u,h;let d=0,g=new m({leakWarningThreshold:s,onWillAddFirstListener(){a=e(e=>{d++,u=t(u,e),i&&!h&&(g.fire(u),u=void 0),l=()=>{let e=u;u=void 0,h=void 0,(!i||d>1)&&g.fire(e),d=0},"number"==typeof r?(clearTimeout(h),h=setTimeout(l,r)):void 0===h&&(h=0,queueMicrotask(l))})},onWillRemoveListener(){n&&d>0&&(null==l||l())},onDidRemoveLastListener(){l=void 0,a.dispose()}});return null==o||o.add(g),g.event}e.None=()=>a.Disposable.None,e.defer=function(e,t){return s(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=t,e.map=r,e.forEach=function(e,t,r){return n((r,i=null,n)=>e(e=>{t(e),r.call(i,e)},null,n),r)},e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,r=null,i)=>{let n=(0,a.combinedDisposable)(...e.map(e=>e(e=>t.call(r,e))));return i instanceof Array?i.push(n):i&&i.add(n),n}},e.reduce=function(e,t,i,n){let s=i;return r(e,e=>s=t(s,e),n)},e.debounce=s,e.accumulate=function(t,r=0,i){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],r,void 0,!0,void 0,i)},e.latch=function(e,t=(e,t)=>e===t,r){let n,s=!0;return i(e,e=>{let r=s||!t(e,n);return s=!1,n=e,r},r)},e.split=function(t,r,i){return[e.filter(t,r,i),e.filter(t,e=>!r(e),i)]},e.buffer=function(e,t=!1,r=[],i){let n=r.slice(),s=e(e=>{n?n.push(e):a.fire(e)});i&&i.add(s);let o=()=>{null==n||n.forEach(e=>a.fire(e)),n=null},a=new m({onWillAddFirstListener(){!s&&(s=e(e=>a.fire(e)),i&&i.add(s))},onDidAddFirstListener(){n&&(t?setTimeout(o):o())},onDidRemoveLastListener(){s&&s.dispose(),s=null}});return i&&i.add(a),a.event},e.chain=function(e,t){return(r,i,n)=>{let s=t(new l);return e(function(e){let t=s.evaluate(e);t!==o&&r.call(i,t)},void 0,n)}};let o=Symbol("HaltChainable");class l{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push(t=>(e(t),t)),this}filter(e){return this.steps.push(t=>e(t)?t:o),this}reduce(e,t){let r=t;return this.steps.push(t=>r=e(r,t)),this}latch(e=(e,t)=>e===t){let t,r=!0;return this.steps.push(i=>{let n=r||!e(i,t);return r=!1,t=i,n?i:o}),this}evaluate(e){for(let t of this.steps)if((e=t(e))===o)break;return e}}e.fromNodeEventEmitter=function(e,t,r=e=>e){let i=(...e)=>n.fire(r(...e)),n=new m({onWillAddFirstListener:()=>e.on(t,i),onDidRemoveLastListener:()=>e.removeListener(t,i)});return n.event},e.fromDOMEventEmitter=function(e,t,r=e=>e){let i=(...e)=>n.fire(r(...e)),n=new m({onWillAddFirstListener:()=>e.addEventListener(t,i),onDidRemoveLastListener:()=>e.removeEventListener(t,i)});return n.event},e.toPromise=function(e){return new Promise(r=>t(e)(r))},e.fromPromise=function(e){let t=new m;return e.then(e=>{t.fire(e)},()=>{t.fire(void 0)}).finally(()=>{t.dispose()}),t.event},e.runAndSubscribe=function(e,t,r){return t(r),e(e=>t(e))};class u{constructor(e,t){this._observable=e,this._counter=0,this._hasChanged=!1;this.emitter=new m({onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}}),t&&t.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){let r=new u(e,t);return r.emitter.event},e.fromObservableLight=function(e){return(t,r,i)=>{let n=0,s=!1,o={beginUpdate(){n++},endUpdate(){0==--n&&(e.reportChanges(),s&&(s=!1,t.call(r)))},handlePossibleChange(){},handleChange(){s=!0}};e.addObserver(o),e.reportChanges();let l={dispose(){e.removeObserver(o)}};return i instanceof a.DisposableStore?i.add(l):Array.isArray(i)&&i.push(l),l}}}(i||(i={}));class h{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${h._idPool++}`,h.all.add(this)}start(e){this._stopWatch=new u.StopWatch,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}h.all=new Set,h._idPool=0;class d{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let r=this.threshold;if(r<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class g{static create(){var e;return new g(null!==(e=Error().stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class c{constructor(e){this.value=e}}let f=void 0;class m{constructor(e){var t,r,i,n,s;this._size=0,this._options=e,this._leakageMon=(null===(t=this._options)||void 0===t?void 0:t.leakWarningThreshold)?new d(null!==(i=null===(r=this._options)||void 0===r?void 0:r.leakWarningThreshold)&&void 0!==i?i:-1):void 0,this._perfMon=(null===(n=this._options)||void 0===n?void 0:n._profName)?new h(this._options._profName):void 0,this._deliveryQueue=null===(s=this._options)||void 0===s?void 0:s.deliveryQueue}dispose(){var e,t,r,i;this._disposed||(this._disposed=!0,(null===(e=this._deliveryQueue)||void 0===e?void 0:e.current)===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),null===(r=null===(t=this._options)||void 0===t?void 0:t.onDidRemoveLastListener)||void 0===r||r.call(t),null===(i=this._leakageMon)||void 0===i||i.dispose())}get event(){var e;return null!==(e=this._event)&&void 0!==e||(this._event=(e,t,r)=>{var i,n,s,o,l;let u;if(this._leakageMon&&this._size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),a.Disposable.None;if(this._disposed)return a.Disposable.None;t&&(e=e.bind(t));let h=new c(e);this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(h.stack=g.create(),u=this._leakageMon.check(h.stack,this._size+1)),this._listeners?this._listeners instanceof c?(null!==(l=this._deliveryQueue)&&void 0!==l||(this._deliveryQueue=new b),this._listeners=[this._listeners,h]):this._listeners.push(h):(null===(n=null===(i=this._options)||void 0===i?void 0:i.onWillAddFirstListener)||void 0===n||n.call(i,this),this._listeners=h,null===(o=null===(s=this._options)||void 0===s?void 0:s.onDidAddFirstListener)||void 0===o||o.call(s,this)),this._size++;let d=(0,a.toDisposable)(()=>{null==f||f.unregister(d),null==u||u(),this._removeListener(h)});if(r instanceof a.DisposableStore?r.add(d):Array.isArray(r)&&r.push(d),f){let e=Error().stack.split("\n").slice(2).join("\n").trim();f.register(d,e,d)}return d}),this._event}_removeListener(e){var t,r,i,n;if(null===(r=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===r||r.call(t,this),!this._listeners)return;if(1===this._size){this._listeners=void 0,null===(n=null===(i=this._options)||void 0===i?void 0:i.onDidRemoveLastListener)||void 0===n||n.call(i,this),this._size=0;return}let s=this._listeners,o=s.indexOf(e);if(-1===o)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),Error("Attempted to dispose unknown listener");this._size--,s[o]=void 0;let a=this._deliveryQueue.current===this;if(2*this._size<=s.length){let e=0;for(let t=0;t0}}let p=()=>new b;class b{constructor(){this.i=-1,this.end=0}enqueue(e,t,r){this.i=0,this.end=r,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class _ extends m{constructor(e){super(e),this._isPaused=0,this._eventQueue=new l.LinkedList,this._mergeFn=null==e?void 0:e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused){if(this._mergeFn){if(this._eventQueue.size>0){let e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}}fire(e){this._size&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class v extends _{constructor(e){var t;super(e),this._delay=null!==(t=e.delay)&&void 0!==t?t:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class C extends m{constructor(e){super(e),this._queuedEvents=[],this._mergeFn=null==e?void 0:e.merge}fire(e){this.hasListeners()&&(this._queuedEvents.push(e),1===this._queuedEvents.length&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(e=>super.fire(e)),this._queuedEvents=[]}))}}class L{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new m({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(e){let t={event:e,listener:null};return this.events.push(t),this.hasListeners&&this.hook(t),(0,a.toDisposable)((0,o.createSingleCallFunction)(()=>{this.hasListeners&&this.unhook(t);let e=this.events.indexOf(t);this.events.splice(e,1)}))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(e=>this.hook(e))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(e=>this.unhook(e))}hook(e){e.listener=e.event(e=>this.emitter.fire(e))}unhook(e){var t;null===(t=e.listener)||void 0===t||t.dispose(),e.listener=null}dispose(){var e;for(let t of(this.emitter.dispose(),this.events))null===(e=t.listener)||void 0===e||e.dispose();this.events=[]}}class y{constructor(){this.buffers=[]}wrapEvent(e){return(t,r,i)=>e(e=>{let i=this.buffers[this.buffers.length-1];i?i.push(()=>t.call(r,e)):t.call(r,e)},void 0,i)}bufferEvents(e){let t=[];this.buffers.push(t);let r=e();return this.buffers.pop(),t.forEach(e=>e()),r}}class x{constructor(){this.listening=!1,this.inputEvent=i.None,this.inputEventListener=a.Disposable.None,this.emitter=new m({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}}),s("kvp1V",function(t,r){e(t.exports,"createSingleCallFunction",()=>i);function i(e,t){let r;let i=this,n=!1;return function(){if(n)return r;if(n=!0,t)try{r=e.apply(i,arguments)}finally{t()}else r=e.apply(i,arguments);return r}}}),s("5OUe2",function(t,r){e(t.exports,"Disposable",()=>m),e(t.exports,"trackDisposable",()=>o),e(t.exports,"markAsDisposed",()=>a),e(t.exports,"markAsSingleton",()=>u),e(t.exports,"isDisposable",()=>h),e(t.exports,"dispose",()=>d),e(t.exports,"combinedDisposable",()=>g),e(t.exports,"toDisposable",()=>c),e(t.exports,"DisposableStore",()=>f),e(t.exports,"MutableDisposable",()=>p),e(t.exports,"RefCountedDisposable",()=>b),e(t.exports,"ImmortalReference",()=>_),e(t.exports,"DisposableMap",()=>v);var i=n("kvp1V"),s=n("7XFUZ");function o(e){return e}function a(e){}function l(e,t){}function u(e){return e}function h(e){return"function"==typeof e.dispose&&0===e.dispose.length}function d(e){if((0,s.Iterable).is(e)){let t=[];for(let r of e)if(r)try{r.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function g(...e){let t=c(()=>d(e));return t}function c(e){let t={dispose:(0,i.createSingleCallFunction)(()=>{e()})};return t}class f{constructor(){var e;this._toDispose=new Set,this._isDisposed=!1,e=this}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{d(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return this._isDisposed?f.DISABLE_DISPOSED_WARNING||console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){e&&this._toDispose.has(e)&&this._toDispose.delete(e)}}f.DISABLE_DISPOSED_WARNING=!1;class m{constructor(){var e;this._store=new f,e=this,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}m.None=Object.freeze({dispose(){}});class p{constructor(){var e;this._isDisposed=!1,e=this}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null===(t=this._value)||void 0===t||t.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,null===(e=this._value)||void 0===e||e.dispose(),this._value=void 0}}class b{constructor(e){this._disposable=e,this._counter=1}acquire(){return this._counter++,this}release(){return 0==--this._counter&&this._disposable.dispose(),this}}class _{constructor(e){this.object=e}dispose(){}}class v{constructor(){var e;this._store=new Map,this._isDisposed=!1,e=this}dispose(){this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{d(this._store.values())}finally{this._store.clear()}}get(e){return this._store.get(e)}set(e,t,r=!1){var i;this._isDisposed&&console.warn(Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),r||null===(i=this._store.get(e))||void 0===i||i.dispose(),this._store.set(e,t)}deleteAndDispose(e){var t;null===(t=this._store.get(e))||void 0===t||t.dispose(),this._store.delete(e)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}}),s("7XFUZ",function(t,r){var i;e(t.exports,"Iterable",()=>i),function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;let r=Object.freeze([]);function*i(e){yield e}async function n(e){let t=[];for await(let r of e)t.push(r);return Promise.resolve(t)}e.empty=function(){return r},e.single=i,e.wrap=function(e){return t(e)?e:i(e)},e.from=function(e){return e||r},e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(let r of e)if(t(r))return!0;return!1},e.find=function(e,t){for(let r of e)if(t(r))return r},e.filter=function*(e,t){for(let r of e)t(r)&&(yield r)},e.map=function*(e,t){let r=0;for(let i of e)yield t(i,r++)},e.concat=function*(...e){for(let t of e)yield*t},e.reduce=function(e,t,r){let i=r;for(let r of e)i=t(i,r);return i},e.slice=function*(e,t,r=e.length){for(t<0&&(t+=e.length),r<0?r+=e.length:r>e.length&&(r=e.length);tn}]},e.asyncToArray=n}(i||(i={}))}),s("1IAZc",function(t,r){e(t.exports,"LinkedList",()=>n);class i{constructor(e){this.element=e,this.next=i.Undefined,this.prev=i.Undefined}}i.Undefined=new i(void 0);class n{constructor(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===i.Undefined}clear(){let e=this._first;for(;e!==i.Undefined;){let t=e.next;e.prev=i.Undefined,e.next=i.Undefined,e=t}this._first=i.Undefined,this._last=i.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new i(e);if(this._first===i.Undefined)this._first=r,this._last=r;else if(t){let e=this._last;this._last=r,r.prev=e,e.next=r}else{let e=this._first;this._first=r,r.next=e,e.prev=r}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(r))}}shift(){if(this._first!==i.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==i.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==i.Undefined&&e.next!==i.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===i.Undefined&&e.next===i.Undefined?(this._first=i.Undefined,this._last=i.Undefined):e.next===i.Undefined?(this._last=this._last.prev,this._last.next=i.Undefined):e.prev===i.Undefined&&(this._first=this._first.next,this._first.prev=i.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==i.Undefined;)yield e.element,e=e.next}}}),s("bVTAA",function(t,r){e(t.exports,"StopWatch",()=>n);let i=globalThis.performance&&"function"==typeof globalThis.performance.now;class n{static create(e){return new n(e)}constructor(e){this._now=i&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}}),s("cQzfL",function(t,r){e(t.exports,"deepClone",()=>function e(t){if(!t||"object"!=typeof t||t instanceof RegExp)return t;let r=Array.isArray(t)?[]:{};return Object.entries(t).forEach(([t,i])=>{r[t]=i&&"object"==typeof i?e(i):i}),r}),e(t.exports,"deepFreeze",()=>s),e(t.exports,"cloneAndChange",()=>a),e(t.exports,"mixin",()=>function e(t,r,n=!0){return(0,i.isObject)(t)?((0,i.isObject)(r)&&Object.keys(r).forEach(s=>{s in t?n&&((0,i.isObject)(t[s])&&(0,i.isObject)(r[s])?e(t[s],r[s],n):t[s]=r[s]):t[s]=r[s]}),t):r}),e(t.exports,"equals",()=>function e(t,r){let i,n;if(t===r)return!0;if(null==t||null==r||typeof t!=typeof r||"object"!=typeof t||Array.isArray(t)!==Array.isArray(r))return!1;if(Array.isArray(t)){if(t.length!==r.length)return!1;for(i=0;il),e(t.exports,"createProxyObject",()=>u);var i=n("fYBtw");function s(e){if(!e||"object"!=typeof e)return e;let t=[e];for(;t.length>0;){let e=t.shift();for(let r in Object.freeze(e),e)if(o.call(e,r)){let n=e[r];"object"!=typeof n||Object.isFrozen(n)||(0,i.isTypedArray)(n)||t.push(n)}}return e}let o=Object.prototype.hasOwnProperty;function a(e,t){return function e(t,r,n){if((0,i.isUndefinedOrNull)(t))return t;let s=r(t);if(void 0!==s)return s;if(Array.isArray(t)){let i=[];for(let s of t)i.push(e(s,r,n));return i}if((0,i.isObject)(t)){if(n.has(t))throw Error("Cannot clone recursive data-structure");n.add(t);let i={};for(let s in t)o.call(t,s)&&(i[s]=e(t[s],r,n));return n.delete(t),i}return t}(e,t,new Set)}function l(e){let t=[];for(let r of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"==typeof e[r]&&t.push(r);return t}function u(e,t){let r=e=>function(){let r=Array.prototype.slice.call(arguments,0);return t(e,r)},i={};for(let t of e)i[t]=r(t);return i}}),s("fYBtw",function(t,r){function i(e){return"string"==typeof e}function n(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function s(e){let t=Object.getPrototypeOf(Uint8Array);return"object"==typeof e&&e instanceof t}function o(e){return"number"==typeof e&&!isNaN(e)}function a(e){return!!e&&"function"==typeof e[Symbol.iterator]}function l(e){return!0===e||!1===e}function u(e){return void 0===e}function h(e){return!d(e)}function d(e){return u(e)||null===e}function g(e,t){if(!e)throw Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function c(e){if(d(e))throw Error("Assertion Failed: argument is undefined or null");return e}function f(e){return"function"==typeof e}function m(e,t){let r=Math.min(e.length,t.length);for(let n=0;ni),e(t.exports,"isObject",()=>n),e(t.exports,"isTypedArray",()=>s),e(t.exports,"isNumber",()=>o),e(t.exports,"isIterable",()=>a),e(t.exports,"isBoolean",()=>l),e(t.exports,"isUndefined",()=>u),e(t.exports,"isDefined",()=>h),e(t.exports,"isUndefinedOrNull",()=>d),e(t.exports,"assertType",()=>g),e(t.exports,"assertIsDefined",()=>c),e(t.exports,"isFunction",()=>f),e(t.exports,"validateConstraints",()=>m)}),s("aWCAT",function(t,r){let i,s;e(t.exports,"isWindows",()=>L),e(t.exports,"isMacintosh",()=>y),e(t.exports,"isLinux",()=>x),e(t.exports,"isNative",()=>S),e(t.exports,"isWeb",()=>w),e(t.exports,"webWorkerOrigin",()=>N),e(t.exports,"isIOS",()=>R),e(t.exports,"isMobile",()=>A),e(t.exports,"language",()=>k),e(t.exports,"setTimeout0",()=>I),e(t.exports,"OS",()=>D),e(t.exports,"isLittleEndian",()=>P),e(t.exports,"isChrome",()=>q),e(t.exports,"isFirefox",()=>B),e(t.exports,"isSafari",()=>K),e(t.exports,"isEdge",()=>V),e(t.exports,"isAndroid",()=>U);var o,a,l=n("2hvjT"),u=n("8j2NX");let h=!1,d=!1,g=!1,c=!1,f=!1,m=!1,p=!1,b="en",_=globalThis;void 0!==_.vscode&&void 0!==_.vscode.process?s=_.vscode.process:void 0!==u&&"string"==typeof(null===(o=null==u?void 0:u.versions)||void 0===o?void 0:o.node)&&(s=u);let v="string"==typeof(null===(a=null==s?void 0:s.versions)||void 0===a?void 0:a.electron),C=v&&(null==s?void 0:s.type)==="renderer";if("object"==typeof s){h="win32"===s.platform,d="darwin"===s.platform,(g="linux"===s.platform)&&s.env.SNAP&&s.env.SNAP_REVISION,s.env.CI||s.env.BUILD_ARTIFACTSTAGINGDIRECTORY,b="en";let e=s.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),r=t.availableLanguages["*"];t.locale,t.osLocale,b=r||"en",t._translationsConfigFile}catch(e){}c=!0}else if("object"!=typeof navigator||C)console.error("Unable to resolve platform.");else{h=(i=navigator.userAgent).indexOf("Windows")>=0,d=i.indexOf("Macintosh")>=0,m=(i.indexOf("Macintosh")>=0||i.indexOf("iPad")>=0||i.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,g=i.indexOf("Linux")>=0,p=(null==i?void 0:i.indexOf("Mobi"))>=0,f=!0;let e=l.getConfiguredDefaultLocale(l.localize({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"));b=e||"en",navigator.language}let L=h,y=d,x=g,S=c,w=f,E=f&&"function"==typeof _.importScripts,N=E?_.origin:void 0,R=m,A=p,M=i,k=b,O="function"==typeof _.postMessage&&!_.importScripts,I=(()=>{if(O){let e=[];_.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let r=0,i=e.length;r{let i=++t;e.push({id:i,callback:r}),_.postMessage({vscodeScheduleAsyncWork:i},"*")}}return e=>setTimeout(e)})(),D=d||m?2:h?1:3,T=!0,F=!1;function P(){if(!F){F=!0;let e=new Uint8Array(2);e[0]=1,e[1]=2;let t=new Uint16Array(e.buffer);T=513===t[0]}return T}let q=!!(M&&M.indexOf("Chrome")>=0),B=!!(M&&M.indexOf("Firefox")>=0),K=!!(!q&&M&&M.indexOf("Safari")>=0),V=!!(M&&M.indexOf("Edg/")>=0),U=!!(M&&M.indexOf("Android")>=0)}),s("2hvjT",function(t,r){e(t.exports,"localize",()=>s),e(t.exports,"localize2",()=>o),e(t.exports,"getConfiguredDefaultLocale",()=>a);let i="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function n(e,t){let r;return r=0===t.length?e:e.replace(/\{(\d+)\}/g,(e,r)=>{let i=r[0],n=t[i],s=e;return"string"==typeof n?s=n:("number"==typeof n||"boolean"==typeof n||null==n)&&(s=String(n)),s}),i&&(r="["+r.replace(/[aouei]/g,"$&$&")+"]"),r}function s(e,t,...r){return n(t,r)}function o(e,t,...r){let i=n(t,r);return{value:i,original:i}}function a(e){}}),s("8j2NX",function(e,t){var r,i,n,s=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var u=[],h=!1,d=-1;function g(){h&&n&&(h=!1,n.length?u=n.concat(u):d=-1,u.length&&c())}function c(){if(!h){var e=l(g);h=!0;for(var t=u.length;t;){for(n=u,u=[];++d1)for(var r=1;rl),e(t.exports,"format",()=>h),e(t.exports,"htmlAttributeEncodeValue",()=>d),e(t.exports,"escape",()=>g),e(t.exports,"escapeRegExpCharacters",()=>c),e(t.exports,"trim",()=>f),e(t.exports,"ltrim",()=>m),e(t.exports,"rtrim",()=>p),e(t.exports,"convertSimple2RegExpPattern",()=>b),e(t.exports,"stripWildcards",()=>_),e(t.exports,"createRegExp",()=>v),e(t.exports,"regExpLeadsToEndlessLoop",()=>C),e(t.exports,"splitLines",()=>L),e(t.exports,"splitLinesIncludeSeparators",()=>y),e(t.exports,"firstNonWhitespaceIndex",()=>x),e(t.exports,"getLeadingWhitespace",()=>S),e(t.exports,"lastNonWhitespaceIndex",()=>w),e(t.exports,"compare",()=>E),e(t.exports,"compareSubstring",()=>N),e(t.exports,"compareIgnoreCase",()=>R),e(t.exports,"compareSubstringIgnoreCase",()=>A),e(t.exports,"isLowerAsciiLetter",()=>k),e(t.exports,"isAsciiDigit",()=>M),e(t.exports,"isUpperAsciiLetter",()=>O),e(t.exports,"equalsIgnoreCase",()=>I),e(t.exports,"startsWithIgnoreCase",()=>D),e(t.exports,"commonPrefixLength",()=>T),e(t.exports,"commonSuffixLength",()=>F),e(t.exports,"isHighSurrogate",()=>P),e(t.exports,"isLowSurrogate",()=>q),e(t.exports,"computeCodePoint",()=>B),e(t.exports,"getNextCodePoint",()=>K),e(t.exports,"GraphemeIterator",()=>U),e(t.exports,"nextCharLength",()=>z),e(t.exports,"prevCharLength",()=>W),e(t.exports,"getCharContainingOffset",()=>H),e(t.exports,"containsRTL",()=>j),e(t.exports,"isBasicASCII",()=>G),e(t.exports,"UNUSUAL_LINE_TERMINATORS",()=>Q),e(t.exports,"containsUnusualLineTerminators",()=>Z),e(t.exports,"isFullWidthCharacter",()=>X),e(t.exports,"isEmojiImprecise",()=>Y),e(t.exports,"UTF8_BOM_CHARACTER",()=>J),e(t.exports,"startsWithUTF8BOM",()=>ee),e(t.exports,"containsUppercaseCharacter",()=>et),e(t.exports,"singleLetterHash",()=>er),e(t.exports,"getLeftDeleteOffset",()=>es),e(t.exports,"noBreakWhitespace",()=>eo),e(t.exports,"AmbiguousCharacters",()=>ea),e(t.exports,"InvisibleCharacters",()=>el);var s,o=n("eW9EL"),a=n("gFN5f");function l(e){return!e||"string"!=typeof e||0===e.trim().length}let u=/{(\d+)}/g;function h(e,...t){return 0===t.length?e:e.replace(u,function(e,r){let i=parseInt(r,10);return isNaN(i)||i<0||i>=t.length?e:t[i]})}function d(e){return e.replace(/[<>"'&]/g,e=>{switch(e){case"<":return"<";case">":return">";case'"':return""";case"'":return"'";case"&":return"&"}return e})}function g(e){return e.replace(/[<>&]/g,function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}})}function c(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function f(e,t=" "){let r=m(e,t);return p(r,t)}function m(e,t){if(!e||!t)return e;let r=t.length;if(0===r||0===e.length)return e;let i=0;for(;e.indexOf(t,i)===i;)i+=r;return e.substring(i)}function p(e,t){if(!e||!t)return e;let r=t.length,i=e.length;if(0===r||0===i)return e;let n=i,s=-1;for(;-1!==(s=e.lastIndexOf(t,n-1))&&s+r===n;){if(0===s)return"";n=s}return e.substring(0,n)}function b(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function _(e){return e.replace(/\*/g,"")}function v(e,t,r={}){if(!e)throw Error("Cannot create regex from empty string");t||(e=c(e)),r.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let i="";return r.global&&(i+="g"),r.matchCase||(i+="i"),r.multiline&&(i+="m"),r.unicode&&(i+="u"),new RegExp(e,i)}function C(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;let t=e.exec("");return!!(t&&0===e.lastIndex)}function L(e){return e.split(/\r\n|\r|\n/)}function y(e){var t;let r=[],i=e.split(/(\r\n|\r|\n)/);for(let e=0;e=0;r--){let t=e.charCodeAt(r);if(32!==t&&9!==t)return r}return -1}function E(e,t){return et?1:0}function N(e,t,r=0,i=e.length,n=0,s=t.length){for(;rs)return 1}let o=i-r,a=s-n;return oa?1:0}function R(e,t){return A(e,t,0,e.length,0,t.length)}function A(e,t,r=0,i=e.length,n=0,s=t.length){for(;r=128||a>=128)return N(e.toLowerCase(),t.toLowerCase(),r,i,n,s);k(o)&&(o-=32),k(a)&&(a-=32);let l=o-a;if(0!==l)return l}let o=i-r,a=s-n;return oa?1:0}function M(e){return e>=48&&e<=57}function k(e){return e>=97&&e<=122}function O(e){return e>=65&&e<=90}function I(e,t){return e.length===t.length&&0===A(e,t)}function D(e,t){let r=t.length;return!(t.length>e.length)&&0===A(e,t,0,r)}function T(e,t){let r;let i=Math.min(e.length,t.length);for(r=0;r1){let i=e.charCodeAt(t-2);if(P(i))return B(i,r)}return r}(this._str,this._offset);return this._offset-=e>=65536?2:1,e}nextCodePoint(){let e=K(this._str,this._len,this._offset);return this._offset+=e>=65536?2:1,e}eol(){return this._offset>=this._len}}class U{get offset(){return this._iterator.offset}constructor(e,t=0){this._iterator=new V(e,t)}nextGraphemeLength(){let e=en.getInstance(),t=this._iterator,r=t.offset,i=e.getGraphemeBreakType(t.nextCodePoint());for(;!t.eol();){let r=t.offset,n=e.getGraphemeBreakType(t.nextCodePoint());if(ei(i,n)){t.setOffset(r);break}i=n}return t.offset-r}prevGraphemeLength(){let e=en.getInstance(),t=this._iterator,r=t.offset,i=e.getGraphemeBreakType(t.prevCodePoint());for(;t.offset>0;){let r=t.offset,n=e.getGraphemeBreakType(t.prevCodePoint());if(ei(n,i)){t.setOffset(r);break}i=n}return r-t.offset}eol(){return this._iterator.eol()}}function z(e,t){let r=new U(e,t);return r.nextGraphemeLength()}function W(e,t){let r=new U(e,t);return r.prevGraphemeLength()}function H(e,t){t>0&&q(e.charCodeAt(t))&&t--;let r=t+z(e,t),i=r-W(e,r);return[i,r]}function j(e){return i||(i=/(?:[\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])/),i.test(e)}let $=/^[\t\n\r\x20-\x7E]*$/;function G(e){return $.test(e)}let Q=/[\u2028\u2029]/;function Z(e){return Q.test(e)}function X(e){return e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Y(e){return e>=127462&&e<=127487||8986===e||8987===e||9200===e||9203===e||e>=9728&&e<=10175||11088===e||11093===e||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129008||e>=129280&&e<=129535||e>=129648&&e<=129782}let J=String.fromCharCode(65279);function ee(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function et(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function er(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function ei(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&(11!==e&&9!==e||9!==t&&10!==t)&&(12!==e&&10!==e||10!==t)&&5!==t&&13!==t&&7!==t&&1!==e&&(13!==e||14!==t)&&(6!==e||6!==t))}class en{static getInstance(){return en._INSTANCE||(en._INSTANCE=new en),en._INSTANCE}constructor(){this._data=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]")}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,r=t.length/3,i=1;for(;i<=r;)if(et[3*i+1]))return t[3*i+2];i=2*i+1}return 0}}function es(e,t){if(0===e)return 0;let r=function(e,t){var r;let i=new V(t,e),n=i.prevCodePoint();for(;127995<=(r=n)&&r<=127999||65039===n||8419===n;){if(0===i.offset)return;n=i.prevCodePoint()}if(!Y(n))return;let s=i.offset;if(s>0){let e=i.prevCodePoint();8205===e&&(s=i.offset)}return s}(e,t);if(void 0!==r)return r;let i=new V(t,e);return i.prevCodePoint(),i.offset}en._INSTANCE=null;let eo="\xa0";class ea{static getInstance(e){return s.cache.get(Array.from(e))}static getLocales(){return s._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}s=ea,ea.ambiguousCharacterData=new a.Lazy(()=>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]}')),ea.cache=new o.LRUCachedFunction(e=>{let t;function r(e){let t=new Map;for(let r=0;r!e.startsWith("_")&&e in i);for(let e of(0===n.length&&(n=["_default"]),n)){let n=r(i[e]);t=function(e,t){if(!e)return t;let r=new Map;for(let[i,n]of e)t.has(i)&&r.set(i,n);return r}(t,n)}let o=r(i._common),a=function(e,t){let r=new Map(e);for(let[e,i]of t)r.set(e,i);return r}(o,t);return new s(a)}),ea._locales=new a.Lazy(()=>Object.keys(s.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class el{static getRawData(){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 getData(){return this._data||(this._data=new Set(el.getRawData())),this._data}static isInvisibleCharacter(e){return el.getData().has(e)}static get codePoints(){return el.getData()}}el._data=void 0}),s("eW9EL",function(t,r){e(t.exports,"LRUCachedFunction",()=>i),e(t.exports,"CachedFunction",()=>n);class i{constructor(e,t=JSON.stringify){this.fn=e,this._computeKey=t,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=this._computeKey(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}class n{get cachedValues(){return this._map}constructor(e){this.fn=e,this._map=new Map}get(e){if(this._map.has(e))return this._map.get(e);let t=this.fn(e);return this._map.set(e,t),t}}}),s("gFN5f",function(t,r){e(t.exports,"Lazy",()=>i);class i{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}}),s("7UsX0",function(t,r){e(t.exports,"EditorSimpleWorker",()=>C);var i=n("aWVwc"),s=n("1kHFz"),o=n("bObZh"),a=n("4wyXc"),l=n("2rjm8"),u=n("kVRVx"),h=n("8Ll2j"),d=n("6wxW6"),g=n("j8Ytl"),c=n("bVTAA"),f=n("1Uk78"),m=n("h6xj2"),p=n("cQzfL"),b=n("g961P"),_=n("jh2Xd");class v extends l.MirrorTextModel{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){let t=[];for(let r=0;rthis._lines.length)t=this._lines.length,r=this._lines[t-1].length+1,i=!0;else{let e=this._lines[t-1].length+1;r<1?(r=1,i=!0):r>e&&(r=e,i=!0)}return i?{lineNumber:t,column:r}:e}}class C{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new v((0,s.URI).parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;let r=this._models[e];r.onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}async computeUnicodeHighlights(e,t,r){let i=this._getModel(e);return i?(0,f.UnicodeTextModelHighlighter).computeUnicodeHighlights(i,t,r):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async findSectionHeaders(e,t){let r=this._getModel(e);return r?(0,_.findSectionHeaders)(r,t):[]}async computeDiff(e,t,r,i){let n=this._getModel(e),s=this._getModel(t);if(!n||!s)return null;let o=C.computeDiff(n,s,r,i);return o}static computeDiff(e,t,r,i){let n="advanced"===i?(0,m.linesDiffComputers).getDefault():(0,m.linesDiffComputers).getLegacy(),s=e.getLinesContent(),o=t.getLinesContent(),a=n.computeDiff(s,o,r),l=!(a.changes.length>0)&&this._modelsAreIdentical(e,t);function u(e){return e.map(e=>{var t;return[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}return{identical:l,quitEarly:a.hitTimeout,changes:u(a.changes),moves:a.moves.map(e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,u(e.changes)])}}static _modelsAreIdentical(e,t){let r=e.getLineCount(),i=t.getLineCount();if(r!==i)return!1;for(let i=1;i<=r;i++){let r=e.getLineContent(i),n=t.getLineContent(i);if(r!==n)return!1}return!0}async computeMoreMinimalEdits(e,t,r){let n;let s=this._getModel(e);if(!s)return t;let o=[];t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return(0,a.Range).compareRangesUsingStarts(e.range,t.range);let r=e.range?0:1,i=t.range?0:1;return r-i});let l=0;for(let e=1;eC._diffLimit){o.push({range:e,text:u});continue}let l=(0,i.stringDiff)(t,u,r),d=s.offsetAt((0,a.Range).lift(e).getStartPosition());for(let e of l){let t=s.positionAt(d+e.originalStart),r=s.positionAt(d+e.originalStart+e.originalLength),i={text:u.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:r.lineNumber,endColumn:r.column}};s.getValueInRange(i.range)!==i.text&&o.push(i)}}return"number"==typeof n&&o.push({eol:n,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),o}async computeLinks(e){let t=this._getModel(e);return t?(0,h.computeLinks)(t):null}async computeDefaultDocumentColors(e){let t=this._getModel(e);return t?(0,b.computeDefaultDocumentColors)(t):null}async textualSuggest(e,t,r,i){let n=new c.StopWatch,s=new RegExp(r,i),o=new Set;e:for(let r of e){let e=this._getModel(r);if(e){for(let r of e.words(s))if(r!==t&&isNaN(Number(r))&&(o.add(r),o.size>C._suggestionsLimit))break e}}return{words:Array.from(o),duration:n.elapsed()}}async computeWordRanges(e,t,r,i){let n=this._getModel(e);if(!n)return Object.create(null);let s=new RegExp(r,i),o=Object.create(null);for(let e=t.startLineNumber;ethis._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:i,getMirrorModels:()=>this._getModels()},t),Promise.resolve((0,p.getAllMethodNames)(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}C._diffLimit=1e5,C._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco=(0,g.createMonacoBaseAPI)())}),s("aWVwc",function(t,r){e(t.exports,"stringDiff",()=>a),e(t.exports,"LcsDiff",()=>d);var i=n("9mtJ5"),s=n("1ueLU");class o{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let r=0,i=e.length;r0||this.m_modifiedCount>0)&&this.m_changes.push(new i.DiffChange(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class d{constructor(e,t,r=null){this.ContinueProcessingPredicate=r,this._originalSequence=e,this._modifiedSequence=t;let[i,n,s]=d._getElements(e),[o,a,l]=d._getElements(t);this._hasStrings=s&&l,this._originalStringElements=i,this._originalElementsOrHash=n,this._modifiedStringElements=o,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(d._isStringArray(t)){let e=new Int32Array(t.length);for(let r=0,i=t.length;r=e&&n>=r&&this.ElementsAreEqual(t,n);)t--,n--;if(e>t||r>n){let s;return r<=n?(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),s=[new i.DiffChange(e,0,r,n-r+1)]):e<=t?(l.Assert(r===n+1,"modifiedStart should only be one more than modifiedEnd"),s=[new i.DiffChange(e,t-e+1,r,0)]):(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),l.Assert(r===n+1,"modifiedStart should only be one more than modifiedEnd"),s=[]),s}let o=[0],a=[0],u=this.ComputeRecursionPoint(e,t,r,n,o,a,s),h=o[0],d=a[0];if(null!==u)return u;if(!s[0]){let o=this.ComputeDiffRecursive(e,h,r,d,s),a=[];return a=s[0]?[new i.DiffChange(h+1,t-(h+1)+1,d+1,n-(d+1)+1)]:this.ComputeDiffRecursive(h+1,t,d+1,n,s),this.ConcatenateChanges(o,a)}return[new i.DiffChange(e,t-e+1,r,n-r+1)]}WALKTRACE(e,t,r,n,s,o,a,l,u,d,g,c,f,m,p,b,_,v){let C=null,L=null,y=new h,x=t,S=r,w=f[0]-b[0]-n,E=-1073741824,N=this.m_forwardHistory.length-1;do{let t=w+e;t===x||t=0&&(e=(u=this.m_forwardHistory[N])[0],x=1,S=u.length-1)}while(--N>=-1)if(C=y.getReverseChanges(),v[0]){let e=f[0]+1,t=b[0]+1;if(null!==C&&C.length>0){let r=C[C.length-1];e=Math.max(e,r.getOriginalEnd()),t=Math.max(t,r.getModifiedEnd())}L=[new i.DiffChange(e,c-e+1,t,p-t+1)]}else{y=new h,x=o,S=a,w=f[0]-b[0]-l,E=1073741824,N=_?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=w+s;e===x||e=d[e+1]?(m=(g=d[e+1]-1)-w-l,g>E&&y.MarkNextChange(),E=g+1,y.AddOriginalElement(g+1,m+1),w=e+1-s):(m=(g=d[e-1])-w-l,g>E&&y.MarkNextChange(),E=g,y.AddModifiedElement(g+1,m+1),w=e-1-s),N>=0&&(s=(d=this.m_reverseHistory[N])[0],x=1,S=d.length-1)}while(--N>=-1)L=y.getChanges()}return this.ConcatenateChanges(C,L)}ComputeRecursionPoint(e,t,r,n,s,o,a){let l=0,h=0,d=0,g=0,c=0,f=0;e--,r--,s[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let m=t-e+(n-r),p=m+1,b=new Int32Array(p),_=new Int32Array(p),v=n-r,C=t-e,L=e-r,y=t-n,x=C-v,S=x%2==0;b[v]=e,_[C]=t,a[0]=!1;for(let x=1;x<=m/2+1;x++){let m=0,w=0;d=this.ClipDiagonalBound(v-x,x,v,p),g=this.ClipDiagonalBound(v+x,x,v,p);for(let e=d;e<=g;e+=2){h=(l=e===d||em+w&&(m=l,w=h),!S&&Math.abs(e-C)<=x-1&&l>=_[e]){if(s[0]=l,o[0]=h,r<=_[e]&&x<=1448)return this.WALKTRACE(v,d,g,L,C,c,f,y,b,_,l,t,s,h,n,o,S,a);return null}}let E=(m-e+(w-r)-x)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(m,E)){if(a[0]=!0,s[0]=m,o[0]=w,!(E>0)||!(x<=1448))return e++,r++,[new i.DiffChange(e,t-e+1,r,n-r+1)];break}c=this.ClipDiagonalBound(C-x,x,C,p),f=this.ClipDiagonalBound(C+x,x,C,p);for(let i=c;i<=f;i+=2){h=(l=i===c||i=_[i+1]?_[i+1]-1:_[i-1])-(i-C)-y;let u=l;for(;l>e&&h>r&&this.ElementsAreEqual(l,h);)l--,h--;if(_[i]=l,S&&Math.abs(i-v)<=x&&l<=b[i]){if(s[0]=l,o[0]=h,u>=b[i]&&x<=1448)return this.WALKTRACE(v,d,g,L,C,c,f,y,b,_,l,t,s,h,n,o,S,a);return null}}if(x<=1447){let e=new Int32Array(g-d+2);e[0]=v-d+1,u.Copy2(b,d,e,1,g-d+1),this.m_forwardHistory.push(e),(e=new Int32Array(f-c+2))[0]=C-c+1,u.Copy2(_,c,e,1,f-c+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,d,g,L,C,c,f,y,b,_,l,t,s,h,n,o,S,a)}PrettifyChanges(e){for(let t=0;t0,o=r.modifiedLength>0;for(;r.originalStart+r.originalLength=0;t--){let r=e[t],i=0,n=0;if(t>0){let r=e[t-1];i=r.originalStart+r.originalLength,n=r.modifiedStart+r.modifiedLength}let s=r.originalLength>0,o=r.modifiedLength>0,a=0,l=this._boundaryScore(r.originalStart,r.originalLength,r.modifiedStart,r.modifiedLength);for(let e=1;;e++){let t=r.originalStart-e,u=r.modifiedStart-e;if(tl&&(l=d,a=e)}r.originalStart-=a,r.modifiedStart-=a;let u=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],u)){e[t-1]=u[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,r=e.length;t0&&r>a&&(a=r,l=t,u=e)}return a>0?[l,u]:null}_contiguousSequenceScore(e,t,r){let i=0;for(let n=0;n=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let r=e+t;if(this._OriginalIsBoundary(r-1)||this._OriginalIsBoundary(r))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let r=e+t;if(this._ModifiedIsBoundary(r-1)||this._ModifiedIsBoundary(r))return!0}return!1}_boundaryScore(e,t,r,i){let n=this._OriginalRegionIsBoundary(e,t)?1:0,s=this._ModifiedRegionIsBoundary(r,i)?1:0;return n+s}ConcatenateChanges(e,t){let r=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],r)){let i=Array(e.length+t.length-1);return u.Copy(e,0,i,0,e.length-1),i[e.length-1]=r[0],u.Copy(t,1,i,e.length,t.length-1),i}{let r=Array(e.length+t.length);return u.Copy(e,0,r,0,e.length),u.Copy(t,0,r,e.length,t.length),r}}ChangesOverlap(e,t,r){if(l.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),l.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return r[0]=null,!1;{let n=e.originalStart,s=e.originalLength,o=e.modifiedStart,a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(s=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),r[0]=new i.DiffChange(n,s,o,a),!0}}ClipDiagonalBound(e,t,r,i){if(e>=0&&ei);class i{constructor(e,t,r,i){this.originalStart=e,this.originalLength=t,this.modifiedStart=r,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}}),s("1ueLU",function(t,r){e(t.exports,"hash",()=>s),e(t.exports,"doHash",()=>o),e(t.exports,"stringHash",()=>l),e(t.exports,"StringSHA1",()=>g);var i=n("241rv");function s(e){return o(e,0)}function o(e,t){switch(typeof e){case"object":var r,i;if(null===e)return a(349,t);if(Array.isArray(e))return r=a(104579,r=t),e.reduce((e,t)=>o(t,e),r);return i=a(181387,i=t),Object.keys(e).sort().reduce((t,r)=>(t=l(r,t),o(e[r],t)),i);case"string":return l(e,t);case"boolean":return a(e?433:863,t);case"number":return a(e,t);case"undefined":return a(937,t);default:return a(617,t)}}function a(e,t){return(t<<5)-t+e|0}function l(e,t){t=a(149417,t);for(let r=0,i=e.length;r>>i)>>>0}function h(e,t=0,r=e.byteLength,i=0){for(let n=0;ne.toString(16).padStart(2,"0")).join(""):function(e,t,r="0"){for(;e.length>>0).toString(16),t/4)}class g{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,r;let n=e.length;if(0===n)return;let s=this._buff,o=this._buffLen,a=this._leftoverHighSurrogate;for(0!==a?(t=a,r=-1,a=0):(t=e.charCodeAt(0),r=0);;){let l=t;if(i.isHighSurrogate(t)){if(r+1>>6,e[t++]=128|(63&r)>>>0):r<65536?(e[t++]=224|(61440&r)>>>12,e[t++]=128|(4032&r)>>>6,e[t++]=128|(63&r)>>>0):(e[t++]=240|(1835008&r)>>>18,e[t++]=128|(258048&r)>>>12,e[t++]=128|(4032&r)>>>6,e[t++]=128|(63&r)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),d(this._h0)+d(this._h1)+d(this._h2)+d(this._h3)+d(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,h(this._buff,this._buffLen),this._buffLen>56&&(this._step(),h(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e,t,r;let i=g._bigBlock32,n=this._buffDV;for(let e=0;e<64;e+=4)i.setUint32(e,n.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)i.setUint32(e,u(i.getUint32(e-12,!1)^i.getUint32(e-32,!1)^i.getUint32(e-56,!1)^i.getUint32(e-64,!1),1),!1);let s=this._h0,o=this._h1,a=this._h2,l=this._h3,h=this._h4;for(let n=0;n<80;n++)n<20?(e=o&a|~o&l,t=1518500249):n<40?(e=o^a^l,t=1859775393):n<60?(e=o&a|o&l|a&l,t=2400959708):(e=o^a^l,t=3395469782),r=u(s,5)+e+h+t+i.getUint32(4*n,!1)&4294967295,h=l,l=a,a=u(o,30),o=s,s=r;this._h0=this._h0+s&4294967295,this._h1=this._h1+o&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+h&4294967295}}g._bigBlock32=new DataView(new ArrayBuffer(320))}),s("1kHFz",function(t,r){e(t.exports,"URI",()=>h),e(t.exports,"uriToFsPath",()=>p);var i=n("7ZQsw"),s=n("aWCAT");let o=/^\w[\w\d+.-]*$/,a=/^\//,l=/^\/\//,u=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class h{static isUri(e){return e instanceof h||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,r,i,n,s=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=e||s?e:"file",this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,r||""),this.query=i||"",this.fragment=n||"",function(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!o.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!a.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,s))}get fsPath(){return p(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:r,path:i,query:n,fragment:s}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===r?r=this.authority:null===r&&(r=""),void 0===i?i=this.path:null===i&&(i=""),void 0===n?n=this.query:null===n&&(n=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&r===this.authority&&i===this.path&&n===this.query&&s===this.fragment)?this:new g(t,r,i,n,s)}static parse(e,t=!1){let r=u.exec(e);return r?new g(r[2]||"",v(r[4]||""),v(r[5]||""),v(r[7]||""),v(r[9]||""),t):new g("","","","","")}static file(e){let t="";if(s.isWindows&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){let r=e.indexOf("/",2);-1===r?(t=e.substring(2),e="/"):(t=e.substring(2,r),e=e.substring(r)||"/")}return new g("file",t,e,"","")}static from(e,t){let r=new g(e.scheme,e.authority,e.path,e.query,e.fragment,t);return r}static joinPath(e,...t){let r;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return r=s.isWindows&&"file"===e.scheme?h.file(i.win32.join(p(e,!0),...t)).path:i.posix.join(e.path,...t),e.with({path:r})}toString(e=!1){return b(this,e)}toJSON(){return this}static revive(e){var t,r;if(!e)return e;{if(e instanceof h)return e;let i=new g(e);return i._formatted=null!==(t=e.external)&&void 0!==t?t:null,i._fsPath=e._sep===d&&null!==(r=e.fsPath)&&void 0!==r?r:null,i}}}let d=s.isWindows?1:void 0;class g extends h{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=p(this,!1)),this._fsPath}toString(e=!1){return e?b(this,!0):(this._formatted||(this._formatted=b(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=d),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let c={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function f(e,t,r){let i;let n=-1;for(let s=0;s=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||r&&91===o||r&&93===o||r&&58===o)-1!==n&&(i+=encodeURIComponent(e.substring(n,s)),n=-1),void 0!==i&&(i+=e.charAt(s));else{void 0===i&&(i=e.substr(0,s));let t=c[o];void 0!==t?(-1!==n&&(i+=encodeURIComponent(e.substring(n,s)),n=-1),i+=t):-1===n&&(n=s)}}return -1!==n&&(i+=encodeURIComponent(e.substring(n))),void 0!==i?i:e}function m(e){let t;for(let r=0;r1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,s.isWindows&&(r=r.replace(/\//g,"\\")),r}function b(e,t){let r=t?m:f,i="",{scheme:n,authority:s,path:o,query:a,fragment:l}=e;if(n&&(i+=n+":"),(s||"file"===n)&&(i+="//"),s){let e=s.indexOf("@");if(-1!==e){let t=s.substr(0,e);s=s.substr(e+1),-1===(e=t.lastIndexOf(":"))?i+=r(t,!1,!1):i+=r(t.substr(0,e),!1,!1)+":"+r(t.substr(e+1),!1,!0),i+="@"}-1===(e=(s=s.toLowerCase()).lastIndexOf(":"))?i+=r(s,!1,!0):i+=r(s.substr(0,e),!1,!0)+s.substr(e)}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){let e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){let e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}i+=r(o,!0,!1)}return a&&(i+="?"+r(a,!1,!1)),l&&(i+="#"+(t?l:f(l,!1,!1))),i}let _=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function v(e){return e.match(_)?e.replace(_,e=>(function e(t){try{return decodeURIComponent(t)}catch(r){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}}),s("7ZQsw",function(t,r){e(t.exports,"win32",()=>c),e(t.exports,"posix",()=>m),e(t.exports,"normalize",()=>p),e(t.exports,"resolve",()=>b),e(t.exports,"relative",()=>_),e(t.exports,"dirname",()=>v),e(t.exports,"basename",()=>C),e(t.exports,"extname",()=>L),e(t.exports,"sep",()=>y);var i=n("2SbMF");class s extends Error{constructor(e,t,r){let i;"string"==typeof t&&0===t.indexOf("not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";let n=-1!==e.indexOf(".")?"property":"argument",s=`The "${e}" ${n} ${i} of type ${t}`;super(s+=`. Received type ${typeof r}`),this.code="ERR_INVALID_ARG_TYPE"}}function o(e,t){if("string"!=typeof e)throw new s(t,"string",e)}let a="win32"===i.platform;function l(e){return 47===e||92===e}function u(e){return 47===e}function h(e){return e>=65&&e<=90||e>=97&&e<=122}function d(e,t,r,i){let n="",s=0,o=-1,a=0,l=0;for(let u=0;u<=e.length;++u){if(u2){let e=n.lastIndexOf(r);-1===e?(n="",s=0):s=(n=n.slice(0,e)).length-1-n.lastIndexOf(r),o=u,a=0;continue}if(0!==n.length){n="",s=0,o=u,a=0;continue}}t&&(n+=n.length>0?`${r}..`:"..",s=2)}else n.length>0?n+=`${r}${e.slice(o+1,u)}`:n=e.slice(o+1,u),s=u-o-1;o=u,a=0}else 46===l&&-1!==a?++a:a=-1}return n}function g(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new s(t,"Object",e)}(t,"pathObject");let r=t.dir||t.root,i=t.base||`${t.name||""}${t.ext||""}`;return r?r===t.root?`${r}${i}`:`${r}${e}${i}`:i}let c={resolve(...e){let t="",r="",n=!1;for(let s=e.length-1;s>=-1;s--){let a;if(s>=0){if(o(a=e[s],"path"),0===a.length)continue}else 0===t.length?a=i.cwd():(void 0===(a=i.env[`=${t}`]||i.cwd())||a.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===a.charCodeAt(2))&&(a=`${t}\\`);let u=a.length,d=0,g="",c=!1,f=a.charCodeAt(0);if(1===u)l(f)&&(d=1,c=!0);else if(l(f)){if(c=!0,l(a.charCodeAt(1))){let e=2,t=2;for(;e2&&l(a.charCodeAt(2))&&(c=!0,d=3));if(g.length>0){if(t.length>0){if(g.toLowerCase()!==t.toLowerCase())continue}else t=g}if(n){if(t.length>0)break}else if(r=`${a.slice(d)}\\${r}`,n=c,c&&t.length>0)break}return r=d(r,!n,"\\",l),n?`${t}\\${r}`:`${t}${r}`||"."},normalize(e){let t;o(e,"path");let r=e.length;if(0===r)return".";let i=0,n=!1,s=e.charCodeAt(0);if(1===r)return u(s)?"\\":e;if(l(s)){if(n=!0,l(e.charCodeAt(1))){let n=2,s=2;for(;n2&&l(e.charCodeAt(2))&&(n=!0,i=3));let a=i0&&l(e.charCodeAt(r-1))&&(a+="\\"),void 0===t)?n?`\\${a}`:a:n?`${t}\\${a}`:`${t}${a}`},isAbsolute(e){o(e,"path");let t=e.length;if(0===t)return!1;let r=e.charCodeAt(0);return l(r)||t>2&&h(r)&&58===e.charCodeAt(1)&&l(e.charCodeAt(2))},join(...e){let t,r;if(0===e.length)return".";for(let i=0;i0&&(void 0===t?t=r=n:t+=`\\${n}`)}if(void 0===t)return".";let i=!0,n=0;if("string"==typeof r&&l(r.charCodeAt(0))){++n;let e=r.length;e>1&&l(r.charCodeAt(1))&&(++n,e>2&&(l(r.charCodeAt(2))?++n:i=!1))}if(i){for(;n=2&&(t=`\\${t.slice(n)}`)}return c.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";let r=c.resolve(e),i=c.resolve(t);if(r===i||(e=r.toLowerCase())===(t=i.toLowerCase()))return"";let n=0;for(;nn&&92===e.charCodeAt(s-1);)s--;let a=s-n,l=0;for(;ll&&92===t.charCodeAt(u-1);)u--;let h=u-l,d=ad){if(92===t.charCodeAt(l+f))return i.slice(l+f+1);if(2===f)return i.slice(l+f)}a>d&&(92===e.charCodeAt(n+f)?g=f:2===f&&(g=3)),-1===g&&(g=0)}let m="";for(f=n+g+1;f<=s;++f)(f===s||92===e.charCodeAt(f))&&(m+=0===m.length?"..":"\\..");return(l+=g,m.length>0)?`${m}${i.slice(l,u)}`:(92===i.charCodeAt(l)&&++l,i.slice(l,u))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=c.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(h(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){o(e,"path");let t=e.length;if(0===t)return".";let r=-1,i=0,n=e.charCodeAt(0);if(1===t)return l(n)?e:".";if(l(n)){if(r=i=1,l(e.charCodeAt(1))){let n=2,s=2;for(;n2&&l(e.charCodeAt(2))?3:2);let s=-1,a=!0;for(let r=t-1;r>=i;--r)if(l(e.charCodeAt(r))){if(!a){s=r;break}}else a=!1;if(-1===s){if(-1===r)return".";s=r}return e.slice(0,s)},basename(e,t){let r;void 0!==t&&o(t,"ext"),o(e,"path");let i=0,n=-1,s=!0;if(e.length>=2&&h(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(i=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(r=e.length-1;r>=i;--r){let u=e.charCodeAt(r);if(l(u)){if(!s){i=r+1;break}}else -1===a&&(s=!1,a=r+1),o>=0&&(u===t.charCodeAt(o)?-1==--o&&(n=r):(o=-1,n=a))}return i===n?n=a:-1===n&&(n=e.length),e.slice(i,n)}for(r=e.length-1;r>=i;--r)if(l(e.charCodeAt(r))){if(!s){i=r+1;break}}else -1===n&&(s=!1,n=r+1);return -1===n?"":e.slice(i,n)},extname(e){o(e,"path");let t=0,r=-1,i=0,n=-1,s=!0,a=0;e.length>=2&&58===e.charCodeAt(1)&&h(e.charCodeAt(0))&&(t=i=2);for(let o=e.length-1;o>=t;--o){let t=e.charCodeAt(o);if(l(t)){if(!s){i=o+1;break}continue}-1===n&&(s=!1,n=o+1),46===t?-1===r?r=o:1!==a&&(a=1):-1!==r&&(a=-1)}return -1===r||-1===n||0===a||1===a&&r===n-1&&r===i+1?"":e.slice(r,n)},format:g.bind(null,"\\"),parse(e){o(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let r=e.length,i=0,n=e.charCodeAt(0);if(1===r)return l(n)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(l(n)){if(i=1,l(e.charCodeAt(1))){let t=2,n=2;for(;t0&&(t.root=e.slice(0,i));let s=-1,a=i,u=-1,d=!0,g=e.length-1,c=0;for(;g>=i;--g){if(l(n=e.charCodeAt(g))){if(!d){a=g+1;break}continue}-1===u&&(d=!1,u=g+1),46===n?-1===s?s=g:1!==c&&(c=1):-1!==s&&(c=-1)}return -1!==u&&(-1===s||0===c||1===c&&s===u-1&&s===a+1?t.base=t.name=e.slice(a,u):(t.name=e.slice(a,s),t.base=e.slice(a,u),t.ext=e.slice(s,u))),a>0&&a!==i?t.dir=e.slice(0,a-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},f=(()=>{if(a){let e=/\\/g;return()=>{let t=i.cwd().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>i.cwd()})(),m={resolve(...e){let t="",r=!1;for(let i=e.length-1;i>=-1&&!r;i--){let n=i>=0?e[i]:f();o(n,"path"),0!==n.length&&(t=`${n}/${t}`,r=47===n.charCodeAt(0))}return(t=d(t,!r,"/",u),r)?`/${t}`:t.length>0?t:"."},normalize(e){if(o(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0===(e=d(e,!t,"/",u)).length?t?"/":r?"./":".":(r&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(o(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let r=0;r0&&(void 0===t?t=i:t+=`/${i}`)}return void 0===t?".":m.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t||(e=m.resolve(e))===(t=m.resolve(t)))return"";let r=e.length,i=r-1,n=t.length-1,s=is){if(47===t.charCodeAt(1+l))return t.slice(1+l+1);if(0===l)return t.slice(1+l)}else i>s&&(47===e.charCodeAt(1+l)?a=l:0===l&&(a=0))}let u="";for(l=1+a+1;l<=r;++l)(l===r||47===e.charCodeAt(l))&&(u+=0===u.length?"..":"/..");return`${u}${t.slice(1+a)}`},toNamespacedPath:e=>e,dirname(e){if(o(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),r=-1,i=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!i){r=t;break}}else i=!1;return -1===r?t?"/":".":t&&1===r?"//":e.slice(0,r)},basename(e,t){let r;void 0!==t&&o(t,"ext"),o(e,"path");let i=0,n=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(r=e.length-1;r>=0;--r){let l=e.charCodeAt(r);if(47===l){if(!s){i=r+1;break}}else -1===a&&(s=!1,a=r+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(n=r):(o=-1,n=a))}return i===n?n=a:-1===n&&(n=e.length),e.slice(i,n)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!s){i=r+1;break}}else -1===n&&(s=!1,n=r+1);return -1===n?"":e.slice(i,n)},extname(e){o(e,"path");let t=-1,r=0,i=-1,n=!0,s=0;for(let o=e.length-1;o>=0;--o){let a=e.charCodeAt(o);if(47===a){if(!n){r=o+1;break}continue}-1===i&&(n=!1,i=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1)}return -1===t||-1===i||0===s||1===s&&t===i-1&&t===r+1?"":e.slice(t,i)},format:g.bind(null,"/"),parse(e){let t;o(e,"path");let r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;let i=47===e.charCodeAt(0);i?(r.root="/",t=1):t=0;let n=-1,s=0,a=-1,l=!0,u=e.length-1,h=0;for(;u>=t;--u){let t=e.charCodeAt(u);if(47===t){if(!l){s=u+1;break}continue}-1===a&&(l=!1,a=u+1),46===t?-1===n?n=u:1!==h&&(h=1):-1!==n&&(h=-1)}if(-1!==a){let t=0===s&&i?1:s;-1===n||0===h||1===h&&n===a-1&&n===s+1?r.base=r.name=e.slice(t,a):(r.name=e.slice(t,n),r.base=e.slice(t,a),r.ext=e.slice(n,a))}return s>0?r.dir=e.slice(0,s-1):i&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};m.win32=c.win32=c,m.posix=c.posix=m;let p=a?c.normalize:m.normalize,b=a?c.resolve:m.resolve,_=a?c.relative:m.relative,v=a?c.dirname:m.dirname,C=a?c.basename:m.basename,L=a?c.extname:m.extname,y=a?c.sep:m.sep}),s("2SbMF",function(t,r){let i;e(t.exports,"cwd",()=>l),e(t.exports,"env",()=>u),e(t.exports,"platform",()=>h);var s=n("aWCAT"),o=n("8j2NX");let a=globalThis.vscode;if(void 0!==a&&void 0!==a.process){let e=a.process;i={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd:()=>e.cwd()}}else i=void 0!==o?{get platform(){return o.platform},get arch(){return o.arch},get env(){return o.env},cwd:()=>o.cwd()}:{get platform(){return s.isWindows?"win32":s.isMacintosh?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let l=i.cwd,u=i.env,h=i.platform}),s("bObZh",function(t,r){e(t.exports,"Position",()=>i);class i{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new i(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return i.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return i.isBefore(this,e)}static isBefore(e,t){return e.lineNumbers);var i=n("bObZh");class s{constructor(e,t,r,i){e>r||e===r&&t>i?(this.startLineNumber=r,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=r,this.endColumn=i)}isEmpty(){return s.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return s.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))}containsRange(e){return s.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))}strictContainsRange(e){return s.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))}plusRange(e){return s.plusRange(this,e)}static plusRange(e,t){let r,i,n,o;return t.startLineNumbere.endLineNumber?(n=t.endLineNumber,o=t.endColumn):t.endLineNumber===e.endLineNumber?(n=t.endLineNumber,o=Math.max(t.endColumn,e.endColumn)):(n=e.endLineNumber,o=e.endColumn),new s(r,i,n,o)}intersectRanges(e){return s.intersectRanges(this,e)}static intersectRanges(e,t){let r=e.startLineNumber,i=e.startColumn,n=e.endLineNumber,o=e.endColumn,a=t.startLineNumber,l=t.startColumn,u=t.endLineNumber,h=t.endColumn;return(ru?(n=u,o=h):n===u&&(o=Math.min(o,h)),r>n||r===n&&i>o)?null:new s(r,i,n,o)}equalsRange(e){return s.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return s.getEndPosition(this)}static getEndPosition(e){return new i.Position(e.endLineNumber,e.endColumn)}getStartPosition(){return s.getStartPosition(this)}static getStartPosition(e){return new i.Position(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new s(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new s(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return s.collapseToStart(this)}static collapseToStart(e){return new s(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return s.collapseToEnd(this)}static collapseToEnd(e){return new s(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new s(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new s(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new s(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}}),s("2rjm8",function(t,r){e(t.exports,"MirrorTextModel",()=>a);var i=n("241rv"),s=n("bObZh"),o=n("7Bfsr");class a{constructor(e,t,r,i){this._uri=e,this._lines=t,this._eol=r,this._versionId=i,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);let t=e.changes;for(let e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new s.Position(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,r=new Uint32Array(t);for(let i=0;io),e(t.exports,"ConstantTimePrefixSumComputer",()=>a);var i=n("hfZZt"),s=n("g6TbN");class o{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=(0,s.toUint32)(e);let r=this.values,i=this.prefixSum,n=t.length;return 0!==n&&(this.values=new Uint32Array(r.length+n),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e),e+n),this.values.set(t,e),e-1=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=(0,s.toUint32)(e),t=(0,s.toUint32)(t),this.values[e]!==t&&(this.values[e]=t,e-1=r.length)return!1;let n=r.length-e;return t>=n&&(t=n),0!==t&&(this.values=new Uint32Array(r.length-t),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=(0,s.toUint32)(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let r=t;r<=e;r++)this.prefixSum[r]=this.prefixSum[r-1]+this.values[r];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,r=this.values.length-1,i=0,n=0,s=0;for(;t<=r;)if(i=t+(r-t)/2|0,e<(s=(n=this.prefixSum[i])-this.values[i]))r=i-1;else if(e>=n)t=i+1;else break;return new l(i,e-s)}}class a{constructor(e){this._values=e,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(e){return(this._ensureValid(),0===e)?0:this._prefixSum[e-1]}getIndexOf(e){this._ensureValid();let t=this._indexBySum[e],r=t>0?this._prefixSum[t-1]:0;return new l(t,e-r)}removeValues(e,t){this._values.splice(e,t),this._invalidate(e)}insertValues(e,t){this._values=(0,i.arrayInsert)(this._values,e,t),this._invalidate(e)}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let e=this._validEndIndex+1,t=this._values.length;e0?this._prefixSum[e-1]:0;this._prefixSum[e]=r+t;for(let i=0;ie===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let i=0,n=e.length;i0))return e;i=e-1}}return-(r+1)}(e.length,i=>r(e[i],t))}function h(e,t){let r;let i=[];for(let n of e.slice(0).sort(t))r&&0===t(r[0],n)?r.push(n):(r=[n],i.push(r));return i}function*d(e,t){let r,i;for(let n of e)void 0!==i&&t(i,n)?r.push(n):(r&&(yield r),r=[n]),i=n;r&&(yield r)}function g(e,t){for(let r=0;r<=e.length;r++)t(0===r?void 0:e[r-1],r===e.length?void 0:e[r])}function c(e,t){for(let r=0;r!!e)}function m(e){let t=0;for(let r=0;r0}function _(e,t=e=>e){let r=new Set;return e.filter(e=>{let i=t(e);return!r.has(i)&&(r.add(i),!0)})}function v(e,t){return e.length>0?e[0]:t}function C(e,t){let r="number"==typeof t?e:0;"number"==typeof t?r=e:(r=0,t=e);let i=[];if(r<=t)for(let e=r;et;e--)i.push(e);return i}function L(e,t,r){let i=e.slice(0,t),n=e.slice(t);return i.concat(r,n)}function y(e,t){let r=e.indexOf(t);r>-1&&(e.splice(r,1),e.unshift(t))}function x(e,t){let r=e.indexOf(t);r>-1&&(e.splice(r,1),e.push(t))}function S(e,t){for(let r of t)e.push(r)}function w(e){return Array.isArray(e)?e:[e]}function E(e,t,r,i){let n=N(e,t),s=e.splice(n,r);return void 0===s&&(s=[]),function(e,t,r){let i=N(e,t),n=e.length,s=r.length;e.length=n+s;for(let t=n-1;t>=i;t--)e[t+s]=e[t];for(let t=0;tt(e(r),e(i))}function A(...e){return(t,r)=>{for(let n of e){let e=n(t,r);if(!i.isNeitherLessOrGreaterThan(e))return e}return i.neitherLessOrGreaterThan}}e(t.exports,"tail",()=>s),e(t.exports,"tail2",()=>o),e(t.exports,"equals",()=>a),e(t.exports,"removeFastWithoutKeepingOrder",()=>l),e(t.exports,"binarySearch",()=>u),e(t.exports,"quickSelect",()=>function e(t,r,i){if((t|=0)>=r.length)throw TypeError("invalid index");let n=r[Math.floor(r.length*Math.random())],s=[],o=[],a=[];for(let e of r){let t=i(e,n);t<0?s.push(e):t>0?o.push(e):a.push(e)}return th),e(t.exports,"groupAdjacentBy",()=>d),e(t.exports,"forEachAdjacent",()=>g),e(t.exports,"forEachWithNeighbors",()=>c),e(t.exports,"coalesce",()=>f),e(t.exports,"coalesceInPlace",()=>m),e(t.exports,"isFalsyOrEmpty",()=>p),e(t.exports,"isNonEmptyArray",()=>b),e(t.exports,"distinct",()=>_),e(t.exports,"firstOrDefault",()=>v),e(t.exports,"range",()=>C),e(t.exports,"arrayInsert",()=>L),e(t.exports,"pushToStart",()=>y),e(t.exports,"pushToEnd",()=>x),e(t.exports,"pushMany",()=>S),e(t.exports,"asArray",()=>w),e(t.exports,"splice",()=>E),e(t.exports,"compareBy",()=>R),e(t.exports,"tieBreakComparators",()=>A),e(t.exports,"numberComparator",()=>M),e(t.exports,"booleanComparator",()=>k),e(t.exports,"reverseOrder",()=>O),e(t.exports,"ArrayQueue",()=>I),e(t.exports,"CallbackIterable",()=>D),e(t.exports,"Permutation",()=>T),(n=i||(i={})).isLessThan=function(e){return e<0},n.isLessThanOrEqual=function(e){return e<=0},n.isGreaterThan=function(e){return e>0},n.isNeitherLessOrGreaterThan=function(e){return 0===e},n.greaterThan=1,n.lessThan=-1,n.neitherLessOrGreaterThan=0;let M=(e,t)=>e-t,k=(e,t)=>M(e?1:0,t?1:0);function O(e){return(t,r)=>-e(t,r)}class I{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;let r=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,r}peek(){if(0!==this.length)return this.items[this.firstIdx]}dequeue(){let e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){let t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}class D{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new D(t=>this.iterate(r=>!e(r)||t(r)))}map(e){return new D(t=>this.iterate(r=>t(e(r))))}findLast(e){let t;return this.iterate(r=>(e(r)&&(t=r),!0)),t}findLastMaxBy(e){let t;let r=!0;return this.iterate(n=>((r||i.isGreaterThan(e(n,t)))&&(r=!1,t=n),!0)),t}}D.empty=new D(e=>{});class T{constructor(e){this._indexMap=e}static createSortPermutation(e,t){let r=Array.from(e.keys()).sort((r,i)=>t(e[r],e[i]));return new T(r)}apply(e){return e.map((t,r)=>e[this._indexMap[r]])}inverse(){let e=this._indexMap.slice();for(let t=0;t255?255:0|e}function n(e){return e<0?0:e>4294967295?4294967295:0|e}e(t.exports,"toUint8",()=>i),e(t.exports,"toUint32",()=>n)}),s("kVRVx",function(t,r){e(t.exports,"USUAL_WORD_SEPARATORS",()=>o),e(t.exports,"DEFAULT_WORD_REGEXP",()=>a),e(t.exports,"ensureValidWordDefinition",()=>l),e(t.exports,"getWordAtText",()=>function e(t,r,n,s,o){if(r=l(r),o||(o=(0,i.Iterable).first(u)),n.length>o.maxLen){let i=t-o.maxLen/2;return i<0?i=0:s+=i,n=n.substring(i,t+o.maxLen/2),e(t,r,n,s,o)}let a=Date.now(),h=t-1-s,d=-1,g=null;for(let e=1;!(Date.now()-a>=o.timeBudget);e++){let t=h-o.windowSize*e;r.lastIndex=Math.max(0,t);let i=function(e,t,r,i){let n;for(;n=e.exec(t);){let t=n.index||0;if(t<=r&&e.lastIndex>=r)return n;if(i>0&&t>i)break}return null}(r,n,h,d);if(!i&&g||(g=i,t<=0))break;d=t}if(g){let e={word:g[0],startColumn:s+1+g.index,endColumn:s+1+g.index+g[0].length};return r.lastIndex=0,e}return null});var i=n("7XFUZ"),s=n("1IAZc");let o="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",a=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(let r of o)e.indexOf(r)>=0||(t+="\\"+r);return RegExp(t+="\\s]+)","g")}();function l(e){let t=a;if(e&&e instanceof RegExp){if(e.global)t=e;else{let r="g";e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.unicode&&(r+="u"),t=new RegExp(e.source,r)}}return t.lastIndex=0,t}let u=new s.LinkedList;u.unshift({maxLen:1e3,windowSize:15,timeBudget:150})}),s("8Ll2j",function(t,r){e(t.exports,"computeLinks",()=>d);var i=n("cFbHN");class s{constructor(e,t,r){let i=new Uint8Array(e*t);for(let n=0,s=e*t;nt&&(t=s),n>r&&(r=n),o>r&&(r=o)}t++,r++;let i=new s(r,t,0);for(let t=0,r=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let a=null;function l(){return null===a&&(a=new o([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),a}let u=null;class h{static _createLink(e,t,r,i,n){let s=n-1;do{let r=t.charCodeAt(s),i=e.get(r);if(2!==i)break;s--}while(s>i)if(i>0){let e=t.charCodeAt(i-1),r=t.charCodeAt(s);(40===e&&41===r||91===e&&93===r||123===e&&125===r)&&s--}return{range:{startLineNumber:r,startColumn:i+1,endLineNumber:r,endColumn:s+2},url:t.substring(i,s+1)}}static computeLinks(e,t=l()){let r=function(){if(null===u){u=new i.CharacterClassifier(0);let e=" <>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let t=0;ts),e(t.exports,"CharacterSet",()=>o);var i=n("g6TbN");class s{constructor(e){let t=(0,i.toUint8)(e);this._defaultValue=t,this._asciiMap=s._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let r=(0,i.toUint8)(t);e>=0&&e<256?this._asciiMap[e]=r:this._map.set(e,r)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class o{constructor(){this._actual=new s(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}clear(){return this._actual.clear()}}}),s("6wxW6",function(t,r){e(t.exports,"BasicInplaceReplace",()=>i);class i{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,r,i,n){if(e&&t){let r=this.doNavigateValueSet(t,n);if(r)return{range:e,value:r}}if(r&&i){let e=this.doNavigateValueSet(i,n);if(e)return{range:r,value:e}}return null}doNavigateValueSet(e,t){let r=this.numberReplace(e,t);return null!==r?r:this.textReplace(e,t)}numberReplace(e,t){let r=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),i=Number(e),n=parseFloat(e);return isNaN(i)||isNaN(n)||i!==n||0===i&&!t?null:String((i=Math.floor(i*r)+(t?r:-r))/r)}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,r){let i=null;for(let n=0,s=e.length;null===i&&n=0?((i+=r?1:-1)<0?i=e.length-1:i%=e.length,e[i]):null}}i.INSTANCE=new i}),s("j8Ytl",function(t,r){e(t.exports,"createMonacoBaseAPI",()=>f);var i=n("92LcW"),s=n("7QlpW"),o=n("1hXil"),a=n("1kHFz"),l=n("bObZh"),u=n("4wyXc"),h=n("b34Mx"),d=n("lMQ4E"),g=n("d6Eqw");class c{static chord(e,t){return(0,o.KeyChord)(e,t)}}function f(){return{editor:void 0,languages:void 0,CancellationTokenSource:i.CancellationTokenSource,Emitter:s.Emitter,KeyCode:g.KeyCode,KeyMod:c,Position:l.Position,Range:u.Range,Selection:h.Selection,SelectionDirection:g.SelectionDirection,MarkerSeverity:g.MarkerSeverity,MarkerTag:g.MarkerTag,Uri:a.URI,Token:d.Token}}c.CtrlCmd=2048,c.Shift=1024,c.Alt=512,c.WinCtrl=256}),s("92LcW",function(t,r){e(t.exports,"CancellationToken",()=>s),e(t.exports,"CancellationTokenSource",()=>u);var i,s,o=n("7QlpW");let a=Object.freeze(function(e,t){let r=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(r)}}});(i=s||(s={})).isCancellationToken=function(e){return e===i.None||e===i.Cancelled||e instanceof l||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},i.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:o.Event.None}),i.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:a});class l{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?a:(this._emitter||(this._emitter=new o.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class u{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new l),this._token}cancel(){this._token?this._token instanceof l&&this._token.cancel():this._token=s.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof l&&this._token.dispose():this._token=s.None}}}),s("1hXil",function(t,r){var i,n;e(t.exports,"EVENT_KEY_CODE_MAP",()=>u),e(t.exports,"IMMUTABLE_CODE_TO_KEY_CODE",()=>f),e(t.exports,"KeyCodeUtils",()=>i),e(t.exports,"KeyChord",()=>p);class s{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let o=new s,a=new s,l=new s,u=Array(230),h={},d=[],g=Object.create(null),c=Object.create(null),f=[],m=[];for(let e=0;e<=193;e++)f[e]=-1;for(let e=0;e<=132;e++)m[e]=-1;function p(e,t){return(e|(65535&t)<<16>>>0)>>>0}(function(){let e=[],t=[];for(let r of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[i,n,s,p,b,_,v,C,L]=r;if(!t[n]&&(t[n]=!0,d[n]=s,g[s]=n,c[s.toLowerCase()]=n,i&&(f[n]=p,0!==p&&3!==p&&5!==p&&4!==p&&6!==p&&57!==p&&(m[p]=n))),!e[p]){if(e[p]=!0,!b)throw Error(`String representation missing for key code ${p} around scan code ${s}`);o.define(p,b),a.define(p,C||b),l.define(p,L||C||b)}_&&(u[_]=p),v&&(h[v]=p)}m[3]=46})(),(n=i||(i={})).toString=function(e){return o.keyCodeToStr(e)},n.fromString=function(e){return o.strToKeyCode(e)},n.toUserSettingsUS=function(e){return a.keyCodeToStr(e)},n.toUserSettingsGeneral=function(e){return l.keyCodeToStr(e)},n.fromUserSettings=function(e){return a.strToKeyCode(e)||l.strToKeyCode(e)},n.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return o.keyCodeToStr(e)}}),s("b34Mx",function(t,r){e(t.exports,"Selection",()=>o);var i=n("bObZh"),s=n("4wyXc");class o extends s.Range{constructor(e,t,r,i){super(e,t,r,i),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=r,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new i.Position(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new i.Position(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new o(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new o(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let r=0,i=e.length;rE),e(t.exports,"TokenizationResult",()=>N),e(t.exports,"EncodedTokenizationResult",()=>R),e(t.exports,"CompletionItemKinds",()=>d),e(t.exports,"InlineCompletionTriggerKind",()=>g),e(t.exports,"SelectedSuggestionInfo",()=>A),e(t.exports,"DocumentPasteTriggerKind",()=>c),e(t.exports,"SignatureHelpTriggerKind",()=>f),e(t.exports,"DocumentHighlightKind",()=>m),e(t.exports,"isLocationLink",()=>M),e(t.exports,"getAriaLabelForSymbol",()=>O),e(t.exports,"SymbolKinds",()=>p),e(t.exports,"FoldingRangeKind",()=>I),e(t.exports,"NewSymbolNameTag",()=>b),e(t.exports,"Command",()=>_),e(t.exports,"InlayHintKind",()=>v),e(t.exports,"LazyTokenizationSupport",()=>D),e(t.exports,"TokenizationRegistry",()=>T),e(t.exports,"InlineEditTriggerKind",()=>C);var i,s,o,a,l,u,h,d,g,c,f,m,p,b,_,v,C,L=n("dNs4Z"),y=n("1kHFz"),x=n("4wyXc"),S=n("O8u1m"),w=n("2hvjT");class E{constructor(e,t,r){this.offset=e,this.type=t,this.language=r,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}class N{constructor(e,t){this.tokens=e,this.endState=t,this._tokenizationResultBrand=void 0}}class R{constructor(e,t){this.tokens=e,this.endState=t,this._encodedTokenizationResultBrand=void 0}}(function(e){let t=new Map;t.set(0,L.Codicon.symbolMethod),t.set(1,L.Codicon.symbolFunction),t.set(2,L.Codicon.symbolConstructor),t.set(3,L.Codicon.symbolField),t.set(4,L.Codicon.symbolVariable),t.set(5,L.Codicon.symbolClass),t.set(6,L.Codicon.symbolStruct),t.set(7,L.Codicon.symbolInterface),t.set(8,L.Codicon.symbolModule),t.set(9,L.Codicon.symbolProperty),t.set(10,L.Codicon.symbolEvent),t.set(11,L.Codicon.symbolOperator),t.set(12,L.Codicon.symbolUnit),t.set(13,L.Codicon.symbolValue),t.set(15,L.Codicon.symbolEnum),t.set(14,L.Codicon.symbolConstant),t.set(15,L.Codicon.symbolEnum),t.set(16,L.Codicon.symbolEnumMember),t.set(17,L.Codicon.symbolKeyword),t.set(27,L.Codicon.symbolSnippet),t.set(18,L.Codicon.symbolText),t.set(19,L.Codicon.symbolColor),t.set(20,L.Codicon.symbolFile),t.set(21,L.Codicon.symbolReference),t.set(22,L.Codicon.symbolCustomColor),t.set(23,L.Codicon.symbolFolder),t.set(24,L.Codicon.symbolTypeParameter),t.set(25,L.Codicon.account),t.set(26,L.Codicon.issues),e.toIcon=function(e){let r=t.get(e);return r||(console.info("No codicon found for CompletionItemKind "+e),r=L.Codicon.symbolProperty),r};let r=new Map;r.set("method",0),r.set("function",1),r.set("constructor",2),r.set("field",3),r.set("variable",4),r.set("class",5),r.set("struct",6),r.set("interface",7),r.set("module",8),r.set("property",9),r.set("event",10),r.set("operator",11),r.set("unit",12),r.set("value",13),r.set("constant",14),r.set("enum",15),r.set("enum-member",16),r.set("enumMember",16),r.set("keyword",17),r.set("snippet",27),r.set("text",18),r.set("color",19),r.set("file",20),r.set("reference",21),r.set("customcolor",22),r.set("folder",23),r.set("type-parameter",24),r.set("typeParameter",24),r.set("account",25),r.set("issue",26),e.fromString=function(e,t){let i=r.get(e);return void 0!==i||t||(i=9),i}})(d||(d={})),(i=g||(g={}))[i.Automatic=0]="Automatic",i[i.Explicit=1]="Explicit";class A{constructor(e,t,r,i){this.range=e,this.text=t,this.completionKind=r,this.isSnippetText=i}equals(e){return(0,x.Range).lift(this.range).equalsRange(e.range)&&this.text===e.text&&this.completionKind===e.completionKind&&this.isSnippetText===e.isSnippetText}}function M(e){return e&&(0,y.URI).isUri(e.uri)&&(0,x.Range).isIRange(e.range)&&((0,x.Range).isIRange(e.originSelectionRange)||(0,x.Range).isIRange(e.targetSelectionRange))}(s=c||(c={}))[s.Automatic=0]="Automatic",s[s.PasteAs=1]="PasteAs",(o=f||(f={}))[o.Invoke=1]="Invoke",o[o.TriggerCharacter=2]="TriggerCharacter",o[o.ContentChange=3]="ContentChange",(a=m||(m={}))[a.Text=0]="Text",a[a.Read=1]="Read",a[a.Write=2]="Write";let k={17:(0,w.localize)("Array","array"),16:(0,w.localize)("Boolean","boolean"),4:(0,w.localize)("Class","class"),13:(0,w.localize)("Constant","constant"),8:(0,w.localize)("Constructor","constructor"),9:(0,w.localize)("Enum","enumeration"),21:(0,w.localize)("EnumMember","enumeration member"),23:(0,w.localize)("Event","event"),7:(0,w.localize)("Field","field"),0:(0,w.localize)("File","file"),11:(0,w.localize)("Function","function"),10:(0,w.localize)("Interface","interface"),19:(0,w.localize)("Key","key"),5:(0,w.localize)("Method","method"),1:(0,w.localize)("Module","module"),2:(0,w.localize)("Namespace","namespace"),20:(0,w.localize)("Null","null"),15:(0,w.localize)("Number","number"),18:(0,w.localize)("Object","object"),24:(0,w.localize)("Operator","operator"),3:(0,w.localize)("Package","package"),6:(0,w.localize)("Property","property"),14:(0,w.localize)("String","string"),22:(0,w.localize)("Struct","struct"),25:(0,w.localize)("TypeParameter","type parameter"),12:(0,w.localize)("Variable","variable")};function O(e,t){return(0,w.localize)("symbolAriaLabel","{0} ({1})",e,k[t])}!function(e){let t=new Map;t.set(0,L.Codicon.symbolFile),t.set(1,L.Codicon.symbolModule),t.set(2,L.Codicon.symbolNamespace),t.set(3,L.Codicon.symbolPackage),t.set(4,L.Codicon.symbolClass),t.set(5,L.Codicon.symbolMethod),t.set(6,L.Codicon.symbolProperty),t.set(7,L.Codicon.symbolField),t.set(8,L.Codicon.symbolConstructor),t.set(9,L.Codicon.symbolEnum),t.set(10,L.Codicon.symbolInterface),t.set(11,L.Codicon.symbolFunction),t.set(12,L.Codicon.symbolVariable),t.set(13,L.Codicon.symbolConstant),t.set(14,L.Codicon.symbolString),t.set(15,L.Codicon.symbolNumber),t.set(16,L.Codicon.symbolBoolean),t.set(17,L.Codicon.symbolArray),t.set(18,L.Codicon.symbolObject),t.set(19,L.Codicon.symbolKey),t.set(20,L.Codicon.symbolNull),t.set(21,L.Codicon.symbolEnumMember),t.set(22,L.Codicon.symbolStruct),t.set(23,L.Codicon.symbolEvent),t.set(24,L.Codicon.symbolOperator),t.set(25,L.Codicon.symbolTypeParameter),e.toIcon=function(e){let r=t.get(e);return r||(console.info("No codicon found for SymbolKind "+e),r=L.Codicon.symbolProperty),r}}(p||(p={}));class I{static fromValue(e){switch(e){case"comment":return I.Comment;case"imports":return I.Imports;case"region":return I.Region}return new I(e)}constructor(e){this.value=e}}I.Comment=new I("comment"),I.Imports=new I("imports"),I.Region=new I("region"),(l=b||(b={}))[l.AIGenerated=1]="AIGenerated",(_||(_={})).is=function(e){return!!e&&"object"==typeof e&&"string"==typeof e.id&&"string"==typeof e.title},(u=v||(v={}))[u.Type=1]="Type",u[u.Parameter=2]="Parameter";class D{constructor(e){this.createSupport=e,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(e=>{e&&e.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}let T=new S.TokenizationRegistry;(h=C||(C={}))[h.Invoke=0]="Invoke",h[h.Automatic=1]="Automatic"}),s("dNs4Z",function(t,r){e(t.exports,"Codicon",()=>a);var i=n("jfYuX"),s=n("ioaVu");let o={dialogError:(0,i.register)("dialog-error","error"),dialogWarning:(0,i.register)("dialog-warning","warning"),dialogInfo:(0,i.register)("dialog-info","info"),dialogClose:(0,i.register)("dialog-close","close"),treeItemExpanded:(0,i.register)("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:(0,i.register)("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:(0,i.register)("tree-filter-on-type-off","list-selection"),treeFilterClear:(0,i.register)("tree-filter-clear","close"),treeItemLoading:(0,i.register)("tree-item-loading","loading"),menuSelection:(0,i.register)("menu-selection","check"),menuSubmenu:(0,i.register)("menu-submenu","chevron-right"),menuBarMore:(0,i.register)("menubar-more","more"),scrollbarButtonLeft:(0,i.register)("scrollbar-button-left","triangle-left"),scrollbarButtonRight:(0,i.register)("scrollbar-button-right","triangle-right"),scrollbarButtonUp:(0,i.register)("scrollbar-button-up","triangle-up"),scrollbarButtonDown:(0,i.register)("scrollbar-button-down","triangle-down"),toolBarMore:(0,i.register)("toolbar-more","more"),quickInputBack:(0,i.register)("quick-input-back","arrow-left"),dropDownButton:(0,i.register)("drop-down-button",60084),symbolCustomColor:(0,i.register)("symbol-customcolor",60252),exportIcon:(0,i.register)("export",60332),workspaceUnspecified:(0,i.register)("workspace-unspecified",60355),newLine:(0,i.register)("newline",60394),thumbsDownFilled:(0,i.register)("thumbsdown-filled",60435),thumbsUpFilled:(0,i.register)("thumbsup-filled",60436),gitFetch:(0,i.register)("git-fetch",60445),lightbulbSparkleAutofix:(0,i.register)("lightbulb-sparkle-autofix",60447),debugBreakpointPending:(0,i.register)("debug-breakpoint-pending",60377)},a={...s.codiconsLibrary,...o}}),s("jfYuX",function(t,r){e(t.exports,"register",()=>o),e(t.exports,"getCodiconFontCharacters",()=>a);var i=n("fYBtw");let s=Object.create(null);function o(e,t){if((0,i.isString)(t)){let r=s[t];if(void 0===r)throw Error(`${e} references an unknown codicon: ${t}`);t=r}return s[e]=t,{id:e}}function a(){return s}}),s("ioaVu",function(t,r){e(t.exports,"codiconsLibrary",()=>s);var i=n("jfYuX");let s={add:(0,i.register)("add",6e4),plus:(0,i.register)("plus",6e4),gistNew:(0,i.register)("gist-new",6e4),repoCreate:(0,i.register)("repo-create",6e4),lightbulb:(0,i.register)("lightbulb",60001),lightBulb:(0,i.register)("light-bulb",60001),repo:(0,i.register)("repo",60002),repoDelete:(0,i.register)("repo-delete",60002),gistFork:(0,i.register)("gist-fork",60003),repoForked:(0,i.register)("repo-forked",60003),gitPullRequest:(0,i.register)("git-pull-request",60004),gitPullRequestAbandoned:(0,i.register)("git-pull-request-abandoned",60004),recordKeys:(0,i.register)("record-keys",60005),keyboard:(0,i.register)("keyboard",60005),tag:(0,i.register)("tag",60006),gitPullRequestLabel:(0,i.register)("git-pull-request-label",60006),tagAdd:(0,i.register)("tag-add",60006),tagRemove:(0,i.register)("tag-remove",60006),person:(0,i.register)("person",60007),personFollow:(0,i.register)("person-follow",60007),personOutline:(0,i.register)("person-outline",60007),personFilled:(0,i.register)("person-filled",60007),gitBranch:(0,i.register)("git-branch",60008),gitBranchCreate:(0,i.register)("git-branch-create",60008),gitBranchDelete:(0,i.register)("git-branch-delete",60008),sourceControl:(0,i.register)("source-control",60008),mirror:(0,i.register)("mirror",60009),mirrorPublic:(0,i.register)("mirror-public",60009),star:(0,i.register)("star",60010),starAdd:(0,i.register)("star-add",60010),starDelete:(0,i.register)("star-delete",60010),starEmpty:(0,i.register)("star-empty",60010),comment:(0,i.register)("comment",60011),commentAdd:(0,i.register)("comment-add",60011),alert:(0,i.register)("alert",60012),warning:(0,i.register)("warning",60012),search:(0,i.register)("search",60013),searchSave:(0,i.register)("search-save",60013),logOut:(0,i.register)("log-out",60014),signOut:(0,i.register)("sign-out",60014),logIn:(0,i.register)("log-in",60015),signIn:(0,i.register)("sign-in",60015),eye:(0,i.register)("eye",60016),eyeUnwatch:(0,i.register)("eye-unwatch",60016),eyeWatch:(0,i.register)("eye-watch",60016),circleFilled:(0,i.register)("circle-filled",60017),primitiveDot:(0,i.register)("primitive-dot",60017),closeDirty:(0,i.register)("close-dirty",60017),debugBreakpoint:(0,i.register)("debug-breakpoint",60017),debugBreakpointDisabled:(0,i.register)("debug-breakpoint-disabled",60017),debugHint:(0,i.register)("debug-hint",60017),terminalDecorationSuccess:(0,i.register)("terminal-decoration-success",60017),primitiveSquare:(0,i.register)("primitive-square",60018),edit:(0,i.register)("edit",60019),pencil:(0,i.register)("pencil",60019),info:(0,i.register)("info",60020),issueOpened:(0,i.register)("issue-opened",60020),gistPrivate:(0,i.register)("gist-private",60021),gitForkPrivate:(0,i.register)("git-fork-private",60021),lock:(0,i.register)("lock",60021),mirrorPrivate:(0,i.register)("mirror-private",60021),close:(0,i.register)("close",60022),removeClose:(0,i.register)("remove-close",60022),x:(0,i.register)("x",60022),repoSync:(0,i.register)("repo-sync",60023),sync:(0,i.register)("sync",60023),clone:(0,i.register)("clone",60024),desktopDownload:(0,i.register)("desktop-download",60024),beaker:(0,i.register)("beaker",60025),microscope:(0,i.register)("microscope",60025),vm:(0,i.register)("vm",60026),deviceDesktop:(0,i.register)("device-desktop",60026),file:(0,i.register)("file",60027),fileText:(0,i.register)("file-text",60027),more:(0,i.register)("more",60028),ellipsis:(0,i.register)("ellipsis",60028),kebabHorizontal:(0,i.register)("kebab-horizontal",60028),mailReply:(0,i.register)("mail-reply",60029),reply:(0,i.register)("reply",60029),organization:(0,i.register)("organization",60030),organizationFilled:(0,i.register)("organization-filled",60030),organizationOutline:(0,i.register)("organization-outline",60030),newFile:(0,i.register)("new-file",60031),fileAdd:(0,i.register)("file-add",60031),newFolder:(0,i.register)("new-folder",60032),fileDirectoryCreate:(0,i.register)("file-directory-create",60032),trash:(0,i.register)("trash",60033),trashcan:(0,i.register)("trashcan",60033),history:(0,i.register)("history",60034),clock:(0,i.register)("clock",60034),folder:(0,i.register)("folder",60035),fileDirectory:(0,i.register)("file-directory",60035),symbolFolder:(0,i.register)("symbol-folder",60035),logoGithub:(0,i.register)("logo-github",60036),markGithub:(0,i.register)("mark-github",60036),github:(0,i.register)("github",60036),terminal:(0,i.register)("terminal",60037),console:(0,i.register)("console",60037),repl:(0,i.register)("repl",60037),zap:(0,i.register)("zap",60038),symbolEvent:(0,i.register)("symbol-event",60038),error:(0,i.register)("error",60039),stop:(0,i.register)("stop",60039),variable:(0,i.register)("variable",60040),symbolVariable:(0,i.register)("symbol-variable",60040),array:(0,i.register)("array",60042),symbolArray:(0,i.register)("symbol-array",60042),symbolModule:(0,i.register)("symbol-module",60043),symbolPackage:(0,i.register)("symbol-package",60043),symbolNamespace:(0,i.register)("symbol-namespace",60043),symbolObject:(0,i.register)("symbol-object",60043),symbolMethod:(0,i.register)("symbol-method",60044),symbolFunction:(0,i.register)("symbol-function",60044),symbolConstructor:(0,i.register)("symbol-constructor",60044),symbolBoolean:(0,i.register)("symbol-boolean",60047),symbolNull:(0,i.register)("symbol-null",60047),symbolNumeric:(0,i.register)("symbol-numeric",60048),symbolNumber:(0,i.register)("symbol-number",60048),symbolStructure:(0,i.register)("symbol-structure",60049),symbolStruct:(0,i.register)("symbol-struct",60049),symbolParameter:(0,i.register)("symbol-parameter",60050),symbolTypeParameter:(0,i.register)("symbol-type-parameter",60050),symbolKey:(0,i.register)("symbol-key",60051),symbolText:(0,i.register)("symbol-text",60051),symbolReference:(0,i.register)("symbol-reference",60052),goToFile:(0,i.register)("go-to-file",60052),symbolEnum:(0,i.register)("symbol-enum",60053),symbolValue:(0,i.register)("symbol-value",60053),symbolRuler:(0,i.register)("symbol-ruler",60054),symbolUnit:(0,i.register)("symbol-unit",60054),activateBreakpoints:(0,i.register)("activate-breakpoints",60055),archive:(0,i.register)("archive",60056),arrowBoth:(0,i.register)("arrow-both",60057),arrowDown:(0,i.register)("arrow-down",60058),arrowLeft:(0,i.register)("arrow-left",60059),arrowRight:(0,i.register)("arrow-right",60060),arrowSmallDown:(0,i.register)("arrow-small-down",60061),arrowSmallLeft:(0,i.register)("arrow-small-left",60062),arrowSmallRight:(0,i.register)("arrow-small-right",60063),arrowSmallUp:(0,i.register)("arrow-small-up",60064),arrowUp:(0,i.register)("arrow-up",60065),bell:(0,i.register)("bell",60066),bold:(0,i.register)("bold",60067),book:(0,i.register)("book",60068),bookmark:(0,i.register)("bookmark",60069),debugBreakpointConditionalUnverified:(0,i.register)("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:(0,i.register)("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:(0,i.register)("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:(0,i.register)("debug-breakpoint-data-unverified",60072),debugBreakpointData:(0,i.register)("debug-breakpoint-data",60073),debugBreakpointDataDisabled:(0,i.register)("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:(0,i.register)("debug-breakpoint-log-unverified",60074),debugBreakpointLog:(0,i.register)("debug-breakpoint-log",60075),debugBreakpointLogDisabled:(0,i.register)("debug-breakpoint-log-disabled",60075),briefcase:(0,i.register)("briefcase",60076),broadcast:(0,i.register)("broadcast",60077),browser:(0,i.register)("browser",60078),bug:(0,i.register)("bug",60079),calendar:(0,i.register)("calendar",60080),caseSensitive:(0,i.register)("case-sensitive",60081),check:(0,i.register)("check",60082),checklist:(0,i.register)("checklist",60083),chevronDown:(0,i.register)("chevron-down",60084),chevronLeft:(0,i.register)("chevron-left",60085),chevronRight:(0,i.register)("chevron-right",60086),chevronUp:(0,i.register)("chevron-up",60087),chromeClose:(0,i.register)("chrome-close",60088),chromeMaximize:(0,i.register)("chrome-maximize",60089),chromeMinimize:(0,i.register)("chrome-minimize",60090),chromeRestore:(0,i.register)("chrome-restore",60091),circleOutline:(0,i.register)("circle-outline",60092),circle:(0,i.register)("circle",60092),debugBreakpointUnverified:(0,i.register)("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:(0,i.register)("terminal-decoration-incomplete",60092),circleSlash:(0,i.register)("circle-slash",60093),circuitBoard:(0,i.register)("circuit-board",60094),clearAll:(0,i.register)("clear-all",60095),clippy:(0,i.register)("clippy",60096),closeAll:(0,i.register)("close-all",60097),cloudDownload:(0,i.register)("cloud-download",60098),cloudUpload:(0,i.register)("cloud-upload",60099),code:(0,i.register)("code",60100),collapseAll:(0,i.register)("collapse-all",60101),colorMode:(0,i.register)("color-mode",60102),commentDiscussion:(0,i.register)("comment-discussion",60103),creditCard:(0,i.register)("credit-card",60105),dash:(0,i.register)("dash",60108),dashboard:(0,i.register)("dashboard",60109),database:(0,i.register)("database",60110),debugContinue:(0,i.register)("debug-continue",60111),debugDisconnect:(0,i.register)("debug-disconnect",60112),debugPause:(0,i.register)("debug-pause",60113),debugRestart:(0,i.register)("debug-restart",60114),debugStart:(0,i.register)("debug-start",60115),debugStepInto:(0,i.register)("debug-step-into",60116),debugStepOut:(0,i.register)("debug-step-out",60117),debugStepOver:(0,i.register)("debug-step-over",60118),debugStop:(0,i.register)("debug-stop",60119),debug:(0,i.register)("debug",60120),deviceCameraVideo:(0,i.register)("device-camera-video",60121),deviceCamera:(0,i.register)("device-camera",60122),deviceMobile:(0,i.register)("device-mobile",60123),diffAdded:(0,i.register)("diff-added",60124),diffIgnored:(0,i.register)("diff-ignored",60125),diffModified:(0,i.register)("diff-modified",60126),diffRemoved:(0,i.register)("diff-removed",60127),diffRenamed:(0,i.register)("diff-renamed",60128),diff:(0,i.register)("diff",60129),diffSidebyside:(0,i.register)("diff-sidebyside",60129),discard:(0,i.register)("discard",60130),editorLayout:(0,i.register)("editor-layout",60131),emptyWindow:(0,i.register)("empty-window",60132),exclude:(0,i.register)("exclude",60133),extensions:(0,i.register)("extensions",60134),eyeClosed:(0,i.register)("eye-closed",60135),fileBinary:(0,i.register)("file-binary",60136),fileCode:(0,i.register)("file-code",60137),fileMedia:(0,i.register)("file-media",60138),filePdf:(0,i.register)("file-pdf",60139),fileSubmodule:(0,i.register)("file-submodule",60140),fileSymlinkDirectory:(0,i.register)("file-symlink-directory",60141),fileSymlinkFile:(0,i.register)("file-symlink-file",60142),fileZip:(0,i.register)("file-zip",60143),files:(0,i.register)("files",60144),filter:(0,i.register)("filter",60145),flame:(0,i.register)("flame",60146),foldDown:(0,i.register)("fold-down",60147),foldUp:(0,i.register)("fold-up",60148),fold:(0,i.register)("fold",60149),folderActive:(0,i.register)("folder-active",60150),folderOpened:(0,i.register)("folder-opened",60151),gear:(0,i.register)("gear",60152),gift:(0,i.register)("gift",60153),gistSecret:(0,i.register)("gist-secret",60154),gist:(0,i.register)("gist",60155),gitCommit:(0,i.register)("git-commit",60156),gitCompare:(0,i.register)("git-compare",60157),compareChanges:(0,i.register)("compare-changes",60157),gitMerge:(0,i.register)("git-merge",60158),githubAction:(0,i.register)("github-action",60159),githubAlt:(0,i.register)("github-alt",60160),globe:(0,i.register)("globe",60161),grabber:(0,i.register)("grabber",60162),graph:(0,i.register)("graph",60163),gripper:(0,i.register)("gripper",60164),heart:(0,i.register)("heart",60165),home:(0,i.register)("home",60166),horizontalRule:(0,i.register)("horizontal-rule",60167),hubot:(0,i.register)("hubot",60168),inbox:(0,i.register)("inbox",60169),issueReopened:(0,i.register)("issue-reopened",60171),issues:(0,i.register)("issues",60172),italic:(0,i.register)("italic",60173),jersey:(0,i.register)("jersey",60174),json:(0,i.register)("json",60175),kebabVertical:(0,i.register)("kebab-vertical",60176),key:(0,i.register)("key",60177),law:(0,i.register)("law",60178),lightbulbAutofix:(0,i.register)("lightbulb-autofix",60179),linkExternal:(0,i.register)("link-external",60180),link:(0,i.register)("link",60181),listOrdered:(0,i.register)("list-ordered",60182),listUnordered:(0,i.register)("list-unordered",60183),liveShare:(0,i.register)("live-share",60184),loading:(0,i.register)("loading",60185),location:(0,i.register)("location",60186),mailRead:(0,i.register)("mail-read",60187),mail:(0,i.register)("mail",60188),markdown:(0,i.register)("markdown",60189),megaphone:(0,i.register)("megaphone",60190),mention:(0,i.register)("mention",60191),milestone:(0,i.register)("milestone",60192),gitPullRequestMilestone:(0,i.register)("git-pull-request-milestone",60192),mortarBoard:(0,i.register)("mortar-board",60193),move:(0,i.register)("move",60194),multipleWindows:(0,i.register)("multiple-windows",60195),mute:(0,i.register)("mute",60196),noNewline:(0,i.register)("no-newline",60197),note:(0,i.register)("note",60198),octoface:(0,i.register)("octoface",60199),openPreview:(0,i.register)("open-preview",60200),package:(0,i.register)("package",60201),paintcan:(0,i.register)("paintcan",60202),pin:(0,i.register)("pin",60203),play:(0,i.register)("play",60204),run:(0,i.register)("run",60204),plug:(0,i.register)("plug",60205),preserveCase:(0,i.register)("preserve-case",60206),preview:(0,i.register)("preview",60207),project:(0,i.register)("project",60208),pulse:(0,i.register)("pulse",60209),question:(0,i.register)("question",60210),quote:(0,i.register)("quote",60211),radioTower:(0,i.register)("radio-tower",60212),reactions:(0,i.register)("reactions",60213),references:(0,i.register)("references",60214),refresh:(0,i.register)("refresh",60215),regex:(0,i.register)("regex",60216),remoteExplorer:(0,i.register)("remote-explorer",60217),remote:(0,i.register)("remote",60218),remove:(0,i.register)("remove",60219),replaceAll:(0,i.register)("replace-all",60220),replace:(0,i.register)("replace",60221),repoClone:(0,i.register)("repo-clone",60222),repoForcePush:(0,i.register)("repo-force-push",60223),repoPull:(0,i.register)("repo-pull",60224),repoPush:(0,i.register)("repo-push",60225),report:(0,i.register)("report",60226),requestChanges:(0,i.register)("request-changes",60227),rocket:(0,i.register)("rocket",60228),rootFolderOpened:(0,i.register)("root-folder-opened",60229),rootFolder:(0,i.register)("root-folder",60230),rss:(0,i.register)("rss",60231),ruby:(0,i.register)("ruby",60232),saveAll:(0,i.register)("save-all",60233),saveAs:(0,i.register)("save-as",60234),save:(0,i.register)("save",60235),screenFull:(0,i.register)("screen-full",60236),screenNormal:(0,i.register)("screen-normal",60237),searchStop:(0,i.register)("search-stop",60238),server:(0,i.register)("server",60240),settingsGear:(0,i.register)("settings-gear",60241),settings:(0,i.register)("settings",60242),shield:(0,i.register)("shield",60243),smiley:(0,i.register)("smiley",60244),sortPrecedence:(0,i.register)("sort-precedence",60245),splitHorizontal:(0,i.register)("split-horizontal",60246),splitVertical:(0,i.register)("split-vertical",60247),squirrel:(0,i.register)("squirrel",60248),starFull:(0,i.register)("star-full",60249),starHalf:(0,i.register)("star-half",60250),symbolClass:(0,i.register)("symbol-class",60251),symbolColor:(0,i.register)("symbol-color",60252),symbolConstant:(0,i.register)("symbol-constant",60253),symbolEnumMember:(0,i.register)("symbol-enum-member",60254),symbolField:(0,i.register)("symbol-field",60255),symbolFile:(0,i.register)("symbol-file",60256),symbolInterface:(0,i.register)("symbol-interface",60257),symbolKeyword:(0,i.register)("symbol-keyword",60258),symbolMisc:(0,i.register)("symbol-misc",60259),symbolOperator:(0,i.register)("symbol-operator",60260),symbolProperty:(0,i.register)("symbol-property",60261),wrench:(0,i.register)("wrench",60261),wrenchSubaction:(0,i.register)("wrench-subaction",60261),symbolSnippet:(0,i.register)("symbol-snippet",60262),tasklist:(0,i.register)("tasklist",60263),telescope:(0,i.register)("telescope",60264),textSize:(0,i.register)("text-size",60265),threeBars:(0,i.register)("three-bars",60266),thumbsdown:(0,i.register)("thumbsdown",60267),thumbsup:(0,i.register)("thumbsup",60268),tools:(0,i.register)("tools",60269),triangleDown:(0,i.register)("triangle-down",60270),triangleLeft:(0,i.register)("triangle-left",60271),triangleRight:(0,i.register)("triangle-right",60272),triangleUp:(0,i.register)("triangle-up",60273),twitter:(0,i.register)("twitter",60274),unfold:(0,i.register)("unfold",60275),unlock:(0,i.register)("unlock",60276),unmute:(0,i.register)("unmute",60277),unverified:(0,i.register)("unverified",60278),verified:(0,i.register)("verified",60279),versions:(0,i.register)("versions",60280),vmActive:(0,i.register)("vm-active",60281),vmOutline:(0,i.register)("vm-outline",60282),vmRunning:(0,i.register)("vm-running",60283),watch:(0,i.register)("watch",60284),whitespace:(0,i.register)("whitespace",60285),wholeWord:(0,i.register)("whole-word",60286),window:(0,i.register)("window",60287),wordWrap:(0,i.register)("word-wrap",60288),zoomIn:(0,i.register)("zoom-in",60289),zoomOut:(0,i.register)("zoom-out",60290),listFilter:(0,i.register)("list-filter",60291),listFlat:(0,i.register)("list-flat",60292),listSelection:(0,i.register)("list-selection",60293),selection:(0,i.register)("selection",60293),listTree:(0,i.register)("list-tree",60294),debugBreakpointFunctionUnverified:(0,i.register)("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:(0,i.register)("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:(0,i.register)("debug-breakpoint-function-disabled",60296),debugStackframeActive:(0,i.register)("debug-stackframe-active",60297),circleSmallFilled:(0,i.register)("circle-small-filled",60298),debugStackframeDot:(0,i.register)("debug-stackframe-dot",60298),terminalDecorationMark:(0,i.register)("terminal-decoration-mark",60298),debugStackframe:(0,i.register)("debug-stackframe",60299),debugStackframeFocused:(0,i.register)("debug-stackframe-focused",60299),debugBreakpointUnsupported:(0,i.register)("debug-breakpoint-unsupported",60300),symbolString:(0,i.register)("symbol-string",60301),debugReverseContinue:(0,i.register)("debug-reverse-continue",60302),debugStepBack:(0,i.register)("debug-step-back",60303),debugRestartFrame:(0,i.register)("debug-restart-frame",60304),debugAlt:(0,i.register)("debug-alt",60305),callIncoming:(0,i.register)("call-incoming",60306),callOutgoing:(0,i.register)("call-outgoing",60307),menu:(0,i.register)("menu",60308),expandAll:(0,i.register)("expand-all",60309),feedback:(0,i.register)("feedback",60310),gitPullRequestReviewer:(0,i.register)("git-pull-request-reviewer",60310),groupByRefType:(0,i.register)("group-by-ref-type",60311),ungroupByRefType:(0,i.register)("ungroup-by-ref-type",60312),account:(0,i.register)("account",60313),gitPullRequestAssignee:(0,i.register)("git-pull-request-assignee",60313),bellDot:(0,i.register)("bell-dot",60314),debugConsole:(0,i.register)("debug-console",60315),library:(0,i.register)("library",60316),output:(0,i.register)("output",60317),runAll:(0,i.register)("run-all",60318),syncIgnored:(0,i.register)("sync-ignored",60319),pinned:(0,i.register)("pinned",60320),githubInverted:(0,i.register)("github-inverted",60321),serverProcess:(0,i.register)("server-process",60322),serverEnvironment:(0,i.register)("server-environment",60323),pass:(0,i.register)("pass",60324),issueClosed:(0,i.register)("issue-closed",60324),stopCircle:(0,i.register)("stop-circle",60325),playCircle:(0,i.register)("play-circle",60326),record:(0,i.register)("record",60327),debugAltSmall:(0,i.register)("debug-alt-small",60328),vmConnect:(0,i.register)("vm-connect",60329),cloud:(0,i.register)("cloud",60330),merge:(0,i.register)("merge",60331),export:(0,i.register)("export",60332),graphLeft:(0,i.register)("graph-left",60333),magnet:(0,i.register)("magnet",60334),notebook:(0,i.register)("notebook",60335),redo:(0,i.register)("redo",60336),checkAll:(0,i.register)("check-all",60337),pinnedDirty:(0,i.register)("pinned-dirty",60338),passFilled:(0,i.register)("pass-filled",60339),circleLargeFilled:(0,i.register)("circle-large-filled",60340),circleLarge:(0,i.register)("circle-large",60341),circleLargeOutline:(0,i.register)("circle-large-outline",60341),combine:(0,i.register)("combine",60342),gather:(0,i.register)("gather",60342),table:(0,i.register)("table",60343),variableGroup:(0,i.register)("variable-group",60344),typeHierarchy:(0,i.register)("type-hierarchy",60345),typeHierarchySub:(0,i.register)("type-hierarchy-sub",60346),typeHierarchySuper:(0,i.register)("type-hierarchy-super",60347),gitPullRequestCreate:(0,i.register)("git-pull-request-create",60348),runAbove:(0,i.register)("run-above",60349),runBelow:(0,i.register)("run-below",60350),notebookTemplate:(0,i.register)("notebook-template",60351),debugRerun:(0,i.register)("debug-rerun",60352),workspaceTrusted:(0,i.register)("workspace-trusted",60353),workspaceUntrusted:(0,i.register)("workspace-untrusted",60354),workspaceUnknown:(0,i.register)("workspace-unknown",60355),terminalCmd:(0,i.register)("terminal-cmd",60356),terminalDebian:(0,i.register)("terminal-debian",60357),terminalLinux:(0,i.register)("terminal-linux",60358),terminalPowershell:(0,i.register)("terminal-powershell",60359),terminalTmux:(0,i.register)("terminal-tmux",60360),terminalUbuntu:(0,i.register)("terminal-ubuntu",60361),terminalBash:(0,i.register)("terminal-bash",60362),arrowSwap:(0,i.register)("arrow-swap",60363),copy:(0,i.register)("copy",60364),personAdd:(0,i.register)("person-add",60365),filterFilled:(0,i.register)("filter-filled",60366),wand:(0,i.register)("wand",60367),debugLineByLine:(0,i.register)("debug-line-by-line",60368),inspect:(0,i.register)("inspect",60369),layers:(0,i.register)("layers",60370),layersDot:(0,i.register)("layers-dot",60371),layersActive:(0,i.register)("layers-active",60372),compass:(0,i.register)("compass",60373),compassDot:(0,i.register)("compass-dot",60374),compassActive:(0,i.register)("compass-active",60375),azure:(0,i.register)("azure",60376),issueDraft:(0,i.register)("issue-draft",60377),gitPullRequestClosed:(0,i.register)("git-pull-request-closed",60378),gitPullRequestDraft:(0,i.register)("git-pull-request-draft",60379),debugAll:(0,i.register)("debug-all",60380),debugCoverage:(0,i.register)("debug-coverage",60381),runErrors:(0,i.register)("run-errors",60382),folderLibrary:(0,i.register)("folder-library",60383),debugContinueSmall:(0,i.register)("debug-continue-small",60384),beakerStop:(0,i.register)("beaker-stop",60385),graphLine:(0,i.register)("graph-line",60386),graphScatter:(0,i.register)("graph-scatter",60387),pieChart:(0,i.register)("pie-chart",60388),bracket:(0,i.register)("bracket",60175),bracketDot:(0,i.register)("bracket-dot",60389),bracketError:(0,i.register)("bracket-error",60390),lockSmall:(0,i.register)("lock-small",60391),azureDevops:(0,i.register)("azure-devops",60392),verifiedFilled:(0,i.register)("verified-filled",60393),newline:(0,i.register)("newline",60394),layout:(0,i.register)("layout",60395),layoutActivitybarLeft:(0,i.register)("layout-activitybar-left",60396),layoutActivitybarRight:(0,i.register)("layout-activitybar-right",60397),layoutPanelLeft:(0,i.register)("layout-panel-left",60398),layoutPanelCenter:(0,i.register)("layout-panel-center",60399),layoutPanelJustify:(0,i.register)("layout-panel-justify",60400),layoutPanelRight:(0,i.register)("layout-panel-right",60401),layoutPanel:(0,i.register)("layout-panel",60402),layoutSidebarLeft:(0,i.register)("layout-sidebar-left",60403),layoutSidebarRight:(0,i.register)("layout-sidebar-right",60404),layoutStatusbar:(0,i.register)("layout-statusbar",60405),layoutMenubar:(0,i.register)("layout-menubar",60406),layoutCentered:(0,i.register)("layout-centered",60407),target:(0,i.register)("target",60408),indent:(0,i.register)("indent",60409),recordSmall:(0,i.register)("record-small",60410),errorSmall:(0,i.register)("error-small",60411),terminalDecorationError:(0,i.register)("terminal-decoration-error",60411),arrowCircleDown:(0,i.register)("arrow-circle-down",60412),arrowCircleLeft:(0,i.register)("arrow-circle-left",60413),arrowCircleRight:(0,i.register)("arrow-circle-right",60414),arrowCircleUp:(0,i.register)("arrow-circle-up",60415),layoutSidebarRightOff:(0,i.register)("layout-sidebar-right-off",60416),layoutPanelOff:(0,i.register)("layout-panel-off",60417),layoutSidebarLeftOff:(0,i.register)("layout-sidebar-left-off",60418),blank:(0,i.register)("blank",60419),heartFilled:(0,i.register)("heart-filled",60420),map:(0,i.register)("map",60421),mapHorizontal:(0,i.register)("map-horizontal",60421),foldHorizontal:(0,i.register)("fold-horizontal",60421),mapFilled:(0,i.register)("map-filled",60422),mapHorizontalFilled:(0,i.register)("map-horizontal-filled",60422),foldHorizontalFilled:(0,i.register)("fold-horizontal-filled",60422),circleSmall:(0,i.register)("circle-small",60423),bellSlash:(0,i.register)("bell-slash",60424),bellSlashDot:(0,i.register)("bell-slash-dot",60425),commentUnresolved:(0,i.register)("comment-unresolved",60426),gitPullRequestGoToChanges:(0,i.register)("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:(0,i.register)("git-pull-request-new-changes",60428),searchFuzzy:(0,i.register)("search-fuzzy",60429),commentDraft:(0,i.register)("comment-draft",60430),send:(0,i.register)("send",60431),sparkle:(0,i.register)("sparkle",60432),insert:(0,i.register)("insert",60433),mic:(0,i.register)("mic",60434),thumbsdownFilled:(0,i.register)("thumbsdown-filled",60435),thumbsupFilled:(0,i.register)("thumbsup-filled",60436),coffee:(0,i.register)("coffee",60437),snake:(0,i.register)("snake",60438),game:(0,i.register)("game",60439),vr:(0,i.register)("vr",60440),chip:(0,i.register)("chip",60441),piano:(0,i.register)("piano",60442),music:(0,i.register)("music",60443),micFilled:(0,i.register)("mic-filled",60444),repoFetch:(0,i.register)("repo-fetch",60445),copilot:(0,i.register)("copilot",60446),lightbulbSparkle:(0,i.register)("lightbulb-sparkle",60447),robot:(0,i.register)("robot",60448),sparkleFilled:(0,i.register)("sparkle-filled",60449),diffSingle:(0,i.register)("diff-single",60450),diffMultiple:(0,i.register)("diff-multiple",60451),surroundWith:(0,i.register)("surround-with",60452),share:(0,i.register)("share",60453),gitStash:(0,i.register)("git-stash",60454),gitStashApply:(0,i.register)("git-stash-apply",60455),gitStashPop:(0,i.register)("git-stash-pop",60456),vscode:(0,i.register)("vscode",60457),vscodeInsiders:(0,i.register)("vscode-insiders",60458),codeOss:(0,i.register)("code-oss",60459),runCoverage:(0,i.register)("run-coverage",60460),runAllCoverage:(0,i.register)("run-all-coverage",60461),coverage:(0,i.register)("coverage",60462),githubProject:(0,i.register)("github-project",60463),mapVertical:(0,i.register)("map-vertical",60464),foldVertical:(0,i.register)("fold-vertical",60464),mapVerticalFilled:(0,i.register)("map-vertical-filled",60465),foldVerticalFilled:(0,i.register)("fold-vertical-filled",60465)}}),s("O8u1m",function(t,r){e(t.exports,"TokenizationRegistry",()=>o);var i=n("7QlpW"),s=n("5OUe2");class o{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new i.Emitter,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._tokenizationSupports.set(e,t),this.handleChange([e]),(0,s.toDisposable)(()=>{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var r;null===(r=this._factories.get(e))||void 0===r||r.dispose();let i=new a(this,e,t);return this._factories.set(e,i),(0,s.toDisposable)(()=>{let t=this._factories.get(e);t&&t===i&&(this._factories.delete(e),t.dispose())})}async getOrCreate(e){let t=this.get(e);if(t)return t;let r=this._factories.get(e);return!r||r.isResolved?null:(await r.resolve(),this.get(e))}isResolved(e){let t=this.get(e);if(t)return!0;let r=this._factories.get(e);return!r||!!r.isResolved}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class a extends s.Disposable{get isResolved(){return this._isResolved}constructor(e,t,r){super(),this._registry=e,this._languageId=t,this._factory=r,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){let e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}}}),s("d6Eqw",function(t,r){var i,n,s,o,a,l,u,h,d,g,c,f,m,p,b,_,v,C,L,y,x,S,w,E,N,R,A,M,k,O,I,D,T,F,P,q,B,K,V,U,z,W,H,j,$,G,Q,Z,X,Y,J,ee,et,er,ei,en,es,eo,ea,el,eu,eh,ed,eg,ec,ef,em,ep,eb,e_,ev,eC,eL,ey,ex,eS,ew,eE,eN,eR,eA,eM,ek,eO,eI,eD,eT,eF;e(t.exports,"AccessibilitySupport",()=>i),e(t.exports,"CodeActionTriggerType",()=>n),e(t.exports,"CompletionItemInsertTextRule",()=>s),e(t.exports,"CompletionItemKind",()=>o),e(t.exports,"CompletionItemTag",()=>a),e(t.exports,"CompletionTriggerKind",()=>l),e(t.exports,"ContentWidgetPositionPreference",()=>u),e(t.exports,"CursorChangeReason",()=>h),e(t.exports,"DefaultEndOfLine",()=>d),e(t.exports,"DocumentHighlightKind",()=>g),e(t.exports,"EditorAutoIndentStrategy",()=>c),e(t.exports,"EditorOption",()=>f),e(t.exports,"EndOfLinePreference",()=>m),e(t.exports,"EndOfLineSequence",()=>p),e(t.exports,"GlyphMarginLane",()=>b),e(t.exports,"IndentAction",()=>_),e(t.exports,"InjectedTextCursorStops",()=>v),e(t.exports,"InlayHintKind",()=>C),e(t.exports,"InlineCompletionTriggerKind",()=>L),e(t.exports,"InlineEditTriggerKind",()=>y),e(t.exports,"KeyCode",()=>x),e(t.exports,"MarkerSeverity",()=>S),e(t.exports,"MarkerTag",()=>w),e(t.exports,"MinimapPosition",()=>E),e(t.exports,"MinimapSectionHeaderStyle",()=>N),e(t.exports,"MouseTargetType",()=>R),e(t.exports,"NewSymbolNameTag",()=>A),e(t.exports,"OverlayWidgetPositionPreference",()=>M),e(t.exports,"OverviewRulerLane",()=>k),e(t.exports,"PartialAcceptTriggerKind",()=>O),e(t.exports,"PositionAffinity",()=>I),e(t.exports,"RenderLineNumbersType",()=>D),e(t.exports,"RenderMinimap",()=>T),e(t.exports,"ScrollType",()=>F),e(t.exports,"ScrollbarVisibility",()=>P),e(t.exports,"SelectionDirection",()=>q),e(t.exports,"ShowLightbulbIconMode",()=>B),e(t.exports,"SignatureHelpTriggerKind",()=>K),e(t.exports,"SymbolKind",()=>V),e(t.exports,"SymbolTag",()=>U),e(t.exports,"TextEditorCursorBlinkingStyle",()=>z),e(t.exports,"TextEditorCursorStyle",()=>W),e(t.exports,"TrackedRangeStickiness",()=>H),e(t.exports,"WrappingIndent",()=>j),($=i||(i={}))[$.Unknown=0]="Unknown",$[$.Disabled=1]="Disabled",$[$.Enabled=2]="Enabled",(G=n||(n={}))[G.Invoke=1]="Invoke",G[G.Auto=2]="Auto",(Q=s||(s={}))[Q.None=0]="None",Q[Q.KeepWhitespace=1]="KeepWhitespace",Q[Q.InsertAsSnippet=4]="InsertAsSnippet",(Z=o||(o={}))[Z.Method=0]="Method",Z[Z.Function=1]="Function",Z[Z.Constructor=2]="Constructor",Z[Z.Field=3]="Field",Z[Z.Variable=4]="Variable",Z[Z.Class=5]="Class",Z[Z.Struct=6]="Struct",Z[Z.Interface=7]="Interface",Z[Z.Module=8]="Module",Z[Z.Property=9]="Property",Z[Z.Event=10]="Event",Z[Z.Operator=11]="Operator",Z[Z.Unit=12]="Unit",Z[Z.Value=13]="Value",Z[Z.Constant=14]="Constant",Z[Z.Enum=15]="Enum",Z[Z.EnumMember=16]="EnumMember",Z[Z.Keyword=17]="Keyword",Z[Z.Text=18]="Text",Z[Z.Color=19]="Color",Z[Z.File=20]="File",Z[Z.Reference=21]="Reference",Z[Z.Customcolor=22]="Customcolor",Z[Z.Folder=23]="Folder",Z[Z.TypeParameter=24]="TypeParameter",Z[Z.User=25]="User",Z[Z.Issue=26]="Issue",Z[Z.Snippet=27]="Snippet",(X=a||(a={}))[X.Deprecated=1]="Deprecated",(Y=l||(l={}))[Y.Invoke=0]="Invoke",Y[Y.TriggerCharacter=1]="TriggerCharacter",Y[Y.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(J=u||(u={}))[J.EXACT=0]="EXACT",J[J.ABOVE=1]="ABOVE",J[J.BELOW=2]="BELOW",(ee=h||(h={}))[ee.NotSet=0]="NotSet",ee[ee.ContentFlush=1]="ContentFlush",ee[ee.RecoverFromMarkers=2]="RecoverFromMarkers",ee[ee.Explicit=3]="Explicit",ee[ee.Paste=4]="Paste",ee[ee.Undo=5]="Undo",ee[ee.Redo=6]="Redo",(et=d||(d={}))[et.LF=1]="LF",et[et.CRLF=2]="CRLF",(er=g||(g={}))[er.Text=0]="Text",er[er.Read=1]="Read",er[er.Write=2]="Write",(ei=c||(c={}))[ei.None=0]="None",ei[ei.Keep=1]="Keep",ei[ei.Brackets=2]="Brackets",ei[ei.Advanced=3]="Advanced",ei[ei.Full=4]="Full",(en=f||(f={}))[en.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",en[en.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",en[en.accessibilitySupport=2]="accessibilitySupport",en[en.accessibilityPageSize=3]="accessibilityPageSize",en[en.ariaLabel=4]="ariaLabel",en[en.ariaRequired=5]="ariaRequired",en[en.autoClosingBrackets=6]="autoClosingBrackets",en[en.autoClosingComments=7]="autoClosingComments",en[en.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",en[en.autoClosingDelete=9]="autoClosingDelete",en[en.autoClosingOvertype=10]="autoClosingOvertype",en[en.autoClosingQuotes=11]="autoClosingQuotes",en[en.autoIndent=12]="autoIndent",en[en.automaticLayout=13]="automaticLayout",en[en.autoSurround=14]="autoSurround",en[en.bracketPairColorization=15]="bracketPairColorization",en[en.guides=16]="guides",en[en.codeLens=17]="codeLens",en[en.codeLensFontFamily=18]="codeLensFontFamily",en[en.codeLensFontSize=19]="codeLensFontSize",en[en.colorDecorators=20]="colorDecorators",en[en.colorDecoratorsLimit=21]="colorDecoratorsLimit",en[en.columnSelection=22]="columnSelection",en[en.comments=23]="comments",en[en.contextmenu=24]="contextmenu",en[en.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",en[en.cursorBlinking=26]="cursorBlinking",en[en.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",en[en.cursorStyle=28]="cursorStyle",en[en.cursorSurroundingLines=29]="cursorSurroundingLines",en[en.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",en[en.cursorWidth=31]="cursorWidth",en[en.disableLayerHinting=32]="disableLayerHinting",en[en.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",en[en.domReadOnly=34]="domReadOnly",en[en.dragAndDrop=35]="dragAndDrop",en[en.dropIntoEditor=36]="dropIntoEditor",en[en.emptySelectionClipboard=37]="emptySelectionClipboard",en[en.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",en[en.extraEditorClassName=39]="extraEditorClassName",en[en.fastScrollSensitivity=40]="fastScrollSensitivity",en[en.find=41]="find",en[en.fixedOverflowWidgets=42]="fixedOverflowWidgets",en[en.folding=43]="folding",en[en.foldingStrategy=44]="foldingStrategy",en[en.foldingHighlight=45]="foldingHighlight",en[en.foldingImportsByDefault=46]="foldingImportsByDefault",en[en.foldingMaximumRegions=47]="foldingMaximumRegions",en[en.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",en[en.fontFamily=49]="fontFamily",en[en.fontInfo=50]="fontInfo",en[en.fontLigatures=51]="fontLigatures",en[en.fontSize=52]="fontSize",en[en.fontWeight=53]="fontWeight",en[en.fontVariations=54]="fontVariations",en[en.formatOnPaste=55]="formatOnPaste",en[en.formatOnType=56]="formatOnType",en[en.glyphMargin=57]="glyphMargin",en[en.gotoLocation=58]="gotoLocation",en[en.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",en[en.hover=60]="hover",en[en.inDiffEditor=61]="inDiffEditor",en[en.inlineSuggest=62]="inlineSuggest",en[en.inlineEdit=63]="inlineEdit",en[en.letterSpacing=64]="letterSpacing",en[en.lightbulb=65]="lightbulb",en[en.lineDecorationsWidth=66]="lineDecorationsWidth",en[en.lineHeight=67]="lineHeight",en[en.lineNumbers=68]="lineNumbers",en[en.lineNumbersMinChars=69]="lineNumbersMinChars",en[en.linkedEditing=70]="linkedEditing",en[en.links=71]="links",en[en.matchBrackets=72]="matchBrackets",en[en.minimap=73]="minimap",en[en.mouseStyle=74]="mouseStyle",en[en.mouseWheelScrollSensitivity=75]="mouseWheelScrollSensitivity",en[en.mouseWheelZoom=76]="mouseWheelZoom",en[en.multiCursorMergeOverlapping=77]="multiCursorMergeOverlapping",en[en.multiCursorModifier=78]="multiCursorModifier",en[en.multiCursorPaste=79]="multiCursorPaste",en[en.multiCursorLimit=80]="multiCursorLimit",en[en.occurrencesHighlight=81]="occurrencesHighlight",en[en.overviewRulerBorder=82]="overviewRulerBorder",en[en.overviewRulerLanes=83]="overviewRulerLanes",en[en.padding=84]="padding",en[en.pasteAs=85]="pasteAs",en[en.parameterHints=86]="parameterHints",en[en.peekWidgetDefaultFocus=87]="peekWidgetDefaultFocus",en[en.definitionLinkOpensInPeek=88]="definitionLinkOpensInPeek",en[en.quickSuggestions=89]="quickSuggestions",en[en.quickSuggestionsDelay=90]="quickSuggestionsDelay",en[en.readOnly=91]="readOnly",en[en.readOnlyMessage=92]="readOnlyMessage",en[en.renameOnType=93]="renameOnType",en[en.renderControlCharacters=94]="renderControlCharacters",en[en.renderFinalNewline=95]="renderFinalNewline",en[en.renderLineHighlight=96]="renderLineHighlight",en[en.renderLineHighlightOnlyWhenFocus=97]="renderLineHighlightOnlyWhenFocus",en[en.renderValidationDecorations=98]="renderValidationDecorations",en[en.renderWhitespace=99]="renderWhitespace",en[en.revealHorizontalRightPadding=100]="revealHorizontalRightPadding",en[en.roundedSelection=101]="roundedSelection",en[en.rulers=102]="rulers",en[en.scrollbar=103]="scrollbar",en[en.scrollBeyondLastColumn=104]="scrollBeyondLastColumn",en[en.scrollBeyondLastLine=105]="scrollBeyondLastLine",en[en.scrollPredominantAxis=106]="scrollPredominantAxis",en[en.selectionClipboard=107]="selectionClipboard",en[en.selectionHighlight=108]="selectionHighlight",en[en.selectOnLineNumbers=109]="selectOnLineNumbers",en[en.showFoldingControls=110]="showFoldingControls",en[en.showUnused=111]="showUnused",en[en.snippetSuggestions=112]="snippetSuggestions",en[en.smartSelect=113]="smartSelect",en[en.smoothScrolling=114]="smoothScrolling",en[en.stickyScroll=115]="stickyScroll",en[en.stickyTabStops=116]="stickyTabStops",en[en.stopRenderingLineAfter=117]="stopRenderingLineAfter",en[en.suggest=118]="suggest",en[en.suggestFontSize=119]="suggestFontSize",en[en.suggestLineHeight=120]="suggestLineHeight",en[en.suggestOnTriggerCharacters=121]="suggestOnTriggerCharacters",en[en.suggestSelection=122]="suggestSelection",en[en.tabCompletion=123]="tabCompletion",en[en.tabIndex=124]="tabIndex",en[en.unicodeHighlighting=125]="unicodeHighlighting",en[en.unusualLineTerminators=126]="unusualLineTerminators",en[en.useShadowDOM=127]="useShadowDOM",en[en.useTabStops=128]="useTabStops",en[en.wordBreak=129]="wordBreak",en[en.wordSegmenterLocales=130]="wordSegmenterLocales",en[en.wordSeparators=131]="wordSeparators",en[en.wordWrap=132]="wordWrap",en[en.wordWrapBreakAfterCharacters=133]="wordWrapBreakAfterCharacters",en[en.wordWrapBreakBeforeCharacters=134]="wordWrapBreakBeforeCharacters",en[en.wordWrapColumn=135]="wordWrapColumn",en[en.wordWrapOverride1=136]="wordWrapOverride1",en[en.wordWrapOverride2=137]="wordWrapOverride2",en[en.wrappingIndent=138]="wrappingIndent",en[en.wrappingStrategy=139]="wrappingStrategy",en[en.showDeprecated=140]="showDeprecated",en[en.inlayHints=141]="inlayHints",en[en.editorClassName=142]="editorClassName",en[en.pixelRatio=143]="pixelRatio",en[en.tabFocusMode=144]="tabFocusMode",en[en.layoutInfo=145]="layoutInfo",en[en.wrappingInfo=146]="wrappingInfo",en[en.defaultColorDecorators=147]="defaultColorDecorators",en[en.colorDecoratorsActivatedOn=148]="colorDecoratorsActivatedOn",en[en.inlineCompletionsAccessibilityVerbose=149]="inlineCompletionsAccessibilityVerbose",(es=m||(m={}))[es.TextDefined=0]="TextDefined",es[es.LF=1]="LF",es[es.CRLF=2]="CRLF",(eo=p||(p={}))[eo.LF=0]="LF",eo[eo.CRLF=1]="CRLF",(ea=b||(b={}))[ea.Left=1]="Left",ea[ea.Center=2]="Center",ea[ea.Right=3]="Right",(el=_||(_={}))[el.None=0]="None",el[el.Indent=1]="Indent",el[el.IndentOutdent=2]="IndentOutdent",el[el.Outdent=3]="Outdent",(eu=v||(v={}))[eu.Both=0]="Both",eu[eu.Right=1]="Right",eu[eu.Left=2]="Left",eu[eu.None=3]="None",(eh=C||(C={}))[eh.Type=1]="Type",eh[eh.Parameter=2]="Parameter",(ed=L||(L={}))[ed.Automatic=0]="Automatic",ed[ed.Explicit=1]="Explicit",(eg=y||(y={}))[eg.Invoke=0]="Invoke",eg[eg.Automatic=1]="Automatic",(ec=x||(x={}))[ec.DependsOnKbLayout=-1]="DependsOnKbLayout",ec[ec.Unknown=0]="Unknown",ec[ec.Backspace=1]="Backspace",ec[ec.Tab=2]="Tab",ec[ec.Enter=3]="Enter",ec[ec.Shift=4]="Shift",ec[ec.Ctrl=5]="Ctrl",ec[ec.Alt=6]="Alt",ec[ec.PauseBreak=7]="PauseBreak",ec[ec.CapsLock=8]="CapsLock",ec[ec.Escape=9]="Escape",ec[ec.Space=10]="Space",ec[ec.PageUp=11]="PageUp",ec[ec.PageDown=12]="PageDown",ec[ec.End=13]="End",ec[ec.Home=14]="Home",ec[ec.LeftArrow=15]="LeftArrow",ec[ec.UpArrow=16]="UpArrow",ec[ec.RightArrow=17]="RightArrow",ec[ec.DownArrow=18]="DownArrow",ec[ec.Insert=19]="Insert",ec[ec.Delete=20]="Delete",ec[ec.Digit0=21]="Digit0",ec[ec.Digit1=22]="Digit1",ec[ec.Digit2=23]="Digit2",ec[ec.Digit3=24]="Digit3",ec[ec.Digit4=25]="Digit4",ec[ec.Digit5=26]="Digit5",ec[ec.Digit6=27]="Digit6",ec[ec.Digit7=28]="Digit7",ec[ec.Digit8=29]="Digit8",ec[ec.Digit9=30]="Digit9",ec[ec.KeyA=31]="KeyA",ec[ec.KeyB=32]="KeyB",ec[ec.KeyC=33]="KeyC",ec[ec.KeyD=34]="KeyD",ec[ec.KeyE=35]="KeyE",ec[ec.KeyF=36]="KeyF",ec[ec.KeyG=37]="KeyG",ec[ec.KeyH=38]="KeyH",ec[ec.KeyI=39]="KeyI",ec[ec.KeyJ=40]="KeyJ",ec[ec.KeyK=41]="KeyK",ec[ec.KeyL=42]="KeyL",ec[ec.KeyM=43]="KeyM",ec[ec.KeyN=44]="KeyN",ec[ec.KeyO=45]="KeyO",ec[ec.KeyP=46]="KeyP",ec[ec.KeyQ=47]="KeyQ",ec[ec.KeyR=48]="KeyR",ec[ec.KeyS=49]="KeyS",ec[ec.KeyT=50]="KeyT",ec[ec.KeyU=51]="KeyU",ec[ec.KeyV=52]="KeyV",ec[ec.KeyW=53]="KeyW",ec[ec.KeyX=54]="KeyX",ec[ec.KeyY=55]="KeyY",ec[ec.KeyZ=56]="KeyZ",ec[ec.Meta=57]="Meta",ec[ec.ContextMenu=58]="ContextMenu",ec[ec.F1=59]="F1",ec[ec.F2=60]="F2",ec[ec.F3=61]="F3",ec[ec.F4=62]="F4",ec[ec.F5=63]="F5",ec[ec.F6=64]="F6",ec[ec.F7=65]="F7",ec[ec.F8=66]="F8",ec[ec.F9=67]="F9",ec[ec.F10=68]="F10",ec[ec.F11=69]="F11",ec[ec.F12=70]="F12",ec[ec.F13=71]="F13",ec[ec.F14=72]="F14",ec[ec.F15=73]="F15",ec[ec.F16=74]="F16",ec[ec.F17=75]="F17",ec[ec.F18=76]="F18",ec[ec.F19=77]="F19",ec[ec.F20=78]="F20",ec[ec.F21=79]="F21",ec[ec.F22=80]="F22",ec[ec.F23=81]="F23",ec[ec.F24=82]="F24",ec[ec.NumLock=83]="NumLock",ec[ec.ScrollLock=84]="ScrollLock",ec[ec.Semicolon=85]="Semicolon",ec[ec.Equal=86]="Equal",ec[ec.Comma=87]="Comma",ec[ec.Minus=88]="Minus",ec[ec.Period=89]="Period",ec[ec.Slash=90]="Slash",ec[ec.Backquote=91]="Backquote",ec[ec.BracketLeft=92]="BracketLeft",ec[ec.Backslash=93]="Backslash",ec[ec.BracketRight=94]="BracketRight",ec[ec.Quote=95]="Quote",ec[ec.OEM_8=96]="OEM_8",ec[ec.IntlBackslash=97]="IntlBackslash",ec[ec.Numpad0=98]="Numpad0",ec[ec.Numpad1=99]="Numpad1",ec[ec.Numpad2=100]="Numpad2",ec[ec.Numpad3=101]="Numpad3",ec[ec.Numpad4=102]="Numpad4",ec[ec.Numpad5=103]="Numpad5",ec[ec.Numpad6=104]="Numpad6",ec[ec.Numpad7=105]="Numpad7",ec[ec.Numpad8=106]="Numpad8",ec[ec.Numpad9=107]="Numpad9",ec[ec.NumpadMultiply=108]="NumpadMultiply",ec[ec.NumpadAdd=109]="NumpadAdd",ec[ec.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",ec[ec.NumpadSubtract=111]="NumpadSubtract",ec[ec.NumpadDecimal=112]="NumpadDecimal",ec[ec.NumpadDivide=113]="NumpadDivide",ec[ec.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",ec[ec.ABNT_C1=115]="ABNT_C1",ec[ec.ABNT_C2=116]="ABNT_C2",ec[ec.AudioVolumeMute=117]="AudioVolumeMute",ec[ec.AudioVolumeUp=118]="AudioVolumeUp",ec[ec.AudioVolumeDown=119]="AudioVolumeDown",ec[ec.BrowserSearch=120]="BrowserSearch",ec[ec.BrowserHome=121]="BrowserHome",ec[ec.BrowserBack=122]="BrowserBack",ec[ec.BrowserForward=123]="BrowserForward",ec[ec.MediaTrackNext=124]="MediaTrackNext",ec[ec.MediaTrackPrevious=125]="MediaTrackPrevious",ec[ec.MediaStop=126]="MediaStop",ec[ec.MediaPlayPause=127]="MediaPlayPause",ec[ec.LaunchMediaPlayer=128]="LaunchMediaPlayer",ec[ec.LaunchMail=129]="LaunchMail",ec[ec.LaunchApp2=130]="LaunchApp2",ec[ec.Clear=131]="Clear",ec[ec.MAX_VALUE=132]="MAX_VALUE",(ef=S||(S={}))[ef.Hint=1]="Hint",ef[ef.Info=2]="Info",ef[ef.Warning=4]="Warning",ef[ef.Error=8]="Error",(em=w||(w={}))[em.Unnecessary=1]="Unnecessary",em[em.Deprecated=2]="Deprecated",(ep=E||(E={}))[ep.Inline=1]="Inline",ep[ep.Gutter=2]="Gutter",(eb=N||(N={}))[eb.Normal=1]="Normal",eb[eb.Underlined=2]="Underlined",(e_=R||(R={}))[e_.UNKNOWN=0]="UNKNOWN",e_[e_.TEXTAREA=1]="TEXTAREA",e_[e_.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e_[e_.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e_[e_.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e_[e_.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e_[e_.CONTENT_TEXT=6]="CONTENT_TEXT",e_[e_.CONTENT_EMPTY=7]="CONTENT_EMPTY",e_[e_.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e_[e_.CONTENT_WIDGET=9]="CONTENT_WIDGET",e_[e_.OVERVIEW_RULER=10]="OVERVIEW_RULER",e_[e_.SCROLLBAR=11]="SCROLLBAR",e_[e_.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e_[e_.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(ev=A||(A={}))[ev.AIGenerated=1]="AIGenerated",(eC=M||(M={}))[eC.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",eC[eC.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",eC[eC.TOP_CENTER=2]="TOP_CENTER",(eL=k||(k={}))[eL.Left=1]="Left",eL[eL.Center=2]="Center",eL[eL.Right=4]="Right",eL[eL.Full=7]="Full",(ey=O||(O={}))[ey.Word=0]="Word",ey[ey.Line=1]="Line",ey[ey.Suggest=2]="Suggest",(ex=I||(I={}))[ex.Left=0]="Left",ex[ex.Right=1]="Right",ex[ex.None=2]="None",ex[ex.LeftOfInjectedText=3]="LeftOfInjectedText",ex[ex.RightOfInjectedText=4]="RightOfInjectedText",(eS=D||(D={}))[eS.Off=0]="Off",eS[eS.On=1]="On",eS[eS.Relative=2]="Relative",eS[eS.Interval=3]="Interval",eS[eS.Custom=4]="Custom",(ew=T||(T={}))[ew.None=0]="None",ew[ew.Text=1]="Text",ew[ew.Blocks=2]="Blocks",(eE=F||(F={}))[eE.Smooth=0]="Smooth",eE[eE.Immediate=1]="Immediate",(eN=P||(P={}))[eN.Auto=1]="Auto",eN[eN.Hidden=2]="Hidden",eN[eN.Visible=3]="Visible",(eR=q||(q={}))[eR.LTR=0]="LTR",eR[eR.RTL=1]="RTL",(eA=B||(B={})).Off="off",eA.OnCode="onCode",eA.On="on",(eM=K||(K={}))[eM.Invoke=1]="Invoke",eM[eM.TriggerCharacter=2]="TriggerCharacter",eM[eM.ContentChange=3]="ContentChange",(ek=V||(V={}))[ek.File=0]="File",ek[ek.Module=1]="Module",ek[ek.Namespace=2]="Namespace",ek[ek.Package=3]="Package",ek[ek.Class=4]="Class",ek[ek.Method=5]="Method",ek[ek.Property=6]="Property",ek[ek.Field=7]="Field",ek[ek.Constructor=8]="Constructor",ek[ek.Enum=9]="Enum",ek[ek.Interface=10]="Interface",ek[ek.Function=11]="Function",ek[ek.Variable=12]="Variable",ek[ek.Constant=13]="Constant",ek[ek.String=14]="String",ek[ek.Number=15]="Number",ek[ek.Boolean=16]="Boolean",ek[ek.Array=17]="Array",ek[ek.Object=18]="Object",ek[ek.Key=19]="Key",ek[ek.Null=20]="Null",ek[ek.EnumMember=21]="EnumMember",ek[ek.Struct=22]="Struct",ek[ek.Event=23]="Event",ek[ek.Operator=24]="Operator",ek[ek.TypeParameter=25]="TypeParameter",(eO=U||(U={}))[eO.Deprecated=1]="Deprecated",(eI=z||(z={}))[eI.Hidden=0]="Hidden",eI[eI.Blink=1]="Blink",eI[eI.Smooth=2]="Smooth",eI[eI.Phase=3]="Phase",eI[eI.Expand=4]="Expand",eI[eI.Solid=5]="Solid",(eD=W||(W={}))[eD.Line=1]="Line",eD[eD.Block=2]="Block",eD[eD.Underline=3]="Underline",eD[eD.LineThin=4]="LineThin",eD[eD.BlockOutline=5]="BlockOutline",eD[eD.UnderlineThin=6]="UnderlineThin",(eT=H||(H={}))[eT.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",eT[eT.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",eT[eT.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",eT[eT.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(eF=j||(j={}))[eF.None=0]="None",eF[eF.Same=1]="Same",eF[eF.Indent=2]="Indent",eF[eF.DeepIndent=3]="DeepIndent"}),s("1Uk78",function(t,r){e(t.exports,"UnicodeTextModelHighlighter",()=>u);var i=n("4wyXc"),s=n("2aWu6"),o=n("241rv"),a=n("jyosY"),l=n("kVRVx");class u{static computeUnicodeHighlights(e,t,r){let n,u;let d=r?r.startLineNumber:1,g=r?r.endLineNumber:e.getLineCount(),c=new h(t),f=c.getCandidateCodePoints();n="allNonBasicAscii"===f?RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):RegExp(`${function(e,t){let r=`[${o.escapeRegExpCharacters(e.map(e=>String.fromCodePoint(e)).join(""))}]`;return r}(Array.from(f))}`,"g");let m=new s.Searcher(null,n),p=[],b=!1,_=0,v=0,C=0;t:for(let t=d;t<=g;t++){let r=e.getLineContent(t),n=r.length;m.reset(0);do if(u=m.next(r)){let e=u.index,s=u.index+u[0].length;if(e>0){let t=r.charCodeAt(e-1);o.isHighSurrogate(t)&&e--}if(s+1=1e3){b=!0;break t}p.push(new i.Range(t,e+1,t,s+1))}}while(u)}return{ranges:p,hasMore:b,ambiguousCharacterCount:_,invisibleCharacterCount:v,nonBasicAsciiCharacterCount:C}}static computeUnicodeHighlightReason(e,t){let r=new h(t),i=r.shouldHighlightNonBasicASCII(e,null);switch(i){case 0:return null;case 2:return{kind:1};case 3:{let i=e.codePointAt(0),n=r.ambiguousCharacters.getPrimaryConfusable(i),s=o.AmbiguousCharacters.getLocales().filter(e=>!o.AmbiguousCharacters.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(i));return{kind:0,confusableWith:String.fromCodePoint(n),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}class h{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=o.AmbiguousCharacters.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of o.InvisibleCharacters.codePoints)d(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let r=e.codePointAt(0);if(this.allowedCodePoints.has(r))return 0;if(this.options.nonBasicASCII)return 1;let i=!1,n=!1;if(t)for(let e of t){let t=e.codePointAt(0),r=o.isBasicASCII(e);i=i||r,r||this.ambiguousCharacters.isAmbiguous(t)||o.InvisibleCharacters.isInvisibleCharacter(t)||(n=!0)}return!i&&n?0:this.options.invisibleCharacters&&!d(e)&&o.InvisibleCharacters.isInvisibleCharacter(r)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(r)?3:0}}function d(e){return" "===e||"\n"===e||" "===e}}),s("2aWu6",function(t,r){e(t.exports,"SearchParams",()=>u),e(t.exports,"createFindMatch",()=>h),e(t.exports,"TextModelSearch",()=>g),e(t.exports,"Searcher",()=>f),e(t.exports,"isValidMatch",()=>c);var i=n("241rv"),s=n("gWzbx"),o=n("bObZh"),a=n("4wyXc"),l=n("4ZWDG");class u{constructor(e,t,r,i){this.searchString=e,this.isRegex=t,this.matchCase=r,this.wordSeparators=i}parseSearchRequest(){let e;if(""===this.searchString)return null;e=this.isRegex?function(e){if(!e||0===e.length)return!1;for(let t=0,r=e.length;t=r)break;let i=e.charCodeAt(t);if(110===i||114===i||87===i)return!0}}return!1}(this.searchString):this.searchString.indexOf("\n")>=0;let t=null;try{t=i.createRegExp(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(e){return null}if(!t)return null;let r=!this.isRegex&&!e;return r&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(r=this.matchCase),new l.SearchData(t,this.wordSeparators?(0,s.getMapForWordSeparators)(this.wordSeparators,[]):null,r?this.searchString:null)}}function h(e,t,r){if(!r)return new l.FindMatch(e,null);let i=[];for(let e=0,r=t.length;e>0);t[n]>=e?i=n-1:t[n+1]>=e?(r=n,i=n):r=n+1}return r+1}}class g{static findMatches(e,t,r,i,n){let s=t.parseSearchRequest();return s?s.regex.multiline?this._doFindMatchesMultiline(e,r,new f(s.wordSeparators,s.regex),i,n):this._doFindMatchesLineByLine(e,r,s,i,n):[]}static _getMultilineMatchRange(e,t,r,i,n,s){let o,l;let u=0;if(i?(u=i.findLineFeedCountBeforeOffset(n),o=t+n+u):o=t+n,i){let e=i.findLineFeedCountBeforeOffset(n+s.length),t=e-u;l=o+s.length+t}else l=o+s.length;let h=e.getPositionAt(o),d=e.getPositionAt(l);return new a.Range(h.lineNumber,h.column,d.lineNumber,d.column)}static _doFindMatchesMultiline(e,t,r,i,n){let s;let o=e.getOffsetAt(t.getStartPosition()),a=e.getValueInRange(t,1),l="\r\n"===e.getEOL()?new d(a):null,u=[],g=0;for(r.reset(0);(s=r.next(a))&&(u[g++]=h(this._getMultilineMatchRange(e,o,a,l,s.index,s[0]),s,i),!(g>=n)););return u}static _doFindMatchesLineByLine(e,t,r,i,n){let s=[],o=0;if(t.startLineNumber===t.endLineNumber){let a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return o=this._findMatchesInLine(r,a,t.startLineNumber,t.startColumn-1,o,s,i,n),s}let a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);o=this._findMatchesInLine(r,a,t.startLineNumber,t.startColumn-1,o,s,i,n);for(let a=t.startLineNumber+1;a=u))););return n}let m=new f(e.wordSeparators,e.regex);m.reset(0);do if((d=m.next(t))&&(s[n++]=h(new a.Range(r,d.index+1+i,r,d.index+1+d[0].length+i),d,o),n>=u))break;while(d)return n}static findNextMatch(e,t,r,i){let n=t.parseSearchRequest();if(!n)return null;let s=new f(n.wordSeparators,n.regex);return n.regex.multiline?this._doFindNextMatchMultiline(e,r,s,i):this._doFindNextMatchLineByLine(e,r,s,i)}static _doFindNextMatchMultiline(e,t,r,i){let n=new o.Position(t.lineNumber,1),s=e.getOffsetAt(n),l=e.getLineCount(),u=e.getValueInRange(new a.Range(n.lineNumber,n.column,l,e.getLineMaxColumn(l)),1),g="\r\n"===e.getEOL()?new d(u):null;r.reset(t.column-1);let c=r.next(u);return c?h(this._getMultilineMatchRange(e,s,u,g,c.index,c[0]),c,i):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new o.Position(1,1),r,i):null}static _doFindNextMatchLineByLine(e,t,r,i){let n=e.getLineCount(),s=t.lineNumber,o=e.getLineContent(s),a=this._findFirstMatchInLine(r,o,s,t.column,i);if(a)return a;for(let t=1;t<=n;t++){let o=(s+t-1)%n,a=e.getLineContent(o+1),l=this._findFirstMatchInLine(r,a,o+1,1,i);if(l)return l}return null}static _findFirstMatchInLine(e,t,r,i,n){e.reset(i-1);let s=e.next(t);return s?h(new a.Range(r,s.index+1,r,s.index+1+s[0].length),s,n):null}static findPreviousMatch(e,t,r,i){let n=t.parseSearchRequest();if(!n)return null;let s=new f(n.wordSeparators,n.regex);return n.regex.multiline?this._doFindPreviousMatchMultiline(e,r,s,i):this._doFindPreviousMatchLineByLine(e,r,s,i)}static _doFindPreviousMatchMultiline(e,t,r,i){let n=this._doFindMatchesMultiline(e,new a.Range(1,1,t.lineNumber,t.column),r,i,9990);if(n.length>0)return n[n.length-1];let s=e.getLineCount();return t.lineNumber!==s||t.column!==e.getLineMaxColumn(s)?this._doFindPreviousMatchMultiline(e,new o.Position(s,e.getLineMaxColumn(s)),r,i):null}static _doFindPreviousMatchLineByLine(e,t,r,i){let n=e.getLineCount(),s=t.lineNumber,o=e.getLineContent(s).substring(0,t.column-1),a=this._findLastMatchInLine(r,o,s,i);if(a)return a;for(let t=1;t<=n;t++){let o=(n+s-t-1)%n,a=e.getLineContent(o+1),l=this._findLastMatchInLine(r,a,o+1,i);if(l)return l}return null}static _findLastMatchInLine(e,t,r,i){let n,s=null;for(e.reset(0);n=e.next(t);)s=h(new a.Range(r,n.index+1,r,n.index+1+n[0].length),n,i);return s}}function c(e,t,r,i,n){return function(e,t,r,i,n){if(0===i)return!0;let s=t.charCodeAt(i-1);if(0!==e.get(s)||13===s||10===s)return!0;if(n>0){let r=t.charCodeAt(i);if(0!==e.get(r))return!0}return!1}(e,t,0,i,n)&&function(e,t,r,i,n){if(i+n===r)return!0;let s=t.charCodeAt(i+n);if(0!==e.get(s)||13===s||10===s)return!0;if(n>0){let r=t.charCodeAt(i+n-1);if(0!==e.get(r))return!0}return!1}(e,t,r,i,n)}class f{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let r=e.length;do{if(this._prevMatchStartIndex+this._prevMatchLength===r||!(t=this._searchRegex.exec(e)))break;let n=t.index,s=t[0].length;if(n===this._prevMatchStartIndex&&s===this._prevMatchLength){if(0===s){i.getNextCodePoint(e,r,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=n,this._prevMatchLength=s,!this._wordSeparators||c(this._wordSeparators,e,r,n,s))return t}while(t)return null}}}),s("gWzbx",function(t,r){e(t.exports,"getMapForWordSeparators",()=>l);var i=n("csXSF"),s=n("cFbHN");class o extends s.CharacterClassifier{constructor(e,t){super(0),this._segmenter=null,this._cachedLine=null,this._cachedSegments=[],this.intlSegmenterLocales=t,this.intlSegmenterLocales.length>0?this._segmenter=new Intl.Segmenter(this.intlSegmenterLocales,{granularity:"word"}):this._segmenter=null;for(let t=0,r=e.length;tt)break;r=i}return r}findNextIntlWordAtOrAfterOffset(e,t){for(let r of this._getIntlSegmenterWordsOnLine(e))if(!(r.indexo),e(t.exports,"LRUCache",()=>l),e(t.exports,"BidirectionalMap",()=>u),e(t.exports,"SetMap",()=>h);class s{constructor(e,t){this.uri=e,this.value=t}}class o{constructor(e,t){if(this[i]="ResourceMap",e instanceof o)this.map=new Map(e.map),this.toKey=null!=t?t:o.defaultToKey;else if(Array.isArray(e))for(let[r,i]of(this.map=new Map,this.toKey=null!=t?t:o.defaultToKey,e))this.set(r,i);else this.map=new Map,this.toKey=null!=e?e:o.defaultToKey}set(e,t){return this.map.set(this.toKey(e),new s(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){for(let[r,i]of(void 0!==t&&(e=e.bind(t)),this.map))e(i.value,i.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(i=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}o.defaultToKey=e=>e.toString();class a{constructor(){this[n]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null===(e=this._head)||void 0===e?void 0:e.value}get last(){var e;return null===(e=this._tail)||void 0===e?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){let r=this._map.get(e);if(r)return 0!==t&&this.touch(r,t),r.value}set(e,t,r=0){let i=this._map.get(e);if(i)i.value=t,0!==r&&this.touch(i,r);else{switch(i={key:e,value:t,next:void 0,previous:void 0},r){case 0:case 2:default:this.addItemLast(i);break;case 1:this.addItemFirst(i)}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){let r=this._state,i=this._head;for(;i;){if(t?e.bind(t)(i.value,i.key,this):e(i.value,i.key,this),this._state!==r)throw Error("LinkedMap got modified during iteration.");i=i.next}}keys(){let e=this,t=this._state,r=this._head,i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!r)return{value:void 0,done:!0};{let e={value:r.key,done:!1};return r=r.next,e}}};return i}values(){let e=this,t=this._state,r=this._head,i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!r)return{value:void 0,done:!0};{let e={value:r.value,done:!1};return r=r.next,e}}};return i}entries(){let e=this,t=this._state,r=this._head,i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!r)return{value:void 0,done:!0};{let e={value:[r.key,r.value],done:!1};return r=r.next,e}}};return i}[(n=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e){this.clear();return}let t=this._head,r=this.size;for(;t&&r>e;)this._map.delete(t.key),t=t.next,r--;this._head=t,this._size=r,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(this._head)e.next=this._head,this._head.previous=e;else throw Error("Invalid list")}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(this._tail)e.previous=this._tail,this._tail.next=e;else throw Error("Invalid list")}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let t=e.next,r=e.previous;if(!t||!r)throw Error("Invalid list");t.previous=r,r.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw Error("Invalid list");if(1===t||2===t){if(1===t){if(e===this._head)return;let t=e.next,r=e.previous;e===this._tail?(r.next=void 0,this._tail=r):(t.previous=r,r.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(2===t){if(e===this._tail)return;let t=e.next,r=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=r,r.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((t,r)=>{e.push([r,t])}),e}fromJSON(e){for(let[t,r]of(this.clear(),e))this.set(t,r)}}class l extends a{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}class u{constructor(e){if(this._m1=new Map,this._m2=new Map,e)for(let[t,r]of e)this.set(t,r)}clear(){this._m1.clear(),this._m2.clear()}set(e,t){this._m1.set(e,t),this._m2.set(t,e)}get(e){return this._m1.get(e)}getKey(e){return this._m2.get(e)}delete(e){let t=this._m1.get(e);return void 0!==t&&(this._m1.delete(e),this._m2.delete(t),!0)}keys(){return this._m1.keys()}values(){return this._m1.values()}}class h{constructor(){this.map=new Map}add(e,t){let r=this.map.get(e);r||(r=new Set,this.map.set(e,r)),r.add(t)}delete(e,t){let r=this.map.get(e);r&&(r.delete(t),0===r.size&&this.map.delete(e))}forEach(e,t){let r=this.map.get(e);r&&r.forEach(t)}get(e){let t=this.map.get(e);return t||new Set}}}),s("4ZWDG",function(t,r){e(t.exports,"OverviewRulerLane",()=>a),e(t.exports,"GlyphMarginLane",()=>l),e(t.exports,"InjectedTextCursorStops",()=>u),e(t.exports,"TextModelResolvedOptions",()=>d),e(t.exports,"FindMatch",()=>g),e(t.exports,"isITextSnapshot",()=>c),e(t.exports,"ValidAnnotatedEditOperation",()=>f),e(t.exports,"SearchData",()=>m),e(t.exports,"ApplyEditsResult",()=>p),e(t.exports,"shouldSynchronizeModel",()=>b);var i,s,o,a,l,u,h=n("cQzfL");(i=a||(a={}))[i.Left=1]="Left",i[i.Center=2]="Center",i[i.Right=4]="Right",i[i.Full=7]="Full",(s=l||(l={}))[s.Left=1]="Left",s[s.Center=2]="Center",s[s.Right=3]="Right",(o=u||(u={}))[o.Both=0]="Both",o[o.Right=1]="Right",o[o.Left=2]="Left",o[o.None=3]="None";class d{get originalIndentSize(){return this._indentSizeIsTabSize?"tabSize":this.indentSize}constructor(e){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,0|e.tabSize),"tabSize"===e.indentSize?(this.indentSize=this.tabSize,this._indentSizeIsTabSize=!0):(this.indentSize=Math.max(1,0|e.indentSize),this._indentSizeIsTabSize=!1),this.insertSpaces=!!e.insertSpaces,this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=!!e.trimAutoWhitespace,this.bracketPairColorizationOptions=e.bracketPairColorizationOptions}equals(e){return this.tabSize===e.tabSize&&this._indentSizeIsTabSize===e._indentSizeIsTabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&(0,h.equals)(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class g{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}function c(e){return e&&"function"==typeof e.read}class f{constructor(e,t,r,i,n,s){this.identifier=e,this.range=t,this.text=r,this.forceMoveMarkers=i,this.isAutoWhitespaceEdit=n,this._isTracked=s}}class m{constructor(e,t,r){this.regex=e,this.wordSeparators=t,this.simpleSearch=r}}class p{constructor(e,t,r){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=r}}function b(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}}),s("jyosY",function(t,r){e(t.exports,"ok",()=>s),e(t.exports,"assertNever",()=>o),e(t.exports,"softAssert",()=>a),e(t.exports,"assertFn",()=>l),e(t.exports,"checkAdjacentItems",()=>u);var i=n("8xqBM");function s(e,t){if(!e)throw Error(t?`Assertion failed (${t})`:"Assertion Failed")}function o(e,t="Unreachable"){throw Error(t)}function a(e){e||(0,i.onUnexpectedError)(new i.BugIndicatingError("Soft Assertion Failed"))}function l(e){e()||(e(),(0,i.onUnexpectedError)(new i.BugIndicatingError("Assertion Failed")))}function u(e,t){let r=0;for(;ro);var i=n("3UOk3"),s=n("gOO81");let o={getLegacy:()=>new i.LegacyLinesDiffComputer,getDefault:()=>new s.DefaultLinesDiffComputer}}),s("3UOk3",function(t,r){e(t.exports,"LegacyLinesDiffComputer",()=>d);var i=n("aWVwc"),s=n("1RqOa"),o=n("1JjdG"),a=n("241rv"),l=n("4wyXc"),u=n("jyosY"),h=n("gBPF5");class d{computeDiff(e,t,r){var i;let n=new b(e,t,{maxComputationTime:r.maxComputationTimeMs,shouldIgnoreTrimWhitespace:r.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}),a=n.computeDiff(),d=[],g=null;for(let e of a.changes){let t,r;t=0===e.originalEndLineNumber?new h.LineRange(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new h.LineRange(e.originalStartLineNumber,e.originalEndLineNumber+1),r=0===e.modifiedEndLineNumber?new h.LineRange(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new h.LineRange(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1);let n=new o.DetailedLineRangeMapping(t,r,null===(i=e.charChanges)||void 0===i?void 0:i.map(e=>new o.RangeMapping(new l.Range(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new l.Range(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));g&&(g.modified.endLineNumberExclusive===n.modified.startLineNumber||g.original.endLineNumberExclusive===n.original.startLineNumber)&&(n=new o.DetailedLineRangeMapping(g.original.join(n.original),g.modified.join(n.modified),g.innerChanges&&n.innerChanges?g.innerChanges.concat(n.innerChanges):void 0),d.pop()),d.push(n),g=n}return(0,u.assertFn)(()=>(0,u.checkAdjacentItems)(d,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class m{constructor(e,t,r,i,n,s,o,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=r,this.originalEndColumn=i,this.modifiedStartLineNumber=n,this.modifiedStartColumn=s,this.modifiedEndLineNumber=o,this.modifiedEndColumn=a}static createFromDiffChange(e,t,r){let i=t.getStartLineNumber(e.originalStart),n=t.getStartColumn(e.originalStart),s=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),a=r.getStartLineNumber(e.modifiedStart),l=r.getStartColumn(e.modifiedStart),u=r.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),h=r.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new m(i,n,s,o,a,l,u,h)}}class p{constructor(e,t,r,i,n){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=r,this.modifiedEndLineNumber=i,this.charChanges=n}static createFromDiffResult(e,t,r,i,n,s,o){let a,l,u,h,d;if(0===t.originalLength?(a=r.getStartLineNumber(t.originalStart)-1,l=0):(a=r.getStartLineNumber(t.originalStart),l=r.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=i.getStartLineNumber(t.modifiedStart)-1,h=0):(u=i.getStartLineNumber(t.modifiedStart),h=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),s&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&n()){let s=r.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=i.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(s.getElements().length>0&&a.getElements().length>0){let e=g(s,a,n,!0).changes;o&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],r=t[0];for(let i=1,n=e.length;i1&&o>1;){let i=e.charCodeAt(r-2),n=t.charCodeAt(o-2);if(i!==n)break;r--,o--}(r>1||o>1)&&this._pushTrimWhitespaceCharChange(i,n+1,1,r,s+1,1,o)}{let r=v(e,1),o=v(t,1),a=e.length+1,l=t.length+1;for(;r!0;let t=Date.now();return()=>Date.now()-ti),e(t.exports,"MovedText",()=>n);class i{constructor(e,t,r){this.changes=e,this.moves=t,this.hitTimeout=r}}class n{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}}),s("1JjdG",function(t,r){e(t.exports,"LineRangeMapping",()=>s),e(t.exports,"DetailedLineRangeMapping",()=>o),e(t.exports,"RangeMapping",()=>a);var i=n("gBPF5");class s{static inverse(e,t,r){let n=[],o=1,a=1;for(let t of e){let e=new s(new i.LineRange(o,t.original.startLineNumber),new i.LineRange(a,t.modified.startLineNumber));e.modified.isEmpty||n.push(e),o=t.original.endLineNumberExclusive,a=t.modified.endLineNumberExclusive}let l=new s(new i.LineRange(o,t+1),new i.LineRange(a,r+1));return l.modified.isEmpty||n.push(l),n}static clip(e,t,r){let i=[];for(let n of e){let e=n.original.intersect(t),o=n.modified.intersect(r);e&&!e.isEmpty&&o&&!o.isEmpty&&i.push(new s(e,o))}return i}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new s(this.modified,this.original)}join(e){return new s(this.original.join(e.original),this.modified.join(e.modified))}}class o extends s{static fromRangeMappings(e){let t=(0,i.LineRange).join(e.map(e=>(0,i.LineRange).fromRangeInclusive(e.originalRange))),r=(0,i.LineRange).join(e.map(e=>(0,i.LineRange).fromRangeInclusive(e.modifiedRange)));return new o(t,r,e)}constructor(e,t,r){super(e,t),this.innerChanges=r}flip(){var e;return new o(this.modified,this.original,null===(e=this.innerChanges)||void 0===e?void 0:e.map(e=>e.flip()))}withInnerChangesFromLineRanges(){return new o(this.original,this.modified,[new a(this.original.toExclusiveRange(),this.modified.toExclusiveRange())])}}class a{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new a(this.modifiedRange,this.originalRange)}}}),s("gBPF5",function(t,r){e(t.exports,"LineRange",()=>l),e(t.exports,"LineRangeSet",()=>u);var i=n("8xqBM"),s=n("2B1P2"),o=n("4wyXc"),a=n("dw9mQ");class l{static fromRangeInclusive(e){return new l(e.startLineNumber,e.endLineNumber+1)}static joinMany(e){if(0===e.length)return[];let t=new u(e[0].slice());for(let r=1;rt)throw new i.BugIndicatingError(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&et.endLineNumberExclusive>=e.startLineNumber),r=(0,a.findLastIdxMonotonous)(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===r)this._normalizedRanges.splice(t,0,e);else if(t===r-1){let r=this._normalizedRanges[t];this._normalizedRanges[t]=r.join(e)}else{let i=this._normalizedRanges[t].join(this._normalizedRanges[r-1]).join(e);this._normalizedRanges.splice(t,r-t,i)}}contains(e){let t=(0,a.findLastMonotonous)(this._normalizedRanges,t=>t.startLineNumber<=e);return!!t&&t.endLineNumberExclusive>e}intersects(e){let t=(0,a.findLastMonotonous)(this._normalizedRanges,t=>t.startLineNumbere.startLineNumber}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;let t=[],r=0,i=0,n=null;for(;r=s.startLineNumber?n=new l(n.startLineNumber,Math.max(n.endLineNumberExclusive,s.endLineNumberExclusive)):(t.push(n),n=s)}return null!==n&&t.push(n),new u(t)}subtractFrom(e){let t=(0,a.findFirstIdxMonotonousOrArrLen)(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),r=(0,a.findLastIdxMonotonous)(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===r)return new u([e]);let i=[],n=e.startLineNumber;for(let e=t;en&&i.push(new l(n,t.startLineNumber)),n=t.endLineNumberExclusive}return ne.toString()).join(", ")}getIntersection(e){let t=[],r=0,i=0;for(;rt.delta(e)))}}}),s("2B1P2",function(t,r){e(t.exports,"OffsetRange",()=>s),e(t.exports,"OffsetRangeSet",()=>o);var i=n("8xqBM");class s{static addRange(e,t){let r=0;for(;rt))return new s(e,t)}static ofLength(e){return new s(0,e)}static ofStartAndLength(e,t){return new s(e,e+t)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new i.BugIndicatingError(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new s(this.start+e,this.endExclusive+e)}deltaStart(e){return new s(this.start+e,this.endExclusive)}deltaEnd(e){return new s(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}contains(e){return this.start<=e&&e=e.endExclusive}slice(e){return e.slice(this.start,this.endExclusive)}substring(e){return e.substring(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new i.BugIndicatingError(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new i.BugIndicatingError(`Invalid clipping range: ${this.toString()}`);return e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;te.toString()).join(", ")}intersectsStrict(e){let t=0;for(;te+t.length,0)}}}),s("dw9mQ",function(t,r){function i(e,t,r){let i=function(e,t,r=e.length-1){for(let i=r;i>=0;i--){let r=e[i];if(t(r))return i}return -1}(e,t);if(-1!==i)return e[i]}function n(e,t){let r=s(e,t);return -1===r?void 0:e[r]}function s(e,t,r=0,i=e.length){let n=r,s=i;for(;ni),e(t.exports,"findLastMonotonous",()=>n),e(t.exports,"findLastIdxMonotonous",()=>s),e(t.exports,"findFirstMonotonous",()=>o),e(t.exports,"findFirstIdxMonotonousOrArrLen",()=>a),e(t.exports,"MonotonousArray",()=>l),e(t.exports,"findFirstMaxBy",()=>u),e(t.exports,"findLastMaxBy",()=>h),e(t.exports,"findFirstMinBy",()=>d),e(t.exports,"findMaxIdxBy",()=>g),e(t.exports,"mapFindFirst",()=>c);class l{constructor(e){this._array=e,this._findLastMonotonousLastIdx=0}findLastMonotonous(e){if(l.assertInvariants){if(this._prevFindLastPredicate){for(let t of this._array)if(this._prevFindLastPredicate(t)&&!e(t))throw Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this._prevFindLastPredicate=e}let t=s(this._array,e,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=t+1,-1===t?void 0:this._array[t]}}function u(e,t){if(0===e.length)return;let r=e[0];for(let i=1;i0&&(r=n)}return r}function h(e,t){if(0===e.length)return;let r=e[0];for(let i=1;i=0&&(r=n)}return r}function d(e,t){return u(e,(e,r)=>-t(e,r))}function g(e,t){if(0===e.length)return -1;let r=0;for(let i=1;i0&&(r=i)}return r}function c(e,t){for(let r of e){let e=t(r);if(void 0!==e)return e}}l.assertInvariants=!1}),s("gOO81",function(t,r){e(t.exports,"DefaultLinesDiffComputer",()=>_);var i=n("hfZZt"),s=n("jyosY"),o=n("gBPF5"),a=n("2B1P2"),l=n("4wyXc"),u=n("8G5QV"),h=n("iK2IT"),d=n("10qah"),g=n("fCRT6"),c=n("9jrgp"),f=n("8vYAi"),m=n("iUmfG"),p=n("1RqOa"),b=n("1JjdG");class _{constructor(){this.dynamicProgrammingDiffing=new h.DynamicProgrammingDiffing,this.myersDiffingAlgorithm=new d.MyersDiffAlgorithm}computeDiff(e,t,r){if(e.length<=1&&(0,i.equals)(e,t,(e,t)=>e===t))return new p.LinesDiff([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new p.LinesDiff([new b.DetailedLineRangeMapping(new o.LineRange(1,e.length+1),new o.LineRange(1,t.length+1),[new b.RangeMapping(new l.Range(1,1,e.length,e[0].length+1),new l.Range(1,1,t.length,t[0].length+1))])],[],!1);let n=0===r.maxComputationTimeMs?u.InfiniteTimeout.instance:new u.DateTimeout(r.maxComputationTimeMs),h=!r.ignoreTrimWhitespace,d=new Map;function g(e){let t=d.get(e);return void 0===t&&(t=d.size,d.set(e,t)),t}let m=e.map(e=>g(e.trim())),_=t.map(e=>g(e.trim())),C=new f.LineSequence(m,e),L=new f.LineSequence(_,t),y=C.length+L.length<1700?this.dynamicProgrammingDiffing.compute(C,L,n,(r,i)=>e[r]===t[i]?0===t[i].length?.1:1+Math.log(1+t[i].length):.99):this.myersDiffingAlgorithm.compute(C,L),x=y.diffs,S=y.hitTimeout;x=(0,c.optimizeSequenceDiffs)(C,L,x),x=(0,c.removeVeryShortMatchingLinesBetweenDiffs)(C,L,x);let w=[],E=r=>{if(h)for(let i=0;ir.seq1Range.start-N==r.seq2Range.start-R);let i=r.seq1Range.start-N;E(i),N=r.seq1Range.endExclusive,R=r.seq2Range.endExclusive;let o=this.refineDiff(e,t,r,n,h);for(let e of(o.hitTimeout&&(S=!0),o.mappings))w.push(e)}E(e.length-N);let A=v(w,e,t),M=[];return r.computeMoves&&(M=this.computeMoves(A,e,t,m,_,n,h)),(0,s.assertFn)(()=>{function r(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;let r=t[e.lineNumber-1];return!(e.column<1)&&!(e.column>r.length+1)}function i(e,t){return!(e.startLineNumber<1)&&!(e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1)&&!(e.endLineNumberExclusive>t.length+1)}for(let n of A){if(!n.innerChanges)return!1;for(let i of n.innerChanges){let n=r(i.modifiedRange.getStartPosition(),t)&&r(i.modifiedRange.getEndPosition(),t)&&r(i.originalRange.getStartPosition(),e)&&r(i.originalRange.getEndPosition(),e);if(!n)return!1}if(!i(n.modified,t)||!i(n.original,e))return!1}return!0}),new p.LinesDiff(A,M,S)}computeMoves(e,t,r,i,n,s,o){let a=(0,g.computeMovedLines)(e,t,r,i,n,s),l=a.map(e=>{let i=this.refineDiff(t,r,new u.SequenceDiff(e.original.toOffsetRange(),e.modified.toOffsetRange()),s,o),n=v(i.mappings,t,r,!0);return new p.MovedText(e,n)});return l}refineDiff(e,t,r,i,n){let s=new m.LinesSliceCharSequence(e,r.seq1Range,n),o=new m.LinesSliceCharSequence(t,r.seq2Range,n),a=s.length+o.length<500?this.dynamicProgrammingDiffing.compute(s,o,i):this.myersDiffingAlgorithm.compute(s,o,i),l=a.diffs;l=(0,c.optimizeSequenceDiffs)(s,o,l),l=(0,c.extendDiffsToEntireWordIfAppropriate)(s,o,l),l=(0,c.removeShortMatches)(s,o,l),l=(0,c.removeVeryShortMatchingTextBetweenLongDiffs)(s,o,l);let u=l.map(e=>new b.RangeMapping(s.translateRange(e.seq1Range),o.translateRange(e.seq2Range)));return{mappings:u,hitTimeout:a.hitTimeout}}}function v(e,t,r,n=!1){let a=[];for(let n of(0,i.groupAdjacentBy)(e.map(e=>(function(e,t,r){let i=0,n=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+i<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+i<=e.modifiedRange.endLineNumber&&(n=-1),e.modifiedRange.startColumn-1>=r[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+n&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+n&&(i=1);let s=new o.LineRange(e.originalRange.startLineNumber+i,e.originalRange.endLineNumber+1+n),a=new o.LineRange(e.modifiedRange.startLineNumber+i,e.modifiedRange.endLineNumber+1+n);return new b.DetailedLineRangeMapping(s,a,[e])})(e,t,r)),(e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified))){let e=n[0],t=n[n.length-1];a.push(new b.DetailedLineRangeMapping(e.original.join(t.original),e.modified.join(t.modified),n.map(e=>e.innerChanges[0])))}return(0,s.assertFn)(()=>(!!n||!(a.length>0)||a[0].modified.startLineNumber===a[0].original.startLineNumber&&r.length-a[a.length-1].modified.endLineNumberExclusive==t.length-a[a.length-1].original.endLineNumberExclusive)&&(0,s.checkAdjacentItems)(a,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusivea),e(t.exports,"SequenceDiff",()=>l),e(t.exports,"OffsetPair",()=>u),e(t.exports,"InfiniteTimeout",()=>h),e(t.exports,"DateTimeout",()=>d);var i=n("hfZZt"),s=n("8xqBM"),o=n("2B1P2");class a{static trivial(e,t){return new a([new l((0,o.OffsetRange).ofLength(e.length),(0,o.OffsetRange).ofLength(t.length))],!1)}static trivialTimedOut(e,t){return new a([new l((0,o.OffsetRange).ofLength(e.length),(0,o.OffsetRange).ofLength(t.length))],!0)}constructor(e,t){this.diffs=e,this.hitTimeout=t}}class l{static invert(e,t){let r=[];return(0,i.forEachAdjacent)(e,(e,i)=>{r.push(l.fromOffsetPairs(e?e.getEndExclusives():u.zero,i?i.getStarts():new u(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))}),r}static fromOffsetPairs(e,t){return new l(new o.OffsetRange(e.offset1,t.offset1),new o.OffsetRange(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new l(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new l(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new l(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new l(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new l(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){let t=this.seq1Range.intersect(e.seq1Range),r=this.seq2Range.intersect(e.seq2Range);if(t&&r)return new l(t,r)}getStarts(){return new u(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new u(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class u{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(e){return 0===e?this:new u(this.offset1+e,this.offset2+e)}equals(e){return this.offset1===e.offset1&&this.offset2===e.offset2}}u.zero=new u(0,0),u.max=new u(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class h{isValid(){return!0}}h.instance=new h;class d{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new s.BugIndicatingError("timeout must be positive")}isValid(){let e=Date.now()-this.startTimea);var i=n("2B1P2"),s=n("8G5QV"),o=n("hFQ8P");class a{compute(e,t,r=s.InfiniteTimeout.instance,n){if(0===e.length||0===t.length)return(0,s.DiffAlgorithmResult).trivial(e,t);let a=new o.Array2D(e.length,t.length),l=new o.Array2D(e.length,t.length),u=new o.Array2D(e.length,t.length);for(let i=0;i0&&o>0&&3===l.get(i-1,o-1)&&(h+=u.get(i-1,o-1)),h+=n?n(i,o):1):h=-1;let c=Math.max(d,g,h);if(c===h){let e=i>0&&o>0?u.get(i-1,o-1):0;u.set(i,o,e+1),l.set(i,o,3)}else c===d?(u.set(i,o,0),l.set(i,o,1)):c===g&&(u.set(i,o,0),l.set(i,o,2));a.set(i,o,c)}let h=[],d=e.length,g=t.length;function c(e,t){(e+1!==d||t+1!==g)&&h.push(new s.SequenceDiff(new i.OffsetRange(e+1,d),new i.OffsetRange(t+1,g))),d=e,g=t}let f=e.length-1,m=t.length-1;for(;f>=0&&m>=0;)3===l.get(f,m)?(c(f,m),f--,m--):1===l.get(f,m)?f--:m--;return c(-1,-1),h.reverse(),new s.DiffAlgorithmResult(h,!1)}}}),s("hFQ8P",function(t,r){e(t.exports,"Array2D",()=>i),e(t.exports,"isSpace",()=>n),e(t.exports,"LineRangeFragment",()=>s);class i{constructor(e,t){this.width=e,this.height=t,this.array=[],this.array=Array(e*t)}get(e,t){return this.array[e+t*this.width]}set(e,t,r){this.array[e+t*this.width]=r}}function n(e){return 32===e||9===e}class s{static getKey(e){let t=this.chrKeys.get(e);return void 0===t&&(t=this.chrKeys.size,this.chrKeys.set(e,t)),t}constructor(e,t,r){this.range=e,this.lines=t,this.source=r,this.histogram=[];let i=0;for(let r=e.startLineNumber-1;ro);var i=n("2B1P2"),s=n("8G5QV");class o{compute(e,t,r=s.InfiniteTimeout.instance){if(0===e.length||0===t.length)return(0,s.DiffAlgorithmResult).trivial(e,t);function n(r,i){for(;re.length||c>t.length)continue;let f=n(u,c);h.set(g,f);let m=u===s?d.get(g+1):d.get(g-1);if(d.set(g,f!==u?new a(m,u,c,f-u):m),h.get(g)===e.length&&h.get(g)-g===t.length)break r}}let c=d.get(g),f=[],m=e.length,p=t.length;for(;;){let e=c?c.x+c.length:0,t=c?c.y+c.length:0;if((e!==m||t!==p)&&f.push(new s.SequenceDiff(new i.OffsetRange(e,m),new i.OffsetRange(t,p))),!c)break;m=c.x,p=c.y,c=c.prev}return f.reverse(),new s.DiffAlgorithmResult(f,!1)}}class a{constructor(e,t,r,i){this.prev=e,this.x=t,this.y=r,this.length=i}}class l{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class u{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}}),s("fCRT6",function(t,r){e(t.exports,"computeMovedLines",()=>f);var i=n("8G5QV"),s=n("1JjdG"),o=n("hfZZt"),a=n("dw9mQ"),l=n("csXSF"),u=n("gBPF5"),h=n("2B1P2"),d=n("iUmfG"),g=n("hFQ8P"),c=n("10qah");function f(e,t,r,i,n,h){let{moves:d,excludedChanges:c}=function(e,t,r,i){let n=[],o=e.filter(e=>e.modified.isEmpty&&e.original.length>=3).map(e=>new g.LineRangeFragment(e.original,t,e)),a=new Set(e.filter(e=>e.original.isEmpty&&e.modified.length>=3).map(e=>new g.LineRangeFragment(e.modified,r,e))),l=new Set;for(let e of o){let t,r=-1;for(let i of a){let n=e.computeSimilarity(i);n>r&&(r=n,t=i)}if(r>.9&&t&&(a.delete(t),n.push(new s.LineRangeMapping(e.range,t.range)),l.add(e.source),l.add(t.source)),!i.isValid())break}return{moves:n,excludedChanges:l}}(e,t,r,h);if(!h.isValid())return[];let f=e.filter(e=>!c.has(e)),p=function(e,t,r,i,n,h){let d=[],g=new l.SetMap;for(let r of e)for(let e=r.original.startLineNumber;ee.modified.startLineNumber,o.numberComparator)),e)){let e=[];for(let i=t.modified.startLineNumber;i{for(let r of e)if(r.originalLineRange.endLineNumberExclusive+1===t.endLineNumberExclusive&&r.modifiedLineRange.endLineNumberExclusive+1===n.endLineNumberExclusive){r.originalLineRange=new u.LineRange(r.originalLineRange.startLineNumber,t.endLineNumberExclusive),r.modifiedLineRange=new u.LineRange(r.modifiedLineRange.startLineNumber,n.endLineNumberExclusive),s.push(r);return}let r={modifiedLineRange:n,originalLineRange:t};c.push(r),s.push(r)}),e=s}if(!h.isValid())return[]}c.sort((0,o.reverseOrder)((0,o.compareBy)(e=>e.modifiedLineRange.length,o.numberComparator)));let f=new u.LineRangeSet,p=new u.LineRangeSet;for(let e of c){let t=e.modifiedLineRange.startLineNumber-e.originalLineRange.startLineNumber,r=f.subtractFrom(e.modifiedLineRange),i=p.subtractFrom(e.originalLineRange).getWithDelta(t),n=r.getIntersection(i);for(let e of n.ranges){if(e.length<3)continue;let r=e.delta(-t);d.push(new s.LineRangeMapping(r,e)),f.addRange(e),p.addRange(r)}}d.sort((0,o.compareBy)(e=>e.original.startLineNumber,o.numberComparator));let b=new a.MonotonousArray(e);for(let t=0;te.original.startLineNumber<=l.original.startLineNumber),c=(0,a.findLastMonotonous)(e,e=>e.modified.startLineNumber<=l.modified.startLineNumber),_=Math.max(l.original.startLineNumber-g.original.startLineNumber,l.modified.startLineNumber-c.modified.startLineNumber),v=b.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumberi.length||t>n.length||f.contains(t)||p.contains(e)||!m(i[e-1],n[t-1],h))break}for(r>0&&(p.addRange(new u.LineRange(l.original.startLineNumber-r,l.original.startLineNumber)),f.addRange(new u.LineRange(l.modified.startLineNumber-r,l.modified.startLineNumber))),o=0;oi.length||t>n.length||f.contains(t)||p.contains(e)||!m(i[e-1],n[t-1],h))break}o>0&&(p.addRange(new u.LineRange(l.original.endLineNumberExclusive,l.original.endLineNumberExclusive+o)),f.addRange(new u.LineRange(l.modified.endLineNumberExclusive,l.modified.endLineNumberExclusive+o))),(r>0||o>0)&&(d[t]=new s.LineRangeMapping(new u.LineRange(l.original.startLineNumber-r,l.original.endLineNumberExclusive+o),new u.LineRange(l.modified.startLineNumber-r,l.modified.endLineNumberExclusive+o)))}return d}(f,i,n,t,r,h);return(0,o.pushMany)(d,p),d=(d=function(e){if(0===e.length)return e;e.sort((0,o.compareBy)(e=>e.original.startLineNumber,o.numberComparator));let t=[e[0]];for(let r=1;r=0&&o>=0;if(a&&s+o<=2){t[t.length-1]=i.join(n);continue}t.push(n)}return t}(d)).filter(e=>{let r=e.original.toOffsetRange().slice(t).map(e=>e.trim()),i=r.join("\n");return i.length>=15&&function(e,t){let r=0;for(let i of e)t(i)&&r++;return r}(r,e=>e.length>=2)>=2}),d=function(e,t){let r=new a.MonotonousArray(e);return t=t.filter(t=>{let i=r.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumber300&&t.length>300)return!1;let n=new c.MyersDiffAlgorithm,s=n.compute(new d.LinesSliceCharSequence([e],new h.OffsetRange(0,1),!1),new d.LinesSliceCharSequence([t],new h.OffsetRange(0,1),!1),r),o=0,a=(0,i.SequenceDiff).invert(s.diffs,e.length);for(let t of a)t.seq1Range.forEach(t=>{!(0,g.isSpace)(e.charCodeAt(t))&&o++});let l=function(t){let r=0;for(let i=0;it.length?e:t),u=o/l>.6&&l>10;return u}}),s("iUmfG",function(t,r){e(t.exports,"LinesSliceCharSequence",()=>u);var i=n("dw9mQ"),s=n("2B1P2"),o=n("bObZh"),a=n("4wyXc"),l=n("hFQ8P");class u{constructor(e,t,r){this.lines=e,this.considerWhitespaceChanges=r,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let i=!1;t.start>0&&t.endExclusive>=e.length&&(t=new s.OffsetRange(t.start-1,t.endExclusive),i=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=g(e>0?this.elements[e-1]:-1),r=g(et<=e);return new o.Position(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return(0,a.Range).fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!h(this.elements[e]))return;let t=e;for(;t>0&&h(this.elements[t-1]);)t--;let r=e;for(;rt<=e.start))&&void 0!==t?t:0,o=null!==(r=(0,i.findFirstMonotonous)(this.firstCharOffsetByLine,t=>e.endExclusive<=t))&&void 0!==r?r:this.elements.length;return new s.OffsetRange(n,o)}}function h(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let d={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function g(e){if(10===e)return 8;if(13===e)return 7;if((0,l.isSpace)(e))return 6;if(e>=97&&e<=122)return 0;if(e>=65&&e<=90)return 1;if(e>=48&&e<=57)return 2;if(-1===e)return 3;else if(44===e||59===e)return 5;else return 4}}),s("9jrgp",function(t,r){e(t.exports,"optimizeSequenceDiffs",()=>a),e(t.exports,"removeShortMatches",()=>h),e(t.exports,"extendDiffsToEntireWordIfAppropriate",()=>d),e(t.exports,"removeVeryShortMatchingLinesBetweenDiffs",()=>g),e(t.exports,"removeVeryShortMatchingTextBetweenLongDiffs",()=>c);var i=n("hfZZt"),s=n("2B1P2"),o=n("8G5QV");function a(e,t,r){let i=r;return i=l(e,t,i),i=l(e,t,i),i=function(e,t,r){if(!e.getBoundaryScore||!t.getBoundaryScore)return r;for(let i=0;i0?r[i-1]:void 0,o=r[i],a=i+10&&(l=l.delta(n))}n.push(l)}return i.length>0&&n.push(i[i.length-1]),n}function u(e,t,r,i,n){let s=1;for(;e.seq1Range.start-s>=i.start&&e.seq2Range.start-s>=n.start&&r.isStronglyEqual(e.seq2Range.start-s,e.seq2Range.endExclusive-s)&&s<100;)s++;s--;let o=0;for(;e.seq1Range.start+ol&&(l=u,a=i)}return e.delta(a)}function h(e,t,r){let i=[];for(let e of r){let t=i[i.length-1];if(!t){i.push(e);continue}e.seq1Range.start-t.seq1Range.endExclusive<=2||e.seq2Range.start-t.seq2Range.endExclusive<=2?i[i.length-1]=new o.SequenceDiff(t.seq1Range.join(e.seq1Range),t.seq2Range.join(e.seq2Range)):i.push(e)}return i}function d(e,t,r){let i=(0,o.SequenceDiff).invert(r,e.length),n=[],s=new o.OffsetPair(0,0);function a(r,a){if(r.offset10;){let r=i[0],n=r.seq1Range.intersects(h.seq1Range)||r.seq2Range.intersects(h.seq2Range);if(!n)break;let s=e.findWordContaining(r.seq1Range.start),a=t.findWordContaining(r.seq2Range.start),l=new o.SequenceDiff(s,a),u=l.intersect(r);if(g+=u.seq1Range.length,c+=u.seq2Range.length,(h=h.join(l)).seq1Range.endExclusive>=r.seq1Range.endExclusive)i.shift();else break}g+c<(h.seq1Range.length+h.seq2Range.length)*2/3&&n.push(h),s=h.getEndExclusives()}for(;i.length>0;){let e=i.shift();e.seq1Range.isEmpty||(a(e.getStarts(),e),a(e.getEndExclusives().delta(-1),e))}let l=function(e,t){let r=[];for(;e.length>0||t.length>0;){let i;let n=e[0],s=t[0];i=n&&(!s||n.seq1Range.start0&&r[r.length-1].seq1Range.endExclusive>=i.seq1Range.start?r[r.length-1]=r[r.length-1].join(i):r.push(i)}return r}(r,n);return l}function g(e,t,r){let i,n=r;if(0===n.length)return n;let o=0;do{i=!1;let t=[n[0]];for(let r=1;r5||r.seq1Range.length+r.seq2Range.length>5)}(a,o);l?(i=!0,t[t.length-1]=t[t.length-1].join(o)):t.push(o)}n=t}while(o++<10&&i)return n}function c(e,t,r){let n,a=r;if(0===a.length)return a;let l=0;do{n=!1;let r=[a[0]];for(let i=1;i5||n.length>500)return!1;let u=e.getText(n).trim();if(u.length>20||u.split(/\r\n|\r|\n/).length>1)return!1;let h=e.countLinesIn(r.seq1Range),d=r.seq1Range.length,g=t.countLinesIn(r.seq2Range),c=r.seq2Range.length,f=e.countLinesIn(i.seq1Range),m=i.seq1Range.length,p=t.countLinesIn(i.seq2Range),b=i.seq2Range.length;function _(e){return Math.min(e,130)}return Math.pow(Math.pow(_(40*h+d),1.5)+Math.pow(_(40*g+c),1.5),1.5)+Math.pow(Math.pow(_(40*f+m),1.5)+Math.pow(_(40*p+b),1.5),1.5)>74184.96480721243}(l,o);u?(n=!0,r[r.length-1]=r[r.length-1].join(o)):r.push(o)}a=r}while(l++<10&&n)let u=[];return(0,i.forEachWithNeighbors)(a,(t,r,i)=>{let n=r;function a(e){return e.length>0&&e.trim().length<=3&&r.seq1Range.length+r.seq2Range.length>100}let l=e.extendToFullLines(r.seq1Range),h=e.getText(new s.OffsetRange(l.start,r.seq1Range.start));a(h)&&(n=n.deltaStart(-h.length));let d=e.getText(new s.OffsetRange(r.seq1Range.endExclusive,l.endExclusive));a(d)&&(n=n.deltaEnd(d.length));let g=(0,o.SequenceDiff).fromOffsetPairs(t?t.getEndExclusives():o.OffsetPair.zero,i?i.getStarts():o.OffsetPair.max),c=n.intersect(g);u.length>0&&c.getStarts().equals(u[u.length-1].getEndExclusives())?u[u.length-1]=u[u.length-1].join(c):u.push(c)}),u}}),s("8vYAi",function(t,r){e(t.exports,"LineSequence",()=>i);class i{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let t=0===e?0:n(this.lines[e-1]),r=e===this.lines.length?0:n(this.lines[e]);return 1e3-(t+r)}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function n(e){let t=0;for(;td);var i=n("hZSaW");function s(e){let t=[];for(let r of e){let e=Number(r);(e||0===e&&""!==r.replace(/\s/g,""))&&t.push(e)}return t}function o(e,t,r,i){return{red:e/255,blue:r/255,green:t/255,alpha:i}}function a(e,t){let r=t.index,i=t[0].length;if(!r)return;let n=e.positionAt(r),s={startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:n.lineNumber,endColumn:n.column+i};return s}function l(e,t,r){if(!e||1!==t.length)return;let i=t[0],n=i.values(),a=s(n);return{range:e,color:o(a[0],a[1],a[2],r?a[3]:1)}}function u(e,t,r){if(!e||1!==t.length)return;let n=t[0],a=n.values(),l=s(a),u=new i.Color(new i.HSLA(l[0],l[1]/100,l[2]/100,r?l[3]:1));return{range:e,color:o(u.rgba.r,u.rgba.g,u.rgba.b,u.rgba.a)}}function h(e,t){return"string"==typeof e?[...e.matchAll(t)]:e.findMatches(t)}function d(e){return e&&"function"==typeof e.getValue&&"function"==typeof e.positionAt?function(e){let t=[],r=h(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(r.length>0)for(let n of r){let r;let s=n.filter(e=>void 0!==e),d=s[1],g=s[2];if(g){if("rgb"===d){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;r=l(a(e,n),h(g,t),!1)}else if("rgba"===d){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;r=l(a(e,n),h(g,t),!0)}else if("hsl"===d){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;r=u(a(e,n),h(g,t),!1)}else if("hsla"===d){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;r=u(a(e,n),h(g,t),!0)}else"#"===d&&(r=function(e,t){if(!e)return;let r=(0,i.Color).Format.CSS.parseHex(t);if(r)return{range:e,color:o(r.rgba.r,r.rgba.g,r.rgba.b,r.rgba.a)}}(a(e,n),d+g));r&&t.push(r)}}return t}(e):[]}}),s("hZSaW",function(t,r){var i,n;function s(e,t){let r=Math.pow(10,t);return Math.round(e*r)/r}e(t.exports,"RGBA",()=>o),e(t.exports,"HSLA",()=>a),e(t.exports,"HSVA",()=>l),e(t.exports,"Color",()=>u);class o{constructor(e,t,r,i=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,r)),this.a=s(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class a{constructor(e,t,r,i){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=s(Math.max(Math.min(1,t),0),3),this.l=s(Math.max(Math.min(1,r),0),3),this.a=s(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,r=e.g/255,i=e.b/255,n=e.a,s=Math.max(t,r,i),o=Math.min(t,r,i),l=0,u=0,h=(o+s)/2,d=s-o;if(d>0){switch(u=Math.min(h<=.5?d/(2*h):d/(2-2*h),1),s){case t:l=(r-i)/d+(r1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}static toRGBA(e){let t,r,i;let n=e.h/360,{s:s,l:l,a:u}=e;if(0===s)t=r=i=l;else{let e=l<.5?l*(1+s):l+s-l*s,o=2*l-e;t=a._hue2rgb(o,e,n+1/3),r=a._hue2rgb(o,e,n),i=a._hue2rgb(o,e,n-1/3)}return new o(Math.round(255*t),Math.round(255*r),Math.round(255*i),u)}}class l{constructor(e,t,r,i){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=s(Math.max(Math.min(1,t),0),3),this.v=s(Math.max(Math.min(1,r),0),3),this.a=s(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let r=e.r/255,i=e.g/255,n=e.b/255,s=Math.max(r,i,n),o=Math.min(r,i,n),a=s-o,u=0===s?0:a/s;return t=0===a?0:s===r?((i-n)/a%6+6)%6:s===i?(n-r)/a+2:(r-i)/a+4,new l(Math.round(60*t),u,s,e.a)}static toRGBA(e){let{h:t,s:r,v:i,a:n}=e,s=i*r,a=s*(1-Math.abs(t/60%2-1)),l=i-s,[u,h,d]=[0,0,0];return t<60?(u=s,h=a):t<120?(u=a,h=s):t<180?(h=s,d=a):t<240?(h=a,d=s):t<300?(u=a,d=s):t<=360&&(u=s,d=a),u=Math.round((u+l)*255),h=Math.round((h+l)*255),d=Math.round((d+l)*255),new o(u,h,d,n)}}class u{static fromHex(e){return u.Format.CSS.parseHex(e)||u.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:a.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:l.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof o)this.rgba=e;else if(e instanceof a)this._hsla=e,this.rgba=a.toRGBA(e);else if(e instanceof l)this._hsva=e,this.rgba=l.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&o.equals(this.rgba,e.rgba)&&a.equals(this.hsla,e.hsla)&&l.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=u._relativeLuminanceForComponent(this.rgba.r),t=u._relativeLuminanceForComponent(this.rgba.g),r=u._relativeLuminanceForComponent(this.rgba.b);return s(.2126*e+.7152*t+.0722*r,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){let e=(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3;return e>=128}isLighterThan(e){let t=this.getRelativeLuminance(),r=e.getRelativeLuminance();return t>r}isDarkerThan(e){let t=this.getRelativeLuminance(),r=e.getRelativeLuminance();return ts);let i=/\bMARK:\s*(.*)$/d,n=/^-+|-+$/g;function s(e,t){var r;let n=[];if(t.findRegionSectionHeaders&&(null===(r=t.foldingRules)||void 0===r?void 0:r.markers)){let r=function(e,t){let r=[],i=e.getLineCount();for(let n=1;n<=i;n++){let i=e.getLineContent(n),s=i.match(t.foldingRules.markers.start);if(s){let e={startLineNumber:n,startColumn:s[0].length+1,endLineNumber:n,endColumn:i.length+1};if(e.endColumn>e.startColumn){let t={range:e,...o(i.substring(s[0].length)),shouldBeInComments:!1};(t.text||t.hasSeparatorLine)&&r.push(t)}}}return r}(e,t);n=n.concat(r)}if(t.findMarkSectionHeaders){let t=function(e){let t=[],r=e.getLineCount();for(let n=1;n<=r;n++){let r=e.getLineContent(n);(function(e,t,r){i.lastIndex=0;let n=i.exec(e);if(n){let e=n.indices[1][0]+1,i=n.indices[1][1]+1,s={startLineNumber:t,startColumn:e,endLineNumber:t,endColumn:i};if(s.endColumn>s.startColumn){let e={range:s,...o(n[1]),shouldBeInComments:!0};(e.text||e.hasSeparatorLine)&&r.push(e)}}})(r,n,t)}return t}(e);n=n.concat(t)}return n}function o(e){e=e.trim();let t=e.startsWith("-");return{text:e=e.replace(n,""),hasSeparatorLine:t}}});var o=n("6gZbM"),a=n("7UsX0");let l=!1;globalThis.onmessage=e=>{l||function(e){if(l)return;l=!0;let t=new o.SimpleWorkerServer(e=>{globalThis.postMessage(e)},e=>new a.EditorSimpleWorker(e,null));globalThis.onmessage=e=>{t.onmessage(e.data)}}(0)}; \ No newline at end of file diff --git a/docs/index.0a8a0b6a.js b/docs/index.0a8a0b6a.js index 0f2e917..810b082 100644 --- a/docs/index.0a8a0b6a.js +++ b/docs/index.0a8a0b6a.js @@ -1,9 +1,9 @@ -let e,t,i,n,r;function o(e,t,i,n){Object.defineProperty(e,t,{get:i,set:n,enumerable:!0,configurable:!0})}var s,a,l,c,u,d,h,g,p,f,m,v,_,b,y,C,w,S,x,E,k,D,P,L,A,I,N,T,O,M,R,F,K,B,X,W,z,V,H,U,j,G,q,Y,Z,J,Q,$,ee,et,ei,en,er,eo,es,ea,el,ec,eu,ed,eh,eg,ep,ef,em,ev,e_,eb,ey,eC,ew,eS,ex,eE,ek,eD,eP,eL,eA,eI,eN,eT,eO="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function eM(e){return e&&e.__esModule?e.default:e}var eR={},eF={},eK=eO.parcelRequire2d1f;null==eK&&((eK=function(e){if(e in eR)return eR[e].exports;if(e in eF){var t=eF[e];delete eF[e];var i={id:e,exports:{}};return eR[e]=i,t.call(i.exports,i,i.exports),i.exports}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}).register=function(e,t){eF[e]=t},eO.parcelRequire2d1f=eK),eK.register("6glCt",function(e,t){o(e.exports,"CancellationTokenSource",()=>c),o(e.exports,"Emitter",()=>u),o(e.exports,"KeyCode",()=>d),o(e.exports,"KeyMod",()=>h),o(e.exports,"Position",()=>g),o(e.exports,"Range",()=>p),o(e.exports,"Selection",()=>f),o(e.exports,"SelectionDirection",()=>m),o(e.exports,"MarkerSeverity",()=>v),o(e.exports,"MarkerTag",()=>_),o(e.exports,"Uri",()=>b),o(e.exports,"Token",()=>y),o(e.exports,"editor",()=>C),o(e.exports,"languages",()=>w);var i=eK("iLBuq"),n=eK("d6oSy"),r=eK("dAWsj"),s=eK("3l5bp"),a=eK("7vU5D");i.EditorOptions.wrappingIndent.defaultValue=0,i.EditorOptions.glyphMargin.defaultValue=!1,i.EditorOptions.autoIndent.defaultValue=3,i.EditorOptions.overviewRulerLanes.defaultValue=2,(0,a.FormattingConflicts).setFormatterSelector((e,t,i)=>Promise.resolve(e[0]));let l=(0,n.createMonacoBaseAPI)();l.editor=(0,r.createMonacoEditorAPI)(),l.languages=(0,s.createMonacoLanguagesAPI)();let c=l.CancellationTokenSource,u=l.Emitter,d=l.KeyCode,h=l.KeyMod,g=l.Position,p=l.Range,f=l.Selection,m=l.SelectionDirection,v=l.MarkerSeverity,_=l.MarkerTag,b=l.Uri,y=l.Token,C=l.editor,w=l.languages,S=globalThis.MonacoEnvironment;((null==S?void 0:S.globalAPI)||"function"==typeof define&&define.amd)&&(globalThis.monaco=l),void 0!==globalThis.require&&"function"==typeof globalThis.require.config&&globalThis.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})}),eK.register("iLBuq",function(e,t){o(e.exports,"MINIMAP_GUTTER_WIDTH",()=>d),o(e.exports,"ConfigurationChangedEvent",()=>h),o(e.exports,"ComputeOptionsMemory",()=>g),o(e.exports,"ApplyUpdateResult",()=>f),o(e.exports,"boolean",()=>b),o(e.exports,"clampedInt",()=>C),o(e.exports,"clampedFloat",()=>S),o(e.exports,"stringSet",()=>k),o(e.exports,"TextEditorCursorStyle",()=>n),o(e.exports,"EditorFontLigatures",()=>L),o(e.exports,"EditorFontVariations",()=>A),o(e.exports,"EDITOR_FONT_DEFAULTS",()=>K),o(e.exports,"EditorLayoutInfoComputer",()=>N),o(e.exports,"filterValidationDecorations",()=>T),o(e.exports,"inUntrustedWorkspace",()=>M),o(e.exports,"unicodeHighlightConfigKeys",()=>R),o(e.exports,"editorOptionsRegistry",()=>B),o(e.exports,"EditorOptions",()=>W);var i,n,r=eK("cAMHt"),s=eK("eAnxj"),a=eK("kLSS4"),l=eK("ihJyr"),c=eK("e7gry"),u=eK("bAmvf");let d=8;class h{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class g{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class p{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return m(e,t)}compute(e,t,i){return i}}class f{constructor(e,t){this.newValue=e,this.didChange=t}}function m(e,t){if("object"!=typeof e||"object"!=typeof t||!e||!t)return new f(t,e!==t);if(Array.isArray(e)||Array.isArray(t)){let i=Array.isArray(e)&&Array.isArray(t)&&l.equals(e,t);return new f(t,!i)}let i=!1;for(let n in t)if(t.hasOwnProperty(n)){let r=m(e[n],t[n]);r.didChange&&(e[n]=r.newValue,i=!0)}return new f(e,i)}class v{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return m(e,t)}validate(e){return this.defaultValue}}class _{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return m(e,t)}validate(e){return void 0===e?this.defaultValue:e}compute(e,t,i){return i}}function b(e,t){return void 0===e?t:"false"!==e&&!!e}class y extends _{constructor(e,t,i,n){void 0!==n&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return b(e,this.defaultValue)}}function C(e,t,i,n){if(void 0===e)return t;let r=parseInt(e,10);return isNaN(r)?t:(r=Math.max(i,r),0|(r=Math.min(n,r)))}class w extends _{static clampedInt(e,t,i,n){return C(e,t,i,n)}constructor(e,t,i,n,r,o){void 0!==o&&(o.type="integer",o.default=i,o.minimum=n,o.maximum=r),super(e,t,i,o),this.minimum=n,this.maximum=r}validate(e){return w.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function S(e,t,i,n){if(void 0===e)return t;let r=x.float(e,t);return x.clamp(r,i,n)}class x extends _{static clamp(e,t,i){return ei?i:e}static float(e,t){if("number"==typeof e)return e;if(void 0===e)return t;let i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,r){void 0!==r&&(r.type="number",r.default=i),super(e,t,i,r),this.validationFn=n}validate(e){return this.validationFn(x.float(e,this.defaultValue))}}class E extends _{static string(e,t){return"string"!=typeof e?t:e}constructor(e,t,i,n){void 0!==n&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return E.string(e,this.defaultValue)}}function k(e,t,i,n){return"string"!=typeof e?t:n&&e in n?n[e]:-1===i.indexOf(e)?t:e}class D extends _{constructor(e,t,i,n,r){void 0!==r&&(r.type="string",r.enum=n,r.default=i),super(e,t,i,r),this._allowedValues=n}validate(e){return k(e,this.defaultValue,this._allowedValues)}}class P extends p{constructor(e,t,i,n,r,o,s){void 0!==s&&(s.type="string",s.enum=r,s.default=n),super(e,t,i,s),this._allowedValues=r,this._convert=o}validate(e){return"string"!=typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)}}(i=n||(n={}))[i.Line=1]="Line",i[i.Block=2]="Block",i[i.Underline=3]="Underline",i[i.LineThin=4]="LineThin",i[i.BlockOutline=5]="BlockOutline",i[i.UnderlineThin=6]="UnderlineThin";class L extends p{constructor(){super(49,"fontLigatures",L.OFF,{anyOf:[{type:"boolean",description:r.localize("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:r.localize("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:r.localize("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e?L.OFF:"true"===e?L.ON:e:e?L.ON:L.OFF}}L.OFF='"liga" off, "calt" off',L.ON='"liga" on, "calt" on';class A extends p{constructor(){super(52,"fontVariations",A.OFF,{anyOf:[{type:"boolean",description:r.localize("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:r.localize("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:r.localize("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e?A.OFF:"true"===e?A.TRANSLATE:e:e?A.TRANSLATE:A.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}}A.OFF="normal",A.TRANSLATE="translate";class I extends p{constructor(){super(51,"fontWeight",K.fontWeight,{anyOf:[{type:"number",minimum:I.MINIMUM_VALUE,maximum:I.MAXIMUM_VALUE,errorMessage:r.localize("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:I.SUGGESTION_VALUES}],default:K.fontWeight,description:r.localize("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return"normal"===e||"bold"===e?e:String(w.clampedInt(e,K.fontWeight,I.MINIMUM_VALUE,I.MAXIMUM_VALUE))}}I.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],I.MINIMUM_VALUE=1,I.MAXIMUM_VALUE=1e3;class N extends v{constructor(){super(140)}compute(e,t,i){return N.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){let t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight),n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));let r=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),o=Math.floor(e.viewLineCount/r);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:r,minimapLineCount:o}}static _computeMinimapLayout(e,t){let i=e.outerWidth,n=e.outerHeight,r=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(r*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};let o=t.stableMinimapLayoutInput,s=o&&e.outerHeight===o.outerHeight&&e.lineHeight===o.lineHeight&&e.typicalHalfwidthCharacterWidth===o.typicalHalfwidthCharacterWidth&&e.pixelRatio===o.pixelRatio&&e.scrollBeyondLastLine===o.scrollBeyondLastLine&&e.paddingTop===o.paddingTop&&e.paddingBottom===o.paddingBottom&&e.minimap.enabled===o.minimap.enabled&&e.minimap.side===o.minimap.side&&e.minimap.size===o.minimap.size&&e.minimap.showSlider===o.minimap.showSlider&&e.minimap.renderCharacters===o.minimap.renderCharacters&&e.minimap.maxColumn===o.minimap.maxColumn&&e.minimap.scale===o.minimap.scale&&e.verticalScrollbarWidth===o.verticalScrollbarWidth&&e.isViewportWrapping===o.isViewportWrapping,a=e.lineHeight,l=e.typicalHalfwidthCharacterWidth,c=e.scrollBeyondLastLine,u=e.minimap.renderCharacters,h=r>=2?Math.round(2*e.minimap.scale):e.minimap.scale,g=e.minimap.maxColumn,p=e.minimap.size,f=e.minimap.side,m=e.verticalScrollbarWidth,v=e.viewLineCount,_=e.remainingWidth,b=e.isViewportWrapping,y=u?2:3,C=Math.floor(r*n),w=C/r,S=!1,x=!1,E=y*h,k=h/r,D=1;if("fill"===p||"fit"===p){let{typicalViewportLineCount:i,extraLinesBeforeFirstLine:o,extraLinesBeyondLastLine:l,desiredRatio:u,minimapLineCount:d}=N.computeContainedMinimapLineCount({viewLineCount:v,scrollBeyondLastLine:c,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:a,pixelRatio:r});if(v/d>1)S=!0,x=!0,E=1,k=(h=1)/r;else{let n=!1,c=h+1;if("fit"===p){let e=Math.ceil((o+v+l)*E);b&&s&&_<=t.stableFitRemainingWidth?(n=!0,c=t.stableFitMaxMinimapScale):n=e>C}if("fill"===p||n){S=!0;let n=h;E=Math.min(a*r,Math.max(1,Math.floor(1/u))),b&&s&&_<=t.stableFitRemainingWidth&&(c=t.stableFitMaxMinimapScale),(h=Math.min(c,Math.max(1,Math.floor(E/y))))>n&&(D=Math.min(2,h/n)),k=h/r/D,C=Math.ceil(Math.max(i,o+v+l)*E),b?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=_,t.stableFitMaxMinimapScale=h):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}let P=Math.floor(g*k),L=Math.min(P,Math.max(0,Math.floor((_-m-2)*k/(l+k)))+d),A=Math.floor(r*L),I=A/r;return{renderMinimap:u?1:2,minimapLeft:"left"===f?0:i-L-m,minimapWidth:L,minimapHeightIsEditorHeight:S,minimapIsSampling:x,minimapScale:h,minimapLineHeight:E,minimapCanvasInnerWidth:A=Math.floor(A*D),minimapCanvasInnerHeight:C,minimapCanvasOuterWidth:I,minimapCanvasOuterHeight:w}}static computeLayout(e,t){let i=0|t.outerWidth,n=0|t.outerHeight,r=0|t.lineHeight,o=0|t.lineNumbersDigitCount,s=t.typicalHalfwidthCharacterWidth,a=t.maxDigitWidth,l=t.pixelRatio,c=t.viewLineCount,u=e.get(132),d="inherit"===u?e.get(131):u,h="inherit"===d?e.get(127):d,p=e.get(130),f=t.isDominatedByLongLines,m=e.get(55),v=0!==e.get(65).renderType,_=e.get(66),b=e.get(101),y=e.get(81),C=e.get(70),w=e.get(99),S=w.verticalScrollbarSize,x=w.verticalHasArrows,E=w.arrowSize,k=w.horizontalScrollbarSize,D=e.get(41),P="never"!==e.get(106),L=e.get(63);D&&P&&(L+=16);let A=0;if(v){let e=Math.max(o,_);A=Math.round(e*a)}let I=0;m&&(I=r*t.glyphMarginDecorationLaneCount);let T=0,O=0+I,M=O+A,R=M+L,F=i-I-A-L,K=!1,B=!1,X=-1;"inherit"===d&&f?(K=!0,B=!0):"on"===h||"bounded"===h?B=!0:"wordWrapColumn"===h&&(X=p);let W=N._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:r,typicalHalfwidthCharacterWidth:s,pixelRatio:l,scrollBeyondLastLine:b,paddingTop:y.top,paddingBottom:y.bottom,minimap:C,verticalScrollbarWidth:S,viewLineCount:c,remainingWidth:F,isViewportWrapping:B},t.memory||new g);0!==W.renderMinimap&&0===W.minimapLeft&&(T+=W.minimapWidth,O+=W.minimapWidth,M+=W.minimapWidth,R+=W.minimapWidth);let z=F-W.minimapWidth,V=Math.max(1,Math.floor((z-S-2)/s)),H=x?E:0;return B&&(X=Math.max(1,V),"bounded"===h&&(X=Math.min(X,p))),{width:i,height:n,glyphMarginLeft:T,glyphMarginWidth:I,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:O,lineNumbersWidth:A,decorationsLeft:M,decorationsWidth:L,contentLeft:R,contentWidth:z,minimap:W,viewportColumn:V,isWordWrapMinified:K,isViewportWrapping:B,wrappingColumn:X,verticalScrollbarWidth:S,horizontalScrollbarHeight:k,overviewRuler:{top:H,width:S,height:n-2*H,right:0}}}}function T(e){let t=e.get(94);return"editable"===t?e.get(88):"on"!==t}function O(e,t){if("string"!=typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}let M="inUntrustedWorkspace",R={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};function F(e,t,i){let n=i.indexOf(e);return -1===n?t:i[n]}let K={fontFamily:s.isMacintosh?"Menlo, Monaco, 'Courier New', monospace":s.isLinux?"'Droid Sans Mono', 'monospace', monospace":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:s.isMacintosh?12:14,lineHeight:0,letterSpacing:0},B=[];function X(e){return B[e.id]=e,e}let W={acceptSuggestionOnCommitCharacter:X(new y(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:r.localize("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:X(new D(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",r.localize("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:r.localize("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:X(new class extends p{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[r.localize("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached"),r.localize("accessibilitySupport.on","Optimize for usage with a Screen Reader"),r.localize("accessibilitySupport.off","Assume a screen reader is not attached")],default:"auto",tags:["accessibility"],description:r.localize("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return 0===i?e.accessibilitySupport:i}}),accessibilityPageSize:X(new w(3,"accessibilityPageSize",10,1,1073741824,{description:r.localize("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),tags:["accessibility"]})),ariaLabel:X(new E(4,"ariaLabel",r.localize("editorViewAccessibleLabel","Editor content"))),screenReaderAnnounceInlineSuggestion:X(new y(6,"screenReaderAnnounceInlineSuggestion",!0,{description:r.localize("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader."),tags:["accessibility"]})),autoClosingBrackets:X(new D(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",r.localize("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),r.localize("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:r.localize("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingDelete:X(new D(7,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",r.localize("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:r.localize("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:X(new D(8,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",r.localize("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:r.localize("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:X(new D(9,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",r.localize("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),r.localize("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:r.localize("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:X(new P(10,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],function(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}},{enumDescriptions:[r.localize("editor.autoIndent.none","The editor will not insert indentation automatically."),r.localize("editor.autoIndent.keep","The editor will keep the current line's indentation."),r.localize("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),r.localize("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),r.localize("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:r.localize("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:X(new y(11,"automaticLayout",!1)),autoSurround:X(new D(12,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[r.localize("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),r.localize("editor.autoSurround.quotes","Surround with quotes but not brackets."),r.localize("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:r.localize("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:X(new class extends p{constructor(){let e={enabled:u.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:u.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(13,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:r.localize("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:r.localize("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){return e&&"object"==typeof e?{enabled:b(e.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:b(e.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}:this.defaultValue}}),bracketPairGuides:X(new class extends p{constructor(){let e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(14,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[r.localize("editor.guides.bracketPairs.true","Enables bracket pair guides."),r.localize("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),r.localize("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:r.localize("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[r.localize("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),r.localize("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),r.localize("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:r.localize("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:r.localize("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:r.localize("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[r.localize("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),r.localize("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),r.localize("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:r.localize("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){return e&&"object"==typeof e?{bracketPairs:F(e.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:F(e.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:b(e.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:b(e.indentation,this.defaultValue.indentation),highlightActiveIndentation:F(e.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}:this.defaultValue}}),stickyTabStops:X(new y(112,"stickyTabStops",!1,{description:r.localize("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:X(new y(15,"codeLens",!0,{description:r.localize("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:X(new E(16,"codeLensFontFamily","",{description:r.localize("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:X(new w(17,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:r.localize("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:X(new y(18,"colorDecorators",!0,{description:r.localize("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorsLimit:X(new w(19,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:r.localize("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:X(new y(20,"columnSelection",!1,{description:r.localize("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:X(new class extends p{constructor(){let e={insertSpace:!0,ignoreEmptyLines:!0};super(21,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:r.localize("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:r.localize("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){return e&&"object"==typeof e?{insertSpace:b(e.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:b(e.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}:this.defaultValue}}),contextmenu:X(new y(22,"contextmenu",!0)),copyWithSyntaxHighlighting:X(new y(23,"copyWithSyntaxHighlighting",!0,{description:r.localize("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:X(new P(24,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],function(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}},{description:r.localize("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:X(new D(25,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[r.localize("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),r.localize("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),r.localize("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:r.localize("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:X(new P(26,"cursorStyle",n.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],function(e){switch(e){case"line":return n.Line;case"block":return n.Block;case"underline":return n.Underline;case"line-thin":return n.LineThin;case"block-outline":return n.BlockOutline;case"underline-thin":return n.UnderlineThin}},{description:r.localize("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:X(new w(27,"cursorSurroundingLines",0,0,1073741824,{description:r.localize("cursorSurroundingLines","Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:X(new D(28,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[r.localize("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),r.localize("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:r.localize("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:X(new w(29,"cursorWidth",0,0,1073741824,{markdownDescription:r.localize("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:X(new y(30,"disableLayerHinting",!1)),disableMonospaceOptimizations:X(new y(31,"disableMonospaceOptimizations",!1)),domReadOnly:X(new y(32,"domReadOnly",!1)),dragAndDrop:X(new y(33,"dragAndDrop",!0,{description:r.localize("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:X(new class extends y{constructor(){super(35,"emptySelectionClipboard",!0,{description:r.localize("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}),dropIntoEditor:X(new class extends p{constructor(){let e={enabled:!0,showDropSelector:"afterDrop"};super(34,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:r.localize("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down `shift` (instead of opening the file in an editor).")},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:r.localize("dropIntoEditor.showDropSelector","Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),enum:["afterDrop","never"],enumDescriptions:[r.localize("dropIntoEditor.showDropSelector.afterDrop","Show the drop selector widget after a file is dropped into the editor."),r.localize("dropIntoEditor.showDropSelector.never","Never show the drop selector widget. Instead the default drop provider is always used.")],default:"afterDrop"}})}validate(e){return e&&"object"==typeof e?{enabled:b(e.enabled,this.defaultValue.enabled),showDropSelector:k(e.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}:this.defaultValue}}),stickyScroll:X(new class extends p{constructor(){let e={enabled:!1,maxLineCount:5,defaultModel:"outlineModel"};super(111,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:r.localize("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor.")},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:10,description:r.localize("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:r.localize("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")}})}validate(e){return e&&"object"==typeof e?{enabled:b(e.enabled,this.defaultValue.enabled),maxLineCount:w.clampedInt(e.maxLineCount,this.defaultValue.maxLineCount,1,10),defaultModel:k(e.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"])}:this.defaultValue}}),experimentalWhitespaceRendering:X(new D(36,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[r.localize("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),r.localize("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),r.localize("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:r.localize("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:X(new E(37,"extraEditorClassName","")),fastScrollSensitivity:X(new x(38,"fastScrollSensitivity",5,e=>e<=0?5:e,{markdownDescription:r.localize("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:X(new class extends p{constructor(){let e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(39,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:r.localize("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[r.localize("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),r.localize("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),r.localize("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:r.localize("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[r.localize("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),r.localize("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),r.localize("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:r.localize("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:r.localize("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:s.isMacintosh},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:r.localize("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:r.localize("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){return e&&"object"==typeof e?{cursorMoveOnType:b(e.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:"boolean"==typeof e.seedSearchStringFromSelection?e.seedSearchStringFromSelection?"always":"never":k(e.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:"boolean"==typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":k(e.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:b(e.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:b(e.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:b(e.loop,this.defaultValue.loop)}:this.defaultValue}}),fixedOverflowWidgets:X(new y(40,"fixedOverflowWidgets",!1)),folding:X(new y(41,"folding",!0,{description:r.localize("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:X(new D(42,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[r.localize("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),r.localize("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:r.localize("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:X(new y(43,"foldingHighlight",!0,{description:r.localize("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:X(new y(44,"foldingImportsByDefault",!1,{description:r.localize("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:X(new w(45,"foldingMaximumRegions",5e3,10,65e3,{description:r.localize("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:X(new y(46,"unfoldOnClickAfterEndOfLine",!1,{description:r.localize("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:X(new E(47,"fontFamily",K.fontFamily,{description:r.localize("fontFamily","Controls the font family.")})),fontInfo:X(new class extends v{constructor(){super(48)}compute(e,t,i){return e.fontInfo}}),fontLigatures2:X(new L),fontSize:X(new class extends _{constructor(){super(50,"fontSize",K.fontSize,{type:"number",minimum:6,maximum:100,default:K.fontSize,description:r.localize("fontSize","Controls the font size in pixels.")})}validate(e){let t=x.float(e,this.defaultValue);return 0===t?K.fontSize:x.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}),fontWeight:X(new I),fontVariations:X(new A),formatOnPaste:X(new y(53,"formatOnPaste",!1,{description:r.localize("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:X(new y(54,"formatOnType",!1,{description:r.localize("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:X(new y(55,"glyphMargin",!0,{description:r.localize("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:X(new class extends p{constructor(){let e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[r.localize("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),r.localize("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),r.localize("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(56,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:r.localize("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:r.localize("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:r.localize("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":Object.assign({description:r.localize("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":Object.assign({description:r.localize("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":Object.assign({description:r.localize("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},t),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:r.localize("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:r.localize("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:r.localize("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:r.localize("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:r.localize("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,i,n,r,o;return e&&"object"==typeof e?{multiple:k(e.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=e.multipleDefinitions)&&void 0!==t?t:k(e.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(i=e.multipleTypeDefinitions)&&void 0!==i?i:k(e.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(n=e.multipleDeclarations)&&void 0!==n?n:k(e.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(r=e.multipleImplementations)&&void 0!==r?r:k(e.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(o=e.multipleReferences)&&void 0!==o?o:k(e.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:E.string(e.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:E.string(e.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:E.string(e.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:E.string(e.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:E.string(e.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}:this.defaultValue}}),hideCursorInOverviewRuler:X(new y(57,"hideCursorInOverviewRuler",!1,{description:r.localize("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:X(new class extends p{constructor(){let e={enabled:!0,delay:300,sticky:!0,above:!0};super(58,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:r.localize("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:r.localize("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:r.localize("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.above":{type:"boolean",default:e.above,description:r.localize("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){return e&&"object"==typeof e?{enabled:b(e.enabled,this.defaultValue.enabled),delay:w.clampedInt(e.delay,this.defaultValue.delay,0,1e4),sticky:b(e.sticky,this.defaultValue.sticky),above:b(e.above,this.defaultValue.above)}:this.defaultValue}}),inDiffEditor:X(new y(59,"inDiffEditor",!1)),letterSpacing:X(new x(61,"letterSpacing",K.letterSpacing,e=>x.clamp(e,-5,20),{description:r.localize("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:X(new class extends p{constructor(){let e={enabled:!0};super(62,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:r.localize("codeActions","Enables the Code Action lightbulb in the editor.")}})}validate(e){return e&&"object"==typeof e?{enabled:b(e.enabled,this.defaultValue.enabled)}:this.defaultValue}}),lineDecorationsWidth:X(new class extends p{constructor(){super(63,"lineDecorationsWidth",10)}validate(e){if(!("string"==typeof e&&/^\d+(\.\d+)?ch$/.test(e)))return w.clampedInt(e,this.defaultValue,0,1e3);{let t=parseFloat(e.substring(0,e.length-2));return-t}}compute(e,t,i){return i<0?w.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}),lineHeight:X(new class extends x{constructor(){super(64,"lineHeight",K.lineHeight,e=>x.clamp(e,0,150),{markdownDescription:r.localize("lineHeight","Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values.")})}compute(e,t,i){return e.fontInfo.lineHeight}}),lineNumbers:X(new class extends p{constructor(){super(65,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[r.localize("lineNumbers.off","Line numbers are not rendered."),r.localize("lineNumbers.on","Line numbers are rendered as absolute number."),r.localize("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),r.localize("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:r.localize("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return void 0!==e&&("function"==typeof e?(t=4,i=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:i}}}),lineNumbersMinChars:X(new w(66,"lineNumbersMinChars",5,1,300)),linkedEditing:X(new y(67,"linkedEditing",!1,{description:r.localize("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:X(new y(68,"links",!0,{description:r.localize("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:X(new D(69,"matchBrackets","always",["always","near","never"],{description:r.localize("matchBrackets","Highlight matching brackets.")})),minimap:X(new class extends p{constructor(){let e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(70,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:r.localize("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:r.localize("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[r.localize("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),r.localize("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),r.localize("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:r.localize("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:r.localize("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:r.localize("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:r.localize("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:r.localize("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:r.localize("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){return e&&"object"==typeof e?{enabled:b(e.enabled,this.defaultValue.enabled),autohide:b(e.autohide,this.defaultValue.autohide),size:k(e.size,this.defaultValue.size,["proportional","fill","fit"]),side:k(e.side,this.defaultValue.side,["right","left"]),showSlider:k(e.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:b(e.renderCharacters,this.defaultValue.renderCharacters),scale:w.clampedInt(e.scale,1,1,3),maxColumn:w.clampedInt(e.maxColumn,this.defaultValue.maxColumn,1,1e4)}:this.defaultValue}}),mouseStyle:X(new D(71,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:X(new x(72,"mouseWheelScrollSensitivity",1,e=>0===e?1:e,{markdownDescription:r.localize("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:X(new y(73,"mouseWheelZoom",!1,{markdownDescription:r.localize("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:X(new y(74,"multiCursorMergeOverlapping",!0,{description:r.localize("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:X(new P(75,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],function(e){return"ctrlCmd"===e?s.isMacintosh?"metaKey":"ctrlKey":"altKey"},{markdownEnumDescriptions:[r.localize("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),r.localize("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:r.localize({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:X(new D(76,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[r.localize("multiCursorPaste.spread","Each cursor pastes a single line of the text."),r.localize("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:r.localize("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:X(new w(77,"multiCursorLimit",1e4,1,1e5,{markdownDescription:r.localize("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:X(new y(78,"occurrencesHighlight",!0,{description:r.localize("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:X(new y(79,"overviewRulerBorder",!0,{description:r.localize("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:X(new w(80,"overviewRulerLanes",3,0,3)),padding:X(new class extends p{constructor(){super(81,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:r.localize("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:r.localize("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){return e&&"object"==typeof e?{top:w.clampedInt(e.top,0,0,1e3),bottom:w.clampedInt(e.bottom,0,0,1e3)}:this.defaultValue}}),pasteAs:X(new class extends p{constructor(){let e={enabled:!0,showPasteSelector:"afterPaste"};super(82,"pasteAs",e,{"editor.pasteAs.enabled":{type:"boolean",default:e.enabled,markdownDescription:r.localize("pasteAs.enabled","Controls whether you can paste content in different ways.")},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:r.localize("pasteAs.showPasteSelector","Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),enum:["afterPaste","never"],enumDescriptions:[r.localize("pasteAs.showPasteSelector.afterPaste","Show the paste selector widget after content is pasted into the editor."),r.localize("pasteAs.showPasteSelector.never","Never show the paste selector widget. Instead the default pasting behavior is always used.")],default:"afterPaste"}})}validate(e){return e&&"object"==typeof e?{enabled:b(e.enabled,this.defaultValue.enabled),showPasteSelector:k(e.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}:this.defaultValue}}),parameterHints:X(new class extends p{constructor(){let e={enabled:!0,cycle:!0};super(83,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:r.localize("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:r.localize("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){return e&&"object"==typeof e?{enabled:b(e.enabled,this.defaultValue.enabled),cycle:b(e.cycle,this.defaultValue.cycle)}:this.defaultValue}}),peekWidgetDefaultFocus:X(new D(84,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[r.localize("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),r.localize("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:r.localize("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:X(new y(85,"definitionLinkOpensInPeek",!1,{description:r.localize("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:X(new class extends p{constructor(){let e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[r.localize("on","Quick suggestions show inside the suggest widget"),r.localize("inline","Quick suggestions show as ghost text"),r.localize("off","Quick suggestions are disabled")]}];super(86,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:r.localize("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:r.localize("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:r.localize("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:r.localize("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.","#editor.suggestOnTriggerCharacters#")}),this.defaultValue=e}validate(e){if("boolean"==typeof e){let t=e?"on":"off";return{comments:t,strings:t,other:t}}if(!e||"object"!=typeof e)return this.defaultValue;let{other:t,comments:i,strings:n}=e,r=["on","inline","off"];return{other:"boolean"==typeof t?t?"on":"off":k(t,this.defaultValue.other,r),comments:"boolean"==typeof i?i?"on":"off":k(i,this.defaultValue.comments,r),strings:"boolean"==typeof n?n?"on":"off":k(n,this.defaultValue.strings,r)}}}),quickSuggestionsDelay:X(new w(87,"quickSuggestionsDelay",10,0,1073741824,{description:r.localize("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:X(new y(88,"readOnly",!1)),renameOnType:X(new y(89,"renameOnType",!1,{description:r.localize("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:r.localize("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:X(new y(90,"renderControlCharacters",!0,{description:r.localize("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:X(new D(91,"renderFinalNewline",s.isLinux?"dimmed":"on",["off","on","dimmed"],{description:r.localize("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:X(new D(92,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",r.localize("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:r.localize("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:X(new y(93,"renderLineHighlightOnlyWhenFocus",!1,{description:r.localize("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:X(new D(94,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:X(new D(95,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",r.localize("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),r.localize("renderWhitespace.selection","Render whitespace characters only on selected text."),r.localize("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:r.localize("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:X(new w(96,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:X(new y(97,"roundedSelection",!0,{description:r.localize("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:X(new class extends p{constructor(){let e=[],t={type:"number",description:r.localize("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(98,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:r.localize("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:r.localize("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){let t=[];for(let i of e)"number"==typeof i?t.push({column:w.clampedInt(i,0,0,1e4),color:null}):i&&"object"==typeof i&&t.push({column:w.clampedInt(i.column,0,0,1e4),color:i.color});return t.sort((e,t)=>e.column-t.column),t}return this.defaultValue}}),scrollbar:X(new class extends p{constructor(){let e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(99,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[r.localize("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),r.localize("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),r.localize("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:r.localize("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[r.localize("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),r.localize("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),r.localize("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:r.localize("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:r.localize("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:r.localize("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:r.localize("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;let t=w.clampedInt(e.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=w.clampedInt(e.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:w.clampedInt(e.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:O(e.vertical,this.defaultValue.vertical),horizontal:O(e.horizontal,this.defaultValue.horizontal),useShadows:b(e.useShadows,this.defaultValue.useShadows),verticalHasArrows:b(e.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:b(e.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:b(e.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:b(e.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:t,horizontalSliderSize:w.clampedInt(e.horizontalSliderSize,t,0,1e3),verticalScrollbarSize:i,verticalSliderSize:w.clampedInt(e.verticalSliderSize,i,0,1e3),scrollByPage:b(e.scrollByPage,this.defaultValue.scrollByPage)}}}),scrollBeyondLastColumn:X(new w(100,"scrollBeyondLastColumn",4,0,1073741824,{description:r.localize("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:X(new y(101,"scrollBeyondLastLine",!0,{description:r.localize("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:X(new y(102,"scrollPredominantAxis",!0,{description:r.localize("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:X(new y(103,"selectionClipboard",!0,{description:r.localize("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:s.isLinux})),selectionHighlight:X(new y(104,"selectionHighlight",!0,{description:r.localize("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:X(new y(105,"selectOnLineNumbers",!0)),showFoldingControls:X(new D(106,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[r.localize("showFoldingControls.always","Always show the folding controls."),r.localize("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),r.localize("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:r.localize("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:X(new y(107,"showUnused",!0,{description:r.localize("showUnused","Controls fading out of unused code.")})),showDeprecated:X(new y(135,"showDeprecated",!0,{description:r.localize("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:X(new class extends p{constructor(){let e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(136,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:r.localize("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[r.localize("editor.inlayHints.on","Inlay hints are enabled"),r.localize("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",s.isMacintosh?"Ctrl+Option":"Ctrl+Alt"),r.localize("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",s.isMacintosh?"Ctrl+Option":"Ctrl+Alt"),r.localize("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:r.localize("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:r.localize("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:r.localize("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){return e&&"object"==typeof e?("boolean"==typeof e.enabled&&(e.enabled=e.enabled?"on":"off"),{enabled:k(e.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:w.clampedInt(e.fontSize,this.defaultValue.fontSize,0,100),fontFamily:E.string(e.fontFamily,this.defaultValue.fontFamily),padding:b(e.padding,this.defaultValue.padding)}):this.defaultValue}}),snippetSuggestions:X(new D(108,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[r.localize("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),r.localize("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),r.localize("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),r.localize("snippetSuggestions.none","Do not show snippet suggestions.")],description:r.localize("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:X(new class extends p{constructor(){super(109,"smartSelect",{selectLeadingAndTrailingWhitespace:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:r.localize("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"}})}validate(e){return e&&"object"==typeof e?{selectLeadingAndTrailingWhitespace:b(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}:this.defaultValue}}),smoothScrolling:X(new y(110,"smoothScrolling",!1,{description:r.localize("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:X(new w(113,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:X(new class extends p{constructor(){let e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(114,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[r.localize("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),r.localize("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:r.localize("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:r.localize("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:r.localize("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:r.localize("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[r.localize("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),r.localize("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),r.localize("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),r.localize("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:r.localize("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:r.localize("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:r.localize("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:r.localize("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:r.localize("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:r.localize("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:r.localize("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:r.localize("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.matchOnWordStartOnly","When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:r.localize("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){return e&&"object"==typeof e?{insertMode:k(e.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:b(e.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:b(e.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:b(e.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:b(e.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:k(e.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:b(e.showIcons,this.defaultValue.showIcons),showStatusBar:b(e.showStatusBar,this.defaultValue.showStatusBar),preview:b(e.preview,this.defaultValue.preview),previewMode:k(e.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:b(e.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:b(e.showMethods,this.defaultValue.showMethods),showFunctions:b(e.showFunctions,this.defaultValue.showFunctions),showConstructors:b(e.showConstructors,this.defaultValue.showConstructors),showDeprecated:b(e.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:b(e.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:b(e.showFields,this.defaultValue.showFields),showVariables:b(e.showVariables,this.defaultValue.showVariables),showClasses:b(e.showClasses,this.defaultValue.showClasses),showStructs:b(e.showStructs,this.defaultValue.showStructs),showInterfaces:b(e.showInterfaces,this.defaultValue.showInterfaces),showModules:b(e.showModules,this.defaultValue.showModules),showProperties:b(e.showProperties,this.defaultValue.showProperties),showEvents:b(e.showEvents,this.defaultValue.showEvents),showOperators:b(e.showOperators,this.defaultValue.showOperators),showUnits:b(e.showUnits,this.defaultValue.showUnits),showValues:b(e.showValues,this.defaultValue.showValues),showConstants:b(e.showConstants,this.defaultValue.showConstants),showEnums:b(e.showEnums,this.defaultValue.showEnums),showEnumMembers:b(e.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:b(e.showKeywords,this.defaultValue.showKeywords),showWords:b(e.showWords,this.defaultValue.showWords),showColors:b(e.showColors,this.defaultValue.showColors),showFiles:b(e.showFiles,this.defaultValue.showFiles),showReferences:b(e.showReferences,this.defaultValue.showReferences),showFolders:b(e.showFolders,this.defaultValue.showFolders),showTypeParameters:b(e.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:b(e.showSnippets,this.defaultValue.showSnippets),showUsers:b(e.showUsers,this.defaultValue.showUsers),showIssues:b(e.showIssues,this.defaultValue.showIssues)}:this.defaultValue}}),inlineSuggest:X(new class extends p{constructor(){let e={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1};super(60,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:r.localize("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover"],enumDescriptions:[r.localize("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),r.localize("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion.")],description:r.localize("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:r.localize("inlineSuggest.suppressSuggestions","Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")}})}validate(e){return e&&"object"==typeof e?{enabled:b(e.enabled,this.defaultValue.enabled),mode:k(e.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:k(e.showToolbar,this.defaultValue.showToolbar,["always","onHover"]),suppressSuggestions:b(e.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:b(e.keepOnBlur,this.defaultValue.keepOnBlur)}:this.defaultValue}}),suggestFontSize:X(new w(115,"suggestFontSize",0,0,1e3,{markdownDescription:r.localize("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:X(new w(116,"suggestLineHeight",0,0,1e3,{markdownDescription:r.localize("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:X(new y(117,"suggestOnTriggerCharacters",!0,{description:r.localize("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:X(new D(118,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[r.localize("suggestSelection.first","Always select the first suggestion."),r.localize("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),r.localize("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:r.localize("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:X(new D(119,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[r.localize("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),r.localize("tabCompletion.off","Disable tab completions."),r.localize("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:r.localize("tabCompletion","Enables tab completions.")})),tabIndex:X(new w(120,"tabIndex",0,-1,1073741824)),unicodeHighlight:X(new class extends p{constructor(){let e={nonBasicASCII:M,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:M,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(121,"unicodeHighlight",e,{[R.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,M],default:e.nonBasicASCII,description:r.localize("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[R.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:r.localize("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[R.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:r.localize("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[R.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,M],default:e.includeComments,description:r.localize("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[R.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,M],default:e.includeStrings,description:r.localize("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[R.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:r.localize("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[R.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:r.localize("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let i=!1;t.allowedCharacters&&e&&!c.equals(e.allowedCharacters,t.allowedCharacters)&&(e=Object.assign(Object.assign({},e),{allowedCharacters:t.allowedCharacters}),i=!0),t.allowedLocales&&e&&!c.equals(e.allowedLocales,t.allowedLocales)&&(e=Object.assign(Object.assign({},e),{allowedLocales:t.allowedLocales}),i=!0);let n=super.applyUpdate(e,t);return i?new f(n.newValue,!0):n}validate(e){return e&&"object"==typeof e?{nonBasicASCII:F(e.nonBasicASCII,M,[!0,!1,M]),invisibleCharacters:b(e.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:b(e.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:F(e.includeComments,M,[!0,!1,M]),includeStrings:F(e.includeStrings,M,[!0,!1,M]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}:this.defaultValue}validateBooleanMap(e,t){if("object"!=typeof e||!e)return t;let i={};for(let[t,n]of Object.entries(e))!0===n&&(i[t]=!0);return i}}),unusualLineTerminators:X(new D(122,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[r.localize("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),r.localize("unusualLineTerminators.off","Unusual line terminators are ignored."),r.localize("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:r.localize("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:X(new y(123,"useShadowDOM",!0)),useTabStops:X(new y(124,"useTabStops",!0,{description:r.localize("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordBreak:X(new D(125,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[r.localize("wordBreak.normal","Use the default line break rule."),r.localize("wordBreak.keepAll","Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")],description:r.localize("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSeparators:X(new E(126,"wordSeparators",a.USUAL_WORD_SEPARATORS,{description:r.localize("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:X(new D(127,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[r.localize("wordWrap.off","Lines will never wrap."),r.localize("wordWrap.on","Lines will wrap at the viewport width."),r.localize({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),r.localize({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:r.localize({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:X(new E(128,"wordWrapBreakAfterCharacters"," })]?|/&.,;\xa2\xb0′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:X(new E(129,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「\xa3\xa5$£¥++")),wordWrapColumn:X(new w(130,"wordWrapColumn",80,1,1073741824,{markdownDescription:r.localize({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:X(new D(131,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:X(new D(132,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:X(new class extends v{constructor(){super(137)}compute(e,t,i){let n=["monaco-editor"];return t.get(37)&&n.push(t.get(37)),e.extraEditorClassName&&n.push(e.extraEditorClassName),"default"===t.get(71)?n.push("mouse-default"):"copy"===t.get(71)&&n.push("mouse-copy"),t.get(107)&&n.push("showUnused"),t.get(135)&&n.push("showDeprecated"),n.join(" ")}}),defaultColorDecorators:X(new y(142,"defaultColorDecorators",!1,{markdownDescription:r.localize("defaultColorDecorators","Controls whether inline color decorations should be shown using the default document color provider")})),pixelRatio:X(new class extends v{constructor(){super(138)}compute(e,t,i){return e.pixelRatio}}),tabFocusMode:X(new y(139,"tabFocusMode",!1,{markdownDescription:r.localize("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:X(new N),wrappingInfo:X(new class extends v{constructor(){super(141)}compute(e,t,i){let n=t.get(140);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}}),wrappingIndent:X(new class extends p{constructor(){super(133,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[r.localize("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),r.localize("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),r.localize("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),r.localize("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:r.localize("wrappingIndent","Controls the indentation of wrapped lines."),default:"same"}})}validate(e){switch(e){case"none":return 0;case"same":break;case"indent":return 2;case"deepIndent":return 3}return 1}compute(e,t,i){let n=t.get(2);return 2===n?0:i}}),wrappingStrategy:X(new class extends p{constructor(){super(134,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[r.localize("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),r.localize("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:r.localize("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return k(e,"simple",["simple","advanced"])}compute(e,t,i){let n=t.get(2);return 2===n?"advanced":i}})}}),eK.register("cAMHt",function(e,t){o(e.exports,"localize",()=>n),o(e.exports,"getConfiguredDefaultLocale",()=>r);let i="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function n(e,t,...r){let o;return o=0===r.length?t:t.replace(/\{(\d+)\}/g,(e,t)=>{let i=t[0],n=r[i],o=e;return"string"==typeof n?o=n:("number"==typeof n||"boolean"==typeof n||null==n)&&(o=String(n)),o}),i&&(o="["+o.replace(/[aouei]/g,"$&$&")+"]"),o}function r(e){}}),eK.register("eAnxj",function(e,t){let i,n;o(e.exports,"globals",()=>m),o(e.exports,"isWindows",()=>b),o(e.exports,"isMacintosh",()=>y),o(e.exports,"isLinux",()=>C),o(e.exports,"isNative",()=>w),o(e.exports,"isWeb",()=>S),o(e.exports,"isWebWorker",()=>x),o(e.exports,"isIOS",()=>E),o(e.exports,"isMobile",()=>k),o(e.exports,"language",()=>P),o(e.exports,"setTimeout0",()=>A),o(e.exports,"OS",()=>I),o(e.exports,"isLittleEndian",()=>O),o(e.exports,"isChrome",()=>M),o(e.exports,"isFirefox",()=>R),o(e.exports,"isSafari",()=>F),o(e.exports,"isEdge",()=>K);var r,s=eK("cAMHt"),a=eK("8j2NX");let l=!1,c=!1,u=!1,d=!1,h=!1,g=!1,p=!1,f="en",m="object"==typeof self?self:"object"==typeof eO?eO:{};void 0!==m.vscode&&void 0!==m.vscode.process?n=m.vscode.process:void 0!==a&&(n=a);let v="string"==typeof(null===(r=null==n?void 0:n.versions)||void 0===r?void 0:r.electron),_=v&&(null==n?void 0:n.type)==="renderer";if("object"!=typeof navigator||_){if("object"==typeof n){l="win32"===n.platform,c="darwin"===n.platform,(u="linux"===n.platform)&&n.env.SNAP&&n.env.SNAP_REVISION,n.env.CI||n.env.BUILD_ARTIFACTSTAGINGDIRECTORY,f="en";let e=n.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),i=t.availableLanguages["*"];t.locale,t.osLocale,f=i||"en",t._translationsConfigFile}catch(e){}d=!0}else console.error("Unable to resolve platform.")}else{l=(i=navigator.userAgent).indexOf("Windows")>=0,c=i.indexOf("Macintosh")>=0,g=(i.indexOf("Macintosh")>=0||i.indexOf("iPad")>=0||i.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,u=i.indexOf("Linux")>=0,p=(null==i?void 0:i.indexOf("Mobi"))>=0,h=!0;let e=s.getConfiguredDefaultLocale(s.localize({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"));f=e||"en",navigator.language}let b=l,y=c,C=u,w=d,S=h,x=h&&"function"==typeof m.importScripts,E=g,k=p,D=i,P=f,L="function"==typeof m.postMessage&&!m.importScripts,A=(()=>{if(L){let e=[];m.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=e.length;i{let n=++t;e.push({id:n,callback:i}),m.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})(),I=c||g?2:l?1:3,N=!0,T=!1;function O(){if(!T){T=!0;let e=new Uint8Array(2);e[0]=1,e[1]=2;let t=new Uint16Array(e.buffer);N=513===t[0]}return N}let M=!!(D&&D.indexOf("Chrome")>=0),R=!!(D&&D.indexOf("Firefox")>=0),F=!!(!M&&D&&D.indexOf("Safari")>=0),K=!!(D&&D.indexOf("Edg/")>=0);D&&D.indexOf("Android")}),eK.register("8j2NX",function(e,t){var i,n,r,o=e.exports={};function s(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(i===setTimeout)return setTimeout(e,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}catch(e){i=s}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c=[],u=!1,d=-1;function h(){u&&r&&(u=!1,r.length?c=r.concat(c):d=-1,c.length&&g())}function g(){if(!u){var e=l(h);u=!0;for(var t=c.length;t;){for(r=c,c=[];++d1)for(var i=1;ir),o(e.exports,"DEFAULT_WORD_REGEXP",()=>s),o(e.exports,"ensureValidWordDefinition",()=>a),o(e.exports,"getWordAtText",()=>function e(t,n,r,o,s){if(s||(s=(0,i.Iterable).first(l)),r.length>s.maxLen){let i=t-s.maxLen/2;return i<0?i=0:o+=i,r=r.substring(i,t+s.maxLen/2),e(t,n,r,o,s)}let a=Date.now(),c=t-1-o,u=-1,d=null;for(let e=1;!(Date.now()-a>=s.timeBudget);e++){let t=c-s.windowSize*e;n.lastIndex=Math.max(0,t);let i=function(e,t,i,n){let r;for(;r=e.exec(t);){let t=r.index||0;if(t<=i&&e.lastIndex>=i)return r;if(n>0&&t>n)break}return null}(n,r,c,u);if(!i&&d||(d=i,t<=0))break;u=t}if(d){let e={word:d[0],startColumn:o+1+d.index,endColumn:o+1+d.index+d[0].length};return n.lastIndex=0,e}return null});var i=eK("9fMar"),n=eK("cWvvI");let r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",s=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(let i of r)e.indexOf(i)>=0||(t+="\\"+i);return RegExp(t+="\\s]+)","g")}();function a(e){let t=s;if(e&&e instanceof RegExp){if(e.global)t=e;else{let i="g";e.ignoreCase&&(i+="i"),e.multiline&&(i+="m"),e.unicode&&(i+="u"),t=new RegExp(e.source,i)}}return t.lastIndex=0,t}let l=new n.LinkedList;l.unshift({maxLen:1e3,windowSize:15,timeBudget:150})}),eK.register("9fMar",function(e,t){var i;o(e.exports,"Iterable",()=>i),function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;let i=Object.freeze([]);function*n(e){yield e}e.empty=function(){return i},e.single=n,e.wrap=function(e){return t(e)?e:n(e)},e.from=function(e){return e||i},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(let i of e)if(t(i))return!0;return!1},e.find=function(e,t){for(let i of e)if(t(i))return i},e.filter=function*(e,t){for(let i of e)t(i)&&(yield i)},e.map=function*(e,t){let i=0;for(let n of e)yield t(n,i++)},e.concat=function*(...e){for(let t of e)for(let e of t)yield e},e.reduce=function(e,t,i){let n=i;for(let i of e)n=t(n,i);return n},e.slice=function*(e,t,i=e.length){for(t<0&&(t+=e.length),i<0?i+=e.length:i>e.length&&(i=e.length);tr}]}}(i||(i={}))}),eK.register("cWvvI",function(e,t){o(e.exports,"LinkedList",()=>n);class i{constructor(e){this.element=e,this.next=i.Undefined,this.prev=i.Undefined}}i.Undefined=new i(void 0);class n{constructor(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===i.Undefined}clear(){let e=this._first;for(;e!==i.Undefined;){let t=e.next;e.prev=i.Undefined,e.next=i.Undefined,e=t}this._first=i.Undefined,this._last=i.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let n=new i(e);if(this._first===i.Undefined)this._first=n,this._last=n;else if(t){let e=this._last;this._last=n,n.prev=e,e.next=n}else{let e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==i.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==i.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==i.Undefined&&e.next!==i.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===i.Undefined&&e.next===i.Undefined?(this._first=i.Undefined,this._last=i.Undefined):e.next===i.Undefined?(this._last=this._last.prev,this._last.next=i.Undefined):e.prev===i.Undefined&&(this._first=this._first.next,this._first.prev=i.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==i.Undefined;)yield e.element,e=e.next}}}),eK.register("ihJyr",function(e,t){var i,n;function r(e,t=0){return e[e.length-(1+t)]}function s(e){if(0===e.length)throw Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function a(e,t,i=(e,t)=>e===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0,r=e.length;n0))return e;n=e-1}}return-(i+1)}(e.length,n=>i(e[n],t))}function u(e,t){let i=0,n=e.length;if(0===n)return 0;for(;i!!e)}function g(e){let t=0;for(let i=0;i0}function m(e,t=e=>e){let i=new Set;return e.filter(e=>{let n=t(e);return!i.has(n)&&(i.add(n),!0)})}function v(e,t){let i=function(e,t){for(let i=e.length-1;i>=0;i--){let n=e[i];if(t(n))return i}return -1}(e,t);if(-1!==i)return e[i]}function _(e,t){return e.length>0?e[0]:t}function b(e,t){let i="number"==typeof t?e:0;"number"==typeof t?i=e:(i=0,t=e);let n=[];if(i<=t)for(let e=i;et;e--)n.push(e);return n}function y(e,t,i){let n=e.slice(0,t),r=e.slice(t);return n.concat(i,r)}function C(e,t){let i=e.indexOf(t);i>-1&&(e.splice(i,1),e.unshift(t))}function w(e,t){let i=e.indexOf(t);i>-1&&(e.splice(i,1),e.push(t))}function S(e,t){for(let i of t)e.push(i)}function x(e){return Array.isArray(e)?e:[e]}function E(e,t){for(let i of e){let e=t(i);if(void 0!==e)return e}}function k(e,t,i,n){let r=D(e,t),o=e.splice(r,i);return function(e,t,i){let n=D(e,t),r=e.length,o=i.length;e.length=r+o;for(let t=r-1;t>=n;t--)e[t+o]=e[t];for(let t=0;tt(e(i),e(n))}o(e.exports,"tail",()=>r),o(e.exports,"tail2",()=>s),o(e.exports,"equals",()=>a),o(e.exports,"removeFastWithoutKeepingOrder",()=>l),o(e.exports,"binarySearch",()=>c),o(e.exports,"findFirstInSorted",()=>u),o(e.exports,"quickSelect",()=>function e(t,i,n){if((t|=0)>=i.length)throw TypeError("invalid index");let r=i[Math.floor(i.length*Math.random())],o=[],s=[],a=[];for(let e of i){let t=n(e,r);t<0?o.push(e):t>0?s.push(e):a.push(e)}return td),o(e.exports,"coalesce",()=>h),o(e.exports,"coalesceInPlace",()=>g),o(e.exports,"isFalsyOrEmpty",()=>p),o(e.exports,"isNonEmptyArray",()=>f),o(e.exports,"distinct",()=>m),o(e.exports,"findLast",()=>v),o(e.exports,"firstOrDefault",()=>_),o(e.exports,"range",()=>b),o(e.exports,"arrayInsert",()=>y),o(e.exports,"pushToStart",()=>C),o(e.exports,"pushToEnd",()=>w),o(e.exports,"pushMany",()=>S),o(e.exports,"asArray",()=>x),o(e.exports,"mapFind",()=>E),o(e.exports,"splice",()=>k),o(e.exports,"compareBy",()=>P),o(e.exports,"numberComparator",()=>L),o(e.exports,"findMaxBy",()=>A),o(e.exports,"findLastMaxBy",()=>I),o(e.exports,"findMinBy",()=>N),o(e.exports,"ArrayQueue",()=>T),o(e.exports,"CallbackIterable",()=>O),(n=i||(i={})).isLessThan=function(e){return e<0},n.isGreaterThan=function(e){return e>0},n.isNeitherLessOrGreaterThan=function(e){return 0===e},n.greaterThan=1,n.lessThan=-1,n.neitherLessOrGreaterThan=0;let L=(e,t)=>e-t;function A(e,t){if(0===e.length)return;let i=e[0];for(let n=1;n0&&(i=r)}return i}function I(e,t){if(0===e.length)return;let i=e[0];for(let n=1;n=0&&(i=r)}return i}function N(e,t){return A(e,(e,i)=>-t(e,i))}class T{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;let i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(0!==this.length)return this.items[this.firstIdx]}dequeue(){let e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){let t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}class O{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new O(t=>this.iterate(i=>!e(i)||t(i)))}map(e){return new O(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t;let n=!0;return this.iterate(r=>((n||i.isGreaterThan(e(r,t)))&&(n=!1,t=r),!0)),t}}O.empty=new O(e=>{})}),eK.register("e7gry",function(e,t){o(e.exports,"deepClone",()=>function e(t){if(!t||"object"!=typeof t||t instanceof RegExp)return t;let i=Array.isArray(t)?[]:{};return Object.entries(t).forEach(([t,n])=>{i[t]=n&&"object"==typeof n?e(n):n}),i}),o(e.exports,"deepFreeze",()=>n),o(e.exports,"cloneAndChange",()=>s),o(e.exports,"mixin",()=>function e(t,n,r=!0){return(0,i.isObject)(t)?((0,i.isObject)(n)&&Object.keys(n).forEach(o=>{o in t?r&&((0,i.isObject)(t[o])&&(0,i.isObject)(n[o])?e(t[o],n[o],r):t[o]=n[o]):t[o]=n[o]}),t):n}),o(e.exports,"equals",()=>function e(t,i){let n,r;if(t===i)return!0;if(null==t||null==i||typeof t!=typeof i||"object"!=typeof t||Array.isArray(t)!==Array.isArray(i))return!1;if(Array.isArray(t)){if(t.length!==i.length)return!1;for(n=0;na),o(e.exports,"createProxyObject",()=>l);var i=eK("jsPOf");function n(e){if(!e||"object"!=typeof e)return e;let t=[e];for(;t.length>0;){let e=t.shift();for(let n in Object.freeze(e),e)if(r.call(e,n)){let r=e[n];"object"!=typeof r||Object.isFrozen(r)||(0,i.isTypedArray)(r)||t.push(r)}}return e}let r=Object.prototype.hasOwnProperty;function s(e,t){return function e(t,n,o){if((0,i.isUndefinedOrNull)(t))return t;let s=n(t);if(void 0!==s)return s;if(Array.isArray(t)){let i=[];for(let r of t)i.push(e(r,n,o));return i}if((0,i.isObject)(t)){if(o.has(t))throw Error("Cannot clone recursive data-structure");o.add(t);let i={};for(let s in t)r.call(t,s)&&(i[s]=e(t[s],n,o));return o.delete(t),i}return t}(e,t,new Set)}function a(e){let t=[];for(let i of function(e){let t=[],i=Object.getPrototypeOf(e);for(;Object.prototype!==i;)t=t.concat(Object.getOwnPropertyNames(i)),i=Object.getPrototypeOf(i);return t}(e))"function"==typeof e[i]&&t.push(i);return t}function l(e,t){let i=e=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},n={};for(let t of e)n[t]=i(t);return n}}),eK.register("jsPOf",function(e,t){function i(e){return"string"==typeof e}function n(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function r(e){let t=Object.getPrototypeOf(Uint8Array);return"object"==typeof e&&e instanceof t}function s(e){return"number"==typeof e&&!isNaN(e)}function a(e){return!!e&&"function"==typeof e[Symbol.iterator]}function l(e){return!0===e||!1===e}function c(e){return void 0===e}function u(e){return!d(e)}function d(e){return c(e)||null===e}function h(e,t){if(!e)throw Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function g(e){if(d(e))throw Error("Assertion Failed: argument is undefined or null");return e}function p(e){return"function"==typeof e}function f(e,t){let n=Math.min(e.length,t.length);for(let r=0;ri),o(e.exports,"isObject",()=>n),o(e.exports,"isTypedArray",()=>r),o(e.exports,"isNumber",()=>s),o(e.exports,"isIterable",()=>a),o(e.exports,"isBoolean",()=>l),o(e.exports,"isUndefined",()=>c),o(e.exports,"isDefined",()=>u),o(e.exports,"isUndefinedOrNull",()=>d),o(e.exports,"assertType",()=>h),o(e.exports,"assertIsDefined",()=>g),o(e.exports,"isFunction",()=>p),o(e.exports,"validateConstraints",()=>f),o(e.exports,"withNullAsUndefined",()=>m),o(e.exports,"withUndefinedAsNull",()=>v)}),eK.register("bAmvf",function(e,t){o(e.exports,"EDITOR_MODEL_DEFAULTS",()=>i);let i={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}}}),eK.register("d6oSy",function(e,t){o(e.exports,"createMonacoBaseAPI",()=>g);var i=eK("8L17c"),n=eK("hhGVE"),r=eK("cEwMX"),s=eK("dmkat"),a=eK("iWRZp"),l=eK("hf16e"),c=eK("9lqsy"),u=eK("cQ9sC"),d=eK("jIyaL");class h{static chord(e,t){return(0,r.KeyChord)(e,t)}}function g(){return{editor:void 0,languages:void 0,CancellationTokenSource:i.CancellationTokenSource,Emitter:n.Emitter,KeyCode:d.KeyCode,KeyMod:h,Position:a.Position,Range:l.Range,Selection:c.Selection,SelectionDirection:d.SelectionDirection,MarkerSeverity:d.MarkerSeverity,MarkerTag:d.MarkerTag,Uri:s.URI,Token:u.Token}}h.CtrlCmd=2048,h.Shift=1024,h.Alt=512,h.WinCtrl=256}),eK.register("8L17c",function(e,t){o(e.exports,"CancellationToken",()=>n),o(e.exports,"CancellationTokenSource",()=>l);var i,n,r=eK("hhGVE");let s=Object.freeze(function(e,t){let i=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(i)}}});(i=n||(n={})).isCancellationToken=function(e){return e===i.None||e===i.Cancelled||e instanceof a||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},i.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.Event.None}),i.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:s});class a{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?s:(this._emitter||(this._emitter=new r.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class l{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new a),this._token}cancel(){this._token?this._token instanceof a&&this._token.cancel():this._token=n.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof a&&this._token.dispose():this._token=n.None}}}),eK.register("hhGVE",function(e,t){o(e.exports,"Event",()=>i),o(e.exports,"Emitter",()=>g),o(e.exports,"EventDeliveryQueue",()=>p),o(e.exports,"PauseableEmitter",()=>v),o(e.exports,"DebounceEmitter",()=>_),o(e.exports,"MicrotaskEmitter",()=>b),o(e.exports,"EventMultiplexer",()=>y),o(e.exports,"EventBufferer",()=>C),o(e.exports,"Relay",()=>w);var i,n=eK("feAe9"),r=eK("6jYOS"),s=eK("ldoGF"),a=eK("cWvvI"),l=eK("4EjGQ");!function(e){function t(e){return(t,i=null,n)=>{let r,o=!1;return r=e(e=>o?void 0:(r?r.dispose():o=!0,t.call(i,e)),null,n),o&&r.dispose(),r}}function i(e,t,i){return a((i,n=null,r)=>e(e=>i.call(n,t(e)),null,r),i)}function n(e,t,i){return a((i,n=null,r)=>e(e=>{t(e),i.call(n,e)},null,r),i)}function r(e,t,i){return a((i,n=null,r)=>e(e=>t(e)&&i.call(n,e),null,r),i)}function o(e,t,n,r){let o=n;return i(e,e=>o=t(o,e),r)}function a(e,t){let i;let n=new g({onWillAddFirstListener(){i=e(n.fire,n)},onDidRemoveLastListener(){null==i||i.dispose()}});return null==t||t.add(n),n.event}function l(e,t,i=100,n=!1,r=!1,o,s){let a,l,c,u;let d=0,h=new g({leakWarningThreshold:o,onWillAddFirstListener(){a=e(e=>{d++,c=t(c,e),n&&!u&&(h.fire(c),c=void 0),l=()=>{let e=c;c=void 0,u=void 0,(!n||d>1)&&h.fire(e),d=0},"number"==typeof i?(clearTimeout(u),u=setTimeout(l,i)):void 0===u&&(u=0,queueMicrotask(l))})},onWillRemoveListener(){r&&d>0&&(null==l||l())},onDidRemoveLastListener(){l=void 0,a.dispose()}});return null==s||s.add(h),h.event}function c(e,t=(e,t)=>e===t,i){let n,o=!0;return r(e,e=>{let i=o||!t(e,n);return o=!1,n=e,i},i)}e.None=()=>s.Disposable.None,e.defer=function(e,t){return l(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=t,e.map=i,e.forEach=n,e.filter=r,e.signal=function(e){return e},e.any=function(...e){return(t,i=null,n)=>(0,s.combinedDisposable)(...e.map(e=>e(e=>t.call(i,e),null,n)))},e.reduce=o,e.debounce=l,e.accumulate=function(t,i=0,n){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],i,void 0,!0,void 0,n)},e.latch=c,e.split=function(t,i,n){return[e.filter(t,i,n),e.filter(t,e=>!i(e),n)]},e.buffer=function(e,t=!1,i=[]){let n=i.slice(),r=e(e=>{n?n.push(e):s.fire(e)}),o=()=>{null==n||n.forEach(e=>s.fire(e)),n=null},s=new g({onWillAddFirstListener(){r||(r=e(e=>s.fire(e)))},onDidAddFirstListener(){n&&(t?setTimeout(o):o())},onDidRemoveLastListener(){r&&r.dispose(),r=null}});return s.event};class u{constructor(e){this.event=e,this.disposables=new s.DisposableStore}map(e){return new u(i(this.event,e,this.disposables))}forEach(e){return new u(n(this.event,e,this.disposables))}filter(e){return new u(r(this.event,e,this.disposables))}reduce(e,t){return new u(o(this.event,e,t,this.disposables))}latch(){return new u(c(this.event,void 0,this.disposables))}debounce(e,t=100,i=!1,n=!1,r){return new u(l(this.event,e,t,i,n,r,this.disposables))}on(e,t,i){return this.event(e,t,i)}once(e,i,n){return t(this.event)(e,i,n)}dispose(){this.disposables.dispose()}}e.chain=function(e){return new u(e)},e.fromNodeEventEmitter=function(e,t,i=e=>e){let n=(...e)=>r.fire(i(...e)),r=new g({onWillAddFirstListener:()=>e.on(t,n),onDidRemoveLastListener:()=>e.removeListener(t,n)});return r.event},e.fromDOMEventEmitter=function(e,t,i=e=>e){let n=(...e)=>r.fire(i(...e)),r=new g({onWillAddFirstListener:()=>e.addEventListener(t,n),onDidRemoveLastListener:()=>e.removeEventListener(t,n)});return r.event},e.toPromise=function(e){return new Promise(i=>t(e)(i))},e.runAndSubscribe=function(e,t){return t(void 0),e(e=>t(e))},e.runAndSubscribeWithStore=function(e,t){let i=null;function n(e){null==i||i.dispose(),t(e,i=new s.DisposableStore)}n(void 0);let r=e(e=>n(e));return(0,s.toDisposable)(()=>{r.dispose(),null==i||i.dispose()})};class d{constructor(e,t){this._observable=e,this._counter=0,this._hasChanged=!1;this.emitter=new g({onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}}),t&&t.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){let i=new d(e,t);return i.emitter.event},e.fromObservableLight=function(e){return t=>{let i=0,n=!1,r={beginUpdate(){i++},endUpdate(){0==--i&&(e.reportChanges(),n&&(n=!1,t()))},handlePossibleChange(){},handleChange(){n=!0}};return e.addObserver(r),{dispose(){e.removeObserver(r)}}}}}(i||(i={}));class c{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${c._idPool++}`,c.all.add(this)}start(e){this._stopWatch=new l.StopWatch(!0),this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}c.all=new Set,c._idPool=0;class u{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let i=this.threshold;if(i<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class d{static create(){var e;return new d(null!==(e=Error().stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class h{constructor(e,t,i){this.callback=e,this.callbackThis=t,this.stack=i,this.subscription=new s.SafeDisposable}invoke(e){this.callback.call(this.callbackThis,e)}}class g{constructor(e){var t,i,n,r,o;this._disposed=!1,this._options=e,this._leakageMon=(null===(t=this._options)||void 0===t?void 0:t.leakWarningThreshold)?new u(null!==(n=null===(i=this._options)||void 0===i?void 0:i.leakWarningThreshold)&&void 0!==n?n:-1):void 0,this._perfMon=(null===(r=this._options)||void 0===r?void 0:r._profName)?new c(this._options._profName):void 0,this._deliveryQueue=null===(o=this._options)||void 0===o?void 0:o.deliveryQueue}dispose(){var e,t,i,n;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),null===(e=this._deliveryQueue)||void 0===e||e.clear(this),null===(i=null===(t=this._options)||void 0===t?void 0:t.onDidRemoveLastListener)||void 0===i||i.call(t),null===(n=this._leakageMon)||void 0===n||n.dispose())}get event(){return this._event||(this._event=(e,t,i)=>{var n,r,o;let l,c;if(this._listeners||(this._listeners=new a.LinkedList),this._leakageMon&&this._listeners.size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),s.Disposable.None;let u=this._listeners.isEmpty();u&&(null===(n=this._options)||void 0===n?void 0:n.onWillAddFirstListener)&&this._options.onWillAddFirstListener(this),this._leakageMon&&this._listeners.size>=Math.ceil(.2*this._leakageMon.threshold)&&(c=d.create(),l=this._leakageMon.check(c,this._listeners.size+1));let g=new h(e,t,c),p=this._listeners.push(g);u&&(null===(r=this._options)||void 0===r?void 0:r.onDidAddFirstListener)&&this._options.onDidAddFirstListener(this),(null===(o=this._options)||void 0===o?void 0:o.onDidAddListener)&&this._options.onDidAddListener(this,e,t);let f=g.subscription.set(()=>{var e,t;if(null==l||l(),!this._disposed&&(null===(t=null===(e=this._options)||void 0===e?void 0:e.onWillRemoveListener)||void 0===t||t.call(e,this),p(),this._options&&this._options.onDidRemoveLastListener)){let e=this._listeners&&!this._listeners.isEmpty();e||this._options.onDidRemoveLastListener(this)}});return i instanceof s.DisposableStore?i.add(f):Array.isArray(i)&&i.push(f),f}),this._event}fire(e){var t,i,n;if(this._listeners){for(let i of(this._deliveryQueue||(this._deliveryQueue=new f(null===(t=this._options)||void 0===t?void 0:t.onListenerError)),this._listeners))this._deliveryQueue.push(this,i,e);null===(i=this._perfMon)||void 0===i||i.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),null===(n=this._perfMon)||void 0===n||n.stop()}}hasListeners(){return!!this._listeners&&!this._listeners.isEmpty()}}class p{constructor(e=n.onUnexpectedError){this._onListenerError=e,this._queue=new a.LinkedList}get size(){return this._queue.size}push(e,t,i){this._queue.push(new m(e,t,i))}clear(e){let t=new a.LinkedList;for(let i of this._queue)i.emitter!==e&&t.push(i);this._queue=t}deliver(){for(;this._queue.size>0;){let e=this._queue.shift();try{e.listener.invoke(e.event)}catch(e){this._onListenerError(e)}}}}class f extends p{clear(e){this._queue.clear()}}class m{constructor(e,t,i){this.emitter=e,this.listener=t,this.event=i}}class v extends g{constructor(e){super(e),this._isPaused=0,this._eventQueue=new a.LinkedList,this._mergeFn=null==e?void 0:e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused){if(this._mergeFn){if(this._eventQueue.size>0){let e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class _ extends v{constructor(e){var t;super(e),this._delay=null!==(t=e.delay)&&void 0!==t?t:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class b extends g{constructor(e){super(e),this._queuedEvents=[],this._mergeFn=null==e?void 0:e.merge}fire(e){this.hasListeners()&&(this._queuedEvents.push(e),1===this._queuedEvents.length&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(e=>super.fire(e)),this._queuedEvents=[]}))}}class y{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new g({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(e){let t={event:e,listener:null};return this.events.push(t),this.hasListeners&&this.hook(t),(0,s.toDisposable)((0,r.once)(()=>{this.hasListeners&&this.unhook(t);let e=this.events.indexOf(t);this.events.splice(e,1)}))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(e=>this.hook(e))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(e=>this.unhook(e))}hook(e){e.listener=e.event(e=>this.emitter.fire(e))}unhook(e){e.listener&&e.listener.dispose(),e.listener=null}dispose(){this.emitter.dispose()}}class C{constructor(){this.buffers=[]}wrapEvent(e){return(t,i,n)=>e(e=>{let n=this.buffers[this.buffers.length-1];n?n.push(()=>t.call(i,e)):t.call(i,e)},void 0,n)}bufferEvents(e){let t=[];this.buffers.push(t);let i=e();return this.buffers.pop(),t.forEach(e=>e()),i}}class w{constructor(){this.listening=!1,this.inputEvent=i.None,this.inputEventListener=s.Disposable.None,this.emitter=new g({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}}),eK.register("feAe9",function(e,t){o(e.exports,"onUnexpectedError",()=>n),o(e.exports,"isCancellationError",()=>l),o(e.exports,"onUnexpectedExternalError",()=>r),o(e.exports,"transformErrorForSerialization",()=>s),o(e.exports,"CancellationError",()=>c),o(e.exports,"canceled",()=>u),o(e.exports,"illegalArgument",()=>d),o(e.exports,"illegalState",()=>h),o(e.exports,"NotSupportedError",()=>g),o(e.exports,"BugIndicatingError",()=>f);let i=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(p.isErrorNoTelemetry(e))throw new p(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function n(e){l(e)||i.onUnexpectedError(e)}function r(e){l(e)||i.onUnexpectedExternalError(e)}function s(e){if(e instanceof Error){let{name:t,message:i}=e,n=e.stacktrace||e.stack;return{$isError:!0,name:t,message:i,stack:n,noTelemetry:p.isErrorNoTelemetry(e)}}return e}let a="Canceled";function l(e){return e instanceof c||e instanceof Error&&e.name===a&&e.message===a}class c extends Error{constructor(){super(a),this.name=this.message}}function u(){let e=Error(a);return e.name=e.message,e}function d(e){return e?Error(`Illegal argument: ${e}`):Error("Illegal argument")}function h(e){return e?Error(`Illegal state: ${e}`):Error("Illegal state")}class g extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}class p extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof p)return e;let t=new p;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class f extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,f.prototype)}}}),eK.register("6jYOS",function(e,t){o(e.exports,"once",()=>i);function i(e){let t;let i=this,n=!1;return function(){return n?t:(n=!0,t=e.apply(i,arguments))}}}),eK.register("ldoGF",function(e,t){o(e.exports,"Disposable",()=>p),o(e.exports,"markAsSingleton",()=>l),o(e.exports,"isDisposable",()=>c),o(e.exports,"dispose",()=>u),o(e.exports,"combinedDisposable",()=>d),o(e.exports,"toDisposable",()=>h),o(e.exports,"DisposableStore",()=>g),o(e.exports,"MutableDisposable",()=>f),o(e.exports,"RefCountedDisposable",()=>m),o(e.exports,"SafeDisposable",()=>v),o(e.exports,"ImmortalReference",()=>_),o(e.exports,"DisposableMap",()=>b);var i=eK("6jYOS"),n=eK("9fMar");function r(e){return e}function s(e){}function a(e,t){}function l(e){return e}function c(e){return"function"==typeof e.dispose&&0===e.dispose.length}function u(e){if((0,n.Iterable).is(e)){let t=[];for(let i of e)if(i)try{i.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function d(...e){let t=h(()=>u(e));return t}function h(e){let t={dispose:(0,i.once)(()=>{e()})};return t}class g{constructor(){var e;this._toDispose=new Set,this._isDisposed=!1,e=this}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{u(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return this._isDisposed?g.DISABLE_DISPOSED_WARNING||console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}g.DISABLE_DISPOSED_WARNING=!1;class p{constructor(){var e;this._store=new g,e=this,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}p.None=Object.freeze({dispose(){}});class f{constructor(){var e;this._isDisposed=!1,e=this}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null===(t=this._value)||void 0===t||t.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,null===(e=this._value)||void 0===e||e.dispose(),this._value=void 0}}class m{constructor(e){this._disposable=e,this._counter=1}acquire(){return this._counter++,this}release(){return 0==--this._counter&&this._disposable.dispose(),this}}class v{constructor(){var e;this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,e=this}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0)},this}}class _{constructor(e){this.object=e}dispose(){}}class b{constructor(){var e;this._store=new Map,this._isDisposed=!1,e=this}dispose(){this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{u(this._store.values())}finally{this._store.clear()}}get(e){return this._store.get(e)}set(e,t,i=!1){var n;this._isDisposed&&console.warn(Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),i||null===(n=this._store.get(e))||void 0===n||n.dispose(),this._store.set(e,t)}deleteAndDispose(e){var t;null===(t=this._store.get(e))||void 0===t||t.dispose(),this._store.delete(e)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}}),eK.register("4EjGQ",function(e,t){o(e.exports,"StopWatch",()=>r);var i=eK("eAnxj");let n=i.globals.performance&&"function"==typeof i.globals.performance.now;class r{static create(e=!0){return new r(e)}constructor(e){this._highResolution=n&&e,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?(0,i.globals).performance.now():Date.now()}}}),eK.register("cEwMX",function(e,t){var i,n;o(e.exports,"EVENT_KEY_CODE_MAP",()=>c),o(e.exports,"IMMUTABLE_CODE_TO_KEY_CODE",()=>p),o(e.exports,"KeyCodeUtils",()=>i),o(e.exports,"KeyChord",()=>m);class r{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let s=new r,a=new r,l=new r,c=Array(230),u={},d=[],h=Object.create(null),g=Object.create(null),p=[],f=[];for(let e=0;e<=193;e++)p[e]=-1;for(let e=0;e<=132;e++)f[e]=-1;function m(e,t){return(e|(65535&t)<<16>>>0)>>>0}(function(){let e=[],t=[];for(let i of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[n,r,o,m,v,_,b,y,C]=i;if(!t[r]&&(t[r]=!0,d[r]=o,h[o]=r,g[o.toLowerCase()]=r,n&&(p[r]=m,0!==m&&3!==m&&5!==m&&4!==m&&6!==m&&57!==m&&(f[m]=r))),!e[m]){if(e[m]=!0,!v)throw Error(`String representation missing for key code ${m} around scan code ${o}`);s.define(m,v),a.define(m,y||v),l.define(m,C||y||v)}_&&(c[_]=m),b&&(u[b]=m)}f[3]=46})(),(n=i||(i={})).toString=function(e){return s.keyCodeToStr(e)},n.fromString=function(e){return s.strToKeyCode(e)},n.toUserSettingsUS=function(e){return a.keyCodeToStr(e)},n.toUserSettingsGeneral=function(e){return l.keyCodeToStr(e)},n.fromUserSettings=function(e){return a.strToKeyCode(e)||l.strToKeyCode(e)},n.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return s.keyCodeToStr(e)}}),eK.register("dmkat",function(e,t){o(e.exports,"URI",()=>c),o(e.exports,"uriToFsPath",()=>f);var i=eK("fREEM"),n=eK("eAnxj");let r=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//,l=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class c{static isUri(e){return e instanceof c||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,i,n,o,l=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=e||l?e:"file",this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,i||""),this.query=n||"",this.fragment=o||"",function(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!r.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!s.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,l))}get fsPath(){return f(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:i,path:n,query:r,fragment:o}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===i?i=this.authority:null===i&&(i=""),void 0===n?n=this.path:null===n&&(n=""),void 0===r?r=this.query:null===r&&(r=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&i===this.authority&&n===this.path&&r===this.query&&o===this.fragment)?this:new d(t,i,n,r,o)}static parse(e,t=!1){let i=l.exec(e);return i?new d(i[2]||"",_(i[4]||""),_(i[5]||""),_(i[7]||""),_(i[9]||""),t):new d("","","","","")}static file(e){let t="";if(n.isWindows&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){let i=e.indexOf("/",2);-1===i?(t=e.substring(2),e="/"):(t=e.substring(2,i),e=e.substring(i)||"/")}return new d("file",t,e,"","")}static from(e,t){let i=new d(e.scheme,e.authority,e.path,e.query,e.fragment,t);return i}static joinPath(e,...t){let r;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return r=n.isWindows&&"file"===e.scheme?c.file(i.win32.join(f(e,!0),...t)).path:i.posix.join(e.path,...t),e.with({path:r})}toString(e=!1){return m(this,e)}toJSON(){return this}static revive(e){var t,i;if(!e)return e;{if(e instanceof c)return e;let n=new d(e);return n._formatted=null!==(t=e.external)&&void 0!==t?t:null,n._fsPath=e._sep===u&&null!==(i=e.fsPath)&&void 0!==i?i:null,n}}}let u=n.isWindows?1:void 0;class d extends c{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=f(this,!1)),this._fsPath}toString(e=!1){return e?m(this,!0):(this._formatted||(this._formatted=m(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=u),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let h={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function g(e,t,i){let n;let r=-1;for(let o=0;o=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s||i&&91===s||i&&93===s||i&&58===s)-1!==r&&(n+=encodeURIComponent(e.substring(r,o)),r=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));let t=h[s];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,o)),r=-1),n+=t):-1===r&&(r=o)}}return -1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function p(e){let t;for(let i=0;i1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,n.isWindows&&(i=i.replace(/\//g,"\\")),i}function m(e,t){let i=t?p:g,n="",{scheme:r,authority:o,path:s,query:a,fragment:l}=e;if(r&&(n+=r+":"),(o||"file"===r)&&(n+="//"),o){let e=o.indexOf("@");if(-1!==e){let t=o.substr(0,e);o=o.substr(e+1),-1===(e=t.lastIndexOf(":"))?n+=i(t,!1,!1):n+=i(t.substr(0,e),!1,!1)+":"+i(t.substr(e+1),!1,!0),n+="@"}-1===(e=(o=o.toLowerCase()).lastIndexOf(":"))?n+=i(o,!1,!0):n+=i(o.substr(0,e),!1,!0)+o.substr(e)}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){let e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){let e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}n+=i(s,!0,!1)}return a&&(n+="?"+i(a,!1,!1)),l&&(n+="#"+(t?l:g(l,!1,!1))),n}let v=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function _(e){return e.match(v)?e.replace(v,e=>(function e(t){try{return decodeURIComponent(t)}catch(i){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}}),eK.register("fREEM",function(e,t){o(e.exports,"win32",()=>h),o(e.exports,"posix",()=>p),o(e.exports,"normalize",()=>f),o(e.exports,"resolve",()=>m),o(e.exports,"relative",()=>v),o(e.exports,"dirname",()=>_),o(e.exports,"basename",()=>b),o(e.exports,"extname",()=>y),o(e.exports,"sep",()=>C);var i=eK("eKCSx");class n extends Error{constructor(e,t,i){let n;"string"==typeof t&&0===t.indexOf("not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let r=-1!==e.indexOf(".")?"property":"argument",o=`The "${e}" ${r} ${n} of type ${t}`;super(o+=`. Received type ${typeof i}`),this.code="ERR_INVALID_ARG_TYPE"}}function r(e,t){if("string"!=typeof e)throw new n(t,"string",e)}let s="win32"===i.platform;function a(e){return 47===e||92===e}function l(e){return 47===e}function c(e){return e>=65&&e<=90||e>=97&&e<=122}function u(e,t,i,n){let r="",o=0,s=-1,a=0,l=0;for(let c=0;c<=e.length;++c){if(c2){let e=r.lastIndexOf(i);-1===e?(r="",o=0):o=(r=r.slice(0,e)).length-1-r.lastIndexOf(i),s=c,a=0;continue}if(0!==r.length){r="",o=0,s=c,a=0;continue}}t&&(r+=r.length>0?`${i}..`:"..",o=2)}else r.length>0?r+=`${i}${e.slice(s+1,c)}`:r=e.slice(s+1,c),o=c-s-1;s=c,a=0}else 46===l&&-1!==a?++a:a=-1}return r}function d(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new n(t,"Object",e)}(t,"pathObject");let i=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return i?i===t.root?`${i}${r}`:`${i}${e}${r}`:r}let h={resolve(...e){let t="",n="",o=!1;for(let s=e.length-1;s>=-1;s--){let l;if(s>=0){if(r(l=e[s],"path"),0===l.length)continue}else 0===t.length?l=i.cwd():(void 0===(l=i.env[`=${t}`]||i.cwd())||l.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===l.charCodeAt(2))&&(l=`${t}\\`);let u=l.length,d=0,h="",g=!1,p=l.charCodeAt(0);if(1===u)a(p)&&(d=1,g=!0);else if(a(p)){if(g=!0,a(l.charCodeAt(1))){let e=2,t=2;for(;e2&&a(l.charCodeAt(2))&&(g=!0,d=3));if(h.length>0){if(t.length>0){if(h.toLowerCase()!==t.toLowerCase())continue}else t=h}if(o){if(t.length>0)break}else if(n=`${l.slice(d)}\\${n}`,o=g,g&&t.length>0)break}return n=u(n,!o,"\\",a),o?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){let t;r(e,"path");let i=e.length;if(0===i)return".";let n=0,o=!1,s=e.charCodeAt(0);if(1===i)return l(s)?"\\":e;if(a(s)){if(o=!0,a(e.charCodeAt(1))){let r=2,o=2;for(;r2&&a(e.charCodeAt(2))&&(o=!0,n=3));let d=n0&&a(e.charCodeAt(i-1))&&(d+="\\"),void 0===t)?o?`\\${d}`:d:o?`${t}\\${d}`:`${t}${d}`},isAbsolute(e){r(e,"path");let t=e.length;if(0===t)return!1;let i=e.charCodeAt(0);return a(i)||t>2&&c(i)&&58===e.charCodeAt(1)&&a(e.charCodeAt(2))},join(...e){let t,i;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=i=o:t+=`\\${o}`)}if(void 0===t)return".";let n=!0,o=0;if("string"==typeof i&&a(i.charCodeAt(0))){++o;let e=i.length;e>1&&a(i.charCodeAt(1))&&(++o,e>2&&(a(i.charCodeAt(2))?++o:n=!1))}if(n){for(;o=2&&(t=`\\${t.slice(o)}`)}return h.normalize(t)},relative(e,t){if(r(e,"from"),r(t,"to"),e===t)return"";let i=h.resolve(e),n=h.resolve(t);if(i===n||(e=i.toLowerCase())===(t=n.toLowerCase()))return"";let o=0;for(;oo&&92===e.charCodeAt(s-1);)s--;let a=s-o,l=0;for(;ll&&92===t.charCodeAt(c-1);)c--;let u=c-l,d=ad){if(92===t.charCodeAt(l+p))return n.slice(l+p+1);if(2===p)return n.slice(l+p)}a>d&&(92===e.charCodeAt(o+p)?g=p:2===p&&(g=3)),-1===g&&(g=0)}let f="";for(p=o+g+1;p<=s;++p)(p===s||92===e.charCodeAt(p))&&(f+=0===f.length?"..":"\\..");return(l+=g,f.length>0)?`${f}${n.slice(l,c)}`:(92===n.charCodeAt(l)&&++l,n.slice(l,c))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=h.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(c(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){r(e,"path");let t=e.length;if(0===t)return".";let i=-1,n=0,o=e.charCodeAt(0);if(1===t)return a(o)?e:".";if(a(o)){if(i=n=1,a(e.charCodeAt(1))){let r=2,o=2;for(;r2&&a(e.charCodeAt(2))?3:2);let s=-1,l=!0;for(let i=t-1;i>=n;--i)if(a(e.charCodeAt(i))){if(!l){s=i;break}}else l=!1;if(-1===s){if(-1===i)return".";s=i}return e.slice(0,s)},basename(e,t){let i;void 0!==t&&r(t,"ext"),r(e,"path");let n=0,o=-1,s=!0;if(e.length>=2&&c(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(n=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let r=t.length-1,l=-1;for(i=e.length-1;i>=n;--i){let c=e.charCodeAt(i);if(a(c)){if(!s){n=i+1;break}}else -1===l&&(s=!1,l=i+1),r>=0&&(c===t.charCodeAt(r)?-1==--r&&(o=i):(r=-1,o=l))}return n===o?o=l:-1===o&&(o=e.length),e.slice(n,o)}for(i=e.length-1;i>=n;--i)if(a(e.charCodeAt(i))){if(!s){n=i+1;break}}else -1===o&&(s=!1,o=i+1);return -1===o?"":e.slice(n,o)},extname(e){r(e,"path");let t=0,i=-1,n=0,o=-1,s=!0,l=0;e.length>=2&&58===e.charCodeAt(1)&&c(e.charCodeAt(0))&&(t=n=2);for(let r=e.length-1;r>=t;--r){let t=e.charCodeAt(r);if(a(t)){if(!s){n=r+1;break}continue}-1===o&&(s=!1,o=r+1),46===t?-1===i?i=r:1!==l&&(l=1):-1!==i&&(l=-1)}return -1===i||-1===o||0===l||1===l&&i===o-1&&i===n+1?"":e.slice(i,o)},format:d.bind(null,"\\"),parse(e){r(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let i=e.length,n=0,o=e.charCodeAt(0);if(1===i)return a(o)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(a(o)){if(n=1,a(e.charCodeAt(1))){let t=2,r=2;for(;t0&&(t.root=e.slice(0,n));let s=-1,l=n,u=-1,d=!0,h=e.length-1,g=0;for(;h>=n;--h){if(a(o=e.charCodeAt(h))){if(!d){l=h+1;break}continue}-1===u&&(d=!1,u=h+1),46===o?-1===s?s=h:1!==g&&(g=1):-1!==s&&(g=-1)}return -1!==u&&(-1===s||0===g||1===g&&s===u-1&&s===l+1?t.base=t.name=e.slice(l,u):(t.name=e.slice(l,s),t.base=e.slice(l,u),t.ext=e.slice(s,u))),l>0&&l!==n?t.dir=e.slice(0,l-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},g=(()=>{if(s){let e=/\\/g;return()=>{let t=i.cwd().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>i.cwd()})(),p={resolve(...e){let t="",i=!1;for(let n=e.length-1;n>=-1&&!i;n--){let o=n>=0?e[n]:g();r(o,"path"),0!==o.length&&(t=`${o}/${t}`,i=47===o.charCodeAt(0))}return(t=u(t,!i,"/",l),i)?`/${t}`:t.length>0?t:"."},normalize(e){if(r(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0===(e=u(e,!t,"/",l)).length?t?"/":i?"./":".":(i&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(r(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let i=0;i0&&(void 0===t?t=n:t+=`/${n}`)}return void 0===t?".":p.normalize(t)},relative(e,t){if(r(e,"from"),r(t,"to"),e===t||(e=p.resolve(e))===(t=p.resolve(t)))return"";let i=e.length,n=i-1,o=t.length-1,s=ns){if(47===t.charCodeAt(1+l))return t.slice(1+l+1);if(0===l)return t.slice(1+l)}else n>s&&(47===e.charCodeAt(1+l)?a=l:0===l&&(a=0))}let c="";for(l=1+a+1;l<=i;++l)(l===i||47===e.charCodeAt(l))&&(c+=0===c.length?"..":"/..");return`${c}${t.slice(1+a)}`},toNamespacedPath:e=>e,dirname(e){if(r(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=-1,n=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!n){i=t;break}}else n=!1;return -1===i?t?"/":".":t&&1===i?"//":e.slice(0,i)},basename(e,t){let i;void 0!==t&&r(t,"ext"),r(e,"path");let n=0,o=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let r=t.length-1,a=-1;for(i=e.length-1;i>=0;--i){let l=e.charCodeAt(i);if(47===l){if(!s){n=i+1;break}}else -1===a&&(s=!1,a=i+1),r>=0&&(l===t.charCodeAt(r)?-1==--r&&(o=i):(r=-1,o=a))}return n===o?o=a:-1===o&&(o=e.length),e.slice(n,o)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!s){n=i+1;break}}else -1===o&&(s=!1,o=i+1);return -1===o?"":e.slice(n,o)},extname(e){r(e,"path");let t=-1,i=0,n=-1,o=!0,s=0;for(let r=e.length-1;r>=0;--r){let a=e.charCodeAt(r);if(47===a){if(!o){i=r+1;break}continue}-1===n&&(o=!1,n=r+1),46===a?-1===t?t=r:1!==s&&(s=1):-1!==t&&(s=-1)}return -1===t||-1===n||0===s||1===s&&t===n-1&&t===i+1?"":e.slice(t,n)},format:d.bind(null,"/"),parse(e){let t;r(e,"path");let i={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return i;let n=47===e.charCodeAt(0);n?(i.root="/",t=1):t=0;let o=-1,s=0,a=-1,l=!0,c=e.length-1,u=0;for(;c>=t;--c){let t=e.charCodeAt(c);if(47===t){if(!l){s=c+1;break}continue}-1===a&&(l=!1,a=c+1),46===t?-1===o?o=c:1!==u&&(u=1):-1!==o&&(u=-1)}if(-1!==a){let t=0===s&&n?1:s;-1===o||0===u||1===u&&o===a-1&&o===s+1?i.base=i.name=e.slice(t,a):(i.name=e.slice(t,o),i.base=e.slice(t,a),i.ext=e.slice(o,a))}return s>0?i.dir=e.slice(0,s-1):n&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};p.win32=h.win32=h,p.posix=h.posix=p;let f=s?h.normalize:p.normalize,m=s?h.resolve:p.resolve,v=s?h.relative:p.relative,_=s?h.dirname:p.dirname,b=s?h.basename:p.basename,y=s?h.extname:p.extname,C=s?h.sep:p.sep}),eK.register("eKCSx",function(e,t){let i;o(e.exports,"cwd",()=>s),o(e.exports,"env",()=>a),o(e.exports,"platform",()=>l);var n=eK("eAnxj"),r=eK("8j2NX");if(void 0!==n.globals.vscode&&void 0!==n.globals.vscode.process){let e=n.globals.vscode.process;i={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd:()=>e.cwd()}}else i=void 0!==r?{get platform(){return r.platform},get arch(){return r.arch},get env(){return r.env},cwd:()=>r.cwd()}:{get platform(){return n.isWindows?"win32":n.isMacintosh?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let s=i.cwd,a=i.env,l=i.platform}),eK.register("iWRZp",function(e,t){o(e.exports,"Position",()=>i);class i{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new i(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return i.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return i.isBefore(this,e)}static isBefore(e,t){return e.lineNumbern);var i=eK("iWRZp");class n{constructor(e,t,i,n){e>i||e===i&&t>n?(this.startLineNumber=i,this.startColumn=n,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=i,this.endColumn=n)}isEmpty(){return n.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return n.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))}containsRange(e){return n.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))}strictContainsRange(e){return n.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))}plusRange(e){return n.plusRange(this,e)}static plusRange(e,t){let i,r,o,s;return t.startLineNumbere.endLineNumber?(o=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,s=e.endColumn),new n(i,r,o,s)}intersectRanges(e){return n.intersectRanges(this,e)}static intersectRanges(e,t){let i=e.startLineNumber,r=e.startColumn,o=e.endLineNumber,s=e.endColumn,a=t.startLineNumber,l=t.startColumn,c=t.endLineNumber,u=t.endColumn;return(ic?(o=c,s=u):o===c&&(s=Math.min(s,u)),i>o||i===o&&r>s)?null:new n(i,r,o,s)}equalsRange(e){return n.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return n.getEndPosition(this)}static getEndPosition(e){return new i.Position(e.endLineNumber,e.endColumn)}getStartPosition(){return n.getStartPosition(this)}static getStartPosition(e){return new i.Position(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new n(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new n(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return n.collapseToStart(this)}static collapseToStart(e){return new n(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return n.collapseToEnd(this)}static collapseToEnd(e){return new n(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new n(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new n(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new n(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}}),eK.register("9lqsy",function(e,t){o(e.exports,"Selection",()=>r);var i=eK("iWRZp"),n=eK("hf16e");class r extends n.Range{constructor(e,t,i,n){super(e,t,i,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=i,this.positionColumn=n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return r.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new r(this.startLineNumber,this.startColumn,e,t):new r(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new i.Position(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new i.Position(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new r(e,t,this.endLineNumber,this.endColumn):new r(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new r(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new r(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new r(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new r(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let i=0,n=e.length;i_),o(e.exports,"TokenizationResult",()=>b),o(e.exports,"EncodedTokenizationResult",()=>y),o(e.exports,"CompletionItemKinds",()=>a),o(e.exports,"InlineCompletionTriggerKind",()=>l),o(e.exports,"SelectedSuggestionInfo",()=>C),o(e.exports,"SignatureHelpTriggerKind",()=>c),o(e.exports,"DocumentHighlightKind",()=>u),o(e.exports,"isLocationLink",()=>w),o(e.exports,"SymbolKinds",()=>d),o(e.exports,"FoldingRangeKind",()=>S),o(e.exports,"Command",()=>h),o(e.exports,"InlayHintKind",()=>g),o(e.exports,"LazyTokenizationSupport",()=>x),o(e.exports,"TokenizationRegistry",()=>E);var i,n,r,s,a,l,c,u,d,h,g,p=eK("hjtsJ"),f=eK("dmkat"),m=eK("hf16e"),v=eK("7hEko");class _{constructor(e,t,i){this.offset=e,this.type=t,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}class b{constructor(e,t){this.tokens=e,this.endState=t,this._tokenizationResultBrand=void 0}}class y{constructor(e,t){this.tokens=e,this.endState=t,this._encodedTokenizationResultBrand=void 0}}(function(e){let t=new Map;t.set(0,p.Codicon.symbolMethod),t.set(1,p.Codicon.symbolFunction),t.set(2,p.Codicon.symbolConstructor),t.set(3,p.Codicon.symbolField),t.set(4,p.Codicon.symbolVariable),t.set(5,p.Codicon.symbolClass),t.set(6,p.Codicon.symbolStruct),t.set(7,p.Codicon.symbolInterface),t.set(8,p.Codicon.symbolModule),t.set(9,p.Codicon.symbolProperty),t.set(10,p.Codicon.symbolEvent),t.set(11,p.Codicon.symbolOperator),t.set(12,p.Codicon.symbolUnit),t.set(13,p.Codicon.symbolValue),t.set(15,p.Codicon.symbolEnum),t.set(14,p.Codicon.symbolConstant),t.set(15,p.Codicon.symbolEnum),t.set(16,p.Codicon.symbolEnumMember),t.set(17,p.Codicon.symbolKeyword),t.set(27,p.Codicon.symbolSnippet),t.set(18,p.Codicon.symbolText),t.set(19,p.Codicon.symbolColor),t.set(20,p.Codicon.symbolFile),t.set(21,p.Codicon.symbolReference),t.set(22,p.Codicon.symbolCustomColor),t.set(23,p.Codicon.symbolFolder),t.set(24,p.Codicon.symbolTypeParameter),t.set(25,p.Codicon.account),t.set(26,p.Codicon.issues),e.toIcon=function(e){let i=t.get(e);return i||(console.info("No codicon found for CompletionItemKind "+e),i=p.Codicon.symbolProperty),i};let i=new Map;i.set("method",0),i.set("function",1),i.set("constructor",2),i.set("field",3),i.set("variable",4),i.set("class",5),i.set("struct",6),i.set("interface",7),i.set("module",8),i.set("property",9),i.set("event",10),i.set("operator",11),i.set("unit",12),i.set("value",13),i.set("constant",14),i.set("enum",15),i.set("enum-member",16),i.set("enumMember",16),i.set("keyword",17),i.set("snippet",27),i.set("text",18),i.set("color",19),i.set("file",20),i.set("reference",21),i.set("customcolor",22),i.set("folder",23),i.set("type-parameter",24),i.set("typeParameter",24),i.set("account",25),i.set("issue",26),e.fromString=function(e,t){let n=i.get(e);return void 0!==n||t||(n=9),n}})(a||(a={})),(i=l||(l={}))[i.Automatic=0]="Automatic",i[i.Explicit=1]="Explicit";class C{constructor(e,t,i,n){this.range=e,this.text=t,this.completionKind=i,this.isSnippetText=n}equals(e){return(0,m.Range).lift(this.range).equalsRange(e.range)&&this.text===e.text&&this.completionKind===e.completionKind&&this.isSnippetText===e.isSnippetText}}function w(e){return e&&(0,f.URI).isUri(e.uri)&&(0,m.Range).isIRange(e.range)&&((0,m.Range).isIRange(e.originSelectionRange)||(0,m.Range).isIRange(e.targetSelectionRange))}(n=c||(c={}))[n.Invoke=1]="Invoke",n[n.TriggerCharacter=2]="TriggerCharacter",n[n.ContentChange=3]="ContentChange",(r=u||(u={}))[r.Text=0]="Text",r[r.Read=1]="Read",r[r.Write=2]="Write",function(e){let t=new Map;t.set(0,p.Codicon.symbolFile),t.set(1,p.Codicon.symbolModule),t.set(2,p.Codicon.symbolNamespace),t.set(3,p.Codicon.symbolPackage),t.set(4,p.Codicon.symbolClass),t.set(5,p.Codicon.symbolMethod),t.set(6,p.Codicon.symbolProperty),t.set(7,p.Codicon.symbolField),t.set(8,p.Codicon.symbolConstructor),t.set(9,p.Codicon.symbolEnum),t.set(10,p.Codicon.symbolInterface),t.set(11,p.Codicon.symbolFunction),t.set(12,p.Codicon.symbolVariable),t.set(13,p.Codicon.symbolConstant),t.set(14,p.Codicon.symbolString),t.set(15,p.Codicon.symbolNumber),t.set(16,p.Codicon.symbolBoolean),t.set(17,p.Codicon.symbolArray),t.set(18,p.Codicon.symbolObject),t.set(19,p.Codicon.symbolKey),t.set(20,p.Codicon.symbolNull),t.set(21,p.Codicon.symbolEnumMember),t.set(22,p.Codicon.symbolStruct),t.set(23,p.Codicon.symbolEvent),t.set(24,p.Codicon.symbolOperator),t.set(25,p.Codicon.symbolTypeParameter),e.toIcon=function(e){let i=t.get(e);return i||(console.info("No codicon found for SymbolKind "+e),i=p.Codicon.symbolProperty),i}}(d||(d={}));class S{static fromValue(e){switch(e){case"comment":return S.Comment;case"imports":return S.Imports;case"region":return S.Region}return new S(e)}constructor(e){this.value=e}}S.Comment=new S("comment"),S.Imports=new S("imports"),S.Region=new S("region"),(h||(h={})).is=function(e){return!!e&&"object"==typeof e&&"string"==typeof e.id&&"string"==typeof e.title},(s=g||(g={}))[s.Type=1]="Type",s[s.Parameter=2]="Parameter";class x{constructor(e){this.createSupport=e,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(e=>{e&&e.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}let E=new v.TokenizationRegistry}),eK.register("hjtsJ",function(e,t){o(e.exports,"getCodiconFontCharacters",()=>s),o(e.exports,"Codicon",()=>a);var i=eK("jsPOf");let n=Object.create(null);function r(e,t){if((0,i.isString)(t)){let i=n[t];if(void 0===i)throw Error(`${e} references an unknown codicon: ${t}`);t=i}return n[e]=t,{id:e}}function s(){return n}let a={add:r("add",6e4),plus:r("plus",6e4),gistNew:r("gist-new",6e4),repoCreate:r("repo-create",6e4),lightbulb:r("lightbulb",60001),lightBulb:r("light-bulb",60001),repo:r("repo",60002),repoDelete:r("repo-delete",60002),gistFork:r("gist-fork",60003),repoForked:r("repo-forked",60003),gitPullRequest:r("git-pull-request",60004),gitPullRequestAbandoned:r("git-pull-request-abandoned",60004),recordKeys:r("record-keys",60005),keyboard:r("keyboard",60005),tag:r("tag",60006),tagAdd:r("tag-add",60006),tagRemove:r("tag-remove",60006),person:r("person",60007),personFollow:r("person-follow",60007),personOutline:r("person-outline",60007),personFilled:r("person-filled",60007),gitBranch:r("git-branch",60008),gitBranchCreate:r("git-branch-create",60008),gitBranchDelete:r("git-branch-delete",60008),sourceControl:r("source-control",60008),mirror:r("mirror",60009),mirrorPublic:r("mirror-public",60009),star:r("star",60010),starAdd:r("star-add",60010),starDelete:r("star-delete",60010),starEmpty:r("star-empty",60010),comment:r("comment",60011),commentAdd:r("comment-add",60011),alert:r("alert",60012),warning:r("warning",60012),search:r("search",60013),searchSave:r("search-save",60013),logOut:r("log-out",60014),signOut:r("sign-out",60014),logIn:r("log-in",60015),signIn:r("sign-in",60015),eye:r("eye",60016),eyeUnwatch:r("eye-unwatch",60016),eyeWatch:r("eye-watch",60016),circleFilled:r("circle-filled",60017),primitiveDot:r("primitive-dot",60017),closeDirty:r("close-dirty",60017),debugBreakpoint:r("debug-breakpoint",60017),debugBreakpointDisabled:r("debug-breakpoint-disabled",60017),debugHint:r("debug-hint",60017),primitiveSquare:r("primitive-square",60018),edit:r("edit",60019),pencil:r("pencil",60019),info:r("info",60020),issueOpened:r("issue-opened",60020),gistPrivate:r("gist-private",60021),gitForkPrivate:r("git-fork-private",60021),lock:r("lock",60021),mirrorPrivate:r("mirror-private",60021),close:r("close",60022),removeClose:r("remove-close",60022),x:r("x",60022),repoSync:r("repo-sync",60023),sync:r("sync",60023),clone:r("clone",60024),desktopDownload:r("desktop-download",60024),beaker:r("beaker",60025),microscope:r("microscope",60025),vm:r("vm",60026),deviceDesktop:r("device-desktop",60026),file:r("file",60027),fileText:r("file-text",60027),more:r("more",60028),ellipsis:r("ellipsis",60028),kebabHorizontal:r("kebab-horizontal",60028),mailReply:r("mail-reply",60029),reply:r("reply",60029),organization:r("organization",60030),organizationFilled:r("organization-filled",60030),organizationOutline:r("organization-outline",60030),newFile:r("new-file",60031),fileAdd:r("file-add",60031),newFolder:r("new-folder",60032),fileDirectoryCreate:r("file-directory-create",60032),trash:r("trash",60033),trashcan:r("trashcan",60033),history:r("history",60034),clock:r("clock",60034),folder:r("folder",60035),fileDirectory:r("file-directory",60035),symbolFolder:r("symbol-folder",60035),logoGithub:r("logo-github",60036),markGithub:r("mark-github",60036),github:r("github",60036),terminal:r("terminal",60037),console:r("console",60037),repl:r("repl",60037),zap:r("zap",60038),symbolEvent:r("symbol-event",60038),error:r("error",60039),stop:r("stop",60039),variable:r("variable",60040),symbolVariable:r("symbol-variable",60040),array:r("array",60042),symbolArray:r("symbol-array",60042),symbolModule:r("symbol-module",60043),symbolPackage:r("symbol-package",60043),symbolNamespace:r("symbol-namespace",60043),symbolObject:r("symbol-object",60043),symbolMethod:r("symbol-method",60044),symbolFunction:r("symbol-function",60044),symbolConstructor:r("symbol-constructor",60044),symbolBoolean:r("symbol-boolean",60047),symbolNull:r("symbol-null",60047),symbolNumeric:r("symbol-numeric",60048),symbolNumber:r("symbol-number",60048),symbolStructure:r("symbol-structure",60049),symbolStruct:r("symbol-struct",60049),symbolParameter:r("symbol-parameter",60050),symbolTypeParameter:r("symbol-type-parameter",60050),symbolKey:r("symbol-key",60051),symbolText:r("symbol-text",60051),symbolReference:r("symbol-reference",60052),goToFile:r("go-to-file",60052),symbolEnum:r("symbol-enum",60053),symbolValue:r("symbol-value",60053),symbolRuler:r("symbol-ruler",60054),symbolUnit:r("symbol-unit",60054),activateBreakpoints:r("activate-breakpoints",60055),archive:r("archive",60056),arrowBoth:r("arrow-both",60057),arrowDown:r("arrow-down",60058),arrowLeft:r("arrow-left",60059),arrowRight:r("arrow-right",60060),arrowSmallDown:r("arrow-small-down",60061),arrowSmallLeft:r("arrow-small-left",60062),arrowSmallRight:r("arrow-small-right",60063),arrowSmallUp:r("arrow-small-up",60064),arrowUp:r("arrow-up",60065),bell:r("bell",60066),bold:r("bold",60067),book:r("book",60068),bookmark:r("bookmark",60069),debugBreakpointConditionalUnverified:r("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:r("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:r("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:r("debug-breakpoint-data-unverified",60072),debugBreakpointData:r("debug-breakpoint-data",60073),debugBreakpointDataDisabled:r("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:r("debug-breakpoint-log-unverified",60074),debugBreakpointLog:r("debug-breakpoint-log",60075),debugBreakpointLogDisabled:r("debug-breakpoint-log-disabled",60075),briefcase:r("briefcase",60076),broadcast:r("broadcast",60077),browser:r("browser",60078),bug:r("bug",60079),calendar:r("calendar",60080),caseSensitive:r("case-sensitive",60081),check:r("check",60082),checklist:r("checklist",60083),chevronDown:r("chevron-down",60084),dropDownButton:r("drop-down-button",60084),chevronLeft:r("chevron-left",60085),chevronRight:r("chevron-right",60086),chevronUp:r("chevron-up",60087),chromeClose:r("chrome-close",60088),chromeMaximize:r("chrome-maximize",60089),chromeMinimize:r("chrome-minimize",60090),chromeRestore:r("chrome-restore",60091),circle:r("circle",60092),circleOutline:r("circle-outline",60092),debugBreakpointUnverified:r("debug-breakpoint-unverified",60092),circleSlash:r("circle-slash",60093),circuitBoard:r("circuit-board",60094),clearAll:r("clear-all",60095),clippy:r("clippy",60096),closeAll:r("close-all",60097),cloudDownload:r("cloud-download",60098),cloudUpload:r("cloud-upload",60099),code:r("code",60100),collapseAll:r("collapse-all",60101),colorMode:r("color-mode",60102),commentDiscussion:r("comment-discussion",60103),compareChanges:r("compare-changes",60157),creditCard:r("credit-card",60105),dash:r("dash",60108),dashboard:r("dashboard",60109),database:r("database",60110),debugContinue:r("debug-continue",60111),debugDisconnect:r("debug-disconnect",60112),debugPause:r("debug-pause",60113),debugRestart:r("debug-restart",60114),debugStart:r("debug-start",60115),debugStepInto:r("debug-step-into",60116),debugStepOut:r("debug-step-out",60117),debugStepOver:r("debug-step-over",60118),debugStop:r("debug-stop",60119),debug:r("debug",60120),deviceCameraVideo:r("device-camera-video",60121),deviceCamera:r("device-camera",60122),deviceMobile:r("device-mobile",60123),diffAdded:r("diff-added",60124),diffIgnored:r("diff-ignored",60125),diffModified:r("diff-modified",60126),diffRemoved:r("diff-removed",60127),diffRenamed:r("diff-renamed",60128),diff:r("diff",60129),discard:r("discard",60130),editorLayout:r("editor-layout",60131),emptyWindow:r("empty-window",60132),exclude:r("exclude",60133),extensions:r("extensions",60134),eyeClosed:r("eye-closed",60135),fileBinary:r("file-binary",60136),fileCode:r("file-code",60137),fileMedia:r("file-media",60138),filePdf:r("file-pdf",60139),fileSubmodule:r("file-submodule",60140),fileSymlinkDirectory:r("file-symlink-directory",60141),fileSymlinkFile:r("file-symlink-file",60142),fileZip:r("file-zip",60143),files:r("files",60144),filter:r("filter",60145),flame:r("flame",60146),foldDown:r("fold-down",60147),foldUp:r("fold-up",60148),fold:r("fold",60149),folderActive:r("folder-active",60150),folderOpened:r("folder-opened",60151),gear:r("gear",60152),gift:r("gift",60153),gistSecret:r("gist-secret",60154),gist:r("gist",60155),gitCommit:r("git-commit",60156),gitCompare:r("git-compare",60157),gitMerge:r("git-merge",60158),githubAction:r("github-action",60159),githubAlt:r("github-alt",60160),globe:r("globe",60161),grabber:r("grabber",60162),graph:r("graph",60163),gripper:r("gripper",60164),heart:r("heart",60165),home:r("home",60166),horizontalRule:r("horizontal-rule",60167),hubot:r("hubot",60168),inbox:r("inbox",60169),issueClosed:r("issue-closed",60324),issueReopened:r("issue-reopened",60171),issues:r("issues",60172),italic:r("italic",60173),jersey:r("jersey",60174),json:r("json",60175),bracket:r("bracket",60175),kebabVertical:r("kebab-vertical",60176),key:r("key",60177),law:r("law",60178),lightbulbAutofix:r("lightbulb-autofix",60179),linkExternal:r("link-external",60180),link:r("link",60181),listOrdered:r("list-ordered",60182),listUnordered:r("list-unordered",60183),liveShare:r("live-share",60184),loading:r("loading",60185),location:r("location",60186),mailRead:r("mail-read",60187),mail:r("mail",60188),markdown:r("markdown",60189),megaphone:r("megaphone",60190),mention:r("mention",60191),milestone:r("milestone",60192),mortarBoard:r("mortar-board",60193),move:r("move",60194),multipleWindows:r("multiple-windows",60195),mute:r("mute",60196),noNewline:r("no-newline",60197),note:r("note",60198),octoface:r("octoface",60199),openPreview:r("open-preview",60200),package_:r("package",60201),paintcan:r("paintcan",60202),pin:r("pin",60203),play:r("play",60204),run:r("run",60204),plug:r("plug",60205),preserveCase:r("preserve-case",60206),preview:r("preview",60207),project:r("project",60208),pulse:r("pulse",60209),question:r("question",60210),quote:r("quote",60211),radioTower:r("radio-tower",60212),reactions:r("reactions",60213),references:r("references",60214),refresh:r("refresh",60215),regex:r("regex",60216),remoteExplorer:r("remote-explorer",60217),remote:r("remote",60218),remove:r("remove",60219),replaceAll:r("replace-all",60220),replace:r("replace",60221),repoClone:r("repo-clone",60222),repoForcePush:r("repo-force-push",60223),repoPull:r("repo-pull",60224),repoPush:r("repo-push",60225),report:r("report",60226),requestChanges:r("request-changes",60227),rocket:r("rocket",60228),rootFolderOpened:r("root-folder-opened",60229),rootFolder:r("root-folder",60230),rss:r("rss",60231),ruby:r("ruby",60232),saveAll:r("save-all",60233),saveAs:r("save-as",60234),save:r("save",60235),screenFull:r("screen-full",60236),screenNormal:r("screen-normal",60237),searchStop:r("search-stop",60238),server:r("server",60240),settingsGear:r("settings-gear",60241),settings:r("settings",60242),shield:r("shield",60243),smiley:r("smiley",60244),sortPrecedence:r("sort-precedence",60245),splitHorizontal:r("split-horizontal",60246),splitVertical:r("split-vertical",60247),squirrel:r("squirrel",60248),starFull:r("star-full",60249),starHalf:r("star-half",60250),symbolClass:r("symbol-class",60251),symbolColor:r("symbol-color",60252),symbolCustomColor:r("symbol-customcolor",60252),symbolConstant:r("symbol-constant",60253),symbolEnumMember:r("symbol-enum-member",60254),symbolField:r("symbol-field",60255),symbolFile:r("symbol-file",60256),symbolInterface:r("symbol-interface",60257),symbolKeyword:r("symbol-keyword",60258),symbolMisc:r("symbol-misc",60259),symbolOperator:r("symbol-operator",60260),symbolProperty:r("symbol-property",60261),wrench:r("wrench",60261),wrenchSubaction:r("wrench-subaction",60261),symbolSnippet:r("symbol-snippet",60262),tasklist:r("tasklist",60263),telescope:r("telescope",60264),textSize:r("text-size",60265),threeBars:r("three-bars",60266),thumbsdown:r("thumbsdown",60267),thumbsup:r("thumbsup",60268),tools:r("tools",60269),triangleDown:r("triangle-down",60270),triangleLeft:r("triangle-left",60271),triangleRight:r("triangle-right",60272),triangleUp:r("triangle-up",60273),twitter:r("twitter",60274),unfold:r("unfold",60275),unlock:r("unlock",60276),unmute:r("unmute",60277),unverified:r("unverified",60278),verified:r("verified",60279),versions:r("versions",60280),vmActive:r("vm-active",60281),vmOutline:r("vm-outline",60282),vmRunning:r("vm-running",60283),watch:r("watch",60284),whitespace:r("whitespace",60285),wholeWord:r("whole-word",60286),window:r("window",60287),wordWrap:r("word-wrap",60288),zoomIn:r("zoom-in",60289),zoomOut:r("zoom-out",60290),listFilter:r("list-filter",60291),listFlat:r("list-flat",60292),listSelection:r("list-selection",60293),selection:r("selection",60293),listTree:r("list-tree",60294),debugBreakpointFunctionUnverified:r("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:r("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:r("debug-breakpoint-function-disabled",60296),debugStackframeActive:r("debug-stackframe-active",60297),circleSmallFilled:r("circle-small-filled",60298),debugStackframeDot:r("debug-stackframe-dot",60298),debugStackframe:r("debug-stackframe",60299),debugStackframeFocused:r("debug-stackframe-focused",60299),debugBreakpointUnsupported:r("debug-breakpoint-unsupported",60300),symbolString:r("symbol-string",60301),debugReverseContinue:r("debug-reverse-continue",60302),debugStepBack:r("debug-step-back",60303),debugRestartFrame:r("debug-restart-frame",60304),callIncoming:r("call-incoming",60306),callOutgoing:r("call-outgoing",60307),menu:r("menu",60308),expandAll:r("expand-all",60309),feedback:r("feedback",60310),groupByRefType:r("group-by-ref-type",60311),ungroupByRefType:r("ungroup-by-ref-type",60312),account:r("account",60313),bellDot:r("bell-dot",60314),debugConsole:r("debug-console",60315),library:r("library",60316),output:r("output",60317),runAll:r("run-all",60318),syncIgnored:r("sync-ignored",60319),pinned:r("pinned",60320),githubInverted:r("github-inverted",60321),debugAlt:r("debug-alt",60305),serverProcess:r("server-process",60322),serverEnvironment:r("server-environment",60323),pass:r("pass",60324),stopCircle:r("stop-circle",60325),playCircle:r("play-circle",60326),record:r("record",60327),debugAltSmall:r("debug-alt-small",60328),vmConnect:r("vm-connect",60329),cloud:r("cloud",60330),merge:r("merge",60331),exportIcon:r("export",60332),graphLeft:r("graph-left",60333),magnet:r("magnet",60334),notebook:r("notebook",60335),redo:r("redo",60336),checkAll:r("check-all",60337),pinnedDirty:r("pinned-dirty",60338),passFilled:r("pass-filled",60339),circleLargeFilled:r("circle-large-filled",60340),circleLarge:r("circle-large",60341),circleLargeOutline:r("circle-large-outline",60341),combine:r("combine",60342),gather:r("gather",60342),table:r("table",60343),variableGroup:r("variable-group",60344),typeHierarchy:r("type-hierarchy",60345),typeHierarchySub:r("type-hierarchy-sub",60346),typeHierarchySuper:r("type-hierarchy-super",60347),gitPullRequestCreate:r("git-pull-request-create",60348),runAbove:r("run-above",60349),runBelow:r("run-below",60350),notebookTemplate:r("notebook-template",60351),debugRerun:r("debug-rerun",60352),workspaceTrusted:r("workspace-trusted",60353),workspaceUntrusted:r("workspace-untrusted",60354),workspaceUnspecified:r("workspace-unspecified",60355),terminalCmd:r("terminal-cmd",60356),terminalDebian:r("terminal-debian",60357),terminalLinux:r("terminal-linux",60358),terminalPowershell:r("terminal-powershell",60359),terminalTmux:r("terminal-tmux",60360),terminalUbuntu:r("terminal-ubuntu",60361),terminalBash:r("terminal-bash",60362),arrowSwap:r("arrow-swap",60363),copy:r("copy",60364),personAdd:r("person-add",60365),filterFilled:r("filter-filled",60366),wand:r("wand",60367),debugLineByLine:r("debug-line-by-line",60368),inspect:r("inspect",60369),layers:r("layers",60370),layersDot:r("layers-dot",60371),layersActive:r("layers-active",60372),compass:r("compass",60373),compassDot:r("compass-dot",60374),compassActive:r("compass-active",60375),azure:r("azure",60376),issueDraft:r("issue-draft",60377),gitPullRequestClosed:r("git-pull-request-closed",60378),gitPullRequestDraft:r("git-pull-request-draft",60379),debugAll:r("debug-all",60380),debugCoverage:r("debug-coverage",60381),runErrors:r("run-errors",60382),folderLibrary:r("folder-library",60383),debugContinueSmall:r("debug-continue-small",60384),beakerStop:r("beaker-stop",60385),graphLine:r("graph-line",60386),graphScatter:r("graph-scatter",60387),pieChart:r("pie-chart",60388),bracketDot:r("bracket-dot",60389),bracketError:r("bracket-error",60390),lockSmall:r("lock-small",60391),azureDevops:r("azure-devops",60392),verifiedFilled:r("verified-filled",60393),newLine:r("newline",60394),layout:r("layout",60395),layoutActivitybarLeft:r("layout-activitybar-left",60396),layoutActivitybarRight:r("layout-activitybar-right",60397),layoutPanelLeft:r("layout-panel-left",60398),layoutPanelCenter:r("layout-panel-center",60399),layoutPanelJustify:r("layout-panel-justify",60400),layoutPanelRight:r("layout-panel-right",60401),layoutPanel:r("layout-panel",60402),layoutSidebarLeft:r("layout-sidebar-left",60403),layoutSidebarRight:r("layout-sidebar-right",60404),layoutStatusbar:r("layout-statusbar",60405),layoutMenubar:r("layout-menubar",60406),layoutCentered:r("layout-centered",60407),layoutSidebarRightOff:r("layout-sidebar-right-off",60416),layoutPanelOff:r("layout-panel-off",60417),layoutSidebarLeftOff:r("layout-sidebar-left-off",60418),target:r("target",60408),indent:r("indent",60409),recordSmall:r("record-small",60410),errorSmall:r("error-small",60411),arrowCircleDown:r("arrow-circle-down",60412),arrowCircleLeft:r("arrow-circle-left",60413),arrowCircleRight:r("arrow-circle-right",60414),arrowCircleUp:r("arrow-circle-up",60415),heartFilled:r("heart-filled",60420),map:r("map",60421),mapFilled:r("map-filled",60422),circleSmall:r("circle-small",60423),bellSlash:r("bell-slash",60424),bellSlashDot:r("bell-slash-dot",60425),commentUnresolved:r("comment-unresolved",60426),gitPullRequestGoToChanges:r("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:r("git-pull-request-new-changes",60428),searchFuzzy:r("search-fuzzy",60429),commentDraft:r("comment-draft",60430),send:r("send",60431),sparkle:r("sparkle",60432),insert:r("insert",60433),dialogError:r("dialog-error","error"),dialogWarning:r("dialog-warning","warning"),dialogInfo:r("dialog-info","info"),dialogClose:r("dialog-close","close"),treeItemExpanded:r("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:r("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:r("tree-filter-on-type-off","list-selection"),treeFilterClear:r("tree-filter-clear","close"),treeItemLoading:r("tree-item-loading","loading"),menuSelection:r("menu-selection","check"),menuSubmenu:r("menu-submenu","chevron-right"),menuBarMore:r("menubar-more","more"),scrollbarButtonLeft:r("scrollbar-button-left","triangle-left"),scrollbarButtonRight:r("scrollbar-button-right","triangle-right"),scrollbarButtonUp:r("scrollbar-button-up","triangle-up"),scrollbarButtonDown:r("scrollbar-button-down","triangle-down"),toolBarMore:r("toolbar-more","more"),quickInputBack:r("quick-input-back","arrow-left")}}),eK.register("7hEko",function(e,t){o(e.exports,"TokenizationRegistry",()=>s);var i=eK("hhGVE"),n=eK("ldoGF"),r=function(e,t,i,n){return new(i||(i=Promise))(function(r,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class s{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new i.Emitter,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._tokenizationSupports.set(e,t),this.handleChange([e]),(0,n.toDisposable)(()=>{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var i;null===(i=this._factories.get(e))||void 0===i||i.dispose();let r=new a(this,e,t);return this._factories.set(e,r),(0,n.toDisposable)(()=>{let t=this._factories.get(e);t&&t===r&&(this._factories.delete(e),t.dispose())})}getOrCreate(e){return r(this,void 0,void 0,function*(){let t=this.get(e);if(t)return t;let i=this._factories.get(e);return!i||i.isResolved?null:(yield i.resolve(),this.get(e))})}isResolved(e){let t=this.get(e);if(t)return!0;let i=this._factories.get(e);return!i||!!i.isResolved}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class a extends n.Disposable{get isResolved(){return this._isResolved}constructor(e,t,i){super(),this._registry=e,this._languageId=t,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return r(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return r(this,void 0,void 0,function*(){let e=yield this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))})}}}),eK.register("jIyaL",function(e,t){var i,n,r,s,a,l,c,u,d,h,g,p,f,m,v,_,b,y,C,w,S,x,E,k,D,P,L,A,I,N,T,O,M,R,F,K,B,X,W,z,V,H,U,j,G,q,Y,Z,J,Q,$,ee,et,ei,en,er,eo,es,ea,el,ec,eu,ed,eh,eg,ep,ef,em,ev,e_,eb,ey,eC,ew,eS,ex,eE,ek;o(e.exports,"AccessibilitySupport",()=>i),o(e.exports,"CodeActionTriggerType",()=>n),o(e.exports,"CompletionItemInsertTextRule",()=>r),o(e.exports,"CompletionItemKind",()=>s),o(e.exports,"CompletionItemTag",()=>a),o(e.exports,"CompletionTriggerKind",()=>l),o(e.exports,"ContentWidgetPositionPreference",()=>c),o(e.exports,"CursorChangeReason",()=>u),o(e.exports,"DefaultEndOfLine",()=>d),o(e.exports,"DocumentHighlightKind",()=>h),o(e.exports,"EditorAutoIndentStrategy",()=>g),o(e.exports,"EditorOption",()=>p),o(e.exports,"EndOfLinePreference",()=>f),o(e.exports,"EndOfLineSequence",()=>m),o(e.exports,"GlyphMarginLane",()=>v),o(e.exports,"IndentAction",()=>_),o(e.exports,"InjectedTextCursorStops",()=>b),o(e.exports,"InlayHintKind",()=>y),o(e.exports,"InlineCompletionTriggerKind",()=>C),o(e.exports,"KeyCode",()=>w),o(e.exports,"MarkerSeverity",()=>S),o(e.exports,"MarkerTag",()=>x),o(e.exports,"MinimapPosition",()=>E),o(e.exports,"MouseTargetType",()=>k),o(e.exports,"OverlayWidgetPositionPreference",()=>D),o(e.exports,"OverviewRulerLane",()=>P),o(e.exports,"PositionAffinity",()=>L),o(e.exports,"RenderLineNumbersType",()=>A),o(e.exports,"RenderMinimap",()=>I),o(e.exports,"ScrollType",()=>N),o(e.exports,"ScrollbarVisibility",()=>T),o(e.exports,"SelectionDirection",()=>O),o(e.exports,"SignatureHelpTriggerKind",()=>M),o(e.exports,"SymbolKind",()=>R),o(e.exports,"SymbolTag",()=>F),o(e.exports,"TextEditorCursorBlinkingStyle",()=>K),o(e.exports,"TextEditorCursorStyle",()=>B),o(e.exports,"TrackedRangeStickiness",()=>X),o(e.exports,"WrappingIndent",()=>W),(z=i||(i={}))[z.Unknown=0]="Unknown",z[z.Disabled=1]="Disabled",z[z.Enabled=2]="Enabled",(V=n||(n={}))[V.Invoke=1]="Invoke",V[V.Auto=2]="Auto",(H=r||(r={}))[H.None=0]="None",H[H.KeepWhitespace=1]="KeepWhitespace",H[H.InsertAsSnippet=4]="InsertAsSnippet",(U=s||(s={}))[U.Method=0]="Method",U[U.Function=1]="Function",U[U.Constructor=2]="Constructor",U[U.Field=3]="Field",U[U.Variable=4]="Variable",U[U.Class=5]="Class",U[U.Struct=6]="Struct",U[U.Interface=7]="Interface",U[U.Module=8]="Module",U[U.Property=9]="Property",U[U.Event=10]="Event",U[U.Operator=11]="Operator",U[U.Unit=12]="Unit",U[U.Value=13]="Value",U[U.Constant=14]="Constant",U[U.Enum=15]="Enum",U[U.EnumMember=16]="EnumMember",U[U.Keyword=17]="Keyword",U[U.Text=18]="Text",U[U.Color=19]="Color",U[U.File=20]="File",U[U.Reference=21]="Reference",U[U.Customcolor=22]="Customcolor",U[U.Folder=23]="Folder",U[U.TypeParameter=24]="TypeParameter",U[U.User=25]="User",U[U.Issue=26]="Issue",U[U.Snippet=27]="Snippet",(j=a||(a={}))[j.Deprecated=1]="Deprecated",(G=l||(l={}))[G.Invoke=0]="Invoke",G[G.TriggerCharacter=1]="TriggerCharacter",G[G.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(q=c||(c={}))[q.EXACT=0]="EXACT",q[q.ABOVE=1]="ABOVE",q[q.BELOW=2]="BELOW",(Y=u||(u={}))[Y.NotSet=0]="NotSet",Y[Y.ContentFlush=1]="ContentFlush",Y[Y.RecoverFromMarkers=2]="RecoverFromMarkers",Y[Y.Explicit=3]="Explicit",Y[Y.Paste=4]="Paste",Y[Y.Undo=5]="Undo",Y[Y.Redo=6]="Redo",(Z=d||(d={}))[Z.LF=1]="LF",Z[Z.CRLF=2]="CRLF",(J=h||(h={}))[J.Text=0]="Text",J[J.Read=1]="Read",J[J.Write=2]="Write",(Q=g||(g={}))[Q.None=0]="None",Q[Q.Keep=1]="Keep",Q[Q.Brackets=2]="Brackets",Q[Q.Advanced=3]="Advanced",Q[Q.Full=4]="Full",($=p||(p={}))[$.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",$[$.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",$[$.accessibilitySupport=2]="accessibilitySupport",$[$.accessibilityPageSize=3]="accessibilityPageSize",$[$.ariaLabel=4]="ariaLabel",$[$.autoClosingBrackets=5]="autoClosingBrackets",$[$.screenReaderAnnounceInlineSuggestion=6]="screenReaderAnnounceInlineSuggestion",$[$.autoClosingDelete=7]="autoClosingDelete",$[$.autoClosingOvertype=8]="autoClosingOvertype",$[$.autoClosingQuotes=9]="autoClosingQuotes",$[$.autoIndent=10]="autoIndent",$[$.automaticLayout=11]="automaticLayout",$[$.autoSurround=12]="autoSurround",$[$.bracketPairColorization=13]="bracketPairColorization",$[$.guides=14]="guides",$[$.codeLens=15]="codeLens",$[$.codeLensFontFamily=16]="codeLensFontFamily",$[$.codeLensFontSize=17]="codeLensFontSize",$[$.colorDecorators=18]="colorDecorators",$[$.colorDecoratorsLimit=19]="colorDecoratorsLimit",$[$.columnSelection=20]="columnSelection",$[$.comments=21]="comments",$[$.contextmenu=22]="contextmenu",$[$.copyWithSyntaxHighlighting=23]="copyWithSyntaxHighlighting",$[$.cursorBlinking=24]="cursorBlinking",$[$.cursorSmoothCaretAnimation=25]="cursorSmoothCaretAnimation",$[$.cursorStyle=26]="cursorStyle",$[$.cursorSurroundingLines=27]="cursorSurroundingLines",$[$.cursorSurroundingLinesStyle=28]="cursorSurroundingLinesStyle",$[$.cursorWidth=29]="cursorWidth",$[$.disableLayerHinting=30]="disableLayerHinting",$[$.disableMonospaceOptimizations=31]="disableMonospaceOptimizations",$[$.domReadOnly=32]="domReadOnly",$[$.dragAndDrop=33]="dragAndDrop",$[$.dropIntoEditor=34]="dropIntoEditor",$[$.emptySelectionClipboard=35]="emptySelectionClipboard",$[$.experimentalWhitespaceRendering=36]="experimentalWhitespaceRendering",$[$.extraEditorClassName=37]="extraEditorClassName",$[$.fastScrollSensitivity=38]="fastScrollSensitivity",$[$.find=39]="find",$[$.fixedOverflowWidgets=40]="fixedOverflowWidgets",$[$.folding=41]="folding",$[$.foldingStrategy=42]="foldingStrategy",$[$.foldingHighlight=43]="foldingHighlight",$[$.foldingImportsByDefault=44]="foldingImportsByDefault",$[$.foldingMaximumRegions=45]="foldingMaximumRegions",$[$.unfoldOnClickAfterEndOfLine=46]="unfoldOnClickAfterEndOfLine",$[$.fontFamily=47]="fontFamily",$[$.fontInfo=48]="fontInfo",$[$.fontLigatures=49]="fontLigatures",$[$.fontSize=50]="fontSize",$[$.fontWeight=51]="fontWeight",$[$.fontVariations=52]="fontVariations",$[$.formatOnPaste=53]="formatOnPaste",$[$.formatOnType=54]="formatOnType",$[$.glyphMargin=55]="glyphMargin",$[$.gotoLocation=56]="gotoLocation",$[$.hideCursorInOverviewRuler=57]="hideCursorInOverviewRuler",$[$.hover=58]="hover",$[$.inDiffEditor=59]="inDiffEditor",$[$.inlineSuggest=60]="inlineSuggest",$[$.letterSpacing=61]="letterSpacing",$[$.lightbulb=62]="lightbulb",$[$.lineDecorationsWidth=63]="lineDecorationsWidth",$[$.lineHeight=64]="lineHeight",$[$.lineNumbers=65]="lineNumbers",$[$.lineNumbersMinChars=66]="lineNumbersMinChars",$[$.linkedEditing=67]="linkedEditing",$[$.links=68]="links",$[$.matchBrackets=69]="matchBrackets",$[$.minimap=70]="minimap",$[$.mouseStyle=71]="mouseStyle",$[$.mouseWheelScrollSensitivity=72]="mouseWheelScrollSensitivity",$[$.mouseWheelZoom=73]="mouseWheelZoom",$[$.multiCursorMergeOverlapping=74]="multiCursorMergeOverlapping",$[$.multiCursorModifier=75]="multiCursorModifier",$[$.multiCursorPaste=76]="multiCursorPaste",$[$.multiCursorLimit=77]="multiCursorLimit",$[$.occurrencesHighlight=78]="occurrencesHighlight",$[$.overviewRulerBorder=79]="overviewRulerBorder",$[$.overviewRulerLanes=80]="overviewRulerLanes",$[$.padding=81]="padding",$[$.pasteAs=82]="pasteAs",$[$.parameterHints=83]="parameterHints",$[$.peekWidgetDefaultFocus=84]="peekWidgetDefaultFocus",$[$.definitionLinkOpensInPeek=85]="definitionLinkOpensInPeek",$[$.quickSuggestions=86]="quickSuggestions",$[$.quickSuggestionsDelay=87]="quickSuggestionsDelay",$[$.readOnly=88]="readOnly",$[$.renameOnType=89]="renameOnType",$[$.renderControlCharacters=90]="renderControlCharacters",$[$.renderFinalNewline=91]="renderFinalNewline",$[$.renderLineHighlight=92]="renderLineHighlight",$[$.renderLineHighlightOnlyWhenFocus=93]="renderLineHighlightOnlyWhenFocus",$[$.renderValidationDecorations=94]="renderValidationDecorations",$[$.renderWhitespace=95]="renderWhitespace",$[$.revealHorizontalRightPadding=96]="revealHorizontalRightPadding",$[$.roundedSelection=97]="roundedSelection",$[$.rulers=98]="rulers",$[$.scrollbar=99]="scrollbar",$[$.scrollBeyondLastColumn=100]="scrollBeyondLastColumn",$[$.scrollBeyondLastLine=101]="scrollBeyondLastLine",$[$.scrollPredominantAxis=102]="scrollPredominantAxis",$[$.selectionClipboard=103]="selectionClipboard",$[$.selectionHighlight=104]="selectionHighlight",$[$.selectOnLineNumbers=105]="selectOnLineNumbers",$[$.showFoldingControls=106]="showFoldingControls",$[$.showUnused=107]="showUnused",$[$.snippetSuggestions=108]="snippetSuggestions",$[$.smartSelect=109]="smartSelect",$[$.smoothScrolling=110]="smoothScrolling",$[$.stickyScroll=111]="stickyScroll",$[$.stickyTabStops=112]="stickyTabStops",$[$.stopRenderingLineAfter=113]="stopRenderingLineAfter",$[$.suggest=114]="suggest",$[$.suggestFontSize=115]="suggestFontSize",$[$.suggestLineHeight=116]="suggestLineHeight",$[$.suggestOnTriggerCharacters=117]="suggestOnTriggerCharacters",$[$.suggestSelection=118]="suggestSelection",$[$.tabCompletion=119]="tabCompletion",$[$.tabIndex=120]="tabIndex",$[$.unicodeHighlighting=121]="unicodeHighlighting",$[$.unusualLineTerminators=122]="unusualLineTerminators",$[$.useShadowDOM=123]="useShadowDOM",$[$.useTabStops=124]="useTabStops",$[$.wordBreak=125]="wordBreak",$[$.wordSeparators=126]="wordSeparators",$[$.wordWrap=127]="wordWrap",$[$.wordWrapBreakAfterCharacters=128]="wordWrapBreakAfterCharacters",$[$.wordWrapBreakBeforeCharacters=129]="wordWrapBreakBeforeCharacters",$[$.wordWrapColumn=130]="wordWrapColumn",$[$.wordWrapOverride1=131]="wordWrapOverride1",$[$.wordWrapOverride2=132]="wordWrapOverride2",$[$.wrappingIndent=133]="wrappingIndent",$[$.wrappingStrategy=134]="wrappingStrategy",$[$.showDeprecated=135]="showDeprecated",$[$.inlayHints=136]="inlayHints",$[$.editorClassName=137]="editorClassName",$[$.pixelRatio=138]="pixelRatio",$[$.tabFocusMode=139]="tabFocusMode",$[$.layoutInfo=140]="layoutInfo",$[$.wrappingInfo=141]="wrappingInfo",$[$.defaultColorDecorators=142]="defaultColorDecorators",(ee=f||(f={}))[ee.TextDefined=0]="TextDefined",ee[ee.LF=1]="LF",ee[ee.CRLF=2]="CRLF",(et=m||(m={}))[et.LF=0]="LF",et[et.CRLF=1]="CRLF",(ei=v||(v={}))[ei.Left=1]="Left",ei[ei.Right=2]="Right",(en=_||(_={}))[en.None=0]="None",en[en.Indent=1]="Indent",en[en.IndentOutdent=2]="IndentOutdent",en[en.Outdent=3]="Outdent",(er=b||(b={}))[er.Both=0]="Both",er[er.Right=1]="Right",er[er.Left=2]="Left",er[er.None=3]="None",(eo=y||(y={}))[eo.Type=1]="Type",eo[eo.Parameter=2]="Parameter",(es=C||(C={}))[es.Automatic=0]="Automatic",es[es.Explicit=1]="Explicit",(ea=w||(w={}))[ea.DependsOnKbLayout=-1]="DependsOnKbLayout",ea[ea.Unknown=0]="Unknown",ea[ea.Backspace=1]="Backspace",ea[ea.Tab=2]="Tab",ea[ea.Enter=3]="Enter",ea[ea.Shift=4]="Shift",ea[ea.Ctrl=5]="Ctrl",ea[ea.Alt=6]="Alt",ea[ea.PauseBreak=7]="PauseBreak",ea[ea.CapsLock=8]="CapsLock",ea[ea.Escape=9]="Escape",ea[ea.Space=10]="Space",ea[ea.PageUp=11]="PageUp",ea[ea.PageDown=12]="PageDown",ea[ea.End=13]="End",ea[ea.Home=14]="Home",ea[ea.LeftArrow=15]="LeftArrow",ea[ea.UpArrow=16]="UpArrow",ea[ea.RightArrow=17]="RightArrow",ea[ea.DownArrow=18]="DownArrow",ea[ea.Insert=19]="Insert",ea[ea.Delete=20]="Delete",ea[ea.Digit0=21]="Digit0",ea[ea.Digit1=22]="Digit1",ea[ea.Digit2=23]="Digit2",ea[ea.Digit3=24]="Digit3",ea[ea.Digit4=25]="Digit4",ea[ea.Digit5=26]="Digit5",ea[ea.Digit6=27]="Digit6",ea[ea.Digit7=28]="Digit7",ea[ea.Digit8=29]="Digit8",ea[ea.Digit9=30]="Digit9",ea[ea.KeyA=31]="KeyA",ea[ea.KeyB=32]="KeyB",ea[ea.KeyC=33]="KeyC",ea[ea.KeyD=34]="KeyD",ea[ea.KeyE=35]="KeyE",ea[ea.KeyF=36]="KeyF",ea[ea.KeyG=37]="KeyG",ea[ea.KeyH=38]="KeyH",ea[ea.KeyI=39]="KeyI",ea[ea.KeyJ=40]="KeyJ",ea[ea.KeyK=41]="KeyK",ea[ea.KeyL=42]="KeyL",ea[ea.KeyM=43]="KeyM",ea[ea.KeyN=44]="KeyN",ea[ea.KeyO=45]="KeyO",ea[ea.KeyP=46]="KeyP",ea[ea.KeyQ=47]="KeyQ",ea[ea.KeyR=48]="KeyR",ea[ea.KeyS=49]="KeyS",ea[ea.KeyT=50]="KeyT",ea[ea.KeyU=51]="KeyU",ea[ea.KeyV=52]="KeyV",ea[ea.KeyW=53]="KeyW",ea[ea.KeyX=54]="KeyX",ea[ea.KeyY=55]="KeyY",ea[ea.KeyZ=56]="KeyZ",ea[ea.Meta=57]="Meta",ea[ea.ContextMenu=58]="ContextMenu",ea[ea.F1=59]="F1",ea[ea.F2=60]="F2",ea[ea.F3=61]="F3",ea[ea.F4=62]="F4",ea[ea.F5=63]="F5",ea[ea.F6=64]="F6",ea[ea.F7=65]="F7",ea[ea.F8=66]="F8",ea[ea.F9=67]="F9",ea[ea.F10=68]="F10",ea[ea.F11=69]="F11",ea[ea.F12=70]="F12",ea[ea.F13=71]="F13",ea[ea.F14=72]="F14",ea[ea.F15=73]="F15",ea[ea.F16=74]="F16",ea[ea.F17=75]="F17",ea[ea.F18=76]="F18",ea[ea.F19=77]="F19",ea[ea.F20=78]="F20",ea[ea.F21=79]="F21",ea[ea.F22=80]="F22",ea[ea.F23=81]="F23",ea[ea.F24=82]="F24",ea[ea.NumLock=83]="NumLock",ea[ea.ScrollLock=84]="ScrollLock",ea[ea.Semicolon=85]="Semicolon",ea[ea.Equal=86]="Equal",ea[ea.Comma=87]="Comma",ea[ea.Minus=88]="Minus",ea[ea.Period=89]="Period",ea[ea.Slash=90]="Slash",ea[ea.Backquote=91]="Backquote",ea[ea.BracketLeft=92]="BracketLeft",ea[ea.Backslash=93]="Backslash",ea[ea.BracketRight=94]="BracketRight",ea[ea.Quote=95]="Quote",ea[ea.OEM_8=96]="OEM_8",ea[ea.IntlBackslash=97]="IntlBackslash",ea[ea.Numpad0=98]="Numpad0",ea[ea.Numpad1=99]="Numpad1",ea[ea.Numpad2=100]="Numpad2",ea[ea.Numpad3=101]="Numpad3",ea[ea.Numpad4=102]="Numpad4",ea[ea.Numpad5=103]="Numpad5",ea[ea.Numpad6=104]="Numpad6",ea[ea.Numpad7=105]="Numpad7",ea[ea.Numpad8=106]="Numpad8",ea[ea.Numpad9=107]="Numpad9",ea[ea.NumpadMultiply=108]="NumpadMultiply",ea[ea.NumpadAdd=109]="NumpadAdd",ea[ea.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",ea[ea.NumpadSubtract=111]="NumpadSubtract",ea[ea.NumpadDecimal=112]="NumpadDecimal",ea[ea.NumpadDivide=113]="NumpadDivide",ea[ea.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",ea[ea.ABNT_C1=115]="ABNT_C1",ea[ea.ABNT_C2=116]="ABNT_C2",ea[ea.AudioVolumeMute=117]="AudioVolumeMute",ea[ea.AudioVolumeUp=118]="AudioVolumeUp",ea[ea.AudioVolumeDown=119]="AudioVolumeDown",ea[ea.BrowserSearch=120]="BrowserSearch",ea[ea.BrowserHome=121]="BrowserHome",ea[ea.BrowserBack=122]="BrowserBack",ea[ea.BrowserForward=123]="BrowserForward",ea[ea.MediaTrackNext=124]="MediaTrackNext",ea[ea.MediaTrackPrevious=125]="MediaTrackPrevious",ea[ea.MediaStop=126]="MediaStop",ea[ea.MediaPlayPause=127]="MediaPlayPause",ea[ea.LaunchMediaPlayer=128]="LaunchMediaPlayer",ea[ea.LaunchMail=129]="LaunchMail",ea[ea.LaunchApp2=130]="LaunchApp2",ea[ea.Clear=131]="Clear",ea[ea.MAX_VALUE=132]="MAX_VALUE",(el=S||(S={}))[el.Hint=1]="Hint",el[el.Info=2]="Info",el[el.Warning=4]="Warning",el[el.Error=8]="Error",(ec=x||(x={}))[ec.Unnecessary=1]="Unnecessary",ec[ec.Deprecated=2]="Deprecated",(eu=E||(E={}))[eu.Inline=1]="Inline",eu[eu.Gutter=2]="Gutter",(ed=k||(k={}))[ed.UNKNOWN=0]="UNKNOWN",ed[ed.TEXTAREA=1]="TEXTAREA",ed[ed.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",ed[ed.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",ed[ed.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",ed[ed.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",ed[ed.CONTENT_TEXT=6]="CONTENT_TEXT",ed[ed.CONTENT_EMPTY=7]="CONTENT_EMPTY",ed[ed.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",ed[ed.CONTENT_WIDGET=9]="CONTENT_WIDGET",ed[ed.OVERVIEW_RULER=10]="OVERVIEW_RULER",ed[ed.SCROLLBAR=11]="SCROLLBAR",ed[ed.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",ed[ed.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(eh=D||(D={}))[eh.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",eh[eh.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",eh[eh.TOP_CENTER=2]="TOP_CENTER",(eg=P||(P={}))[eg.Left=1]="Left",eg[eg.Center=2]="Center",eg[eg.Right=4]="Right",eg[eg.Full=7]="Full",(ep=L||(L={}))[ep.Left=0]="Left",ep[ep.Right=1]="Right",ep[ep.None=2]="None",ep[ep.LeftOfInjectedText=3]="LeftOfInjectedText",ep[ep.RightOfInjectedText=4]="RightOfInjectedText",(ef=A||(A={}))[ef.Off=0]="Off",ef[ef.On=1]="On",ef[ef.Relative=2]="Relative",ef[ef.Interval=3]="Interval",ef[ef.Custom=4]="Custom",(em=I||(I={}))[em.None=0]="None",em[em.Text=1]="Text",em[em.Blocks=2]="Blocks",(ev=N||(N={}))[ev.Smooth=0]="Smooth",ev[ev.Immediate=1]="Immediate",(e_=T||(T={}))[e_.Auto=1]="Auto",e_[e_.Hidden=2]="Hidden",e_[e_.Visible=3]="Visible",(eb=O||(O={}))[eb.LTR=0]="LTR",eb[eb.RTL=1]="RTL",(ey=M||(M={}))[ey.Invoke=1]="Invoke",ey[ey.TriggerCharacter=2]="TriggerCharacter",ey[ey.ContentChange=3]="ContentChange",(eC=R||(R={}))[eC.File=0]="File",eC[eC.Module=1]="Module",eC[eC.Namespace=2]="Namespace",eC[eC.Package=3]="Package",eC[eC.Class=4]="Class",eC[eC.Method=5]="Method",eC[eC.Property=6]="Property",eC[eC.Field=7]="Field",eC[eC.Constructor=8]="Constructor",eC[eC.Enum=9]="Enum",eC[eC.Interface=10]="Interface",eC[eC.Function=11]="Function",eC[eC.Variable=12]="Variable",eC[eC.Constant=13]="Constant",eC[eC.String=14]="String",eC[eC.Number=15]="Number",eC[eC.Boolean=16]="Boolean",eC[eC.Array=17]="Array",eC[eC.Object=18]="Object",eC[eC.Key=19]="Key",eC[eC.Null=20]="Null",eC[eC.EnumMember=21]="EnumMember",eC[eC.Struct=22]="Struct",eC[eC.Event=23]="Event",eC[eC.Operator=24]="Operator",eC[eC.TypeParameter=25]="TypeParameter",(ew=F||(F={}))[ew.Deprecated=1]="Deprecated",(eS=K||(K={}))[eS.Hidden=0]="Hidden",eS[eS.Blink=1]="Blink",eS[eS.Smooth=2]="Smooth",eS[eS.Phase=3]="Phase",eS[eS.Expand=4]="Expand",eS[eS.Solid=5]="Solid",(ex=B||(B={}))[ex.Line=1]="Line",ex[ex.Block=2]="Block",ex[ex.Underline=3]="Underline",ex[ex.LineThin=4]="LineThin",ex[ex.BlockOutline=5]="BlockOutline",ex[ex.UnderlineThin=6]="UnderlineThin",(eE=X||(X={}))[eE.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",eE[eE.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",eE[eE.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",eE[eE.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(ek=W||(W={}))[ek.None=0]="None",ek[ek.Same=1]="Same",ek[ek.Indent=2]="Indent",ek[ek.DeepIndent=3]="DeepIndent"}),eK.register("dAWsj",function(e,t){o(e.exports,"createMonacoEditorAPI",()=>ef);var i=eK("ldoGF"),n=eK("fxXOE"),r=eK("dmkat"),s=eK("1wDcF"),a=eK("xsPcJ"),l=eK("jlUiF"),c=eK("iLBuq"),u=eK("k8rNE"),d=eK("aSrqz"),h=eK("e7ykw"),g=eK("cQ9sC"),p=eK("aVG2E"),f=eK("2JAiW"),m=eK("d2XvS"),v=eK("fGRPx"),_=eK("c9RzR"),b=eK("jIyaL"),y=eK("5yLTr"),C=eK("jtT9C"),w=eK("iEXJ3"),S=eK("6Ghil"),x=eK("3vG9N"),E=eK("dE4Wf"),k=eK("9vhsn"),D=eK("liTih"),P=eK("fru8S"),L=eK("1eGm6"),A=eK("3mUF9"),I=eK("QJK4R"),N=eK("5z7hM"),T=eK("7cUFS"),O=eK("kKQZc"),M=function(e,t,i,n){return new(i||(i=Promise))(function(r,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};function R(e,t,i){let n=(0,w.StandaloneServices).initialize(i||{});return n.createInstance(C.StandaloneEditor,e,t)}function F(e){let t=(0,w.StandaloneServices).get(a.ICodeEditorService);return t.onCodeEditorAdd(t=>{e(t)})}function K(e){let t=(0,w.StandaloneServices).get(a.ICodeEditorService);return t.onDiffEditorAdd(t=>{e(t)})}function B(){let e=(0,w.StandaloneServices).get(a.ICodeEditorService);return e.listCodeEditors()}function X(){let e=(0,w.StandaloneServices).get(a.ICodeEditorService);return e.listDiffEditors()}function W(e,t,i){let n=(0,w.StandaloneServices).initialize(i||{});return n.createInstance(C.StandaloneDiffEditor,e,t)}function z(e,t){let i=(0,w.StandaloneServices).initialize({});return i.createInstance(l.DiffNavigator,e,t)}function V(e){if("string"!=typeof e.id||"function"!=typeof e.run)throw Error("Invalid command descriptor, `id` and `run` are required properties!");return(0,x.CommandsRegistry).registerCommand(e.id,e.run)}function H(e){if("string"!=typeof e.id||"string"!=typeof e.label||"function"!=typeof e.run)throw Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");let t=(0,L.ContextKeyExpr).deserialize(e.precondition),n=new i.DisposableStore;if(n.add((0,x.CommandsRegistry).registerCommand(e.id,(i,...n)=>(0,D.EditorCommand).runEditorCommand(i,n,t,(t,i,n)=>Promise.resolve(e.run(i,...n))))),e.contextMenuGroupId){let i={command:{id:e.id,title:e.label},when:t,group:e.contextMenuGroupId,order:e.contextMenuOrder||0};n.add((0,P.MenuRegistry).appendMenuItem(P.MenuId.EditorContext,i))}if(Array.isArray(e.keybindings)){let i=(0,w.StandaloneServices).get(k.IKeybindingService);if(i instanceof w.StandaloneKeybindingService){let r=(0,L.ContextKeyExpr).and(t,(0,L.ContextKeyExpr).deserialize(e.keybindingContext));n.add(i.addDynamicKeybindings(e.keybindings.map(t=>({keybinding:t,command:e.id,when:r}))))}else console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService")}return n}function U(e){return j([e])}function j(e){let t=(0,w.StandaloneServices).get(k.IKeybindingService);return t instanceof w.StandaloneKeybindingService?t.addDynamicKeybindings(e.map(e=>({keybinding:e.keybinding,command:e.command,commandArgs:e.commandArgs,when:(0,L.ContextKeyExpr).deserialize(e.when)}))):(console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),i.Disposable.None)}function G(e,t,i){let n=(0,w.StandaloneServices).get(m.ILanguageService),r=n.getLanguageIdByMimeType(t)||t;return(0,C.createTextModel)((0,w.StandaloneServices).get(v.IModelService),n,e,r,i)}function q(e,t){let i=(0,w.StandaloneServices).get(m.ILanguageService),n=i.getLanguageIdByMimeType(t)||t||A.PLAINTEXT_LANGUAGE_ID;e.setLanguage(i.createById(n))}function Y(e,t,i){if(e){let n=(0,w.StandaloneServices).get(E.IMarkerService);n.changeOne(t,e.uri,i)}}function Z(e){let t=(0,w.StandaloneServices).get(E.IMarkerService);t.changeAll(e,[])}function J(e){let t=(0,w.StandaloneServices).get(E.IMarkerService);return t.read(e)}function Q(e){let t=(0,w.StandaloneServices).get(E.IMarkerService);return t.onMarkerChanged(e)}function $(e){let t=(0,w.StandaloneServices).get(v.IModelService);return t.getModel(e)}function ee(){let e=(0,w.StandaloneServices).get(v.IModelService);return e.getModels()}function et(e){let t=(0,w.StandaloneServices).get(v.IModelService);return t.onModelAdded(e)}function ei(e){let t=(0,w.StandaloneServices).get(v.IModelService);return t.onModelRemoved(e)}function en(e){let t=(0,w.StandaloneServices).get(v.IModelService);return t.onModelLanguageChanged(t=>{e({model:t.model,oldLanguage:t.oldLanguageId})})}function er(e){return(0,_.createWebWorker)((0,w.StandaloneServices).get(v.IModelService),(0,w.StandaloneServices).get(p.ILanguageConfigurationService),e)}function eo(e,t){let i=(0,w.StandaloneServices).get(m.ILanguageService),n=(0,w.StandaloneServices).get(S.IStandaloneThemeService);return n.registerEditorContainer(e),(0,y.Colorizer).colorizeElement(n,i,e,t)}function es(e,t,i){let n=(0,w.StandaloneServices).get(m.ILanguageService),r=(0,w.StandaloneServices).get(S.IStandaloneThemeService);return r.registerEditorContainer(document.body),(0,y.Colorizer).colorize(n,e,t,i)}function ea(e,t,i=4){let n=(0,w.StandaloneServices).get(S.IStandaloneThemeService);return n.registerEditorContainer(document.body),(0,y.Colorizer).colorizeModelLine(e,t,i)}function el(e,t){g.TokenizationRegistry.getOrCreate(t);let i=function(e){let t=g.TokenizationRegistry.get(e);return t||{getInitialState:()=>f.NullState,tokenize:(t,i,n)=>(0,f.nullTokenize)(e,n)}}(t),r=(0,n.splitLines)(e),o=[],s=i.getInitialState();for(let e=0,t=r.length;eM(this,void 0,void 0,function*(){var n;let r;if(!i)return null;let o=null===(n=t.options)||void 0===n?void 0:n.selection;return(o&&"number"==typeof o.endLineNumber&&"number"==typeof o.endColumn?r=o:o&&(r={lineNumber:o.startLineNumber,column:o.startColumn}),yield e.openCodeEditor(i,t.resource,r))?i:null}))}function ef(){return{create:R,getEditors:B,getDiffEditors:X,onDidCreateEditor:F,onDidCreateDiffEditor:K,createDiffEditor:W,createDiffNavigator:z,addCommand:V,addEditorAction:H,addKeybindingRule:U,addKeybindingRules:j,createModel:G,setModelLanguage:q,setModelMarkers:Y,getModelMarkers:J,removeAllMarkers:Z,onDidChangeMarkers:Q,getModels:ee,getModel:$,onDidCreateModel:et,onWillDisposeModel:ei,onDidChangeModelLanguage:en,createWebWorker:er,colorizeElement:eo,colorize:es,colorizeModelLine:ea,tokenize:el,defineTheme:ec,setTheme:eu,remeasureFonts:ed,registerCommand:eh,registerLinkOpener:eg,registerEditorOpener:ep,AccessibilitySupport:b.AccessibilitySupport,ContentWidgetPositionPreference:b.ContentWidgetPositionPreference,CursorChangeReason:b.CursorChangeReason,DefaultEndOfLine:b.DefaultEndOfLine,EditorAutoIndentStrategy:b.EditorAutoIndentStrategy,EditorOption:b.EditorOption,EndOfLinePreference:b.EndOfLinePreference,EndOfLineSequence:b.EndOfLineSequence,MinimapPosition:b.MinimapPosition,MouseTargetType:b.MouseTargetType,OverlayWidgetPositionPreference:b.OverlayWidgetPositionPreference,OverviewRulerLane:b.OverviewRulerLane,GlyphMarginLane:b.GlyphMarginLane,RenderLineNumbersType:b.RenderLineNumbersType,RenderMinimap:b.RenderMinimap,ScrollbarVisibility:b.ScrollbarVisibility,ScrollType:b.ScrollType,TextEditorCursorBlinkingStyle:b.TextEditorCursorBlinkingStyle,TextEditorCursorStyle:b.TextEditorCursorStyle,TrackedRangeStickiness:b.TrackedRangeStickiness,WrappingIndent:b.WrappingIndent,InjectedTextCursorStops:b.InjectedTextCursorStops,PositionAffinity:b.PositionAffinity,ConfigurationChangedEvent:c.ConfigurationChangedEvent,BareFontInfo:u.BareFontInfo,FontInfo:u.FontInfo,TextModelResolvedOptions:h.TextModelResolvedOptions,FindMatch:h.FindMatch,ApplyUpdateResult:c.ApplyUpdateResult,LineRange:N.LineRange,LineRangeMapping:I.LineRangeMapping,RangeMapping:I.RangeMapping,EditorZoom:T.EditorZoom,EditorType:d.EditorType,EditorOptions:c.EditorOptions}}}),eK.register("fxXOE",function(e,t){let i;o(e.exports,"isFalsyOrWhitespace",()=>s),o(e.exports,"format",()=>l),o(e.exports,"escape",()=>c),o(e.exports,"escapeRegExpCharacters",()=>u),o(e.exports,"trim",()=>d),o(e.exports,"ltrim",()=>h),o(e.exports,"rtrim",()=>g),o(e.exports,"convertSimple2RegExpPattern",()=>p),o(e.exports,"stripWildcards",()=>f),o(e.exports,"createRegExp",()=>m),o(e.exports,"regExpLeadsToEndlessLoop",()=>v),o(e.exports,"regExpFlags",()=>_),o(e.exports,"splitLines",()=>b),o(e.exports,"firstNonWhitespaceIndex",()=>y),o(e.exports,"getLeadingWhitespace",()=>C),o(e.exports,"lastNonWhitespaceIndex",()=>w),o(e.exports,"compare",()=>S),o(e.exports,"compareSubstring",()=>x),o(e.exports,"compareIgnoreCase",()=>E),o(e.exports,"compareSubstringIgnoreCase",()=>k),o(e.exports,"isLowerAsciiLetter",()=>P),o(e.exports,"isAsciiDigit",()=>D),o(e.exports,"isUpperAsciiLetter",()=>L),o(e.exports,"equalsIgnoreCase",()=>A),o(e.exports,"startsWithIgnoreCase",()=>I),o(e.exports,"commonPrefixLength",()=>N),o(e.exports,"commonSuffixLength",()=>T),o(e.exports,"isHighSurrogate",()=>O),o(e.exports,"isLowSurrogate",()=>M),o(e.exports,"computeCodePoint",()=>R),o(e.exports,"getNextCodePoint",()=>F),o(e.exports,"GraphemeIterator",()=>B),o(e.exports,"nextCharLength",()=>X),o(e.exports,"prevCharLength",()=>W),o(e.exports,"getCharContainingOffset",()=>z),o(e.exports,"containsRTL",()=>V),o(e.exports,"isBasicASCII",()=>U),o(e.exports,"UNUSUAL_LINE_TERMINATORS",()=>j),o(e.exports,"containsUnusualLineTerminators",()=>G),o(e.exports,"isFullWidthCharacter",()=>q),o(e.exports,"isEmojiImprecise",()=>Y),o(e.exports,"UTF8_BOM_CHARACTER",()=>Z),o(e.exports,"startsWithUTF8BOM",()=>J),o(e.exports,"containsUppercaseCharacter",()=>Q),o(e.exports,"singleLetterHash",()=>$),o(e.exports,"getLeftDeleteOffset",()=>ei),o(e.exports,"noBreakWhitespace",()=>en),o(e.exports,"AmbiguousCharacters",()=>er),o(e.exports,"InvisibleCharacters",()=>eo);var n=eK("d8VJ3"),r=eK("4L2sW");function s(e){return!e||"string"!=typeof e||0===e.trim().length}let a=/{(\d+)}/g;function l(e,...t){return 0===t.length?e:e.replace(a,function(e,i){let n=parseInt(i,10);return isNaN(n)||n<0||n>=t.length?e:t[n]})}function c(e){return e.replace(/[<>&]/g,function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}})}function u(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function d(e,t=" "){let i=h(e,t);return g(i,t)}function h(e,t){if(!e||!t)return e;let i=t.length;if(0===i||0===e.length)return e;let n=0;for(;e.indexOf(t,n)===n;)n+=i;return e.substring(n)}function g(e,t){if(!e||!t)return e;let i=t.length,n=e.length;if(0===i||0===n)return e;let r=n,o=-1;for(;-1!==(o=e.lastIndexOf(t,r-1))&&o+i===r;){if(0===o)return"";r=o}return e.substring(0,r)}function p(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function f(e){return e.replace(/\*/g,"")}function m(e,t,i={}){if(!e)throw Error("Cannot create regex from empty string");t||(e=u(e)),i.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let n="";return i.global&&(n+="g"),i.matchCase||(n+="i"),i.multiline&&(n+="m"),i.unicode&&(n+="u"),new RegExp(e,n)}function v(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;let t=e.exec("");return!!(t&&0===e.lastIndex)}function _(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function b(e){return e.split(/\r\n|\r|\n/)}function y(e){for(let t=0,i=e.length;t=0;i--){let t=e.charCodeAt(i);if(32!==t&&9!==t)return i}return -1}function S(e,t){return et?1:0}function x(e,t,i=0,n=e.length,r=0,o=t.length){for(;io)return 1}let s=n-i,a=o-r;return sa?1:0}function E(e,t){return k(e,t,0,e.length,0,t.length)}function k(e,t,i=0,n=e.length,r=0,o=t.length){for(;i=128||a>=128)return x(e.toLowerCase(),t.toLowerCase(),i,n,r,o);P(s)&&(s-=32),P(a)&&(a-=32);let l=s-a;if(0!==l)return l}let s=n-i,a=o-r;return sa?1:0}function D(e){return e>=48&&e<=57}function P(e){return e>=97&&e<=122}function L(e){return e>=65&&e<=90}function A(e,t){return e.length===t.length&&0===k(e,t)}function I(e,t){let i=t.length;return!(t.length>e.length)&&0===k(e,t,0,i)}function N(e,t){let i;let n=Math.min(e.length,t.length);for(i=0;i1){let n=e.charCodeAt(t-2);if(O(n))return R(n,i)}return i}(this._str,this._offset);return this._offset-=e>=65536?2:1,e}nextCodePoint(){let e=F(this._str,this._len,this._offset);return this._offset+=e>=65536?2:1,e}eol(){return this._offset>=this._len}}class B{get offset(){return this._iterator.offset}constructor(e,t=0){this._iterator=new K(e,t)}nextGraphemeLength(){let e=et.getInstance(),t=this._iterator,i=t.offset,n=e.getGraphemeBreakType(t.nextCodePoint());for(;!t.eol();){let i=t.offset,r=e.getGraphemeBreakType(t.nextCodePoint());if(ee(n,r)){t.setOffset(i);break}n=r}return t.offset-i}prevGraphemeLength(){let e=et.getInstance(),t=this._iterator,i=t.offset,n=e.getGraphemeBreakType(t.prevCodePoint());for(;t.offset>0;){let i=t.offset,r=e.getGraphemeBreakType(t.prevCodePoint());if(ee(r,n)){t.setOffset(i);break}n=r}return i-t.offset}eol(){return this._iterator.eol()}}function X(e,t){let i=new B(e,t);return i.nextGraphemeLength()}function W(e,t){let i=new B(e,t);return i.prevGraphemeLength()}function z(e,t){t>0&&M(e.charCodeAt(t))&&t--;let i=t+X(e,t),n=i-W(e,i);return[n,i]}function V(e){return i||(i=/(?:[\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])/),i.test(e)}let H=/^[\t\n\r\x20-\x7E]*$/;function U(e){return H.test(e)}let j=/[\u2028\u2029]/;function G(e){return j.test(e)}function q(e){return e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Y(e){return e>=127462&&e<=127487||8986===e||8987===e||9200===e||9203===e||e>=9728&&e<=10175||11088===e||11093===e||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129008||e>=129280&&e<=129535||e>=129648&&e<=129782}let Z=String.fromCharCode(65279);function J(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function Q(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function $(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function ee(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&(11!==e&&9!==e||9!==t&&10!==t)&&(12!==e&&10!==e||10!==t)&&5!==t&&13!==t&&7!==t&&1!==e&&(13!==e||14!==t)&&(6!==e||6!==t))}class et{static getInstance(){return et._INSTANCE||(et._INSTANCE=new et),et._INSTANCE}constructor(){this._data=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]")}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,i=t.length/3,n=1;for(;n<=i;)if(et[3*n+1]))return t[3*n+2];n=2*n+1}return 0}}function ei(e,t){if(0===e)return 0;let i=function(e,t){var i;let n=new K(t,e),r=n.prevCodePoint();for(;127995<=(i=r)&&i<=127999||65039===r||8419===r;){if(0===n.offset)return;r=n.prevCodePoint()}if(!Y(r))return;let o=n.offset;if(o>0){let e=n.prevCodePoint();8205===e&&(o=n.offset)}return o}(e,t);if(void 0!==i)return i;let n=new K(t,e);return n.prevCodePoint(),n.offset}et._INSTANCE=null;let en="\xa0";class er{static getInstance(e){return er.cache.get(Array.from(e))}static getLocales(){return er._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}er.ambiguousCharacterData=new r.Lazy(()=>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]}')),er.cache=new n.LRUCachedFunction(e=>{let t;function i(e){let t=new Map;for(let i=0;i!e.startsWith("_")&&e in n);for(let e of(0===r.length&&(r=["_default"]),r)){let r=i(n[e]);t=function(e,t){if(!e)return t;let i=new Map;for(let[n,r]of e)t.has(n)&&i.set(n,r);return i}(t,r)}let o=i(n._common),s=function(e,t){let i=new Map(e);for(let[e,n]of t)i.set(e,n);return i}(o,t);return new er(s)}),er._locales=new r.Lazy(()=>Object.keys(er.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class eo{static getRawData(){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 getData(){return this._data||(this._data=new Set(eo.getRawData())),this._data}static isInvisibleCharacter(e){return eo.getData().has(e)}static get codePoints(){return eo.getData()}}eo._data=void 0}),eK.register("d8VJ3",function(e,t){o(e.exports,"LRUCachedFunction",()=>i),o(e.exports,"CachedFunction",()=>n);class i{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}class n{get cachedValues(){return this._map}constructor(e){this.fn=e,this._map=new Map}get(e){if(this._map.has(e))return this._map.get(e);let t=this.fn(e);return this._map.set(e,t),t}}}),eK.register("4L2sW",function(e,t){o(e.exports,"Lazy",()=>i);class i{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}}),eK.register("1wDcF",function(e,t){o(e.exports,"FontMeasurements",()=>d);var i=eK("aZ0DQ"),n=eK("hhGVE"),r=eK("ldoGF"),s=eK("gJAoW"),a=eK("iLBuq"),l=eK("k8rNE");class c extends r.Disposable{constructor(){super(),this._onDidChange=this._register(new n.Emitter),this.onDidChange=this._onDidChange.event,this._cache=new u,this._evictUntrustedReadingsTimeout=-1}dispose(){-1!==this._evictUntrustedReadingsTimeout&&(window.clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),super.dispose()}clearAllFontInfos(){this._cache=new u,this._onDidChange.fire()}_writeToCache(e,t){this._cache.put(e,t),t.isTrusted||-1!==this._evictUntrustedReadingsTimeout||(this._evictUntrustedReadingsTimeout=window.setTimeout(()=>{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){let e=this._cache.getValues(),t=!1;for(let i of e)i.isTrusted||(t=!0,this._cache.remove(i));t&&this._onDidChange.fire()}readFontInfo(e){if(!this._cache.has(e)){let t=this._actualReadFontInfo(e);(t.typicalHalfwidthCharacterWidth<=2||t.typicalFullwidthCharacterWidth<=2||t.spaceWidth<=2||t.maxDigitWidth<=2)&&(t=new l.FontInfo({pixelRatio:i.PixelRatio.value,fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,fontFeatureSettings:t.fontFeatureSettings,fontVariationSettings:t.fontVariationSettings,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:t.isMonospace,typicalHalfwidthCharacterWidth:Math.max(t.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(t.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:t.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(t.spaceWidth,5),middotWidth:Math.max(t.middotWidth,5),wsmiddotWidth:Math.max(t.wsmiddotWidth,5),maxDigitWidth:Math.max(t.maxDigitWidth,5)},!1)),this._writeToCache(e,t)}return this._cache.get(e)}_createRequest(e,t,i,n){let r=new s.CharWidthRequest(e,t);return i.push(r),null==n||n.push(r),r}_actualReadFontInfo(e){let t=[],n=[],r=this._createRequest("n",0,t,n),o=this._createRequest("m",0,t,null),c=this._createRequest(" ",0,t,n),u=this._createRequest("0",0,t,n),d=this._createRequest("1",0,t,n),h=this._createRequest("2",0,t,n),g=this._createRequest("3",0,t,n),p=this._createRequest("4",0,t,n),f=this._createRequest("5",0,t,n),m=this._createRequest("6",0,t,n),v=this._createRequest("7",0,t,n),_=this._createRequest("8",0,t,n),b=this._createRequest("9",0,t,n),y=this._createRequest("→",0,t,n),C=this._createRequest("→",0,t,null),w=this._createRequest("\xb7",0,t,n),S=this._createRequest(String.fromCharCode(11825),0,t,null),x="|/-_ilm%";for(let e=0,i=x.length;e.001){k=!1;break}}let P=!0;return k&&C.width!==D&&(P=!1),C.width>y.width&&(P=!1),new l.FontInfo({pixelRatio:i.PixelRatio.value,fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,fontFeatureSettings:e.fontFeatureSettings,fontVariationSettings:e.fontVariationSettings,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:k,typicalHalfwidthCharacterWidth:r.width,typicalFullwidthCharacterWidth:o.width,canUseHalfwidthRightwardsArrow:P,spaceWidth:c.width,middotWidth:w.width,wsmiddotWidth:S.width,maxDigitWidth:E},!0)}}class u{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(e){let t=e.getId();return!!this._values[t]}get(e){let t=e.getId();return this._values[t]}put(e,t){let i=e.getId();this._keys[i]=e,this._values[i]=t}remove(e){let t=e.getId();delete this._keys[t],delete this._values[t]}getValues(){return Object.keys(this._keys).map(e=>this._values[e])}}let d=new c}),eK.register("aZ0DQ",function(e,t){o(e.exports,"addMatchMediaChangeListener",()=>l),o(e.exports,"PixelRatio",()=>c),o(e.exports,"getZoomFactor",()=>u),o(e.exports,"isFirefox",()=>h),o(e.exports,"isWebKit",()=>g),o(e.exports,"isChrome",()=>p),o(e.exports,"isSafari",()=>f),o(e.exports,"isWebkitWebView",()=>m),o(e.exports,"isElectron",()=>v),o(e.exports,"isAndroid",()=>_),o(e.exports,"isStandalone",()=>y);var i=eK("hhGVE"),n=eK("ldoGF");class r{constructor(){this._zoomFactor=1}getZoomFactor(){return this._zoomFactor}}r.INSTANCE=new r;class s extends n.Disposable{constructor(){super(),this._onDidChange=this._register(new i.Emitter),this.onDidChange=this._onDidChange.event,this._listener=()=>this._handleChange(!0),this._mediaQueryList=null,this._handleChange(!1)}_handleChange(e){var t;null===(t=this._mediaQueryList)||void 0===t||t.removeEventListener("change",this._listener),this._mediaQueryList=window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),e&&this._onDidChange.fire()}}class a extends n.Disposable{get value(){return this._value}constructor(){super(),this._onDidChange=this._register(new i.Emitter),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio();let e=this._register(new s);this._register(e.onDidChange(()=>{this._value=this._getPixelRatio(),this._onDidChange.fire(this._value)}))}_getPixelRatio(){let e=document.createElement("canvas").getContext("2d"),t=window.devicePixelRatio||1,i=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return t/i}}function l(e,t){"string"==typeof e&&(e=window.matchMedia(e)),e.addEventListener("change",t)}let c=new class{constructor(){this._pixelRatioMonitor=null}_getOrCreatePixelRatioMonitor(){return this._pixelRatioMonitor||(this._pixelRatioMonitor=(0,n.markAsSingleton)(new a)),this._pixelRatioMonitor}get value(){return this._getOrCreatePixelRatioMonitor().value}get onDidChange(){return this._getOrCreatePixelRatioMonitor().onDidChange}};function u(){return r.INSTANCE.getZoomFactor()}let d=navigator.userAgent,h=d.indexOf("Firefox")>=0,g=d.indexOf("AppleWebKit")>=0,p=d.indexOf("Chrome")>=0,f=!p&&d.indexOf("Safari")>=0,m=!p&&!f&&g,v=d.indexOf("Electron/")>=0,_=d.indexOf("Android")>=0,b=!1;if(window.matchMedia){let e=window.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),t=window.matchMedia("(display-mode: fullscreen)");b=e.matches,l(e,({matches:e})=>{b&&t.matches||(b=e)})}function y(){return b}}),eK.register("gJAoW",function(e,t){o(e.exports,"CharWidthRequest",()=>n),o(e.exports,"readCharWidths",()=>s);var i=eK("cgSTE");class n{constructor(e,t){this.chr=e,this.type=t,this.width=0}fulfill(e){this.width=e}}class r{constructor(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){let e=document.createElement("div");e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px";let t=document.createElement("div");(0,i.applyFontInfo)(t,this._bareFontInfo),e.appendChild(t);let n=document.createElement("div");(0,i.applyFontInfo)(n,this._bareFontInfo),n.style.fontWeight="bold",e.appendChild(n);let o=document.createElement("div");(0,i.applyFontInfo)(o,this._bareFontInfo),o.style.fontStyle="italic",e.appendChild(o);let s=[];for(let e of this._requests){let i;0===e.type&&(i=t),2===e.type&&(i=n),1===e.type&&(i=o),i.appendChild(document.createElement("br"));let a=document.createElement("span");r._render(a,e),i.appendChild(a),s.push(a)}this._container=e,this._testElements=s}static _render(e,t){if(" "===t.chr){let t="\xa0";for(let e=0;e<8;e++)t+=t;e.innerText=t}else{let i=t.chr;for(let e=0;e<8;e++)i+=i;e.textContent=i}}_readFromDomElements(){for(let e=0,t=this._requests.length;en);var i=eK("5Fy4M");function n(e,t){e instanceof i.FastDomNode?(e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setFontVariationSettings(t.fontVariationSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)):(e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.fontVariationSettings=t.fontVariationSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px")}}),eK.register("5Fy4M",function(e,t){o(e.exports,"FastDomNode",()=>i),o(e.exports,"createFastDomNode",()=>r);class i{constructor(e){this.domNode=e,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._paddingLeft="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._fontVariationSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(e){let t=n(e);this._maxWidth!==t&&(this._maxWidth=t,this.domNode.style.maxWidth=this._maxWidth)}setWidth(e){let t=n(e);this._width!==t&&(this._width=t,this.domNode.style.width=this._width)}setHeight(e){let t=n(e);this._height!==t&&(this._height=t,this.domNode.style.height=this._height)}setTop(e){let t=n(e);this._top!==t&&(this._top=t,this.domNode.style.top=this._top)}setLeft(e){let t=n(e);this._left!==t&&(this._left=t,this.domNode.style.left=this._left)}setBottom(e){let t=n(e);this._bottom!==t&&(this._bottom=t,this.domNode.style.bottom=this._bottom)}setRight(e){let t=n(e);this._right!==t&&(this._right=t,this.domNode.style.right=this._right)}setPaddingLeft(e){let t=n(e);this._paddingLeft!==t&&(this._paddingLeft=t,this.domNode.style.paddingLeft=this._paddingLeft)}setFontFamily(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(e){let t=n(e);this._fontSize!==t&&(this._fontSize=t,this.domNode.style.fontSize=this._fontSize)}setFontStyle(e){this._fontStyle!==e&&(this._fontStyle=e,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setFontVariationSettings(e){this._fontVariationSettings!==e&&(this._fontVariationSettings=e,this.domNode.style.fontVariationSettings=this._fontVariationSettings)}setTextDecoration(e){this._textDecoration!==e&&(this._textDecoration=e,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(e){let t=n(e);this._lineHeight!==t&&(this._lineHeight=t,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(e){let t=n(e);this._letterSpacing!==t&&(this._letterSpacing=t,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}toggleClassName(e,t){this.domNode.classList.toggle(e,t),this._className=this.domNode.className}setDisplay(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}setPosition(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}setColor(e){this._color!==e&&(this._color=e,this.domNode.style.color=this._color)}setBackgroundColor(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}setContain(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}setAttribute(e,t){this.domNode.setAttribute(e,t)}removeAttribute(e){this.domNode.removeAttribute(e)}appendChild(e){this.domNode.appendChild(e.domNode)}removeChild(e){this.domNode.removeChild(e.domNode)}}function n(e){return"number"==typeof e?`${e}px`:e}function r(e){return new i(e)}}),eK.register("k8rNE",function(e,t){o(e.exports,"BareFontInfo",()=>a),o(e.exports,"FontInfo",()=>l);var i=eK("eAnxj"),n=eK("iLBuq"),r=eK("7cUFS");let s=i.isMacintosh?1.5:1.35;class a{static createFromValidatedSettings(e,t,i){let n=e.get(47),r=e.get(51),o=e.get(50),s=e.get(49),l=e.get(52),c=e.get(64),u=e.get(61);return a._create(n,r,o,s,l,c,u,t,i)}static _create(e,t,i,o,l,c,u,d,h){0===c?c=s*i:c<8&&(c*=i),(c=Math.round(c))<8&&(c=8);let g=1+(h?0:.1*(0,r.EditorZoom).getZoomLevel());if(i*=g,c*=g,l===n.EditorFontVariations.TRANSLATE){if("normal"===t||"bold"===t)l=n.EditorFontVariations.OFF;else{let e=parseInt(t,10);l=`'wght' ${e}`,t="normal"}}return new a({pixelRatio:d,fontFamily:e,fontWeight:t,fontSize:i,fontFeatureSettings:o,fontVariationSettings:l,lineHeight:c,letterSpacing:u})}constructor(e){this._bareFontInfoBrand=void 0,this.pixelRatio=e.pixelRatio,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.fontVariationSettings=e.fontVariationSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}getId(){return`${this.pixelRatio}-${this.fontFamily}-${this.fontWeight}-${this.fontSize}-${this.fontFeatureSettings}-${this.fontVariationSettings}-${this.lineHeight}-${this.letterSpacing}`}getMassagedFontFamily(){let e=n.EDITOR_FONT_DEFAULTS.fontFamily,t=a._wrapInQuotes(this.fontFamily);return e&&this.fontFamily!==e?`${t}, ${e}`:t}static _wrapInQuotes(e){return/[,"']/.test(e)?e:/[+ ]/.test(e)?`"${e}"`:e}}class l extends a{constructor(e,t){super(e),this._editorStylingBrand=void 0,this.version=2,this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.fontVariationSettings===e.fontVariationSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}}),eK.register("7cUFS",function(e,t){o(e.exports,"EditorZoom",()=>n);var i=eK("hhGVE");let n=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new i.Emitter,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}}),eK.register("xsPcJ",function(e,t){o(e.exports,"ICodeEditorService",()=>n);var i=eK("yPX6c");let n=(0,i.createDecorator)("codeEditorService")}),eK.register("yPX6c",function(e,t){var i,n;o(e.exports,"_util",()=>i),o(e.exports,"IInstantiationService",()=>r),o(e.exports,"createDecorator",()=>s),(n=i||(i={})).serviceIds=new Map,n.DI_TARGET="$di$target",n.DI_DEPENDENCIES="$di$dependencies",n.getServiceDependencies=function(e){return e[n.DI_DEPENDENCIES]||[]};let r=s("instantiationService");function s(e){if(i.serviceIds.has(e))return i.serviceIds.get(e);let t=function(e,n,r){if(3!=arguments.length)throw Error("@IServiceName-decorator can only be used to decorate a parameter");e[i.DI_TARGET]===e?e[i.DI_DEPENDENCIES].push({id:t,index:r}):(e[i.DI_DEPENDENCIES]=[{id:t,index:r}],e[i.DI_TARGET]=e)};return t.toString=()=>e,i.serviceIds.set(e,t),t}}),eK.register("jlUiF",function(e,t){o(e.exports,"DiffNavigator",()=>g);var i=eK("kDpy1"),n=eK("hhGVE"),r=eK("ldoGF"),s=eK("e7gry"),a=eK("hf16e"),l=eK("esuCt"),c=eK("xsPcJ"),u=eK("i04Qt"),d=function(e,t){return function(i,n){t(i,n,e)}};let h={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0,findResultLoop:!0},g=class extends r.Disposable{constructor(e,t={},i,r,o){super(),this._audioCueService=i,this._codeEditorService=r,this._accessibilityService=o,this._onDidUpdate=this._register(new n.Emitter),this._editor=e,this._options=s.mixin(t,h,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=!!this._options.alwaysRevealFirst,this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(e=>{this.ignoreSelectionChange||(this._updateAccessibilityState(e.position.lineNumber),this.nextIdx=-1)})),this._init()}_init(){let e=this._editor.getLineChanges();if(!e)return}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&null!==this._editor.getLineChanges()&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(e){this.ranges=[],e&&e.forEach(e=>{!this._options.ignoreCharChanges&&e.charChanges?e.charChanges.forEach(e=>{this.ranges.push({rhs:!0,range:new a.Range(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)})}):0===e.modifiedEndLineNumber?this.ranges.push({rhs:!0,range:new a.Range(e.modifiedStartLineNumber,1,e.modifiedStartLineNumber+1,1)}):this.ranges.push({rhs:!0,range:new a.Range(e.modifiedStartLineNumber,1,e.modifiedEndLineNumber+1,1)})}),this.ranges.sort((e,t)=>(0,a.Range).compareRangesUsingStarts(e.range,t.range)),this._onDidUpdate.fire(this)}_initIdx(e){let t=!1,i=this._editor.getPosition();if(!i){this.nextIdx=0;return}for(let n=0,r=this.ranges.length;n=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));let n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{let e=n.range.getStartPosition();this._editor.setPosition(e),this._editor.revealRangeInCenter(n.range,t),this._updateAccessibilityState(e.lineNumber,!0)}finally{this.ignoreSelectionChange=!1}}_updateAccessibilityState(e,t){var i;let n=null===(i=this._editor.getModel())||void 0===i?void 0:i.modified;if(!n)return;let r=n.getLineDecorations(e).find(e=>"line-insert"===e.options.className);if(r)this._audioCueService.playAudioCue(l.AudioCue.diffLineModified,!0);else{if(!t)return;this._audioCueService.playAudioCue(l.AudioCue.diffLineDeleted,!0)}let o=this._codeEditorService.getActiveCodeEditor();t&&o&&r&&this._accessibilityService.isScreenReaderOptimized()&&(o.setSelection({startLineNumber:e,startColumn:0,endLineNumber:e,endColumn:Number.MAX_VALUE}),o.writeScreenReaderContent("diff-navigation"))}canNavigate(){return this.ranges&&this.ranges.length>0}next(e=0){this.canNavigateNext()&&this._move(!0,e)}previous(e=0){this.canNavigatePrevious()&&this._move(!1,e)}canNavigateNext(){return this.canNavigateLoop()||this.nextIdx=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([d(2,l.IAudioCueService),d(3,c.ICodeEditorService),d(4,u.IAccessibilityService)],g)}),eK.register("kDpy1",function(e,t){o(e.exports,"ok",()=>n),o(e.exports,"assertNever",()=>r),o(e.exports,"assertFn",()=>s),o(e.exports,"checkAdjacentItems",()=>a);var i=eK("feAe9");function n(e,t){if(!e)throw Error(t?`Assertion failed (${t})`:"Assertion Failed")}function r(e,t="Unreachable"){throw Error(t)}function s(e){e()||(e(),(0,i.onUnexpectedError)(new i.BugIndicatingError("Assertion Failed")))}function a(e,t){let i=0;for(;ir),o(e.exports,"AudioCue",()=>a);var i=eK("yPX6c"),n=eK("cAMHt");let r=(0,i.createDecorator)("audioCue");class s{static register(e){let t=new s(e.fileName);return t}constructor(e){this.fileName=e}}s.error=s.register({fileName:"error.mp3"}),s.warning=s.register({fileName:"warning.mp3"}),s.foldedArea=s.register({fileName:"foldedAreas.mp3"}),s.break=s.register({fileName:"break.mp3"}),s.quickFixes=s.register({fileName:"quickFixes.mp3"}),s.taskCompleted=s.register({fileName:"taskCompleted.mp3"}),s.taskFailed=s.register({fileName:"taskFailed.mp3"}),s.terminalBell=s.register({fileName:"terminalBell.mp3"}),s.diffLineInserted=s.register({fileName:"diffLineInserted.mp3"}),s.diffLineDeleted=s.register({fileName:"diffLineDeleted.mp3"}),s.diffLineModified=s.register({fileName:"diffLineModified.mp3"});class a{static register(e){let t=new a(e.sound,e.name,e.settingsKey);return a._audioCues.add(t),t}constructor(e,t,i){this.sound=e,this.name=t,this.settingsKey=i}}a._audioCues=new Set,a.error=a.register({name:(0,n.localize)("audioCues.lineHasError.name","Error on Line"),sound:s.error,settingsKey:"audioCues.lineHasError"}),a.warning=a.register({name:(0,n.localize)("audioCues.lineHasWarning.name","Warning on Line"),sound:s.warning,settingsKey:"audioCues.lineHasWarning"}),a.foldedArea=a.register({name:(0,n.localize)("audioCues.lineHasFoldedArea.name","Folded Area on Line"),sound:s.foldedArea,settingsKey:"audioCues.lineHasFoldedArea"}),a.break=a.register({name:(0,n.localize)("audioCues.lineHasBreakpoint.name","Breakpoint on Line"),sound:s.break,settingsKey:"audioCues.lineHasBreakpoint"}),a.inlineSuggestion=a.register({name:(0,n.localize)("audioCues.lineHasInlineSuggestion.name","Inline Suggestion on Line"),sound:s.quickFixes,settingsKey:"audioCues.lineHasInlineSuggestion"}),a.terminalQuickFix=a.register({name:(0,n.localize)("audioCues.terminalQuickFix.name","Terminal Quick Fix"),sound:s.quickFixes,settingsKey:"audioCues.terminalQuickFix"}),a.onDebugBreak=a.register({name:(0,n.localize)("audioCues.onDebugBreak.name","Debugger Stopped on Breakpoint"),sound:s.break,settingsKey:"audioCues.onDebugBreak"}),a.noInlayHints=a.register({name:(0,n.localize)("audioCues.noInlayHints","No Inlay Hints on Line"),sound:s.error,settingsKey:"audioCues.noInlayHints"}),a.taskCompleted=a.register({name:(0,n.localize)("audioCues.taskCompleted","Task Completed"),sound:s.taskCompleted,settingsKey:"audioCues.taskCompleted"}),a.taskFailed=a.register({name:(0,n.localize)("audioCues.taskFailed","Task Failed"),sound:s.taskFailed,settingsKey:"audioCues.taskFailed"}),a.terminalCommandFailed=a.register({name:(0,n.localize)("audioCues.terminalCommandFailed","Terminal Command Failed"),sound:s.error,settingsKey:"audioCues.terminalCommandFailed"}),a.terminalBell=a.register({name:(0,n.localize)("audioCues.terminalBell","Terminal Bell"),sound:s.terminalBell,settingsKey:"audioCues.terminalBell"}),a.notebookCellCompleted=a.register({name:(0,n.localize)("audioCues.notebookCellCompleted","Notebook Cell Completed"),sound:s.taskCompleted,settingsKey:"audioCues.notebookCellCompleted"}),a.notebookCellFailed=a.register({name:(0,n.localize)("audioCues.notebookCellFailed","Notebook Cell Failed"),sound:s.taskFailed,settingsKey:"audioCues.notebookCellFailed"}),a.diffLineInserted=a.register({name:(0,n.localize)("audioCues.diffLineInserted","Diff Line Inserted"),sound:s.diffLineInserted,settingsKey:"audioCues.diffLineInserted"}),a.diffLineDeleted=a.register({name:(0,n.localize)("audioCues.diffLineDeleted","Diff Line Deleted"),sound:s.diffLineDeleted,settingsKey:"audioCues.diffLineDeleted"}),a.diffLineModified=a.register({name:(0,n.localize)("audioCues.diffLineModified","Diff Line Modified"),sound:s.diffLineModified,settingsKey:"audioCues.diffLineModified"})}),eK.register("i04Qt",function(e,t){o(e.exports,"IAccessibilityService",()=>r),o(e.exports,"CONTEXT_ACCESSIBILITY_MODE_ENABLED",()=>s);var i=eK("1eGm6"),n=eK("yPX6c");let r=(0,n.createDecorator)("accessibilityService"),s=new i.RawContextKey("accessibilityModeEnabled",!1)}),eK.register("1eGm6",function(e,t){o(e.exports,"ContextKeyExpr",()=>y),o(e.exports,"expressionsAreEqualWithConstantSubstitution",()=>C),o(e.exports,"RawContextKey",()=>W),o(e.exports,"IContextKeyService",()=>z),o(e.exports,"implies",()=>function e(t,i){if(0===t.type||1===i.type)return!0;if(9===t.type)return 9===i.type&&H(t.expr,i.expr);if(9===i.type){for(let n of i.expr)if(e(t,n))return!0;return!1}if(6===t.type){if(6===i.type)return H(i.expr,t.expr);for(let n of t.expr)if(e(n,i))return!0;return!1}return t.equals(i)});var i=eK("eAnxj"),n=eK("fxXOE"),r=eK("bRjS8"),s=eK("yPX6c"),a=eK("cAMHt");let l=new Map;l.set("false",!1),l.set("true",!0),l.set("isMac",i.isMacintosh),l.set("isLinux",i.isLinux),l.set("isWindows",i.isWindows),l.set("isWeb",i.isWeb),l.set("isMacNative",i.isMacintosh&&!i.isWeb),l.set("isEdge",i.isEdge),l.set("isFirefox",i.isFirefox),l.set("isChrome",i.isChrome),l.set("isSafari",i.isSafari);let c=Object.prototype.hasOwnProperty,u={regexParsingWithErrorRecovery:!0},d=(0,a.localize)("contextkey.parser.error.emptyString","Empty context key expression"),h=(0,a.localize)("contextkey.parser.error.emptyString.hint","Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively."),g=(0,a.localize)("contextkey.parser.error.noInAfterNot","'in' after 'not'."),p=(0,a.localize)("contextkey.parser.error.closingParenthesis","closing parenthesis ')'"),f=(0,a.localize)("contextkey.parser.error.unexpectedToken","Unexpected token"),m=(0,a.localize)("contextkey.parser.error.unexpectedToken.hint","Did you forget to put && or || before the token?"),v=(0,a.localize)("contextkey.parser.error.unexpectedEOF","Unexpected end of expression"),_=(0,a.localize)("contextkey.parser.error.unexpectedEOF.hint","Did you forget to put a context key?");class b{constructor(e=u){this._config=e,this._scanner=new r.Scanner,this._tokens=[],this._current=0,this._parsingErrors=[],this._flagsGYRe=/g|y/g}parse(e){if(""===e){this._parsingErrors.push({message:d,offset:0,lexeme:"",additionalInfo:h});return}this._tokens=this._scanner.reset(e).scan(),this._current=0,this._parsingErrors=[];try{let e=this._expr();if(!this._isAtEnd()){let e=this._peek(),t=17===e.type?m:void 0;throw this._parsingErrors.push({message:f,offset:e.offset,lexeme:(0,r.Scanner).getLexeme(e),additionalInfo:t}),b._parseError}return e}catch(e){if(e!==b._parseError)throw e;return}}_expr(){return this._or()}_or(){let e=[this._and()];for(;this._matchOne(16);){let t=this._and();e.push(t)}return 1===e.length?e[0]:y.or(...e)}_and(){let e=[this._term()];for(;this._matchOne(15);){let t=this._term();e.push(t)}return 1===e.length?e[0]:y.and(...e)}_term(){if(this._matchOne(2)){let e=this._peek();switch(e.type){case 11:return this._advance(),S.INSTANCE;case 12:return this._advance(),x.INSTANCE;case 0:{this._advance();let e=this._expr();return this._consume(1,p),null==e?void 0:e.negate()}case 17:return this._advance(),A.create(e.lexeme);default:throw this._errExpectedButGot("KEY | true | false | '(' expression ')'",e)}}return this._primary()}_primary(){let e=this._peek();switch(e.type){case 11:return this._advance(),y.true();case 12:return this._advance(),y.false();case 0:{this._advance();let e=this._expr();return this._consume(1,p),e}case 17:{let t=e.lexeme;if(this._advance(),this._matchOne(9)){let e=this._peek();if(!this._config.regexParsingWithErrorRecovery){let i;if(this._advance(),10!==e.type)throw this._errExpectedButGot("REGEX",e);let n=e.lexeme,r=n.lastIndexOf("/"),o=r===n.length-1?void 0:this._removeFlagsGY(n.substring(r+1));try{i=new RegExp(n.substring(1,r),o)}catch(t){throw this._errExpectedButGot("REGEX",e)}return R.create(t,i)}switch(e.type){case 10:case 19:{let i;let n=[e.lexeme];this._advance();let o=this._peek(),s=0;for(let t=0;t=0){let o=i.slice(t+1,n),s="i"===i[n+1]?"i":"";try{r=new RegExp(o,s)}catch(t){throw this._errExpectedButGot("REGEX",e)}}}if(null===r)throw this._errExpectedButGot("REGEX",e);return R.create(t,r)}default:throw this._errExpectedButGot("REGEX",this._peek())}}if(this._matchOne(14)){this._consume(13,g);let e=this._value();return y.notIn(t,e)}let i=this._peek().type;switch(i){case 3:{this._advance();let e=this._value();if(18===this._previous().type)return y.equals(t,e);switch(e){case"true":return y.has(t);case"false":return y.not(t);default:return y.equals(t,e)}}case 4:{this._advance();let e=this._value();if(18===this._previous().type)return y.notEquals(t,e);switch(e){case"true":return y.not(t);case"false":return y.has(t);default:return y.notEquals(t,e)}}case 5:return this._advance(),O.create(t,this._value());case 6:return this._advance(),M.create(t,this._value());case 7:return this._advance(),N.create(t,this._value());case 8:return this._advance(),T.create(t,this._value());case 13:return this._advance(),y.in(t,this._value());default:return y.has(t)}}case 20:throw this._parsingErrors.push({message:v,offset:e.offset,lexeme:"",additionalInfo:_}),b._parseError;default:throw this._errExpectedButGot(`true | false | KEY +let e,t,i,n,r,o,s,a,l;function c(e,t,i,n){Object.defineProperty(e,t,{get:i,set:n,enumerable:!0,configurable:!0})}var d,h,u,g,p,f,m,v,_,b,y,C,w,S,x,k,E,D,P,L,A,I,N,T,O,M,R,F,B,K,W,X,z,V,H,U,j,q,G,Y,Z,Q,J,$,ee,et,ei,en,er,eo,es,ea,el,ec,ed,eh,eu,eg,ep,ef,em,ev,e_,eb,ey,eC,ew,eS,ex,ek,eE,eD,eP,eL,eA,eI,eN,eT,eO,eM,eR,eF,eB,eK,eW,eX,ez,eV,eH,eU,ej,eq,eG,eY,eZ,eQ,eJ,e$,e0,e1,e2,e5,e4,e3,e6,e8,e7,e9,te,tt,ti,tn,tr,to,ts,ta,tl,tc,td,th,tu,tg,tp,tf,tm,tv,t_,tb,ty=globalThis;function tC(e){return e&&e.__esModule?e.default:e}var tw={},tS={},tx=ty.parcelRequire2d1f;null==tx&&((tx=function(e){if(e in tw)return tw[e].exports;if(e in tS){var t=tS[e];delete tS[e];var i={id:e,exports:{}};return tw[e]=i,t.call(i.exports,i,i.exports),i.exports}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}).register=function(e,t){tS[e]=t},ty.parcelRequire2d1f=tx);var tk=tx.register;tk("3IiSV",function(e,t){c(e.exports,"CancellationTokenSource",()=>l),c(e.exports,"Emitter",()=>d),c(e.exports,"KeyCode",()=>h),c(e.exports,"KeyMod",()=>u),c(e.exports,"Position",()=>g),c(e.exports,"Range",()=>p),c(e.exports,"Selection",()=>f),c(e.exports,"SelectionDirection",()=>m),c(e.exports,"MarkerSeverity",()=>v),c(e.exports,"MarkerTag",()=>_),c(e.exports,"Uri",()=>b),c(e.exports,"Token",()=>y),c(e.exports,"editor",()=>C),c(e.exports,"languages",()=>w);var i=tx("b8zgB"),n=tx("j8Ytl"),r=tx("defKU"),o=tx("iUmpV"),s=tx("6vhUk");i.EditorOptions.wrappingIndent.defaultValue=0,i.EditorOptions.glyphMargin.defaultValue=!1,i.EditorOptions.autoIndent.defaultValue=3,i.EditorOptions.overviewRulerLanes.defaultValue=2,(0,s.FormattingConflicts).setFormatterSelector((e,t,i)=>Promise.resolve(e[0]));let a=(0,n.createMonacoBaseAPI)();a.editor=(0,r.createMonacoEditorAPI)(),a.languages=(0,o.createMonacoLanguagesAPI)();let l=a.CancellationTokenSource,d=a.Emitter,h=a.KeyCode,u=a.KeyMod,g=a.Position,p=a.Range,f=a.Selection,m=a.SelectionDirection,v=a.MarkerSeverity,_=a.MarkerTag,b=a.Uri,y=a.Token,C=a.editor,w=a.languages,S=globalThis.MonacoEnvironment;((null==S?void 0:S.globalAPI)||"function"==typeof define&&define.amd)&&(globalThis.monaco=a),void 0!==globalThis.require&&"function"==typeof globalThis.require.config&&globalThis.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})}),tk("b8zgB",function(e,t){c(e.exports,"MINIMAP_GUTTER_WIDTH",()=>g),c(e.exports,"ConfigurationChangedEvent",()=>p),c(e.exports,"ComputeOptionsMemory",()=>f),c(e.exports,"ApplyUpdateResult",()=>v),c(e.exports,"boolean",()=>C),c(e.exports,"clampedInt",()=>S),c(e.exports,"clampedFloat",()=>k),c(e.exports,"stringSet",()=>P),c(e.exports,"TextEditorCursorStyle",()=>r),c(e.exports,"EditorFontLigatures",()=>I),c(e.exports,"EditorFontVariations",()=>N),c(e.exports,"EDITOR_FONT_DEFAULTS",()=>W),c(e.exports,"EditorLayoutInfoComputer",()=>O),c(e.exports,"ShowLightbulbIconMode",()=>o),c(e.exports,"filterValidationDecorations",()=>M),c(e.exports,"inUntrustedWorkspace",()=>F),c(e.exports,"unicodeHighlightConfigKeys",()=>B),c(e.exports,"editorOptionsRegistry",()=>X),c(e.exports,"EditorOptions",()=>V);var i,n,r,o,s=tx("hfZZt"),a=tx("cQzfL"),l=tx("aWCAT"),d=tx("6JKH4"),h=tx("kVRVx"),u=tx("2hvjT");let g=8;class p{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class f{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class m{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return _(e,t)}compute(e,t,i){return i}}class v{constructor(e,t){this.newValue=e,this.didChange=t}}function _(e,t){if("object"!=typeof e||"object"!=typeof t||!e||!t)return new v(t,e!==t);if(Array.isArray(e)||Array.isArray(t)){let i=Array.isArray(e)&&Array.isArray(t)&&s.equals(e,t);return new v(t,!i)}let i=!1;for(let n in t)if(t.hasOwnProperty(n)){let r=_(e[n],t[n]);r.didChange&&(e[n]=r.newValue,i=!0)}return new v(e,i)}class b{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return _(e,t)}validate(e){return this.defaultValue}}class y{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return _(e,t)}validate(e){return void 0===e?this.defaultValue:e}compute(e,t,i){return i}}function C(e,t){return void 0===e?t:"false"!==e&&!!e}class w extends y{constructor(e,t,i,n){void 0!==n&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return C(e,this.defaultValue)}}function S(e,t,i,n){if(void 0===e)return t;let r=parseInt(e,10);return isNaN(r)?t:(r=Math.max(i,r),0|(r=Math.min(n,r)))}class x extends y{static clampedInt(e,t,i,n){return S(e,t,i,n)}constructor(e,t,i,n,r,o){void 0!==o&&(o.type="integer",o.default=i,o.minimum=n,o.maximum=r),super(e,t,i,o),this.minimum=n,this.maximum=r}validate(e){return x.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function k(e,t,i,n){if(void 0===e)return t;let r=E.float(e,t);return E.clamp(r,i,n)}class E extends y{static clamp(e,t,i){return ei?i:e}static float(e,t){if("number"==typeof e)return e;if(void 0===e)return t;let i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,r){void 0!==r&&(r.type="number",r.default=i),super(e,t,i,r),this.validationFn=n}validate(e){return this.validationFn(E.float(e,this.defaultValue))}}class D extends y{static string(e,t){return"string"!=typeof e?t:e}constructor(e,t,i,n){void 0!==n&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return D.string(e,this.defaultValue)}}function P(e,t,i,n){return"string"!=typeof e?t:n&&e in n?n[e]:-1===i.indexOf(e)?t:e}class L extends y{constructor(e,t,i,n,r){void 0!==r&&(r.type="string",r.enum=n,r.default=i),super(e,t,i,r),this._allowedValues=n}validate(e){return P(e,this.defaultValue,this._allowedValues)}}class A extends m{constructor(e,t,i,n,r,o,s){void 0!==s&&(s.type="string",s.enum=r,s.default=n),super(e,t,i,s),this._allowedValues=r,this._convert=o}validate(e){return"string"!=typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)}}(i=r||(r={}))[i.Line=1]="Line",i[i.Block=2]="Block",i[i.Underline=3]="Underline",i[i.LineThin=4]="LineThin",i[i.BlockOutline=5]="BlockOutline",i[i.UnderlineThin=6]="UnderlineThin";class I extends m{constructor(){super(51,"fontLigatures",I.OFF,{anyOf:[{type:"boolean",description:u.localize("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:u.localize("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:u.localize("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e||0===e.length?I.OFF:"true"===e?I.ON:e:e?I.ON:I.OFF}}I.OFF='"liga" off, "calt" off',I.ON='"liga" on, "calt" on';class N extends m{constructor(){super(54,"fontVariations",N.OFF,{anyOf:[{type:"boolean",description:u.localize("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:u.localize("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:u.localize("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e?N.OFF:"true"===e?N.TRANSLATE:e:e?N.TRANSLATE:N.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}}N.OFF="normal",N.TRANSLATE="translate";class T extends m{constructor(){super(53,"fontWeight",W.fontWeight,{anyOf:[{type:"number",minimum:T.MINIMUM_VALUE,maximum:T.MAXIMUM_VALUE,errorMessage:u.localize("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:T.SUGGESTION_VALUES}],default:W.fontWeight,description:u.localize("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return"normal"===e||"bold"===e?e:String(x.clampedInt(e,W.fontWeight,T.MINIMUM_VALUE,T.MAXIMUM_VALUE))}}T.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],T.MINIMUM_VALUE=1,T.MAXIMUM_VALUE=1e3;class O extends b{constructor(){super(145)}compute(e,t,i){return O.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){let t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight),n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));let r=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),o=Math.floor(e.viewLineCount/r);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:r,minimapLineCount:o}}static _computeMinimapLayout(e,t){let i=e.outerWidth,n=e.outerHeight,r=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(r*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};let o=t.stableMinimapLayoutInput,s=o&&e.outerHeight===o.outerHeight&&e.lineHeight===o.lineHeight&&e.typicalHalfwidthCharacterWidth===o.typicalHalfwidthCharacterWidth&&e.pixelRatio===o.pixelRatio&&e.scrollBeyondLastLine===o.scrollBeyondLastLine&&e.paddingTop===o.paddingTop&&e.paddingBottom===o.paddingBottom&&e.minimap.enabled===o.minimap.enabled&&e.minimap.side===o.minimap.side&&e.minimap.size===o.minimap.size&&e.minimap.showSlider===o.minimap.showSlider&&e.minimap.renderCharacters===o.minimap.renderCharacters&&e.minimap.maxColumn===o.minimap.maxColumn&&e.minimap.scale===o.minimap.scale&&e.verticalScrollbarWidth===o.verticalScrollbarWidth&&e.isViewportWrapping===o.isViewportWrapping,a=e.lineHeight,l=e.typicalHalfwidthCharacterWidth,c=e.scrollBeyondLastLine,d=e.minimap.renderCharacters,h=r>=2?Math.round(2*e.minimap.scale):e.minimap.scale,u=e.minimap.maxColumn,p=e.minimap.size,f=e.minimap.side,m=e.verticalScrollbarWidth,v=e.viewLineCount,_=e.remainingWidth,b=e.isViewportWrapping,y=d?2:3,C=Math.floor(r*n),w=C/r,S=!1,x=!1,k=y*h,E=h/r,D=1;if("fill"===p||"fit"===p){let{typicalViewportLineCount:i,extraLinesBeforeFirstLine:o,extraLinesBeyondLastLine:l,desiredRatio:d,minimapLineCount:u}=O.computeContainedMinimapLineCount({viewLineCount:v,scrollBeyondLastLine:c,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:a,pixelRatio:r});if(v/u>1)S=!0,x=!0,k=1,E=(h=1)/r;else{let n=!1,c=h+1;if("fit"===p){let e=Math.ceil((o+v+l)*k);b&&s&&_<=t.stableFitRemainingWidth?(n=!0,c=t.stableFitMaxMinimapScale):n=e>C}if("fill"===p||n){S=!0;let n=h;k=Math.min(a*r,Math.max(1,Math.floor(1/d))),b&&s&&_<=t.stableFitRemainingWidth&&(c=t.stableFitMaxMinimapScale),(h=Math.min(c,Math.max(1,Math.floor(k/y))))>n&&(D=Math.min(2,h/n)),E=h/r/D,C=Math.ceil(Math.max(i,o+v+l)*k),b?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=_,t.stableFitMaxMinimapScale=h):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}let P=Math.floor(u*E),L=Math.min(P,Math.max(0,Math.floor((_-m-2)*E/(l+E)))+g),A=Math.floor(r*L),I=A/r;return{renderMinimap:d?1:2,minimapLeft:"left"===f?0:i-L-m,minimapWidth:L,minimapHeightIsEditorHeight:S,minimapIsSampling:x,minimapScale:h,minimapLineHeight:k,minimapCanvasInnerWidth:A=Math.floor(A*D),minimapCanvasInnerHeight:C,minimapCanvasOuterWidth:I,minimapCanvasOuterHeight:w}}static computeLayout(e,t){let i=0|t.outerWidth,n=0|t.outerHeight,r=0|t.lineHeight,o=0|t.lineNumbersDigitCount,s=t.typicalHalfwidthCharacterWidth,a=t.maxDigitWidth,l=t.pixelRatio,c=t.viewLineCount,d=e.get(137),h="inherit"===d?e.get(136):d,u="inherit"===h?e.get(132):h,g=e.get(135),p=t.isDominatedByLongLines,m=e.get(57),v=0!==e.get(68).renderType,_=e.get(69),b=e.get(105),y=e.get(84),C=e.get(73),w=e.get(103),S=w.verticalScrollbarSize,x=w.verticalHasArrows,k=w.arrowSize,E=w.horizontalScrollbarSize,D=e.get(43),P="never"!==e.get(110),L=e.get(66);D&&P&&(L+=16);let A=0;if(v){let e=Math.max(o,_);A=Math.round(e*a)}let I=0;m&&(I=r*t.glyphMarginDecorationLaneCount);let N=0,T=0+I,M=T+A,R=M+L,F=i-I-A-L,B=!1,K=!1,W=-1;"inherit"===h&&p?(B=!0,K=!0):"on"===u||"bounded"===u?K=!0:"wordWrapColumn"===u&&(W=g);let X=O._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:r,typicalHalfwidthCharacterWidth:s,pixelRatio:l,scrollBeyondLastLine:b,paddingTop:y.top,paddingBottom:y.bottom,minimap:C,verticalScrollbarWidth:S,viewLineCount:c,remainingWidth:F,isViewportWrapping:K},t.memory||new f);0!==X.renderMinimap&&0===X.minimapLeft&&(N+=X.minimapWidth,T+=X.minimapWidth,M+=X.minimapWidth,R+=X.minimapWidth);let z=F-X.minimapWidth,V=Math.max(1,Math.floor((z-S-2)/s)),H=x?k:0;return K&&(W=Math.max(1,V),"bounded"===u&&(W=Math.min(W,g))),{width:i,height:n,glyphMarginLeft:N,glyphMarginWidth:I,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:T,lineNumbersWidth:A,decorationsLeft:M,decorationsWidth:L,contentLeft:R,contentWidth:z,minimap:X,viewportColumn:V,isWordWrapMinified:B,isViewportWrapping:K,wrappingColumn:W,verticalScrollbarWidth:S,horizontalScrollbarHeight:E,overviewRuler:{top:H,width:S,height:n-2*H,right:0}}}}function M(e){let t=e.get(98);return"editable"===t?e.get(91):"on"!==t}function R(e,t){if("string"!=typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}(n=o||(o={})).Off="off",n.OnCode="onCode",n.On="on";let F="inUntrustedWorkspace",B={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};function K(e,t,i){let n=i.indexOf(e);return -1===n?t:i[n]}let W={fontFamily:l.isMacintosh?"Menlo, Monaco, 'Courier New', monospace":l.isLinux?"'Droid Sans Mono', 'monospace', monospace":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:l.isMacintosh?12:14,lineHeight:0,letterSpacing:0},X=[];function z(e){return X[e.id]=e,e}let V={acceptSuggestionOnCommitCharacter:z(new w(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:u.localize("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:z(new L(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",u.localize("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:u.localize("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:z(new class extends m{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[u.localize("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),u.localize("accessibilitySupport.on","Optimize for usage with a Screen Reader."),u.localize("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:u.localize("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return 0===i?e.accessibilitySupport:i}}),accessibilityPageSize:z(new x(3,"accessibilityPageSize",10,1,1073741824,{description:u.localize("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),tags:["accessibility"]})),ariaLabel:z(new D(4,"ariaLabel",u.localize("editorViewAccessibleLabel","Editor content"))),ariaRequired:z(new w(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:z(new w(8,"screenReaderAnnounceInlineSuggestion",!0,{description:u.localize("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader."),tags:["accessibility"]})),autoClosingBrackets:z(new L(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",u.localize("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),u.localize("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:u.localize("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingComments:z(new L(7,"autoClosingComments","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",u.localize("editor.autoClosingComments.languageDefined","Use language configurations to determine when to autoclose comments."),u.localize("editor.autoClosingComments.beforeWhitespace","Autoclose comments only when the cursor is to the left of whitespace."),""],description:u.localize("autoClosingComments","Controls whether the editor should automatically close comments after the user adds an opening comment.")})),autoClosingDelete:z(new L(9,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",u.localize("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:u.localize("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:z(new L(10,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",u.localize("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:u.localize("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:z(new L(11,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",u.localize("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),u.localize("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:u.localize("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:z(new A(12,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],function(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}},{enumDescriptions:[u.localize("editor.autoIndent.none","The editor will not insert indentation automatically."),u.localize("editor.autoIndent.keep","The editor will keep the current line's indentation."),u.localize("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),u.localize("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),u.localize("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:u.localize("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:z(new w(13,"automaticLayout",!1)),autoSurround:z(new L(14,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[u.localize("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),u.localize("editor.autoSurround.quotes","Surround with quotes but not brackets."),u.localize("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:u.localize("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:z(new class extends m{constructor(){let e={enabled:d.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:d.EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:u.localize("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:u.localize("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:C(e.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}:this.defaultValue}}),bracketPairGuides:z(new class extends m{constructor(){let e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(16,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[u.localize("editor.guides.bracketPairs.true","Enables bracket pair guides."),u.localize("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),u.localize("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:u.localize("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[u.localize("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),u.localize("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),u.localize("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:u.localize("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:u.localize("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:u.localize("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[u.localize("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),u.localize("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),u.localize("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:u.localize("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){return e&&"object"==typeof e?{bracketPairs:K(e.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:K(e.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:C(e.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:C(e.indentation,this.defaultValue.indentation),highlightActiveIndentation:K(e.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}:this.defaultValue}}),stickyTabStops:z(new w(116,"stickyTabStops",!1,{description:u.localize("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:z(new w(17,"codeLens",!0,{description:u.localize("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:z(new D(18,"codeLensFontFamily","",{description:u.localize("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:z(new x(19,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:u.localize("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:z(new w(20,"colorDecorators",!0,{description:u.localize("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorActivatedOn:z(new L(148,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[u.localize("editor.colorDecoratorActivatedOn.clickAndHover","Make the color picker appear both on click and hover of the color decorator"),u.localize("editor.colorDecoratorActivatedOn.hover","Make the color picker appear on hover of the color decorator"),u.localize("editor.colorDecoratorActivatedOn.click","Make the color picker appear on click of the color decorator")],description:u.localize("colorDecoratorActivatedOn","Controls the condition to make a color picker appear from a color decorator")})),colorDecoratorsLimit:z(new x(21,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:u.localize("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:z(new w(22,"columnSelection",!1,{description:u.localize("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:z(new class extends m{constructor(){let e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:u.localize("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:u.localize("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){return e&&"object"==typeof e?{insertSpace:C(e.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:C(e.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}:this.defaultValue}}),contextmenu:z(new w(24,"contextmenu",!0)),copyWithSyntaxHighlighting:z(new w(25,"copyWithSyntaxHighlighting",!0,{description:u.localize("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:z(new A(26,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],function(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}},{description:u.localize("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:z(new L(27,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[u.localize("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),u.localize("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),u.localize("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:u.localize("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:z(new A(28,"cursorStyle",r.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],function(e){switch(e){case"line":return r.Line;case"block":return r.Block;case"underline":return r.Underline;case"line-thin":return r.LineThin;case"block-outline":return r.BlockOutline;case"underline-thin":return r.UnderlineThin}},{description:u.localize("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:z(new x(29,"cursorSurroundingLines",0,0,1073741824,{description:u.localize("cursorSurroundingLines","Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:z(new L(30,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[u.localize("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),u.localize("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],markdownDescription:u.localize("cursorSurroundingLinesStyle","Controls when `#editor.cursorSurroundingLines#` should be enforced.")})),cursorWidth:z(new x(31,"cursorWidth",0,0,1073741824,{markdownDescription:u.localize("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:z(new w(32,"disableLayerHinting",!1)),disableMonospaceOptimizations:z(new w(33,"disableMonospaceOptimizations",!1)),domReadOnly:z(new w(34,"domReadOnly",!1)),dragAndDrop:z(new w(35,"dragAndDrop",!0,{description:u.localize("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:z(new class extends w{constructor(){super(37,"emptySelectionClipboard",!0,{description:u.localize("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}),dropIntoEditor:z(new class extends m{constructor(){let e={enabled:!0,showDropSelector:"afterDrop"};super(36,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:u.localize("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor).")},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:u.localize("dropIntoEditor.showDropSelector","Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),enum:["afterDrop","never"],enumDescriptions:[u.localize("dropIntoEditor.showDropSelector.afterDrop","Show the drop selector widget after a file is dropped into the editor."),u.localize("dropIntoEditor.showDropSelector.never","Never show the drop selector widget. Instead the default drop provider is always used.")],default:"afterDrop"}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled),showDropSelector:P(e.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}:this.defaultValue}}),stickyScroll:z(new class extends m{constructor(){let e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(115,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:u.localize("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:u.localize("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:u.localize("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:u.localize("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled),maxLineCount:x.clampedInt(e.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:P(e.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:C(e.scrollWithEditor,this.defaultValue.scrollWithEditor)}:this.defaultValue}}),experimentalWhitespaceRendering:z(new L(38,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[u.localize("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),u.localize("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),u.localize("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:u.localize("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:z(new D(39,"extraEditorClassName","")),fastScrollSensitivity:z(new E(40,"fastScrollSensitivity",5,e=>e<=0?5:e,{markdownDescription:u.localize("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:z(new class extends m{constructor(){let e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:u.localize("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[u.localize("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),u.localize("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),u.localize("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:u.localize("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[u.localize("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),u.localize("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),u.localize("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:u.localize("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:u.localize("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:l.isMacintosh},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:u.localize("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:u.localize("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){return e&&"object"==typeof e?{cursorMoveOnType:C(e.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:"boolean"==typeof e.seedSearchStringFromSelection?e.seedSearchStringFromSelection?"always":"never":P(e.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:"boolean"==typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":P(e.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:C(e.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:C(e.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:C(e.loop,this.defaultValue.loop)}:this.defaultValue}}),fixedOverflowWidgets:z(new w(42,"fixedOverflowWidgets",!1)),folding:z(new w(43,"folding",!0,{description:u.localize("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:z(new L(44,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[u.localize("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),u.localize("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:u.localize("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:z(new w(45,"foldingHighlight",!0,{description:u.localize("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:z(new w(46,"foldingImportsByDefault",!1,{description:u.localize("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:z(new x(47,"foldingMaximumRegions",5e3,10,65e3,{description:u.localize("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:z(new w(48,"unfoldOnClickAfterEndOfLine",!1,{description:u.localize("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:z(new D(49,"fontFamily",W.fontFamily,{description:u.localize("fontFamily","Controls the font family.")})),fontInfo:z(new class extends b{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}),fontLigatures2:z(new I),fontSize:z(new class extends y{constructor(){super(52,"fontSize",W.fontSize,{type:"number",minimum:6,maximum:100,default:W.fontSize,description:u.localize("fontSize","Controls the font size in pixels.")})}validate(e){let t=E.float(e,this.defaultValue);return 0===t?W.fontSize:E.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}),fontWeight:z(new T),fontVariations:z(new N),formatOnPaste:z(new w(55,"formatOnPaste",!1,{description:u.localize("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:z(new w(56,"formatOnType",!1,{description:u.localize("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:z(new w(57,"glyphMargin",!0,{description:u.localize("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:z(new class extends m{constructor(){let e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[u.localize("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),u.localize("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),u.localize("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:u.localize("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":{description:u.localize("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:u.localize("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:u.localize("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:u.localize("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:u.localize("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist."),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:u.localize("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:u.localize("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:u.localize("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:u.localize("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:u.localize("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,i,n,r,o;return e&&"object"==typeof e?{multiple:P(e.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=e.multipleDefinitions)&&void 0!==t?t:P(e.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(i=e.multipleTypeDefinitions)&&void 0!==i?i:P(e.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(n=e.multipleDeclarations)&&void 0!==n?n:P(e.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(r=e.multipleImplementations)&&void 0!==r?r:P(e.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(o=e.multipleReferences)&&void 0!==o?o:P(e.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:D.string(e.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:D.string(e.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:D.string(e.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:D.string(e.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:D.string(e.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}:this.defaultValue}}),hideCursorInOverviewRuler:z(new w(59,"hideCursorInOverviewRuler",!1,{description:u.localize("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:z(new class extends m{constructor(){let e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:u.localize("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:u.localize("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:u.localize("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:u.localize("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:u.localize("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled),delay:x.clampedInt(e.delay,this.defaultValue.delay,0,1e4),sticky:C(e.sticky,this.defaultValue.sticky),hidingDelay:x.clampedInt(e.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:C(e.above,this.defaultValue.above)}:this.defaultValue}}),inDiffEditor:z(new w(61,"inDiffEditor",!1)),letterSpacing:z(new E(64,"letterSpacing",W.letterSpacing,e=>E.clamp(e,-5,20),{description:u.localize("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:z(new class extends m{constructor(){let e={enabled:o.On};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[o.Off,o.OnCode,o.On],default:e.enabled,enumDescriptions:[u.localize("editor.lightbulb.enabled.off","Disable the code action menu."),u.localize("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),u.localize("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:u.localize("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return e&&"object"==typeof e?{enabled:P(e.enabled,this.defaultValue.enabled,[o.Off,o.OnCode,o.On])}:this.defaultValue}}),lineDecorationsWidth:z(new class extends m{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){if(!("string"==typeof e&&/^\d+(\.\d+)?ch$/.test(e)))return x.clampedInt(e,this.defaultValue,0,1e3);{let t=parseFloat(e.substring(0,e.length-2));return-t}}compute(e,t,i){return i<0?x.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}),lineHeight:z(new class extends E{constructor(){super(67,"lineHeight",W.lineHeight,e=>E.clamp(e,0,150),{markdownDescription:u.localize("lineHeight","Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values.")})}compute(e,t,i){return e.fontInfo.lineHeight}}),lineNumbers:z(new class extends m{constructor(){super(68,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[u.localize("lineNumbers.off","Line numbers are not rendered."),u.localize("lineNumbers.on","Line numbers are rendered as absolute number."),u.localize("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),u.localize("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:u.localize("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return void 0!==e&&("function"==typeof e?(t=4,i=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:i}}}),lineNumbersMinChars:z(new x(69,"lineNumbersMinChars",5,1,300)),linkedEditing:z(new w(70,"linkedEditing",!1,{description:u.localize("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:z(new w(71,"links",!0,{description:u.localize("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:z(new L(72,"matchBrackets","always",["always","near","never"],{description:u.localize("matchBrackets","Highlight matching brackets.")})),minimap:z(new class extends m{constructor(){let e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1,showRegionSectionHeaders:!0,showMarkSectionHeaders:!0,sectionHeaderFontSize:9};super(73,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:u.localize("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:u.localize("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[u.localize("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),u.localize("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),u.localize("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:u.localize("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:u.localize("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:u.localize("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:u.localize("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:u.localize("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:u.localize("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")},"editor.minimap.showRegionSectionHeaders":{type:"boolean",default:e.showRegionSectionHeaders,description:u.localize("minimap.showRegionSectionHeaders","Controls whether named regions are shown as section headers in the minimap.")},"editor.minimap.showMarkSectionHeaders":{type:"boolean",default:e.showMarkSectionHeaders,description:u.localize("minimap.showMarkSectionHeaders","Controls whether MARK: comments are shown as section headers in the minimap.")},"editor.minimap.sectionHeaderFontSize":{type:"number",default:e.sectionHeaderFontSize,description:u.localize("minimap.sectionHeaderFontSize","Controls the font size of section headers in the minimap.")}})}validate(e){var t;return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled),autohide:C(e.autohide,this.defaultValue.autohide),size:P(e.size,this.defaultValue.size,["proportional","fill","fit"]),side:P(e.side,this.defaultValue.side,["right","left"]),showSlider:P(e.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:C(e.renderCharacters,this.defaultValue.renderCharacters),scale:x.clampedInt(e.scale,1,1,3),maxColumn:x.clampedInt(e.maxColumn,this.defaultValue.maxColumn,1,1e4),showRegionSectionHeaders:C(e.showRegionSectionHeaders,this.defaultValue.showRegionSectionHeaders),showMarkSectionHeaders:C(e.showMarkSectionHeaders,this.defaultValue.showMarkSectionHeaders),sectionHeaderFontSize:E.clamp(null!==(t=e.sectionHeaderFontSize)&&void 0!==t?t:this.defaultValue.sectionHeaderFontSize,4,32)}:this.defaultValue}}),mouseStyle:z(new L(74,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:z(new E(75,"mouseWheelScrollSensitivity",1,e=>0===e?1:e,{markdownDescription:u.localize("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:z(new w(76,"mouseWheelZoom",!1,{markdownDescription:l.isMacintosh?u.localize("mouseWheelZoom.mac","Zoom the font of the editor when using mouse wheel and holding `Cmd`."):u.localize("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:z(new w(77,"multiCursorMergeOverlapping",!0,{description:u.localize("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:z(new A(78,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],function(e){return"ctrlCmd"===e?l.isMacintosh?"metaKey":"ctrlKey":"altKey"},{markdownEnumDescriptions:[u.localize("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),u.localize("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:u.localize({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:z(new L(79,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[u.localize("multiCursorPaste.spread","Each cursor pastes a single line of the text."),u.localize("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:u.localize("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:z(new x(80,"multiCursorLimit",1e4,1,1e5,{markdownDescription:u.localize("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:z(new L(81,"occurrencesHighlight","singleFile",["off","singleFile","multiFile"],{markdownEnumDescriptions:[u.localize("occurrencesHighlight.off","Does not highlight occurrences."),u.localize("occurrencesHighlight.singleFile","Highlights occurrences only in the current file."),u.localize("occurrencesHighlight.multiFile","Experimental: Highlights occurrences across all valid open files.")],markdownDescription:u.localize("occurrencesHighlight","Controls whether occurrences should be highlighted across open files.")})),overviewRulerBorder:z(new w(82,"overviewRulerBorder",!0,{description:u.localize("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:z(new x(83,"overviewRulerLanes",3,0,3)),padding:z(new class extends m{constructor(){super(84,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:u.localize("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:u.localize("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){return e&&"object"==typeof e?{top:x.clampedInt(e.top,0,0,1e3),bottom:x.clampedInt(e.bottom,0,0,1e3)}:this.defaultValue}}),pasteAs:z(new class extends m{constructor(){let e={enabled:!0,showPasteSelector:"afterPaste"};super(85,"pasteAs",e,{"editor.pasteAs.enabled":{type:"boolean",default:e.enabled,markdownDescription:u.localize("pasteAs.enabled","Controls whether you can paste content in different ways.")},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:u.localize("pasteAs.showPasteSelector","Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),enum:["afterPaste","never"],enumDescriptions:[u.localize("pasteAs.showPasteSelector.afterPaste","Show the paste selector widget after content is pasted into the editor."),u.localize("pasteAs.showPasteSelector.never","Never show the paste selector widget. Instead the default pasting behavior is always used.")],default:"afterPaste"}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled),showPasteSelector:P(e.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}:this.defaultValue}}),parameterHints:z(new class extends m{constructor(){let e={enabled:!0,cycle:!0};super(86,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:u.localize("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:u.localize("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled),cycle:C(e.cycle,this.defaultValue.cycle)}:this.defaultValue}}),peekWidgetDefaultFocus:z(new L(87,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[u.localize("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),u.localize("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:u.localize("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:z(new w(88,"definitionLinkOpensInPeek",!1,{description:u.localize("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:z(new class extends m{constructor(){let e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[u.localize("on","Quick suggestions show inside the suggest widget"),u.localize("inline","Quick suggestions show as ghost text"),u.localize("off","Quick suggestions are disabled")]}];super(89,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:u.localize("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:u.localize("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:u.localize("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:u.localize("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.","#editor.suggestOnTriggerCharacters#")}),this.defaultValue=e}validate(e){if("boolean"==typeof e){let t=e?"on":"off";return{comments:t,strings:t,other:t}}if(!e||"object"!=typeof e)return this.defaultValue;let{other:t,comments:i,strings:n}=e,r=["on","inline","off"];return{other:"boolean"==typeof t?t?"on":"off":P(t,this.defaultValue.other,r),comments:"boolean"==typeof i?i?"on":"off":P(i,this.defaultValue.comments,r),strings:"boolean"==typeof n?n?"on":"off":P(n,this.defaultValue.strings,r)}}}),quickSuggestionsDelay:z(new x(90,"quickSuggestionsDelay",10,0,1073741824,{description:u.localize("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:z(new w(91,"readOnly",!1)),readOnlyMessage:z(new class extends m{constructor(){super(92,"readOnlyMessage",void 0)}validate(e){return e&&"object"==typeof e?e:this.defaultValue}}),renameOnType:z(new w(93,"renameOnType",!1,{description:u.localize("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:u.localize("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:z(new w(94,"renderControlCharacters",!0,{description:u.localize("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:z(new L(95,"renderFinalNewline",l.isLinux?"dimmed":"on",["off","on","dimmed"],{description:u.localize("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:z(new L(96,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",u.localize("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:u.localize("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:z(new w(97,"renderLineHighlightOnlyWhenFocus",!1,{description:u.localize("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:z(new L(98,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:z(new L(99,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",u.localize("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),u.localize("renderWhitespace.selection","Render whitespace characters only on selected text."),u.localize("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:u.localize("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:z(new x(100,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:z(new w(101,"roundedSelection",!0,{description:u.localize("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:z(new class extends m{constructor(){let e=[],t={type:"number",description:u.localize("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(102,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:u.localize("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:u.localize("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){let t=[];for(let i of e)"number"==typeof i?t.push({column:x.clampedInt(i,0,0,1e4),color:null}):i&&"object"==typeof i&&t.push({column:x.clampedInt(i.column,0,0,1e4),color:i.color});return t.sort((e,t)=>e.column-t.column),t}return this.defaultValue}}),scrollbar:z(new class extends m{constructor(){let e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1,ignoreHorizontalScrollbarInContentHeight:!1};super(103,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[u.localize("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),u.localize("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),u.localize("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:u.localize("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[u.localize("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),u.localize("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),u.localize("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:u.localize("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:u.localize("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:u.localize("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:u.localize("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")},"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight":{type:"boolean",default:e.ignoreHorizontalScrollbarInContentHeight,description:u.localize("scrollbar.ignoreHorizontalScrollbarInContentHeight","When set, the horizontal scrollbar will not increase the size of the editor's content.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;let t=x.clampedInt(e.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=x.clampedInt(e.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:x.clampedInt(e.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:R(e.vertical,this.defaultValue.vertical),horizontal:R(e.horizontal,this.defaultValue.horizontal),useShadows:C(e.useShadows,this.defaultValue.useShadows),verticalHasArrows:C(e.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:C(e.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:C(e.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:C(e.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:t,horizontalSliderSize:x.clampedInt(e.horizontalSliderSize,t,0,1e3),verticalScrollbarSize:i,verticalSliderSize:x.clampedInt(e.verticalSliderSize,i,0,1e3),scrollByPage:C(e.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:C(e.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}}),scrollBeyondLastColumn:z(new x(104,"scrollBeyondLastColumn",4,0,1073741824,{description:u.localize("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:z(new w(105,"scrollBeyondLastLine",!0,{description:u.localize("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:z(new w(106,"scrollPredominantAxis",!0,{description:u.localize("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:z(new w(107,"selectionClipboard",!0,{description:u.localize("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:l.isLinux})),selectionHighlight:z(new w(108,"selectionHighlight",!0,{description:u.localize("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:z(new w(109,"selectOnLineNumbers",!0)),showFoldingControls:z(new L(110,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[u.localize("showFoldingControls.always","Always show the folding controls."),u.localize("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),u.localize("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:u.localize("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:z(new w(111,"showUnused",!0,{description:u.localize("showUnused","Controls fading out of unused code.")})),showDeprecated:z(new w(140,"showDeprecated",!0,{description:u.localize("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:z(new class extends m{constructor(){let e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(141,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:u.localize("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[u.localize("editor.inlayHints.on","Inlay hints are enabled"),u.localize("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",l.isMacintosh?"Ctrl+Option":"Ctrl+Alt"),u.localize("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",l.isMacintosh?"Ctrl+Option":"Ctrl+Alt"),u.localize("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:u.localize("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:u.localize("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:u.localize("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){return e&&"object"==typeof e?("boolean"==typeof e.enabled&&(e.enabled=e.enabled?"on":"off"),{enabled:P(e.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:x.clampedInt(e.fontSize,this.defaultValue.fontSize,0,100),fontFamily:D.string(e.fontFamily,this.defaultValue.fontFamily),padding:C(e.padding,this.defaultValue.padding)}):this.defaultValue}}),snippetSuggestions:z(new L(112,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[u.localize("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),u.localize("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),u.localize("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),u.localize("snippetSuggestions.none","Do not show snippet suggestions.")],description:u.localize("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:z(new class extends m{constructor(){super(113,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:u.localize("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:u.localize("selectSubwords","Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),default:!0,type:"boolean"}})}validate(e){return e&&"object"==typeof e?{selectLeadingAndTrailingWhitespace:C(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:C(e.selectSubwords,this.defaultValue.selectSubwords)}:this.defaultValue}}),smoothScrolling:z(new w(114,"smoothScrolling",!1,{description:u.localize("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:z(new x(117,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:z(new class extends m{constructor(){let e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(118,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[u.localize("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),u.localize("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:u.localize("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:u.localize("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:u.localize("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:u.localize("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[u.localize("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),u.localize("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),u.localize("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),u.localize("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:u.localize("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:u.localize("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:u.localize("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:u.localize("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:u.localize("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:u.localize("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:u.localize("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:u.localize("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.matchOnWordStartOnly","When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:u.localize("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){return e&&"object"==typeof e?{insertMode:P(e.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:C(e.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:C(e.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:C(e.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:C(e.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:P(e.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:C(e.showIcons,this.defaultValue.showIcons),showStatusBar:C(e.showStatusBar,this.defaultValue.showStatusBar),preview:C(e.preview,this.defaultValue.preview),previewMode:P(e.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:C(e.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:C(e.showMethods,this.defaultValue.showMethods),showFunctions:C(e.showFunctions,this.defaultValue.showFunctions),showConstructors:C(e.showConstructors,this.defaultValue.showConstructors),showDeprecated:C(e.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:C(e.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:C(e.showFields,this.defaultValue.showFields),showVariables:C(e.showVariables,this.defaultValue.showVariables),showClasses:C(e.showClasses,this.defaultValue.showClasses),showStructs:C(e.showStructs,this.defaultValue.showStructs),showInterfaces:C(e.showInterfaces,this.defaultValue.showInterfaces),showModules:C(e.showModules,this.defaultValue.showModules),showProperties:C(e.showProperties,this.defaultValue.showProperties),showEvents:C(e.showEvents,this.defaultValue.showEvents),showOperators:C(e.showOperators,this.defaultValue.showOperators),showUnits:C(e.showUnits,this.defaultValue.showUnits),showValues:C(e.showValues,this.defaultValue.showValues),showConstants:C(e.showConstants,this.defaultValue.showConstants),showEnums:C(e.showEnums,this.defaultValue.showEnums),showEnumMembers:C(e.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:C(e.showKeywords,this.defaultValue.showKeywords),showWords:C(e.showWords,this.defaultValue.showWords),showColors:C(e.showColors,this.defaultValue.showColors),showFiles:C(e.showFiles,this.defaultValue.showFiles),showReferences:C(e.showReferences,this.defaultValue.showReferences),showFolders:C(e.showFolders,this.defaultValue.showFolders),showTypeParameters:C(e.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:C(e.showSnippets,this.defaultValue.showSnippets),showUsers:C(e.showUsers,this.defaultValue.showUsers),showIssues:C(e.showIssues,this.defaultValue.showIssues)}:this.defaultValue}}),inlineSuggest:z(new class extends m{constructor(){let e={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1,fontFamily:"default"};super(62,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:u.localize("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[u.localize("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),u.localize("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion."),u.localize("inlineSuggest.showToolbar.never","Never show the inline suggestion toolbar.")],description:u.localize("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:u.localize("inlineSuggest.suppressSuggestions","Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")},"editor.inlineSuggest.fontFamily":{type:"string",default:e.fontFamily,description:u.localize("inlineSuggest.fontFamily","Controls the font family of the inline suggestions.")}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled),mode:P(e.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:P(e.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),suppressSuggestions:C(e.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:C(e.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:D.string(e.fontFamily,this.defaultValue.fontFamily)}:this.defaultValue}}),inlineEdit:z(new class extends m{constructor(){let e={enabled:!1,showToolbar:"onHover",fontFamily:"default",keepOnBlur:!1,backgroundColoring:!1};super(63,"experimentalInlineEdit",e,{"editor.experimentalInlineEdit.enabled":{type:"boolean",default:e.enabled,description:u.localize("inlineEdit.enabled","Controls whether to show inline edits in the editor.")},"editor.experimentalInlineEdit.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[u.localize("inlineEdit.showToolbar.always","Show the inline edit toolbar whenever an inline suggestion is shown."),u.localize("inlineEdit.showToolbar.onHover","Show the inline edit toolbar when hovering over an inline suggestion."),u.localize("inlineEdit.showToolbar.never","Never show the inline edit toolbar.")],description:u.localize("inlineEdit.showToolbar","Controls when to show the inline edit toolbar.")},"editor.experimentalInlineEdit.fontFamily":{type:"string",default:e.fontFamily,description:u.localize("inlineEdit.fontFamily","Controls the font family of the inline edit.")},"editor.experimentalInlineEdit.backgroundColoring":{type:"boolean",default:e.backgroundColoring,description:u.localize("inlineEdit.backgroundColoring","Controls whether to color the background of inline edits.")}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled),showToolbar:P(e.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),fontFamily:D.string(e.fontFamily,this.defaultValue.fontFamily),keepOnBlur:C(e.keepOnBlur,this.defaultValue.keepOnBlur),backgroundColoring:C(e.backgroundColoring,this.defaultValue.backgroundColoring)}:this.defaultValue}}),inlineCompletionsAccessibilityVerbose:z(new w(149,"inlineCompletionsAccessibilityVerbose",!1,{description:u.localize("inlineCompletionsAccessibilityVerbose","Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.")})),suggestFontSize:z(new x(119,"suggestFontSize",0,0,1e3,{markdownDescription:u.localize("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:z(new x(120,"suggestLineHeight",0,0,1e3,{markdownDescription:u.localize("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:z(new w(121,"suggestOnTriggerCharacters",!0,{description:u.localize("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:z(new L(122,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[u.localize("suggestSelection.first","Always select the first suggestion."),u.localize("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),u.localize("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:u.localize("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:z(new L(123,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[u.localize("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),u.localize("tabCompletion.off","Disable tab completions."),u.localize("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:u.localize("tabCompletion","Enables tab completions.")})),tabIndex:z(new x(124,"tabIndex",0,-1,1073741824)),unicodeHighlight:z(new class extends m{constructor(){let e={nonBasicASCII:F,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:F,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(125,"unicodeHighlight",e,{[B.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,F],default:e.nonBasicASCII,description:u.localize("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[B.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:u.localize("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[B.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:u.localize("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[B.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,F],default:e.includeComments,description:u.localize("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[B.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,F],default:e.includeStrings,description:u.localize("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[B.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:u.localize("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[B.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:u.localize("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let i=!1;t.allowedCharacters&&e&&!a.equals(e.allowedCharacters,t.allowedCharacters)&&(e={...e,allowedCharacters:t.allowedCharacters},i=!0),t.allowedLocales&&e&&!a.equals(e.allowedLocales,t.allowedLocales)&&(e={...e,allowedLocales:t.allowedLocales},i=!0);let n=super.applyUpdate(e,t);return i?new v(n.newValue,!0):n}validate(e){return e&&"object"==typeof e?{nonBasicASCII:K(e.nonBasicASCII,F,[!0,!1,F]),invisibleCharacters:C(e.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:C(e.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:K(e.includeComments,F,[!0,!1,F]),includeStrings:K(e.includeStrings,F,[!0,!1,F]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}:this.defaultValue}validateBooleanMap(e,t){if("object"!=typeof e||!e)return t;let i={};for(let[t,n]of Object.entries(e))!0===n&&(i[t]=!0);return i}}),unusualLineTerminators:z(new L(126,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[u.localize("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),u.localize("unusualLineTerminators.off","Unusual line terminators are ignored."),u.localize("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:u.localize("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:z(new w(127,"useShadowDOM",!0)),useTabStops:z(new w(128,"useTabStops",!0,{description:u.localize("useTabStops","Spaces and tabs are inserted and deleted in alignment with tab stops.")})),wordBreak:z(new L(129,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[u.localize("wordBreak.normal","Use the default line break rule."),u.localize("wordBreak.keepAll","Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")],description:u.localize("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSegmenterLocales:z(new class extends m{constructor(){super(130,"wordSegmenterLocales",[],{anyOf:[{description:u.localize("wordSegmenterLocales","Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"string"},{description:u.localize("wordSegmenterLocales","Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"array",items:{type:"string"}}]})}validate(e){if("string"==typeof e&&(e=[e]),Array.isArray(e)){let t=[];for(let i of e)if("string"==typeof i)try{Intl.Segmenter.supportedLocalesOf(i).length>0&&t.push(i)}catch(e){}return t}return this.defaultValue}}),wordSeparators:z(new D(131,"wordSeparators",h.USUAL_WORD_SEPARATORS,{description:u.localize("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:z(new L(132,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[u.localize("wordWrap.off","Lines will never wrap."),u.localize("wordWrap.on","Lines will wrap at the viewport width."),u.localize({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),u.localize({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:u.localize({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:z(new D(133,"wordWrapBreakAfterCharacters"," })]?|/&.,;\xa2\xb0′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:z(new D(134,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「\xa3\xa5$£¥++")),wordWrapColumn:z(new x(135,"wordWrapColumn",80,1,1073741824,{markdownDescription:u.localize({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:z(new L(136,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:z(new L(137,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:z(new class extends b{constructor(){super(142)}compute(e,t,i){let n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),"default"===t.get(74)?n.push("mouse-default"):"copy"===t.get(74)&&n.push("mouse-copy"),t.get(111)&&n.push("showUnused"),t.get(140)&&n.push("showDeprecated"),n.join(" ")}}),defaultColorDecorators:z(new w(147,"defaultColorDecorators",!1,{markdownDescription:u.localize("defaultColorDecorators","Controls whether inline color decorations should be shown using the default document color provider")})),pixelRatio:z(new class extends b{constructor(){super(143)}compute(e,t,i){return e.pixelRatio}}),tabFocusMode:z(new w(144,"tabFocusMode",!1,{markdownDescription:u.localize("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:z(new O),wrappingInfo:z(new class extends b{constructor(){super(146)}compute(e,t,i){let n=t.get(145);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}}),wrappingIndent:z(new class extends m{constructor(){super(138,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[u.localize("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),u.localize("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),u.localize("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),u.localize("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:u.localize("wrappingIndent","Controls the indentation of wrapped lines."),default:"same"}})}validate(e){switch(e){case"none":return 0;case"same":break;case"indent":return 2;case"deepIndent":return 3}return 1}compute(e,t,i){let n=t.get(2);return 2===n?0:i}}),wrappingStrategy:z(new class extends m{constructor(){super(139,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[u.localize("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),u.localize("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:u.localize("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return P(e,"simple",["simple","advanced"])}compute(e,t,i){let n=t.get(2);return 2===n?"advanced":i}})}}),tk("hfZZt",function(e,t){var i,n;function r(e,t=0){return e[e.length-(1+t)]}function o(e){if(0===e.length)throw Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function s(e,t,i=(e,t)=>e===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0,r=e.length;n0))return e;n=e-1}}return-(i+1)}(e.length,n=>i(e[n],t))}function d(e,t){let i;let n=[];for(let r of e.slice(0).sort(t))i&&0===t(i[0],r)?i.push(r):(i=[r],n.push(i));return n}function*h(e,t){let i,n;for(let r of e)void 0!==n&&t(n,r)?i.push(r):(i&&(yield i),i=[r]),n=r;i&&(yield i)}function u(e,t){for(let i=0;i<=e.length;i++)t(0===i?void 0:e[i-1],i===e.length?void 0:e[i])}function g(e,t){for(let i=0;i!!e)}function f(e){let t=0;for(let i=0;i0}function _(e,t=e=>e){let i=new Set;return e.filter(e=>{let n=t(e);return!i.has(n)&&(i.add(n),!0)})}function b(e,t){return e.length>0?e[0]:t}function y(e,t){let i="number"==typeof t?e:0;"number"==typeof t?i=e:(i=0,t=e);let n=[];if(i<=t)for(let e=i;et;e--)n.push(e);return n}function C(e,t,i){let n=e.slice(0,t),r=e.slice(t);return n.concat(i,r)}function w(e,t){let i=e.indexOf(t);i>-1&&(e.splice(i,1),e.unshift(t))}function S(e,t){let i=e.indexOf(t);i>-1&&(e.splice(i,1),e.push(t))}function x(e,t){for(let i of t)e.push(i)}function k(e){return Array.isArray(e)?e:[e]}function E(e,t,i,n){let r=D(e,t),o=e.splice(r,i);return void 0===o&&(o=[]),function(e,t,i){let n=D(e,t),r=e.length,o=i.length;e.length=r+o;for(let t=r-1;t>=n;t--)e[t+o]=e[t];for(let t=0;tt(e(i),e(n))}function L(...e){return(t,n)=>{for(let r of e){let e=r(t,n);if(!i.isNeitherLessOrGreaterThan(e))return e}return i.neitherLessOrGreaterThan}}c(e.exports,"tail",()=>r),c(e.exports,"tail2",()=>o),c(e.exports,"equals",()=>s),c(e.exports,"removeFastWithoutKeepingOrder",()=>a),c(e.exports,"binarySearch",()=>l),c(e.exports,"quickSelect",()=>function e(t,i,n){if((t|=0)>=i.length)throw TypeError("invalid index");let r=i[Math.floor(i.length*Math.random())],o=[],s=[],a=[];for(let e of i){let t=n(e,r);t<0?o.push(e):t>0?s.push(e):a.push(e)}return td),c(e.exports,"groupAdjacentBy",()=>h),c(e.exports,"forEachAdjacent",()=>u),c(e.exports,"forEachWithNeighbors",()=>g),c(e.exports,"coalesce",()=>p),c(e.exports,"coalesceInPlace",()=>f),c(e.exports,"isFalsyOrEmpty",()=>m),c(e.exports,"isNonEmptyArray",()=>v),c(e.exports,"distinct",()=>_),c(e.exports,"firstOrDefault",()=>b),c(e.exports,"range",()=>y),c(e.exports,"arrayInsert",()=>C),c(e.exports,"pushToStart",()=>w),c(e.exports,"pushToEnd",()=>S),c(e.exports,"pushMany",()=>x),c(e.exports,"asArray",()=>k),c(e.exports,"splice",()=>E),c(e.exports,"compareBy",()=>P),c(e.exports,"tieBreakComparators",()=>L),c(e.exports,"numberComparator",()=>A),c(e.exports,"booleanComparator",()=>I),c(e.exports,"reverseOrder",()=>N),c(e.exports,"ArrayQueue",()=>T),c(e.exports,"CallbackIterable",()=>O),c(e.exports,"Permutation",()=>M),(n=i||(i={})).isLessThan=function(e){return e<0},n.isLessThanOrEqual=function(e){return e<=0},n.isGreaterThan=function(e){return e>0},n.isNeitherLessOrGreaterThan=function(e){return 0===e},n.greaterThan=1,n.lessThan=-1,n.neitherLessOrGreaterThan=0;let A=(e,t)=>e-t,I=(e,t)=>A(e?1:0,t?1:0);function N(e){return(t,i)=>-e(t,i)}class T{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;let i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(0!==this.length)return this.items[this.firstIdx]}dequeue(){let e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){let t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}class O{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new O(t=>this.iterate(i=>!e(i)||t(i)))}map(e){return new O(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t;let n=!0;return this.iterate(r=>((n||i.isGreaterThan(e(r,t)))&&(n=!1,t=r),!0)),t}}O.empty=new O(e=>{});class M{constructor(e){this._indexMap=e}static createSortPermutation(e,t){let i=Array.from(e.keys()).sort((i,n)=>t(e[i],e[n]));return new M(i)}apply(e){return e.map((t,i)=>e[this._indexMap[i]])}inverse(){let e=this._indexMap.slice();for(let t=0;tfunction e(t){if(!t||"object"!=typeof t||t instanceof RegExp)return t;let i=Array.isArray(t)?[]:{};return Object.entries(t).forEach(([t,n])=>{i[t]=n&&"object"==typeof n?e(n):n}),i}),c(e.exports,"deepFreeze",()=>n),c(e.exports,"cloneAndChange",()=>o),c(e.exports,"mixin",()=>function e(t,n,r=!0){return(0,i.isObject)(t)?((0,i.isObject)(n)&&Object.keys(n).forEach(o=>{o in t?r&&((0,i.isObject)(t[o])&&(0,i.isObject)(n[o])?e(t[o],n[o],r):t[o]=n[o]):t[o]=n[o]}),t):n}),c(e.exports,"equals",()=>function e(t,i){let n,r;if(t===i)return!0;if(null==t||null==i||typeof t!=typeof i||"object"!=typeof t||Array.isArray(t)!==Array.isArray(i))return!1;if(Array.isArray(t)){if(t.length!==i.length)return!1;for(n=0;ns),c(e.exports,"createProxyObject",()=>a);var i=tx("fYBtw");function n(e){if(!e||"object"!=typeof e)return e;let t=[e];for(;t.length>0;){let e=t.shift();for(let n in Object.freeze(e),e)if(r.call(e,n)){let r=e[n];"object"!=typeof r||Object.isFrozen(r)||(0,i.isTypedArray)(r)||t.push(r)}}return e}let r=Object.prototype.hasOwnProperty;function o(e,t){return function e(t,n,o){if((0,i.isUndefinedOrNull)(t))return t;let s=n(t);if(void 0!==s)return s;if(Array.isArray(t)){let i=[];for(let r of t)i.push(e(r,n,o));return i}if((0,i.isObject)(t)){if(o.has(t))throw Error("Cannot clone recursive data-structure");o.add(t);let i={};for(let s in t)r.call(t,s)&&(i[s]=e(t[s],n,o));return o.delete(t),i}return t}(e,t,new Set)}function s(e){let t=[];for(let i of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"==typeof e[i]&&t.push(i);return t}function a(e,t){let i=e=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},n={};for(let t of e)n[t]=i(t);return n}}),tk("fYBtw",function(e,t){function i(e){return"string"==typeof e}function n(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function r(e){let t=Object.getPrototypeOf(Uint8Array);return"object"==typeof e&&e instanceof t}function o(e){return"number"==typeof e&&!isNaN(e)}function s(e){return!!e&&"function"==typeof e[Symbol.iterator]}function a(e){return!0===e||!1===e}function l(e){return void 0===e}function d(e){return!h(e)}function h(e){return l(e)||null===e}function u(e,t){if(!e)throw Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function g(e){if(h(e))throw Error("Assertion Failed: argument is undefined or null");return e}function p(e){return"function"==typeof e}function f(e,t){let n=Math.min(e.length,t.length);for(let r=0;ri),c(e.exports,"isObject",()=>n),c(e.exports,"isTypedArray",()=>r),c(e.exports,"isNumber",()=>o),c(e.exports,"isIterable",()=>s),c(e.exports,"isBoolean",()=>a),c(e.exports,"isUndefined",()=>l),c(e.exports,"isDefined",()=>d),c(e.exports,"isUndefinedOrNull",()=>h),c(e.exports,"assertType",()=>u),c(e.exports,"assertIsDefined",()=>g),c(e.exports,"isFunction",()=>p),c(e.exports,"validateConstraints",()=>f)}),tk("aWCAT",function(e,t){let i,n;c(e.exports,"isWindows",()=>y),c(e.exports,"isMacintosh",()=>C),c(e.exports,"isLinux",()=>w),c(e.exports,"isNative",()=>S),c(e.exports,"isWeb",()=>x),c(e.exports,"webWorkerOrigin",()=>E),c(e.exports,"isIOS",()=>D),c(e.exports,"isMobile",()=>P),c(e.exports,"language",()=>A),c(e.exports,"setTimeout0",()=>N),c(e.exports,"OS",()=>T),c(e.exports,"isLittleEndian",()=>R),c(e.exports,"isChrome",()=>F),c(e.exports,"isFirefox",()=>B),c(e.exports,"isSafari",()=>K),c(e.exports,"isEdge",()=>W),c(e.exports,"isAndroid",()=>X);var r,o,s=tx("2hvjT"),a=tx("8j2NX");let l=!1,d=!1,h=!1,u=!1,g=!1,p=!1,f=!1,m="en",v=globalThis;void 0!==v.vscode&&void 0!==v.vscode.process?n=v.vscode.process:void 0!==a&&"string"==typeof(null===(r=null==a?void 0:a.versions)||void 0===r?void 0:r.node)&&(n=a);let _="string"==typeof(null===(o=null==n?void 0:n.versions)||void 0===o?void 0:o.electron),b=_&&(null==n?void 0:n.type)==="renderer";if("object"==typeof n){l="win32"===n.platform,d="darwin"===n.platform,(h="linux"===n.platform)&&n.env.SNAP&&n.env.SNAP_REVISION,n.env.CI||n.env.BUILD_ARTIFACTSTAGINGDIRECTORY,m="en";let e=n.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),i=t.availableLanguages["*"];t.locale,t.osLocale,m=i||"en",t._translationsConfigFile}catch(e){}u=!0}else if("object"!=typeof navigator||b)console.error("Unable to resolve platform.");else{l=(i=navigator.userAgent).indexOf("Windows")>=0,d=i.indexOf("Macintosh")>=0,p=(i.indexOf("Macintosh")>=0||i.indexOf("iPad")>=0||i.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,h=i.indexOf("Linux")>=0,f=(null==i?void 0:i.indexOf("Mobi"))>=0,g=!0;let e=s.getConfiguredDefaultLocale(s.localize({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"));m=e||"en",navigator.language}let y=l,C=d,w=h,S=u,x=g,k=g&&"function"==typeof v.importScripts,E=k?v.origin:void 0,D=p,P=f,L=i,A=m,I="function"==typeof v.postMessage&&!v.importScripts,N=(()=>{if(I){let e=[];v.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=e.length;i{let n=++t;e.push({id:n,callback:i}),v.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})(),T=d||p?2:l?1:3,O=!0,M=!1;function R(){if(!M){M=!0;let e=new Uint8Array(2);e[0]=1,e[1]=2;let t=new Uint16Array(e.buffer);O=513===t[0]}return O}let F=!!(L&&L.indexOf("Chrome")>=0),B=!!(L&&L.indexOf("Firefox")>=0),K=!!(!F&&L&&L.indexOf("Safari")>=0),W=!!(L&&L.indexOf("Edg/")>=0),X=!!(L&&L.indexOf("Android")>=0)}),tk("2hvjT",function(e,t){c(e.exports,"localize",()=>r),c(e.exports,"localize2",()=>o),c(e.exports,"getConfiguredDefaultLocale",()=>s);let i="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function n(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(e,i)=>{let n=i[0],r=t[n],o=e;return"string"==typeof r?o=r:("number"==typeof r||"boolean"==typeof r||null==r)&&(o=String(r)),o}),i&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function r(e,t,...i){return n(t,i)}function o(e,t,...i){let r=n(t,i);return{value:r,original:r}}function s(e){}}),tk("8j2NX",function(e,t){var i,n,r,o=e.exports={};function s(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(i===setTimeout)return setTimeout(e,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}catch(e){i=s}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c=[],d=!1,h=-1;function u(){d&&r&&(d=!1,r.length?c=r.concat(c):h=-1,c.length&&g())}function g(){if(!d){var e=l(u);d=!0;for(var t=c.length;t;){for(r=c,c=[];++h1)for(var i=1;ii);let i={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}}}),tk("kVRVx",function(e,t){c(e.exports,"USUAL_WORD_SEPARATORS",()=>r),c(e.exports,"DEFAULT_WORD_REGEXP",()=>o),c(e.exports,"ensureValidWordDefinition",()=>s),c(e.exports,"getWordAtText",()=>function e(t,n,r,o,l){if(n=s(n),l||(l=(0,i.Iterable).first(a)),r.length>l.maxLen){let i=t-l.maxLen/2;return i<0?i=0:o+=i,r=r.substring(i,t+l.maxLen/2),e(t,n,r,o,l)}let c=Date.now(),d=t-1-o,h=-1,u=null;for(let e=1;!(Date.now()-c>=l.timeBudget);e++){let t=d-l.windowSize*e;n.lastIndex=Math.max(0,t);let i=function(e,t,i,n){let r;for(;r=e.exec(t);){let t=r.index||0;if(t<=i&&e.lastIndex>=i)return r;if(n>0&&t>n)break}return null}(n,r,d,h);if(!i&&u||(u=i,t<=0))break;h=t}if(u){let e={word:u[0],startColumn:o+1+u.index,endColumn:o+1+u.index+u[0].length};return n.lastIndex=0,e}return null});var i=tx("7XFUZ"),n=tx("1IAZc");let r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",o=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(let i of r)e.indexOf(i)>=0||(t+="\\"+i);return RegExp(t+="\\s]+)","g")}();function s(e){let t=o;if(e&&e instanceof RegExp){if(e.global)t=e;else{let i="g";e.ignoreCase&&(i+="i"),e.multiline&&(i+="m"),e.unicode&&(i+="u"),t=new RegExp(e.source,i)}}return t.lastIndex=0,t}let a=new n.LinkedList;a.unshift({maxLen:1e3,windowSize:15,timeBudget:150})}),tk("7XFUZ",function(e,t){var i;c(e.exports,"Iterable",()=>i),function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;let i=Object.freeze([]);function*n(e){yield e}async function r(e){let t=[];for await(let i of e)t.push(i);return Promise.resolve(t)}e.empty=function(){return i},e.single=n,e.wrap=function(e){return t(e)?e:n(e)},e.from=function(e){return e||i},e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(let i of e)if(t(i))return!0;return!1},e.find=function(e,t){for(let i of e)if(t(i))return i},e.filter=function*(e,t){for(let i of e)t(i)&&(yield i)},e.map=function*(e,t){let i=0;for(let n of e)yield t(n,i++)},e.concat=function*(...e){for(let t of e)yield*t},e.reduce=function(e,t,i){let n=i;for(let i of e)n=t(n,i);return n},e.slice=function*(e,t,i=e.length){for(t<0&&(t+=e.length),i<0?i+=e.length:i>e.length&&(i=e.length);tr}]},e.asyncToArray=r}(i||(i={}))}),tk("1IAZc",function(e,t){c(e.exports,"LinkedList",()=>n);class i{constructor(e){this.element=e,this.next=i.Undefined,this.prev=i.Undefined}}i.Undefined=new i(void 0);class n{constructor(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===i.Undefined}clear(){let e=this._first;for(;e!==i.Undefined;){let t=e.next;e.prev=i.Undefined,e.next=i.Undefined,e=t}this._first=i.Undefined,this._last=i.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let n=new i(e);if(this._first===i.Undefined)this._first=n,this._last=n;else if(t){let e=this._last;this._last=n,n.prev=e,e.next=n}else{let e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==i.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==i.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==i.Undefined&&e.next!==i.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===i.Undefined&&e.next===i.Undefined?(this._first=i.Undefined,this._last=i.Undefined):e.next===i.Undefined?(this._last=this._last.prev,this._last.next=i.Undefined):e.prev===i.Undefined&&(this._first=this._first.next,this._first.prev=i.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==i.Undefined;)yield e.element,e=e.next}}}),tk("j8Ytl",function(e,t){c(e.exports,"createMonacoBaseAPI",()=>g);var i=tx("92LcW"),n=tx("7QlpW"),r=tx("1hXil"),o=tx("1kHFz"),s=tx("bObZh"),a=tx("4wyXc"),l=tx("b34Mx"),d=tx("lMQ4E"),h=tx("d6Eqw");class u{static chord(e,t){return(0,r.KeyChord)(e,t)}}function g(){return{editor:void 0,languages:void 0,CancellationTokenSource:i.CancellationTokenSource,Emitter:n.Emitter,KeyCode:h.KeyCode,KeyMod:u,Position:s.Position,Range:a.Range,Selection:l.Selection,SelectionDirection:h.SelectionDirection,MarkerSeverity:h.MarkerSeverity,MarkerTag:h.MarkerTag,Uri:o.URI,Token:d.Token}}u.CtrlCmd=2048,u.Shift=1024,u.Alt=512,u.WinCtrl=256}),tk("92LcW",function(e,t){c(e.exports,"CancellationToken",()=>n),c(e.exports,"CancellationTokenSource",()=>a);var i,n,r=tx("7QlpW");let o=Object.freeze(function(e,t){let i=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(i)}}});(i=n||(n={})).isCancellationToken=function(e){return e===i.None||e===i.Cancelled||e instanceof s||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},i.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.Event.None}),i.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:o});class s{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?o:(this._emitter||(this._emitter=new r.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class a{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new s),this._token}cancel(){this._token?this._token instanceof s&&this._token.cancel():this._token=n.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof s&&this._token.dispose():this._token=n.None}}}),tk("7QlpW",function(e,t){c(e.exports,"Event",()=>i),c(e.exports,"Emitter",()=>p),c(e.exports,"createEventDeliveryQueue",()=>f),c(e.exports,"PauseableEmitter",()=>v),c(e.exports,"DebounceEmitter",()=>_),c(e.exports,"MicrotaskEmitter",()=>b),c(e.exports,"EventMultiplexer",()=>y),c(e.exports,"EventBufferer",()=>C),c(e.exports,"Relay",()=>w);var i,n=tx("8xqBM"),r=tx("kvp1V"),o=tx("5OUe2"),s=tx("1IAZc"),a=tx("bVTAA");!function(e){function t(e){return(t,i=null,n)=>{let r,o=!1;return r=e(e=>o?void 0:(r?r.dispose():o=!0,t.call(i,e)),null,n),o&&r.dispose(),r}}function i(e,t,i){return r((i,n=null,r)=>e(e=>i.call(n,t(e)),null,r),i)}function n(e,t,i){return r((i,n=null,r)=>e(e=>t(e)&&i.call(n,e),null,r),i)}function r(e,t){let i;let n=new p({onWillAddFirstListener(){i=e(n.fire,n)},onDidRemoveLastListener(){null==i||i.dispose()}});return null==t||t.add(n),n.event}function s(e,t,i=100,n=!1,r=!1,o,s){let a,l,c,d;let h=0,u=new p({leakWarningThreshold:o,onWillAddFirstListener(){a=e(e=>{h++,c=t(c,e),n&&!d&&(u.fire(c),c=void 0),l=()=>{let e=c;c=void 0,d=void 0,(!n||h>1)&&u.fire(e),h=0},"number"==typeof i?(clearTimeout(d),d=setTimeout(l,i)):void 0===d&&(d=0,queueMicrotask(l))})},onWillRemoveListener(){r&&h>0&&(null==l||l())},onDidRemoveLastListener(){l=void 0,a.dispose()}});return null==s||s.add(u),u.event}e.None=()=>o.Disposable.None,e.defer=function(e,t){return s(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=t,e.map=i,e.forEach=function(e,t,i){return r((i,n=null,r)=>e(e=>{t(e),i.call(n,e)},null,r),i)},e.filter=n,e.signal=function(e){return e},e.any=function(...e){return(t,i=null,n)=>{let r=(0,o.combinedDisposable)(...e.map(e=>e(e=>t.call(i,e))));return n instanceof Array?n.push(r):n&&n.add(r),r}},e.reduce=function(e,t,n,r){let o=n;return i(e,e=>o=t(o,e),r)},e.debounce=s,e.accumulate=function(t,i=0,n){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],i,void 0,!0,void 0,n)},e.latch=function(e,t=(e,t)=>e===t,i){let r,o=!0;return n(e,e=>{let i=o||!t(e,r);return o=!1,r=e,i},i)},e.split=function(t,i,n){return[e.filter(t,i,n),e.filter(t,e=>!i(e),n)]},e.buffer=function(e,t=!1,i=[],n){let r=i.slice(),o=e(e=>{r?r.push(e):a.fire(e)});n&&n.add(o);let s=()=>{null==r||r.forEach(e=>a.fire(e)),r=null},a=new p({onWillAddFirstListener(){!o&&(o=e(e=>a.fire(e)),n&&n.add(o))},onDidAddFirstListener(){r&&(t?setTimeout(s):s())},onDidRemoveLastListener(){o&&o.dispose(),o=null}});return n&&n.add(a),a.event},e.chain=function(e,t){return(i,n,r)=>{let o=t(new l);return e(function(e){let t=o.evaluate(e);t!==a&&i.call(n,t)},void 0,r)}};let a=Symbol("HaltChainable");class l{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push(t=>(e(t),t)),this}filter(e){return this.steps.push(t=>e(t)?t:a),this}reduce(e,t){let i=t;return this.steps.push(t=>i=e(i,t)),this}latch(e=(e,t)=>e===t){let t,i=!0;return this.steps.push(n=>{let r=i||!e(n,t);return i=!1,t=n,r?n:a}),this}evaluate(e){for(let t of this.steps)if((e=t(e))===a)break;return e}}e.fromNodeEventEmitter=function(e,t,i=e=>e){let n=(...e)=>r.fire(i(...e)),r=new p({onWillAddFirstListener:()=>e.on(t,n),onDidRemoveLastListener:()=>e.removeListener(t,n)});return r.event},e.fromDOMEventEmitter=function(e,t,i=e=>e){let n=(...e)=>r.fire(i(...e)),r=new p({onWillAddFirstListener:()=>e.addEventListener(t,n),onDidRemoveLastListener:()=>e.removeEventListener(t,n)});return r.event},e.toPromise=function(e){return new Promise(i=>t(e)(i))},e.fromPromise=function(e){let t=new p;return e.then(e=>{t.fire(e)},()=>{t.fire(void 0)}).finally(()=>{t.dispose()}),t.event},e.runAndSubscribe=function(e,t,i){return t(i),e(e=>t(e))};class c{constructor(e,t){this._observable=e,this._counter=0,this._hasChanged=!1;this.emitter=new p({onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}}),t&&t.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){let i=new c(e,t);return i.emitter.event},e.fromObservableLight=function(e){return(t,i,n)=>{let r=0,s=!1,a={beginUpdate(){r++},endUpdate(){0==--r&&(e.reportChanges(),s&&(s=!1,t.call(i)))},handlePossibleChange(){},handleChange(){s=!0}};e.addObserver(a),e.reportChanges();let l={dispose(){e.removeObserver(a)}};return n instanceof o.DisposableStore?n.add(l):Array.isArray(n)&&n.push(l),l}}}(i||(i={}));class l{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${l._idPool++}`,l.all.add(this)}start(e){this._stopWatch=new a.StopWatch,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}l.all=new Set,l._idPool=0;class d{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let i=this.threshold;if(i<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class h{static create(){var e;return new h(null!==(e=Error().stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class u{constructor(e){this.value=e}}let g=void 0;class p{constructor(e){var t,i,n,r,o;this._size=0,this._options=e,this._leakageMon=(null===(t=this._options)||void 0===t?void 0:t.leakWarningThreshold)?new d(null!==(n=null===(i=this._options)||void 0===i?void 0:i.leakWarningThreshold)&&void 0!==n?n:-1):void 0,this._perfMon=(null===(r=this._options)||void 0===r?void 0:r._profName)?new l(this._options._profName):void 0,this._deliveryQueue=null===(o=this._options)||void 0===o?void 0:o.deliveryQueue}dispose(){var e,t,i,n;this._disposed||(this._disposed=!0,(null===(e=this._deliveryQueue)||void 0===e?void 0:e.current)===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),null===(i=null===(t=this._options)||void 0===t?void 0:t.onDidRemoveLastListener)||void 0===i||i.call(t),null===(n=this._leakageMon)||void 0===n||n.dispose())}get event(){var e;return null!==(e=this._event)&&void 0!==e||(this._event=(e,t,i)=>{var n,r,s,a,l;let c;if(this._leakageMon&&this._size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),o.Disposable.None;if(this._disposed)return o.Disposable.None;t&&(e=e.bind(t));let d=new u(e);this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(d.stack=h.create(),c=this._leakageMon.check(d.stack,this._size+1)),this._listeners?this._listeners instanceof u?(null!==(l=this._deliveryQueue)&&void 0!==l||(this._deliveryQueue=new m),this._listeners=[this._listeners,d]):this._listeners.push(d):(null===(r=null===(n=this._options)||void 0===n?void 0:n.onWillAddFirstListener)||void 0===r||r.call(n,this),this._listeners=d,null===(a=null===(s=this._options)||void 0===s?void 0:s.onDidAddFirstListener)||void 0===a||a.call(s,this)),this._size++;let p=(0,o.toDisposable)(()=>{null==g||g.unregister(p),null==c||c(),this._removeListener(d)});if(i instanceof o.DisposableStore?i.add(p):Array.isArray(i)&&i.push(p),g){let e=Error().stack.split("\n").slice(2).join("\n").trim();g.register(p,e,p)}return p}),this._event}_removeListener(e){var t,i,n,r;if(null===(i=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===i||i.call(t,this),!this._listeners)return;if(1===this._size){this._listeners=void 0,null===(r=null===(n=this._options)||void 0===n?void 0:n.onDidRemoveLastListener)||void 0===r||r.call(n,this),this._size=0;return}let o=this._listeners,s=o.indexOf(e);if(-1===s)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),Error("Attempted to dispose unknown listener");this._size--,o[s]=void 0;let a=this._deliveryQueue.current===this;if(2*this._size<=o.length){let e=0;for(let t=0;t0}}let f=()=>new m;class m{constructor(){this.i=-1,this.end=0}enqueue(e,t,i){this.i=0,this.end=i,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class v extends p{constructor(e){super(e),this._isPaused=0,this._eventQueue=new s.LinkedList,this._mergeFn=null==e?void 0:e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused){if(this._mergeFn){if(this._eventQueue.size>0){let e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}}fire(e){this._size&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class _ extends v{constructor(e){var t;super(e),this._delay=null!==(t=e.delay)&&void 0!==t?t:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class b extends p{constructor(e){super(e),this._queuedEvents=[],this._mergeFn=null==e?void 0:e.merge}fire(e){this.hasListeners()&&(this._queuedEvents.push(e),1===this._queuedEvents.length&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(e=>super.fire(e)),this._queuedEvents=[]}))}}class y{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new p({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(e){let t={event:e,listener:null};return this.events.push(t),this.hasListeners&&this.hook(t),(0,o.toDisposable)((0,r.createSingleCallFunction)(()=>{this.hasListeners&&this.unhook(t);let e=this.events.indexOf(t);this.events.splice(e,1)}))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(e=>this.hook(e))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(e=>this.unhook(e))}hook(e){e.listener=e.event(e=>this.emitter.fire(e))}unhook(e){var t;null===(t=e.listener)||void 0===t||t.dispose(),e.listener=null}dispose(){var e;for(let t of(this.emitter.dispose(),this.events))null===(e=t.listener)||void 0===e||e.dispose();this.events=[]}}class C{constructor(){this.buffers=[]}wrapEvent(e){return(t,i,n)=>e(e=>{let n=this.buffers[this.buffers.length-1];n?n.push(()=>t.call(i,e)):t.call(i,e)},void 0,n)}bufferEvents(e){let t=[];this.buffers.push(t);let i=e();return this.buffers.pop(),t.forEach(e=>e()),i}}class w{constructor(){this.listening=!1,this.inputEvent=i.None,this.inputEventListener=o.Disposable.None,this.emitter=new p({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}}),tk("8xqBM",function(e,t){c(e.exports,"onUnexpectedError",()=>n),c(e.exports,"isCancellationError",()=>a),c(e.exports,"onUnexpectedExternalError",()=>r),c(e.exports,"transformErrorForSerialization",()=>o),c(e.exports,"CancellationError",()=>l),c(e.exports,"canceled",()=>d),c(e.exports,"illegalArgument",()=>h),c(e.exports,"illegalState",()=>u),c(e.exports,"NotSupportedError",()=>g),c(e.exports,"BugIndicatingError",()=>f);let i=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(p.isErrorNoTelemetry(e))throw new p(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function n(e){a(e)||i.onUnexpectedError(e)}function r(e){a(e)||i.onUnexpectedExternalError(e)}function o(e){if(e instanceof Error){let{name:t,message:i}=e,n=e.stacktrace||e.stack;return{$isError:!0,name:t,message:i,stack:n,noTelemetry:p.isErrorNoTelemetry(e)}}return e}let s="Canceled";function a(e){return e instanceof l||e instanceof Error&&e.name===s&&e.message===s}class l extends Error{constructor(){super(s),this.name=this.message}}function d(){let e=Error(s);return e.name=e.message,e}function h(e){return e?Error(`Illegal argument: ${e}`):Error("Illegal argument")}function u(e){return e?Error(`Illegal state: ${e}`):Error("Illegal state")}class g extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}class p extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof p)return e;let t=new p;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class f extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,f.prototype)}}}),tk("kvp1V",function(e,t){c(e.exports,"createSingleCallFunction",()=>i);function i(e,t){let i;let n=this,r=!1;return function(){if(r)return i;if(r=!0,t)try{i=e.apply(n,arguments)}finally{t()}else i=e.apply(n,arguments);return i}}}),tk("5OUe2",function(e,t){c(e.exports,"Disposable",()=>p),c(e.exports,"trackDisposable",()=>r),c(e.exports,"markAsDisposed",()=>o),c(e.exports,"markAsSingleton",()=>a),c(e.exports,"isDisposable",()=>l),c(e.exports,"dispose",()=>d),c(e.exports,"combinedDisposable",()=>h),c(e.exports,"toDisposable",()=>u),c(e.exports,"DisposableStore",()=>g),c(e.exports,"MutableDisposable",()=>f),c(e.exports,"RefCountedDisposable",()=>m),c(e.exports,"ImmortalReference",()=>v),c(e.exports,"DisposableMap",()=>_);var i=tx("kvp1V"),n=tx("7XFUZ");function r(e){return e}function o(e){}function s(e,t){}function a(e){return e}function l(e){return"function"==typeof e.dispose&&0===e.dispose.length}function d(e){if((0,n.Iterable).is(e)){let t=[];for(let i of e)if(i)try{i.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function h(...e){let t=u(()=>d(e));return t}function u(e){let t={dispose:(0,i.createSingleCallFunction)(()=>{e()})};return t}class g{constructor(){var e;this._toDispose=new Set,this._isDisposed=!1,e=this}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{d(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return this._isDisposed?g.DISABLE_DISPOSED_WARNING||console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){e&&this._toDispose.has(e)&&this._toDispose.delete(e)}}g.DISABLE_DISPOSED_WARNING=!1;class p{constructor(){var e;this._store=new g,e=this,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}p.None=Object.freeze({dispose(){}});class f{constructor(){var e;this._isDisposed=!1,e=this}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null===(t=this._value)||void 0===t||t.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,null===(e=this._value)||void 0===e||e.dispose(),this._value=void 0}}class m{constructor(e){this._disposable=e,this._counter=1}acquire(){return this._counter++,this}release(){return 0==--this._counter&&this._disposable.dispose(),this}}class v{constructor(e){this.object=e}dispose(){}}class _{constructor(){var e;this._store=new Map,this._isDisposed=!1,e=this}dispose(){this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{d(this._store.values())}finally{this._store.clear()}}get(e){return this._store.get(e)}set(e,t,i=!1){var n;this._isDisposed&&console.warn(Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),i||null===(n=this._store.get(e))||void 0===n||n.dispose(),this._store.set(e,t)}deleteAndDispose(e){var t;null===(t=this._store.get(e))||void 0===t||t.dispose(),this._store.delete(e)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}}),tk("bVTAA",function(e,t){c(e.exports,"StopWatch",()=>n);let i=globalThis.performance&&"function"==typeof globalThis.performance.now;class n{static create(e){return new n(e)}constructor(e){this._now=i&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}}),tk("1hXil",function(e,t){var i,n;c(e.exports,"EVENT_KEY_CODE_MAP",()=>l),c(e.exports,"IMMUTABLE_CODE_TO_KEY_CODE",()=>p),c(e.exports,"KeyCodeUtils",()=>i),c(e.exports,"KeyChord",()=>m);class r{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let o=new r,s=new r,a=new r,l=Array(230),d={},h=[],u=Object.create(null),g=Object.create(null),p=[],f=[];for(let e=0;e<=193;e++)p[e]=-1;for(let e=0;e<=132;e++)f[e]=-1;function m(e,t){return(e|(65535&t)<<16>>>0)>>>0}(function(){let e=[],t=[];for(let i of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[n,r,c,m,v,_,b,y,C]=i;if(!t[r]&&(t[r]=!0,h[r]=c,u[c]=r,g[c.toLowerCase()]=r,n&&(p[r]=m,0!==m&&3!==m&&5!==m&&4!==m&&6!==m&&57!==m&&(f[m]=r))),!e[m]){if(e[m]=!0,!v)throw Error(`String representation missing for key code ${m} around scan code ${c}`);o.define(m,v),s.define(m,y||v),a.define(m,C||y||v)}_&&(l[_]=m),b&&(d[b]=m)}f[3]=46})(),(n=i||(i={})).toString=function(e){return o.keyCodeToStr(e)},n.fromString=function(e){return o.strToKeyCode(e)},n.toUserSettingsUS=function(e){return s.keyCodeToStr(e)},n.toUserSettingsGeneral=function(e){return a.keyCodeToStr(e)},n.fromUserSettings=function(e){return s.strToKeyCode(e)||a.strToKeyCode(e)},n.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return o.keyCodeToStr(e)}}),tk("1kHFz",function(e,t){c(e.exports,"URI",()=>l),c(e.exports,"uriToFsPath",()=>f);var i=tx("7ZQsw"),n=tx("aWCAT");let r=/^\w[\w\d+.-]*$/,o=/^\//,s=/^\/\//,a=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class l{static isUri(e){return e instanceof l||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,i,n,a,l=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=e||l?e:"file",this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,i||""),this.query=n||"",this.fragment=a||"",function(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!r.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!o.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(s.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,l))}get fsPath(){return f(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:i,path:n,query:r,fragment:o}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===i?i=this.authority:null===i&&(i=""),void 0===n?n=this.path:null===n&&(n=""),void 0===r?r=this.query:null===r&&(r=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&i===this.authority&&n===this.path&&r===this.query&&o===this.fragment)?this:new h(t,i,n,r,o)}static parse(e,t=!1){let i=a.exec(e);return i?new h(i[2]||"",_(i[4]||""),_(i[5]||""),_(i[7]||""),_(i[9]||""),t):new h("","","","","")}static file(e){let t="";if(n.isWindows&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){let i=e.indexOf("/",2);-1===i?(t=e.substring(2),e="/"):(t=e.substring(2,i),e=e.substring(i)||"/")}return new h("file",t,e,"","")}static from(e,t){let i=new h(e.scheme,e.authority,e.path,e.query,e.fragment,t);return i}static joinPath(e,...t){let r;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return r=n.isWindows&&"file"===e.scheme?l.file(i.win32.join(f(e,!0),...t)).path:i.posix.join(e.path,...t),e.with({path:r})}toString(e=!1){return m(this,e)}toJSON(){return this}static revive(e){var t,i;if(!e)return e;{if(e instanceof l)return e;let n=new h(e);return n._formatted=null!==(t=e.external)&&void 0!==t?t:null,n._fsPath=e._sep===d&&null!==(i=e.fsPath)&&void 0!==i?i:null,n}}}let d=n.isWindows?1:void 0;class h extends l{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=f(this,!1)),this._fsPath}toString(e=!1){return e?m(this,!0):(this._formatted||(this._formatted=m(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=d),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let u={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function g(e,t,i){let n;let r=-1;for(let o=0;o=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s||i&&91===s||i&&93===s||i&&58===s)-1!==r&&(n+=encodeURIComponent(e.substring(r,o)),r=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));let t=u[s];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,o)),r=-1),n+=t):-1===r&&(r=o)}}return -1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function p(e){let t;for(let i=0;i1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,n.isWindows&&(i=i.replace(/\//g,"\\")),i}function m(e,t){let i=t?p:g,n="",{scheme:r,authority:o,path:s,query:a,fragment:l}=e;if(r&&(n+=r+":"),(o||"file"===r)&&(n+="//"),o){let e=o.indexOf("@");if(-1!==e){let t=o.substr(0,e);o=o.substr(e+1),-1===(e=t.lastIndexOf(":"))?n+=i(t,!1,!1):n+=i(t.substr(0,e),!1,!1)+":"+i(t.substr(e+1),!1,!0),n+="@"}-1===(e=(o=o.toLowerCase()).lastIndexOf(":"))?n+=i(o,!1,!0):n+=i(o.substr(0,e),!1,!0)+o.substr(e)}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){let e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){let e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}n+=i(s,!0,!1)}return a&&(n+="?"+i(a,!1,!1)),l&&(n+="#"+(t?l:g(l,!1,!1))),n}let v=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function _(e){return e.match(v)?e.replace(v,e=>(function e(t){try{return decodeURIComponent(t)}catch(i){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}}),tk("7ZQsw",function(e,t){c(e.exports,"win32",()=>u),c(e.exports,"posix",()=>p),c(e.exports,"normalize",()=>f),c(e.exports,"resolve",()=>m),c(e.exports,"relative",()=>v),c(e.exports,"dirname",()=>_),c(e.exports,"basename",()=>b),c(e.exports,"extname",()=>y),c(e.exports,"sep",()=>C);var i=tx("2SbMF");class n extends Error{constructor(e,t,i){let n;"string"==typeof t&&0===t.indexOf("not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let r=-1!==e.indexOf(".")?"property":"argument",o=`The "${e}" ${r} ${n} of type ${t}`;super(o+=`. Received type ${typeof i}`),this.code="ERR_INVALID_ARG_TYPE"}}function r(e,t){if("string"!=typeof e)throw new n(t,"string",e)}let o="win32"===i.platform;function s(e){return 47===e||92===e}function a(e){return 47===e}function l(e){return e>=65&&e<=90||e>=97&&e<=122}function d(e,t,i,n){let r="",o=0,s=-1,a=0,l=0;for(let c=0;c<=e.length;++c){if(c2){let e=r.lastIndexOf(i);-1===e?(r="",o=0):o=(r=r.slice(0,e)).length-1-r.lastIndexOf(i),s=c,a=0;continue}if(0!==r.length){r="",o=0,s=c,a=0;continue}}t&&(r+=r.length>0?`${i}..`:"..",o=2)}else r.length>0?r+=`${i}${e.slice(s+1,c)}`:r=e.slice(s+1,c),o=c-s-1;s=c,a=0}else 46===l&&-1!==a?++a:a=-1}return r}function h(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new n(t,"Object",e)}(t,"pathObject");let i=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return i?i===t.root?`${i}${r}`:`${i}${e}${r}`:r}let u={resolve(...e){let t="",n="",o=!1;for(let a=e.length-1;a>=-1;a--){let c;if(a>=0){if(r(c=e[a],"path"),0===c.length)continue}else 0===t.length?c=i.cwd():(void 0===(c=i.env[`=${t}`]||i.cwd())||c.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===c.charCodeAt(2))&&(c=`${t}\\`);let d=c.length,h=0,u="",g=!1,p=c.charCodeAt(0);if(1===d)s(p)&&(h=1,g=!0);else if(s(p)){if(g=!0,s(c.charCodeAt(1))){let e=2,t=2;for(;e2&&s(c.charCodeAt(2))&&(g=!0,h=3));if(u.length>0){if(t.length>0){if(u.toLowerCase()!==t.toLowerCase())continue}else t=u}if(o){if(t.length>0)break}else if(n=`${c.slice(h)}\\${n}`,o=g,g&&t.length>0)break}return n=d(n,!o,"\\",s),o?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){let t;r(e,"path");let i=e.length;if(0===i)return".";let n=0,o=!1,c=e.charCodeAt(0);if(1===i)return a(c)?"\\":e;if(s(c)){if(o=!0,s(e.charCodeAt(1))){let r=2,o=2;for(;r2&&s(e.charCodeAt(2))&&(o=!0,n=3));let h=n0&&s(e.charCodeAt(i-1))&&(h+="\\"),void 0===t)?o?`\\${h}`:h:o?`${t}\\${h}`:`${t}${h}`},isAbsolute(e){r(e,"path");let t=e.length;if(0===t)return!1;let i=e.charCodeAt(0);return s(i)||t>2&&l(i)&&58===e.charCodeAt(1)&&s(e.charCodeAt(2))},join(...e){let t,i;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=i=o:t+=`\\${o}`)}if(void 0===t)return".";let n=!0,o=0;if("string"==typeof i&&s(i.charCodeAt(0))){++o;let e=i.length;e>1&&s(i.charCodeAt(1))&&(++o,e>2&&(s(i.charCodeAt(2))?++o:n=!1))}if(n){for(;o=2&&(t=`\\${t.slice(o)}`)}return u.normalize(t)},relative(e,t){if(r(e,"from"),r(t,"to"),e===t)return"";let i=u.resolve(e),n=u.resolve(t);if(i===n||(e=i.toLowerCase())===(t=n.toLowerCase()))return"";let o=0;for(;oo&&92===e.charCodeAt(s-1);)s--;let a=s-o,l=0;for(;ll&&92===t.charCodeAt(c-1);)c--;let d=c-l,h=ah){if(92===t.charCodeAt(l+p))return n.slice(l+p+1);if(2===p)return n.slice(l+p)}a>h&&(92===e.charCodeAt(o+p)?g=p:2===p&&(g=3)),-1===g&&(g=0)}let f="";for(p=o+g+1;p<=s;++p)(p===s||92===e.charCodeAt(p))&&(f+=0===f.length?"..":"\\..");return(l+=g,f.length>0)?`${f}${n.slice(l,c)}`:(92===n.charCodeAt(l)&&++l,n.slice(l,c))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=u.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(l(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){r(e,"path");let t=e.length;if(0===t)return".";let i=-1,n=0,o=e.charCodeAt(0);if(1===t)return s(o)?e:".";if(s(o)){if(i=n=1,s(e.charCodeAt(1))){let r=2,o=2;for(;r2&&s(e.charCodeAt(2))?3:2);let a=-1,c=!0;for(let i=t-1;i>=n;--i)if(s(e.charCodeAt(i))){if(!c){a=i;break}}else c=!1;if(-1===a){if(-1===i)return".";a=i}return e.slice(0,a)},basename(e,t){let i;void 0!==t&&r(t,"ext"),r(e,"path");let n=0,o=-1,a=!0;if(e.length>=2&&l(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(n=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let r=t.length-1,l=-1;for(i=e.length-1;i>=n;--i){let c=e.charCodeAt(i);if(s(c)){if(!a){n=i+1;break}}else -1===l&&(a=!1,l=i+1),r>=0&&(c===t.charCodeAt(r)?-1==--r&&(o=i):(r=-1,o=l))}return n===o?o=l:-1===o&&(o=e.length),e.slice(n,o)}for(i=e.length-1;i>=n;--i)if(s(e.charCodeAt(i))){if(!a){n=i+1;break}}else -1===o&&(a=!1,o=i+1);return -1===o?"":e.slice(n,o)},extname(e){r(e,"path");let t=0,i=-1,n=0,o=-1,a=!0,c=0;e.length>=2&&58===e.charCodeAt(1)&&l(e.charCodeAt(0))&&(t=n=2);for(let r=e.length-1;r>=t;--r){let t=e.charCodeAt(r);if(s(t)){if(!a){n=r+1;break}continue}-1===o&&(a=!1,o=r+1),46===t?-1===i?i=r:1!==c&&(c=1):-1!==i&&(c=-1)}return -1===i||-1===o||0===c||1===c&&i===o-1&&i===n+1?"":e.slice(i,o)},format:h.bind(null,"\\"),parse(e){r(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let i=e.length,n=0,o=e.charCodeAt(0);if(1===i)return s(o)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(s(o)){if(n=1,s(e.charCodeAt(1))){let t=2,r=2;for(;t0&&(t.root=e.slice(0,n));let a=-1,c=n,d=-1,h=!0,u=e.length-1,g=0;for(;u>=n;--u){if(s(o=e.charCodeAt(u))){if(!h){c=u+1;break}continue}-1===d&&(h=!1,d=u+1),46===o?-1===a?a=u:1!==g&&(g=1):-1!==a&&(g=-1)}return -1!==d&&(-1===a||0===g||1===g&&a===d-1&&a===c+1?t.base=t.name=e.slice(c,d):(t.name=e.slice(c,a),t.base=e.slice(c,d),t.ext=e.slice(a,d))),c>0&&c!==n?t.dir=e.slice(0,c-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},g=(()=>{if(o){let e=/\\/g;return()=>{let t=i.cwd().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>i.cwd()})(),p={resolve(...e){let t="",i=!1;for(let n=e.length-1;n>=-1&&!i;n--){let o=n>=0?e[n]:g();r(o,"path"),0!==o.length&&(t=`${o}/${t}`,i=47===o.charCodeAt(0))}return(t=d(t,!i,"/",a),i)?`/${t}`:t.length>0?t:"."},normalize(e){if(r(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0===(e=d(e,!t,"/",a)).length?t?"/":i?"./":".":(i&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(r(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let i=0;i0&&(void 0===t?t=n:t+=`/${n}`)}return void 0===t?".":p.normalize(t)},relative(e,t){if(r(e,"from"),r(t,"to"),e===t||(e=p.resolve(e))===(t=p.resolve(t)))return"";let i=e.length,n=i-1,o=t.length-1,s=ns){if(47===t.charCodeAt(1+l))return t.slice(1+l+1);if(0===l)return t.slice(1+l)}else n>s&&(47===e.charCodeAt(1+l)?a=l:0===l&&(a=0))}let c="";for(l=1+a+1;l<=i;++l)(l===i||47===e.charCodeAt(l))&&(c+=0===c.length?"..":"/..");return`${c}${t.slice(1+a)}`},toNamespacedPath:e=>e,dirname(e){if(r(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=-1,n=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!n){i=t;break}}else n=!1;return -1===i?t?"/":".":t&&1===i?"//":e.slice(0,i)},basename(e,t){let i;void 0!==t&&r(t,"ext"),r(e,"path");let n=0,o=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let r=t.length-1,a=-1;for(i=e.length-1;i>=0;--i){let l=e.charCodeAt(i);if(47===l){if(!s){n=i+1;break}}else -1===a&&(s=!1,a=i+1),r>=0&&(l===t.charCodeAt(r)?-1==--r&&(o=i):(r=-1,o=a))}return n===o?o=a:-1===o&&(o=e.length),e.slice(n,o)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!s){n=i+1;break}}else -1===o&&(s=!1,o=i+1);return -1===o?"":e.slice(n,o)},extname(e){r(e,"path");let t=-1,i=0,n=-1,o=!0,s=0;for(let r=e.length-1;r>=0;--r){let a=e.charCodeAt(r);if(47===a){if(!o){i=r+1;break}continue}-1===n&&(o=!1,n=r+1),46===a?-1===t?t=r:1!==s&&(s=1):-1!==t&&(s=-1)}return -1===t||-1===n||0===s||1===s&&t===n-1&&t===i+1?"":e.slice(t,n)},format:h.bind(null,"/"),parse(e){let t;r(e,"path");let i={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return i;let n=47===e.charCodeAt(0);n?(i.root="/",t=1):t=0;let o=-1,s=0,a=-1,l=!0,c=e.length-1,d=0;for(;c>=t;--c){let t=e.charCodeAt(c);if(47===t){if(!l){s=c+1;break}continue}-1===a&&(l=!1,a=c+1),46===t?-1===o?o=c:1!==d&&(d=1):-1!==o&&(d=-1)}if(-1!==a){let t=0===s&&n?1:s;-1===o||0===d||1===d&&o===a-1&&o===s+1?i.base=i.name=e.slice(t,a):(i.name=e.slice(t,o),i.base=e.slice(t,a),i.ext=e.slice(o,a))}return s>0?i.dir=e.slice(0,s-1):n&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};p.win32=u.win32=u,p.posix=u.posix=p;let f=o?u.normalize:p.normalize,m=o?u.resolve:p.resolve,v=o?u.relative:p.relative,_=o?u.dirname:p.dirname,b=o?u.basename:p.basename,y=o?u.extname:p.extname,C=o?u.sep:p.sep}),tk("2SbMF",function(e,t){let i;c(e.exports,"cwd",()=>s),c(e.exports,"env",()=>a),c(e.exports,"platform",()=>l);var n=tx("aWCAT"),r=tx("8j2NX");let o=globalThis.vscode;if(void 0!==o&&void 0!==o.process){let e=o.process;i={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd:()=>e.cwd()}}else i=void 0!==r?{get platform(){return r.platform},get arch(){return r.arch},get env(){return r.env},cwd:()=>r.cwd()}:{get platform(){return n.isWindows?"win32":n.isMacintosh?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let s=i.cwd,a=i.env,l=i.platform}),tk("bObZh",function(e,t){c(e.exports,"Position",()=>i);class i{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new i(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return i.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return i.isBefore(this,e)}static isBefore(e,t){return e.lineNumbern);var i=tx("bObZh");class n{constructor(e,t,i,n){e>i||e===i&&t>n?(this.startLineNumber=i,this.startColumn=n,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=i,this.endColumn=n)}isEmpty(){return n.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return n.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))}containsRange(e){return n.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))}strictContainsRange(e){return n.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))}plusRange(e){return n.plusRange(this,e)}static plusRange(e,t){let i,r,o,s;return t.startLineNumbere.endLineNumber?(o=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,s=e.endColumn),new n(i,r,o,s)}intersectRanges(e){return n.intersectRanges(this,e)}static intersectRanges(e,t){let i=e.startLineNumber,r=e.startColumn,o=e.endLineNumber,s=e.endColumn,a=t.startLineNumber,l=t.startColumn,c=t.endLineNumber,d=t.endColumn;return(ic?(o=c,s=d):o===c&&(s=Math.min(s,d)),i>o||i===o&&r>s)?null:new n(i,r,o,s)}equalsRange(e){return n.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return n.getEndPosition(this)}static getEndPosition(e){return new i.Position(e.endLineNumber,e.endColumn)}getStartPosition(){return n.getStartPosition(this)}static getStartPosition(e){return new i.Position(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new n(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new n(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return n.collapseToStart(this)}static collapseToStart(e){return new n(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return n.collapseToEnd(this)}static collapseToEnd(e){return new n(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new n(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new n(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new n(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}}),tk("b34Mx",function(e,t){c(e.exports,"Selection",()=>r);var i=tx("bObZh"),n=tx("4wyXc");class r extends n.Range{constructor(e,t,i,n){super(e,t,i,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=i,this.positionColumn=n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return r.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new r(this.startLineNumber,this.startColumn,e,t):new r(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new i.Position(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new i.Position(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new r(e,t,this.endLineNumber,this.endColumn):new r(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new r(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new r(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new r(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new r(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let i=0,n=e.length;ik),c(e.exports,"TokenizationResult",()=>E),c(e.exports,"EncodedTokenizationResult",()=>D),c(e.exports,"CompletionItemKinds",()=>d),c(e.exports,"InlineCompletionTriggerKind",()=>h),c(e.exports,"SelectedSuggestionInfo",()=>P),c(e.exports,"DocumentPasteTriggerKind",()=>u),c(e.exports,"SignatureHelpTriggerKind",()=>g),c(e.exports,"DocumentHighlightKind",()=>p),c(e.exports,"isLocationLink",()=>L),c(e.exports,"getAriaLabelForSymbol",()=>I),c(e.exports,"SymbolKinds",()=>f),c(e.exports,"FoldingRangeKind",()=>N),c(e.exports,"NewSymbolNameTag",()=>m),c(e.exports,"Command",()=>v),c(e.exports,"InlayHintKind",()=>_),c(e.exports,"LazyTokenizationSupport",()=>T),c(e.exports,"TokenizationRegistry",()=>O),c(e.exports,"InlineEditTriggerKind",()=>b);var i,n,r,o,s,a,l,d,h,u,g,p,f,m,v,_,b,y=tx("dNs4Z"),C=tx("1kHFz"),w=tx("4wyXc"),S=tx("O8u1m"),x=tx("2hvjT");class k{constructor(e,t,i){this.offset=e,this.type=t,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}class E{constructor(e,t){this.tokens=e,this.endState=t,this._tokenizationResultBrand=void 0}}class D{constructor(e,t){this.tokens=e,this.endState=t,this._encodedTokenizationResultBrand=void 0}}(function(e){let t=new Map;t.set(0,y.Codicon.symbolMethod),t.set(1,y.Codicon.symbolFunction),t.set(2,y.Codicon.symbolConstructor),t.set(3,y.Codicon.symbolField),t.set(4,y.Codicon.symbolVariable),t.set(5,y.Codicon.symbolClass),t.set(6,y.Codicon.symbolStruct),t.set(7,y.Codicon.symbolInterface),t.set(8,y.Codicon.symbolModule),t.set(9,y.Codicon.symbolProperty),t.set(10,y.Codicon.symbolEvent),t.set(11,y.Codicon.symbolOperator),t.set(12,y.Codicon.symbolUnit),t.set(13,y.Codicon.symbolValue),t.set(15,y.Codicon.symbolEnum),t.set(14,y.Codicon.symbolConstant),t.set(15,y.Codicon.symbolEnum),t.set(16,y.Codicon.symbolEnumMember),t.set(17,y.Codicon.symbolKeyword),t.set(27,y.Codicon.symbolSnippet),t.set(18,y.Codicon.symbolText),t.set(19,y.Codicon.symbolColor),t.set(20,y.Codicon.symbolFile),t.set(21,y.Codicon.symbolReference),t.set(22,y.Codicon.symbolCustomColor),t.set(23,y.Codicon.symbolFolder),t.set(24,y.Codicon.symbolTypeParameter),t.set(25,y.Codicon.account),t.set(26,y.Codicon.issues),e.toIcon=function(e){let i=t.get(e);return i||(console.info("No codicon found for CompletionItemKind "+e),i=y.Codicon.symbolProperty),i};let i=new Map;i.set("method",0),i.set("function",1),i.set("constructor",2),i.set("field",3),i.set("variable",4),i.set("class",5),i.set("struct",6),i.set("interface",7),i.set("module",8),i.set("property",9),i.set("event",10),i.set("operator",11),i.set("unit",12),i.set("value",13),i.set("constant",14),i.set("enum",15),i.set("enum-member",16),i.set("enumMember",16),i.set("keyword",17),i.set("snippet",27),i.set("text",18),i.set("color",19),i.set("file",20),i.set("reference",21),i.set("customcolor",22),i.set("folder",23),i.set("type-parameter",24),i.set("typeParameter",24),i.set("account",25),i.set("issue",26),e.fromString=function(e,t){let n=i.get(e);return void 0!==n||t||(n=9),n}})(d||(d={})),(i=h||(h={}))[i.Automatic=0]="Automatic",i[i.Explicit=1]="Explicit";class P{constructor(e,t,i,n){this.range=e,this.text=t,this.completionKind=i,this.isSnippetText=n}equals(e){return(0,w.Range).lift(this.range).equalsRange(e.range)&&this.text===e.text&&this.completionKind===e.completionKind&&this.isSnippetText===e.isSnippetText}}function L(e){return e&&(0,C.URI).isUri(e.uri)&&(0,w.Range).isIRange(e.range)&&((0,w.Range).isIRange(e.originSelectionRange)||(0,w.Range).isIRange(e.targetSelectionRange))}(n=u||(u={}))[n.Automatic=0]="Automatic",n[n.PasteAs=1]="PasteAs",(r=g||(g={}))[r.Invoke=1]="Invoke",r[r.TriggerCharacter=2]="TriggerCharacter",r[r.ContentChange=3]="ContentChange",(o=p||(p={}))[o.Text=0]="Text",o[o.Read=1]="Read",o[o.Write=2]="Write";let A={17:(0,x.localize)("Array","array"),16:(0,x.localize)("Boolean","boolean"),4:(0,x.localize)("Class","class"),13:(0,x.localize)("Constant","constant"),8:(0,x.localize)("Constructor","constructor"),9:(0,x.localize)("Enum","enumeration"),21:(0,x.localize)("EnumMember","enumeration member"),23:(0,x.localize)("Event","event"),7:(0,x.localize)("Field","field"),0:(0,x.localize)("File","file"),11:(0,x.localize)("Function","function"),10:(0,x.localize)("Interface","interface"),19:(0,x.localize)("Key","key"),5:(0,x.localize)("Method","method"),1:(0,x.localize)("Module","module"),2:(0,x.localize)("Namespace","namespace"),20:(0,x.localize)("Null","null"),15:(0,x.localize)("Number","number"),18:(0,x.localize)("Object","object"),24:(0,x.localize)("Operator","operator"),3:(0,x.localize)("Package","package"),6:(0,x.localize)("Property","property"),14:(0,x.localize)("String","string"),22:(0,x.localize)("Struct","struct"),25:(0,x.localize)("TypeParameter","type parameter"),12:(0,x.localize)("Variable","variable")};function I(e,t){return(0,x.localize)("symbolAriaLabel","{0} ({1})",e,A[t])}!function(e){let t=new Map;t.set(0,y.Codicon.symbolFile),t.set(1,y.Codicon.symbolModule),t.set(2,y.Codicon.symbolNamespace),t.set(3,y.Codicon.symbolPackage),t.set(4,y.Codicon.symbolClass),t.set(5,y.Codicon.symbolMethod),t.set(6,y.Codicon.symbolProperty),t.set(7,y.Codicon.symbolField),t.set(8,y.Codicon.symbolConstructor),t.set(9,y.Codicon.symbolEnum),t.set(10,y.Codicon.symbolInterface),t.set(11,y.Codicon.symbolFunction),t.set(12,y.Codicon.symbolVariable),t.set(13,y.Codicon.symbolConstant),t.set(14,y.Codicon.symbolString),t.set(15,y.Codicon.symbolNumber),t.set(16,y.Codicon.symbolBoolean),t.set(17,y.Codicon.symbolArray),t.set(18,y.Codicon.symbolObject),t.set(19,y.Codicon.symbolKey),t.set(20,y.Codicon.symbolNull),t.set(21,y.Codicon.symbolEnumMember),t.set(22,y.Codicon.symbolStruct),t.set(23,y.Codicon.symbolEvent),t.set(24,y.Codicon.symbolOperator),t.set(25,y.Codicon.symbolTypeParameter),e.toIcon=function(e){let i=t.get(e);return i||(console.info("No codicon found for SymbolKind "+e),i=y.Codicon.symbolProperty),i}}(f||(f={}));class N{static fromValue(e){switch(e){case"comment":return N.Comment;case"imports":return N.Imports;case"region":return N.Region}return new N(e)}constructor(e){this.value=e}}N.Comment=new N("comment"),N.Imports=new N("imports"),N.Region=new N("region"),(s=m||(m={}))[s.AIGenerated=1]="AIGenerated",(v||(v={})).is=function(e){return!!e&&"object"==typeof e&&"string"==typeof e.id&&"string"==typeof e.title},(a=_||(_={}))[a.Type=1]="Type",a[a.Parameter=2]="Parameter";class T{constructor(e){this.createSupport=e,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(e=>{e&&e.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}let O=new S.TokenizationRegistry;(l=b||(b={}))[l.Invoke=0]="Invoke",l[l.Automatic=1]="Automatic"}),tk("dNs4Z",function(e,t){c(e.exports,"Codicon",()=>o);var i=tx("jfYuX"),n=tx("ioaVu");let r={dialogError:(0,i.register)("dialog-error","error"),dialogWarning:(0,i.register)("dialog-warning","warning"),dialogInfo:(0,i.register)("dialog-info","info"),dialogClose:(0,i.register)("dialog-close","close"),treeItemExpanded:(0,i.register)("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:(0,i.register)("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:(0,i.register)("tree-filter-on-type-off","list-selection"),treeFilterClear:(0,i.register)("tree-filter-clear","close"),treeItemLoading:(0,i.register)("tree-item-loading","loading"),menuSelection:(0,i.register)("menu-selection","check"),menuSubmenu:(0,i.register)("menu-submenu","chevron-right"),menuBarMore:(0,i.register)("menubar-more","more"),scrollbarButtonLeft:(0,i.register)("scrollbar-button-left","triangle-left"),scrollbarButtonRight:(0,i.register)("scrollbar-button-right","triangle-right"),scrollbarButtonUp:(0,i.register)("scrollbar-button-up","triangle-up"),scrollbarButtonDown:(0,i.register)("scrollbar-button-down","triangle-down"),toolBarMore:(0,i.register)("toolbar-more","more"),quickInputBack:(0,i.register)("quick-input-back","arrow-left"),dropDownButton:(0,i.register)("drop-down-button",60084),symbolCustomColor:(0,i.register)("symbol-customcolor",60252),exportIcon:(0,i.register)("export",60332),workspaceUnspecified:(0,i.register)("workspace-unspecified",60355),newLine:(0,i.register)("newline",60394),thumbsDownFilled:(0,i.register)("thumbsdown-filled",60435),thumbsUpFilled:(0,i.register)("thumbsup-filled",60436),gitFetch:(0,i.register)("git-fetch",60445),lightbulbSparkleAutofix:(0,i.register)("lightbulb-sparkle-autofix",60447),debugBreakpointPending:(0,i.register)("debug-breakpoint-pending",60377)},o={...n.codiconsLibrary,...r}}),tk("jfYuX",function(e,t){c(e.exports,"register",()=>r),c(e.exports,"getCodiconFontCharacters",()=>o);var i=tx("fYBtw");let n=Object.create(null);function r(e,t){if((0,i.isString)(t)){let i=n[t];if(void 0===i)throw Error(`${e} references an unknown codicon: ${t}`);t=i}return n[e]=t,{id:e}}function o(){return n}}),tk("ioaVu",function(e,t){c(e.exports,"codiconsLibrary",()=>n);var i=tx("jfYuX");let n={add:(0,i.register)("add",6e4),plus:(0,i.register)("plus",6e4),gistNew:(0,i.register)("gist-new",6e4),repoCreate:(0,i.register)("repo-create",6e4),lightbulb:(0,i.register)("lightbulb",60001),lightBulb:(0,i.register)("light-bulb",60001),repo:(0,i.register)("repo",60002),repoDelete:(0,i.register)("repo-delete",60002),gistFork:(0,i.register)("gist-fork",60003),repoForked:(0,i.register)("repo-forked",60003),gitPullRequest:(0,i.register)("git-pull-request",60004),gitPullRequestAbandoned:(0,i.register)("git-pull-request-abandoned",60004),recordKeys:(0,i.register)("record-keys",60005),keyboard:(0,i.register)("keyboard",60005),tag:(0,i.register)("tag",60006),gitPullRequestLabel:(0,i.register)("git-pull-request-label",60006),tagAdd:(0,i.register)("tag-add",60006),tagRemove:(0,i.register)("tag-remove",60006),person:(0,i.register)("person",60007),personFollow:(0,i.register)("person-follow",60007),personOutline:(0,i.register)("person-outline",60007),personFilled:(0,i.register)("person-filled",60007),gitBranch:(0,i.register)("git-branch",60008),gitBranchCreate:(0,i.register)("git-branch-create",60008),gitBranchDelete:(0,i.register)("git-branch-delete",60008),sourceControl:(0,i.register)("source-control",60008),mirror:(0,i.register)("mirror",60009),mirrorPublic:(0,i.register)("mirror-public",60009),star:(0,i.register)("star",60010),starAdd:(0,i.register)("star-add",60010),starDelete:(0,i.register)("star-delete",60010),starEmpty:(0,i.register)("star-empty",60010),comment:(0,i.register)("comment",60011),commentAdd:(0,i.register)("comment-add",60011),alert:(0,i.register)("alert",60012),warning:(0,i.register)("warning",60012),search:(0,i.register)("search",60013),searchSave:(0,i.register)("search-save",60013),logOut:(0,i.register)("log-out",60014),signOut:(0,i.register)("sign-out",60014),logIn:(0,i.register)("log-in",60015),signIn:(0,i.register)("sign-in",60015),eye:(0,i.register)("eye",60016),eyeUnwatch:(0,i.register)("eye-unwatch",60016),eyeWatch:(0,i.register)("eye-watch",60016),circleFilled:(0,i.register)("circle-filled",60017),primitiveDot:(0,i.register)("primitive-dot",60017),closeDirty:(0,i.register)("close-dirty",60017),debugBreakpoint:(0,i.register)("debug-breakpoint",60017),debugBreakpointDisabled:(0,i.register)("debug-breakpoint-disabled",60017),debugHint:(0,i.register)("debug-hint",60017),terminalDecorationSuccess:(0,i.register)("terminal-decoration-success",60017),primitiveSquare:(0,i.register)("primitive-square",60018),edit:(0,i.register)("edit",60019),pencil:(0,i.register)("pencil",60019),info:(0,i.register)("info",60020),issueOpened:(0,i.register)("issue-opened",60020),gistPrivate:(0,i.register)("gist-private",60021),gitForkPrivate:(0,i.register)("git-fork-private",60021),lock:(0,i.register)("lock",60021),mirrorPrivate:(0,i.register)("mirror-private",60021),close:(0,i.register)("close",60022),removeClose:(0,i.register)("remove-close",60022),x:(0,i.register)("x",60022),repoSync:(0,i.register)("repo-sync",60023),sync:(0,i.register)("sync",60023),clone:(0,i.register)("clone",60024),desktopDownload:(0,i.register)("desktop-download",60024),beaker:(0,i.register)("beaker",60025),microscope:(0,i.register)("microscope",60025),vm:(0,i.register)("vm",60026),deviceDesktop:(0,i.register)("device-desktop",60026),file:(0,i.register)("file",60027),fileText:(0,i.register)("file-text",60027),more:(0,i.register)("more",60028),ellipsis:(0,i.register)("ellipsis",60028),kebabHorizontal:(0,i.register)("kebab-horizontal",60028),mailReply:(0,i.register)("mail-reply",60029),reply:(0,i.register)("reply",60029),organization:(0,i.register)("organization",60030),organizationFilled:(0,i.register)("organization-filled",60030),organizationOutline:(0,i.register)("organization-outline",60030),newFile:(0,i.register)("new-file",60031),fileAdd:(0,i.register)("file-add",60031),newFolder:(0,i.register)("new-folder",60032),fileDirectoryCreate:(0,i.register)("file-directory-create",60032),trash:(0,i.register)("trash",60033),trashcan:(0,i.register)("trashcan",60033),history:(0,i.register)("history",60034),clock:(0,i.register)("clock",60034),folder:(0,i.register)("folder",60035),fileDirectory:(0,i.register)("file-directory",60035),symbolFolder:(0,i.register)("symbol-folder",60035),logoGithub:(0,i.register)("logo-github",60036),markGithub:(0,i.register)("mark-github",60036),github:(0,i.register)("github",60036),terminal:(0,i.register)("terminal",60037),console:(0,i.register)("console",60037),repl:(0,i.register)("repl",60037),zap:(0,i.register)("zap",60038),symbolEvent:(0,i.register)("symbol-event",60038),error:(0,i.register)("error",60039),stop:(0,i.register)("stop",60039),variable:(0,i.register)("variable",60040),symbolVariable:(0,i.register)("symbol-variable",60040),array:(0,i.register)("array",60042),symbolArray:(0,i.register)("symbol-array",60042),symbolModule:(0,i.register)("symbol-module",60043),symbolPackage:(0,i.register)("symbol-package",60043),symbolNamespace:(0,i.register)("symbol-namespace",60043),symbolObject:(0,i.register)("symbol-object",60043),symbolMethod:(0,i.register)("symbol-method",60044),symbolFunction:(0,i.register)("symbol-function",60044),symbolConstructor:(0,i.register)("symbol-constructor",60044),symbolBoolean:(0,i.register)("symbol-boolean",60047),symbolNull:(0,i.register)("symbol-null",60047),symbolNumeric:(0,i.register)("symbol-numeric",60048),symbolNumber:(0,i.register)("symbol-number",60048),symbolStructure:(0,i.register)("symbol-structure",60049),symbolStruct:(0,i.register)("symbol-struct",60049),symbolParameter:(0,i.register)("symbol-parameter",60050),symbolTypeParameter:(0,i.register)("symbol-type-parameter",60050),symbolKey:(0,i.register)("symbol-key",60051),symbolText:(0,i.register)("symbol-text",60051),symbolReference:(0,i.register)("symbol-reference",60052),goToFile:(0,i.register)("go-to-file",60052),symbolEnum:(0,i.register)("symbol-enum",60053),symbolValue:(0,i.register)("symbol-value",60053),symbolRuler:(0,i.register)("symbol-ruler",60054),symbolUnit:(0,i.register)("symbol-unit",60054),activateBreakpoints:(0,i.register)("activate-breakpoints",60055),archive:(0,i.register)("archive",60056),arrowBoth:(0,i.register)("arrow-both",60057),arrowDown:(0,i.register)("arrow-down",60058),arrowLeft:(0,i.register)("arrow-left",60059),arrowRight:(0,i.register)("arrow-right",60060),arrowSmallDown:(0,i.register)("arrow-small-down",60061),arrowSmallLeft:(0,i.register)("arrow-small-left",60062),arrowSmallRight:(0,i.register)("arrow-small-right",60063),arrowSmallUp:(0,i.register)("arrow-small-up",60064),arrowUp:(0,i.register)("arrow-up",60065),bell:(0,i.register)("bell",60066),bold:(0,i.register)("bold",60067),book:(0,i.register)("book",60068),bookmark:(0,i.register)("bookmark",60069),debugBreakpointConditionalUnverified:(0,i.register)("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:(0,i.register)("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:(0,i.register)("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:(0,i.register)("debug-breakpoint-data-unverified",60072),debugBreakpointData:(0,i.register)("debug-breakpoint-data",60073),debugBreakpointDataDisabled:(0,i.register)("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:(0,i.register)("debug-breakpoint-log-unverified",60074),debugBreakpointLog:(0,i.register)("debug-breakpoint-log",60075),debugBreakpointLogDisabled:(0,i.register)("debug-breakpoint-log-disabled",60075),briefcase:(0,i.register)("briefcase",60076),broadcast:(0,i.register)("broadcast",60077),browser:(0,i.register)("browser",60078),bug:(0,i.register)("bug",60079),calendar:(0,i.register)("calendar",60080),caseSensitive:(0,i.register)("case-sensitive",60081),check:(0,i.register)("check",60082),checklist:(0,i.register)("checklist",60083),chevronDown:(0,i.register)("chevron-down",60084),chevronLeft:(0,i.register)("chevron-left",60085),chevronRight:(0,i.register)("chevron-right",60086),chevronUp:(0,i.register)("chevron-up",60087),chromeClose:(0,i.register)("chrome-close",60088),chromeMaximize:(0,i.register)("chrome-maximize",60089),chromeMinimize:(0,i.register)("chrome-minimize",60090),chromeRestore:(0,i.register)("chrome-restore",60091),circleOutline:(0,i.register)("circle-outline",60092),circle:(0,i.register)("circle",60092),debugBreakpointUnverified:(0,i.register)("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:(0,i.register)("terminal-decoration-incomplete",60092),circleSlash:(0,i.register)("circle-slash",60093),circuitBoard:(0,i.register)("circuit-board",60094),clearAll:(0,i.register)("clear-all",60095),clippy:(0,i.register)("clippy",60096),closeAll:(0,i.register)("close-all",60097),cloudDownload:(0,i.register)("cloud-download",60098),cloudUpload:(0,i.register)("cloud-upload",60099),code:(0,i.register)("code",60100),collapseAll:(0,i.register)("collapse-all",60101),colorMode:(0,i.register)("color-mode",60102),commentDiscussion:(0,i.register)("comment-discussion",60103),creditCard:(0,i.register)("credit-card",60105),dash:(0,i.register)("dash",60108),dashboard:(0,i.register)("dashboard",60109),database:(0,i.register)("database",60110),debugContinue:(0,i.register)("debug-continue",60111),debugDisconnect:(0,i.register)("debug-disconnect",60112),debugPause:(0,i.register)("debug-pause",60113),debugRestart:(0,i.register)("debug-restart",60114),debugStart:(0,i.register)("debug-start",60115),debugStepInto:(0,i.register)("debug-step-into",60116),debugStepOut:(0,i.register)("debug-step-out",60117),debugStepOver:(0,i.register)("debug-step-over",60118),debugStop:(0,i.register)("debug-stop",60119),debug:(0,i.register)("debug",60120),deviceCameraVideo:(0,i.register)("device-camera-video",60121),deviceCamera:(0,i.register)("device-camera",60122),deviceMobile:(0,i.register)("device-mobile",60123),diffAdded:(0,i.register)("diff-added",60124),diffIgnored:(0,i.register)("diff-ignored",60125),diffModified:(0,i.register)("diff-modified",60126),diffRemoved:(0,i.register)("diff-removed",60127),diffRenamed:(0,i.register)("diff-renamed",60128),diff:(0,i.register)("diff",60129),diffSidebyside:(0,i.register)("diff-sidebyside",60129),discard:(0,i.register)("discard",60130),editorLayout:(0,i.register)("editor-layout",60131),emptyWindow:(0,i.register)("empty-window",60132),exclude:(0,i.register)("exclude",60133),extensions:(0,i.register)("extensions",60134),eyeClosed:(0,i.register)("eye-closed",60135),fileBinary:(0,i.register)("file-binary",60136),fileCode:(0,i.register)("file-code",60137),fileMedia:(0,i.register)("file-media",60138),filePdf:(0,i.register)("file-pdf",60139),fileSubmodule:(0,i.register)("file-submodule",60140),fileSymlinkDirectory:(0,i.register)("file-symlink-directory",60141),fileSymlinkFile:(0,i.register)("file-symlink-file",60142),fileZip:(0,i.register)("file-zip",60143),files:(0,i.register)("files",60144),filter:(0,i.register)("filter",60145),flame:(0,i.register)("flame",60146),foldDown:(0,i.register)("fold-down",60147),foldUp:(0,i.register)("fold-up",60148),fold:(0,i.register)("fold",60149),folderActive:(0,i.register)("folder-active",60150),folderOpened:(0,i.register)("folder-opened",60151),gear:(0,i.register)("gear",60152),gift:(0,i.register)("gift",60153),gistSecret:(0,i.register)("gist-secret",60154),gist:(0,i.register)("gist",60155),gitCommit:(0,i.register)("git-commit",60156),gitCompare:(0,i.register)("git-compare",60157),compareChanges:(0,i.register)("compare-changes",60157),gitMerge:(0,i.register)("git-merge",60158),githubAction:(0,i.register)("github-action",60159),githubAlt:(0,i.register)("github-alt",60160),globe:(0,i.register)("globe",60161),grabber:(0,i.register)("grabber",60162),graph:(0,i.register)("graph",60163),gripper:(0,i.register)("gripper",60164),heart:(0,i.register)("heart",60165),home:(0,i.register)("home",60166),horizontalRule:(0,i.register)("horizontal-rule",60167),hubot:(0,i.register)("hubot",60168),inbox:(0,i.register)("inbox",60169),issueReopened:(0,i.register)("issue-reopened",60171),issues:(0,i.register)("issues",60172),italic:(0,i.register)("italic",60173),jersey:(0,i.register)("jersey",60174),json:(0,i.register)("json",60175),kebabVertical:(0,i.register)("kebab-vertical",60176),key:(0,i.register)("key",60177),law:(0,i.register)("law",60178),lightbulbAutofix:(0,i.register)("lightbulb-autofix",60179),linkExternal:(0,i.register)("link-external",60180),link:(0,i.register)("link",60181),listOrdered:(0,i.register)("list-ordered",60182),listUnordered:(0,i.register)("list-unordered",60183),liveShare:(0,i.register)("live-share",60184),loading:(0,i.register)("loading",60185),location:(0,i.register)("location",60186),mailRead:(0,i.register)("mail-read",60187),mail:(0,i.register)("mail",60188),markdown:(0,i.register)("markdown",60189),megaphone:(0,i.register)("megaphone",60190),mention:(0,i.register)("mention",60191),milestone:(0,i.register)("milestone",60192),gitPullRequestMilestone:(0,i.register)("git-pull-request-milestone",60192),mortarBoard:(0,i.register)("mortar-board",60193),move:(0,i.register)("move",60194),multipleWindows:(0,i.register)("multiple-windows",60195),mute:(0,i.register)("mute",60196),noNewline:(0,i.register)("no-newline",60197),note:(0,i.register)("note",60198),octoface:(0,i.register)("octoface",60199),openPreview:(0,i.register)("open-preview",60200),package:(0,i.register)("package",60201),paintcan:(0,i.register)("paintcan",60202),pin:(0,i.register)("pin",60203),play:(0,i.register)("play",60204),run:(0,i.register)("run",60204),plug:(0,i.register)("plug",60205),preserveCase:(0,i.register)("preserve-case",60206),preview:(0,i.register)("preview",60207),project:(0,i.register)("project",60208),pulse:(0,i.register)("pulse",60209),question:(0,i.register)("question",60210),quote:(0,i.register)("quote",60211),radioTower:(0,i.register)("radio-tower",60212),reactions:(0,i.register)("reactions",60213),references:(0,i.register)("references",60214),refresh:(0,i.register)("refresh",60215),regex:(0,i.register)("regex",60216),remoteExplorer:(0,i.register)("remote-explorer",60217),remote:(0,i.register)("remote",60218),remove:(0,i.register)("remove",60219),replaceAll:(0,i.register)("replace-all",60220),replace:(0,i.register)("replace",60221),repoClone:(0,i.register)("repo-clone",60222),repoForcePush:(0,i.register)("repo-force-push",60223),repoPull:(0,i.register)("repo-pull",60224),repoPush:(0,i.register)("repo-push",60225),report:(0,i.register)("report",60226),requestChanges:(0,i.register)("request-changes",60227),rocket:(0,i.register)("rocket",60228),rootFolderOpened:(0,i.register)("root-folder-opened",60229),rootFolder:(0,i.register)("root-folder",60230),rss:(0,i.register)("rss",60231),ruby:(0,i.register)("ruby",60232),saveAll:(0,i.register)("save-all",60233),saveAs:(0,i.register)("save-as",60234),save:(0,i.register)("save",60235),screenFull:(0,i.register)("screen-full",60236),screenNormal:(0,i.register)("screen-normal",60237),searchStop:(0,i.register)("search-stop",60238),server:(0,i.register)("server",60240),settingsGear:(0,i.register)("settings-gear",60241),settings:(0,i.register)("settings",60242),shield:(0,i.register)("shield",60243),smiley:(0,i.register)("smiley",60244),sortPrecedence:(0,i.register)("sort-precedence",60245),splitHorizontal:(0,i.register)("split-horizontal",60246),splitVertical:(0,i.register)("split-vertical",60247),squirrel:(0,i.register)("squirrel",60248),starFull:(0,i.register)("star-full",60249),starHalf:(0,i.register)("star-half",60250),symbolClass:(0,i.register)("symbol-class",60251),symbolColor:(0,i.register)("symbol-color",60252),symbolConstant:(0,i.register)("symbol-constant",60253),symbolEnumMember:(0,i.register)("symbol-enum-member",60254),symbolField:(0,i.register)("symbol-field",60255),symbolFile:(0,i.register)("symbol-file",60256),symbolInterface:(0,i.register)("symbol-interface",60257),symbolKeyword:(0,i.register)("symbol-keyword",60258),symbolMisc:(0,i.register)("symbol-misc",60259),symbolOperator:(0,i.register)("symbol-operator",60260),symbolProperty:(0,i.register)("symbol-property",60261),wrench:(0,i.register)("wrench",60261),wrenchSubaction:(0,i.register)("wrench-subaction",60261),symbolSnippet:(0,i.register)("symbol-snippet",60262),tasklist:(0,i.register)("tasklist",60263),telescope:(0,i.register)("telescope",60264),textSize:(0,i.register)("text-size",60265),threeBars:(0,i.register)("three-bars",60266),thumbsdown:(0,i.register)("thumbsdown",60267),thumbsup:(0,i.register)("thumbsup",60268),tools:(0,i.register)("tools",60269),triangleDown:(0,i.register)("triangle-down",60270),triangleLeft:(0,i.register)("triangle-left",60271),triangleRight:(0,i.register)("triangle-right",60272),triangleUp:(0,i.register)("triangle-up",60273),twitter:(0,i.register)("twitter",60274),unfold:(0,i.register)("unfold",60275),unlock:(0,i.register)("unlock",60276),unmute:(0,i.register)("unmute",60277),unverified:(0,i.register)("unverified",60278),verified:(0,i.register)("verified",60279),versions:(0,i.register)("versions",60280),vmActive:(0,i.register)("vm-active",60281),vmOutline:(0,i.register)("vm-outline",60282),vmRunning:(0,i.register)("vm-running",60283),watch:(0,i.register)("watch",60284),whitespace:(0,i.register)("whitespace",60285),wholeWord:(0,i.register)("whole-word",60286),window:(0,i.register)("window",60287),wordWrap:(0,i.register)("word-wrap",60288),zoomIn:(0,i.register)("zoom-in",60289),zoomOut:(0,i.register)("zoom-out",60290),listFilter:(0,i.register)("list-filter",60291),listFlat:(0,i.register)("list-flat",60292),listSelection:(0,i.register)("list-selection",60293),selection:(0,i.register)("selection",60293),listTree:(0,i.register)("list-tree",60294),debugBreakpointFunctionUnverified:(0,i.register)("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:(0,i.register)("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:(0,i.register)("debug-breakpoint-function-disabled",60296),debugStackframeActive:(0,i.register)("debug-stackframe-active",60297),circleSmallFilled:(0,i.register)("circle-small-filled",60298),debugStackframeDot:(0,i.register)("debug-stackframe-dot",60298),terminalDecorationMark:(0,i.register)("terminal-decoration-mark",60298),debugStackframe:(0,i.register)("debug-stackframe",60299),debugStackframeFocused:(0,i.register)("debug-stackframe-focused",60299),debugBreakpointUnsupported:(0,i.register)("debug-breakpoint-unsupported",60300),symbolString:(0,i.register)("symbol-string",60301),debugReverseContinue:(0,i.register)("debug-reverse-continue",60302),debugStepBack:(0,i.register)("debug-step-back",60303),debugRestartFrame:(0,i.register)("debug-restart-frame",60304),debugAlt:(0,i.register)("debug-alt",60305),callIncoming:(0,i.register)("call-incoming",60306),callOutgoing:(0,i.register)("call-outgoing",60307),menu:(0,i.register)("menu",60308),expandAll:(0,i.register)("expand-all",60309),feedback:(0,i.register)("feedback",60310),gitPullRequestReviewer:(0,i.register)("git-pull-request-reviewer",60310),groupByRefType:(0,i.register)("group-by-ref-type",60311),ungroupByRefType:(0,i.register)("ungroup-by-ref-type",60312),account:(0,i.register)("account",60313),gitPullRequestAssignee:(0,i.register)("git-pull-request-assignee",60313),bellDot:(0,i.register)("bell-dot",60314),debugConsole:(0,i.register)("debug-console",60315),library:(0,i.register)("library",60316),output:(0,i.register)("output",60317),runAll:(0,i.register)("run-all",60318),syncIgnored:(0,i.register)("sync-ignored",60319),pinned:(0,i.register)("pinned",60320),githubInverted:(0,i.register)("github-inverted",60321),serverProcess:(0,i.register)("server-process",60322),serverEnvironment:(0,i.register)("server-environment",60323),pass:(0,i.register)("pass",60324),issueClosed:(0,i.register)("issue-closed",60324),stopCircle:(0,i.register)("stop-circle",60325),playCircle:(0,i.register)("play-circle",60326),record:(0,i.register)("record",60327),debugAltSmall:(0,i.register)("debug-alt-small",60328),vmConnect:(0,i.register)("vm-connect",60329),cloud:(0,i.register)("cloud",60330),merge:(0,i.register)("merge",60331),export:(0,i.register)("export",60332),graphLeft:(0,i.register)("graph-left",60333),magnet:(0,i.register)("magnet",60334),notebook:(0,i.register)("notebook",60335),redo:(0,i.register)("redo",60336),checkAll:(0,i.register)("check-all",60337),pinnedDirty:(0,i.register)("pinned-dirty",60338),passFilled:(0,i.register)("pass-filled",60339),circleLargeFilled:(0,i.register)("circle-large-filled",60340),circleLarge:(0,i.register)("circle-large",60341),circleLargeOutline:(0,i.register)("circle-large-outline",60341),combine:(0,i.register)("combine",60342),gather:(0,i.register)("gather",60342),table:(0,i.register)("table",60343),variableGroup:(0,i.register)("variable-group",60344),typeHierarchy:(0,i.register)("type-hierarchy",60345),typeHierarchySub:(0,i.register)("type-hierarchy-sub",60346),typeHierarchySuper:(0,i.register)("type-hierarchy-super",60347),gitPullRequestCreate:(0,i.register)("git-pull-request-create",60348),runAbove:(0,i.register)("run-above",60349),runBelow:(0,i.register)("run-below",60350),notebookTemplate:(0,i.register)("notebook-template",60351),debugRerun:(0,i.register)("debug-rerun",60352),workspaceTrusted:(0,i.register)("workspace-trusted",60353),workspaceUntrusted:(0,i.register)("workspace-untrusted",60354),workspaceUnknown:(0,i.register)("workspace-unknown",60355),terminalCmd:(0,i.register)("terminal-cmd",60356),terminalDebian:(0,i.register)("terminal-debian",60357),terminalLinux:(0,i.register)("terminal-linux",60358),terminalPowershell:(0,i.register)("terminal-powershell",60359),terminalTmux:(0,i.register)("terminal-tmux",60360),terminalUbuntu:(0,i.register)("terminal-ubuntu",60361),terminalBash:(0,i.register)("terminal-bash",60362),arrowSwap:(0,i.register)("arrow-swap",60363),copy:(0,i.register)("copy",60364),personAdd:(0,i.register)("person-add",60365),filterFilled:(0,i.register)("filter-filled",60366),wand:(0,i.register)("wand",60367),debugLineByLine:(0,i.register)("debug-line-by-line",60368),inspect:(0,i.register)("inspect",60369),layers:(0,i.register)("layers",60370),layersDot:(0,i.register)("layers-dot",60371),layersActive:(0,i.register)("layers-active",60372),compass:(0,i.register)("compass",60373),compassDot:(0,i.register)("compass-dot",60374),compassActive:(0,i.register)("compass-active",60375),azure:(0,i.register)("azure",60376),issueDraft:(0,i.register)("issue-draft",60377),gitPullRequestClosed:(0,i.register)("git-pull-request-closed",60378),gitPullRequestDraft:(0,i.register)("git-pull-request-draft",60379),debugAll:(0,i.register)("debug-all",60380),debugCoverage:(0,i.register)("debug-coverage",60381),runErrors:(0,i.register)("run-errors",60382),folderLibrary:(0,i.register)("folder-library",60383),debugContinueSmall:(0,i.register)("debug-continue-small",60384),beakerStop:(0,i.register)("beaker-stop",60385),graphLine:(0,i.register)("graph-line",60386),graphScatter:(0,i.register)("graph-scatter",60387),pieChart:(0,i.register)("pie-chart",60388),bracket:(0,i.register)("bracket",60175),bracketDot:(0,i.register)("bracket-dot",60389),bracketError:(0,i.register)("bracket-error",60390),lockSmall:(0,i.register)("lock-small",60391),azureDevops:(0,i.register)("azure-devops",60392),verifiedFilled:(0,i.register)("verified-filled",60393),newline:(0,i.register)("newline",60394),layout:(0,i.register)("layout",60395),layoutActivitybarLeft:(0,i.register)("layout-activitybar-left",60396),layoutActivitybarRight:(0,i.register)("layout-activitybar-right",60397),layoutPanelLeft:(0,i.register)("layout-panel-left",60398),layoutPanelCenter:(0,i.register)("layout-panel-center",60399),layoutPanelJustify:(0,i.register)("layout-panel-justify",60400),layoutPanelRight:(0,i.register)("layout-panel-right",60401),layoutPanel:(0,i.register)("layout-panel",60402),layoutSidebarLeft:(0,i.register)("layout-sidebar-left",60403),layoutSidebarRight:(0,i.register)("layout-sidebar-right",60404),layoutStatusbar:(0,i.register)("layout-statusbar",60405),layoutMenubar:(0,i.register)("layout-menubar",60406),layoutCentered:(0,i.register)("layout-centered",60407),target:(0,i.register)("target",60408),indent:(0,i.register)("indent",60409),recordSmall:(0,i.register)("record-small",60410),errorSmall:(0,i.register)("error-small",60411),terminalDecorationError:(0,i.register)("terminal-decoration-error",60411),arrowCircleDown:(0,i.register)("arrow-circle-down",60412),arrowCircleLeft:(0,i.register)("arrow-circle-left",60413),arrowCircleRight:(0,i.register)("arrow-circle-right",60414),arrowCircleUp:(0,i.register)("arrow-circle-up",60415),layoutSidebarRightOff:(0,i.register)("layout-sidebar-right-off",60416),layoutPanelOff:(0,i.register)("layout-panel-off",60417),layoutSidebarLeftOff:(0,i.register)("layout-sidebar-left-off",60418),blank:(0,i.register)("blank",60419),heartFilled:(0,i.register)("heart-filled",60420),map:(0,i.register)("map",60421),mapHorizontal:(0,i.register)("map-horizontal",60421),foldHorizontal:(0,i.register)("fold-horizontal",60421),mapFilled:(0,i.register)("map-filled",60422),mapHorizontalFilled:(0,i.register)("map-horizontal-filled",60422),foldHorizontalFilled:(0,i.register)("fold-horizontal-filled",60422),circleSmall:(0,i.register)("circle-small",60423),bellSlash:(0,i.register)("bell-slash",60424),bellSlashDot:(0,i.register)("bell-slash-dot",60425),commentUnresolved:(0,i.register)("comment-unresolved",60426),gitPullRequestGoToChanges:(0,i.register)("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:(0,i.register)("git-pull-request-new-changes",60428),searchFuzzy:(0,i.register)("search-fuzzy",60429),commentDraft:(0,i.register)("comment-draft",60430),send:(0,i.register)("send",60431),sparkle:(0,i.register)("sparkle",60432),insert:(0,i.register)("insert",60433),mic:(0,i.register)("mic",60434),thumbsdownFilled:(0,i.register)("thumbsdown-filled",60435),thumbsupFilled:(0,i.register)("thumbsup-filled",60436),coffee:(0,i.register)("coffee",60437),snake:(0,i.register)("snake",60438),game:(0,i.register)("game",60439),vr:(0,i.register)("vr",60440),chip:(0,i.register)("chip",60441),piano:(0,i.register)("piano",60442),music:(0,i.register)("music",60443),micFilled:(0,i.register)("mic-filled",60444),repoFetch:(0,i.register)("repo-fetch",60445),copilot:(0,i.register)("copilot",60446),lightbulbSparkle:(0,i.register)("lightbulb-sparkle",60447),robot:(0,i.register)("robot",60448),sparkleFilled:(0,i.register)("sparkle-filled",60449),diffSingle:(0,i.register)("diff-single",60450),diffMultiple:(0,i.register)("diff-multiple",60451),surroundWith:(0,i.register)("surround-with",60452),share:(0,i.register)("share",60453),gitStash:(0,i.register)("git-stash",60454),gitStashApply:(0,i.register)("git-stash-apply",60455),gitStashPop:(0,i.register)("git-stash-pop",60456),vscode:(0,i.register)("vscode",60457),vscodeInsiders:(0,i.register)("vscode-insiders",60458),codeOss:(0,i.register)("code-oss",60459),runCoverage:(0,i.register)("run-coverage",60460),runAllCoverage:(0,i.register)("run-all-coverage",60461),coverage:(0,i.register)("coverage",60462),githubProject:(0,i.register)("github-project",60463),mapVertical:(0,i.register)("map-vertical",60464),foldVertical:(0,i.register)("fold-vertical",60464),mapVerticalFilled:(0,i.register)("map-vertical-filled",60465),foldVerticalFilled:(0,i.register)("fold-vertical-filled",60465)}}),tk("O8u1m",function(e,t){c(e.exports,"TokenizationRegistry",()=>r);var i=tx("7QlpW"),n=tx("5OUe2");class r{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new i.Emitter,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._tokenizationSupports.set(e,t),this.handleChange([e]),(0,n.toDisposable)(()=>{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var i;null===(i=this._factories.get(e))||void 0===i||i.dispose();let r=new o(this,e,t);return this._factories.set(e,r),(0,n.toDisposable)(()=>{let t=this._factories.get(e);t&&t===r&&(this._factories.delete(e),t.dispose())})}async getOrCreate(e){let t=this.get(e);if(t)return t;let i=this._factories.get(e);return!i||i.isResolved?null:(await i.resolve(),this.get(e))}isResolved(e){let t=this.get(e);if(t)return!0;let i=this._factories.get(e);return!i||!!i.isResolved}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class o extends n.Disposable{get isResolved(){return this._isResolved}constructor(e,t,i){super(),this._registry=e,this._languageId=t,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){let e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}}}),tk("d6Eqw",function(e,t){var i,n,r,o,s,a,l,d,h,u,g,p,f,m,v,_,b,y,C,w,S,x,k,E,D,P,L,A,I,N,T,O,M,R,F,B,K,W,X,z,V,H,U,j,q,G,Y,Z,Q,J,$,ee,et,ei,en,er,eo,es,ea,el,ec,ed,eh,eu,eg,ep,ef,em,ev,e_,eb,ey,eC,ew,eS,ex,ek,eE,eD,eP,eL,eA,eI,eN,eT,eO,eM,eR;c(e.exports,"AccessibilitySupport",()=>i),c(e.exports,"CodeActionTriggerType",()=>n),c(e.exports,"CompletionItemInsertTextRule",()=>r),c(e.exports,"CompletionItemKind",()=>o),c(e.exports,"CompletionItemTag",()=>s),c(e.exports,"CompletionTriggerKind",()=>a),c(e.exports,"ContentWidgetPositionPreference",()=>l),c(e.exports,"CursorChangeReason",()=>d),c(e.exports,"DefaultEndOfLine",()=>h),c(e.exports,"DocumentHighlightKind",()=>u),c(e.exports,"EditorAutoIndentStrategy",()=>g),c(e.exports,"EditorOption",()=>p),c(e.exports,"EndOfLinePreference",()=>f),c(e.exports,"EndOfLineSequence",()=>m),c(e.exports,"GlyphMarginLane",()=>v),c(e.exports,"IndentAction",()=>_),c(e.exports,"InjectedTextCursorStops",()=>b),c(e.exports,"InlayHintKind",()=>y),c(e.exports,"InlineCompletionTriggerKind",()=>C),c(e.exports,"InlineEditTriggerKind",()=>w),c(e.exports,"KeyCode",()=>S),c(e.exports,"MarkerSeverity",()=>x),c(e.exports,"MarkerTag",()=>k),c(e.exports,"MinimapPosition",()=>E),c(e.exports,"MinimapSectionHeaderStyle",()=>D),c(e.exports,"MouseTargetType",()=>P),c(e.exports,"NewSymbolNameTag",()=>L),c(e.exports,"OverlayWidgetPositionPreference",()=>A),c(e.exports,"OverviewRulerLane",()=>I),c(e.exports,"PartialAcceptTriggerKind",()=>N),c(e.exports,"PositionAffinity",()=>T),c(e.exports,"RenderLineNumbersType",()=>O),c(e.exports,"RenderMinimap",()=>M),c(e.exports,"ScrollType",()=>R),c(e.exports,"ScrollbarVisibility",()=>F),c(e.exports,"SelectionDirection",()=>B),c(e.exports,"ShowLightbulbIconMode",()=>K),c(e.exports,"SignatureHelpTriggerKind",()=>W),c(e.exports,"SymbolKind",()=>X),c(e.exports,"SymbolTag",()=>z),c(e.exports,"TextEditorCursorBlinkingStyle",()=>V),c(e.exports,"TextEditorCursorStyle",()=>H),c(e.exports,"TrackedRangeStickiness",()=>U),c(e.exports,"WrappingIndent",()=>j),(q=i||(i={}))[q.Unknown=0]="Unknown",q[q.Disabled=1]="Disabled",q[q.Enabled=2]="Enabled",(G=n||(n={}))[G.Invoke=1]="Invoke",G[G.Auto=2]="Auto",(Y=r||(r={}))[Y.None=0]="None",Y[Y.KeepWhitespace=1]="KeepWhitespace",Y[Y.InsertAsSnippet=4]="InsertAsSnippet",(Z=o||(o={}))[Z.Method=0]="Method",Z[Z.Function=1]="Function",Z[Z.Constructor=2]="Constructor",Z[Z.Field=3]="Field",Z[Z.Variable=4]="Variable",Z[Z.Class=5]="Class",Z[Z.Struct=6]="Struct",Z[Z.Interface=7]="Interface",Z[Z.Module=8]="Module",Z[Z.Property=9]="Property",Z[Z.Event=10]="Event",Z[Z.Operator=11]="Operator",Z[Z.Unit=12]="Unit",Z[Z.Value=13]="Value",Z[Z.Constant=14]="Constant",Z[Z.Enum=15]="Enum",Z[Z.EnumMember=16]="EnumMember",Z[Z.Keyword=17]="Keyword",Z[Z.Text=18]="Text",Z[Z.Color=19]="Color",Z[Z.File=20]="File",Z[Z.Reference=21]="Reference",Z[Z.Customcolor=22]="Customcolor",Z[Z.Folder=23]="Folder",Z[Z.TypeParameter=24]="TypeParameter",Z[Z.User=25]="User",Z[Z.Issue=26]="Issue",Z[Z.Snippet=27]="Snippet",(Q=s||(s={}))[Q.Deprecated=1]="Deprecated",(J=a||(a={}))[J.Invoke=0]="Invoke",J[J.TriggerCharacter=1]="TriggerCharacter",J[J.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",($=l||(l={}))[$.EXACT=0]="EXACT",$[$.ABOVE=1]="ABOVE",$[$.BELOW=2]="BELOW",(ee=d||(d={}))[ee.NotSet=0]="NotSet",ee[ee.ContentFlush=1]="ContentFlush",ee[ee.RecoverFromMarkers=2]="RecoverFromMarkers",ee[ee.Explicit=3]="Explicit",ee[ee.Paste=4]="Paste",ee[ee.Undo=5]="Undo",ee[ee.Redo=6]="Redo",(et=h||(h={}))[et.LF=1]="LF",et[et.CRLF=2]="CRLF",(ei=u||(u={}))[ei.Text=0]="Text",ei[ei.Read=1]="Read",ei[ei.Write=2]="Write",(en=g||(g={}))[en.None=0]="None",en[en.Keep=1]="Keep",en[en.Brackets=2]="Brackets",en[en.Advanced=3]="Advanced",en[en.Full=4]="Full",(er=p||(p={}))[er.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",er[er.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",er[er.accessibilitySupport=2]="accessibilitySupport",er[er.accessibilityPageSize=3]="accessibilityPageSize",er[er.ariaLabel=4]="ariaLabel",er[er.ariaRequired=5]="ariaRequired",er[er.autoClosingBrackets=6]="autoClosingBrackets",er[er.autoClosingComments=7]="autoClosingComments",er[er.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",er[er.autoClosingDelete=9]="autoClosingDelete",er[er.autoClosingOvertype=10]="autoClosingOvertype",er[er.autoClosingQuotes=11]="autoClosingQuotes",er[er.autoIndent=12]="autoIndent",er[er.automaticLayout=13]="automaticLayout",er[er.autoSurround=14]="autoSurround",er[er.bracketPairColorization=15]="bracketPairColorization",er[er.guides=16]="guides",er[er.codeLens=17]="codeLens",er[er.codeLensFontFamily=18]="codeLensFontFamily",er[er.codeLensFontSize=19]="codeLensFontSize",er[er.colorDecorators=20]="colorDecorators",er[er.colorDecoratorsLimit=21]="colorDecoratorsLimit",er[er.columnSelection=22]="columnSelection",er[er.comments=23]="comments",er[er.contextmenu=24]="contextmenu",er[er.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",er[er.cursorBlinking=26]="cursorBlinking",er[er.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",er[er.cursorStyle=28]="cursorStyle",er[er.cursorSurroundingLines=29]="cursorSurroundingLines",er[er.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",er[er.cursorWidth=31]="cursorWidth",er[er.disableLayerHinting=32]="disableLayerHinting",er[er.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",er[er.domReadOnly=34]="domReadOnly",er[er.dragAndDrop=35]="dragAndDrop",er[er.dropIntoEditor=36]="dropIntoEditor",er[er.emptySelectionClipboard=37]="emptySelectionClipboard",er[er.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",er[er.extraEditorClassName=39]="extraEditorClassName",er[er.fastScrollSensitivity=40]="fastScrollSensitivity",er[er.find=41]="find",er[er.fixedOverflowWidgets=42]="fixedOverflowWidgets",er[er.folding=43]="folding",er[er.foldingStrategy=44]="foldingStrategy",er[er.foldingHighlight=45]="foldingHighlight",er[er.foldingImportsByDefault=46]="foldingImportsByDefault",er[er.foldingMaximumRegions=47]="foldingMaximumRegions",er[er.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",er[er.fontFamily=49]="fontFamily",er[er.fontInfo=50]="fontInfo",er[er.fontLigatures=51]="fontLigatures",er[er.fontSize=52]="fontSize",er[er.fontWeight=53]="fontWeight",er[er.fontVariations=54]="fontVariations",er[er.formatOnPaste=55]="formatOnPaste",er[er.formatOnType=56]="formatOnType",er[er.glyphMargin=57]="glyphMargin",er[er.gotoLocation=58]="gotoLocation",er[er.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",er[er.hover=60]="hover",er[er.inDiffEditor=61]="inDiffEditor",er[er.inlineSuggest=62]="inlineSuggest",er[er.inlineEdit=63]="inlineEdit",er[er.letterSpacing=64]="letterSpacing",er[er.lightbulb=65]="lightbulb",er[er.lineDecorationsWidth=66]="lineDecorationsWidth",er[er.lineHeight=67]="lineHeight",er[er.lineNumbers=68]="lineNumbers",er[er.lineNumbersMinChars=69]="lineNumbersMinChars",er[er.linkedEditing=70]="linkedEditing",er[er.links=71]="links",er[er.matchBrackets=72]="matchBrackets",er[er.minimap=73]="minimap",er[er.mouseStyle=74]="mouseStyle",er[er.mouseWheelScrollSensitivity=75]="mouseWheelScrollSensitivity",er[er.mouseWheelZoom=76]="mouseWheelZoom",er[er.multiCursorMergeOverlapping=77]="multiCursorMergeOverlapping",er[er.multiCursorModifier=78]="multiCursorModifier",er[er.multiCursorPaste=79]="multiCursorPaste",er[er.multiCursorLimit=80]="multiCursorLimit",er[er.occurrencesHighlight=81]="occurrencesHighlight",er[er.overviewRulerBorder=82]="overviewRulerBorder",er[er.overviewRulerLanes=83]="overviewRulerLanes",er[er.padding=84]="padding",er[er.pasteAs=85]="pasteAs",er[er.parameterHints=86]="parameterHints",er[er.peekWidgetDefaultFocus=87]="peekWidgetDefaultFocus",er[er.definitionLinkOpensInPeek=88]="definitionLinkOpensInPeek",er[er.quickSuggestions=89]="quickSuggestions",er[er.quickSuggestionsDelay=90]="quickSuggestionsDelay",er[er.readOnly=91]="readOnly",er[er.readOnlyMessage=92]="readOnlyMessage",er[er.renameOnType=93]="renameOnType",er[er.renderControlCharacters=94]="renderControlCharacters",er[er.renderFinalNewline=95]="renderFinalNewline",er[er.renderLineHighlight=96]="renderLineHighlight",er[er.renderLineHighlightOnlyWhenFocus=97]="renderLineHighlightOnlyWhenFocus",er[er.renderValidationDecorations=98]="renderValidationDecorations",er[er.renderWhitespace=99]="renderWhitespace",er[er.revealHorizontalRightPadding=100]="revealHorizontalRightPadding",er[er.roundedSelection=101]="roundedSelection",er[er.rulers=102]="rulers",er[er.scrollbar=103]="scrollbar",er[er.scrollBeyondLastColumn=104]="scrollBeyondLastColumn",er[er.scrollBeyondLastLine=105]="scrollBeyondLastLine",er[er.scrollPredominantAxis=106]="scrollPredominantAxis",er[er.selectionClipboard=107]="selectionClipboard",er[er.selectionHighlight=108]="selectionHighlight",er[er.selectOnLineNumbers=109]="selectOnLineNumbers",er[er.showFoldingControls=110]="showFoldingControls",er[er.showUnused=111]="showUnused",er[er.snippetSuggestions=112]="snippetSuggestions",er[er.smartSelect=113]="smartSelect",er[er.smoothScrolling=114]="smoothScrolling",er[er.stickyScroll=115]="stickyScroll",er[er.stickyTabStops=116]="stickyTabStops",er[er.stopRenderingLineAfter=117]="stopRenderingLineAfter",er[er.suggest=118]="suggest",er[er.suggestFontSize=119]="suggestFontSize",er[er.suggestLineHeight=120]="suggestLineHeight",er[er.suggestOnTriggerCharacters=121]="suggestOnTriggerCharacters",er[er.suggestSelection=122]="suggestSelection",er[er.tabCompletion=123]="tabCompletion",er[er.tabIndex=124]="tabIndex",er[er.unicodeHighlighting=125]="unicodeHighlighting",er[er.unusualLineTerminators=126]="unusualLineTerminators",er[er.useShadowDOM=127]="useShadowDOM",er[er.useTabStops=128]="useTabStops",er[er.wordBreak=129]="wordBreak",er[er.wordSegmenterLocales=130]="wordSegmenterLocales",er[er.wordSeparators=131]="wordSeparators",er[er.wordWrap=132]="wordWrap",er[er.wordWrapBreakAfterCharacters=133]="wordWrapBreakAfterCharacters",er[er.wordWrapBreakBeforeCharacters=134]="wordWrapBreakBeforeCharacters",er[er.wordWrapColumn=135]="wordWrapColumn",er[er.wordWrapOverride1=136]="wordWrapOverride1",er[er.wordWrapOverride2=137]="wordWrapOverride2",er[er.wrappingIndent=138]="wrappingIndent",er[er.wrappingStrategy=139]="wrappingStrategy",er[er.showDeprecated=140]="showDeprecated",er[er.inlayHints=141]="inlayHints",er[er.editorClassName=142]="editorClassName",er[er.pixelRatio=143]="pixelRatio",er[er.tabFocusMode=144]="tabFocusMode",er[er.layoutInfo=145]="layoutInfo",er[er.wrappingInfo=146]="wrappingInfo",er[er.defaultColorDecorators=147]="defaultColorDecorators",er[er.colorDecoratorsActivatedOn=148]="colorDecoratorsActivatedOn",er[er.inlineCompletionsAccessibilityVerbose=149]="inlineCompletionsAccessibilityVerbose",(eo=f||(f={}))[eo.TextDefined=0]="TextDefined",eo[eo.LF=1]="LF",eo[eo.CRLF=2]="CRLF",(es=m||(m={}))[es.LF=0]="LF",es[es.CRLF=1]="CRLF",(ea=v||(v={}))[ea.Left=1]="Left",ea[ea.Center=2]="Center",ea[ea.Right=3]="Right",(el=_||(_={}))[el.None=0]="None",el[el.Indent=1]="Indent",el[el.IndentOutdent=2]="IndentOutdent",el[el.Outdent=3]="Outdent",(ec=b||(b={}))[ec.Both=0]="Both",ec[ec.Right=1]="Right",ec[ec.Left=2]="Left",ec[ec.None=3]="None",(ed=y||(y={}))[ed.Type=1]="Type",ed[ed.Parameter=2]="Parameter",(eh=C||(C={}))[eh.Automatic=0]="Automatic",eh[eh.Explicit=1]="Explicit",(eu=w||(w={}))[eu.Invoke=0]="Invoke",eu[eu.Automatic=1]="Automatic",(eg=S||(S={}))[eg.DependsOnKbLayout=-1]="DependsOnKbLayout",eg[eg.Unknown=0]="Unknown",eg[eg.Backspace=1]="Backspace",eg[eg.Tab=2]="Tab",eg[eg.Enter=3]="Enter",eg[eg.Shift=4]="Shift",eg[eg.Ctrl=5]="Ctrl",eg[eg.Alt=6]="Alt",eg[eg.PauseBreak=7]="PauseBreak",eg[eg.CapsLock=8]="CapsLock",eg[eg.Escape=9]="Escape",eg[eg.Space=10]="Space",eg[eg.PageUp=11]="PageUp",eg[eg.PageDown=12]="PageDown",eg[eg.End=13]="End",eg[eg.Home=14]="Home",eg[eg.LeftArrow=15]="LeftArrow",eg[eg.UpArrow=16]="UpArrow",eg[eg.RightArrow=17]="RightArrow",eg[eg.DownArrow=18]="DownArrow",eg[eg.Insert=19]="Insert",eg[eg.Delete=20]="Delete",eg[eg.Digit0=21]="Digit0",eg[eg.Digit1=22]="Digit1",eg[eg.Digit2=23]="Digit2",eg[eg.Digit3=24]="Digit3",eg[eg.Digit4=25]="Digit4",eg[eg.Digit5=26]="Digit5",eg[eg.Digit6=27]="Digit6",eg[eg.Digit7=28]="Digit7",eg[eg.Digit8=29]="Digit8",eg[eg.Digit9=30]="Digit9",eg[eg.KeyA=31]="KeyA",eg[eg.KeyB=32]="KeyB",eg[eg.KeyC=33]="KeyC",eg[eg.KeyD=34]="KeyD",eg[eg.KeyE=35]="KeyE",eg[eg.KeyF=36]="KeyF",eg[eg.KeyG=37]="KeyG",eg[eg.KeyH=38]="KeyH",eg[eg.KeyI=39]="KeyI",eg[eg.KeyJ=40]="KeyJ",eg[eg.KeyK=41]="KeyK",eg[eg.KeyL=42]="KeyL",eg[eg.KeyM=43]="KeyM",eg[eg.KeyN=44]="KeyN",eg[eg.KeyO=45]="KeyO",eg[eg.KeyP=46]="KeyP",eg[eg.KeyQ=47]="KeyQ",eg[eg.KeyR=48]="KeyR",eg[eg.KeyS=49]="KeyS",eg[eg.KeyT=50]="KeyT",eg[eg.KeyU=51]="KeyU",eg[eg.KeyV=52]="KeyV",eg[eg.KeyW=53]="KeyW",eg[eg.KeyX=54]="KeyX",eg[eg.KeyY=55]="KeyY",eg[eg.KeyZ=56]="KeyZ",eg[eg.Meta=57]="Meta",eg[eg.ContextMenu=58]="ContextMenu",eg[eg.F1=59]="F1",eg[eg.F2=60]="F2",eg[eg.F3=61]="F3",eg[eg.F4=62]="F4",eg[eg.F5=63]="F5",eg[eg.F6=64]="F6",eg[eg.F7=65]="F7",eg[eg.F8=66]="F8",eg[eg.F9=67]="F9",eg[eg.F10=68]="F10",eg[eg.F11=69]="F11",eg[eg.F12=70]="F12",eg[eg.F13=71]="F13",eg[eg.F14=72]="F14",eg[eg.F15=73]="F15",eg[eg.F16=74]="F16",eg[eg.F17=75]="F17",eg[eg.F18=76]="F18",eg[eg.F19=77]="F19",eg[eg.F20=78]="F20",eg[eg.F21=79]="F21",eg[eg.F22=80]="F22",eg[eg.F23=81]="F23",eg[eg.F24=82]="F24",eg[eg.NumLock=83]="NumLock",eg[eg.ScrollLock=84]="ScrollLock",eg[eg.Semicolon=85]="Semicolon",eg[eg.Equal=86]="Equal",eg[eg.Comma=87]="Comma",eg[eg.Minus=88]="Minus",eg[eg.Period=89]="Period",eg[eg.Slash=90]="Slash",eg[eg.Backquote=91]="Backquote",eg[eg.BracketLeft=92]="BracketLeft",eg[eg.Backslash=93]="Backslash",eg[eg.BracketRight=94]="BracketRight",eg[eg.Quote=95]="Quote",eg[eg.OEM_8=96]="OEM_8",eg[eg.IntlBackslash=97]="IntlBackslash",eg[eg.Numpad0=98]="Numpad0",eg[eg.Numpad1=99]="Numpad1",eg[eg.Numpad2=100]="Numpad2",eg[eg.Numpad3=101]="Numpad3",eg[eg.Numpad4=102]="Numpad4",eg[eg.Numpad5=103]="Numpad5",eg[eg.Numpad6=104]="Numpad6",eg[eg.Numpad7=105]="Numpad7",eg[eg.Numpad8=106]="Numpad8",eg[eg.Numpad9=107]="Numpad9",eg[eg.NumpadMultiply=108]="NumpadMultiply",eg[eg.NumpadAdd=109]="NumpadAdd",eg[eg.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",eg[eg.NumpadSubtract=111]="NumpadSubtract",eg[eg.NumpadDecimal=112]="NumpadDecimal",eg[eg.NumpadDivide=113]="NumpadDivide",eg[eg.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",eg[eg.ABNT_C1=115]="ABNT_C1",eg[eg.ABNT_C2=116]="ABNT_C2",eg[eg.AudioVolumeMute=117]="AudioVolumeMute",eg[eg.AudioVolumeUp=118]="AudioVolumeUp",eg[eg.AudioVolumeDown=119]="AudioVolumeDown",eg[eg.BrowserSearch=120]="BrowserSearch",eg[eg.BrowserHome=121]="BrowserHome",eg[eg.BrowserBack=122]="BrowserBack",eg[eg.BrowserForward=123]="BrowserForward",eg[eg.MediaTrackNext=124]="MediaTrackNext",eg[eg.MediaTrackPrevious=125]="MediaTrackPrevious",eg[eg.MediaStop=126]="MediaStop",eg[eg.MediaPlayPause=127]="MediaPlayPause",eg[eg.LaunchMediaPlayer=128]="LaunchMediaPlayer",eg[eg.LaunchMail=129]="LaunchMail",eg[eg.LaunchApp2=130]="LaunchApp2",eg[eg.Clear=131]="Clear",eg[eg.MAX_VALUE=132]="MAX_VALUE",(ep=x||(x={}))[ep.Hint=1]="Hint",ep[ep.Info=2]="Info",ep[ep.Warning=4]="Warning",ep[ep.Error=8]="Error",(ef=k||(k={}))[ef.Unnecessary=1]="Unnecessary",ef[ef.Deprecated=2]="Deprecated",(em=E||(E={}))[em.Inline=1]="Inline",em[em.Gutter=2]="Gutter",(ev=D||(D={}))[ev.Normal=1]="Normal",ev[ev.Underlined=2]="Underlined",(e_=P||(P={}))[e_.UNKNOWN=0]="UNKNOWN",e_[e_.TEXTAREA=1]="TEXTAREA",e_[e_.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e_[e_.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e_[e_.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e_[e_.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e_[e_.CONTENT_TEXT=6]="CONTENT_TEXT",e_[e_.CONTENT_EMPTY=7]="CONTENT_EMPTY",e_[e_.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e_[e_.CONTENT_WIDGET=9]="CONTENT_WIDGET",e_[e_.OVERVIEW_RULER=10]="OVERVIEW_RULER",e_[e_.SCROLLBAR=11]="SCROLLBAR",e_[e_.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e_[e_.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(eb=L||(L={}))[eb.AIGenerated=1]="AIGenerated",(ey=A||(A={}))[ey.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",ey[ey.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",ey[ey.TOP_CENTER=2]="TOP_CENTER",(eC=I||(I={}))[eC.Left=1]="Left",eC[eC.Center=2]="Center",eC[eC.Right=4]="Right",eC[eC.Full=7]="Full",(ew=N||(N={}))[ew.Word=0]="Word",ew[ew.Line=1]="Line",ew[ew.Suggest=2]="Suggest",(eS=T||(T={}))[eS.Left=0]="Left",eS[eS.Right=1]="Right",eS[eS.None=2]="None",eS[eS.LeftOfInjectedText=3]="LeftOfInjectedText",eS[eS.RightOfInjectedText=4]="RightOfInjectedText",(ex=O||(O={}))[ex.Off=0]="Off",ex[ex.On=1]="On",ex[ex.Relative=2]="Relative",ex[ex.Interval=3]="Interval",ex[ex.Custom=4]="Custom",(ek=M||(M={}))[ek.None=0]="None",ek[ek.Text=1]="Text",ek[ek.Blocks=2]="Blocks",(eE=R||(R={}))[eE.Smooth=0]="Smooth",eE[eE.Immediate=1]="Immediate",(eD=F||(F={}))[eD.Auto=1]="Auto",eD[eD.Hidden=2]="Hidden",eD[eD.Visible=3]="Visible",(eP=B||(B={}))[eP.LTR=0]="LTR",eP[eP.RTL=1]="RTL",(eL=K||(K={})).Off="off",eL.OnCode="onCode",eL.On="on",(eA=W||(W={}))[eA.Invoke=1]="Invoke",eA[eA.TriggerCharacter=2]="TriggerCharacter",eA[eA.ContentChange=3]="ContentChange",(eI=X||(X={}))[eI.File=0]="File",eI[eI.Module=1]="Module",eI[eI.Namespace=2]="Namespace",eI[eI.Package=3]="Package",eI[eI.Class=4]="Class",eI[eI.Method=5]="Method",eI[eI.Property=6]="Property",eI[eI.Field=7]="Field",eI[eI.Constructor=8]="Constructor",eI[eI.Enum=9]="Enum",eI[eI.Interface=10]="Interface",eI[eI.Function=11]="Function",eI[eI.Variable=12]="Variable",eI[eI.Constant=13]="Constant",eI[eI.String=14]="String",eI[eI.Number=15]="Number",eI[eI.Boolean=16]="Boolean",eI[eI.Array=17]="Array",eI[eI.Object=18]="Object",eI[eI.Key=19]="Key",eI[eI.Null=20]="Null",eI[eI.EnumMember=21]="EnumMember",eI[eI.Struct=22]="Struct",eI[eI.Event=23]="Event",eI[eI.Operator=24]="Operator",eI[eI.TypeParameter=25]="TypeParameter",(eN=z||(z={}))[eN.Deprecated=1]="Deprecated",(eT=V||(V={}))[eT.Hidden=0]="Hidden",eT[eT.Blink=1]="Blink",eT[eT.Smooth=2]="Smooth",eT[eT.Phase=3]="Phase",eT[eT.Expand=4]="Expand",eT[eT.Solid=5]="Solid",(eO=H||(H={}))[eO.Line=1]="Line",eO[eO.Block=2]="Block",eO[eO.Underline=3]="Underline",eO[eO.LineThin=4]="LineThin",eO[eO.BlockOutline=5]="BlockOutline",eO[eO.UnderlineThin=6]="UnderlineThin",(eM=U||(U={}))[eM.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",eM[eM.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",eM[eM.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",eM[eM.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(eR=j||(j={}))[eR.None=0]="None",eR[eR.Same=1]="Same",eR[eR.Indent=2]="Indent",eR[eR.DeepIndent=3]="DeepIndent"}),tk("defKU",function(e,t){c(e.exports,"createMonacoEditorAPI",()=>eg);var i=tx("h8kCr"),n=tx("5OUe2"),r=tx("241rv"),o=tx("1kHFz"),s=tx("4pBPM"),a=tx("5sCbf"),l=tx("rFCsH"),d=tx("5nJcq"),h=tx("b8zgB"),u=tx("8AuKF"),g=tx("3kv9l"),p=tx("khFQu"),f=tx("lMQ4E"),m=tx("cNIcV"),v=tx("hkGY0"),_=tx("73dZl"),b=tx("1IUAR"),y=tx("4ZWDG"),C=tx("8JWXs"),w=tx("d6Eqw"),S=tx("9ZkTI"),x=tx("iXPLL"),k=tx("8GtVK"),E=tx("2NPt6"),D=tx("jZ4Mt"),P=tx("g8QUz"),L=tx("5hW5O"),A=tx("anrdR"),I=tx("1k7WQ"),N=tx("2F4XR"),T=tx("kP9KU");function O(e,t,i){let n=(0,k.StandaloneServices).initialize(i||{});return n.createInstance(x.StandaloneEditor,e,t)}function M(e){let t=(0,k.StandaloneServices).get(l.ICodeEditorService);return t.onCodeEditorAdd(t=>{e(t)})}function R(e){let t=(0,k.StandaloneServices).get(l.ICodeEditorService);return t.onDiffEditorAdd(t=>{e(t)})}function F(){let e=(0,k.StandaloneServices).get(l.ICodeEditorService);return e.listCodeEditors()}function B(){let e=(0,k.StandaloneServices).get(l.ICodeEditorService);return e.listDiffEditors()}function K(e,t,i){let n=(0,k.StandaloneServices).initialize(i||{});return n.createInstance(x.StandaloneDiffEditor2,e,t)}function W(e,t){let i=(0,k.StandaloneServices).initialize(t||{});return new T.MultiDiffEditorWidget(e,{},i)}function X(e){if("string"!=typeof e.id||"function"!=typeof e.run)throw Error("Invalid command descriptor, `id` and `run` are required properties!");return(0,P.CommandsRegistry).registerCommand(e.id,e.run)}function z(e){if("string"!=typeof e.id||"string"!=typeof e.label||"function"!=typeof e.run)throw Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");let t=(0,L.ContextKeyExpr).deserialize(e.precondition),i=new n.DisposableStore;if(i.add((0,P.CommandsRegistry).registerCommand(e.id,(i,...n)=>(0,a.EditorCommand).runEditorCommand(i,n,t,(t,i,n)=>Promise.resolve(e.run(i,...n))))),e.contextMenuGroupId){let n={command:{id:e.id,title:e.label},when:t,group:e.contextMenuGroupId,order:e.contextMenuOrder||0};i.add((0,D.MenuRegistry).appendMenuItem(D.MenuId.EditorContext,n))}if(Array.isArray(e.keybindings)){let n=(0,k.StandaloneServices).get(A.IKeybindingService);if(n instanceof k.StandaloneKeybindingService){let r=(0,L.ContextKeyExpr).and(t,(0,L.ContextKeyExpr).deserialize(e.keybindingContext));i.add(n.addDynamicKeybindings(e.keybindings.map(t=>({keybinding:t,command:e.id,when:r}))))}else console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService")}return i}function V(e){return H([e])}function H(e){let t=(0,k.StandaloneServices).get(A.IKeybindingService);return t instanceof k.StandaloneKeybindingService?t.addDynamicKeybindings(e.map(e=>({keybinding:e.keybinding,command:e.command,commandArgs:e.commandArgs,when:(0,L.ContextKeyExpr).deserialize(e.when)}))):(console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),n.Disposable.None)}function U(e,t,i){let n=(0,k.StandaloneServices).get(m.ILanguageService),r=n.getLanguageIdByMimeType(t)||t;return(0,x.createTextModel)((0,k.StandaloneServices).get(C.IModelService),n,e,r,i)}function j(e,t){let i=(0,k.StandaloneServices).get(m.ILanguageService),n=i.getLanguageIdByMimeType(t)||t||_.PLAINTEXT_LANGUAGE_ID;e.setLanguage(i.createById(n))}function q(e,t,i){if(e){let n=(0,k.StandaloneServices).get(I.IMarkerService);n.changeOne(t,e.uri,i)}}function G(e){let t=(0,k.StandaloneServices).get(I.IMarkerService);t.changeAll(e,[])}function Y(e){let t=(0,k.StandaloneServices).get(I.IMarkerService);return t.read(e)}function Z(e){let t=(0,k.StandaloneServices).get(I.IMarkerService);return t.onMarkerChanged(e)}function Q(e){let t=(0,k.StandaloneServices).get(C.IModelService);return t.getModel(e)}function J(){let e=(0,k.StandaloneServices).get(C.IModelService);return e.getModels()}function $(e){let t=(0,k.StandaloneServices).get(C.IModelService);return t.onModelAdded(e)}function ee(e){let t=(0,k.StandaloneServices).get(C.IModelService);return t.onModelRemoved(e)}function et(e){let t=(0,k.StandaloneServices).get(C.IModelService);return t.onModelLanguageChanged(t=>{e({model:t.model,oldLanguage:t.oldLanguageId})})}function ei(e){return(0,d.createWebWorker)((0,k.StandaloneServices).get(C.IModelService),(0,k.StandaloneServices).get(v.ILanguageConfigurationService),e)}function en(e,t){let i=(0,k.StandaloneServices).get(m.ILanguageService),n=(0,k.StandaloneServices).get(E.IStandaloneThemeService);return(0,S.Colorizer).colorizeElement(n,i,e,t).then(()=>{n.registerEditorContainer(e)})}function er(e,t,n){let r=(0,k.StandaloneServices).get(m.ILanguageService),o=(0,k.StandaloneServices).get(E.IStandaloneThemeService);return o.registerEditorContainer(i.mainWindow.document.body),(0,S.Colorizer).colorize(r,e,t,n)}function eo(e,t,n=4){let r=(0,k.StandaloneServices).get(E.IStandaloneThemeService);return r.registerEditorContainer(i.mainWindow.document.body),(0,S.Colorizer).colorizeModelLine(e,t,n)}function es(e,t){f.TokenizationRegistry.getOrCreate(t);let i=function(e){let t=f.TokenizationRegistry.get(e);return t||{getInitialState:()=>b.NullState,tokenize:(t,i,n)=>(0,b.nullTokenize)(e,n)}}(t),n=(0,r.splitLines)(e),o=[],s=i.getInitialState();for(let e=0,t=n.length;e("string"==typeof t&&(t=(0,o.URI).parse(t)),e.open(t))})}function eu(e){let t=(0,k.StandaloneServices).get(l.ICodeEditorService);return t.registerCodeEditorOpenHandler(async(t,i,n)=>{var r;let o;if(!i)return null;let s=null===(r=t.options)||void 0===r?void 0:r.selection;return(s&&"number"==typeof s.endLineNumber&&"number"==typeof s.endColumn?o=s:s&&(o={lineNumber:s.startLineNumber,column:s.startColumn}),await e.openCodeEditor(i,t.resource,o))?i:null})}function eg(){return{create:O,getEditors:F,getDiffEditors:B,onDidCreateEditor:M,onDidCreateDiffEditor:R,createDiffEditor:K,addCommand:X,addEditorAction:z,addKeybindingRule:V,addKeybindingRules:H,createModel:U,setModelLanguage:j,setModelMarkers:q,getModelMarkers:Y,removeAllMarkers:G,onDidChangeMarkers:Z,getModels:J,getModel:Q,onDidCreateModel:$,onWillDisposeModel:ee,onDidChangeModelLanguage:et,createWebWorker:ei,colorizeElement:en,colorize:er,colorizeModelLine:eo,tokenize:es,defineTheme:ea,setTheme:el,remeasureFonts:ec,registerCommand:ed,registerLinkOpener:eh,registerEditorOpener:eu,AccessibilitySupport:w.AccessibilitySupport,ContentWidgetPositionPreference:w.ContentWidgetPositionPreference,CursorChangeReason:w.CursorChangeReason,DefaultEndOfLine:w.DefaultEndOfLine,EditorAutoIndentStrategy:w.EditorAutoIndentStrategy,EditorOption:w.EditorOption,EndOfLinePreference:w.EndOfLinePreference,EndOfLineSequence:w.EndOfLineSequence,MinimapPosition:w.MinimapPosition,MinimapSectionHeaderStyle:w.MinimapSectionHeaderStyle,MouseTargetType:w.MouseTargetType,OverlayWidgetPositionPreference:w.OverlayWidgetPositionPreference,OverviewRulerLane:w.OverviewRulerLane,GlyphMarginLane:w.GlyphMarginLane,RenderLineNumbersType:w.RenderLineNumbersType,RenderMinimap:w.RenderMinimap,ScrollbarVisibility:w.ScrollbarVisibility,ScrollType:w.ScrollType,TextEditorCursorBlinkingStyle:w.TextEditorCursorBlinkingStyle,TextEditorCursorStyle:w.TextEditorCursorStyle,TrackedRangeStickiness:w.TrackedRangeStickiness,WrappingIndent:w.WrappingIndent,InjectedTextCursorStops:w.InjectedTextCursorStops,PositionAffinity:w.PositionAffinity,ShowLightbulbIconMode:w.ShowLightbulbIconMode,ConfigurationChangedEvent:h.ConfigurationChangedEvent,BareFontInfo:g.BareFontInfo,FontInfo:g.FontInfo,TextModelResolvedOptions:y.TextModelResolvedOptions,FindMatch:y.FindMatch,ApplyUpdateResult:h.ApplyUpdateResult,EditorZoom:u.EditorZoom,createMultiFileDiffEditor:W,EditorType:p.EditorType,EditorOptions:h.EditorOptions}}}),tk("h8kCr",function(e,t){function i(e,t){"number"!=typeof e.vscodeWindowId&&Object.defineProperty(e,"vscodeWindowId",{get:()=>t})}c(e.exports,"ensureCodeWindow",()=>i),c(e.exports,"mainWindow",()=>n);let n=window}),tk("241rv",function(e,t){let i;c(e.exports,"isFalsyOrWhitespace",()=>s),c(e.exports,"format",()=>l),c(e.exports,"htmlAttributeEncodeValue",()=>d),c(e.exports,"escape",()=>h),c(e.exports,"escapeRegExpCharacters",()=>u),c(e.exports,"trim",()=>g),c(e.exports,"ltrim",()=>p),c(e.exports,"rtrim",()=>f),c(e.exports,"convertSimple2RegExpPattern",()=>m),c(e.exports,"stripWildcards",()=>v),c(e.exports,"createRegExp",()=>_),c(e.exports,"regExpLeadsToEndlessLoop",()=>b),c(e.exports,"splitLines",()=>y),c(e.exports,"splitLinesIncludeSeparators",()=>C),c(e.exports,"firstNonWhitespaceIndex",()=>w),c(e.exports,"getLeadingWhitespace",()=>S),c(e.exports,"lastNonWhitespaceIndex",()=>x),c(e.exports,"compare",()=>k),c(e.exports,"compareSubstring",()=>E),c(e.exports,"compareIgnoreCase",()=>D),c(e.exports,"compareSubstringIgnoreCase",()=>P),c(e.exports,"isLowerAsciiLetter",()=>A),c(e.exports,"isAsciiDigit",()=>L),c(e.exports,"isUpperAsciiLetter",()=>I),c(e.exports,"equalsIgnoreCase",()=>N),c(e.exports,"startsWithIgnoreCase",()=>T),c(e.exports,"commonPrefixLength",()=>O),c(e.exports,"commonSuffixLength",()=>M),c(e.exports,"isHighSurrogate",()=>R),c(e.exports,"isLowSurrogate",()=>F),c(e.exports,"computeCodePoint",()=>B),c(e.exports,"getNextCodePoint",()=>K),c(e.exports,"GraphemeIterator",()=>X),c(e.exports,"nextCharLength",()=>z),c(e.exports,"prevCharLength",()=>V),c(e.exports,"getCharContainingOffset",()=>H),c(e.exports,"containsRTL",()=>U),c(e.exports,"isBasicASCII",()=>q),c(e.exports,"UNUSUAL_LINE_TERMINATORS",()=>G),c(e.exports,"containsUnusualLineTerminators",()=>Y),c(e.exports,"isFullWidthCharacter",()=>Z),c(e.exports,"isEmojiImprecise",()=>Q),c(e.exports,"UTF8_BOM_CHARACTER",()=>J),c(e.exports,"startsWithUTF8BOM",()=>$),c(e.exports,"containsUppercaseCharacter",()=>ee),c(e.exports,"singleLetterHash",()=>et),c(e.exports,"getLeftDeleteOffset",()=>er),c(e.exports,"noBreakWhitespace",()=>eo),c(e.exports,"AmbiguousCharacters",()=>es),c(e.exports,"InvisibleCharacters",()=>ea);var n,r=tx("eW9EL"),o=tx("gFN5f");function s(e){return!e||"string"!=typeof e||0===e.trim().length}let a=/{(\d+)}/g;function l(e,...t){return 0===t.length?e:e.replace(a,function(e,i){let n=parseInt(i,10);return isNaN(n)||n<0||n>=t.length?e:t[n]})}function d(e){return e.replace(/[<>"'&]/g,e=>{switch(e){case"<":return"<";case">":return">";case'"':return""";case"'":return"'";case"&":return"&"}return e})}function h(e){return e.replace(/[<>&]/g,function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}})}function u(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function g(e,t=" "){let i=p(e,t);return f(i,t)}function p(e,t){if(!e||!t)return e;let i=t.length;if(0===i||0===e.length)return e;let n=0;for(;e.indexOf(t,n)===n;)n+=i;return e.substring(n)}function f(e,t){if(!e||!t)return e;let i=t.length,n=e.length;if(0===i||0===n)return e;let r=n,o=-1;for(;-1!==(o=e.lastIndexOf(t,r-1))&&o+i===r;){if(0===o)return"";r=o}return e.substring(0,r)}function m(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function v(e){return e.replace(/\*/g,"")}function _(e,t,i={}){if(!e)throw Error("Cannot create regex from empty string");t||(e=u(e)),i.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let n="";return i.global&&(n+="g"),i.matchCase||(n+="i"),i.multiline&&(n+="m"),i.unicode&&(n+="u"),new RegExp(e,n)}function b(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;let t=e.exec("");return!!(t&&0===e.lastIndex)}function y(e){return e.split(/\r\n|\r|\n/)}function C(e){var t;let i=[],n=e.split(/(\r\n|\r|\n)/);for(let e=0;e=0;i--){let t=e.charCodeAt(i);if(32!==t&&9!==t)return i}return -1}function k(e,t){return et?1:0}function E(e,t,i=0,n=e.length,r=0,o=t.length){for(;io)return 1}let s=n-i,a=o-r;return sa?1:0}function D(e,t){return P(e,t,0,e.length,0,t.length)}function P(e,t,i=0,n=e.length,r=0,o=t.length){for(;i=128||a>=128)return E(e.toLowerCase(),t.toLowerCase(),i,n,r,o);A(s)&&(s-=32),A(a)&&(a-=32);let l=s-a;if(0!==l)return l}let s=n-i,a=o-r;return sa?1:0}function L(e){return e>=48&&e<=57}function A(e){return e>=97&&e<=122}function I(e){return e>=65&&e<=90}function N(e,t){return e.length===t.length&&0===P(e,t)}function T(e,t){let i=t.length;return!(t.length>e.length)&&0===P(e,t,0,i)}function O(e,t){let i;let n=Math.min(e.length,t.length);for(i=0;i1){let n=e.charCodeAt(t-2);if(R(n))return B(n,i)}return i}(this._str,this._offset);return this._offset-=e>=65536?2:1,e}nextCodePoint(){let e=K(this._str,this._len,this._offset);return this._offset+=e>=65536?2:1,e}eol(){return this._offset>=this._len}}class X{get offset(){return this._iterator.offset}constructor(e,t=0){this._iterator=new W(e,t)}nextGraphemeLength(){let e=en.getInstance(),t=this._iterator,i=t.offset,n=e.getGraphemeBreakType(t.nextCodePoint());for(;!t.eol();){let i=t.offset,r=e.getGraphemeBreakType(t.nextCodePoint());if(ei(n,r)){t.setOffset(i);break}n=r}return t.offset-i}prevGraphemeLength(){let e=en.getInstance(),t=this._iterator,i=t.offset,n=e.getGraphemeBreakType(t.prevCodePoint());for(;t.offset>0;){let i=t.offset,r=e.getGraphemeBreakType(t.prevCodePoint());if(ei(r,n)){t.setOffset(i);break}n=r}return i-t.offset}eol(){return this._iterator.eol()}}function z(e,t){let i=new X(e,t);return i.nextGraphemeLength()}function V(e,t){let i=new X(e,t);return i.prevGraphemeLength()}function H(e,t){t>0&&F(e.charCodeAt(t))&&t--;let i=t+z(e,t),n=i-V(e,i);return[n,i]}function U(e){return i||(i=/(?:[\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])/),i.test(e)}let j=/^[\t\n\r\x20-\x7E]*$/;function q(e){return j.test(e)}let G=/[\u2028\u2029]/;function Y(e){return G.test(e)}function Z(e){return e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Q(e){return e>=127462&&e<=127487||8986===e||8987===e||9200===e||9203===e||e>=9728&&e<=10175||11088===e||11093===e||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129008||e>=129280&&e<=129535||e>=129648&&e<=129782}let J=String.fromCharCode(65279);function $(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function ee(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function et(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function ei(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&(11!==e&&9!==e||9!==t&&10!==t)&&(12!==e&&10!==e||10!==t)&&5!==t&&13!==t&&7!==t&&1!==e&&(13!==e||14!==t)&&(6!==e||6!==t))}class en{static getInstance(){return en._INSTANCE||(en._INSTANCE=new en),en._INSTANCE}constructor(){this._data=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]")}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,i=t.length/3,n=1;for(;n<=i;)if(et[3*n+1]))return t[3*n+2];n=2*n+1}return 0}}function er(e,t){if(0===e)return 0;let i=function(e,t){var i;let n=new W(t,e),r=n.prevCodePoint();for(;127995<=(i=r)&&i<=127999||65039===r||8419===r;){if(0===n.offset)return;r=n.prevCodePoint()}if(!Q(r))return;let o=n.offset;if(o>0){let e=n.prevCodePoint();8205===e&&(o=n.offset)}return o}(e,t);if(void 0!==i)return i;let n=new W(t,e);return n.prevCodePoint(),n.offset}en._INSTANCE=null;let eo="\xa0";class es{static getInstance(e){return n.cache.get(Array.from(e))}static getLocales(){return n._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}n=es,es.ambiguousCharacterData=new o.Lazy(()=>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]}')),es.cache=new r.LRUCachedFunction(e=>{let t;function i(e){let t=new Map;for(let i=0;i!e.startsWith("_")&&e in r);for(let e of(0===o.length&&(o=["_default"]),o)){let n=i(r[e]);t=function(e,t){if(!e)return t;let i=new Map;for(let[n,r]of e)t.has(n)&&i.set(n,r);return i}(t,n)}let s=i(r._common),a=function(e,t){let i=new Map(e);for(let[e,n]of t)i.set(e,n);return i}(s,t);return new n(a)}),es._locales=new o.Lazy(()=>Object.keys(n.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class ea{static getRawData(){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 getData(){return this._data||(this._data=new Set(ea.getRawData())),this._data}static isInvisibleCharacter(e){return ea.getData().has(e)}static get codePoints(){return ea.getData()}}ea._data=void 0}),tk("eW9EL",function(e,t){c(e.exports,"LRUCachedFunction",()=>i),c(e.exports,"CachedFunction",()=>n);class i{constructor(e,t=JSON.stringify){this.fn=e,this._computeKey=t,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=this._computeKey(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}class n{get cachedValues(){return this._map}constructor(e){this.fn=e,this._map=new Map}get(e){if(this._map.has(e))return this._map.get(e);let t=this.fn(e);return this._map.set(e,t),t}}}),tk("gFN5f",function(e,t){c(e.exports,"Lazy",()=>i);class i{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}}),tk("4pBPM",function(e,t){c(e.exports,"FontMeasurements",()=>u);var i=tx("6rNSc"),n=tx("ljh4W"),r=tx("7QlpW"),o=tx("5OUe2"),s=tx("6zNwO"),a=tx("b8zgB"),l=tx("3kv9l");class d extends o.Disposable{constructor(){super(...arguments),this._cache=new Map,this._evictUntrustedReadingsTimeout=-1,this._onDidChange=this._register(new r.Emitter),this.onDidChange=this._onDidChange.event}dispose(){-1!==this._evictUntrustedReadingsTimeout&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),super.dispose()}clearAllFontInfos(){this._cache.clear(),this._onDidChange.fire()}_ensureCache(e){let t=(0,i.getWindowId)(e),n=this._cache.get(t);return n||(n=new h,this._cache.set(t,n)),n}_writeToCache(e,t,i){let n=this._ensureCache(e);n.put(t,i),i.isTrusted||-1!==this._evictUntrustedReadingsTimeout||(this._evictUntrustedReadingsTimeout=e.setTimeout(()=>{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings(e)},5e3))}_evictUntrustedReadings(e){let t=this._ensureCache(e),i=t.getValues(),n=!1;for(let e of i)e.isTrusted||(n=!0,t.remove(e));n&&this._onDidChange.fire()}readFontInfo(e,t){let i=this._ensureCache(e);if(!i.has(t)){let i=this._actualReadFontInfo(e,t);(i.typicalHalfwidthCharacterWidth<=2||i.typicalFullwidthCharacterWidth<=2||i.spaceWidth<=2||i.maxDigitWidth<=2)&&(i=new l.FontInfo({pixelRatio:(0,n.PixelRatio).getInstance(e).value,fontFamily:i.fontFamily,fontWeight:i.fontWeight,fontSize:i.fontSize,fontFeatureSettings:i.fontFeatureSettings,fontVariationSettings:i.fontVariationSettings,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing,isMonospace:i.isMonospace,typicalHalfwidthCharacterWidth:Math.max(i.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(i.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:i.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(i.spaceWidth,5),middotWidth:Math.max(i.middotWidth,5),wsmiddotWidth:Math.max(i.wsmiddotWidth,5),maxDigitWidth:Math.max(i.maxDigitWidth,5)},!1)),this._writeToCache(e,t,i)}return i.get(t)}_createRequest(e,t,i,n){let r=new s.CharWidthRequest(e,t);return i.push(r),null==n||n.push(r),r}_actualReadFontInfo(e,t){let i=[],r=[],o=this._createRequest("n",0,i,r),c=this._createRequest("m",0,i,null),d=this._createRequest(" ",0,i,r),h=this._createRequest("0",0,i,r),u=this._createRequest("1",0,i,r),g=this._createRequest("2",0,i,r),p=this._createRequest("3",0,i,r),f=this._createRequest("4",0,i,r),m=this._createRequest("5",0,i,r),v=this._createRequest("6",0,i,r),_=this._createRequest("7",0,i,r),b=this._createRequest("8",0,i,r),y=this._createRequest("9",0,i,r),C=this._createRequest("→",0,i,r),w=this._createRequest("→",0,i,null),S=this._createRequest("\xb7",0,i,r),x=this._createRequest(String.fromCharCode(11825),0,i,null),k="|/-_ilm%";for(let e=0,t=k.length;e.001){D=!1;break}}let L=!0;return D&&w.width!==P&&(L=!1),w.width>C.width&&(L=!1),new l.FontInfo({pixelRatio:(0,n.PixelRatio).getInstance(e).value,fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,fontFeatureSettings:t.fontFeatureSettings,fontVariationSettings:t.fontVariationSettings,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:D,typicalHalfwidthCharacterWidth:o.width,typicalFullwidthCharacterWidth:c.width,canUseHalfwidthRightwardsArrow:L,spaceWidth:d.width,middotWidth:S.width,wsmiddotWidth:x.width,maxDigitWidth:E},!0)}}class h{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(e){let t=e.getId();return!!this._values[t]}get(e){let t=e.getId();return this._values[t]}put(e,t){let i=e.getId();this._keys[i]=e,this._values[i]=t}remove(e){let t=e.getId();delete this._keys[t],delete this._values[t]}getValues(){return Object.keys(this._keys).map(e=>this._values[e])}}let u=new d}),tk("6rNSc",function(e,t){let i,n;c(e.exports,"getWindow",()=>C),c(e.exports,"getWindowId",()=>k),c(e.exports,"getWindowById",()=>E),c(e.exports,"onDidRegisterWindow",()=>P),c(e.exports,"onWillUnregisterWindow",()=>L),c(e.exports,"onDidUnregisterWindow",()=>A),c(e.exports,"addDisposableListener",()=>T),c(e.exports,"EventType",()=>e_),c(e.exports,"clearNode",()=>I),c(e.exports,"addStandardDisposableListener",()=>M),c(e.exports,"addStandardDisposableGenericMouseDownListener",()=>R),c(e.exports,"runWhenWindowIdle",()=>F),c(e.exports,"WindowIdleValue",()=>B),c(e.exports,"runAtThisOrScheduleAtNextAnimationFrame",()=>i),c(e.exports,"scheduleAtNextAnimationFrame",()=>n),c(e.exports,"WindowIntervalTimer",()=>K),c(e.exports,"getComputedStyle",()=>X),c(e.exports,"getClientArea",()=>function e(t,i){let n=C(t),r=n.document;if(t!==r.body)return new V(t.clientWidth,t.clientHeight);if(v.isIOS&&(null==n?void 0:n.visualViewport))return new V(n.visualViewport.width,n.visualViewport.height);if((null==n?void 0:n.innerWidth)&&n.innerHeight)return new V(n.innerWidth,n.innerHeight);if(r.body&&r.body.clientWidth&&r.body.clientHeight)return new V(r.body.clientWidth,r.body.clientHeight);if(r.documentElement&&r.documentElement.clientWidth&&r.documentElement.clientHeight)return new V(r.documentElement.clientWidth,r.documentElement.clientHeight);if(i)return e(i);throw Error("Unable to figure out browser width and height")}),c(e.exports,"Dimension",()=>V),c(e.exports,"getTopLeftOffset",()=>H),c(e.exports,"size",()=>U),c(e.exports,"getDomNodePagePosition",()=>j),c(e.exports,"getDomNodeZoomLevel",()=>q),c(e.exports,"getTotalWidth",()=>G),c(e.exports,"getContentWidth",()=>Y),c(e.exports,"getContentHeight",()=>Z),c(e.exports,"getTotalHeight",()=>Q),c(e.exports,"isAncestor",()=>J),c(e.exports,"hasParentWithClass",()=>$),c(e.exports,"isInShadowDOM",()=>et),c(e.exports,"getShadowRoot",()=>ei),c(e.exports,"getActiveElement",()=>en),c(e.exports,"getActiveDocument",()=>es),c(e.exports,"isActiveElement",()=>er),c(e.exports,"isAncestorOfActiveElement",()=>eo),c(e.exports,"getActiveWindow",()=>ea),c(e.exports,"createStyleSheet2",()=>ec),c(e.exports,"createStyleSheet",()=>eh),c(e.exports,"createCSSRule",()=>function e(t,i,n=ep()){var r,o;if(n&&i)for(let s of(null===(r=n.sheet)||void 0===r||r.insertRule(`${t} {${i}}`,0),null!==(o=el.get(n))&&void 0!==o?o:[]))e(t,i,s)}),c(e.exports,"removeCSSRulesContainingSelector",()=>function e(t,i=ep()){var n,r;if(!i)return;let o=ef(i),s=[];for(let e=0;e=0;e--)null===(n=i.sheet)||void 0===n||n.deleteRule(s[e]);for(let n of null!==(r=el.get(i))&&void 0!==r?r:[])e(t,n)}),c(e.exports,"isMouseEvent",()=>em),c(e.exports,"isKeyboardEvent",()=>ev),c(e.exports,"isEventLike",()=>eb),c(e.exports,"EventHelper",()=>ey),c(e.exports,"saveParentsScrollTop",()=>eC),c(e.exports,"restoreParentsScrollTop",()=>ew),c(e.exports,"trackFocus",()=>ex),c(e.exports,"after",()=>ek),c(e.exports,"append",()=>eE),c(e.exports,"prepend",()=>eD),c(e.exports,"reset",()=>eP),c(e.exports,"$",()=>eI),c(e.exports,"setVisibility",()=>eN),c(e.exports,"show",()=>eT),c(e.exports,"hide",()=>eO),c(e.exports,"computeScreenAwareSize",()=>eM),c(e.exports,"windowOpenNoOpener",()=>eR),c(e.exports,"animate",()=>eF),c(e.exports,"asCSSUrl",()=>eB),c(e.exports,"asCSSPropertyValue",()=>eK),c(e.exports,"asCssValueWithDefault",()=>function e(t,i){if(void 0!==t){let n=t.match(/^\s*var\((.+)\)$/);if(n){let t=n[1].split(",",2);return 2===t.length&&(i=e(t[1].trim(),i)),`var(${t[0]}, ${i})`}return t}return i}),c(e.exports,"hookDomPurifyHrefAndSrcSanitizer",()=>eW),c(e.exports,"basicMarkupHtmlTags",()=>eX),c(e.exports,"ModifierKeyEmitter",()=>ez),c(e.exports,"DragAndDropObserver",()=>eV),c(e.exports,"h",()=>eU);var r,o,s=tx("fqzag"),a=tx("bpwwF"),l=tx("52bzN"),d=tx("7v59q"),h=tx("54lLT"),u=tx("8xqBM"),g=tx("7QlpW"),p=tx("5o9QK"),f=tx("5OUe2"),m=tx("eOh7f"),v=tx("aWCAT"),_=tx("1ueLU"),b=tx("h8kCr");let{registerWindow:y,getWindow:C,getDocument:w,getWindows:S,getWindowsCount:x,getWindowId:k,getWindowById:E,hasWindow:D,onDidRegisterWindow:P,onWillUnregisterWindow:L,onDidUnregisterWindow:A}=function(){let e=new Map;(0,b.ensureCodeWindow)(b.mainWindow,1);let t={window:b.mainWindow,disposables:new f.DisposableStore};e.set(b.mainWindow.vscodeWindowId,t);let i=new g.Emitter,n=new g.Emitter,r=new g.Emitter;return{onDidRegisterWindow:i.event,onWillUnregisterWindow:r.event,onDidUnregisterWindow:n.event,registerWindow(t){if(e.has(t.vscodeWindowId))return f.Disposable.None;let o=new f.DisposableStore,s={window:t,disposables:o.add(new f.DisposableStore)};return e.set(t.vscodeWindowId,s),o.add((0,f.toDisposable)(()=>{e.delete(t.vscodeWindowId),n.fire(t)})),o.add(T(t,e_.BEFORE_UNLOAD,()=>{r.fire(t)})),i.fire(s),o},getWindows:()=>e.values(),getWindowsCount:()=>e.size,getWindowId:e=>e.vscodeWindowId,hasWindow:t=>e.has(t),getWindowById:function(i,n){let r="number"==typeof i?e.get(i):void 0;return null!=r?r:n?t:void 0},getWindow(e){var t;return(null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)?e.ownerDocument.defaultView.window:(null==e?void 0:e.view)?e.view.window:b.mainWindow},getDocument:e=>C(e).document}}();function I(e){for(;e.firstChild;)e.firstChild.remove()}class N{constructor(e,t,i,n){this._node=e,this._type=t,this._handler=i,this._options=n||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function T(e,t,i,n){return new N(e,t,i,n)}function O(e,t){return function(i){return t(new d.StandardMouseEvent(e,i))}}let M=function(e,t,i,n){let r=i;return"click"===t||"mousedown"===t?r=O(C(e),i):("keydown"===t||"keypress"===t||"keyup"===t)&&(r=function(e){return i(new l.StandardKeyboardEvent(e))}),T(e,t,r,n)},R=function(e,t,i){let n=O(C(e),t);return T(e,v.isIOS&&a.BrowserFeatures.pointerEvents?e_.POINTER_DOWN:e_.MOUSE_DOWN,n,i)};function F(e,t,i){return(0,h._runWhenIdle)(e,t,i)}class B extends h.AbstractIdleValue{constructor(e,t){super(e,t)}}class K extends h.IntervalTimer{constructor(e){super(),this.defaultTarget=e&&C(e)}cancelAndSet(e,t,i){return super.cancelAndSet(e,t,null!=i?i:this.defaultTarget)}}class W{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){(0,u.onUnexpectedError)(e)}}static sort(e,t){return t.priority-e.priority}}function X(e){return C(e).getComputedStyle(e,null)}!function(){let e=new Map,t=new Map,r=new Map,o=new Map,s=i=>{var n;r.set(i,!1);let s=null!==(n=e.get(i))&&void 0!==n?n:[];for(t.set(i,s),e.set(i,[]),o.set(i,!0);s.length>0;){s.sort(W.sort);let e=s.shift();e.execute()}o.set(i,!1)};n=(t,i,n=0)=>{let o=k(t),a=new W(i,n),l=e.get(o);return l||(l=[],e.set(o,l)),l.push(a),r.get(o)||(r.set(o,!0),t.requestAnimationFrame(()=>s(o))),a},i=(e,i,r)=>{let s=k(e);if(!o.get(s))return n(e,i,r);{let e=new W(i,r),n=t.get(s);return n||(n=[],t.set(s,n)),n.push(e),e}}}();class z{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,i){let n=X(e),r=n?n.getPropertyValue(t):"0";return z.convertToPixels(e,r)}static getBorderLeftWidth(e){return z.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return z.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return z.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return z.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return z.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return z.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return z.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return z.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return z.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return z.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return z.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return z.getDimension(e,"margin-bottom","marginBottom")}}class V{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new V(e,t):this}static is(e){return"object"==typeof e&&"number"==typeof e.height&&"number"==typeof e.width}static lift(e){return e instanceof V?e:new V(e.width,e.height)}static equals(e,t){return e===t||!!e&&!!t&&e.width===t.width&&e.height===t.height}}function H(e){let t=e.offsetParent,i=e.offsetTop,n=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==e.ownerDocument.body&&e!==e.ownerDocument.documentElement;){i-=e.scrollTop;let r=ee(e)?null:X(e);r&&(n-="rtl"!==r.direction?e.scrollLeft:-e.scrollLeft),e===t&&(n+=z.getBorderLeftWidth(e),i+=z.getBorderTopWidth(e)+e.offsetTop,n+=e.offsetLeft,t=e.offsetParent)}return{left:n,top:i}}function U(e,t,i){"number"==typeof t&&(e.style.width=`${t}px`),"number"==typeof i&&(e.style.height=`${i}px`)}function j(e){let t=e.getBoundingClientRect(),i=C(e);return{left:t.left+i.scrollX,top:t.top+i.scrollY,width:t.width,height:t.height}}function q(e){let t=e,i=1;do{let e=X(t).zoom;null!=e&&"1"!==e&&(i*=e),t=t.parentElement}while(null!==t&&t!==t.ownerDocument.documentElement)return i}function G(e){let t=z.getMarginLeft(e)+z.getMarginRight(e);return e.offsetWidth+t}function Y(e){let t=z.getBorderLeftWidth(e)+z.getBorderRightWidth(e),i=z.getPaddingLeft(e)+z.getPaddingRight(e);return e.offsetWidth-t-i}function Z(e){let t=z.getBorderTopWidth(e)+z.getBorderBottomWidth(e),i=z.getPaddingTop(e)+z.getPaddingBottom(e);return e.offsetHeight-t-i}function Q(e){let t=z.getMarginTop(e)+z.getMarginBottom(e);return e.offsetHeight+t}function J(e,t){return!!(null==t?void 0:t.contains(e))}function $(e,t,i){return!!function(e,t,i){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e.classList.contains(t))return e;if(i){if("string"==typeof i){if(e.classList.contains(i))break}else if(e===i)break}e=e.parentNode}return null}(e,t,i)}function ee(e){return e&&!!e.host&&!!e.mode}function et(e){return!!ei(e)}function ei(e){for(var t;e.parentNode;){if(e===(null===(t=e.ownerDocument)||void 0===t?void 0:t.body))return null;e=e.parentNode}return ee(e)?e:null}function en(){let e=es().activeElement;for(;null==e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function er(e){return en()===e}function eo(e){return J(en(),e)}function es(){var e;if(1>=x())return b.mainWindow.document;let t=Array.from(S()).map(({window:e})=>e.document);return null!==(e=t.find(e=>e.hasFocus()))&&void 0!==e?e:b.mainWindow.document}function ea(){var e,t;let i=es();return null!==(t=null===(e=i.defaultView)||void 0===e?void 0:e.window)&&void 0!==t?t:b.mainWindow}V.None=new V(0,0);let el=new Map;function ec(){return new ed}class ed{constructor(){this._currentCssStyle="",this._styleSheet=void 0}setStyle(e){e!==this._currentCssStyle&&(this._currentCssStyle=e,this._styleSheet?this._styleSheet.innerText=e:this._styleSheet=eh(b.mainWindow.document.head,t=>t.innerText=e))}dispose(){this._styleSheet&&(this._styleSheet.remove(),this._styleSheet=void 0)}}function eh(e=b.mainWindow.document.head,t,i){let n=document.createElement("style");if(n.type="text/css",n.media="screen",null==t||t(n),e.appendChild(n),i&&i.add((0,f.toDisposable)(()=>e.removeChild(n))),e===b.mainWindow.document.head){let e=new Set;for(let{window:t,disposables:r}of(el.set(n,e),S())){if(t===b.mainWindow)continue;let o=r.add(function(e,t,i){var n,r;let o=new f.DisposableStore,s=e.cloneNode(!0);for(let t of(i.document.head.appendChild(s),o.add((0,f.toDisposable)(()=>i.document.head.removeChild(s))),ef(e)))null===(n=s.sheet)||void 0===n||n.insertRule(t.cssText,null===(r=s.sheet)||void 0===r?void 0:r.cssRules.length);return o.add(eu.observe(e,o,{childList:!0})(()=>{s.textContent=e.textContent})),t.add(s),o.add((0,f.toDisposable)(()=>t.delete(s))),o}(n,e,t));null==i||i.add(o)}}return n}let eu=new class{constructor(){this.mutationObservers=new Map}observe(e,t,i){let n=this.mutationObservers.get(e);n||(n=new Map,this.mutationObservers.set(e,n));let r=(0,_.hash)(i),o=n.get(r);if(o)o.users+=1;else{let s=new g.Emitter,a=new MutationObserver(e=>s.fire(e));a.observe(e,i);let l=o={users:1,observer:a,onDidMutate:s.event};t.add((0,f.toDisposable)(()=>{l.users-=1,0===l.users&&(s.dispose(),a.disconnect(),null==n||n.delete(r),(null==n?void 0:n.size)===0&&this.mutationObservers.delete(e))})),n.set(r,o)}return o.onDidMutate}},eg=null;function ep(){return eg||(eg=eh()),eg}function ef(e){var t,i;return(null===(t=null==e?void 0:e.sheet)||void 0===t?void 0:t.rules)?e.sheet.rules:(null===(i=null==e?void 0:e.sheet)||void 0===i?void 0:i.cssRules)?e.sheet.cssRules:[]}function em(e){return e instanceof MouseEvent||e instanceof C(e).MouseEvent}function ev(e){return e instanceof KeyboardEvent||e instanceof C(e).KeyboardEvent}let e_={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",POINTER_LEAVE:"pointerleave",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",PAGE_SHOW:"pageshow",PAGE_HIDE:"pagehide",PASTE:"paste",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:s.isWebKit?"webkitAnimationStart":"animationstart",ANIMATION_END:s.isWebKit?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:s.isWebKit?"webkitAnimationIteration":"animationiteration"};function eb(e){return!!(e&&"function"==typeof e.preventDefault&&"function"==typeof e.stopPropagation)}let ey={stop:(e,t)=>(e.preventDefault(),t&&e.stopPropagation(),e)};function eC(e){let t=[];for(let i=0;e&&e.nodeType===e.ELEMENT_NODE;i++)t[i]=e.scrollTop,e=e.parentNode;return t}function ew(e,t){for(let i=0;e&&e.nodeType===e.ELEMENT_NODE;i++)e.scrollTop!==t[i]&&(e.scrollTop=t[i]),e=e.parentNode}class eS extends f.Disposable{static hasFocusWithin(e){if(!(e instanceof HTMLElement))return J(e.document.activeElement,e.document);{let t=ei(e),i=t?t.activeElement:e.ownerDocument.activeElement;return J(i,e)}}constructor(e){super(),this._onDidFocus=this._register(new g.Emitter),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new g.Emitter),this.onDidBlur=this._onDidBlur.event;let t=eS.hasFocusWithin(e),i=!1,n=()=>{i=!1,t||(t=!0,this._onDidFocus.fire())},r=()=>{t&&(i=!0,(e instanceof HTMLElement?C(e):e).setTimeout(()=>{i&&(i=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{let i=eS.hasFocusWithin(e);i!==t&&(t?r():n())},this._register(T(e,e_.FOCUS,n,!0)),this._register(T(e,e_.BLUR,r,!0)),e instanceof HTMLElement&&(this._register(T(e,e_.FOCUS_IN,()=>this._refreshStateHandler())),this._register(T(e,e_.FOCUS_OUT,()=>this._refreshStateHandler())))}}function ex(e){return new eS(e)}function ek(e,t){return e.after(t),t}function eE(e,...t){if(e.append(...t),1===t.length&&"string"!=typeof t[0])return t[0]}function eD(e,t){return e.insertBefore(t,e.firstChild),t}function eP(e,...t){e.innerText="",eE(e,...t)}let eL=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;function eA(e,t,i,...n){let r;let s=eL.exec(t);if(!s)throw Error("Bad use of emmet");let a=s[1]||"div";return r=e!==o.HTML?document.createElementNS(e,a):document.createElement(a),s[3]&&(r.id=s[3]),s[4]&&(r.className=s[4].replace(/\./g," ").trim()),i&&Object.entries(i).forEach(([e,t])=>{void 0!==t&&(/^on\w+$/.test(e)?r[e]=t:"selected"===e?t&&r.setAttribute(e,"true"):r.setAttribute(e,t))}),r.append(...n),r}function eI(e,t,...i){return eA(o.HTML,e,t,...i)}function eN(e,...t){e?eT(...t):eO(...t)}function eT(...e){for(let t of e)t.style.display="",t.removeAttribute("aria-hidden")}function eO(...e){for(let t of e)t.style.display="none",t.setAttribute("aria-hidden","true")}function eM(e,t){let i=e.devicePixelRatio*t;return Math.max(1,Math.floor(i))/e.devicePixelRatio}function eR(e){(0,b.mainWindow).open(e,"_blank","noopener")}function eF(e,t){let i=()=>{t(),r=n(e,i)},r=n(e,i);return(0,f.toDisposable)(()=>r.dispose())}function eB(e){return e?`url('${(0,m.FileAccess).uriToBrowserUri(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"}function eK(e){return`'${e.replace(/'/g,"%27")}'`}function eW(e,t=!1){let i=document.createElement("a");return p.addHook("afterSanitizeAttributes",n=>{for(let r of["href","src"])if(n.hasAttribute(r)){let o=n.getAttribute(r);if("href"===r&&o.startsWith("#"))continue;if(i.href=o,!e.includes(i.protocol.replace(/:$/,""))){if(t&&"src"===r&&i.href.startsWith("data:"))continue;n.removeAttribute(r)}}}),(0,f.toDisposable)(()=>{p.removeHook("afterSanitizeAttributes")})}(r=o||(o={})).HTML="http://www.w3.org/1999/xhtml",r.SVG="http://www.w3.org/2000/svg",eI.SVG=function(e,t,...i){return eA(o.SVG,e,t,...i)},(0,m.RemoteAuthorities).setPreferredWebSchema(/^https:/.test(b.mainWindow.location.href)?"https":"http");let eX=Object.freeze(["a","abbr","b","bdo","blockquote","br","caption","cite","code","col","colgroup","dd","del","details","dfn","div","dl","dt","em","figcaption","figure","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","label","li","mark","ol","p","pre","q","rp","rt","ruby","samp","small","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","time","tr","tt","u","ul","var","video","wbr"]);Object.freeze({ALLOWED_TAGS:["a","button","blockquote","code","div","h1","h2","h3","h4","h5","h6","hr","input","label","li","p","pre","select","small","span","strong","textarea","ul","ol"],ALLOWED_ATTR:["href","data-href","data-command","target","title","name","src","alt","class","id","role","tabindex","style","data-code","width","height","align","x-dispatch","required","checked","placeholder","type","start"],RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1,RETURN_TRUSTED_TYPE:!0});class ez extends g.Emitter{constructor(){super(),this._subscriptions=new f.DisposableStore,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(g.Event.runAndSubscribe(P,({window:e,disposables:t})=>this.registerListeners(e,t),{window:b.mainWindow,disposables:this._subscriptions}))}registerListeners(e,t){t.add(T(e,"keydown",e=>{if(e.defaultPrevented)return;let t=new l.StandardKeyboardEvent(e);if(6!==t.keyCode||!e.repeat){if(e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else{if(6===t.keyCode)return;this._keyStatus.lastKeyPressed=void 0}this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=e,this.fire(this._keyStatus))}},!0)),t.add(T(e,"keyup",e=>{!e.defaultPrevented&&(!e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!e.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased="shift":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=e,this.fire(this._keyStatus)))},!0)),t.add(T(e.document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),t.add(T(e.document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),t.add(T(e.document.body,"mousemove",e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),t.add(T(e,"blur",()=>{this.resetKeyStatus()}))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return ez.instance||(ez.instance=new ez),ez.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}class eV extends f.Disposable{constructor(e,t){super(),this.element=e,this.callbacks=t,this.counter=0,this.dragStartTime=0,this.registerListeners()}registerListeners(){this.callbacks.onDragStart&&this._register(T(this.element,e_.DRAG_START,e=>{var t,i;null===(i=(t=this.callbacks).onDragStart)||void 0===i||i.call(t,e)})),this.callbacks.onDrag&&this._register(T(this.element,e_.DRAG,e=>{var t,i;null===(i=(t=this.callbacks).onDrag)||void 0===i||i.call(t,e)})),this._register(T(this.element,e_.DRAG_ENTER,e=>{var t,i;this.counter++,this.dragStartTime=e.timeStamp,null===(i=(t=this.callbacks).onDragEnter)||void 0===i||i.call(t,e)})),this._register(T(this.element,e_.DRAG_OVER,e=>{var t,i;e.preventDefault(),null===(i=(t=this.callbacks).onDragOver)||void 0===i||i.call(t,e,e.timeStamp-this.dragStartTime)})),this._register(T(this.element,e_.DRAG_LEAVE,e=>{var t,i;this.counter--,0===this.counter&&(this.dragStartTime=0,null===(i=(t=this.callbacks).onDragLeave)||void 0===i||i.call(t,e))})),this._register(T(this.element,e_.DRAG_END,e=>{var t,i;this.counter=0,this.dragStartTime=0,null===(i=(t=this.callbacks).onDragEnd)||void 0===i||i.call(t,e)})),this._register(T(this.element,e_.DROP,e=>{var t,i;this.counter=0,this.dragStartTime=0,null===(i=(t=this.callbacks).onDrop)||void 0===i||i.call(t,e)}))}}let eH=/(?[\w\-]+)?(?:#(?[\w\-]+))?(?(?:\.(?:[\w\-]+))*)(?:@(?(?:[\w\_])+))?/;function eU(e,...t){let i,n;Array.isArray(t[0])?(i={},n=t[0]):(i=t[0]||{},n=t[1]);let r=eH.exec(e);if(!r||!r.groups)throw Error("Bad use of h");let o=r.groups.tag||"div",s=document.createElement(o);r.groups.id&&(s.id=r.groups.id);let a=[];if(r.groups.class)for(let e of r.groups.class.split("."))""!==e&&a.push(e);if(void 0!==i.className)for(let e of i.className.split("."))""!==e&&a.push(e);a.length>0&&(s.className=a.join(" "));let l={};if(r.groups.name&&(l[r.groups.name]=s),n)for(let e of n)e instanceof HTMLElement?s.appendChild(e):"string"==typeof e?s.append(e):"root"in e&&(Object.assign(l,e),s.appendChild(e.root));for(let[e,t]of Object.entries(i))if("className"!==e){if("style"===e)for(let[e,i]of Object.entries(t))s.style.setProperty(ej(e),"number"==typeof i?i+"px":""+i);else"tabIndex"===e?s.tabIndex=t:s.setAttribute(ej(e),t.toString())}return l.root=s,l}function ej(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}}),tk("fqzag",function(e,t){c(e.exports,"addMatchMediaChangeListener",()=>r),c(e.exports,"getZoomFactor",()=>o),c(e.exports,"isFirefox",()=>a),c(e.exports,"isWebKit",()=>l),c(e.exports,"isChrome",()=>d),c(e.exports,"isSafari",()=>h),c(e.exports,"isWebkitWebView",()=>u),c(e.exports,"isAndroid",()=>g),c(e.exports,"isStandalone",()=>f);var i=tx("h8kCr");class n{constructor(){this.mapWindowIdToZoomFactor=new Map}getZoomFactor(e){var t;return null!==(t=this.mapWindowIdToZoomFactor.get(this.getWindowId(e)))&&void 0!==t?t:1}getWindowId(e){return e.vscodeWindowId}}function r(e,t,i){"string"==typeof t&&(t=e.matchMedia(t)),t.addEventListener("change",i)}function o(e){return n.INSTANCE.getZoomFactor(e)}n.INSTANCE=new n;let s=navigator.userAgent,a=s.indexOf("Firefox")>=0,l=s.indexOf("AppleWebKit")>=0,d=s.indexOf("Chrome")>=0,h=!d&&s.indexOf("Safari")>=0,u=!d&&!h&&l;s.indexOf("Electron/");let g=s.indexOf("Android")>=0,p=!1;if("function"==typeof i.mainWindow.matchMedia){let e=(0,i.mainWindow).matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),t=(0,i.mainWindow).matchMedia("(display-mode: fullscreen)");p=e.matches,r(i.mainWindow,e,({matches:e})=>{p&&t.matches||(p=e)})}function f(){return p}}),tk("bpwwF",function(e,t){c(e.exports,"BrowserFeatures",()=>o);var i=tx("fqzag"),n=tx("h8kCr"),r=tx("aWCAT");let o={clipboard:{writeText:r.isNative||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:r.isNative||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:r.isNative||i.isStandalone()?0:navigator.keyboard||i.isSafari?1:2,touch:"ontouchstart"in n.mainWindow||navigator.maxTouchPoints>0,pointerEvents:n.mainWindow.PointerEvent&&("ontouchstart"in n.mainWindow||navigator.maxTouchPoints>0)}}),tk("52bzN",function(e,t){c(e.exports,"StandardKeyboardEvent",()=>l);var i=tx("fqzag"),n=tx("1hXil"),r=tx("lmBEP"),o=tx("aWCAT");let s=o.isMacintosh?256:2048,a=o.isMacintosh?2048:256;class l{constructor(e){var t;this._standardKeyboardEventBrand=!0,this.browserEvent=e,this.target=e.target,this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,this.altGraphKey=null===(t=e.getModifierState)||void 0===t?void 0:t.call(e,"AltGraph"),this.keyCode=function(e){if(e.charCode){let t=String.fromCharCode(e.charCode).toUpperCase();return(0,n.KeyCodeUtils).fromString(t)}let t=e.keyCode;if(3===t)return 7;if(i.isFirefox)switch(t){case 59:return 85;case 60:if(o.isLinux)return 97;break;case 61:return 86;case 107:return 109;case 109:return 111;case 173:return 88;case 224:if(o.isMacintosh)return 57}else if(i.isWebKit&&(o.isMacintosh&&93===t||!o.isMacintosh&&92===t))return 57;return n.EVENT_KEY_CODE_MAP[t]||0}(e),this.code=e.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asKeyCodeChord=this._computeKeyCodeChord()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeyCodeChord(){return this._asKeyCodeChord}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=s),this.altKey&&(t|=512),this.shiftKey&&(t|=1024),this.metaKey&&(t|=a),t|=e}_computeKeyCodeChord(){let e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new r.KeyCodeChord(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}}),tk("lmBEP",function(e,t){c(e.exports,"decodeKeybinding",()=>n),c(e.exports,"KeyCodeChord",()=>o),c(e.exports,"ResolvedChord",()=>a),c(e.exports,"ResolvedKeybinding",()=>l);var i=tx("8xqBM");function n(e,t){if("number"==typeof e){if(0===e)return null;let i=(65535&e)>>>0,n=(4294901760&e)>>>16;return new s(0!==n?[r(i,t),r(n,t)]:[r(i,t)])}{let i=[];for(let n=0;no),c(e.exports,"StandardWheelEvent",()=>s);var i=tx("fqzag"),n=tx("aaCEH"),r=tx("aWCAT");class o{constructor(e,t){this.timestamp=Date.now(),this.browserEvent=t,this.leftButton=0===t.button,this.middleButton=1===t.button,this.rightButton=2===t.button,this.buttons=t.buttons,this.target=t.target,this.detail=t.detail||1,"dblclick"===t.type&&(this.detail=2),this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,"number"==typeof t.pageX?(this.posx=t.pageX,this.posy=t.pageY):(this.posx=t.clientX+this.target.ownerDocument.body.scrollLeft+this.target.ownerDocument.documentElement.scrollLeft,this.posy=t.clientY+this.target.ownerDocument.body.scrollTop+this.target.ownerDocument.documentElement.scrollTop);let i=(0,n.IframeUtils).getPositionOfChildWindowRelativeToAncestorWindow(e,t.view);this.posx-=i.left,this.posy-=i.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class s{constructor(e,t=0,n=0){var o;this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=n,this.deltaX=t;let s=!1;if(i.isChrome){let e=navigator.userAgent.match(/Chrome\/(\d+)/),t=e?parseInt(e[1]):123;s=t<=122}if(e){let t=(null===(o=e.view)||void 0===o?void 0:o.devicePixelRatio)||1;void 0!==e.wheelDeltaY?s?this.deltaY=e.wheelDeltaY/(120*t):this.deltaY=e.wheelDeltaY/120:void 0!==e.VERTICAL_AXIS&&e.axis===e.VERTICAL_AXIS?this.deltaY=-e.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?i.isFirefox&&!r.isMacintosh?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40),void 0!==e.wheelDeltaX?i.isSafari&&r.isWindows?this.deltaX=-(e.wheelDeltaX/120):s?this.deltaX=e.wheelDeltaX/(120*t):this.deltaX=e.wheelDeltaX/120:void 0!==e.HORIZONTAL_AXIS&&e.axis===e.HORIZONTAL_AXIS?this.deltaX=-e.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?i.isFirefox&&!r.isMacintosh?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40),0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(s?this.deltaY=e.wheelDelta/(120*t):this.deltaY=e.wheelDelta/120)}}preventDefault(){var e;null===(e=this.browserEvent)||void 0===e||e.preventDefault()}stopPropagation(){var e;null===(e=this.browserEvent)||void 0===e||e.stopPropagation()}}}),tk("aaCEH",function(e,t){c(e.exports,"IframeUtils",()=>n);let i=new WeakMap;class n{static getSameOriginWindowChain(e){let t=i.get(e);if(!t){let n;t=[],i.set(e,t);let r=e;do(n=function(e){if(!e.parent||e.parent===e)return null;try{let t=e.location,i=e.parent.location;if("null"!==t.origin&&"null"!==i.origin&&t.origin!==i.origin)return null}catch(e){return null}return e.parent}(r))?t.push({window:new WeakRef(r),iframeElement:r.frameElement||null}):t.push({window:new WeakRef(r),iframeElement:null}),r=n;while(r)}return t.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){var i,n;if(!t||e===t)return{top:0,left:0};let r=0,o=0,s=this.getSameOriginWindowChain(e);for(let e of s){let s=e.window.deref();if(r+=null!==(i=null==s?void 0:s.scrollY)&&void 0!==i?i:0,o+=null!==(n=null==s?void 0:s.scrollX)&&void 0!==n?n:0,s===t||!e.iframeElement)break;let a=e.iframeElement.getBoundingClientRect();r+=a.top,o+=a.left}return{top:r,left:o}}}}),tk("54lLT",function(e,t){let i,n;c(e.exports,"isThenable",()=>u),c(e.exports,"createCancelablePromise",()=>g),c(e.exports,"raceCancellation",()=>p),c(e.exports,"Delayer",()=>_),c(e.exports,"ThrottledDelayer",()=>b),c(e.exports,"timeout",()=>function e(t,i){return i?new Promise((e,n)=>{let r=setTimeout(()=>{o.dispose(),e()},t),o=i.onCancellationRequested(()=>{clearTimeout(r),o.dispose(),n(new s.CancellationError)})}):g(i=>e(t,i))}),c(e.exports,"disposableTimeout",()=>y),c(e.exports,"first",()=>C),c(e.exports,"TimeoutTimer",()=>w),c(e.exports,"IntervalTimer",()=>S),c(e.exports,"RunOnceScheduler",()=>x),c(e.exports,"runWhenGlobalIdle",()=>i),c(e.exports,"_runWhenIdle",()=>n),c(e.exports,"AbstractIdleValue",()=>k),c(e.exports,"GlobalIdleValue",()=>E),c(e.exports,"DeferredPromise",()=>D),c(e.exports,"Promises",()=>r),c(e.exports,"AsyncIterableObject",()=>P),c(e.exports,"createCancelableAsyncIterable",()=>A);var r,o=tx("92LcW"),s=tx("8xqBM"),a=tx("7QlpW"),l=tx("5OUe2"),d=tx("aWCAT"),h=tx("lWsa1");function u(e){return!!e&&"function"==typeof e.then}function g(e){let t=new o.CancellationTokenSource,i=e(t.token),n=new Promise((e,n)=>{let r=t.token.onCancellationRequested(()=>{r.dispose(),n(new s.CancellationError)});Promise.resolve(i).then(i=>{r.dispose(),t.dispose(),e(i)},e=>{r.dispose(),t.dispose(),n(e)})});return new class{cancel(){t.cancel(),t.dispose()}then(e,t){return n.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return n.finally(e)}}}function p(e,t,i){return new Promise((n,r)=>{let o=t.onCancellationRequested(()=>{o.dispose(),n(i)});e.then(n,r).finally(()=>o.dispose())})}class f{constructor(){this.isDisposed=!1,this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.isDisposed)return Promise.reject(Error("Throttler is disposed"));if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){let e=()=>{if(this.queuedPromise=null,this.isDisposed)return;let e=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,e};this.queuedPromise=new Promise(t=>{this.activePromise.then(e,e).then(t)})}return new Promise((e,t)=>{this.queuedPromise.then(e,t)})}return this.activePromise=e(),new Promise((e,t)=>{this.activePromise.then(t=>{this.activePromise=null,e(t)},e=>{this.activePromise=null,t(e)})})}dispose(){this.isDisposed=!0}}let m=(e,t)=>{let i=!0,n=setTimeout(()=>{i=!1,t()},e);return{isTriggered:()=>i,dispose:()=>{clearTimeout(n),i=!1}}},v=e=>{let t=!0;return queueMicrotask(()=>{t&&(t=!1,e())}),{isTriggered:()=>t,dispose:()=>{t=!1}}};class _{constructor(e){this.defaultDelay=e,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((e,t)=>{this.doResolve=e,this.doReject=t}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){let e=this.task;return this.task=null,e()}}));let i=()=>{var e;this.deferred=null,null===(e=this.doResolve)||void 0===e||e.call(this,null)};return this.deferred=t===h.MicrotaskDelay?v(i):m(t,i),this.completionPromise}isTriggered(){var e;return!!(null===(e=this.deferred)||void 0===e?void 0:e.isTriggered())}cancel(){var e;this.cancelTimeout(),this.completionPromise&&(null===(e=this.doReject)||void 0===e||e.call(this,new s.CancellationError),this.completionPromise=null)}cancelTimeout(){var e;null===(e=this.deferred)||void 0===e||e.dispose(),this.deferred=null}dispose(){this.cancel()}}class b{constructor(e){this.delayer=new _(e),this.throttler=new f}trigger(e,t){return this.delayer.trigger(()=>this.throttler.queue(e),t)}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose(),this.throttler.dispose()}}function y(e,t=0,i){let n=setTimeout(()=>{e(),i&&r.dispose()},t),r=(0,l.toDisposable)(()=>{clearTimeout(n),null==i||i.deleteAndLeak(r)});return null==i||i.add(r),r}function C(e,t=e=>!!e,i=null){let n=0,r=e.length,o=()=>{if(n>=r)return Promise.resolve(i);let s=e[n++],a=Promise.resolve(s());return a.then(e=>t(e)?Promise.resolve(e):o())};return o()}class w{constructor(e,t){this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){-1===this._token&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class S{constructor(){this.disposable=void 0}cancel(){var e;null===(e=this.disposable)||void 0===e||e.dispose(),this.disposable=void 0}cancelAndSet(e,t,i=globalThis){this.cancel();let n=i.setInterval(()=>{e()},t);this.disposable=(0,l.toDisposable)(()=>{i.clearInterval(n),this.disposable=void 0})}dispose(){this.cancel()}}class x{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return -1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){var e;null===(e=this.runner)||void 0===e||e.call(this)}}n="function"!=typeof globalThis.requestIdleCallback||"function"!=typeof globalThis.cancelIdleCallback?(e,t)=>{(0,d.setTimeout0)(()=>{if(i)return;let e=Date.now()+15;t(Object.freeze({didTimeout:!0,timeRemaining:()=>Math.max(0,e-Date.now())}))});let i=!1;return{dispose(){i||(i=!0)}}}:(e,t,i)=>{let n=e.requestIdleCallback(t,"number"==typeof i?{timeout:i}:void 0),r=!1;return{dispose(){r||(r=!0,e.cancelIdleCallback(n))}}},i=e=>n(globalThis,e);class k{constructor(e,t){this._didRun=!1,this._executor=()=>{try{this._value=t()}catch(e){this._error=e}finally{this._didRun=!0}},this._handle=n(e,()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}class E extends k{constructor(e){super(globalThis,e)}}class D{get isRejected(){var e;return(null===(e=this.outcome)||void 0===e?void 0:e.outcome)===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((e,t)=>{this.completeCallback=e,this.errorCallback=t})}complete(e){return new Promise(t=>{this.completeCallback(e),this.outcome={outcome:0,value:e},t()})}error(e){return new Promise(t=>{this.errorCallback(e),this.outcome={outcome:1,value:e},t()})}cancel(){return this.error(new s.CancellationError)}}!function(e){async function t(e){let t;let i=await Promise.all(e.map(e=>e.then(e=>e,e=>{t||(t=e)})));if(void 0!==t)throw t;return i}e.settled=t,e.withAsyncBody=function(e){return new Promise(async(t,i)=>{try{await e(t,i)}catch(e){i(e)}})}}(r||(r={}));class P{static fromArray(e){return new P(t=>{t.emitMany(e)})}static fromPromise(e){return new P(async t=>{t.emitMany(await e)})}static fromPromises(e){return new P(async t=>{await Promise.all(e.map(async e=>t.emitOne(await e)))})}static merge(e){return new P(async t=>{await Promise.all(e.map(async e=>{for await(let i of e)t.emitOne(i)}))})}constructor(e){this._state=0,this._results=[],this._error=null,this._onStateChanged=new a.Emitter,queueMicrotask(async()=>{let t={emitOne:e=>this.emitOne(e),emitMany:e=>this.emitMany(e),reject:e=>this.reject(e)};try{await Promise.resolve(e(t)),this.resolve()}catch(e){this.reject(e)}finally{t.emitOne=void 0,t.emitMany=void 0,t.reject=void 0}})}[Symbol.asyncIterator](){let e=0;return{next:async()=>{for(;;){if(2===this._state)throw this._error;if(e{for await(let n of e)i.emitOne(t(n))})}map(e){return P.map(this,e)}static filter(e,t){return new P(async i=>{for await(let n of e)t(n)&&i.emitOne(n)})}filter(e){return P.filter(this,e)}static coalesce(e){return P.filter(e,e=>!!e)}coalesce(){return P.coalesce(this)}static async toPromise(e){let t=[];for await(let i of e)t.push(i);return t}toPromise(){return P.toPromise(this)}emitOne(e){0===this._state&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){0===this._state&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){0===this._state&&(this._state=1,this._onStateChanged.fire())}reject(e){0===this._state&&(this._state=2,this._error=e,this._onStateChanged.fire())}}P.EMPTY=P.fromArray([]);class L extends P{constructor(e,t){super(t),this._source=e}cancel(){this._source.cancel()}}function A(e){let t=new o.CancellationTokenSource,i=e(t.token);return new L(t,async e=>{let n=t.token.onCancellationRequested(()=>{n.dispose(),t.dispose(),e.reject(new s.CancellationError)});try{for await(let n of i){if(t.token.isCancellationRequested)return;e.emitOne(n)}n.dispose(),t.dispose()}catch(i){n.dispose(),t.dispose(),e.reject(i)}})}}),tk("lWsa1",function(e,t){c(e.exports,"MicrotaskDelay",()=>i);let i=Symbol("MicrotaskDelay")}),tk("5o9QK",function(e,t){c(e.exports,"sanitize",()=>$),c(e.exports,"addHook",()=>ee),c(e.exports,"removeHook",()=>et);let{entries:i,setPrototypeOf:n,isFrozen:r,getPrototypeOf:o,getOwnPropertyDescriptor:s}=Object,{freeze:a,seal:l,create:d}=Object,{apply:h,construct:u}="undefined"!=typeof Reflect&&Reflect;h||(h=function(e,t,i){return e.apply(t,i)}),a||(a=function(e){return e}),l||(l=function(e){return e}),u||(u=function(e,t){return new e(...t)});let g=x(Array.prototype.forEach),p=x(Array.prototype.pop),f=x(Array.prototype.push),m=x(String.prototype.toLowerCase),v=x(String.prototype.toString),_=x(String.prototype.match),b=x(String.prototype.replace),y=x(String.prototype.indexOf),C=x(String.prototype.trim),w=x(RegExp.prototype.test),S=(G=TypeError,function(){for(var e=arguments.length,t=Array(e),i=0;i1?i-1:0),r=1;r/gm),X=l(/\${[\w\W]*}/gm),z=l(/^data-[\-\w.\u00B7-\uFFFF]/),V=l(/^aria-[\-\w]+$/),H=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=l(/^(?:\w+script|data):/i),j=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=l(/^html$/i);var G,Y=Object.freeze({__proto__:null,MUSTACHE_EXPR:K,ERB_EXPR:W,TMPLIT_EXPR:X,DATA_ATTR:z,ARIA_ATTR:V,IS_ALLOWED_URI:H,IS_SCRIPT_OR_DATA:U,ATTR_WHITESPACE:j,DOCTYPE_NAME:q});let Z=()=>"undefined"==typeof window?null:window,Q=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let i=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(i=t.getAttribute(n));let r="dompurify"+(i?"#"+i:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};var J=function e(){let t,n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z(),s=t=>e(t);if(s.version="3.0.5",s.removed=[],!o||!o.document||9!==o.document.nodeType)return s.isSupported=!1,s;let l=o.document,c=l.currentScript,{document:d}=o,{DocumentFragment:h,HTMLTemplateElement:u,Node:x,Element:K,NodeFilter:W,NamedNodeMap:X=o.NamedNodeMap||o.MozNamedAttrMap,HTMLFormElement:z,DOMParser:V,trustedTypes:U}=o,j=K.prototype,G=D(j,"cloneNode"),J=D(j,"nextSibling"),$=D(j,"childNodes"),ee=D(j,"parentNode");if("function"==typeof u){let e=d.createElement("template");e.content&&e.content.ownerDocument&&(d=e.content.ownerDocument)}let et="",{implementation:ei,createNodeIterator:en,createDocumentFragment:er,getElementsByTagName:eo}=d,{importNode:es}=l,ea={};s.isSupported="function"==typeof i&&"function"==typeof ee&&ei&&void 0!==ei.createHTMLDocument;let{MUSTACHE_EXPR:el,ERB_EXPR:ec,TMPLIT_EXPR:ed,DATA_ATTR:eh,ARIA_ATTR:eu,IS_SCRIPT_OR_DATA:eg,ATTR_WHITESPACE:ep}=Y,{IS_ALLOWED_URI:ef}=Y,em=null,ev=k({},[...P,...L,...A,...N,...O]),e_=null,eb=k({},[...M,...R,...F,...B]),ey=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eC=null,ew=null,eS=!0,ex=!0,ek=!1,eE=!0,eD=!1,eP=!1,eL=!1,eA=!1,eI=!1,eN=!1,eT=!1,eO=!0,eM=!1,eR=!0,eF=!1,eB={},eK=null,eW=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eX=null,ez=k({},["audio","video","img","source","image","track"]),eV=null,eH=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eU="http://www.w3.org/1998/Math/MathML",ej="http://www.w3.org/2000/svg",eq="http://www.w3.org/1999/xhtml",eG=eq,eY=!1,eZ=null,eQ=k({},[eU,ej,eq],v),eJ=["application/xhtml+xml","text/html"],e$=null,e0=d.createElement("form"),e1=function(e){return e instanceof RegExp||e instanceof Function},e2=function(e){if(!e$||e$!==e){if(e&&"object"==typeof e||(e={}),e=E(e),r="application/xhtml+xml"===(n=n=-1===eJ.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?v:m,em="ALLOWED_TAGS"in e?k({},e.ALLOWED_TAGS,r):ev,e_="ALLOWED_ATTR"in e?k({},e.ALLOWED_ATTR,r):eb,eZ="ALLOWED_NAMESPACES"in e?k({},e.ALLOWED_NAMESPACES,v):eQ,eV="ADD_URI_SAFE_ATTR"in e?k(E(eH),e.ADD_URI_SAFE_ATTR,r):eH,eX="ADD_DATA_URI_TAGS"in e?k(E(ez),e.ADD_DATA_URI_TAGS,r):ez,eK="FORBID_CONTENTS"in e?k({},e.FORBID_CONTENTS,r):eW,eC="FORBID_TAGS"in e?k({},e.FORBID_TAGS,r):{},ew="FORBID_ATTR"in e?k({},e.FORBID_ATTR,r):{},eB="USE_PROFILES"in e&&e.USE_PROFILES,eS=!1!==e.ALLOW_ARIA_ATTR,ex=!1!==e.ALLOW_DATA_ATTR,ek=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eE=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eD=e.SAFE_FOR_TEMPLATES||!1,eP=e.WHOLE_DOCUMENT||!1,eI=e.RETURN_DOM||!1,eN=e.RETURN_DOM_FRAGMENT||!1,eT=e.RETURN_TRUSTED_TYPE||!1,eA=e.FORCE_BODY||!1,eO=!1!==e.SANITIZE_DOM,eM=e.SANITIZE_NAMED_PROPS||!1,eR=!1!==e.KEEP_CONTENT,eF=e.IN_PLACE||!1,ef=e.ALLOWED_URI_REGEXP||H,eG=e.NAMESPACE||eq,ey=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&e1(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ey.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&e1(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ey.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ey.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eD&&(ex=!1),eN&&(eI=!0),eB&&(em=k({},[...O]),e_=[],!0===eB.html&&(k(em,P),k(e_,M)),!0===eB.svg&&(k(em,L),k(e_,R),k(e_,B)),!0===eB.svgFilters&&(k(em,A),k(e_,R),k(e_,B)),!0===eB.mathMl&&(k(em,N),k(e_,F),k(e_,B))),e.ADD_TAGS&&(em===ev&&(em=E(em)),k(em,e.ADD_TAGS,r)),e.ADD_ATTR&&(e_===eb&&(e_=E(e_)),k(e_,e.ADD_ATTR,r)),e.ADD_URI_SAFE_ATTR&&k(eV,e.ADD_URI_SAFE_ATTR,r),e.FORBID_CONTENTS&&(eK===eW&&(eK=E(eK)),k(eK,e.FORBID_CONTENTS,r)),eR&&(em["#text"]=!0),eP&&k(em,["html","head","body"]),em.table&&(k(em,["tbody"]),delete eC.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');et=(t=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===t&&(t=Q(U,c)),null!==t&&"string"==typeof et&&(et=t.createHTML(""));a&&a(e),e$=e}},e5=k({},["mi","mo","mn","ms","mtext"]),e4=k({},["foreignobject","desc","title","annotation-xml"]),e3=k({},["title","style","font","a","script"]),e6=k({},L);k(e6,A),k(e6,I);let e8=k({},N);k(e8,T);let e7=function(e){let t=ee(e);t&&t.tagName||(t={namespaceURI:eG,tagName:"template"});let i=m(e.tagName),r=m(t.tagName);return!!eZ[e.namespaceURI]&&(e.namespaceURI===ej?t.namespaceURI===eq?"svg"===i:t.namespaceURI===eU?"svg"===i&&("annotation-xml"===r||e5[r]):!!e6[i]:e.namespaceURI===eU?t.namespaceURI===eq?"math"===i:t.namespaceURI===ej?"math"===i&&e4[r]:!!e8[i]:e.namespaceURI===eq?(t.namespaceURI!==ej||!!e4[r])&&(t.namespaceURI!==eU||!!e5[r])&&!e8[i]&&(e3[i]||!e6[i]):"application/xhtml+xml"===n&&!!eZ[e.namespaceURI])},e9=function(e){f(s.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},te=function(e,t){try{f(s.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(s.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!e_[e]){if(eI||eN)try{e9(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}}},tt=function(e){let i,r;if(eA)e=""+e;else{let t=_(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===n&&eG===eq&&(e=''+e+"");let o=t?t.createHTML(e):e;if(eG===eq)try{i=new V().parseFromString(o,n)}catch(e){}if(!i||!i.documentElement){i=ei.createDocument(eG,"template",null);try{i.documentElement.innerHTML=eY?et:o}catch(e){}}let s=i.body||i.documentElement;return(e&&r&&s.insertBefore(d.createTextNode(r),s.childNodes[0]||null),eG===eq)?eo.call(i,eP?"html":"body")[0]:eP?i.documentElement:s},ti=function(e){return en.call(e.ownerDocument||e,e,W.SHOW_ELEMENT|W.SHOW_COMMENT|W.SHOW_TEXT,null,!1)},tn=function(e){return"object"==typeof x?e instanceof x:e&&"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},tr=function(e,t,i){ea[e]&&g(ea[e],e=>{e.call(s,t,i,e$)})},to=function(e){let t;if(tr("beforeSanitizeElements",e,null),e instanceof z&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof X)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes))return e9(e),!0;let i=r(e.nodeName);if(tr("uponSanitizeElement",e,{tagName:i,allowedTags:em}),e.hasChildNodes()&&!tn(e.firstElementChild)&&(!tn(e.content)||!tn(e.content.firstElementChild))&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return e9(e),!0;if(!em[i]||eC[i]){if(!eC[i]&&ta(i)&&(ey.tagNameCheck instanceof RegExp&&w(ey.tagNameCheck,i)||ey.tagNameCheck instanceof Function&&ey.tagNameCheck(i)))return!1;if(eR&&!eK[i]){let t=ee(e)||e.parentNode,i=$(e)||e.childNodes;if(i&&t){let n=i.length;for(let r=n-1;r>=0;--r)t.insertBefore(G(i[r],!0),J(e))}}return e9(e),!0}return e instanceof K&&!e7(e)||("noscript"===i||"noembed"===i||"noframes"===i)&&w(/<\/no(script|embed|frames)/i,e.innerHTML)?(e9(e),!0):(eD&&3===e.nodeType&&(t=b(t=e.textContent,el," "),t=b(t,ec," "),t=b(t,ed," "),e.textContent!==t&&(f(s.removed,{element:e.cloneNode()}),e.textContent=t)),tr("afterSanitizeElements",e,null),!1)},ts=function(e,t,i){if(eO&&("id"===t||"name"===t)&&(i in d||i in e0))return!1;if(ex&&!ew[t]&&w(eh,t));else if(eS&&w(eu,t));else if(!e_[t]||ew[t]){if(!(ta(e)&&(ey.tagNameCheck instanceof RegExp&&w(ey.tagNameCheck,e)||ey.tagNameCheck instanceof Function&&ey.tagNameCheck(e))&&(ey.attributeNameCheck instanceof RegExp&&w(ey.attributeNameCheck,t)||ey.attributeNameCheck instanceof Function&&ey.attributeNameCheck(t))||"is"===t&&ey.allowCustomizedBuiltInElements&&(ey.tagNameCheck instanceof RegExp&&w(ey.tagNameCheck,i)||ey.tagNameCheck instanceof Function&&ey.tagNameCheck(i))))return!1}else if(eV[t]);else if(w(ef,b(i,ep,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===y(i,"data:")&&eX[e]);else if(ek&&!w(eg,b(i,ep,"")));else if(i)return!1;return!0},ta=function(e){return e.indexOf("-")>0},tl=function(e){let i,n,o,a;tr("beforeSanitizeAttributes",e,null);let{attributes:l}=e;if(!l)return;let c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:e_};for(a=l.length;a--;){i=l[a];let{name:d,namespaceURI:h}=i;if(n="value"===d?i.value:C(i.value),o=r(d),c.attrName=o,c.attrValue=n,c.keepAttr=!0,c.forceKeepAttr=void 0,tr("uponSanitizeAttribute",e,c),n=c.attrValue,c.forceKeepAttr||(te(d,e),!c.keepAttr))continue;if(!eE&&w(/\/>/i,n)){te(d,e);continue}eD&&(n=b(n,el," "),n=b(n,ec," "),n=b(n,ed," "));let u=r(e.nodeName);if(ts(u,o,n)){if(eM&&("id"===o||"name"===o)&&(te(d,e),n="user-content-"+n),t&&"object"==typeof U&&"function"==typeof U.getAttributeType){if(h);else switch(U.getAttributeType(u,o)){case"TrustedHTML":n=t.createHTML(n);break;case"TrustedScriptURL":n=t.createScriptURL(n)}}try{h?e.setAttributeNS(h,d,n):e.setAttribute(d,n),p(s.removed)}catch(e){}}}tr("afterSanitizeAttributes",e,null)},tc=function e(t){let i;let n=ti(t);for(tr("beforeSanitizeShadowDOM",t,null);i=n.nextNode();)tr("uponSanitizeShadowNode",i,null),to(i)||(i.content instanceof h&&e(i.content),tl(i));tr("afterSanitizeShadowDOM",t,null)};return s.sanitize=function(e){let i,n,o,a,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((eY=!e)&&(e=""),"string"!=typeof e&&!tn(e)){if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw S("dirty is not a string, aborting")}else throw S("toString is not a function")}if(!s.isSupported)return e;if(eL||e2(c),s.removed=[],"string"==typeof e&&(eF=!1),eF){if(e.nodeName){let t=r(e.nodeName);if(!em[t]||eC[t])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof x)1===(n=(i=tt("")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===n.nodeName?i=n:"HTML"===n.nodeName?i=n:i.appendChild(n);else{if(!eI&&!eD&&!eP&&-1===e.indexOf("<"))return t&&eT?t.createHTML(e):e;if(!(i=tt(e)))return eI?null:eT?et:""}i&&eA&&e9(i.firstChild);let d=ti(eF?e:i);for(;o=d.nextNode();)to(o)||(o.content instanceof h&&tc(o.content),tl(o));if(eF)return e;if(eI){if(eN)for(a=er.call(i.ownerDocument);i.firstChild;)a.appendChild(i.firstChild);else a=i;return(e_.shadowroot||e_.shadowrootmode)&&(a=es.call(l,a,!0)),a}let u=eP?i.outerHTML:i.innerHTML;return eP&&em["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&w(q,i.ownerDocument.doctype.name)&&(u="\n"+u),eD&&(u=b(u,el," "),u=b(u,ec," "),u=b(u,ed," ")),t&&eT?t.createHTML(u):u},s.setConfig=function(e){e2(e),eL=!0},s.clearConfig=function(){e$=null,eL=!1},s.isValidAttribute=function(e,t,i){e$||e2({});let n=r(e),o=r(t);return ts(n,o,i)},s.addHook=function(e,t){"function"==typeof t&&(ea[e]=ea[e]||[],f(ea[e],t))},s.removeHook=function(e){if(ea[e])return p(ea[e])},s.removeHooks=function(e){ea[e]&&(ea[e]=[])},s.removeAllHooks=function(){ea={}},s}();J.version,J.isSupported;let $=J.sanitize;J.setConfig,J.clearConfig,J.isValidAttribute;let ee=J.addHook,et=J.removeHook;J.removeHooks,J.removeAllHooks}),tk("eOh7f",function(e,t){c(e.exports,"Schemas",()=>n),c(e.exports,"matchesScheme",()=>h),c(e.exports,"matchesSomeScheme",()=>u),c(e.exports,"RemoteAuthorities",()=>g),c(e.exports,"FileAccess",()=>f);var i,n,r,o=tx("8xqBM"),s=tx("aWCAT"),a=tx("241rv"),l=tx("1kHFz"),d=tx("7ZQsw");function h(e,t){return(0,l.URI).isUri(e)?(0,a.equalsIgnoreCase)(e.scheme,t):(0,a.startsWithIgnoreCase)(e,t+":")}function u(e,...t){return t.some(t=>h(e,t))}(i=n||(n={})).inMemory="inmemory",i.vscode="vscode",i.internal="private",i.walkThrough="walkThrough",i.walkThroughSnippet="walkThroughSnippet",i.http="http",i.https="https",i.file="file",i.mailto="mailto",i.untitled="untitled",i.data="data",i.command="command",i.vscodeRemote="vscode-remote",i.vscodeRemoteResource="vscode-remote-resource",i.vscodeManagedRemoteResource="vscode-managed-remote-resource",i.vscodeUserData="vscode-userdata",i.vscodeCustomEditor="vscode-custom-editor",i.vscodeNotebookCell="vscode-notebook-cell",i.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",i.vscodeNotebookCellOutput="vscode-notebook-cell-output",i.vscodeInteractiveInput="vscode-interactive-input",i.vscodeSettings="vscode-settings",i.vscodeWorkspaceTrust="vscode-workspace-trust",i.vscodeTerminal="vscode-terminal",i.vscodeChatCodeBlock="vscode-chat-code-block",i.vscodeChatSesssion="vscode-chat-editor",i.webviewPanel="webview-panel",i.vscodeWebview="vscode-webview",i.extension="extension",i.vscodeFileResource="vscode-file",i.tmp="tmp",i.vsls="vsls",i.vscodeSourceControl="vscode-scm",i.codeSetting="code-setting";let g=new class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._serverRootPath="/"}setPreferredWebSchema(e){this._preferredWebSchema=e}get _remoteResourcesPath(){return d.posix.join(this._serverRootPath,n.vscodeRemoteResource)}rewrite(e){if(this._delegate)try{return this._delegate(e)}catch(t){return o.onUnexpectedError(t),e}let t=e.authority,i=this._hosts[t];i&&-1!==i.indexOf(":")&&-1===i.indexOf("[")&&(i=`[${i}]`);let r=this._ports[t],a=this._connectionTokens[t],c=`path=${encodeURIComponent(e.path)}`;return"string"==typeof a&&(c+=`&tkn=${encodeURIComponent(a)}`),(0,l.URI).from({scheme:s.isWeb?this._preferredWebSchema:n.vscodeRemoteResource,authority:`${i}:${r}`,path:this._remoteResourcesPath,query:c})}};class p{uriToBrowserUri(e){return e.scheme===n.vscodeRemote?g.rewrite(e):e.scheme===n.file&&(s.isNative||s.webWorkerOrigin===`${n.vscodeFileResource}://${p.FALLBACK_AUTHORITY}`)?e.with({scheme:n.vscodeFileResource,authority:e.authority||p.FALLBACK_AUTHORITY,query:null,fragment:null}):e}}p.FALLBACK_AUTHORITY="vscode-app";let f=new p;!function(e){let t=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"}]]);e.CoopAndCoep=Object.freeze(t.get("3"));let i="vscode-coi";e.getHeadersFromQuery=function(e){let n;"string"==typeof e?n=new URL(e).searchParams:e instanceof URL?n=e.searchParams:(0,l.URI).isUri(e)&&(n=new URL(e.toString(!0)).searchParams);let r=null==n?void 0:n.get(i);if(r)return t.get(r)},e.addSearchParam=function(e,t,n){if(!globalThis.crossOriginIsolated)return;let r=t&&n?"3":n?"2":"1";e instanceof URLSearchParams?e.set(i,r):e[i]=r}}(r||(r={}))}),tk("1ueLU",function(e,t){c(e.exports,"hash",()=>n),c(e.exports,"doHash",()=>r),c(e.exports,"stringHash",()=>s),c(e.exports,"StringSHA1",()=>h);var i=tx("241rv");function n(e){return r(e,0)}function r(e,t){switch(typeof e){case"object":var i,n;if(null===e)return o(349,t);if(Array.isArray(e))return i=o(104579,i=t),e.reduce((e,t)=>r(t,e),i);return n=o(181387,n=t),Object.keys(e).sort().reduce((t,i)=>(t=s(i,t),r(e[i],t)),n);case"string":return s(e,t);case"boolean":return o(e?433:863,t);case"number":return o(e,t);case"undefined":return o(937,t);default:return o(617,t)}}function o(e,t){return(t<<5)-t+e|0}function s(e,t){t=o(149417,t);for(let i=0,n=e.length;i>>n)>>>0}function l(e,t=0,i=e.byteLength,n=0){for(let r=0;re.toString(16).padStart(2,"0")).join(""):function(e,t,i="0"){for(;e.length>>0).toString(16),t/4)}class h{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,n;let r=e.length;if(0===r)return;let o=this._buff,s=this._buffLen,a=this._leftoverHighSurrogate;for(0!==a?(t=a,n=-1,a=0):(t=e.charCodeAt(0),n=0);;){let l=t;if(i.isHighSurrogate(t)){if(n+1>>6,e[t++]=128|(63&i)>>>0):i<65536?(e[t++]=224|(61440&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0):(e[t++]=240|(1835008&i)>>>18,e[t++]=128|(258048&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),d(this._h0)+d(this._h1)+d(this._h2)+d(this._h3)+d(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,l(this._buff,this._buffLen),this._buffLen>56&&(this._step(),l(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e,t,i;let n=h._bigBlock32,r=this._buffDV;for(let e=0;e<64;e+=4)n.setUint32(e,r.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)n.setUint32(e,a(n.getUint32(e-12,!1)^n.getUint32(e-32,!1)^n.getUint32(e-56,!1)^n.getUint32(e-64,!1),1),!1);let o=this._h0,s=this._h1,l=this._h2,c=this._h3,d=this._h4;for(let r=0;r<80;r++)r<20?(e=s&l|~s&c,t=1518500249):r<40?(e=s^l^c,t=1859775393):r<60?(e=s&l|s&c|l&c,t=2400959708):(e=s^l^c,t=3395469782),i=a(o,5)+e+d+t+n.getUint32(4*r,!1)&4294967295,d=c,c=l,l=a(s,30),s=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+l&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+d&4294967295}}h._bigBlock32=new DataView(new ArrayBuffer(320))}),tk("ljh4W",function(e,t){c(e.exports,"PixelRatio",()=>a);var i=tx("6rNSc"),n=tx("7QlpW"),r=tx("5OUe2");class o extends r.Disposable{constructor(e){super(),this._onDidChange=this._register(new n.Emitter),this.onDidChange=this._onDidChange.event,this._listener=()=>this._handleChange(e,!0),this._mediaQueryList=null,this._handleChange(e,!1)}_handleChange(e,t){var i;null===(i=this._mediaQueryList)||void 0===i||i.removeEventListener("change",this._listener),this._mediaQueryList=e.matchMedia(`(resolution: ${e.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),t&&this._onDidChange.fire()}}class s extends r.Disposable{get value(){return this._value}constructor(e){super(),this._onDidChange=this._register(new n.Emitter),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio(e);let t=this._register(new o(e));this._register(t.onDidChange(()=>{this._value=this._getPixelRatio(e),this._onDidChange.fire(this._value)}))}_getPixelRatio(e){let t=document.createElement("canvas").getContext("2d"),i=e.devicePixelRatio||1,n=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return i/n}}let a=new class{constructor(){this.mapWindowIdToPixelRatioMonitor=new Map}_getOrCreatePixelRatioMonitor(e){let t=(0,i.getWindowId)(e),o=this.mapWindowIdToPixelRatioMonitor.get(t);return o||(o=(0,r.markAsSingleton)(new s(e)),this.mapWindowIdToPixelRatioMonitor.set(t,o),(0,r.markAsSingleton)((0,n.Event).once(i.onDidUnregisterWindow)(({vscodeWindowId:e})=>{e===t&&(null==o||o.dispose(),this.mapWindowIdToPixelRatioMonitor.delete(t))}))),o}getInstance(e){return this._getOrCreatePixelRatioMonitor(e)}}}),tk("6zNwO",function(e,t){c(e.exports,"CharWidthRequest",()=>n),c(e.exports,"readCharWidths",()=>o);var i=tx("j0mLB");class n{constructor(e,t){this.chr=e,this.type=t,this.width=0}fulfill(e){this.width=e}}class r{constructor(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}read(e){this._createDomElements(),e.document.body.appendChild(this._container),this._readFromDomElements(),e.document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){let e=document.createElement("div");e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px";let t=document.createElement("div");(0,i.applyFontInfo)(t,this._bareFontInfo),e.appendChild(t);let n=document.createElement("div");(0,i.applyFontInfo)(n,this._bareFontInfo),n.style.fontWeight="bold",e.appendChild(n);let o=document.createElement("div");(0,i.applyFontInfo)(o,this._bareFontInfo),o.style.fontStyle="italic",e.appendChild(o);let s=[];for(let e of this._requests){let i;0===e.type&&(i=t),2===e.type&&(i=n),1===e.type&&(i=o),i.appendChild(document.createElement("br"));let a=document.createElement("span");r._render(a,e),i.appendChild(a),s.push(a)}this._container=e,this._testElements=s}static _render(e,t){if(" "===t.chr){let t="\xa0";for(let e=0;e<8;e++)t+=t;e.innerText=t}else{let i=t.chr;for(let e=0;e<8;e++)i+=i;e.textContent=i}}_readFromDomElements(){for(let e=0,t=this._requests.length;en);var i=tx("23mZx");function n(e,t){e instanceof i.FastDomNode?(e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setFontVariationSettings(t.fontVariationSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)):(e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.fontVariationSettings=t.fontVariationSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px")}}),tk("23mZx",function(e,t){c(e.exports,"FastDomNode",()=>i),c(e.exports,"createFastDomNode",()=>r);class i{constructor(e){this.domNode=e,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._paddingLeft="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._fontVariationSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(e){let t=n(e);this._maxWidth!==t&&(this._maxWidth=t,this.domNode.style.maxWidth=this._maxWidth)}setWidth(e){let t=n(e);this._width!==t&&(this._width=t,this.domNode.style.width=this._width)}setHeight(e){let t=n(e);this._height!==t&&(this._height=t,this.domNode.style.height=this._height)}setTop(e){let t=n(e);this._top!==t&&(this._top=t,this.domNode.style.top=this._top)}setLeft(e){let t=n(e);this._left!==t&&(this._left=t,this.domNode.style.left=this._left)}setBottom(e){let t=n(e);this._bottom!==t&&(this._bottom=t,this.domNode.style.bottom=this._bottom)}setRight(e){let t=n(e);this._right!==t&&(this._right=t,this.domNode.style.right=this._right)}setPaddingLeft(e){let t=n(e);this._paddingLeft!==t&&(this._paddingLeft=t,this.domNode.style.paddingLeft=this._paddingLeft)}setFontFamily(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(e){let t=n(e);this._fontSize!==t&&(this._fontSize=t,this.domNode.style.fontSize=this._fontSize)}setFontStyle(e){this._fontStyle!==e&&(this._fontStyle=e,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setFontVariationSettings(e){this._fontVariationSettings!==e&&(this._fontVariationSettings=e,this.domNode.style.fontVariationSettings=this._fontVariationSettings)}setTextDecoration(e){this._textDecoration!==e&&(this._textDecoration=e,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(e){let t=n(e);this._lineHeight!==t&&(this._lineHeight=t,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(e){let t=n(e);this._letterSpacing!==t&&(this._letterSpacing=t,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}toggleClassName(e,t){this.domNode.classList.toggle(e,t),this._className=this.domNode.className}setDisplay(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}setPosition(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}setColor(e){this._color!==e&&(this._color=e,this.domNode.style.color=this._color)}setBackgroundColor(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}setContain(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}setAttribute(e,t){this.domNode.setAttribute(e,t)}removeAttribute(e){this.domNode.removeAttribute(e)}appendChild(e){this.domNode.appendChild(e.domNode)}removeChild(e){this.domNode.removeChild(e.domNode)}}function n(e){return"number"==typeof e?`${e}px`:e}function r(e){return new i(e)}}),tk("3kv9l",function(e,t){c(e.exports,"BareFontInfo",()=>s),c(e.exports,"FontInfo",()=>a);var i=tx("aWCAT"),n=tx("b8zgB"),r=tx("8AuKF");let o=i.isMacintosh?1.5:1.35;class s{static createFromValidatedSettings(e,t,i){let n=e.get(49),r=e.get(53),o=e.get(52),a=e.get(51),l=e.get(54),c=e.get(67),d=e.get(64);return s._create(n,r,o,a,l,c,d,t,i)}static _create(e,t,i,a,l,c,d,h,u){0===c?c=o*i:c<8&&(c*=i),(c=Math.round(c))<8&&(c=8);let g=1+(u?0:.1*(0,r.EditorZoom).getZoomLevel());if(i*=g,c*=g,l===n.EditorFontVariations.TRANSLATE){if("normal"===t||"bold"===t)l=n.EditorFontVariations.OFF;else{let e=parseInt(t,10);l=`'wght' ${e}`,t="normal"}}return new s({pixelRatio:h,fontFamily:e,fontWeight:t,fontSize:i,fontFeatureSettings:a,fontVariationSettings:l,lineHeight:c,letterSpacing:d})}constructor(e){this._bareFontInfoBrand=void 0,this.pixelRatio=e.pixelRatio,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.fontVariationSettings=e.fontVariationSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}getId(){return`${this.pixelRatio}-${this.fontFamily}-${this.fontWeight}-${this.fontSize}-${this.fontFeatureSettings}-${this.fontVariationSettings}-${this.lineHeight}-${this.letterSpacing}`}getMassagedFontFamily(){let e=n.EDITOR_FONT_DEFAULTS.fontFamily,t=s._wrapInQuotes(this.fontFamily);return e&&this.fontFamily!==e?`${t}, ${e}`:t}static _wrapInQuotes(e){return/[,"']/.test(e)?e:/[+ ]/.test(e)?`"${e}"`:e}}class a extends s{constructor(e,t){super(e),this._editorStylingBrand=void 0,this.version=2,this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.fontVariationSettings===e.fontVariationSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}}),tk("8AuKF",function(e,t){c(e.exports,"EditorZoom",()=>n);var i=tx("7QlpW");let n=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new i.Emitter,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}}),tk("5sCbf",function(e,t){c(e.exports,"Command",()=>C),c(e.exports,"MultiCommand",()=>w),c(e.exports,"EditorCommand",()=>x),c(e.exports,"EditorAction",()=>k),c(e.exports,"MultiEditorAction",()=>E),c(e.exports,"EditorAction2",()=>D),c(e.exports,"registerModelAndPositionCommand",()=>P),c(e.exports,"registerEditorCommand",()=>L),c(e.exports,"registerEditorAction",()=>A),c(e.exports,"registerMultiEditorAction",()=>I),c(e.exports,"registerInstantiatedEditorAction",()=>N),c(e.exports,"registerEditorContribution",()=>T),c(e.exports,"EditorExtensionsRegistry",()=>n),c(e.exports,"UndoCommand",()=>R),c(e.exports,"RedoCommand",()=>F),c(e.exports,"SelectAllCommand",()=>B);var i,n,r=tx("2hvjT"),o=tx("1kHFz"),s=tx("rFCsH"),a=tx("bObZh"),l=tx("8JWXs"),d=tx("78XQi"),h=tx("jZ4Mt"),u=tx("g8QUz"),g=tx("5hW5O"),p=tx("oYrRk"),f=tx("hAvzR"),m=tx("4Nyzx"),v=tx("dQ38A"),_=tx("fYBtw"),b=tx("dzdlY"),y=tx("6rNSc");class C{constructor(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this.metadata=e.metadata}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){let e=Array.isArray(this._kbOpts)?this._kbOpts:[this._kbOpts];for(let t of e){let e=t.kbExpr;this.precondition&&(e=e?(0,g.ContextKeyExpr).and(e,this.precondition):this.precondition);let i={id:this.id,weight:t.weight,args:t.args,when:e,primary:t.primary,secondary:t.secondary,win:t.win,linux:t.linux,mac:t.mac};(0,f.KeybindingsRegistry).registerKeybindingRule(i)}}(0,u.CommandsRegistry).registerCommand({id:this.id,handler:(e,t)=>this.runCommand(e,t),metadata:this.metadata})}_registerMenuItem(e){(0,h.MenuRegistry).appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title,icon:e.icon,precondition:this.precondition},when:e.when,order:e.order})}}class w extends C{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t,i,n){return this._implementations.push({priority:e,name:t,implementation:i,when:n}),this._implementations.sort((e,t)=>t.priority-e.priority),{dispose:()=>{for(let e=0;e{let r=e.get(g.IContextKeyService);if(r.contextMatchesRules(null!=i?i:void 0))return n(e,o,t)})}runCommand(e,t){return x.runEditorCommand(e,t,this.precondition,(e,t,i)=>this.runEditorCommand(e,t,i))}}class k extends x{static convertOptions(e){let t;function i(t){return t.menuId||(t.menuId=h.MenuId.EditorContext),t.title||(t.title=e.label),t.when=(0,g.ContextKeyExpr).and(e.precondition,t.when),t}return t=Array.isArray(e.menuOpts)?e.menuOpts:e.menuOpts?[e.menuOpts]:[],Array.isArray(e.contextMenuOpts)?t.push(...e.contextMenuOpts.map(i)):e.contextMenuOpts&&t.push(i(e.contextMenuOpts)),e.menuOpts=t,e}constructor(e){super(k.convertOptions(e)),this.label=e.label,this.alias=e.alias}runEditorCommand(e,t,i){return this.reportTelemetry(e,t),this.run(e,t,i||{})}reportTelemetry(e,t){e.get(v.ITelemetryService).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}class E extends k{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t){return this._implementations.push([e,t]),this._implementations.sort((e,t)=>t[0]-e[0]),{dispose:()=>{for(let e=0;e{var i,r;let o=e.get(g.IContextKeyService),s=e.get(b.ILogService),a=o.contextMatchesRules(null!==(i=this.desc.precondition)&&void 0!==i?i:void 0);if(!a){s.debug("[EditorAction2] NOT running command because its precondition is FALSE",this.desc.id,null===(r=this.desc.precondition)||void 0===r?void 0:r.serialize());return}return this.runEditorCommand(e,n,...t)})}}function P(e,t){(0,u.CommandsRegistry).registerCommand(e,function(e,...i){let n=e.get(p.IInstantiationService),[r,s]=i;(0,_.assertType)((0,o.URI).isUri(r)),(0,_.assertType)((0,a.Position).isIPosition(s));let c=e.get(l.IModelService).getModel(r);if(c){let e=(0,a.Position).lift(s);return n.invokeFunction(t,c,e,...i.slice(2))}return e.get(d.ITextModelService).createModelReference(r).then(e=>new Promise((r,o)=>{try{let o=n.invokeFunction(t,e.object.textEditorModel,(0,a.Position).lift(s),i.slice(2));r(o)}catch(e){o(e)}}).finally(()=>{e.dispose()}))})}function L(e){return O.INSTANCE.registerEditorCommand(e),e}function A(e){let t=new e;return O.INSTANCE.registerEditorAction(t),t}function I(e){return O.INSTANCE.registerEditorAction(e),e}function N(e){O.INSTANCE.registerEditorAction(e)}function T(e,t,i){O.INSTANCE.registerEditorContribution(e,t,i)}(i=n||(n={})).getEditorCommand=function(e){return O.INSTANCE.getEditorCommand(e)},i.getEditorActions=function(){return O.INSTANCE.getEditorActions()},i.getEditorContributions=function(){return O.INSTANCE.getEditorContributions()},i.getSomeEditorContributions=function(e){return O.INSTANCE.getEditorContributions().filter(t=>e.indexOf(t.id)>=0)},i.getDiffEditorContributions=function(){return O.INSTANCE.getDiffEditorContributions()};class O{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(e,t,i){this.editorContributions.push({id:e,ctor:t,instantiation:i})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(e){e.register(),this.editorActions.push(e)}getEditorActions(){return this.editorActions}registerEditorCommand(e){e.register(),this.editorCommands[e.id]=e}getEditorCommand(e){return this.editorCommands[e]||null}}function M(e){return e.register(),e}O.INSTANCE=new O,(0,m.Registry).add("editor.contributions",O.INSTANCE);let R=M(new w({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:h.MenuId.MenubarEditMenu,group:"1_do",title:r.localize({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:h.MenuId.CommandPalette,group:"",title:r.localize("undo","Undo"),order:1}]}));M(new S(R,{id:"default:undo",precondition:void 0}));let F=M(new w({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:h.MenuId.MenubarEditMenu,group:"1_do",title:r.localize({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:h.MenuId.CommandPalette,group:"",title:r.localize("redo","Redo"),order:1}]}));M(new S(F,{id:"default:redo",precondition:void 0}));let B=M(new w({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:h.MenuId.MenubarSelectionMenu,group:"1_basic",title:r.localize({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:h.MenuId.CommandPalette,group:"",title:r.localize("selectAll","Select All"),order:1}]}))}),tk("rFCsH",function(e,t){c(e.exports,"ICodeEditorService",()=>n);var i=tx("oYrRk");let n=(0,i.createDecorator)("codeEditorService")}),tk("oYrRk",function(e,t){var i,n;c(e.exports,"_util",()=>i),c(e.exports,"IInstantiationService",()=>r),c(e.exports,"createDecorator",()=>o),(n=i||(i={})).serviceIds=new Map,n.DI_TARGET="$di$target",n.DI_DEPENDENCIES="$di$dependencies",n.getServiceDependencies=function(e){return e[n.DI_DEPENDENCIES]||[]};let r=o("instantiationService");function o(e){if(i.serviceIds.has(e))return i.serviceIds.get(e);let t=function(e,n,r){if(3!=arguments.length)throw Error("@IServiceName-decorator can only be used to decorate a parameter");e[i.DI_TARGET]===e?e[i.DI_DEPENDENCIES].push({id:t,index:r}):(e[i.DI_DEPENDENCIES]=[{id:t,index:r}],e[i.DI_TARGET]=e)};return t.toString=()=>e,i.serviceIds.set(e,t),t}}),tk("8JWXs",function(e,t){c(e.exports,"IModelService",()=>n);var i=tx("oYrRk");let n=(0,i.createDecorator)("modelService")}),tk("78XQi",function(e,t){c(e.exports,"ITextModelService",()=>n);var i=tx("oYrRk");let n=(0,i.createDecorator)("textModelService")}),tk("jZ4Mt",function(e,t){c(e.exports,"isIMenuItem",()=>p),c(e.exports,"isISubmenuItem",()=>f),c(e.exports,"MenuId",()=>m),c(e.exports,"IMenuService",()=>v),c(e.exports,"MenuRegistry",()=>b),c(e.exports,"SubmenuItemAction",()=>y),c(e.exports,"MenuItemAction",()=>C),c(e.exports,"Action2",()=>w),c(e.exports,"registerAction2",()=>S);var i,n=tx("91bgB"),r=tx("9v8gR"),o=tx("7QlpW"),s=tx("5OUe2"),a=tx("1IAZc"),l=tx("g8QUz"),d=tx("5hW5O"),h=tx("oYrRk"),u=tx("hAvzR"),g=function(e,t){return function(i,n){t(i,n,e)}};function p(e){return void 0!==e.command}function f(e){return void 0!==e.submenu}class m{constructor(e){if(m._instances.has(e))throw TypeError(`MenuId with identifier '${e}' already exists. Use MenuId.for(ident) or a unique identifier`);m._instances.set(e,this),this.id=e}}m._instances=new Map,m.CommandPalette=new m("CommandPalette"),m.DebugBreakpointsContext=new m("DebugBreakpointsContext"),m.DebugCallStackContext=new m("DebugCallStackContext"),m.DebugConsoleContext=new m("DebugConsoleContext"),m.DebugVariablesContext=new m("DebugVariablesContext"),m.NotebookVariablesContext=new m("NotebookVariablesContext"),m.DebugHoverContext=new m("DebugHoverContext"),m.DebugWatchContext=new m("DebugWatchContext"),m.DebugToolBar=new m("DebugToolBar"),m.DebugToolBarStop=new m("DebugToolBarStop"),m.EditorContext=new m("EditorContext"),m.SimpleEditorContext=new m("SimpleEditorContext"),m.EditorContent=new m("EditorContent"),m.EditorLineNumberContext=new m("EditorLineNumberContext"),m.EditorContextCopy=new m("EditorContextCopy"),m.EditorContextPeek=new m("EditorContextPeek"),m.EditorContextShare=new m("EditorContextShare"),m.EditorTitle=new m("EditorTitle"),m.EditorTitleRun=new m("EditorTitleRun"),m.EditorTitleContext=new m("EditorTitleContext"),m.EditorTitleContextShare=new m("EditorTitleContextShare"),m.EmptyEditorGroup=new m("EmptyEditorGroup"),m.EmptyEditorGroupContext=new m("EmptyEditorGroupContext"),m.EditorTabsBarContext=new m("EditorTabsBarContext"),m.EditorTabsBarShowTabsSubmenu=new m("EditorTabsBarShowTabsSubmenu"),m.EditorTabsBarShowTabsZenModeSubmenu=new m("EditorTabsBarShowTabsZenModeSubmenu"),m.EditorActionsPositionSubmenu=new m("EditorActionsPositionSubmenu"),m.ExplorerContext=new m("ExplorerContext"),m.ExplorerContextShare=new m("ExplorerContextShare"),m.ExtensionContext=new m("ExtensionContext"),m.GlobalActivity=new m("GlobalActivity"),m.CommandCenter=new m("CommandCenter"),m.CommandCenterCenter=new m("CommandCenterCenter"),m.LayoutControlMenuSubmenu=new m("LayoutControlMenuSubmenu"),m.LayoutControlMenu=new m("LayoutControlMenu"),m.MenubarMainMenu=new m("MenubarMainMenu"),m.MenubarAppearanceMenu=new m("MenubarAppearanceMenu"),m.MenubarDebugMenu=new m("MenubarDebugMenu"),m.MenubarEditMenu=new m("MenubarEditMenu"),m.MenubarCopy=new m("MenubarCopy"),m.MenubarFileMenu=new m("MenubarFileMenu"),m.MenubarGoMenu=new m("MenubarGoMenu"),m.MenubarHelpMenu=new m("MenubarHelpMenu"),m.MenubarLayoutMenu=new m("MenubarLayoutMenu"),m.MenubarNewBreakpointMenu=new m("MenubarNewBreakpointMenu"),m.PanelAlignmentMenu=new m("PanelAlignmentMenu"),m.PanelPositionMenu=new m("PanelPositionMenu"),m.ActivityBarPositionMenu=new m("ActivityBarPositionMenu"),m.MenubarPreferencesMenu=new m("MenubarPreferencesMenu"),m.MenubarRecentMenu=new m("MenubarRecentMenu"),m.MenubarSelectionMenu=new m("MenubarSelectionMenu"),m.MenubarShare=new m("MenubarShare"),m.MenubarSwitchEditorMenu=new m("MenubarSwitchEditorMenu"),m.MenubarSwitchGroupMenu=new m("MenubarSwitchGroupMenu"),m.MenubarTerminalMenu=new m("MenubarTerminalMenu"),m.MenubarViewMenu=new m("MenubarViewMenu"),m.MenubarHomeMenu=new m("MenubarHomeMenu"),m.OpenEditorsContext=new m("OpenEditorsContext"),m.OpenEditorsContextShare=new m("OpenEditorsContextShare"),m.ProblemsPanelContext=new m("ProblemsPanelContext"),m.SCMInputBox=new m("SCMInputBox"),m.SCMChangesSeparator=new m("SCMChangesSeparator"),m.SCMIncomingChanges=new m("SCMIncomingChanges"),m.SCMIncomingChangesContext=new m("SCMIncomingChangesContext"),m.SCMIncomingChangesSetting=new m("SCMIncomingChangesSetting"),m.SCMOutgoingChanges=new m("SCMOutgoingChanges"),m.SCMOutgoingChangesContext=new m("SCMOutgoingChangesContext"),m.SCMOutgoingChangesSetting=new m("SCMOutgoingChangesSetting"),m.SCMIncomingChangesAllChangesContext=new m("SCMIncomingChangesAllChangesContext"),m.SCMIncomingChangesHistoryItemContext=new m("SCMIncomingChangesHistoryItemContext"),m.SCMOutgoingChangesAllChangesContext=new m("SCMOutgoingChangesAllChangesContext"),m.SCMOutgoingChangesHistoryItemContext=new m("SCMOutgoingChangesHistoryItemContext"),m.SCMChangeContext=new m("SCMChangeContext"),m.SCMResourceContext=new m("SCMResourceContext"),m.SCMResourceContextShare=new m("SCMResourceContextShare"),m.SCMResourceFolderContext=new m("SCMResourceFolderContext"),m.SCMResourceGroupContext=new m("SCMResourceGroupContext"),m.SCMSourceControl=new m("SCMSourceControl"),m.SCMSourceControlInline=new m("SCMSourceControlInline"),m.SCMSourceControlTitle=new m("SCMSourceControlTitle"),m.SCMTitle=new m("SCMTitle"),m.SearchContext=new m("SearchContext"),m.SearchActionMenu=new m("SearchActionContext"),m.StatusBarWindowIndicatorMenu=new m("StatusBarWindowIndicatorMenu"),m.StatusBarRemoteIndicatorMenu=new m("StatusBarRemoteIndicatorMenu"),m.StickyScrollContext=new m("StickyScrollContext"),m.TestItem=new m("TestItem"),m.TestItemGutter=new m("TestItemGutter"),m.TestMessageContext=new m("TestMessageContext"),m.TestMessageContent=new m("TestMessageContent"),m.TestPeekElement=new m("TestPeekElement"),m.TestPeekTitle=new m("TestPeekTitle"),m.TouchBarContext=new m("TouchBarContext"),m.TitleBarContext=new m("TitleBarContext"),m.TitleBarTitleContext=new m("TitleBarTitleContext"),m.TunnelContext=new m("TunnelContext"),m.TunnelPrivacy=new m("TunnelPrivacy"),m.TunnelProtocol=new m("TunnelProtocol"),m.TunnelPortInline=new m("TunnelInline"),m.TunnelTitle=new m("TunnelTitle"),m.TunnelLocalAddressInline=new m("TunnelLocalAddressInline"),m.TunnelOriginInline=new m("TunnelOriginInline"),m.ViewItemContext=new m("ViewItemContext"),m.ViewContainerTitle=new m("ViewContainerTitle"),m.ViewContainerTitleContext=new m("ViewContainerTitleContext"),m.ViewTitle=new m("ViewTitle"),m.ViewTitleContext=new m("ViewTitleContext"),m.CommentEditorActions=new m("CommentEditorActions"),m.CommentThreadTitle=new m("CommentThreadTitle"),m.CommentThreadActions=new m("CommentThreadActions"),m.CommentThreadAdditionalActions=new m("CommentThreadAdditionalActions"),m.CommentThreadTitleContext=new m("CommentThreadTitleContext"),m.CommentThreadCommentContext=new m("CommentThreadCommentContext"),m.CommentTitle=new m("CommentTitle"),m.CommentActions=new m("CommentActions"),m.CommentsViewThreadActions=new m("CommentsViewThreadActions"),m.InteractiveToolbar=new m("InteractiveToolbar"),m.InteractiveCellTitle=new m("InteractiveCellTitle"),m.InteractiveCellDelete=new m("InteractiveCellDelete"),m.InteractiveCellExecute=new m("InteractiveCellExecute"),m.InteractiveInputExecute=new m("InteractiveInputExecute"),m.IssueReporter=new m("IssueReporter"),m.NotebookToolbar=new m("NotebookToolbar"),m.NotebookStickyScrollContext=new m("NotebookStickyScrollContext"),m.NotebookCellTitle=new m("NotebookCellTitle"),m.NotebookCellDelete=new m("NotebookCellDelete"),m.NotebookCellInsert=new m("NotebookCellInsert"),m.NotebookCellBetween=new m("NotebookCellBetween"),m.NotebookCellListTop=new m("NotebookCellTop"),m.NotebookCellExecute=new m("NotebookCellExecute"),m.NotebookCellExecuteGoTo=new m("NotebookCellExecuteGoTo"),m.NotebookCellExecutePrimary=new m("NotebookCellExecutePrimary"),m.NotebookDiffCellInputTitle=new m("NotebookDiffCellInputTitle"),m.NotebookDiffCellMetadataTitle=new m("NotebookDiffCellMetadataTitle"),m.NotebookDiffCellOutputsTitle=new m("NotebookDiffCellOutputsTitle"),m.NotebookOutputToolbar=new m("NotebookOutputToolbar"),m.NotebookOutlineFilter=new m("NotebookOutlineFilter"),m.NotebookOutlineActionMenu=new m("NotebookOutlineActionMenu"),m.NotebookEditorLayoutConfigure=new m("NotebookEditorLayoutConfigure"),m.NotebookKernelSource=new m("NotebookKernelSource"),m.BulkEditTitle=new m("BulkEditTitle"),m.BulkEditContext=new m("BulkEditContext"),m.TimelineItemContext=new m("TimelineItemContext"),m.TimelineTitle=new m("TimelineTitle"),m.TimelineTitleContext=new m("TimelineTitleContext"),m.TimelineFilterSubMenu=new m("TimelineFilterSubMenu"),m.AccountsContext=new m("AccountsContext"),m.SidebarTitle=new m("SidebarTitle"),m.PanelTitle=new m("PanelTitle"),m.AuxiliaryBarTitle=new m("AuxiliaryBarTitle"),m.AuxiliaryBarHeader=new m("AuxiliaryBarHeader"),m.TerminalInstanceContext=new m("TerminalInstanceContext"),m.TerminalEditorInstanceContext=new m("TerminalEditorInstanceContext"),m.TerminalNewDropdownContext=new m("TerminalNewDropdownContext"),m.TerminalTabContext=new m("TerminalTabContext"),m.TerminalTabEmptyAreaContext=new m("TerminalTabEmptyAreaContext"),m.TerminalStickyScrollContext=new m("TerminalStickyScrollContext"),m.WebviewContext=new m("WebviewContext"),m.InlineCompletionsActions=new m("InlineCompletionsActions"),m.InlineEditActions=new m("InlineEditActions"),m.NewFile=new m("NewFile"),m.MergeInput1Toolbar=new m("MergeToolbar1Toolbar"),m.MergeInput2Toolbar=new m("MergeToolbar2Toolbar"),m.MergeBaseToolbar=new m("MergeBaseToolbar"),m.MergeInputResultToolbar=new m("MergeToolbarResultToolbar"),m.InlineSuggestionToolbar=new m("InlineSuggestionToolbar"),m.InlineEditToolbar=new m("InlineEditToolbar"),m.ChatContext=new m("ChatContext"),m.ChatCodeBlock=new m("ChatCodeblock"),m.ChatMessageTitle=new m("ChatMessageTitle"),m.ChatExecute=new m("ChatExecute"),m.ChatExecuteSecondary=new m("ChatExecuteSecondary"),m.ChatInputSide=new m("ChatInputSide"),m.AccessibleView=new m("AccessibleView"),m.MultiDiffEditorFileToolbar=new m("MultiDiffEditorFileToolbar"),m.DiffEditorHunkToolbar=new m("DiffEditorHunkToolbar"),m.DiffEditorSelectionToolbar=new m("DiffEditorSelectionToolbar");let v=(0,h.createDecorator)("menuService");class _{static for(e){let t=this._all.get(e);return t||(t=new _(e),this._all.set(e,t)),t}static merge(e){let t=new Set;for(let i of e)i instanceof _&&t.add(i.id);return t}constructor(e){this.id=e,this.has=t=>t===e}}_._all=new Map;let b=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new o.MicrotaskEmitter({merge:_.merge}),this.onDidChangeMenu=this._onDidChangeMenu.event}addCommand(e){return this._commands.set(e.id,e),this._onDidChangeMenu.fire(_.for(m.CommandPalette)),(0,s.toDisposable)(()=>{this._commands.delete(e.id)&&this._onDidChangeMenu.fire(_.for(m.CommandPalette))})}getCommand(e){return this._commands.get(e)}getCommands(){let e=new Map;return this._commands.forEach((t,i)=>e.set(i,t)),e}appendMenuItem(e,t){let i=this._menuItems.get(e);i||(i=new a.LinkedList,this._menuItems.set(e,i));let n=i.push(t);return this._onDidChangeMenu.fire(_.for(e)),(0,s.toDisposable)(()=>{n(),this._onDidChangeMenu.fire(_.for(e))})}appendMenuItems(e){let t=new s.DisposableStore;for(let{id:i,item:n}of e)t.add(this.appendMenuItem(i,n));return t}getMenuItems(e){let t;return t=this._menuItems.has(e)?[...this._menuItems.get(e)]:[],e===m.CommandPalette&&this._appendImplicitItems(t),t}_appendImplicitItems(e){let t=new Set;for(let i of e)p(i)&&(t.add(i.command.id),i.alt&&t.add(i.alt.id));this._commands.forEach((i,n)=>{t.has(n)||e.push({command:i})})}};class y extends n.SubmenuAction{constructor(e,t,i){super(`submenuitem.${e.submenu.id}`,"string"==typeof e.title?e.title:e.title.value,i,"submenu"),this.item=e,this.hideActions=t}}let C=i=class{static label(e,t){return(null==t?void 0:t.renderShortTitle)&&e.shortTitle?"string"==typeof e.shortTitle?e.shortTitle:e.shortTitle.value:"string"==typeof e.title?e.title:e.title.value}constructor(e,t,n,o,s,a){var l,c;let d;if(this.hideActions=o,this._commandService=a,this.id=e.id,this.label=i.label(e,n),this.tooltip=null!==(c="string"==typeof e.tooltip?e.tooltip:null===(l=e.tooltip)||void 0===l?void 0:l.value)&&void 0!==c?c:"",this.enabled=!e.precondition||s.contextMatchesRules(e.precondition),this.checked=void 0,e.toggled){let t=e.toggled.condition?e.toggled:{condition:e.toggled};this.checked=s.contextMatchesRules(t.condition),this.checked&&t.tooltip&&(this.tooltip="string"==typeof t.tooltip?t.tooltip:t.tooltip.value),this.checked&&(0,r.ThemeIcon).isThemeIcon(t.icon)&&(d=t.icon),this.checked&&t.title&&(this.label="string"==typeof t.title?t.title:t.title.value)}d||(d=(0,r.ThemeIcon).isThemeIcon(e.icon)?e.icon:void 0),this.item=e,this.alt=t?new i(t,void 0,n,o,s,a):void 0,this._options=n,this.class=d&&(0,r.ThemeIcon).asClassName(d)}run(...e){var t,i;let n=[];return(null===(t=this._options)||void 0===t?void 0:t.arg)&&(n=[...n,this._options.arg]),(null===(i=this._options)||void 0===i?void 0:i.shouldForwardArgs)&&(n=[...n,...e]),this._commandService.executeCommand(this.id,...n)}};C=i=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([g(4,d.IContextKeyService),g(5,l.ICommandService)],C);class w{constructor(e){this.desc=e}}function S(e){let t=new s.DisposableStore,i=new e,{f1:n,menu:r,keybinding:o,...a}=i.desc;if((0,l.CommandsRegistry).getCommand(a.id))throw Error(`Cannot register two commands with the same id: ${a.id}`);if(t.add((0,l.CommandsRegistry).registerCommand({id:a.id,handler:(e,...t)=>i.run(e,...t),metadata:a.metadata})),Array.isArray(r))for(let e of r)t.add(b.appendMenuItem(e.id,{command:{...a,precondition:null===e.precondition?void 0:a.precondition},...e}));else r&&t.add(b.appendMenuItem(r.id,{command:{...a,precondition:null===r.precondition?void 0:a.precondition},...r}));if(n&&(t.add(b.appendMenuItem(m.CommandPalette,{command:a,when:a.precondition})),t.add(b.addCommand(a))),Array.isArray(o))for(let e of o)t.add((0,u.KeybindingsRegistry).registerKeybindingRule({...e,id:a.id,when:a.precondition?(0,d.ContextKeyExpr).and(a.precondition,e.when):e.when}));else o&&t.add((0,u.KeybindingsRegistry).registerKeybindingRule({...o,id:a.id,when:a.precondition?(0,d.ContextKeyExpr).and(a.precondition,o.when):o.when}));return t}}),tk("91bgB",function(e,t){c(e.exports,"Action",()=>o),c(e.exports,"ActionRunner",()=>s),c(e.exports,"Separator",()=>a),c(e.exports,"SubmenuAction",()=>l),c(e.exports,"EmptySubmenuAction",()=>d),c(e.exports,"toAction",()=>h);var i=tx("7QlpW"),n=tx("5OUe2"),r=tx("2hvjT");class o extends n.Disposable{constructor(e,t="",n="",r=!0,o){super(),this._onDidChange=this._register(new i.Emitter),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=e,this._label=t,this._cssClass=n,this._enabled=r,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}async run(e,t){this._actionCallback&&await this._actionCallback(e)}}class s extends n.Disposable{constructor(){super(...arguments),this._onWillRun=this._register(new i.Emitter),this.onWillRun=this._onWillRun.event,this._onDidRun=this._register(new i.Emitter),this.onDidRun=this._onDidRun.event}async run(e,t){let i;if(e.enabled){this._onWillRun.fire({action:e});try{await this.runAction(e,t)}catch(e){i=e}this._onDidRun.fire({action:e,error:i})}}async runAction(e,t){await e.run(t)}}class a{constructor(){this.id=a.ID,this.label="",this.tooltip="",this.class="separator",this.enabled=!1,this.checked=!1}static join(...e){let t=[];for(let i of e)i.length&&(t=t.length?[...t,new a,...i]:i);return t}async run(){}}a.ID="vs.actions.separator";class l{get actions(){return this._actions}constructor(e,t,i,n){this.tooltip="",this.enabled=!0,this.checked=void 0,this.id=e,this.label=t,this.class=n,this._actions=i}async run(){}}class d extends o{constructor(){super(d.ID,r.localize("submenu.empty","(empty)"),void 0,!1)}}function h(e){var t;return{id:e.id,label:e.label,class:e.class,enabled:null===(t=e.enabled)||void 0===t||t,checked:e.checked,run:async(...t)=>e.run(...t),tooltip:e.label}}d.ID="vs.actions.empty"}),tk("9v8gR",function(e,t){c(e.exports,"ThemeIcon",()=>n);var i,n,r=tx("dNs4Z");(i||(i={})).isThemeColor=function(e){return e&&"object"==typeof e&&"string"==typeof e.id},function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9-]+",e.iconModifierExpression="~[A-Za-z]+",e.iconNameCharacter="[A-Za-z0-9~-]";let t=RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function n(e){let i=t.exec(e.id);if(!i)return n(r.Codicon.error);let[,o,s]=i,a=["codicon","codicon-"+o];return s&&a.push("codicon-modifier-"+s.substring(1)),a}e.asClassNameArray=n,e.asClassName=function(e){return n(e).join(" ")},e.asCSSSelector=function(e){return"."+n(e).join(".")},e.isThemeIcon=function(e){return e&&"object"==typeof e&&"string"==typeof e.id&&(void 0===e.color||i.isThemeColor(e.color))};let o=RegExp(`^\\$\\((${e.iconNameExpression}(?:${e.iconModifierExpression})?)\\)$`);e.fromString=function(e){let t=o.exec(e);if(!t)return;let[,i]=t;return{id:i}},e.fromId=function(e){return{id:e}},e.modify=function(e,t){let i=e.id,n=i.lastIndexOf("~");return -1!==n&&(i=i.substring(0,n)),t&&(i=`${i}~${t}`),{id:i}},e.getModifier=function(e){let t=e.id.lastIndexOf("~");if(-1!==t)return e.id.substring(t+1)},e.isEqual=function(e,t){var i,n;return e.id===t.id&&(null===(i=e.color)||void 0===i?void 0:i.id)===(null===(n=t.color)||void 0===n?void 0:n.id)}}(n||(n={}))}),tk("g8QUz",function(e,t){c(e.exports,"ICommandService",()=>l),c(e.exports,"CommandsRegistry",()=>d);var i=tx("7QlpW"),n=tx("7XFUZ"),r=tx("5OUe2"),o=tx("1IAZc"),s=tx("fYBtw"),a=tx("oYrRk");let l=(0,a.createDecorator)("commandService"),d=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new i.Emitter,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,t){if(!e)throw Error("invalid command");if("string"==typeof e){if(!t)throw Error("invalid command");return this.registerCommand({id:e,handler:t})}if(e.metadata&&Array.isArray(e.metadata.args)){let t=[];for(let i of e.metadata.args)t.push(i.constraint);let i=e.handler;e.handler=function(e,...n){return(0,s.validateConstraints)(n,t),i(e,...n)}}let{id:i}=e,n=this._commands.get(i);n||(n=new o.LinkedList,this._commands.set(i,n));let a=n.unshift(e),l=(0,r.toDisposable)(()=>{a();let e=this._commands.get(i);(null==e?void 0:e.isEmpty())&&this._commands.delete(i)});return this._onDidRegisterCommand.fire(i),l}registerCommandAlias(e,t){return d.registerCommand(e,(e,...i)=>e.get(l).executeCommand(t,...i))}getCommand(e){let t=this._commands.get(e);if(!(!t||t.isEmpty()))return(0,n.Iterable).first(t)}getCommands(){let e=new Map;for(let t of this._commands.keys()){let i=this.getCommand(t);i&&e.set(t,i)}return e}};d.registerCommand("noop",()=>{})}),tk("5hW5O",function(e,t){c(e.exports,"ContextKeyExpr",()=>y),c(e.exports,"ContextKeyEqualsExpr",()=>E),c(e.exports,"expressionsAreEqualWithConstantSubstitution",()=>C),c(e.exports,"RawContextKey",()=>X),c(e.exports,"IContextKeyService",()=>z),c(e.exports,"implies",()=>function e(t,i){if(0===t.type||1===i.type)return!0;if(9===t.type)return 9===i.type&&H(t.expr,i.expr);if(9===i.type){for(let n of i.expr)if(e(t,n))return!0;return!1}if(6===t.type){if(6===i.type)return H(i.expr,t.expr);for(let n of t.expr)if(e(n,i))return!0;return!1}return t.equals(i)});var i=tx("aWCAT"),n=tx("241rv"),r=tx("lIxnp"),o=tx("oYrRk"),s=tx("2hvjT");let a=new Map;a.set("false",!1),a.set("true",!0),a.set("isMac",i.isMacintosh),a.set("isLinux",i.isLinux),a.set("isWindows",i.isWindows),a.set("isWeb",i.isWeb),a.set("isMacNative",i.isMacintosh&&!i.isWeb),a.set("isEdge",i.isEdge),a.set("isFirefox",i.isFirefox),a.set("isChrome",i.isChrome),a.set("isSafari",i.isSafari);let l=Object.prototype.hasOwnProperty,d={regexParsingWithErrorRecovery:!0},h=(0,s.localize)("contextkey.parser.error.emptyString","Empty context key expression"),u=(0,s.localize)("contextkey.parser.error.emptyString.hint","Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively."),g=(0,s.localize)("contextkey.parser.error.noInAfterNot","'in' after 'not'."),p=(0,s.localize)("contextkey.parser.error.closingParenthesis","closing parenthesis ')'"),f=(0,s.localize)("contextkey.parser.error.unexpectedToken","Unexpected token"),m=(0,s.localize)("contextkey.parser.error.unexpectedToken.hint","Did you forget to put && or || before the token?"),v=(0,s.localize)("contextkey.parser.error.unexpectedEOF","Unexpected end of expression"),_=(0,s.localize)("contextkey.parser.error.unexpectedEOF.hint","Did you forget to put a context key?");class b{constructor(e=d){this._config=e,this._scanner=new r.Scanner,this._tokens=[],this._current=0,this._parsingErrors=[],this._flagsGYRe=/g|y/g}parse(e){if(""===e){this._parsingErrors.push({message:h,offset:0,lexeme:"",additionalInfo:u});return}this._tokens=this._scanner.reset(e).scan(),this._current=0,this._parsingErrors=[];try{let e=this._expr();if(!this._isAtEnd()){let e=this._peek(),t=17===e.type?m:void 0;throw this._parsingErrors.push({message:f,offset:e.offset,lexeme:(0,r.Scanner).getLexeme(e),additionalInfo:t}),b._parseError}return e}catch(e){if(e!==b._parseError)throw e;return}}_expr(){return this._or()}_or(){let e=[this._and()];for(;this._matchOne(16);){let t=this._and();e.push(t)}return 1===e.length?e[0]:y.or(...e)}_and(){let e=[this._term()];for(;this._matchOne(15);){let t=this._term();e.push(t)}return 1===e.length?e[0]:y.and(...e)}_term(){if(this._matchOne(2)){let e=this._peek();switch(e.type){case 11:return this._advance(),S.INSTANCE;case 12:return this._advance(),x.INSTANCE;case 0:{this._advance();let e=this._expr();return this._consume(1,p),null==e?void 0:e.negate()}case 17:return this._advance(),A.create(e.lexeme);default:throw this._errExpectedButGot("KEY | true | false | '(' expression ')'",e)}}return this._primary()}_primary(){let e=this._peek();switch(e.type){case 11:return this._advance(),y.true();case 12:return this._advance(),y.false();case 0:{this._advance();let e=this._expr();return this._consume(1,p),e}case 17:{let t=e.lexeme;if(this._advance(),this._matchOne(9)){let e=this._peek();if(!this._config.regexParsingWithErrorRecovery){let i;if(this._advance(),10!==e.type)throw this._errExpectedButGot("REGEX",e);let n=e.lexeme,r=n.lastIndexOf("/"),o=r===n.length-1?void 0:this._removeFlagsGY(n.substring(r+1));try{i=new RegExp(n.substring(1,r),o)}catch(t){throw this._errExpectedButGot("REGEX",e)}return R.create(t,i)}switch(e.type){case 10:case 19:{let i;let n=[e.lexeme];this._advance();let o=this._peek(),s=0;for(let t=0;t=0){let o=i.slice(t+1,n),s="i"===i[n+1]?"i":"";try{r=new RegExp(o,s)}catch(t){throw this._errExpectedButGot("REGEX",e)}}}if(null===r)throw this._errExpectedButGot("REGEX",e);return R.create(t,r)}default:throw this._errExpectedButGot("REGEX",this._peek())}}if(this._matchOne(14)){this._consume(13,g);let e=this._value();return y.notIn(t,e)}let i=this._peek().type;switch(i){case 3:{this._advance();let e=this._value();if(18===this._previous().type)return y.equals(t,e);switch(e){case"true":return y.has(t);case"false":return y.not(t);default:return y.equals(t,e)}}case 4:{this._advance();let e=this._value();if(18===this._previous().type)return y.notEquals(t,e);switch(e){case"true":return y.not(t);case"false":return y.has(t);default:return y.notEquals(t,e)}}case 5:return this._advance(),O.create(t,this._value());case 6:return this._advance(),M.create(t,this._value());case 7:return this._advance(),N.create(t,this._value());case 8:return this._advance(),T.create(t,this._value());case 13:return this._advance(),y.in(t,this._value());default:return y.has(t)}}case 20:throw this._parsingErrors.push({message:v,offset:e.offset,lexeme:"",additionalInfo:_}),b._parseError;default:throw this._errExpectedButGot(`true | false | KEY | KEY '=~' REGEX - | KEY ('==' | '!=' | '<' | '<=' | '>' | '>=' | 'in' | 'not' 'in') value`,this._peek())}}_value(){let e=this._peek();switch(e.type){case 17:case 18:return this._advance(),e.lexeme;case 11:return this._advance(),"true";case 12:return this._advance(),"false";case 13:return this._advance(),"in";default:return""}}_removeFlagsGY(e){return e.replaceAll(this._flagsGYRe,"")}_previous(){return this._tokens[this._current-1]}_matchOne(e){return!!this._check(e)&&(this._advance(),!0)}_advance(){return!this._isAtEnd()&&this._current++,this._previous()}_consume(e,t){if(this._check(e))return this._advance();throw this._errExpectedButGot(t,this._peek())}_errExpectedButGot(e,t,i){let n=(0,a.localize)("contextkey.parser.error.expectedButGot","Expected: {0}\nReceived: '{1}'.",e,(0,r.Scanner).getLexeme(t)),o=t.offset,s=(0,r.Scanner).getLexeme(t);return this._parsingErrors.push({message:n,offset:o,lexeme:s,additionalInfo:i}),b._parseError}_check(e){return this._peek().type===e}_peek(){return this._tokens[this._current]}_isAtEnd(){return 20===this._peek().type}}b._parseError=Error();class y{static false(){return S.INSTANCE}static true(){return x.INSTANCE}static has(e){return E.create(e)}static equals(e,t){return k.create(e,t)}static notEquals(e,t){return L.create(e,t)}static regex(e,t){return R.create(e,t)}static in(e,t){return D.create(e,t)}static notIn(e,t){return P.create(e,t)}static not(e){return A.create(e)}static and(...e){return B.create(e,null,!0)}static or(...e){return X.create(e,null,!0)}static deserialize(e){if(null==e)return;let t=this._parser.parse(e);return t}}function C(e,t){let i=e?e.substituteConstants():void 0,n=t?t.substituteConstants():void 0;return!i&&!n||!!i&&!!n&&i.equals(n)}function w(e,t){return e.cmp(t)}y._parser=new b({regexParsingWithErrorRecovery:!1});class S{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return x.INSTANCE}}S.INSTANCE=new S;class x{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return S.INSTANCE}}x.INSTANCE=new x;class E{static create(e,t=null){let i=l.get(e);return"boolean"==typeof i?i?x.INSTANCE:S.INSTANCE:new E(e,t)}constructor(e,t){this.key=e,this.negated=t,this.type=2}cmp(e){var t,i;return e.type!==this.type?this.type-e.type:(t=this.key,t<(i=e.key)?-1:t>i?1:0)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){let e=l.get(this.key);return"boolean"==typeof e?e?x.INSTANCE:S.INSTANCE:this}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=A.create(this.key,this)),this.negated}}class k{static create(e,t,i=null){if("boolean"==typeof t)return t?E.create(e,i):A.create(e,i);let n=l.get(e);return"boolean"==typeof n?t===(n?"true":"false")?x.INSTANCE:S.INSTANCE:new k(e,t,i)}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=4}cmp(e){return e.type!==this.type?this.type-e.type:V(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){let e=l.get(this.key);return"boolean"==typeof e?this.value===(e?"true":"false")?x.INSTANCE:S.INSTANCE:this}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=L.create(this.key,this.value,this)),this.negated}}class D{static create(e,t){return new D(e,t)}constructor(e,t){this.key=e,this.valueKey=t,this.type=10,this.negated=null}cmp(e){return e.type!==this.type?this.type-e.type:V(this.key,this.valueKey,e.key,e.valueKey)}equals(e){return e.type===this.type&&this.key===e.key&&this.valueKey===e.valueKey}substituteConstants(){return this}evaluate(e){let t=e.getValue(this.valueKey),i=e.getValue(this.key);return Array.isArray(t)?t.includes(i):"string"==typeof i&&"object"==typeof t&&null!==t&&c.call(t,i)}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=P.create(this.key,this.valueKey)),this.negated}}class P{static create(e,t){return new P(e,t)}constructor(e,t){this.key=e,this.valueKey=t,this.type=11,this._negated=D.create(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this._negated.cmp(e._negated)}equals(e){return e.type===this.type&&this._negated.equals(e._negated)}substituteConstants(){return this}evaluate(e){return!this._negated.evaluate(e)}serialize(){return`${this.key} not in '${this.valueKey}'`}keys(){return this._negated.keys()}negate(){return this._negated}}class L{static create(e,t,i=null){if("boolean"==typeof t)return t?A.create(e,i):E.create(e,i);let n=l.get(e);return"boolean"==typeof n?t===(n?"true":"false")?S.INSTANCE:x.INSTANCE:new L(e,t,i)}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=5}cmp(e){return e.type!==this.type?this.type-e.type:V(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){let e=l.get(this.key);return"boolean"==typeof e?this.value===(e?"true":"false")?S.INSTANCE:x.INSTANCE:this}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=k.create(this.key,this.value,this)),this.negated}}class A{static create(e,t=null){let i=l.get(e);return"boolean"==typeof i?i?S.INSTANCE:x.INSTANCE:new A(e,t)}constructor(e,t){this.key=e,this.negated=t,this.type=3}cmp(e){var t,i;return e.type!==this.type?this.type-e.type:(t=this.key,t<(i=e.key)?-1:t>i?1:0)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){let e=l.get(this.key);return"boolean"==typeof e?e?S.INSTANCE:x.INSTANCE:this}evaluate(e){return!e.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=E.create(this.key,this)),this.negated}}function I(e,t){if("string"==typeof e){let t=parseFloat(e);isNaN(t)||(e=t)}return"string"==typeof e||"number"==typeof e?t(e):S.INSTANCE}class N{static create(e,t,i=null){return I(t,t=>new N(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=12}cmp(e){return e.type!==this.type?this.type-e.type:V(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=M.create(this.key,this.value,this)),this.negated}}class T{static create(e,t,i=null){return I(t,t=>new T(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=13}cmp(e){return e.type!==this.type?this.type-e.type:V(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=O.create(this.key,this.value,this)),this.negated}}class O{static create(e,t,i=null){return I(t,t=>new O(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=14}cmp(e){return e.type!==this.type?this.type-e.type:V(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))new M(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=15}cmp(e){return e.type!==this.type?this.type-e.type:V(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=N.create(this.key,this.value,this)),this.negated}}class R{static create(e,t){return new R(e,t)}constructor(e,t){this.key=e,this.regexp=t,this.type=7,this.negated=null}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.keye.key)return 1;let t=this.regexp?this.regexp.source:"",i=e.regexp?e.regexp.source:"";return ti?1:0}equals(e){if(e.type===this.type){let t=this.regexp?this.regexp.source:"",i=e.regexp?e.regexp.source:"";return this.key===e.key&&t===i}return!1}substituteConstants(){return this}evaluate(e){let t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)}serialize(){let e=this.regexp?`/${this.regexp.source}/${this.regexp.flags}`:"/invalid/";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=F.create(this)),this.negated}}class F{static create(e){return new F(e)}constructor(e){this._actual=e,this.type=8}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}substituteConstants(){return this}evaluate(e){return!this._actual.evaluate(e)}serialize(){return`!(${this._actual.serialize()})`}keys(){return this._actual.keys()}negate(){return this._actual}}function K(e){let t=null;for(let i=0,n=e.length;ie.expr.length)return 1;for(let t=0,i=this.expr.length;t1;){let e=n[n.length-1];if(9!==e.type)break;n.pop();let t=n.pop(),r=0===n.length,o=X.create(e.expr.map(e=>B.create([e,t],null,i)),null,r);o&&(n.push(o),n.sort(w))}if(1===n.length)return n[0];if(i){for(let e=0;ee.serialize()).join(" && ")}keys(){let e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let e=[];for(let t of this.expr)e.push(t.negate());this.negated=X.create(e,this,!0)}return this.negated}}class X{static create(e,t,i){return X._normalizeArr(e,t,i)}constructor(e,t){this.expr=e,this.negated=t,this.type=9}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.lengthe.expr.length)return 1;for(let t=0,i=this.expr.length;te.serialize()).join(" || ")}keys(){let e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let e=[];for(let t of this.expr)e.push(t.negate());for(;e.length>1;){let t=e.shift(),i=e.shift(),n=[];for(let e of U(t))for(let t of U(i))n.push(B.create([e,t],null,!1));e.unshift(X.create(n,null,!1))}this.negated=X.create(e,this,!0)}return this.negated}}class W extends E{static all(){return W._info.values()}constructor(e,t,i){super(e,null),this._defaultValue=t,"object"==typeof i?W._info.push(Object.assign(Object.assign({},i),{key:e})):!0!==i&&W._info.push({key:e,description:i,type:null!=t?typeof t:void 0})}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(e){return k.create(this.key,e)}}W._info=[];let z=(0,s.createDecorator)("contextKeyService");function V(e,t,i,n){return ei?1:tn?1:0}function H(e,t){let i=0,n=0;for(;il);var i=eK("feAe9"),n=eK("cAMHt");function r(...e){switch(e.length){case 1:return(0,n.localize)("contextkey.scanner.hint.didYouMean1","Did you mean {0}?",e[0]);case 2:return(0,n.localize)("contextkey.scanner.hint.didYouMean2","Did you mean {0} or {1}?",e[0],e[1]);case 3:return(0,n.localize)("contextkey.scanner.hint.didYouMean3","Did you mean {0}, {1} or {2}?",e[0],e[1],e[2]);default:return}}let s=(0,n.localize)("contextkey.scanner.hint.didYouForgetToOpenOrCloseQuote","Did you forget to open or close the quote?"),a=(0,n.localize)("contextkey.scanner.hint.didYouForgetToEscapeSlash","Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/'.");class l{constructor(){this._input="",this._start=0,this._current=0,this._tokens=[],this._errors=[],this.stringRe=/[a-zA-Z0-9_<>\-\./\\:\*\?\+\[\]\^,#@;"%\$\p{L}-]+/uy}static getLexeme(e){switch(e.type){case 0:return"(";case 1:return")";case 2:return"!";case 3:return e.isTripleEq?"===":"==";case 4:return e.isTripleEq?"!==":"!=";case 5:return"<";case 6:return"<=";case 7:case 8:return">=";case 9:return"=~";case 10:case 17:case 18:case 19:return e.lexeme;case 11:return"true";case 12:return"false";case 13:return"in";case 14:return"not";case 15:return"&&";case 16:return"||";case 20:return"EOF";default:throw(0,i.illegalState)(`unhandled token type: ${JSON.stringify(e)}; have you forgotten to add a case?`)}}reset(e){return this._input=e,this._start=0,this._current=0,this._tokens=[],this._errors=[],this}scan(){for(;!this._isAtEnd();){this._start=this._current;let e=this._advance();switch(e){case 40:this._addToken(0);break;case 41:this._addToken(1);break;case 33:if(this._match(61)){let e=this._match(61);this._tokens.push({type:4,offset:this._start,isTripleEq:e})}else this._addToken(2);break;case 39:this._quotedString();break;case 47:this._regex();break;case 61:if(this._match(61)){let e=this._match(61);this._tokens.push({type:3,offset:this._start,isTripleEq:e})}else this._match(126)?this._addToken(9):this._error(r("==","=~"));break;case 60:this._addToken(this._match(61)?6:5);break;case 62:this._addToken(this._match(61)?8:7);break;case 38:this._match(38)?this._addToken(15):this._error(r("&&"));break;case 124:this._match(124)?this._addToken(16):this._error(r("||"));break;case 32:case 13:case 9:case 10:case 160:break;default:this._string()}}return this._start=this._current,this._addToken(20),Array.from(this._tokens)}_match(e){return!this._isAtEnd()&&this._input.charCodeAt(this._current)===e&&(this._current++,!0)}_advance(){return this._input.charCodeAt(this._current++)}_peek(){return this._isAtEnd()?0:this._input.charCodeAt(this._current)}_addToken(e){this._tokens.push({type:e,offset:this._start})}_error(e){let t=this._start,i=this._input.substring(this._start,this._current),n={type:19,offset:this._start,lexeme:i};this._errors.push({offset:t,lexeme:i,additionalInfo:e}),this._tokens.push(n)}_string(){this.stringRe.lastIndex=this._start;let e=this.stringRe.exec(this._input);if(e){this._current=this._start+e[0].length;let t=this._input.substring(this._start,this._current),i=l._keywords.get(t);i?this._addToken(i):this._tokens.push({type:17,lexeme:t,offset:this._start})}}_quotedString(){for(;39!==this._peek()&&!this._isAtEnd();)this._advance();if(this._isAtEnd()){this._error(s);return}this._advance(),this._tokens.push({type:18,lexeme:this._input.substring(this._start+1,this._current-1),offset:this._start+1})}_regex(){let e=this._current,t=!1,i=!1;for(;;){if(e>=this._input.length){this._current=e,this._error(a);return}let n=this._input.charCodeAt(e);if(t)t=!1;else if(47!==n||i)91===n?i=!0:92===n?t=!0:93===n&&(i=!1);else{e++;break}e++}for(;e=this._input.length}}l._regexFlags=new Set(["i","g","s","m","y","u"].map(e=>e.charCodeAt(0))),l._keywords=new Map([["not",14],["in",13],["false",12],["true",11]])}),eK.register("aSrqz",function(e,t){o(e.exports,"EditorType",()=>i);let i={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}}),eK.register("e7ykw",function(e,t){o(e.exports,"OverviewRulerLane",()=>a),o(e.exports,"GlyphMarginLane",()=>l),o(e.exports,"MinimapPosition",()=>c),o(e.exports,"InjectedTextCursorStops",()=>u),o(e.exports,"TextModelResolvedOptions",()=>h),o(e.exports,"FindMatch",()=>g),o(e.exports,"isITextSnapshot",()=>p),o(e.exports,"ValidAnnotatedEditOperation",()=>f),o(e.exports,"SearchData",()=>m),o(e.exports,"ApplyEditsResult",()=>v),o(e.exports,"shouldSynchronizeModel",()=>_);var i,n,r,s,a,l,c,u,d=eK("e7gry");(i=a||(a={}))[i.Left=1]="Left",i[i.Center=2]="Center",i[i.Right=4]="Right",i[i.Full=7]="Full",(n=l||(l={}))[n.Left=1]="Left",n[n.Right=2]="Right",(r=c||(c={}))[r.Inline=1]="Inline",r[r.Gutter=2]="Gutter",(s=u||(u={}))[s.Both=0]="Both",s[s.Right=1]="Right",s[s.Left=2]="Left",s[s.None=3]="None";class h{get originalIndentSize(){return this._indentSizeIsTabSize?"tabSize":this.indentSize}constructor(e){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,0|e.tabSize),"tabSize"===e.indentSize?(this.indentSize=this.tabSize,this._indentSizeIsTabSize=!0):(this.indentSize=Math.max(1,0|e.indentSize),this._indentSizeIsTabSize=!1),this.insertSpaces=!!e.insertSpaces,this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=!!e.trimAutoWhitespace,this.bracketPairColorizationOptions=e.bracketPairColorizationOptions}equals(e){return this.tabSize===e.tabSize&&this._indentSizeIsTabSize===e._indentSizeIsTabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&(0,d.equals)(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class g{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}function p(e){return e&&"function"==typeof e.read}class f{constructor(e,t,i,n,r,o){this.identifier=e,this.range=t,this.text=i,this.forceMoveMarkers=n,this.isAutoWhitespaceEdit=r,this._isTracked=o}}class m{constructor(e,t,i){this.regex=e,this.wordSeparators=t,this.simpleSearch=i}}class v{constructor(e,t,i){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=i}}function _(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}}),eK.register("aVG2E",function(e,t){o(e.exports,"ILanguageConfigurationService",()=>w),o(e.exports,"getIndentationAtPosition",()=>k),o(e.exports,"getScopedLineTokens",()=>D);var i=eK("hhGVE"),n=eK("ldoGF"),r=eK("fxXOE"),s=eK("kLSS4"),a=eK("38DTD"),l=eK("kIudc"),c=eK("jk3OS"),u=eK("ez2Yj"),d=eK("9Jzht"),h=eK("3jius"),g=eK("3KMJW"),p=eK("yPX6c"),f=eK("aKWdS"),m=eK("d2XvS"),v=eK("7Ekti"),_=eK("3mUF9"),b=eK("kJpQU"),y=function(e,t){return function(i,n){t(i,n,e)}};class C{constructor(e){this.languageId=e}affects(e){return!this.languageId||this.languageId===e}}let w=(0,p.createDecorator)("languageConfigurationService"),S=class extends n.Disposable{constructor(e,t){super(),this.configurationService=e,this.languageService=t,this._registry=this._register(new N),this.onDidChangeEmitter=this._register(new i.Emitter),this.onDidChange=this.onDidChangeEmitter.event,this.configurations=new Map;let n=new Set(Object.values(x));this._register(this.configurationService.onDidChangeConfiguration(e=>{let t=e.change.keys.some(e=>n.has(e)),i=e.change.overrides.filter(([e,t])=>t.some(e=>n.has(e))).map(([e])=>e);if(t)this.configurations.clear(),this.onDidChangeEmitter.fire(new C(void 0));else for(let e of i)this.languageService.isRegisteredLanguageId(e)&&(this.configurations.delete(e),this.onDidChangeEmitter.fire(new C(e)))})),this._register(this._registry.onDidChange(e=>{this.configurations.delete(e.languageId),this.onDidChangeEmitter.fire(new C(e.languageId))}))}register(e,t,i){return this._registry.register(e,t,i)}getLanguageConfiguration(e){let t=this.configurations.get(e);return t||(t=function(e,t,i,n){let r=t.getLanguageConfiguration(e);if(!r){if(!n.isRegisteredLanguageId(e))return new T(e,{});r=new T(e,{})}let o=function(e,t){let i=t.getValue(x.brackets,{overrideIdentifier:e}),n=t.getValue(x.colorizedBracketPairs,{overrideIdentifier:e});return{brackets:E(i),colorizedBracketPairs:E(n)}}(r.languageId,i),s=L([r.underlyingConfig,o]),a=new T(r.languageId,s);return a}(e,this._registry,this.configurationService,this.languageService),this.configurations.set(e,t)),t}};S=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([y(0,f.IConfigurationService),y(1,m.ILanguageService)],S);let x={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function E(e){if(Array.isArray(e))return e.map(e=>{if(Array.isArray(e)&&2===e.length)return[e[0],e[1]]}).filter(e=>!!e)}function k(e,t,i){let n=e.getLineContent(t),o=r.getLeadingWhitespace(n);return o.length>i-1&&(o=o.substring(0,i-1)),o}function D(e,t,i){e.tokenization.forceTokenization(t);let n=e.tokenization.getLineTokens(t),r=void 0===i?e.getLineMaxColumn(t)-1:i-1;return(0,l.createScopedLineTokens)(n,r)}class P{constructor(e){this.languageId=e,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(e,t){let i=new A(e,t,++this._order);return this._entries.push(i),this._resolved=null,(0,n.toDisposable)(()=>{for(let e=0;ee.configuration)))}}function L(e){let t={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0};for(let i of e)t={comments:i.comments||t.comments,brackets:i.brackets||t.brackets,wordPattern:i.wordPattern||t.wordPattern,indentationRules:i.indentationRules||t.indentationRules,onEnterRules:i.onEnterRules||t.onEnterRules,autoClosingPairs:i.autoClosingPairs||t.autoClosingPairs,surroundingPairs:i.surroundingPairs||t.surroundingPairs,autoCloseBefore:i.autoCloseBefore||t.autoCloseBefore,folding:i.folding||t.folding,colorizedBracketPairs:i.colorizedBracketPairs||t.colorizedBracketPairs,__electricCharacterSupport:i.__electricCharacterSupport||t.__electricCharacterSupport};return t}class A{constructor(e,t,i){this.configuration=e,this.priority=t,this.order=i}static cmp(e,t){return e.priority===t.priority?e.order-t.order:e.priority-t.priority}}class I{constructor(e){this.languageId=e}}class N extends n.Disposable{constructor(){super(),this._entries=new Map,this._onDidChange=this._register(new i.Emitter),this.onDidChange=this._onDidChange.event,this._register(this.register(_.PLAINTEXT_LANGUAGE_ID,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],colorizedBracketPairs:[],folding:{offSide:!0}},0))}register(e,t,i=0){let r=this._entries.get(e);r||(r=new P(e),this._entries.set(e,r));let o=r.register(t,i);return this._onDidChange.fire(new I(e)),(0,n.toDisposable)(()=>{o.dispose(),this._onDidChange.fire(new I(e))})}getLanguageConfiguration(e){let t=this._entries.get(e);return(null==t?void 0:t.getResolvedConfiguration())||null}}class T{constructor(e,t){this.languageId=e,this.underlyingConfig=t,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new h.OnEnterSupport(this.underlyingConfig):null,this.comments=T._handleComments(this.underlyingConfig),this.characterPair=new c.CharacterPairSupport(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||s.DEFAULT_WORD_REGEXP,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new d.IndentRulesSupport(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{},this.bracketsNew=new b.LanguageBracketsConfiguration(e,this.underlyingConfig)}getWordDefinition(){return(0,s.ensureValidWordDefinition)(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new g.RichEditBrackets(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new u.BracketElectricCharacterSupport(this.brackets)),this._electricCharacter}onEnter(e,t,i,n){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,i,n):null}getAutoClosingPairs(){return new a.AutoClosingPairs(this.characterPair.getAutoClosingPairs())}getAutoCloseBeforeSet(e){return this.characterPair.getAutoCloseBeforeSet(e)}getSurroundingPairs(){return this.characterPair.getSurroundingPairs()}static _handleComments(e){let t=e.comments;if(!t)return null;let i={};if(t.lineComment&&(i.lineCommentToken=t.lineComment),t.blockComment){let[e,n]=t.blockComment;i.blockCommentStartToken=e,i.blockCommentEndToken=n}return i}}(0,v.registerSingleton)(w,S,1)}),eK.register("38DTD",function(e,t){var i,n;o(e.exports,"IndentAction",()=>i),o(e.exports,"StandardAutoClosingPairConditional",()=>r),o(e.exports,"AutoClosingPairs",()=>s),(n=i||(i={}))[n.None=0]="None",n[n.Indent=1]="Indent",n[n.IndentOutdent=2]="IndentOutdent",n[n.Outdent=3]="Outdent";class r{constructor(e){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=e.open,this.close=e.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(e.notIn))for(let t=0,i=e.notIn.length;t0&&e.getLanguageId(a-1)===o;)a--;return new n(e,o,a,s+1,e.getStartOffset(a),e.getEndOffset(s))}o(e.exports,"createScopedLineTokens",()=>i),o(e.exports,"ignoreBracketsInToken",()=>r);class n{constructor(e,t,i,n,r,o){this._scopedLineTokensBrand=void 0,this._actual=e,this.languageId=t,this._firstTokenIndex=i,this._lastTokenIndex=n,this.firstCharOffset=r,this._lastCharOffset=o}getLineContent(){let e=this._actual.getLineContent();return e.substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(e){let t=this._actual.getLineContent();return t.substring(0,this.firstCharOffset+e)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)}}function r(e){return(3&e)!=0}}),eK.register("jk3OS",function(e,t){o(e.exports,"CharacterPairSupport",()=>n);var i=eK("38DTD");class n{constructor(e){if(e.autoClosingPairs?this._autoClosingPairs=e.autoClosingPairs.map(e=>new i.StandardAutoClosingPairConditional(e)):e.brackets?this._autoClosingPairs=e.brackets.map(e=>new i.StandardAutoClosingPairConditional({open:e[0],close:e[1]})):this._autoClosingPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment){let t=e.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new i.StandardAutoClosingPairConditional({open:t.open,close:t.close||""}))}this._autoCloseBeforeForQuotes="string"==typeof e.autoCloseBefore?e.autoCloseBefore:n.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES,this._autoCloseBeforeForBrackets="string"==typeof e.autoCloseBefore?e.autoCloseBefore:n.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(e){return e?this._autoCloseBeforeForQuotes:this._autoCloseBeforeForBrackets}getSurroundingPairs(){return this._surroundingPairs}}n.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES=";:.,=}])> \n ",n.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS="'\"`;:.,=}])> \n "}),eK.register("ez2Yj",function(e,t){o(e.exports,"BracketElectricCharacterSupport",()=>s);var i=eK("ihJyr"),n=eK("kIudc"),r=eK("3KMJW");class s{constructor(e){this._richEditBrackets=e}getElectricCharacters(){let e=[];if(this._richEditBrackets)for(let t of this._richEditBrackets.brackets)for(let i of t.close){let t=i.charAt(i.length-1);e.push(t)}return(0,i.distinct)(e)}onElectricCharacter(e,t,i){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;let o=t.findTokenIndexAtOffset(i-1);if((0,n.ignoreBracketsInToken)(t.getStandardTokenType(o)))return null;let s=this._richEditBrackets.reversedRegex,a=t.getLineContent().substring(0,i-1)+e,l=(0,r.BracketsUtils).findPrevBracketInRange(s,1,a,0,a.length);if(!l)return null;let c=a.substring(l.startColumn-1,l.endColumn-1).toLowerCase(),u=this._richEditBrackets.textIsOpenBracket[c];if(u)return null;let d=t.getActualLineContentBefore(l.startColumn-1);return/^\s*$/.test(d)?{matchOpenBracket:c}:null}}}),eK.register("3KMJW",function(e,t){let i,n;o(e.exports,"RichEditBrackets",()=>c),o(e.exports,"BracketsUtils",()=>m);var r=eK("fxXOE"),s=eK("dt3AW"),a=eK("hf16e");class l{constructor(e,t,i,n,r,o){this._richEditBracketBrand=void 0,this.languageId=e,this.index=t,this.open=i,this.close=n,this.forwardRegex=r,this.reversedRegex=o,this._openSet=l._toSet(this.open),this._closeSet=l._toSet(this.close)}isOpen(e){return this._openSet.has(e)}isClose(e){return this._closeSet.has(e)}static _toSet(e){let t=new Set;for(let i of e)t.add(i);return t}}class c{constructor(e,t){this._richEditBracketsBrand=void 0;let i=function(e){let t=e.length;e=e.map(e=>[e[0].toLowerCase(),e[1].toLowerCase()]);let i=[];for(let e=0;e{let[i,n]=e,[r,o]=t;return i===r||i===o||n===r||n===o},r=(e,n)=>{let r=Math.min(e,n),o=Math.max(e,n);for(let e=0;e0&&o.push({open:r,close:s})}return o}(t);for(let t of(this.brackets=i.map((t,n)=>new l(e,n,t.open,t.close,function(e,t,i,n){let r=[];r=(r=r.concat(e)).concat(t);for(let e=0,t=r.length;e=0&&n.push(t);for(let t of o.close)t.indexOf(e)>=0&&n.push(t)}}function d(e,t){return e.length-t.length}function h(e){if(e.length<=1)return e;let t=[],i=new Set;for(let n of e)i.has(n)||(t.push(n),i.add(n));return t}function g(e){let t=/^[\w ]+$/.test(e);return e=r.escapeRegExpCharacters(e),t?`\\b${e}\\b`:e}function p(e){let t=`(${e.map(g).join(")|(")})`;return r.createRegExp(t,!0)}let f=(i=null,n=null,function(e){return i!==e&&(n=function(e){let t=new Uint16Array(e.length),i=0;for(let n=e.length-1;n>=0;n--)t[i++]=e.charCodeAt(n);return s.getPlatformTextDecoder().decode(t)}(i=e)),n});class m{static _findPrevBracketInText(e,t,i,n){let r=i.match(e);if(!r)return null;let o=i.length-(r.index||0),s=r[0].length,l=n+o;return new a.Range(t,l-s+1,t,l+1)}static findPrevBracketInRange(e,t,i,n,r){let o=f(i),s=o.substring(i.length-r,i.length-n);return this._findPrevBracketInText(e,t,s,n)}static findNextBracketInText(e,t,i,n){let r=i.match(e);if(!r)return null;let o=r.index||0,s=r[0].length;if(0===s)return null;let l=n+o;return new a.Range(t,l+1,t,l+1+s)}static findNextBracketInRange(e,t,i,n,r){let o=i.substring(n,r);return this.findNextBracketInText(e,t,o,n)}}}),eK.register("dt3AW",function(e,t){let i,n,r;o(e.exports,"getPlatformTextDecoder",()=>u),o(e.exports,"decodeUTF16LE",()=>d),o(e.exports,"StringBuilder",()=>h);var s=eK("fxXOE"),a=eK("eAnxj"),l=eK("bo3Bc");function c(){return i||(i=new TextDecoder("UTF-16LE")),i}function u(){return r||(r=a.isLittleEndian()?c():(n||(n=new TextDecoder("UTF-16BE")),n)),r}function d(e,t,i){let n=new Uint16Array(e.buffer,t,i);return i>0&&(65279===n[0]||65534===n[0])?function(e,t,i){let n=[],r=0;for(let o=0;o=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=e;return}for(let i=0;ia),o(e.exports,"readUInt16LE",()=>l),o(e.exports,"writeUInt16LE",()=>c),o(e.exports,"readUInt32BE",()=>u),o(e.exports,"writeUInt32BE",()=>d),o(e.exports,"readUInt8",()=>h),o(e.exports,"writeUInt8",()=>g);var n=eK("4L2sW"),r=eK("asIMe").Buffer;let s=void 0!==r;new n.Lazy(()=>new Uint8Array(256));class a{static wrap(e){return s&&!r.isBuffer(e)&&(e=r.from(e.buffer,e.byteOffset,e.byteLength)),new a(e)}constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}toString(){return s?this.buffer.toString():(i||(i=new TextDecoder),i.decode(this.buffer))}}function l(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function c(e,t,i){e[i+0]=255&t,t>>>=8,e[i+1]=255&t}function u(e,t){return 16777216*e[t]+65536*e[t+1]+256*e[t+2]+e[t+3]}function d(e,t,i){e[i+3]=t,t>>>=8,e[i+2]=t,t>>>=8,e[i+1]=t,t>>>=8,e[i]=t}function h(e,t){return e[t]}function g(e,t,i){e[i]=t}}),eK.register("asIMe",function(e,t){"use strict";o(e.exports,"Buffer",()=>i,e=>i=e),o(e.exports,"SlowBuffer",()=>n,e=>n=e),o(e.exports,"INSPECT_MAX_BYTES",()=>r,e=>r=e),o(e.exports,"kMaxLength",()=>s,e=>s=e);var i,n,r,s,a=eK("4y7IL"),l=eK("aSRf6"),c="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function u(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,d.prototype),t}function d(e,t,i){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return p(e)}return h(e,t,i)}function h(e,t,i){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!d.isEncoding(t))throw TypeError("Unknown encoding: "+t);var i=0|_(e,t),n=u(i),r=n.write(e,t);return r!==i&&(n=n.slice(0,r)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(T(e,Uint8Array)){var t=new Uint8Array(e);return m(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(T(e,ArrayBuffer)||e&&T(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(T(e,SharedArrayBuffer)||e&&T(e.buffer,SharedArrayBuffer)))return m(e,t,i);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return d.from(n,t,i);var r=function(e){if(d.isBuffer(e)){var t,i=0|v(e.length),n=u(i);return 0===n.length||e.copy(n,0,0,i),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?u(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(r)return r;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return d.from(e[Symbol.toPrimitive]("string"),t,i);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function g(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function p(e){return g(e),u(e<0?0:0|v(e))}function f(e){for(var t=e.length<0?0:0|v(e.length),i=u(t),n=0;n=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function _(e,t){if(d.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||T(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var i=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===i)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return A(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return I(e).length;default:if(r)return n?-1:A(e).length;t=(""+t).toLowerCase(),r=!0}}function b(e,t,i){var n,r,o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===i||i>this.length)&&(i=this.length),i<=0||(i>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,i){var n=e.length;(!t||t<0)&&(t=0),(!i||i<0||i>n)&&(i=n);for(var r="",o=t;o2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),(o=i=+i)!=o&&(i=r?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(r)return -1;i=e.length-1}else if(i<0){if(!r)return -1;i=0}if("string"==typeof t&&(t=d.from(t,n)),d.isBuffer(t))return 0===t.length?-1:w(e,t,i,n,r);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?r?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):w(e,[t],i,n,r);throw TypeError("val must be string, number or Buffer")}function w(e,t,i,n,r){var o,s=1,a=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,l/=2,i/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r){var u=-1;for(o=i;oa&&(i=a-l),o=i;o>=0;o--){for(var d=!0,h=0;h239?4:c>223?3:c>191?2:1;if(r+d<=i)switch(d){case 1:c<128&&(u=c);break;case 2:(192&(o=e[r+1]))==128&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[r+1],s=e[r+2],(192&o)==128&&(192&s)==128&&(l=(15&c)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[r+1],s=e[r+2],a=e[r+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),r+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var i="",n=0;ni)throw RangeError("Trying to access beyond buffer length")}function E(e,t,i,n,r,o){if(!d.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw RangeError("Index out of range")}function k(e,t,i,n,r,o){if(i+n>e.length||i<0)throw RangeError("Index out of range")}function D(e,t,i,n,r){return t=+t,i>>>=0,r||k(e,t,i,4,34028234663852886e22,-34028234663852886e22),l.write(e,t,i,n,23,4),i+4}function P(e,t,i,n,r){return t=+t,i>>>=0,r||k(e,t,i,8,17976931348623157e292,-17976931348623157e292),l.write(e,t,i,n,52,8),i+8}i=d,n=function(e){return+e!=e&&(e=0),d.alloc(+e)},r=50,s=2147483647,d.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),d.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}}),d.poolSize=8192,d.from=function(e,t,i){return h(e,t,i)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array),d.alloc=function(e,t,i){return(g(e),e<=0)?u(e):void 0!==t?"string"==typeof i?u(e).fill(t,i):u(e).fill(t):u(e)},d.allocUnsafe=function(e){return p(e)},d.allocUnsafeSlow=function(e){return p(e)},d.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==d.prototype},d.compare=function(e,t){if(T(e,Uint8Array)&&(e=d.from(e,e.offset,e.byteLength)),T(t,Uint8Array)&&(t=d.from(t,t.offset,t.byteLength)),!d.isBuffer(e)||!d.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var i=e.length,n=t.length,r=0,o=Math.min(i,n);rn.length?d.from(o).copy(n,r):Uint8Array.prototype.set.call(n,o,r);else if(d.isBuffer(o))o.copy(n,r);else throw TypeError('"list" argument must be an Array of Buffers');r+=o.length}return n},d.byteLength=_,d.prototype._isBuffer=!0,d.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tt&&(e+=" ... "),""},c&&(d.prototype[c]=d.prototype.inspect),d.prototype.compare=function(e,t,i,n,r){if(T(e,Uint8Array)&&(e=d.from(e,e.offset,e.byteLength)),!d.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),t<0||i>e.length||n<0||r>this.length)throw RangeError("out of range index");if(n>=r&&t>=i)return 0;if(n>=r)return -1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,r>>>=0,this===e)return 0;for(var o=r-n,s=i-t,a=Math.min(o,s),l=this.slice(n,r),c=e.slice(t,i),u=0;u>>=0,isFinite(i)?(i>>>=0,void 0===n&&(n="utf8")):(n=i,i=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var r,o,s,a,l,c,u,d,h=this.length-t;if((void 0===i||i>h)&&(i=h),e.length>0&&(i<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var g=!1;;)switch(n){case"hex":return function(e,t,i,n){i=Number(i)||0;var r=e.length-i;n?(n=Number(n))>r&&(n=r):n=r;var o=t.length;n>o/2&&(n=o/2);for(var s=0;s>8,r.push(i%256),r.push(n);return r}(e,this.length-u),this,u,d);default:if(g)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),g=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},d.prototype.slice=function(e,t){var i=this.length;e=~~e,t=void 0===t?i:~~t,e<0?(e+=i)<0&&(e=0):e>i&&(e=i),t<0?(t+=i)<0&&(t=0):t>i&&(t=i),t>>=0,t>>>=0,i||x(e,t,this.length);for(var n=this[e],r=1,o=0;++o>>=0,t>>>=0,i||x(e,t,this.length);for(var n=this[e+--t],r=1;t>0&&(r*=256);)n+=this[e+--t]*r;return n},d.prototype.readUint8=d.prototype.readUInt8=function(e,t){return e>>>=0,t||x(e,1,this.length),this[e]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]|this[e+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]<<8|this[e+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},d.prototype.readIntLE=function(e,t,i){e>>>=0,t>>>=0,i||x(e,t,this.length);for(var n=this[e],r=1,o=0;++o=(r*=128)&&(n-=Math.pow(2,8*t)),n},d.prototype.readIntBE=function(e,t,i){e>>>=0,t>>>=0,i||x(e,t,this.length);for(var n=t,r=1,o=this[e+--n];n>0&&(r*=256);)o+=this[e+--n]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},d.prototype.readInt8=function(e,t){return(e>>>=0,t||x(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},d.prototype.readInt16LE=function(e,t){e>>>=0,t||x(e,2,this.length);var i=this[e]|this[e+1]<<8;return 32768&i?4294901760|i:i},d.prototype.readInt16BE=function(e,t){e>>>=0,t||x(e,2,this.length);var i=this[e+1]|this[e]<<8;return 32768&i?4294901760|i:i},d.prototype.readInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},d.prototype.readInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},d.prototype.readFloatLE=function(e,t){return e>>>=0,t||x(e,4,this.length),l.read(this,e,!0,23,4)},d.prototype.readFloatBE=function(e,t){return e>>>=0,t||x(e,4,this.length),l.read(this,e,!1,23,4)},d.prototype.readDoubleLE=function(e,t){return e>>>=0,t||x(e,8,this.length),l.read(this,e,!0,52,8)},d.prototype.readDoubleBE=function(e,t){return e>>>=0,t||x(e,8,this.length),l.read(this,e,!1,52,8)},d.prototype.writeUintLE=d.prototype.writeUIntLE=function(e,t,i,n){if(e=+e,t>>>=0,i>>>=0,!n){var r=Math.pow(2,8*i)-1;E(this,e,t,i,r,0)}var o=1,s=0;for(this[t]=255&e;++s>>=0,i>>>=0,!n){var r=Math.pow(2,8*i)-1;E(this,e,t,i,r,0)}var o=i-1,s=1;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=e/s&255;return t+i},d.prototype.writeUint8=d.prototype.writeUInt8=function(e,t,i){return e=+e,t>>>=0,i||E(this,e,t,1,255,0),this[t]=255&e,t+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(e,t,i){return e=+e,t>>>=0,i||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(e,t,i){return e=+e,t>>>=0,i||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(e,t,i){return e=+e,t>>>=0,i||E(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(e,t,i){return e=+e,t>>>=0,i||E(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},d.prototype.writeIntLE=function(e,t,i,n){if(e=+e,t>>>=0,!n){var r=Math.pow(2,8*i-1);E(this,e,t,i,r-1,-r)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+i},d.prototype.writeIntBE=function(e,t,i,n){if(e=+e,t>>>=0,!n){var r=Math.pow(2,8*i-1);E(this,e,t,i,r-1,-r)}var o=i-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+i},d.prototype.writeInt8=function(e,t,i){return e=+e,t>>>=0,i||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},d.prototype.writeInt16LE=function(e,t,i){return e=+e,t>>>=0,i||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},d.prototype.writeInt16BE=function(e,t,i){return e=+e,t>>>=0,i||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},d.prototype.writeInt32LE=function(e,t,i){return e=+e,t>>>=0,i||E(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},d.prototype.writeInt32BE=function(e,t,i){return e=+e,t>>>=0,i||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},d.prototype.writeFloatLE=function(e,t,i){return D(this,e,t,!0,i)},d.prototype.writeFloatBE=function(e,t,i){return D(this,e,t,!1,i)},d.prototype.writeDoubleLE=function(e,t,i){return P(this,e,t,!0,i)},d.prototype.writeDoubleBE=function(e,t,i){return P(this,e,t,!1,i)},d.prototype.copy=function(e,t,i,n){if(!d.isBuffer(e))throw TypeError("argument should be a Buffer");if(i||(i=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(r=t;r55295&&i<57344){if(!r){if(i>56319||s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}r=i;continue}if(i<56320){(t-=3)>-1&&o.push(239,191,189),r=i;continue}i=(r-55296<<10|i-56320)+65536}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,i<128){if((t-=1)<0)break;o.push(i)}else if(i<2048){if((t-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else if(i<1114112){if((t-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else throw Error("Invalid code point")}return o}function I(e){return a.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function N(e,t,i,n){for(var r=0;r=t.length)&&!(r>=e.length);++r)t[r+i]=e[r];return r}function T(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var O=function(){for(var e="0123456789abcdef",t=Array(256),i=0;i<16;++i)for(var n=16*i,r=0;r<16;++r)t[n+r]=e[i]+e[r];return t}()}),eK.register("4y7IL",function(e,t){"use strict";o(e.exports,"toByteArray",()=>i,e=>i=e),o(e.exports,"fromByteArray",()=>n,e=>n=e),i=function(e){var t,i,n=function(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var i=e.indexOf("=");-1===i&&(i=t);var n=i===t?0:4-i%4;return[i,n]}(e),r=n[0],o=n[1],l=new a((r+o)*3/4-o),c=0,u=o>0?r-4:r;for(i=0;i>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===o&&(t=s[e.charCodeAt(i)]<<2|s[e.charCodeAt(i+1)]>>4,l[c++]=255&t),1===o&&(t=s[e.charCodeAt(i)]<<10|s[e.charCodeAt(i+1)]<<4|s[e.charCodeAt(i+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},n=function(e){for(var t,i=e.length,n=i%3,o=[],s=0,a=i-n;s>18&63]+r[n>>12&63]+r[n>>6&63]+r[63&n]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===n?o.push(r[(t=e[i-1])>>2]+r[t<<4&63]+"=="):2===n&&o.push(r[(t=(e[i-2]<<8)+e[i-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var i,n,r=[],s=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,u=l.length;ci,e=>i=e),o(e.exports,"write",()=>n,e=>n=e),i=function(e,t,i,n,r){var o,s,a=8*r-n-1,l=(1<>1,u=-7,d=i?r-1:0,h=i?-1:1,g=e[t+d];for(d+=h,o=g&(1<<-u)-1,g>>=-u,u+=a;u>0;o=256*o+e[t+d],d+=h,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=n;u>0;s=256*s+e[t+d],d+=h,u-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:(g?-1:1)*(1/0);s+=Math.pow(2,n),o-=c}return(g?-1:1)*s*Math.pow(2,o-n)},n=function(e,t,i,n,r,o){var s,a,l,c=8*o-r-1,u=(1<>1,h=23===r?5960464477539062e-23:0,g=n?0:o-1,p=n?1:-1,f=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=h/l:t+=h*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=u?(a=0,s=u):s+d>=1?(a=(t*l-1)*Math.pow(2,r),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,r),s=0));r>=8;e[i+g]=255&a,g+=p,a/=256,r-=8);for(s=s<0;e[i+g]=255&s,g+=p,s/=256,c-=8);e[i+g-p]|=128*f}}),eK.register("9Jzht",function(e,t){function i(e){return e.global&&(e.lastIndex=0),!0}o(e.exports,"IndentRulesSupport",()=>n);class n{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&i(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&i(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&i(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&i(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(e))}getIndentMetadata(e){let t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}}),eK.register("3jius",function(e,t){o(e.exports,"OnEnterSupport",()=>s);var i=eK("feAe9"),n=eK("fxXOE"),r=eK("38DTD");class s{constructor(e){(e=e||{}).brackets=e.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],e.brackets.forEach(e=>{let t=s._createOpenBracketRegExp(e[0]),i=s._createCloseBracketRegExp(e[1]);t&&i&&this._brackets.push({open:e[0],openRegExp:t,close:e[1],closeRegExp:i})}),this._regExpRules=e.onEnterRules||[]}onEnter(e,t,i,n){if(e>=3)for(let e=0,r=this._regExpRules.length;e!e.reg||(e.reg.lastIndex=0,e.reg.test(e.text)));if(o)return r.action}if(e>=2&&i.length>0&&n.length>0)for(let e=0,t=this._brackets.length;e=2&&i.length>0)for(let e=0,t=this._brackets.length;en),o(e.exports,"toValuesTree",()=>r),o(e.exports,"addToValueTree",()=>s),o(e.exports,"removeFromValueTree",()=>a),o(e.exports,"getConfigurationValue",()=>l),o(e.exports,"getLanguageTagSettingPlainKey",()=>c);var i=eK("yPX6c");let n=(0,i.createDecorator)("configurationService");function r(e,t){let i=Object.create(null);for(let n in e)s(i,n,e[n],t);return i}function s(e,t,i,n){let r=t.split("."),o=r.pop(),s=e;for(let e=0;en);var i=eK("yPX6c");let n=(0,i.createDecorator)("languageService")}),eK.register("7Ekti",function(e,t){o(e.exports,"registerSingleton",()=>r),o(e.exports,"getSingletonServiceDescriptors",()=>s);var i=eK("kq9ur");let n=[];function r(e,t,r){t instanceof i.SyncDescriptor||(t=new i.SyncDescriptor(t,[],!!r)),n.push([e,t])}function s(){return n}}),eK.register("kq9ur",function(e,t){o(e.exports,"SyncDescriptor",()=>i);class i{constructor(e,t=[],i=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=i}}}),eK.register("3mUF9",function(e,t){o(e.exports,"ModesRegistry",()=>l),o(e.exports,"PLAINTEXT_LANGUAGE_ID",()=>c);var i=eK("cAMHt"),n=eK("hhGVE"),r=eK("ezWsx"),s=eK("6y1u3"),a=eK("bv7ww");let l=new class{constructor(){this._onDidChangeLanguages=new n.Emitter,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}registerLanguage(e){return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let t=0,i=this._languages.length;tr);var i=eK("kDpy1"),n=eK("jsPOf");let r=new class{constructor(){this.data=new Map}add(e,t){i.ok(n.isString(e)),i.ok(n.isObject(t)),i.ok(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}}),eK.register("6y1u3",function(e,t){o(e.exports,"Mimes",()=>i);let i=Object.freeze({text:"text/plain",binary:"application/octet-stream",unknown:"application/unknown",markdown:"text/markdown",latex:"text/latex",uriList:"text/uri-list"})}),eK.register("bv7ww",function(e,t){o(e.exports,"Extensions",()=>u),o(e.exports,"OVERRIDE_PROPERTY_REGEX",()=>w),o(e.exports,"overrideIdentifiersFromKey",()=>S);var i=eK("ihJyr"),n=eK("hhGVE"),r=eK("jsPOf"),s=eK("cAMHt"),a=eK("aKWdS"),l=eK("jnK89"),c=eK("ezWsx");let u={Configuration:"base.contributions.configuration"},d={properties:{},patternProperties:{}},h={properties:{},patternProperties:{}},g={properties:{},patternProperties:{}},p={properties:{},patternProperties:{}},f={properties:{},patternProperties:{}},m={properties:{},patternProperties:{}},v="vscode://schemas/settings/resourceLanguage",_=(0,c.Registry).as(l.Extensions.JSONContribution),b="\\[([^\\]]+)\\]",y=RegExp(b,"g"),C=`^(${b})+$`,w=new RegExp(C);function S(e){let t=[];if(w.test(e)){let i=y.exec(e);for(;null==i?void 0:i.length;){let n=i[1].trim();n&&t.push(n),i=y.exec(e)}}return(0,i.distinct)(t)}let x=new class{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new n.Emitter,this._onDidUpdateConfiguration=new n.Emitter,this.configurationDefaultsOverrides=new Map,this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:s.localize("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!0,allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.policyConfigurations=new Map,this.excludedConfigurationProperties={},_.registerSchema(v,this.resourceLanguageSettingsSchema),this.registerOverridePropertyPatternKey()}registerConfiguration(e,t=!0){this.registerConfigurations([e],t)}registerConfigurations(e,t=!0){let i=new Set;this.doRegisterConfigurations(e,t,i),_.registerSchema(v,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:i})}registerDefaultConfigurations(e){let t=new Set;this.doRegisterDefaultConfigurations(e,t),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:t,defaultsOverrides:!0})}doRegisterDefaultConfigurations(e,t){var i;let n=[];for(let{overrides:o,source:l}of e)for(let e in o)if(t.add(e),w.test(e)){let t=this.configurationDefaultsOverrides.get(e),c=null!==(i=null==t?void 0:t.valuesSources)&&void 0!==i?i:new Map;if(l)for(let t of Object.keys(o[e]))c.set(t,l);let u=Object.assign(Object.assign({},(null==t?void 0:t.value)||{}),o[e]);this.configurationDefaultsOverrides.set(e,{source:l,value:u,valuesSources:c});let d=(0,a.getLanguageTagSettingPlainKey)(e),h={type:"object",default:u,description:s.localize("defaultLanguageConfiguration.description","Configure settings to be overridden for the {0} language.",d),$ref:v,defaultDefaultValue:u,source:r.isString(l)?void 0:l,defaultValueSource:l};n.push(...S(e)),this.configurationProperties[e]=h,this.defaultLanguageConfigurationOverridesNode.properties[e]=h}else{this.configurationDefaultsOverrides.set(e,{value:o[e],source:l});let t=this.configurationProperties[e];t&&(this.updatePropertyDefaultValue(e,t),this.updateSchema(e,t))}this.doRegisterOverrideIdentifiers(n)}registerOverrideIdentifiers(e){this.doRegisterOverrideIdentifiers(e),this._onDidSchemaChange.fire()}doRegisterOverrideIdentifiers(e){for(let t of e)this.overrideIdentifiers.add(t);this.updateOverridePropertyPatternKey()}doRegisterConfigurations(e,t,i){e.forEach(e=>{this.validateAndRegisterProperties(e,t,e.extensionInfo,e.restrictedProperties,void 0,i),this.configurationContributors.push(e),this.registerJSONConfiguration(e)})}validateAndRegisterProperties(e,t=!0,i,n,o=3,a){var l;o=r.isUndefinedOrNull(e.scope)?o:e.scope;let c=e.properties;if(c)for(let e in c){let u=c[e];if(t&&function(e,t){var i,n,r,o;return e.trim()?w.test(e)?s.localize("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==x.getConfigurationProperties()[e]?s.localize("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):(null===(i=t.policy)||void 0===i?void 0:i.name)&&void 0!==x.getPolicyConfigurations().get(null===(n=t.policy)||void 0===n?void 0:n.name)?s.localize("config.policy.duplicate","Cannot register '{0}'. The associated policy {1} is already registered with {2}.",e,null===(r=t.policy)||void 0===r?void 0:r.name,x.getPolicyConfigurations().get(null===(o=t.policy)||void 0===o?void 0:o.name)):null:s.localize("config.property.empty","Cannot register an empty property")}(e,u)){delete c[e];continue}if(u.source=i,u.defaultDefaultValue=c[e].default,this.updatePropertyDefaultValue(e,u),w.test(e)?u.scope=void 0:(u.scope=r.isUndefinedOrNull(u.scope)?o:u.scope,u.restricted=r.isUndefinedOrNull(u.restricted)?!!(null==n?void 0:n.includes(e)):u.restricted),c[e].hasOwnProperty("included")&&!c[e].included){this.excludedConfigurationProperties[e]=c[e],delete c[e];continue}this.configurationProperties[e]=c[e],(null===(l=c[e].policy)||void 0===l?void 0:l.name)&&this.policyConfigurations.set(c[e].policy.name,e),!c[e].deprecationMessage&&c[e].markdownDeprecationMessage&&(c[e].deprecationMessage=c[e].markdownDeprecationMessage),a.add(e)}let u=e.allOf;if(u)for(let e of u)this.validateAndRegisterProperties(e,t,i,n,o,a)}getConfigurationProperties(){return this.configurationProperties}getPolicyConfigurations(){return this.policyConfigurations}registerJSONConfiguration(e){let t=e=>{let i=e.properties;if(i)for(let e in i)this.updateSchema(e,i[e]);let n=e.allOf;null==n||n.forEach(t)};t(e)}updateSchema(e,t){switch(d.properties[e]=t,t.scope){case 1:h.properties[e]=t;break;case 2:g.properties[e]=t;break;case 6:p.properties[e]=t;break;case 3:f.properties[e]=t;break;case 4:m.properties[e]=t;break;case 5:m.properties[e]=t,this.resourceLanguageSettingsSchema.properties[e]=t}}updateOverridePropertyPatternKey(){for(let e of this.overrideIdentifiers.values()){let t=`[${e}]`,i={type:"object",description:s.localize("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:s.localize("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:v};this.updatePropertyDefaultValue(t,i),d.properties[t]=i,h.properties[t]=i,g.properties[t]=i,p.properties[t]=i,f.properties[t]=i,m.properties[t]=i}}registerOverridePropertyPatternKey(){let e={type:"object",description:s.localize("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:s.localize("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:v};d.patternProperties[C]=e,h.patternProperties[C]=e,g.patternProperties[C]=e,p.patternProperties[C]=e,f.patternProperties[C]=e,m.patternProperties[C]=e,this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,t){let i=this.configurationDefaultsOverrides.get(e),n=null==i?void 0:i.value,o=null==i?void 0:i.source;r.isUndefined(n)&&(n=t.defaultDefaultValue,o=void 0),r.isUndefined(n)&&(n=function(e){let t=Array.isArray(e)?e[0]:e;switch(t){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}(t.type)),t.default=n,t.defaultValueSource=o}};(0,c.Registry).add(u.Configuration,x)}),eK.register("jnK89",function(e,t){o(e.exports,"Extensions",()=>r);var i=eK("hhGVE"),n=eK("ezWsx");let r={JSONContribution:"base.contributions.json"},s=new class{constructor(){this._onDidChangeSchema=new i.Emitter,this.schemasById={}}registerSchema(e,t){this.schemasById[e.length>0&&"#"===e.charAt(e.length-1)?e.substring(0,e.length-1):e]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}};n.Registry.add(r.JSONContribution,s)}),eK.register("kJpQU",function(e,t){o(e.exports,"LanguageBracketsConfiguration",()=>n);var i=eK("d8VJ3");class n{constructor(e,t){this.languageId=e;let n=t.brackets?r(t.brackets):[],o=new i.CachedFunction(e=>{let t=new Set;return{info:new a(this,e,t),closing:t}}),s=new i.CachedFunction(e=>{let t=new Set,i=new Set;return{info:new l(this,e,t,i),opening:t,openingColorized:i}});for(let[e,t]of n){let i=o.get(e),n=s.get(t);i.closing.add(n.info),n.opening.add(i.info)}let c=t.colorizedBracketPairs?r(t.colorizedBracketPairs):n.filter(e=>!("<"===e[0]&&">"===e[1]));for(let[e,t]of c){let i=o.get(e),n=s.get(t);i.closing.add(n.info),n.openingColorized.add(i.info),n.opening.add(i.info)}this._openingBrackets=new Map([...o.cachedValues].map(([e,t])=>[e,t.info])),this._closingBrackets=new Map([...s.cachedValues].map(([e,t])=>[e,t.info]))}get openingBrackets(){return[...this._openingBrackets.values()]}get closingBrackets(){return[...this._closingBrackets.values()]}getOpeningBracketInfo(e){return this._openingBrackets.get(e)}getClosingBracketInfo(e){return this._closingBrackets.get(e)}getBracketInfo(e){return this.getOpeningBracketInfo(e)||this.getClosingBracketInfo(e)}}function r(e){return e.filter(([e,t])=>""!==e&&""!==t)}class s{constructor(e,t){this.config=e,this.bracketText=t}get languageId(){return this.config.languageId}}class a extends s{constructor(e,t,i){super(e,t),this.openedBrackets=i,this.isOpeningBracket=!0}}class l extends s{constructor(e,t,i,n){super(e,t),this.openingBrackets=i,this.openingColorizedBrackets=n,this.isOpeningBracket=!1}closes(e){return e.config===this.config&&this.openingBrackets.has(e)}closesColorized(e){return e.config===this.config&&this.openingColorizedBrackets.has(e)}getOpeningBrackets(){return[...this.openingBrackets]}}}),eK.register("2JAiW",function(e,t){o(e.exports,"NullState",()=>n),o(e.exports,"nullTokenize",()=>r),o(e.exports,"nullTokenizeEncoded",()=>s);var i=eK("cQ9sC");let n=new class{clone(){return this}equals(e){return this===e}};function r(e,t){return new i.TokenizationResult([new i.Token(0,"",e)],t)}function s(e,t){let r=new Uint32Array(2);return r[0]=0,r[1]=(e<<0|33587200)>>>0,new i.EncodedTokenizationResult(r,null===t?n:t)}}),eK.register("fGRPx",function(e,t){o(e.exports,"IModelService",()=>n);var i=eK("yPX6c");let n=(0,i.createDecorator)("modelService")}),eK.register("c9RzR",function(e,t){o(e.exports,"createWebWorker",()=>r);var i=eK("e7gry"),n=eK("123r3");function r(e,t,i){return new s(e,t,i)}class s extends n.EditorWorkerClient{constructor(e,t,i){super(e,i.keepIdleModels||!1,i.label,t),this._foreignModuleId=i.moduleId,this._foreignModuleCreateData=i.createData||null,this._foreignModuleHost=i.host||null,this._foreignProxy=null}fhr(e,t){if(!this._foreignModuleHost||"function"!=typeof this._foreignModuleHost[e])return Promise.reject(Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(e){return Promise.reject(e)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(e=>{let t=this._foreignModuleHost?(0,i.getAllMethodNames)(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,t).then(t=>{this._foreignModuleCreateData=null;let i=(t,i)=>e.fmr(t,i),n=(e,t)=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},r={};for(let e of t)r[e]=n(e,i);return r})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then(e=>this.getProxy())}}}),eK.register("123r3",function(e,t){o(e.exports,"EditorWorkerService",()=>S),o(e.exports,"EditorWorkerClient",()=>L);var i=eK("8c3Ba"),n=eK("ldoGF"),r=eK("fSP8Y"),s=eK("7fHlo"),a=eK("hf16e"),l=eK("aVG2E"),c=eK("8IjAE"),u=eK("fGRPx"),d=eK("jSzNm"),h=eK("fxXOE"),g=eK("ihJyr"),p=eK("hCxuo"),f=eK("4EjGQ"),m=eK("feAe9"),v=eK("if14F"),_=eK("QJK4R"),b=eK("5z7hM"),y=function(e,t){return function(i,n){t(i,n,e)}},C=function(e,t,i,n){return new(i||(i=Promise))(function(r,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};function w(e,t){let i=e.getModel(t);return!(!i||i.isTooLargeForSyncing())}let S=class extends n.Disposable{constructor(e,t,i,n,r){super(),this._modelService=e,this._workerManager=this._register(new E(this._modelService,n)),this._logService=i,this._register(r.linkProvider.register({language:"*",hasAccessToAllModels:!0},{provideLinks:(e,t)=>w(this._modelService,e.uri)?this._workerManager.withWorker().then(t=>t.computeLinks(e.uri)).then(e=>e&&{links:e}):Promise.resolve({links:[]})})),this._register(r.completionProvider.register("*",new x(this._workerManager,t,this._modelService,n)))}dispose(){super.dispose()}canComputeUnicodeHighlights(e){return w(this._modelService,e)}computedUnicodeHighlights(e,t,i){return this._workerManager.withWorker().then(n=>n.computedUnicodeHighlights(e,t,i))}computeDiff(e,t,i,n){return C(this,void 0,void 0,function*(){let r=yield this._workerManager.withWorker().then(r=>r.computeDiff(e,t,i,n));if(!r)return null;let o={identical:r.identical,quitEarly:r.quitEarly,changes:r.changes.map(e=>{var t;return new _.LineRangeMapping(new b.LineRange(e[0],e[1]),new b.LineRange(e[2],e[3]),null===(t=e[4])||void 0===t?void 0:t.map(e=>new _.RangeMapping(new a.Range(e[0],e[1],e[2],e[3]),new a.Range(e[4],e[5],e[6],e[7]))))})};return o})}computeMoreMinimalEdits(e,t,n=!1){if(!(0,g.isNonEmptyArray)(t))return Promise.resolve(void 0);{if(!w(this._modelService,e))return Promise.resolve(t);let r=(0,f.StopWatch).create(!0),o=this._workerManager.withWorker().then(i=>i.computeMoreMinimalEdits(e,t,n));return o.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),r.elapsed())),Promise.race([o,(0,i.timeout)(1e3).then(()=>t)])}}canNavigateValueSet(e){return w(this._modelService,e)}navigateValueSet(e,t,i){return this._workerManager.withWorker().then(n=>n.navigateValueSet(e,t,i))}canComputeWordRanges(e){return w(this._modelService,e)}computeWordRanges(e,t){return this._workerManager.withWorker().then(i=>i.computeWordRanges(e,t))}};S=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([y(0,u.IModelService),y(1,d.ITextResourceConfigurationService),y(2,p.ILogService),y(3,l.ILanguageConfigurationService),y(4,v.ILanguageFeaturesService)],S);class x{constructor(e,t,i,n){this.languageConfigurationService=n,this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=t,this._modelService=i}provideCompletionItems(e,t){return C(this,void 0,void 0,function*(){let i=this._configurationService.getValue(e.uri,t,"editor");if(!i.wordBasedSuggestions)return;let n=[];if("currentDocument"===i.wordBasedSuggestionsMode)w(this._modelService,e.uri)&&n.push(e.uri);else for(let t of this._modelService.getModels())w(this._modelService,t.uri)&&(t===e?n.unshift(t.uri):("allDocuments"===i.wordBasedSuggestionsMode||t.getLanguageId()===e.getLanguageId())&&n.push(t.uri));if(0===n.length)return;let r=this.languageConfigurationService.getLanguageConfiguration(e.getLanguageId()).getWordDefinition(),o=e.getWordAtPosition(t),s=o?new a.Range(t.lineNumber,o.startColumn,t.lineNumber,o.endColumn):(0,a.Range).fromPositions(t),l=s.setEndPosition(t.lineNumber,t.column),c=yield this._workerManager.withWorker(),u=yield c.textualSuggest(n,null==o?void 0:o.word,r);if(u)return{duration:u.duration,suggestions:u.words.map(e=>({kind:18,label:e,insertText:e,range:{insert:l,replace:s}}))}})}}class E extends n.Disposable{constructor(e,t){super(),this.languageConfigurationService=t,this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime();let n=this._register(new i.IntervalTimer);n.cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(15e4)),this._register(this._modelService.onModelRemoved(e=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;let e=this._modelService.getModels();0===e.length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;let e=new Date().getTime()-this._lastWorkerUsedTime;e>3e5&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new L(this._modelService,!1,"editorWorkerService",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}}class k extends n.Disposable{constructor(e,t,n){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=t,!n){let e=new i.IntervalTimer;e.cancelAndSet(()=>this._checkStopModelSync(),Math.round(3e4)),this._register(e)}}dispose(){for(let e in this._syncedModels)(0,n.dispose)(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e,t){for(let i of e){let e=i.toString();this._syncedModels[e]||this._beginModelSync(i,t),this._syncedModels[e]&&(this._syncedModelsLastUsedTime[e]=new Date().getTime())}}_checkStopModelSync(){let e=new Date().getTime(),t=[];for(let i in this._syncedModelsLastUsedTime){let n=e-this._syncedModelsLastUsedTime[i];n>6e4&&t.push(i)}for(let e of t)this._stopModelSync(e)}_beginModelSync(e,t){let i=this._modelService.getModel(e);if(!i||!t&&i.isTooLargeForSyncing())return;let r=e.toString();this._proxy.acceptNewModel({url:i.uri.toString(),lines:i.getLinesContent(),EOL:i.getEOL(),versionId:i.getVersionId()});let o=new n.DisposableStore;o.add(i.onDidChangeContent(e=>{this._proxy.acceptModelChanged(r.toString(),e)})),o.add(i.onWillDispose(()=>{this._stopModelSync(r)})),o.add((0,n.toDisposable)(()=>{this._proxy.acceptRemovedModel(r)})),this._syncedModels[r]=o}_stopModelSync(e){let t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],(0,n.dispose)(t)}}class D{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class P{constructor(e){this._workerClient=e}fhr(e,t){return this._workerClient.fhr(e,t)}}class L extends n.Disposable{constructor(e,t,i,n){super(),this.languageConfigurationService=n,this._disposed=!1,this._modelService=e,this._keepIdleModels=t,this._workerFactory=new s.DefaultWorkerFactory(i),this._worker=null,this._modelManager=null}fhr(e,t){throw Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new r.SimpleWorkerClient(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new P(this)))}catch(e){(0,r.logOnceWebWorkerWarning)(e),this._worker=new D(new c.EditorSimpleWorker(new P(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,e=>((0,r.logOnceWebWorkerWarning)(e),this._worker=new D(new c.EditorSimpleWorker(new P(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new k(e,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(e,t=!1){return C(this,void 0,void 0,function*(){return this._disposed?Promise.reject((0,m.canceled)()):this._getProxy().then(i=>(this._getOrCreateModelManager(i).ensureSyncedResources(e,t),i))})}computedUnicodeHighlights(e,t,i){return this._withSyncedResources([e]).then(n=>n.computeUnicodeHighlights(e.toString(),t,i))}computeDiff(e,t,i,n){return this._withSyncedResources([e,t],!0).then(r=>r.computeDiff(e.toString(),t.toString(),i,n))}computeMoreMinimalEdits(e,t,i){return this._withSyncedResources([e]).then(n=>n.computeMoreMinimalEdits(e.toString(),t,i))}computeLinks(e){return this._withSyncedResources([e]).then(t=>t.computeLinks(e.toString()))}computeDefaultDocumentColors(e){return this._withSyncedResources([e]).then(t=>t.computeDefaultDocumentColors(e.toString()))}textualSuggest(e,t,i){return C(this,void 0,void 0,function*(){let n=yield this._withSyncedResources(e),r=i.source,o=(0,h.regExpFlags)(i);return n.textualSuggest(e.map(e=>e.toString()),t,r,o)})}computeWordRanges(e,t){return this._withSyncedResources([e]).then(i=>{let n=this._modelService.getModel(e);if(!n)return Promise.resolve(null);let r=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId()).getWordDefinition(),o=r.source,s=(0,h.regExpFlags)(r);return i.computeWordRanges(e.toString(),t,o,s)})}navigateValueSet(e,t,i){return this._withSyncedResources([e]).then(n=>{let r=this._modelService.getModel(e);if(!r)return null;let o=this.languageConfigurationService.getLanguageConfiguration(r.getLanguageId()).getWordDefinition(),s=o.source,a=(0,h.regExpFlags)(o);return n.navigateValueSet(e.toString(),t,i,s,a)})}dispose(){super.dispose(),this._disposed=!0}}}),eK.register("8c3Ba",function(e,t){let i;o(e.exports,"isThenable",()=>p),o(e.exports,"createCancelablePromise",()=>f),o(e.exports,"raceCancellation",()=>m),o(e.exports,"Delayer",()=>y),o(e.exports,"ThrottledDelayer",()=>C),o(e.exports,"timeout",()=>function e(t,i){return i?new Promise((e,n)=>{let r=setTimeout(()=>{o.dispose(),e()},t),o=i.onCancellationRequested(()=>{clearTimeout(r),o.dispose(),n(new a.CancellationError)})}):f(i=>e(t,i))}),o(e.exports,"disposableTimeout",()=>w),o(e.exports,"first",()=>S),o(e.exports,"TimeoutTimer",()=>x),o(e.exports,"IntervalTimer",()=>E),o(e.exports,"RunOnceScheduler",()=>k),o(e.exports,"runWhenIdle",()=>i),o(e.exports,"IdleValue",()=>D),o(e.exports,"DeferredPromise",()=>P),o(e.exports,"Promises",()=>r),o(e.exports,"AsyncIterableObject",()=>L),o(e.exports,"createCancelableAsyncIterable",()=>I);var n,r,s=eK("8L17c"),a=eK("feAe9"),l=eK("hhGVE"),c=eK("ldoGF"),u=eK("eAnxj"),d=eK("8MW3I"),h=function(e,t,i,n){return new(i||(i=Promise))(function(r,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})},g=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,i=e[Symbol.asyncIterator];return i?i.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(i){t[i]=e[i]&&function(t){return new Promise(function(n,r){(function(e,t,i,n){Promise.resolve(n).then(function(t){e({value:t,done:i})},t)})(n,r,(t=e[i](t)).done,t.value)})}}};function p(e){return!!e&&"function"==typeof e.then}function f(e){let t=new s.CancellationTokenSource,i=e(t.token),n=new Promise((e,n)=>{let r=t.token.onCancellationRequested(()=>{r.dispose(),t.dispose(),n(new a.CancellationError)});Promise.resolve(i).then(i=>{r.dispose(),t.dispose(),e(i)},e=>{r.dispose(),t.dispose(),n(e)})});return new class{cancel(){t.cancel()}then(e,t){return n.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return n.finally(e)}}}function m(e,t,i){return new Promise((n,r)=>{let o=t.onCancellationRequested(()=>{o.dispose(),n(i)});e.then(n,r).finally(()=>o.dispose())})}class v{constructor(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){let e=()=>{this.queuedPromise=null;let e=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,e};this.queuedPromise=new Promise(t=>{this.activePromise.then(e,e).then(t)})}return new Promise((e,t)=>{this.queuedPromise.then(e,t)})}return this.activePromise=e(),new Promise((e,t)=>{this.activePromise.then(t=>{this.activePromise=null,e(t)},e=>{this.activePromise=null,t(e)})})}}let _=(e,t)=>{let i=!0,n=setTimeout(()=>{i=!1,t()},e);return{isTriggered:()=>i,dispose:()=>{clearTimeout(n),i=!1}}},b=e=>{let t=!0;return queueMicrotask(()=>{t&&(t=!1,e())}),{isTriggered:()=>t,dispose:()=>{t=!1}}};class y{constructor(e){this.defaultDelay=e,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((e,t)=>{this.doResolve=e,this.doReject=t}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){let e=this.task;return this.task=null,e()}}));let i=()=>{var e;this.deferred=null,null===(e=this.doResolve)||void 0===e||e.call(this,null)};return this.deferred=t===d.MicrotaskDelay?b(i):_(t,i),this.completionPromise}isTriggered(){var e;return!!(null===(e=this.deferred)||void 0===e?void 0:e.isTriggered())}cancel(){var e;this.cancelTimeout(),this.completionPromise&&(null===(e=this.doReject)||void 0===e||e.call(this,new a.CancellationError),this.completionPromise=null)}cancelTimeout(){var e;null===(e=this.deferred)||void 0===e||e.dispose(),this.deferred=null}dispose(){this.cancel()}}class C{constructor(e){this.delayer=new y(e),this.throttler=new v}trigger(e,t){return this.delayer.trigger(()=>this.throttler.queue(e),t)}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose()}}function w(e,t=0){let i=setTimeout(e,t);return(0,c.toDisposable)(()=>clearTimeout(i))}function S(e,t=e=>!!e,i=null){let n=0,r=e.length,o=()=>{if(n>=r)return Promise.resolve(i);let s=e[n++],a=Promise.resolve(s());return a.then(e=>t(e)?Promise.resolve(e):o())};return o()}class x{constructor(e,t){this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){-1===this._token&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class E{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setInterval(()=>{e()},t)}}class k{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return -1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){var e;null===(e=this.runner)||void 0===e||e.call(this)}}i="function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback?e=>{(0,u.setTimeout0)(()=>{if(t)return;let i=Date.now()+15;e(Object.freeze({didTimeout:!0,timeRemaining:()=>Math.max(0,i-Date.now())}))});let t=!1;return{dispose(){t||(t=!0)}}}:(e,t)=>{let i=requestIdleCallback(e,"number"==typeof t?{timeout:t}:void 0),n=!1;return{dispose(){n||(n=!0,cancelIdleCallback(i))}}};class D{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(e){this._error=e}finally{this._didRun=!0}},this._handle=i(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}class P{get isRejected(){var e;return(null===(e=this.outcome)||void 0===e?void 0:e.outcome)===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((e,t)=>{this.completeCallback=e,this.errorCallback=t})}complete(e){return new Promise(t=>{this.completeCallback(e),this.outcome={outcome:0,value:e},t()})}error(e){return new Promise(t=>{this.errorCallback(e),this.outcome={outcome:1,value:e},t()})}cancel(){return this.error(new a.CancellationError)}}(n=r||(r={})).settled=function(e){return h(this,void 0,void 0,function*(){let t;let i=yield Promise.all(e.map(e=>e.then(e=>e,e=>{t||(t=e)})));if(void 0!==t)throw t;return i})},n.withAsyncBody=function(e){return new Promise((t,i)=>h(this,void 0,void 0,function*(){try{yield e(t,i)}catch(e){i(e)}}))};class L{static fromArray(e){return new L(t=>{t.emitMany(e)})}static fromPromise(e){return new L(t=>h(this,void 0,void 0,function*(){t.emitMany((yield e))}))}static fromPromises(e){return new L(t=>h(this,void 0,void 0,function*(){yield Promise.all(e.map(e=>h(this,void 0,void 0,function*(){return t.emitOne((yield e))})))}))}static merge(e){return new L(t=>h(this,void 0,void 0,function*(){yield Promise.all(e.map(e=>{var i,n,r;return h(this,void 0,void 0,function*(){var o,s,a,l;try{for(i=!0,n=g(e);!(o=(r=yield n.next()).done);i=!0)l=r.value,i=!1,t.emitOne(l)}catch(e){s={error:e}}finally{try{!i&&!o&&(a=n.return)&&(yield a.call(n))}finally{if(s)throw s.error}}})}))}))}constructor(e){this._state=0,this._results=[],this._error=null,this._onStateChanged=new l.Emitter,queueMicrotask(()=>h(this,void 0,void 0,function*(){let t={emitOne:e=>this.emitOne(e),emitMany:e=>this.emitMany(e),reject:e=>this.reject(e)};try{yield Promise.resolve(e(t)),this.resolve()}catch(e){this.reject(e)}finally{t.emitOne=void 0,t.emitMany=void 0,t.reject=void 0}}))}[Symbol.asyncIterator](){let e=0;return{next:()=>h(this,void 0,void 0,function*(){for(;;){if(2===this._state)throw this._error;if(eh(this,void 0,void 0,function*(){var n,r,o,s;try{for(var a,l=!0,c=g(e);!(n=(a=yield c.next()).done);l=!0)s=a.value,l=!1,i.emitOne(t(s))}catch(e){r={error:e}}finally{try{!l&&!n&&(o=c.return)&&(yield o.call(c))}finally{if(r)throw r.error}}}))}map(e){return L.map(this,e)}static filter(e,t){return new L(i=>h(this,void 0,void 0,function*(){var n,r,o,s;try{for(var a,l=!0,c=g(e);!(n=(a=yield c.next()).done);l=!0)s=a.value,l=!1,t(s)&&i.emitOne(s)}catch(e){r={error:e}}finally{try{!l&&!n&&(o=c.return)&&(yield o.call(c))}finally{if(r)throw r.error}}}))}filter(e){return L.filter(this,e)}static coalesce(e){return L.filter(e,e=>!!e)}coalesce(){return L.coalesce(this)}static toPromise(e){var t,i,n,r,o,s,a;return h(this,void 0,void 0,function*(){let l=[];try{for(t=!0,i=g(e);!(r=(n=yield i.next()).done);t=!0)a=n.value,t=!1,l.push(a)}catch(e){o={error:e}}finally{try{!t&&!r&&(s=i.return)&&(yield s.call(i))}finally{if(o)throw o.error}}return l})}toPromise(){return L.toPromise(this)}emitOne(e){0===this._state&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){0===this._state&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){0===this._state&&(this._state=1,this._onStateChanged.fire())}reject(e){0===this._state&&(this._state=2,this._error=e,this._onStateChanged.fire())}}L.EMPTY=L.fromArray([]);class A extends L{constructor(e,t){super(t),this._source=e}cancel(){this._source.cancel()}}function I(e){let t=new s.CancellationTokenSource,i=e(t.token);return new A(t,e=>h(this,void 0,void 0,function*(){var n,r,o,s;let l=t.token.onCancellationRequested(()=>{l.dispose(),t.dispose(),e.reject(new a.CancellationError)});try{try{for(var c,u=!0,d=g(i);!(n=(c=yield d.next()).done);u=!0){if(s=c.value,u=!1,t.token.isCancellationRequested)return;e.emitOne(s)}}catch(e){r={error:e}}finally{try{!u&&!n&&(o=d.return)&&(yield o.call(d))}finally{if(r)throw r.error}}l.dispose(),t.dispose()}catch(i){l.dispose(),t.dispose(),e.reject(i)}}))}}),eK.register("8MW3I",function(e,t){o(e.exports,"MicrotaskDelay",()=>i);let i=Symbol("MicrotaskDelay")}),eK.register("fSP8Y",function(e,t){o(e.exports,"logOnceWebWorkerWarning",()=>d),o(e.exports,"SimpleWorkerClient",()=>_),o(e.exports,"SimpleWorkerServer",()=>w);var i=eK("feAe9"),n=eK("hhGVE"),r=eK("ldoGF"),s=eK("e7gry"),a=eK("eAnxj"),l=eK("fxXOE");let c="$initialize",u=!1;function d(e){a.isWeb&&(u||(u=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq")),console.warn(e.message))}class h{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.method=i,this.args=n,this.type=0}}class g{constructor(e,t,i,n){this.vsWorker=e,this.seq=t,this.res=i,this.err=n,this.type=1}}class p{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.eventName=i,this.arg=n,this.type=2}}class f{constructor(e,t,i){this.vsWorker=e,this.req=t,this.event=i,this.type=3}}class m{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class v{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let i=String(++this._lastSentReq);return new Promise((n,r)=>{this._pendingReplies[i]={resolve:n,reject:r},this._send(new h(this._workerId,i,e,t))})}listen(e,t){let i=null,r=new n.Emitter({onWillAddFirstListener:()=>{i=String(++this._lastSentReq),this._pendingEmitters.set(i,r),this._send(new p(this._workerId,i,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(i),this._send(new m(this._workerId,i)),i=null}});return r.event}handleMessage(e){e&&e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId)&&this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let i=e.err;e.err.$isError&&((i=Error()).name=e.err.name,i.message=e.err.message,i.stack=e.err.stack),t.reject(i);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req,n=this._handler.handleMessage(e.method,e.args);n.then(e=>{this._send(new g(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=(0,i.transformErrorForSerialization)(e.detail)),this._send(new g(this._workerId,t,void 0,(0,i.transformErrorForSerialization)(e)))})}_handleSubscribeEventMessage(e){let t=e.req,i=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new f(this._workerId,t,e))});this._pendingEvents.set(t,i)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let i=0;i{this._protocol.handleMessage(e)},e=>{null==n||n(e)})),this._protocol=new v({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof i[e])return Promise.reject(Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(i[e].apply(i,t))}catch(e){return Promise.reject(e)}},handleEvent:(e,t)=>{if(y(e)){let n=i[e].call(i,t);if("function"!=typeof n)throw Error(`Missing dynamic event ${e} on main thread host.`);return n}if(b(e)){let t=i[e];if("function"!=typeof t)throw Error(`Missing event ${e} on main thread host.`);return t}throw Error(`Malformed event name ${e}`)}}),this._protocol.setWorkerId(this._worker.getId());let r=null,o=globalThis.require;void 0!==o&&"function"==typeof o.getConfig?r=o.getConfig():void 0!==globalThis.requirejs&&(r=globalThis.requirejs.s.contexts._.config);let a=(0,s.getAllMethodNames)(i);this._onModuleLoaded=this._protocol.sendMessage(c,[this._worker.getId(),JSON.parse(JSON.stringify(r)),t,a]);let l=(e,t)=>this._request(e,t),u=(e,t)=>this._protocol.listen(e,t);this._lazyProxy=new Promise((e,i)=>{n=i,this._onModuleLoaded.then(t=>{e(C(t,l,u))},e=>{i(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((i,n)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(i,n)},n)})}_onError(e,t){console.error(e),console.info(t)}}function b(e){return"o"===e[0]&&"n"===e[1]&&l.isUpperAsciiLetter(e.charCodeAt(2))}function y(e){return/^onDynamic/.test(e)&&l.isUpperAsciiLetter(e.charCodeAt(9))}function C(e,t,i){let n=e=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},r=e=>function(t){return i(e,t)},o={};for(let t of e){if(y(t)){o[t]=r(t);continue}if(b(t)){o[t]=i(t,void 0);continue}o[t]=n(t)}return o}class w{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new v({sendMessage:(t,i)=>{e(t,i)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if(e===c)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}_handleEvent(e,t){if(!this._requestHandler)throw Error("Missing requestHandler");if(y(e)){let i=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof i)throw Error(`Missing dynamic event ${e} on request handler.`);return i}if(b(e)){let t=this._requestHandler[e];if("function"!=typeof t)throw Error(`Missing event ${e} on request handler.`);return t}throw Error(`Malformed event name ${e}`)}initialize(e,t,i,n){this._protocol.setWorkerId(e);let r=C(n,(e,t)=>this._protocol.sendMessage(e,t),(e,t)=>this._protocol.listen(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(r),Promise.resolve((0,s.getAllMethodNames)(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.trustedTypesPolicy,delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise((e,t)=>{let n=globalThis.require;n([i],i=>{if(this._requestHandler=i.create(r),!this._requestHandler){t(Error("No RequestHandler!"));return}e((0,s.getAllMethodNames)(this._requestHandler))},t)}))}}}),eK.register("7fHlo",function(e,t){o(e.exports,"DefaultWorkerFactory",()=>a);var i=eK("blfBc"),n=eK("fSP8Y");let r=(0,i.createTrustedTypesPolicy)("defaultWorkerFactory",{createScriptURL:e=>e});class s{constructor(e,t,i,n,o){this.id=t;let s=function(e){let t=globalThis.MonacoEnvironment;if(t){if("function"==typeof t.getWorker)return t.getWorker("workerMain.js",e);if("function"==typeof t.getWorkerUrl){let i=t.getWorkerUrl("workerMain.js",e);return new Worker(r?r.createScriptURL(i):i,{name:e})}}throw Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}(i);("function"==typeof s.then?0:1)?this.worker=Promise.resolve(s):this.worker=s,this.postMessage(e,[]),this.worker.then(e=>{e.onmessage=function(e){n(e.data)},e.onmessageerror=o,"function"==typeof e.addEventListener&&e.addEventListener("error",o)})}getId(){return this.id}postMessage(e,t){var i;null===(i=this.worker)||void 0===i||i.then(i=>i.postMessage(e,t))}dispose(){var e;null===(e=this.worker)||void 0===e||e.then(e=>e.terminate()),this.worker=null}}class a{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,i){let r=++a.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new s(e,r,this._label||"anonymous"+r,t,e=>{(0,n.logOnceWebWorkerWarning)(e),this._webWorkerFailedBeforeError=e,i(e)})}}a.LAST_WORKER_ID=0}),eK.register("blfBc",function(e,t){o(e.exports,"createTrustedTypesPolicy",()=>n);var i=eK("feAe9");function n(e,t){var n;let r=globalThis.MonacoEnvironment;if(null==r?void 0:r.createTrustedTypesPolicy)try{return r.createTrustedTypesPolicy(e,t)}catch(e){(0,i.onUnexpectedError)(e);return}try{return null===(n=window.trustedTypes)||void 0===n?void 0:n.createPolicy(e,t)}catch(e){(0,i.onUnexpectedError)(e);return}}}),eK.register("8IjAE",function(e,t){o(e.exports,"EditorSimpleWorker",()=>b);var i=eK("74cFQ"),n=eK("dmkat"),r=eK("iWRZp"),s=eK("hf16e"),a=eK("ghTDe"),l=eK("kLSS4"),c=eK("7VeFi"),u=eK("1UURT"),d=eK("d6oSy"),h=eK("4EjGQ"),g=eK("jIbdJ"),p=eK("flXwZ"),f=eK("e7gry"),m=eK("5Hax5"),v=function(e,t,i,n){return new(i||(i=Promise))(function(r,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class _ extends a.MirrorTextModel{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){let t=[];for(let i=0;ithis._lines.length)t=this._lines.length,i=this._lines[t-1].length+1,n=!0;else{let e=this._lines[t-1].length+1;i<1?(i=1,n=!0):i>e&&(i=e,n=!0)}return n?{lineNumber:t,column:i}:e}}class b{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new _((0,n.URI).parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;let i=this._models[e];i.onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,t,i){return v(this,void 0,void 0,function*(){let n=this._getModel(e);return n?(0,g.UnicodeTextModelHighlighter).computeUnicodeHighlights(n,t,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,t,i,n){return v(this,void 0,void 0,function*(){let r=this._getModel(e),o=this._getModel(t);return r&&o?b.computeDiff(r,o,i,n):null})}static computeDiff(e,t,i,n){let r="advanced"===n?p.linesDiffComputers.advanced:p.linesDiffComputers.legacy,o=e.getLinesContent(),s=t.getLinesContent(),a=r.computeDiff(o,s,i),l=!(a.changes.length>0)&&this._modelsAreIdentical(e,t);return{identical:l,quitEarly:a.hitTimeout,changes:a.changes.map(e=>{var t;return[e.originalRange.startLineNumber,e.originalRange.endLineNumberExclusive,e.modifiedRange.startLineNumber,e.modifiedRange.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}}static _modelsAreIdentical(e,t){let i=e.getLineCount(),n=t.getLineCount();if(i!==n)return!1;for(let n=1;n<=i;n++){let i=e.getLineContent(n),r=t.getLineContent(n);if(i!==r)return!1}return!0}computeMoreMinimalEdits(e,t,n){return v(this,void 0,void 0,function*(){let r;let o=this._getModel(e);if(!o)return t;let a=[];for(let{range:e,text:l,eol:c}of t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return(0,s.Range).compareRangesUsingStarts(e.range,t.range);let i=e.range?0:1,n=t.range?0:1;return i-n})){if("number"==typeof c&&(r=c),(0,s.Range).isEmpty(e)&&!l)continue;let t=o.getValueInRange(e);if(t===(l=l.replace(/\r\n|\n|\r/g,o.eol)))continue;if(Math.max(l.length,t.length)>b._diffLimit){a.push({range:e,text:l});continue}let u=(0,i.stringDiff)(t,l,n),d=o.offsetAt((0,s.Range).lift(e).getStartPosition());for(let e of u){let t=o.positionAt(d+e.originalStart),i=o.positionAt(d+e.originalStart+e.originalLength),n={text:l.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:i.lineNumber,endColumn:i.column}};o.getValueInRange(n.range)!==n.text&&a.push(n)}}return"number"==typeof r&&a.push({eol:r,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),a})}computeLinks(e){return v(this,void 0,void 0,function*(){let t=this._getModel(e);return t?(0,c.computeLinks)(t):null})}computeDefaultDocumentColors(e){return v(this,void 0,void 0,function*(){let t=this._getModel(e);return t?(0,m.computeDefaultDocumentColors)(t):null})}textualSuggest(e,t,i,n){return v(this,void 0,void 0,function*(){let r=new h.StopWatch(!0),o=new RegExp(i,n),s=new Set;e:for(let i of e){let e=this._getModel(i);if(e){for(let i of e.words(o))if(i!==t&&isNaN(Number(i))&&(s.add(i),s.size>b._suggestionsLimit))break e}}return{words:Array.from(s),duration:r.elapsed()}})}computeWordRanges(e,t,i,n){return v(this,void 0,void 0,function*(){let r=this._getModel(e);if(!r)return Object.create(null);let o=new RegExp(i,n),s=Object.create(null);for(let e=t.startLineNumber;ethis._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:n,getMirrorModels:()=>this._getModels()},t),Promise.resolve((0,f.getAllMethodNames)(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}b._diffLimit=1e5,b._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco=(0,d.createMonacoBaseAPI)())}),eK.register("74cFQ",function(e,t){o(e.exports,"stringDiff",()=>s),o(e.exports,"LcsDiff",()=>u);var i=eK("bAFhv"),n=eK("bGhBl");class r{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let i=0,n=e.length;i0||this.m_modifiedCount>0)&&this.m_changes.push(new i.DiffChange(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class u{constructor(e,t,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=t;let[n,r,o]=u._getElements(e),[s,a,l]=u._getElements(t);this._hasStrings=o&&l,this._originalStringElements=n,this._originalElementsOrHash=r,this._modifiedStringElements=s,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(u._isStringArray(t)){let e=new Int32Array(t.length);for(let i=0,r=t.length;i=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let o;return n<=r?(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new i.DiffChange(e,0,n,r-n+1)]):e<=t?(a.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[new i.DiffChange(e,t-e+1,n,0)]):(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),a.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}let s=[0],l=[0],c=this.ComputeRecursionPoint(e,t,n,r,s,l,o),u=s[0],d=l[0];if(null!==c)return c;if(!o[0]){let s=this.ComputeDiffRecursive(e,u,n,d,o),a=[];return a=o[0]?[new i.DiffChange(u+1,t-(u+1)+1,d+1,r-(d+1)+1)]:this.ComputeDiffRecursive(u+1,t,d+1,r,o),this.ConcatenateChanges(s,a)}return[new i.DiffChange(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,o,s,a,l,u,d,h,g,p,f,m,v,_,b){let y=null,C=null,w=new c,S=t,x=n,E=p[0]-v[0]-r,k=-1073741824,D=this.m_forwardHistory.length-1;do{let t=E+e;t===S||t=0&&(e=(u=this.m_forwardHistory[D])[0],S=1,x=u.length-1)}while(--D>=-1)if(y=w.getReverseChanges(),b[0]){let e=p[0]+1,t=v[0]+1;if(null!==y&&y.length>0){let i=y[y.length-1];e=Math.max(e,i.getOriginalEnd()),t=Math.max(t,i.getModifiedEnd())}C=[new i.DiffChange(e,g-e+1,t,m-t+1)]}else{w=new c,S=s,x=a,E=p[0]-v[0]-l,k=1073741824,D=_?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=E+o;e===S||e=d[e+1]?(f=(h=d[e+1]-1)-E-l,h>k&&w.MarkNextChange(),k=h+1,w.AddOriginalElement(h+1,f+1),E=e+1-o):(f=(h=d[e-1])-E-l,h>k&&w.MarkNextChange(),k=h,w.AddModifiedElement(h+1,f+1),E=e-1-o),D>=0&&(o=(d=this.m_reverseHistory[D])[0],S=1,x=d.length-1)}while(--D>=-1)C=w.getChanges()}return this.ConcatenateChanges(y,C)}ComputeRecursionPoint(e,t,n,r,o,s,a){let c=0,u=0,d=0,h=0,g=0,p=0;e--,n--,o[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let f=t-e+(r-n),m=f+1,v=new Int32Array(m),_=new Int32Array(m),b=r-n,y=t-e,C=e-n,w=t-r,S=y-b,x=S%2==0;v[b]=e,_[y]=t,a[0]=!1;for(let S=1;S<=f/2+1;S++){let f=0,E=0;d=this.ClipDiagonalBound(b-S,S,b,m),h=this.ClipDiagonalBound(b+S,S,b,m);for(let e=d;e<=h;e+=2){u=(c=e===d||ef+E&&(f=c,E=u),!x&&Math.abs(e-y)<=S-1&&c>=_[e]){if(o[0]=c,s[0]=u,i<=_[e]&&S<=1448)return this.WALKTRACE(b,d,h,C,y,g,p,w,v,_,c,t,o,u,r,s,x,a);return null}}let k=(f-e+(E-n)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,k)){if(a[0]=!0,o[0]=f,s[0]=E,!(k>0)||!(S<=1448))return e++,n++,[new i.DiffChange(e,t-e+1,n,r-n+1)];break}g=this.ClipDiagonalBound(y-S,S,y,m),p=this.ClipDiagonalBound(y+S,S,y,m);for(let i=g;i<=p;i+=2){u=(c=i===g||i=_[i+1]?_[i+1]-1:_[i-1])-(i-y)-w;let l=c;for(;c>e&&u>n&&this.ElementsAreEqual(c,u);)c--,u--;if(_[i]=c,x&&Math.abs(i-b)<=S&&c<=v[i]){if(o[0]=c,s[0]=u,l>=v[i]&&S<=1448)return this.WALKTRACE(b,d,h,C,y,g,p,w,v,_,c,t,o,u,r,s,x,a);return null}}if(S<=1447){let e=new Int32Array(h-d+2);e[0]=b-d+1,l.Copy2(v,d,e,1,h-d+1),this.m_forwardHistory.push(e),(e=new Int32Array(p-g+2))[0]=y-g+1,l.Copy2(_,g,e,1,p-g+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,d,h,C,y,g,p,w,v,_,c,t,o,u,r,s,x,a)}PrettifyChanges(e){for(let t=0;t0,s=i.modifiedLength>0;for(;i.originalStart+i.originalLength=0;t--){let i=e[t],n=0,r=0;if(t>0){let i=e[t-1];n=i.originalStart+i.originalLength,r=i.modifiedStart+i.modifiedLength}let o=i.originalLength>0,s=i.modifiedLength>0,a=0,l=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let e=1;;e++){let t=i.originalStart-e,c=i.modifiedStart-e;if(tl&&(l=d,a=e)}i.originalStart-=a,i.modifiedStart-=a;let c=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],c)){e[t-1]=c[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,i=e.length;t0&&i>a&&(a=i,l=t,c=e)}return a>0?[l,c]:null}_contiguousSequenceScore(e,t,i){let n=0;for(let r=0;r=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,t,i,n){let r=this._OriginalRegionIsBoundary(e,t)?1:0,o=this._ModifiedRegionIsBoundary(i,n)?1:0;return r+o}ConcatenateChanges(e,t){let i=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],i)){let n=Array(e.length+t.length-1);return l.Copy(e,0,n,0,e.length-1),n[e.length-1]=i[0],l.Copy(t,1,n,e.length,t.length-1),n}{let i=Array(e.length+t.length);return l.Copy(e,0,i,0,e.length),l.Copy(t,0,i,e.length,t.length),i}}ChangesOverlap(e,t,n){if(a.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),a.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return n[0]=null,!1;{let r=e.originalStart,o=e.originalLength,s=e.modifiedStart,a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new i.DiffChange(r,o,s,a),!0}}ClipDiagonalBound(e,t,i,n){if(e>=0&&ei);class i{constructor(e,t,i,n){this.originalStart=e,this.originalLength=t,this.modifiedStart=i,this.modifiedLength=n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}}),eK.register("bGhBl",function(e,t){o(e.exports,"hash",()=>n),o(e.exports,"doHash",()=>r),o(e.exports,"stringHash",()=>a),o(e.exports,"StringSHA1",()=>d);var i=eK("fxXOE");function n(e){return r(e,0)}function r(e,t){switch(typeof e){case"object":var i,n;if(null===e)return s(349,t);if(Array.isArray(e))return i=s(104579,i=t),e.reduce((e,t)=>r(t,e),i);return n=s(181387,n=t),Object.keys(e).sort().reduce((t,i)=>(t=a(i,t),r(e[i],t)),n);case"string":return a(e,t);case"boolean":return s(e?433:863,t);case"number":return s(e,t);case"undefined":return s(937,t);default:return s(617,t)}}function s(e,t){return(t<<5)-t+e|0}function a(e,t){t=s(149417,t);for(let i=0,n=e.length;i>>n)>>>0}function c(e,t=0,i=e.byteLength,n=0){for(let r=0;re.toString(16).padStart(2,"0")).join(""):function(e,t,i="0"){for(;e.length>>0).toString(16),t/4)}class d{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,n;let r=e.length;if(0===r)return;let o=this._buff,s=this._buffLen,a=this._leftoverHighSurrogate;for(0!==a?(t=a,n=-1,a=0):(t=e.charCodeAt(0),n=0);;){let l=t;if(i.isHighSurrogate(t)){if(n+1>>6,e[t++]=128|(63&i)>>>0):i<65536?(e[t++]=224|(61440&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0):(e[t++]=240|(1835008&i)>>>18,e[t++]=128|(258048&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),u(this._h0)+u(this._h1)+u(this._h2)+u(this._h3)+u(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,c(this._buff,this._buffLen),this._buffLen>56&&(this._step(),c(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e,t,i;let n=d._bigBlock32,r=this._buffDV;for(let e=0;e<64;e+=4)n.setUint32(e,r.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)n.setUint32(e,l(n.getUint32(e-12,!1)^n.getUint32(e-32,!1)^n.getUint32(e-56,!1)^n.getUint32(e-64,!1),1),!1);let o=this._h0,s=this._h1,a=this._h2,c=this._h3,u=this._h4;for(let r=0;r<80;r++)r<20?(e=s&a|~s&c,t=1518500249):r<40?(e=s^a^c,t=1859775393):r<60?(e=s&a|s&c|a&c,t=2400959708):(e=s^a^c,t=3395469782),i=l(o,5)+e+u+t+n.getUint32(4*r,!1)&4294967295,u=c,c=a,a=l(s,30),s=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+u&4294967295}}d._bigBlock32=new DataView(new ArrayBuffer(320))}),eK.register("ghTDe",function(e,t){o(e.exports,"MirrorTextModel",()=>s);var i=eK("fxXOE"),n=eK("iWRZp"),r=eK("deT3E");class s{constructor(e,t,i,n){this._uri=e,this._lines=t,this._eol=i,this._versionId=n,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);let t=e.changes;for(let e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new n.Position(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,i=new Uint32Array(t);for(let n=0;nr),o(e.exports,"ConstantTimePrefixSumComputer",()=>s);var i=eK("ihJyr"),n=eK("jLRhM");class r{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=(0,n.toUint32)(e);let i=this.values,r=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(i.length+o),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e),e+o),this.values.set(t,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=(0,n.toUint32)(e),t=(0,n.toUint32)(t),this.values[e]!==t&&(this.values[e]=t,e-1=i.length)return!1;let o=i.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(i.length-t),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=(0,n.toUint32)(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let i=t;i<=e;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,i=this.values.length-1,n=0,r=0,o=0;for(;t<=i;)if(n=t+(i-t)/2|0,e<(o=(r=this.prefixSum[n])-this.values[n]))i=n-1;else if(e>=r)t=n+1;else break;return new a(n,e-o)}}class s{constructor(e){this._values=e,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(e){return(this._ensureValid(),0===e)?0:this._prefixSum[e-1]}getIndexOf(e){this._ensureValid();let t=this._indexBySum[e],i=t>0?this._prefixSum[t-1]:0;return new a(t,e-i)}removeValues(e,t){this._values.splice(e,t),this._invalidate(e)}insertValues(e,t){this._values=(0,i.arrayInsert)(this._values,e,t),this._invalidate(e)}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let e=this._validEndIndex+1,t=this._values.length;e0?this._prefixSum[e-1]:0;this._prefixSum[e]=i+t;for(let n=0;n255?255:0|e}function n(e){return e<0?0:e>4294967295?4294967295:0|e}o(e.exports,"toUint8",()=>i),o(e.exports,"toUint32",()=>n)}),eK.register("7VeFi",function(e,t){o(e.exports,"computeLinks",()=>u);var i=eK("7hnC8");class n{constructor(e,t,i){let n=new Uint8Array(e*t);for(let r=0,o=e*t;rt&&(t=o),r>i&&(i=r),s>i&&(i=s)}t++,i++;let r=new n(i,t,0);for(let t=0,i=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let s=null;function a(){return null===s&&(s=new r([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),s}let l=null;class c{static _createLink(e,t,i,n,r){let o=r-1;do{let i=t.charCodeAt(o),n=e.get(i);if(2!==n)break;o--}while(o>n)if(n>0){let e=t.charCodeAt(n-1),i=t.charCodeAt(o);(40===e&&41===i||91===e&&93===i||123===e&&125===i)&&o--}return{range:{startLineNumber:i,startColumn:n+1,endLineNumber:i,endColumn:o+2},url:t.substring(n,o+1)}}static computeLinks(e,t=a()){let n=function(){if(null===l){l=new i.CharacterClassifier(0);let e=" <>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let t=0;tn),o(e.exports,"CharacterSet",()=>r);var i=eK("jLRhM");class n{constructor(e){let t=(0,i.toUint8)(e);this._defaultValue=t,this._asciiMap=n._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let n=(0,i.toUint8)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class r{constructor(){this._actual=new n(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}clear(){return this._actual.clear()}}}),eK.register("1UURT",function(e,t){o(e.exports,"BasicInplaceReplace",()=>i);class i{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,i,n,r){if(e&&t){let i=this.doNavigateValueSet(t,r);if(i)return{range:e,value:i}}if(i&&n){let e=this.doNavigateValueSet(n,r);if(e)return{range:i,value:e}}return null}doNavigateValueSet(e,t){let i=this.numberReplace(e,t);return null!==i?i:this.textReplace(e,t)}numberReplace(e,t){let i=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),n=Number(e),r=parseFloat(e);return isNaN(n)||isNaN(r)||n!==r||0===n&&!t?null:String((n=Math.floor(n*i)+(t?i:-i))/i)}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,i){let n=null;for(let r=0,o=e.length;null===n&&r=0?((n+=i?1:-1)<0?n=e.length-1:n%=e.length,e[n]):null}}i.INSTANCE=new i}),eK.register("jIbdJ",function(e,t){o(e.exports,"UnicodeTextModelHighlighter",()=>l);var i=eK("hf16e"),n=eK("jwDaS"),r=eK("fxXOE"),s=eK("kDpy1"),a=eK("kLSS4");class l{static computeUnicodeHighlights(e,t,o){let l,u;let d=o?o.startLineNumber:1,h=o?o.endLineNumber:e.getLineCount(),g=new c(t),p=g.getCandidateCodePoints();l="allNonBasicAscii"===p?RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):RegExp(`${function(e,t){let i=`[${r.escapeRegExpCharacters(e.map(e=>String.fromCodePoint(e)).join(""))}]`;return i}(Array.from(p))}`,"g");let f=new n.Searcher(null,l),m=[],v=!1,_=0,b=0,y=0;t:for(let t=d;t<=h;t++){let n=e.getLineContent(t),o=n.length;f.reset(0);do if(u=f.next(n)){let e=u.index,l=u.index+u[0].length;if(e>0){let t=n.charCodeAt(e-1);r.isHighSurrogate(t)&&e--}if(l+1=1e3){v=!0;break t}m.push(new i.Range(t,e+1,t,l+1))}}while(u)}return{ranges:m,hasMore:v,ambiguousCharacterCount:_,invisibleCharacterCount:b,nonBasicAsciiCharacterCount:y}}static computeUnicodeHighlightReason(e,t){let i=new c(t),n=i.shouldHighlightNonBasicASCII(e,null);switch(n){case 0:return null;case 2:return{kind:1};case 3:{let n=e.codePointAt(0),o=i.ambiguousCharacters.getPrimaryConfusable(n),s=r.AmbiguousCharacters.getLocales().filter(e=>!r.AmbiguousCharacters.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(n));return{kind:0,confusableWith:String.fromCodePoint(o),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}class c{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=r.AmbiguousCharacters.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of r.InvisibleCharacters.codePoints)u(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let i=e.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let n=!1,o=!1;if(t)for(let e of t){let t=e.codePointAt(0),i=r.isBasicASCII(e);n=n||i,i||this.ambiguousCharacters.isAmbiguous(t)||r.InvisibleCharacters.isInvisibleCharacter(t)||(o=!0)}return!n&&o?0:this.options.invisibleCharacters&&!u(e)&&r.InvisibleCharacters.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function u(e){return" "===e||"\n"===e||" "===e}}),eK.register("jwDaS",function(e,t){o(e.exports,"SearchParams",()=>l),o(e.exports,"createFindMatch",()=>c),o(e.exports,"TextModelSearch",()=>d),o(e.exports,"Searcher",()=>g),o(e.exports,"isValidMatch",()=>h);var i=eK("fxXOE"),n=eK("gZWdz"),r=eK("iWRZp"),s=eK("hf16e"),a=eK("e7ykw");class l{constructor(e,t,i,n){this.searchString=e,this.isRegex=t,this.matchCase=i,this.wordSeparators=n}parseSearchRequest(){let e;if(""===this.searchString)return null;e=this.isRegex?function(e){if(!e||0===e.length)return!1;for(let t=0,i=e.length;t=i)break;let n=e.charCodeAt(t);if(110===n||114===n||87===n)return!0}}return!1}(this.searchString):this.searchString.indexOf("\n")>=0;let t=null;try{t=i.createRegExp(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(e){return null}if(!t)return null;let r=!this.isRegex&&!e;return r&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(r=this.matchCase),new a.SearchData(t,this.wordSeparators?(0,n.getMapForWordSeparators)(this.wordSeparators):null,r?this.searchString:null)}}function c(e,t,i){if(!i)return new a.FindMatch(e,null);let n=[];for(let e=0,i=t.length;e>0);t[r]>=e?n=r-1:t[r+1]>=e?(i=r,n=r):i=r+1}return i+1}}class d{static findMatches(e,t,i,n,r){let o=t.parseSearchRequest();return o?o.regex.multiline?this._doFindMatchesMultiline(e,i,new g(o.wordSeparators,o.regex),n,r):this._doFindMatchesLineByLine(e,i,o,n,r):[]}static _getMultilineMatchRange(e,t,i,n,r,o){let a,l;let c=0;if(n?(c=n.findLineFeedCountBeforeOffset(r),a=t+r+c):a=t+r,n){let e=n.findLineFeedCountBeforeOffset(r+o.length),t=e-c;l=a+o.length+t}else l=a+o.length;let u=e.getPositionAt(a),d=e.getPositionAt(l);return new s.Range(u.lineNumber,u.column,d.lineNumber,d.column)}static _doFindMatchesMultiline(e,t,i,n,r){let o;let s=e.getOffsetAt(t.getStartPosition()),a=e.getValueInRange(t,1),l="\r\n"===e.getEOL()?new u(a):null,d=[],h=0;for(i.reset(0);(o=i.next(a))&&(d[h++]=c(this._getMultilineMatchRange(e,s,a,l,o.index,o[0]),o,n),!(h>=r)););return d}static _doFindMatchesLineByLine(e,t,i,n,r){let o=[],s=0;if(t.startLineNumber===t.endLineNumber){let a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return s=this._findMatchesInLine(i,a,t.startLineNumber,t.startColumn-1,s,o,n,r),o}let a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);s=this._findMatchesInLine(i,a,t.startLineNumber,t.startColumn-1,s,o,n,r);for(let a=t.startLineNumber+1;a=u))););return r}let f=new g(e.wordSeparators,e.regex);f.reset(0);do if((d=f.next(t))&&(o[r++]=c(new s.Range(i,d.index+1+n,i,d.index+1+d[0].length+n),d,l),r>=u))break;while(d)return r}static findNextMatch(e,t,i,n){let r=t.parseSearchRequest();if(!r)return null;let o=new g(r.wordSeparators,r.regex);return r.regex.multiline?this._doFindNextMatchMultiline(e,i,o,n):this._doFindNextMatchLineByLine(e,i,o,n)}static _doFindNextMatchMultiline(e,t,i,n){let o=new r.Position(t.lineNumber,1),a=e.getOffsetAt(o),l=e.getLineCount(),d=e.getValueInRange(new s.Range(o.lineNumber,o.column,l,e.getLineMaxColumn(l)),1),h="\r\n"===e.getEOL()?new u(d):null;i.reset(t.column-1);let g=i.next(d);return g?c(this._getMultilineMatchRange(e,a,d,h,g.index,g[0]),g,n):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new r.Position(1,1),i,n):null}static _doFindNextMatchLineByLine(e,t,i,n){let r=e.getLineCount(),o=t.lineNumber,s=e.getLineContent(o),a=this._findFirstMatchInLine(i,s,o,t.column,n);if(a)return a;for(let t=1;t<=r;t++){let s=(o+t-1)%r,a=e.getLineContent(s+1),l=this._findFirstMatchInLine(i,a,s+1,1,n);if(l)return l}return null}static _findFirstMatchInLine(e,t,i,n,r){e.reset(n-1);let o=e.next(t);return o?c(new s.Range(i,o.index+1,i,o.index+1+o[0].length),o,r):null}static findPreviousMatch(e,t,i,n){let r=t.parseSearchRequest();if(!r)return null;let o=new g(r.wordSeparators,r.regex);return r.regex.multiline?this._doFindPreviousMatchMultiline(e,i,o,n):this._doFindPreviousMatchLineByLine(e,i,o,n)}static _doFindPreviousMatchMultiline(e,t,i,n){let o=this._doFindMatchesMultiline(e,new s.Range(1,1,t.lineNumber,t.column),i,n,9990);if(o.length>0)return o[o.length-1];let a=e.getLineCount();return t.lineNumber!==a||t.column!==e.getLineMaxColumn(a)?this._doFindPreviousMatchMultiline(e,new r.Position(a,e.getLineMaxColumn(a)),i,n):null}static _doFindPreviousMatchLineByLine(e,t,i,n){let r=e.getLineCount(),o=t.lineNumber,s=e.getLineContent(o).substring(0,t.column-1),a=this._findLastMatchInLine(i,s,o,n);if(a)return a;for(let t=1;t<=r;t++){let s=(r+o-t-1)%r,a=e.getLineContent(s+1),l=this._findLastMatchInLine(i,a,s+1,n);if(l)return l}return null}static _findLastMatchInLine(e,t,i,n){let r,o=null;for(e.reset(0);r=e.next(t);)o=c(new s.Range(i,r.index+1,i,r.index+1+r[0].length),r,n);return o}}function h(e,t,i,n,r){return function(e,t,i,n,r){if(0===n)return!0;let o=t.charCodeAt(n-1);if(0!==e.get(o)||13===o||10===o)return!0;if(r>0){let i=t.charCodeAt(n);if(0!==e.get(i))return!0}return!1}(e,t,0,n,r)&&function(e,t,i,n,r){if(n+r===i)return!0;let o=t.charCodeAt(n+r);if(0!==e.get(o)||13===o||10===o)return!0;if(r>0){let i=t.charCodeAt(n+r-1);if(0!==e.get(i))return!0}return!1}(e,t,i,n,r)}class g{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let n=e.length;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||!(t=this._searchRegex.exec(e)))break;let r=t.index,o=t[0].length;if(r===this._prevMatchStartIndex&&o===this._prevMatchLength){if(0===o){i.getNextCodePoint(e,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=r,this._prevMatchLength=o,!this._wordSeparators||h(this._wordSeparators,e,n,r,o))return t}while(t)return null}}}),eK.register("gZWdz",function(e,t){o(e.exports,"getMapForWordSeparators",()=>r);var i=eK("7hnC8");class n extends i.CharacterClassifier{constructor(e){super(0);for(let t=0,i=e.length;t(t.hasOwnProperty(i)||(t[i]=e(i)),t[i])}(e=>new n(e))}),eK.register("flXwZ",function(e,t){o(e.exports,"linesDiffComputers",()=>r);var i=eK("l3ZSV"),n=eK("j9x0i");let r={legacy:new i.SmartLinesDiffComputer,advanced:new n.StandardLinesDiffComputer}}),eK.register("l3ZSV",function(e,t){o(e.exports,"SmartLinesDiffComputer",()=>c);var i=eK("74cFQ"),n=eK("QJK4R"),r=eK("fxXOE"),s=eK("hf16e"),a=eK("kDpy1"),l=eK("5z7hM");class c{computeDiff(e,t,i){var r;let o=new f(e,t,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}),c=o.computeDiff(),u=[],d=null;for(let e of c.changes){let t,i;t=0===e.originalEndLineNumber?new l.LineRange(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new l.LineRange(e.originalStartLineNumber,e.originalEndLineNumber+1),i=0===e.modifiedEndLineNumber?new l.LineRange(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new l.LineRange(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1);let o=new n.LineRangeMapping(t,i,null===(r=e.charChanges)||void 0===r?void 0:r.map(e=>new n.RangeMapping(new s.Range(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new s.Range(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));d&&(d.modifiedRange.endLineNumberExclusive===o.modifiedRange.startLineNumber||d.originalRange.endLineNumberExclusive===o.originalRange.startLineNumber)&&(o=new n.LineRangeMapping(d.originalRange.join(o.originalRange),d.modifiedRange.join(o.modifiedRange),d.innerChanges&&o.innerChanges?d.innerChanges.concat(o.innerChanges):void 0),u.pop()),u.push(o),d=o}return(0,a.assertFn)(()=>(0,a.checkAdjacentItems)(u,(e,t)=>t.originalRange.startLineNumber-e.originalRange.endLineNumberExclusive==t.modifiedRange.startLineNumber-e.modifiedRange.endLineNumberExclusive&&e.originalRange.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class g{constructor(e,t,i,n,r,o,s,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=i,this.originalEndColumn=n,this.modifiedStartLineNumber=r,this.modifiedStartColumn=o,this.modifiedEndLineNumber=s,this.modifiedEndColumn=a}static createFromDiffChange(e,t,i){let n=t.getStartLineNumber(e.originalStart),r=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),s=t.getEndColumn(e.originalStart+e.originalLength-1),a=i.getStartLineNumber(e.modifiedStart),l=i.getStartColumn(e.modifiedStart),c=i.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),u=i.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new g(n,r,o,s,a,l,c,u)}}class p{constructor(e,t,i,n,r){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=n,this.charChanges=r}static createFromDiffResult(e,t,i,n,r,o,s){let a,l,c,d,h;if(0===t.originalLength?(a=i.getStartLineNumber(t.originalStart)-1,l=0):(a=i.getStartLineNumber(t.originalStart),l=i.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(c=n.getStartLineNumber(t.modifiedStart)-1,d=0):(c=n.getStartLineNumber(t.modifiedStart),d=n.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&r()){let o=i.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=n.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(o.getElements().length>0&&a.getElements().length>0){let e=u(o,a,r,!0).changes;s&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],i=t[0];for(let n=1,r=e.length;n1&&s>1;){let n=e.charCodeAt(i-2),r=t.charCodeAt(s-2);if(n!==r)break;i--,s--}(i>1||s>1)&&this._pushTrimWhitespaceCharChange(n,r+1,1,i,o+1,1,s)}{let i=v(e,1),s=v(t,1),a=e.length+1,l=t.length+1;for(;i!0;let t=Date.now();return()=>Date.now()-tn),o(e.exports,"LineRangeMapping",()=>r),o(e.exports,"RangeMapping",()=>s);var i=eK("5z7hM");class n{constructor(e,t){this.changes=e,this.hitTimeout=t}}class r{static inverse(e,t,n){let o=[],s=1,a=1;for(let t of e){let e=new r(new i.LineRange(s,t.originalRange.startLineNumber),new i.LineRange(a,t.modifiedRange.startLineNumber),void 0);e.modifiedRange.isEmpty||o.push(e),s=t.originalRange.endLineNumberExclusive,a=t.modifiedRange.endLineNumberExclusive}let l=new r(new i.LineRange(s,t+1),new i.LineRange(a,n+1),void 0);return l.modifiedRange.isEmpty||o.push(l),o}constructor(e,t,i){this.originalRange=e,this.modifiedRange=t,this.innerChanges=i}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}get changedLineCount(){return Math.max(this.originalRange.length,this.modifiedRange.length)}}class s{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}}),eK.register("5z7hM",function(e,t){o(e.exports,"LineRange",()=>r);var i=eK("feAe9"),n=eK("hf16e");class r{static fromRange(e){return new r(e.startLineNumber,e.endLineNumber)}static joinMany(e){if(0===e.length)return[];let t=e[0];for(let i=1;i=a.startLineNumber?s=new r(s.startLineNumber,Math.max(s.endLineNumberExclusive,a.endLineNumberExclusive)):(i.push(s),s=a)}return null!==s&&i.push(s),i}static ofLength(e,t){return new r(e,e+t)}constructor(e,t){if(e>t)throw new i.BugIndicatingError(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&eg);var i=eK("kDpy1"),n=eK("5z7hM"),r=eK("eElP9"),s=eK("iWRZp"),a=eK("hf16e"),l=eK("hvx4l"),c=eK("9tSlI"),u=eK("6UW2f"),d=eK("a1J5U"),h=eK("QJK4R");class g{constructor(){this.dynamicProgrammingDiffing=new c.DynamicProgrammingDiffing,this.myersDiffingAlgorithm=new d.MyersDiffAlgorithm}computeDiff(e,t,o){let s=0===o.maxComputationTimeMs?l.InfiniteTimeout.instance:new l.DateTimeout(o.maxComputationTimeMs),a=!o.ignoreTrimWhitespace,c=new Map;function d(e){let t=c.get(e);return void 0===t&&(t=c.size,c.set(e,t)),t}let g=e.map(e=>d(e.trim())),f=t.map(e=>d(e.trim())),m=new p(g,e),v=new p(f,t),_=m.length+v.length<1500?this.dynamicProgrammingDiffing.compute(m,v,s,(i,n)=>e[i]===t[n]?0===t[n].length?.1:1+Math.log(1+t[n].length):.99):this.myersDiffingAlgorithm.compute(m,v),b=_.diffs,y=_.hitTimeout;b=(0,u.optimizeSequenceDiffs)(m,v,b);let C=[],w=i=>{if(a)for(let n=0;nn.seq1Range.start-S==n.seq2Range.start-x);let r=n.seq1Range.start-S;w(r),S=n.seq1Range.endExclusive,x=n.seq2Range.endExclusive;let o=this.refineDiff(e,t,n,s,a);for(let e of(o.hitTimeout&&(y=!0),o.mappings))C.push(e)}w(e.length-S);let E=function(e,t,r){let o=[];for(let i of function*(e,t){let i,n;for(let r of e)void 0!==n&&t(n,r)?i.push(r):(i&&(yield i),i=[r]),n=r;i&&(yield i)}(e.map(e=>(function(e,t,i){let r=0,o=0;e.modifiedRange.startColumn-1>=i[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&(r=1),1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(o=-1);let s=new n.LineRange(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+o),a=new n.LineRange(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+o);return new h.LineRangeMapping(s,a,[e])})(e,t,r)),(e,t)=>e.originalRange.overlapOrTouch(t.originalRange)||e.modifiedRange.overlapOrTouch(t.modifiedRange))){let e=i[0],t=i[i.length-1];o.push(new h.LineRangeMapping(e.originalRange.join(t.originalRange),e.modifiedRange.join(t.modifiedRange),i.map(e=>e.innerChanges[0])))}return(0,i.assertFn)(()=>(0,i.checkAdjacentItems)(o,(e,t)=>t.originalRange.startLineNumber-e.originalRange.endLineNumberExclusive==t.modifiedRange.startLineNumber-e.modifiedRange.endLineNumberExclusive&&e.originalRange.endLineNumberExclusivee&&o.push(new l.SequenceDiff(n.s1Range,n.s2Range)),n=void 0}for(let o of i){function a(e,t){var i,a,l,c;if(!n||!n.s1Range.containsRange(e)||!n.s2Range.containsRange(t)){if(n&&!(n.s1Range.endExclusive0||t.length>0;){let n;let r=e[0],o=t[0];n=r&&(!o||r.seq1Range.start0&&i[i.length-1].seq1Range.endExclusive>=n.seq1Range.start?i[i.length-1]=i[i.length-1].join(n):i.push(n)}return i}(i,o);return c}(s,a,d),d=(0,u.smoothenSequenceDiffs)(s,a,d);let g=d.map(e=>new h.RangeMapping(s.translateRange(e.seq1Range),a.translateRange(e.seq2Range)));return{mappings:g,hitTimeout:c.hitTimeout}}}class p{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let t=0===e?0:f(this.lines[e-1]),i=e===this.lines.length?0:f(this.lines[e]);return 1e3-(t+i)}}function f(e){let t=0;for(;t0&&t.endExclusive>=e.length&&(t=new r.OffsetRange(t.start-1,t.endExclusive),n=!0),this.lineRange=t;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=b(e>0?this.elements[e-1]:-1),i=b(ee?i=n:t=n+1}let n=0===t?0:this.firstCharOffsetByLineMinusOne[t-1];return new s.Position(this.lineRange.start+t+1,e-n+1+this.offsetByLine[t])}translateRange(e){return(0,a.Range).fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!v(this.elements[e]))return;let t=e;for(;t>0&&v(this.elements[t-1]);)t--;let i=e;for(;i=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let _={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function b(e){if(10===e)return 7;if(13===e)return 6;if(32===e||9===e)return 5;if(e>=97&&e<=122)return 0;if(e>=65&&e<=90)return 1;if(e>=48&&e<=57)return 2;if(-1===e)return 3;else return 4}}),eK.register("eElP9",function(e,t){o(e.exports,"OffsetRange",()=>n);var i=eK("feAe9");class n{static addRange(e,t){let i=0;for(;it))return new n(e,t)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new i.BugIndicatingError(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new n(this.start+e,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}join(e){return new n(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){let t=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);if(t<=i)return new n(t,i)}}}),eK.register("hvx4l",function(e,t){o(e.exports,"DiffAlgorithmResult",()=>r),o(e.exports,"SequenceDiff",()=>s),o(e.exports,"InfiniteTimeout",()=>a),o(e.exports,"DateTimeout",()=>l);var i=eK("feAe9"),n=eK("eElP9");class r{static trivial(e,t){return new r([new s(new n.OffsetRange(0,e.length),new n.OffsetRange(0,t.length))],!1)}static trivialTimedOut(e,t){return new r([new s(new n.OffsetRange(0,e.length),new n.OffsetRange(0,t.length))],!0)}constructor(e,t){this.diffs=e,this.hitTimeout=t}}class s{constructor(e,t){this.seq1Range=e,this.seq2Range=t}reverse(){return new s(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new s(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}}class a{isValid(){return!0}}a.instance=new a;class l{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new i.BugIndicatingError("timeout must be positive")}isValid(){let e=Date.now()-this.startTimes);var i=eK("eElP9"),n=eK("hvx4l"),r=eK("i0jxz");class s{compute(e,t,o=n.InfiniteTimeout.instance,s){if(0===e.length||0===t.length)return(0,n.DiffAlgorithmResult).trivial(e,t);let a=new r.Array2D(e.length,t.length),l=new r.Array2D(e.length,t.length),c=new r.Array2D(e.length,t.length);for(let i=0;i0&&r>0&&3===l.get(i-1,r-1)&&(u+=c.get(i-1,r-1)),u+=s?s(i,r):1):u=-1;let g=Math.max(d,h,u);if(g===u){let e=i>0&&r>0?c.get(i-1,r-1):0;c.set(i,r,e+1),l.set(i,r,3)}else g===d?(c.set(i,r,0),l.set(i,r,1)):g===h&&(c.set(i,r,0),l.set(i,r,2));a.set(i,r,g)}let u=[],d=e.length,h=t.length;function g(e,t){(e+1!==d||t+1!==h)&&u.push(new n.SequenceDiff(new i.OffsetRange(e+1,d),new i.OffsetRange(t+1,h))),d=e,h=t}let p=e.length-1,f=t.length-1;for(;p>=0&&f>=0;)3===l.get(p,f)?(g(p,f),p--,f--):1===l.get(p,f)?p--:f--;return g(-1,-1),u.reverse(),new n.DiffAlgorithmResult(u,!1)}}}),eK.register("i0jxz",function(e,t){o(e.exports,"Array2D",()=>i);class i{constructor(e,t){this.width=e,this.height=t,this.array=[],this.array=Array(e*t)}get(e,t){return this.array[e+t*this.width]}set(e,t,i){this.array[e+t*this.width]=i}}}),eK.register("6UW2f",function(e,t){o(e.exports,"optimizeSequenceDiffs",()=>r),o(e.exports,"smoothenSequenceDiffs",()=>s);var i=eK("eElP9"),n=eK("hvx4l");function r(e,t,r){let o=r;return o=function(e,t,r){let o=[];r.length>0&&o.push(r[0]);for(let e=1;e0?i[n-1].seq2Range.endExclusive:-1,s=n+10?i[n-1].seq1Range.endExclusive:-1,s=n+1o&&i.getElement(e.seq2Range.start-s)===i.getElement(e.seq2Range.endExclusive-s)&&s<20;)s++;s--;let a=0;for(;e.seq2Range.start+ac&&(c=a,l=n)}return 0!==l?new n.SequenceDiff(e.seq1Range.delta(l),e.seq2Range.delta(l)):e}}),eK.register("a1J5U",function(e,t){o(e.exports,"MyersDiffAlgorithm",()=>r);var i=eK("eElP9"),n=eK("hvx4l");class r{compute(e,t,r=n.InfiniteTimeout.instance){if(0===e.length||0===t.length)return(0,n.DiffAlgorithmResult).trivial(e,t);function o(i,n){for(;i=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class l{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}}),eK.register("5Hax5",function(e,t){o(e.exports,"computeDefaultDocumentColors",()=>u);var i=eK("346wF");function n(e){let t=[];for(let i of e){let e=Number(i);(e||0===e&&""!==i.replace(/\s/g,""))&&t.push(e)}return t}function r(e,t,i,n){return{red:e/255,blue:i/255,green:t/255,alpha:n}}function s(e,t){let i=t.index,n=t[0].length;if(!i)return;let r=e.positionAt(i),o={startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:r.lineNumber,endColumn:r.column+n};return o}function a(e,t,i){if(!e||1!==t.length)return;let o=t[0],s=o.values(),a=n(s);return{range:e,color:r(a[0],a[1],a[2],i?a[3]:1)}}function l(e,t,o){if(!e||1!==t.length)return;let s=t[0],a=s.values(),l=n(a),c=new i.Color(new i.HSLA(l[0],l[1]/100,l[2]/100,o?l[3]:1));return{range:e,color:r(c.rgba.r,c.rgba.g,c.rgba.b,c.rgba.a)}}function c(e,t){return"string"==typeof e?[...e.matchAll(t)]:e.findMatches(t)}function u(e){return e&&"function"==typeof e.getValue&&"function"==typeof e.positionAt?function(e){let t=[],n=c(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(n.length>0)for(let o of n){let n;let u=o.filter(e=>void 0!==e),d=u[1],h=u[2];if(h){if("rgb"===d){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;n=a(s(e,o),c(h,t),!1)}else if("rgba"===d){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;n=a(s(e,o),c(h,t),!0)}else if("hsl"===d){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;n=l(s(e,o),c(h,t),!1)}else if("hsla"===d){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;n=l(s(e,o),c(h,t),!0)}else"#"===d&&(n=function(e,t){if(!e)return;let n=(0,i.Color).Format.CSS.parseHex(t);if(n)return{range:e,color:r(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}(s(e,o),d+h));n&&t.push(n)}}return t}(e):[]}}),eK.register("346wF",function(e,t){var i,n;function r(e,t){let i=Math.pow(10,t);return Math.round(e*i)/i}o(e.exports,"RGBA",()=>s),o(e.exports,"HSLA",()=>a),o(e.exports,"HSVA",()=>l),o(e.exports,"Color",()=>c);class s{constructor(e,t,i,n=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,i)),this.a=r(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class a{constructor(e,t,i,n){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=r(Math.max(Math.min(1,t),0),3),this.l=r(Math.max(Math.min(1,i),0),3),this.a=r(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,i=e.g/255,n=e.b/255,r=e.a,o=Math.max(t,i,n),s=Math.min(t,i,n),l=0,c=0,u=(s+o)/2,d=o-s;if(d>0){switch(c=Math.min(u<=.5?d/(2*u):d/(2-2*u),1),o){case t:l=(i-n)/d+(i1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}static toRGBA(e){let t,i,n;let r=e.h/360,{s:o,l:l,a:c}=e;if(0===o)t=i=n=l;else{let e=l<.5?l*(1+o):l+o-l*o,s=2*l-e;t=a._hue2rgb(s,e,r+1/3),i=a._hue2rgb(s,e,r),n=a._hue2rgb(s,e,r-1/3)}return new s(Math.round(255*t),Math.round(255*i),Math.round(255*n),c)}}class l{constructor(e,t,i,n){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=r(Math.max(Math.min(1,t),0),3),this.v=r(Math.max(Math.min(1,i),0),3),this.a=r(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let i=e.r/255,n=e.g/255,r=e.b/255,o=Math.max(i,n,r),s=Math.min(i,n,r),a=o-s,c=0===o?0:a/o;return t=0===a?0:o===i?((n-r)/a%6+6)%6:o===n?(r-i)/a+2:(i-n)/a+4,new l(Math.round(60*t),c,o,e.a)}static toRGBA(e){let{h:t,s:i,v:n,a:r}=e,o=n*i,a=o*(1-Math.abs(t/60%2-1)),l=n-o,[c,u,d]=[0,0,0];return t<60?(c=o,u=a):t<120?(c=a,u=o):t<180?(u=o,d=a):t<240?(u=a,d=o):t<300?(c=a,d=o):t<=360&&(c=o,d=a),c=Math.round((c+l)*255),u=Math.round((u+l)*255),d=Math.round((d+l)*255),new s(c,u,d,r)}}class c{static fromHex(e){return c.Format.CSS.parseHex(e)||c.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:a.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:l.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof s)this.rgba=e;else if(e instanceof a)this._hsla=e,this.rgba=a.toRGBA(e);else if(e instanceof l)this._hsva=e,this.rgba=l.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&s.equals(this.rgba,e.rgba)&&a.equals(this.hsla,e.hsla)&&l.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=c._relativeLuminanceForComponent(this.rgba.r),t=c._relativeLuminanceForComponent(this.rgba.g),i=c._relativeLuminanceForComponent(this.rgba.b);return r(.2126*e+.7152*t+.0722*i,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){let e=(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3;return e>=128}isLighterThan(e){let t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return t>i}isDarkerThan(e){let t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return tn),o(e.exports,"ITextResourcePropertiesService",()=>r);var i=eK("yPX6c");let n=(0,i.createDecorator)("textResourceConfigurationService"),r=(0,i.createDecorator)("textResourcePropertiesService")}),eK.register("hCxuo",function(e,t){o(e.exports,"ILogService",()=>c),o(e.exports,"LogLevel",()=>n),o(e.exports,"ConsoleLogger",()=>h),o(e.exports,"MultiplexLogger",()=>g);var i,n,r=eK("hhGVE"),s=eK("ldoGF"),a=eK("1eGm6"),l=eK("yPX6c");let c=(0,l.createDecorator)("logService");(i=n||(n={}))[i.Off=0]="Off",i[i.Trace=1]="Trace",i[i.Debug=2]="Debug",i[i.Info=3]="Info",i[i.Warning=4]="Warning",i[i.Error=5]="Error";let u=n.Info;class d extends s.Disposable{constructor(){super(...arguments),this.level=u,this._onDidChangeLogLevel=this._register(new r.Emitter),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(e){return this.level!==n.Off&&this.level<=e}}class h extends d{constructor(e=u,t=!0){super(),this.useColors=t,this.setLevel(e)}trace(e,...t){this.checkLogLevel(n.Trace)&&(this.useColors?console.log("%cTRACE","color: #888",e,...t):console.log(e,...t))}debug(e,...t){this.checkLogLevel(n.Debug)&&(this.useColors?console.log("%cDEBUG","background: #eee; color: #888",e,...t):console.log(e,...t))}info(e,...t){this.checkLogLevel(n.Info)&&(this.useColors?console.log("%c INFO","color: #33f",e,...t):console.log(e,...t))}error(e,...t){this.checkLogLevel(n.Error)&&(this.useColors?console.log("%c ERR","color: #f33",e,...t):console.error(e,...t))}dispose(){}}class g extends d{constructor(e){super(),this.loggers=e,e.length&&this.setLevel(e[0].getLevel())}setLevel(e){for(let t of this.loggers)t.setLevel(e);super.setLevel(e)}trace(e,...t){for(let i of this.loggers)i.trace(e,...t)}debug(e,...t){for(let i of this.loggers)i.debug(e,...t)}info(e,...t){for(let i of this.loggers)i.info(e,...t)}error(e,...t){for(let i of this.loggers)i.error(e,...t)}dispose(){for(let e of this.loggers)e.dispose()}}new a.RawContextKey("logLevel",function(e){switch(e){case n.Trace:return"trace";case n.Debug:return"debug";case n.Info:return"info";case n.Warning:return"warn";case n.Error:return"error";case n.Off:return"off"}}(n.Info))}),eK.register("if14F",function(e,t){o(e.exports,"ILanguageFeaturesService",()=>n);var i=eK("yPX6c");let n=(0,i.createDecorator)("ILanguageFeaturesService")}),eK.register("5yLTr",function(e,t){o(e.exports,"Colorizer",()=>d);var i=eK("blfBc"),n=eK("fxXOE"),r=eK("cQ9sC"),s=eK("i2Lge"),a=eK("3gxfR"),l=eK("jMjEM"),c=eK("5JQEr");let u=(0,i.createTrustedTypesPolicy)("standaloneColorizer",{createHTML:e=>e});class d{static colorizeElement(e,t,i,n){n=n||{};let r=n.theme||"vs",o=n.mimeType||i.getAttribute("lang")||i.getAttribute("data-lang");if(!o)return console.error("Mode not detected"),Promise.resolve();let s=t.getLanguageIdByMimeType(o)||o;e.setTheme(r);let a=i.firstChild?i.firstChild.nodeValue:"";return i.className+=" "+r,this.colorize(t,a||"",s,n).then(e=>{var t;let n=null!==(t=null==u?void 0:u.createHTML(e))&&void 0!==t?t:e;i.innerHTML=n},e=>console.error(e))}static colorize(e,t,i,o){var u,d,g,p;return u=this,d=void 0,g=void 0,p=function*(){var u;let d=e.languageIdCodec,g=4;o&&"number"==typeof o.tabSize&&(g=o.tabSize),n.startsWithUTF8BOM(t)&&(t=t.substr(1));let p=n.splitLines(t);if(!e.isRegisteredLanguageId(i))return h(p,g,d);let f=yield(0,r.TokenizationRegistry).getOrCreate(i);return f?(u=g,new Promise((e,t)=>{let i=()=>{let n=function(e,t,i,n){let r=[],o=i.getInitialState();for(let c=0,u=e.length;c"),o=d.endState}return r.join("")}(p,u,f,d);if(f instanceof c.MonarchTokenizer){let e=f.getLoadStatus();if(!1===e.loaded){e.promise.then(i,t);return}}e(n)};i()})):h(p,g,d)},new(g||(g=Promise))(function(e,t){function i(e){try{r(p.next(e))}catch(e){t(e)}}function n(e){try{r(p.throw(e))}catch(e){t(e)}}function r(t){var r;t.done?e(t.value):((r=t.value)instanceof g?r:new g(function(e){e(r)})).then(i,n)}r((p=p.apply(u,d||[])).next())})}static colorizeLine(e,t,i,n,r=4){let o=(0,l.ViewLineRenderingData).isBasicASCII(e,t),s=(0,l.ViewLineRenderingData).containsRTL(e,o,i),c=(0,a.renderViewLine2)(new a.RenderLineInput(!1,!0,e,!1,o,s,0,n,[],r,0,0,0,0,-1,"none",!1,!1,null));return c.html}static colorizeModelLine(e,t,i=4){let n=e.getLineContent(t);e.tokenization.forceTokenization(t);let r=e.tokenization.getLineTokens(t),o=r.inflate();return this.colorizeLine(n,e.mightContainNonBasicASCII(),e.mightContainRTL(),o,i)}}function h(e,t,i){let n=[],r=new Uint32Array(2);r[0]=0,r[1]=33587200;for(let o=0,c=e.length;o")}return n.join("")}}),eK.register("i2Lge",function(e,t){o(e.exports,"LineTokens",()=>n);var i=eK("6vSRf");class n{static createEmpty(e,t){let i=n.defaultTokenMetadata,r=new Uint32Array(2);return r[0]=e.length,r[1]=i,new n(r,e,t)}constructor(e,t,i){this._lineTokensBrand=void 0,this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t,this._languageIdCodec=i}equals(e){return e instanceof n&&this.slicedEquals(e,0,this._tokensCount)}slicedEquals(e,t,i){if(this._text!==e._text||this._tokensCount!==e._tokensCount)return!1;let n=t<<1,r=n+(i<<1);for(let t=n;t0?this._tokens[e-1<<1]:0}getMetadata(e){let t=this._tokens[(e<<1)+1];return t}getLanguageId(e){let t=this._tokens[(e<<1)+1],n=(0,i.TokenMetadata).getLanguageId(t);return this._languageIdCodec.decodeLanguageId(n)}getStandardTokenType(e){let t=this._tokens[(e<<1)+1];return(0,i.TokenMetadata).getTokenType(t)}getForeground(e){let t=this._tokens[(e<<1)+1];return(0,i.TokenMetadata).getForeground(t)}getClassName(e){let t=this._tokens[(e<<1)+1];return(0,i.TokenMetadata).getClassNameFromMetadata(t)}getInlineStyle(e,t){let n=this._tokens[(e<<1)+1];return(0,i.TokenMetadata).getInlineStyleFromMetadata(n,t)}getPresentation(e){let t=this._tokens[(e<<1)+1];return(0,i.TokenMetadata).getPresentationFromMetadata(t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return n.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,i){return new r(this,e,t,i)}static convertToEndOffset(e,t){let i=e.length>>>1,n=i-1;for(let t=0;t>>1)-1;for(;it&&(n=r)}return i}withInserted(e){if(0===e.length)return this;let t=0,i=0,r="",o=[],s=0;for(;;){let n=ts){r+=this._text.substring(s,a.offset);let e=this._tokens[(t<<1)+1];o.push(r.length,e),s=a.offset}r+=a.text,o.push(r.length,a.tokenMetadata),i++}else break}return new n(new Uint32Array(o),r,this._languageIdCodec)}}n.defaultTokenMetadata=33587200;class r{constructor(e,t,i,n){this._source=e,this._startOffset=t,this._endOffset=i,this._deltaOffset=n,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(let t=this._firstTokenIndex,n=e.getCount();t=i)break;this._tokensCount++}}getMetadata(e){return this._source.getMetadata(this._firstTokenIndex+e)}getLanguageId(e){return this._source.getLanguageId(this._firstTokenIndex+e)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(e){return e instanceof r&&this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount)}getCount(){return this._tokensCount}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){let t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)}getPresentation(e){return this._source.getPresentation(this._firstTokenIndex+e)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}}),eK.register("6vSRf",function(e,t){o(e.exports,"TokenMetadata",()=>i);class i{static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(768&e)>>>8}static containsBalancedBrackets(e){return(1024&e)!=0}static getFontStyle(e){return(30720&e)>>>11}static getForeground(e){return(16744448&e)>>>15}static getBackground(e){return(4278190080&e)>>>24}static getClassNameFromMetadata(e){let t=this.getForeground(e),i="mtk"+t,n=this.getFontStyle(e);return 1&n&&(i+=" mtki"),2&n&&(i+=" mtkb"),4&n&&(i+=" mtku"),8&n&&(i+=" mtks"),i}static getInlineStyleFromMetadata(e,t){let i=this.getForeground(e),n=this.getFontStyle(e),r=`color: ${t[i]};`;1&n&&(r+="font-style: italic;"),2&n&&(r+="font-weight: bold;");let o="";return 4&n&&(o+=" underline"),8&n&&(o+=" line-through"),o&&(r+=`text-decoration:${o};`),r}static getPresentationFromMetadata(e){let t=this.getForeground(e),i=this.getFontStyle(e);return{foreground:t,italic:!!(1&i),bold:!!(2&i),underline:!!(4&i),strikethrough:!!(8&i)}}}}),eK.register("3gxfR",function(e,t){o(e.exports,"LineRange",()=>l),o(e.exports,"RenderLineInput",()=>c),o(e.exports,"DomPosition",()=>u),o(e.exports,"renderViewLine",()=>g),o(e.exports,"renderViewLine2",()=>f);var i=eK("cAMHt"),n=eK("fxXOE"),r=eK("dt3AW"),s=eK("fX8lt"),a=eK("ecmXL");class l{constructor(e,t){this.startOffset=e,this.endOffset=t}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}}class c{constructor(e,t,i,n,r,o,a,l,c,u,d,h,g,p,f,m,v,_,b){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=i,this.continuesWithWrappedLine=n,this.isBasicASCII=r,this.containsRTL=o,this.fauxIndentLength=a,this.lineTokens=l,this.lineDecorations=c.sort(s.LineDecoration.compare),this.tabSize=u,this.startVisibleColumn=d,this.spaceWidth=h,this.stopRenderingLineAfter=f,this.renderWhitespace="all"===m?4:"boundary"===m?1:"selection"===m?2:"trailing"===m?3:0,this.renderControlCharacters=v,this.fontLigatures=_,this.selectionsOnLine=b&&b.sort((e,t)=>e.startOffset>>16}static getCharIndex(e){return(65535&e)>>>0}constructor(e,t){this.length=e,this._data=new Uint32Array(this.length),this._horizontalOffset=new Uint32Array(this.length)}setColumnInfo(e,t,i,n){this._data[e-1]=(t<<16|i<<0)>>>0,this._horizontalOffset[e-1]=n}getHorizontalOffset(e){return 0===this._horizontalOffset.length?0:this._horizontalOffset[e-1]}charOffsetToPartData(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}getDomPosition(e){let t=this.charOffsetToPartData(e-1),i=d.getPartIndex(t),n=d.getCharIndex(t);return new u(i,n)}getColumn(e,t){let i=this.partDataToCharOffset(e.partIndex,t,e.charIndex);return i+1}partDataToCharOffset(e,t,i){if(0===this.length)return 0;let n=(e<<16|i<<0)>>>0,r=0,o=this.length-1;for(;r+1>>1,t=this._data[e];if(t===n)return e;t>n?o=e:r=e}if(r===o)return r;let s=this._data[r],a=this._data[o];if(s===n)return r;if(a===n)return o;let l=d.getPartIndex(s),c=d.getCharIndex(s),u=d.getPartIndex(a);return i-c<=(l!==u?t:d.getCharIndex(a))-i?r:o}}class h{constructor(e,t,i){this._renderLineOutputBrand=void 0,this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=i}}function g(e,t){if(0===e.lineContent.length){if(e.lineDecorations.length>0){t.appendString("");let i=0,n=0,r=0;for(let o of e.lineDecorations)(1===o.type||2===o.type)&&(t.appendString(''),1===o.type&&(r|=1,i++),2===o.type&&(r|=2,n++));t.appendString("");let o=new d(1,i+n);return o.setColumnInfo(1,i,0,0),new h(o,!1,r)}return t.appendString(""),new h(new d(0,0),!1,0)}return function(e,t){let r=e.fontIsMonospace,o=e.canUseHalfwidthRightwardsArrow,s=e.containsForeignElements,a=e.lineContent,l=e.len,c=e.isOverflowing,u=e.overflowingCharCount,g=e.parts,p=e.fauxIndentLength,f=e.tabSize,m=e.startVisibleColumn,_=e.containsRTL,b=e.spaceWidth,y=e.renderSpaceCharCode,C=e.renderWhitespace,w=e.renderControlCharacters,S=new d(l+1,g.length),x=!1,E=0,k=m,D=0,P=0,L=0;_?t.appendString(''):t.appendString("");for(let e=0,i=g.length;e=p&&(t+=r)}}for(m&&(t.appendString(' style="width:'),t.appendString(String(b*i)),t.appendString('px"')),t.appendASCIICharCode(62);E1?t.appendCharCode(8594):t.appendCharCode(65515);for(let e=2;e<=n;e++)t.appendCharCode(160)}else i=2,n=1,t.appendCharCode(y),t.appendCharCode(8204);D+=i,P+=n,E>=p&&(k+=n)}}else for(t.appendASCIICharCode(62);E=p&&(k+=o)}_?L++:L=0,E>=l&&!x&&i.isPseudoAfter()&&(x=!0,S.setColumnInfo(E+1,e,D,P)),t.appendString("")}return x||S.setColumnInfo(l+1,g.length-1,D,P),c&&(t.appendString(''),t.appendString(i.localize("showMore","Show more ({0})",u<1024?i.localize("overflow.chars","{0} chars",u):u<1048576?`${(u/1024).toFixed(1)} KB`:`${(u/1024/1024).toFixed(1)} MB`)),t.appendString("")),t.appendString(""),new h(S,_,s)}(function(e){let t,i,r;let o=e.lineContent;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter0&&(s[l++]=new a.LinePart(r,"",0,!1));let c=r;for(let u=0,d=i.getCount();u=o){let i=!!t&&n.containsRTL(e.substring(c,o));s[l++]=new a.LinePart(o,h,0,i);break}let g=!!t&&n.containsRTL(e.substring(c,d));s[l++]=new a.LinePart(d,h,0,g),c=d}return s}(o,e.containsRTL,e.lineTokens,e.fauxIndentLength,r);e.renderControlCharacters&&!e.isBasicASCII&&(l=function(e,t){let i=[],n=new a.LinePart(0,"",0,!1),r=0;for(let o of t){let t=o.endIndex;for(;rn.endIndex&&(n=new a.LinePart(r,o.type,o.metadata,o.containsRTL),i.push(n)),n=new a.LinePart(r+1,"mtkcontrol",o.metadata,!1),i.push(n))}r>n.endIndex&&(n=new a.LinePart(t,o.type,o.metadata,o.containsRTL),i.push(n))}return i}(o,l)),(4===e.renderWhitespace||1===e.renderWhitespace||2===e.renderWhitespace&&e.selectionsOnLine||3===e.renderWhitespace&&!e.continuesWithWrappedLine)&&(l=function(e,t,i,r){let o;let s=e.continuesWithWrappedLine,l=e.fauxIndentLength,c=e.tabSize,u=e.startVisibleColumn,d=e.useMonospaceOptimizations,h=e.selectionsOnLine,g=1===e.renderWhitespace,p=3===e.renderWhitespace,f=e.renderSpaceWidth!==e.spaceWidth,m=[],v=0,_=0,b=r[0].type,y=r[_].containsRTL,C=r[_].endIndex,w=r.length,S=!1,x=n.firstNonWhitespaceIndex(t);-1===x?(S=!0,x=i,o=i):o=n.lastNonWhitespaceIndex(t);let E=!1,k=0,D=h&&h[k],P=u%c;for(let e=l;e=D.endOffset&&(k++,D=h&&h[k]),eo)s=!0;else if(9===u)s=!0;else if(32===u){if(g){if(E)s=!0;else{let n=e+1e),s&&p&&(s=S||e>o),s&&y&&e>=x&&e<=o&&(s=!1),E){if(!s||!d&&P>=c){if(f){let t=v>0?m[v-1].endIndex:l;for(let i=t+1;i<=e;i++)m[v++]=new a.LinePart(i,"mtkw",1,!1)}else m[v++]=new a.LinePart(e,"mtkw",1,!1);P%=c}}else(e===C||s&&e>l)&&(m[v++]=new a.LinePart(e,b,0,y),P%=c);for(9===u?P=c:n.isFullWidthCharacter(u)?P+=2:P++,E=s;e===C;)if(++_0?t.charCodeAt(i-1):0,n=i>1?t.charCodeAt(i-2):0;32===e&&32!==n&&9!==n||(L=!0)}else L=!0}if(L){if(f){let e=v>0?m[v-1].endIndex:l;for(let t=e+1;t<=i;t++)m[v++]=new a.LinePart(t,"mtkw",1,!1)}else m[v++]=new a.LinePart(i,"mtkw",1,!1)}else m[v++]=new a.LinePart(i,b,0,y);return m}(e,o,r,l));let c=0;if(e.lineDecorations.length>0){for(let t=0,i=e.lineDecorations.length;td&&(d=e.startOffset,c[u++]=new a.LinePart(d,s,h,g)),e.endOffset+1<=n)d=e.endOffset+1,c[u++]=new a.LinePart(d,s+" "+e.className,h|e.metadata,g),l++;else{d=n,c[u++]=new a.LinePart(d,s+" "+e.className,h|e.metadata,g);break}}n>d&&(d=n,c[u++]=new a.LinePart(d,s,h,g))}let h=i[i.length-1].endIndex;if(l=50&&(r[o++]=new a.LinePart(u+1,t,i,c),d=u+1,u=-1);d!==l&&(r[o++]=new a.LinePart(l,t,i,c))}else r[o++]=s;n=l}else for(let e=0,i=t.length;e50){let e=i.type,t=i.metadata,c=i.containsRTL,u=Math.ceil(l/50);for(let i=1;i=8234&&e<=8238||e>=8294&&e<=8297||e>=8206&&e<=8207||1564===e}}),eK.register("fX8lt",function(e,t){o(e.exports,"LineDecoration",()=>n),o(e.exports,"LineDecorationsNormalizer",()=>a);var i=eK("fxXOE");class n{constructor(e,t,i,n){this.startColumn=e,this.endColumn=t,this.className=i,this.type=n,this._lineDecorationBrand=void 0}static _equals(e,t){return e.startColumn===t.startColumn&&e.endColumn===t.endColumn&&e.className===t.className&&e.type===t.type}static equalsArr(e,t){let i=e.length,r=t.length;if(i!==r)return!1;for(let r=0;r=o||(a[l++]=new n(Math.max(1,t.startColumn-r+1),Math.min(s+1,t.endColumn-r+1),t.className,t.type));return a}static filter(e,t,i,r){if(0===e.length)return[];let o=[],s=0;for(let a=0,l=e.length;at||c.isEmpty()&&(0===l.type||3===l.type))continue;let u=c.startLineNumber===t?c.startColumn:i,d=c.endLineNumber===t?c.endColumn:r;o[s++]=new n(u,d,l.inlineClassName,l.type)}return o}static _typeCompare(e,t){let i=[2,0,1,3];return i[e]-i[t]}static compare(e,t){if(e.startColumn!==t.startColumn)return e.startColumn-t.startColumn;if(e.endColumn!==t.endColumn)return e.endColumn-t.endColumn;let i=n._typeCompare(e.type,t.type);return 0!==i?i:e.className!==t.className?e.className0&&this.stopOffsets[0]0&&t=e){this.stopOffsets.splice(n,0,e),this.classNames.splice(n,0,t),this.metadata.splice(n,0,i);break}this.count++}}class a{static normalize(e,t){if(0===t.length)return[];let n=[],r=new s,o=0;for(let s=0,a=t.length;s1){let t=e.charCodeAt(l-2);i.isHighSurrogate(t)&&l--}if(c>1){let t=e.charCodeAt(c-2);i.isHighSurrogate(t)&&c--}let h=l-1,g=c-2;o=r.consumeLowerThan(h,o,n),0===r.count&&(o=h),r.insert(g,u,d)}return r.consumeLowerThan(1073741824,o,n),n}}}),eK.register("ecmXL",function(e,t){o(e.exports,"LinePart",()=>i);class i{constructor(e,t,i,n){this.endIndex=e,this.type=t,this.metadata=i,this.containsRTL=n,this._linePartBrand=void 0}isWhitespace(){return!!(1&this.metadata)}isPseudoAfter(){return!!(4&this.metadata)}}}),eK.register("jMjEM",function(e,t){o(e.exports,"Viewport",()=>r),o(e.exports,"MinimapLinesRenderingData",()=>s),o(e.exports,"ViewLineData",()=>a),o(e.exports,"ViewLineRenderingData",()=>l),o(e.exports,"InlineDecoration",()=>c),o(e.exports,"SingleLineInlineDecoration",()=>u),o(e.exports,"ViewModelDecoration",()=>d),o(e.exports,"OverviewRulerDecorationsGroup",()=>h);var i=eK("fxXOE"),n=eK("hf16e");class r{constructor(e,t,i,n){this._viewportBrand=void 0,this.top=0|e,this.left=0|t,this.width=0|i,this.height=0|n}}class s{constructor(e,t){this.tabSize=e,this.data=t}}class a{constructor(e,t,i,n,r,o,s){this._viewLineDataBrand=void 0,this.content=e,this.continuesWithWrappedLine=t,this.minColumn=i,this.maxColumn=n,this.startVisibleColumn=r,this.tokens=o,this.inlineDecorations=s}}class l{constructor(e,t,i,n,r,o,s,a,c,u){this.minColumn=e,this.maxColumn=t,this.content=i,this.continuesWithWrappedLine=n,this.isBasicASCII=l.isBasicASCII(i,o),this.containsRTL=l.containsRTL(i,this.isBasicASCII,r),this.tokens=s,this.inlineDecorations=a,this.tabSize=c,this.startVisibleColumn=u}static isBasicASCII(e,t){return!t||i.isBasicASCII(e)}static containsRTL(e,t,n){return!t&&!!n&&i.containsRTL(e)}}class c{constructor(e,t,i){this.range=e,this.inlineClassName=t,this.type=i}}class u{constructor(e,t,i,n){this.startOffset=e,this.endOffset=t,this.inlineClassName=i,this.inlineClassNameAffectsLetterSpacing=n}toInlineDecoration(e){return new c(new n.Range(e,this.startOffset+1,e,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}class d{constructor(e,t){this._viewModelDecorationBrand=void 0,this.range=e,this.options=t}}class h{constructor(e,t,i){this.color=e,this.zIndex=t,this.data=i}static cmp(e,t){return e.zIndex===t.zIndex?e.colort.color?1:0:e.zIndex-t.zIndex}}}),eK.register("5JQEr",function(e,t){o(e.exports,"MonarchTokenizer",()=>f);var i,n=eK("cQ9sC"),r=eK("2JAiW"),s=eK("6yDmB"),a=eK("aKWdS");class l{static create(e,t){return this._INSTANCE.create(e,t)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new c(e,t);let i=c.getStackElementId(e);i.length>0&&(i+="|"),i+=t;let n=this._entries[i];return n||(n=new c(e,t),this._entries[i]=n),n}}l._INSTANCE=new l(5);class c{constructor(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(e){let t="";for(;null!==e;)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t}static _equals(e,t){for(;null!==e&&null!==t;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t}equals(e){return c._equals(this,e)}push(e){return l.create(this,e)}pop(){return this.parent}popall(){let e=this;for(;e.parent;)e=e.parent;return e}switchTo(e){return l.create(this.parent,e)}}class u{constructor(e,t){this.languageId=e,this.state=t}equals(e){return this.languageId===e.languageId&&this.state.equals(e.state)}clone(){let e=this.state.clone();return e===this.state?this:new u(this.languageId,this.state)}}class d{static create(e,t){return this._INSTANCE.create(e,t)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,t){if(null!==t||null!==e&&e.depth>=this._maxCacheDepth)return new h(e,t);let i=c.getStackElementId(e),n=this._entries[i];return n||(n=new h(e,null),this._entries[i]=n),n}}d._INSTANCE=new d(5);class h{constructor(e,t){this.stack=e,this.embeddedLanguageData=t}clone(){let e=this.embeddedLanguageData?this.embeddedLanguageData.clone():null;return e===this.embeddedLanguageData?this:d.create(this.stack,this.embeddedLanguageData)}equals(e){return!!(e instanceof h&&this.stack.equals(e.stack))&&(null===this.embeddedLanguageData&&null===e.embeddedLanguageData||null!==this.embeddedLanguageData&&null!==e.embeddedLanguageData&&this.embeddedLanguageData.equals(e.embeddedLanguageData))}}class g{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(e){this._languageId=e}emit(e,t){(this._lastTokenType!==t||this._lastTokenLanguage!==this._languageId)&&(this._lastTokenType=t,this._lastTokenLanguage=this._languageId,this._tokens.push(new n.Token(e,t,this._languageId)))}nestedLanguageTokenize(e,t,i,r){let o=i.languageId,s=i.state,a=n.TokenizationRegistry.get(o);if(!a)return this.enterLanguage(o),this.emit(r,""),s;let l=a.tokenize(e,t,s);if(0!==r)for(let e of l.tokens)this._tokens.push(new n.Token(e.offset+r,e.type,e.language));else this._tokens=this._tokens.concat(l.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,l.endState}finalize(e){return new n.TokenizationResult(this._tokens,e)}}class p{constructor(e,t){this._languageService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(e){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(e)}emit(e,t){let i=1024|this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==i&&(this._lastTokenMetadata=i,this._tokens.push(e),this._tokens.push(i))}static _merge(e,t,i){let n=null!==e?e.length:0,r=t.length,o=null!==i?i.length:0;if(0===n&&0===r&&0===o)return new Uint32Array(0);if(0===n&&0===r)return i;if(0===r&&0===o)return e;let s=new Uint32Array(n+r+o);null!==e&&s.set(e);for(let e=0;e{if(s)return;let t=!1;for(let i=0,n=e.changedLanguages.length;i{e.affectsConfiguration("editor.maxTokenizationLineLength")&&(this._maxTokenizationLineLength=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:this._languageId}))})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){let t=[];for(let i in this._embeddedLanguages){let r=n.TokenizationRegistry.get(i);if(r){if(r instanceof e){let e=r.getLoadStatus();!1===e.loaded&&t.push(e.promise)}continue}n.TokenizationRegistry.isResolved(i)||t.push(n.TokenizationRegistry.getOrCreate(i))}return 0===t.length?{loaded:!0}:{loaded:!1,promise:Promise.all(t).then(e=>void 0)}}getInitialState(){let e=l.create(null,this._lexer.start);return d.create(e,null)}tokenize(e,t,i){if(e.length>=this._maxTokenizationLineLength)return(0,r.nullTokenize)(this._languageId,i);let n=new g,o=this._tokenize(e,t,i,n);return n.finalize(o)}tokenizeEncoded(e,t,i){if(e.length>=this._maxTokenizationLineLength)return(0,r.nullTokenizeEncoded)(this._languageService.languageIdCodec.encodeLanguageId(this._languageId),i);let n=new p(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),o=this._tokenize(e,t,i,n);return n.finalize(o)}_tokenize(e,t,i,n){return i.embeddedLanguageData?this._nestedTokenize(e,t,i,0,n):this._myTokenize(e,t,i,0,n)}_findLeavingNestedLanguageOffset(e,t){let i=this._lexer.tokenizer[t.stack.state];if(!i&&!(i=s.findRules(this._lexer,t.stack.state)))throw s.createError(this._lexer,"tokenizer state is not defined: "+t.stack.state);let n=-1,r=!1;for(let t of i){if(!s.isIAction(t.action)||"@pop"!==t.action.nextEmbedded)continue;r=!0;let i=t.regex,o=t.regex.source;if("^(?:"===o.substr(0,4)&&")"===o.substr(o.length-1,1)){let e=(i.ignoreCase?"i":"")+(i.unicode?"u":"");i=new RegExp(o.substr(4,o.length-5),e)}let a=e.search(i);-1!==a&&(0===a||!t.matchOnlyAtLineStart)&&(-1===n||a0&&r.nestedLanguageTokenize(s,!1,i.embeddedLanguageData,n);let a=e.substring(o);return this._myTokenize(a,t,i,n+o,r)}_safeRuleName(e){return e?e.name:"(unknown)"}_myTokenize(e,t,i,n,r){r.enterLanguage(this._languageId);let o=e.length,a=t&&this._lexer.includeLF?e+"\n":e,l=a.length,c=i.embeddedLanguageData,u=i.stack,h=0,g=null,p=!0;for(;p||h=l)break;p=!1;let e=this._lexer.tokenizer[v];if(!e&&!(e=s.findRules(this._lexer,v)))throw s.createError(this._lexer,"tokenizer state is not defined: "+v);let t=a.substr(h);for(let i of e)if((0===h||!i.matchOnlyAtLineStart)&&(_=t.match(i.regex))){b=_[0],y=i.action;break}}if(_||(_=[""],b=""),y||(h=this._lexer.maxStack)throw s.createError(this._lexer,"maximum tokenizer stack size reached: ["+u.state+","+u.parent.state+",...]");u=u.push(v)}else if("@pop"===y.next){if(u.depth<=1)throw s.createError(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(C));u=u.pop()}else if("@popall"===y.next)u=u.popall();else{let e=s.substituteMatches(this._lexer,y.next,b,_,v);if("@"===e[0]&&(e=e.substr(1)),s.findRules(this._lexer,e))u=u.push(e);else throw s.createError(this._lexer,"trying to set a next state '"+e+"' that is undefined in rule: "+this._safeRuleName(C))}}y.log&&"string"==typeof y.log&&s.log(this._lexer,this._lexer.languageId+": "+s.substituteMatches(this._lexer,y.log,b,_,v))}if(null===S)throw s.createError(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(C));let x=i=>{let o=this._languageService.getLanguageIdByLanguageName(i)||this._languageService.getLanguageIdByMimeType(i)||i,s=this._getNestedEmbeddedLanguageData(o);if(!(h0)throw s.createError(this._lexer,"groups cannot be nested: "+this._safeRuleName(C));if(_.length!==S.length+1)throw s.createError(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(C));let e=0;for(let t=1;t<_.length;t++)e+=_[t].length;if(e!==b.length)throw s.createError(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(C));g={rule:C,matches:_,groups:[]};for(let e=0;e=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([(i=a.IConfigurationService,function(e,t){i(e,t,4)})],f)}),eK.register("6yDmB",function(e,t){function i(e){return!Array.isArray(e)}function n(e){return"string"==typeof e}function r(e){return!n(e)}function s(e){return!e}function a(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function l(e){return e.replace(/[&<>'"_]/g,"-")}function c(e,t){console.log(`${e.languageId}: ${t}`)}function u(e,t){return Error(`${e.languageId}: ${t}`)}function d(e,t,i,n,r){let o=null;return t.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,function(t,s,l,c,u,d,h,g,p){return l?"$":c?a(e,i):u&&u0;){let t=e.tokenizer[i];if(t)return t;let n=i.lastIndexOf(".");i=n<0?null:i.substr(0,n)}return null}function g(e,t){let i=t;for(;i&&i.length>0;){let t=e.stateNames[i];if(t)return!0;let n=i.lastIndexOf(".");i=n<0?null:i.substr(0,n)}return!1}o(e.exports,"isFuzzyAction",()=>i),o(e.exports,"isString",()=>n),o(e.exports,"isIAction",()=>r),o(e.exports,"empty",()=>s),o(e.exports,"fixCase",()=>a),o(e.exports,"sanitize",()=>l),o(e.exports,"log",()=>c),o(e.exports,"createError",()=>u),o(e.exports,"substituteMatches",()=>d),o(e.exports,"findRules",()=>h),o(e.exports,"stateExists",()=>g)}),eK.register("jtT9C",function(e,t){o(e.exports,"StandaloneEditor",()=>M),o(e.exports,"createTextModel",()=>F),o(e.exports,"StandaloneDiffEditor",()=>R);var i=eK("h7ozq"),n=eK("ldoGF"),r=eK("xsPcJ"),s=eK("7ICyE"),a=eK("7NOuw"),l=eK("c8cpw"),c=eK("iEXJ3"),u=eK("6Ghil"),d=eK("fru8S"),h=eK("3vG9N"),g=eK("aKWdS"),p=eK("1eGm6"),f=eK("3peGu"),m=eK("yPX6c"),v=eK("9vhsn"),_=eK("sCGbs"),b=eK("hjcoh"),y=eK("i04Qt"),C=eK("9nBfi"),w=eK("jsUVX"),S=eK("1LCfS"),x=eK("fGRPx"),E=eK("d2XvS"),k=eK("7S3oT"),D=eK("3mUF9"),P=eK("aVG2E"),L=eK("if14F"),A=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s},I=function(e,t){return function(i,n){t(i,n,e)}};let N=0,T=!1,O=class extends s.CodeEditorWidget{constructor(e,t,n,r,o,s,a,l,u,d,h,g){let p=Object.assign({},t);p.ariaLabel=p.ariaLabel||C.StandaloneCodeEditorNLS.editorViewAccessibleLabel,p.ariaLabel=p.ariaLabel+";"+C.StandaloneCodeEditorNLS.accessibilityHelpMessage,super(e,p,{},n,r,o,s,l,u,d,h,g),a instanceof c.StandaloneKeybindingService?this._standaloneKeybindingService=a:this._standaloneKeybindingService=null,function(e){if(!e){if(T)return;T=!0}i.setARIAContainer(e||document.body)}(p.ariaContainerElement)}addCommand(e,t,i){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;let n="DYNAMIC_"+ ++N,r=(0,p.ContextKeyExpr).deserialize(i);return this._standaloneKeybindingService.addDynamicKeybinding(n,e,t,r),n}createContextKey(e,t){return this._contextKeyService.createKey(e,t)}addAction(e){if("string"!=typeof e.id||"string"!=typeof e.label||"function"!=typeof e.run)throw Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),n.Disposable.None;let t=e.id,i=e.label,r=(0,p.ContextKeyExpr).and((0,p.ContextKeyExpr).equals("editorId",this.getId()),(0,p.ContextKeyExpr).deserialize(e.precondition)),o=e.keybindings,s=(0,p.ContextKeyExpr).and(r,(0,p.ContextKeyExpr).deserialize(e.keybindingContext)),a=e.contextMenuGroupId||null,c=e.contextMenuOrder||0,u=(t,...i)=>Promise.resolve(e.run(this,...i)),g=new n.DisposableStore,f=this.getId()+":"+t;if(g.add((0,h.CommandsRegistry).registerCommand(f,u)),a&&g.add((0,d.MenuRegistry).appendMenuItem(d.MenuId.EditorContext,{command:{id:f,title:i},when:r,group:a,order:c})),Array.isArray(o))for(let e of o)g.add(this._standaloneKeybindingService.addDynamicKeybinding(f,e,u,s));let m=new l.InternalEditorAction(f,i,i,r,(...t)=>Promise.resolve(e.run(this,...t)),this._contextKeyService);return this._actions.set(t,m),g.add((0,n.toDisposable)(()=>{this._actions.delete(t)})),g}_triggerCommand(e,t){if(this._codeEditorService instanceof k.StandaloneCodeEditorService)try{this._codeEditorService.setActiveCodeEditor(this),super._triggerCommand(e,t)}finally{this._codeEditorService.setActiveCodeEditor(null)}else super._triggerCommand(e,t)}};O=A([I(2,m.IInstantiationService),I(3,r.ICodeEditorService),I(4,h.ICommandService),I(5,p.IContextKeyService),I(6,v.IKeybindingService),I(7,b.IThemeService),I(8,_.INotificationService),I(9,y.IAccessibilityService),I(10,P.ILanguageConfigurationService),I(11,L.ILanguageFeaturesService)],O);let M=class extends O{constructor(e,t,i,n,r,o,s,a,l,u,d,h,g,p,f){let m;let v=Object.assign({},t);(0,c.updateConfigurationService)(u,v,!1);let _=a.registerEditorContainer(e);"string"==typeof v.theme&&a.setTheme(v.theme),void 0!==v.autoDetectHighContrast&&a.setAutoDetectHighContrast(!!v.autoDetectHighContrast);let b=v.model;if(delete v.model,super(e,v,i,n,r,o,s,a,l,d,p,f),this._configurationService=u,this._standaloneThemeService=a,this._register(_),void 0===b){let e=g.getLanguageIdByMimeType(v.language)||v.language||D.PLAINTEXT_LANGUAGE_ID;m=F(h,g,v.value||"",e,void 0),this._ownsModel=!0}else m=b,this._ownsModel=!1;if(this._attachModel(m),m){let e={oldModelUrl:null,newModelUrl:m.uri};this._onDidChangeModel.fire(e)}}dispose(){super.dispose()}updateOptions(e){(0,c.updateConfigurationService)(this._configurationService,e,!1),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),void 0!==e.autoDetectHighContrast&&this._standaloneThemeService.setAutoDetectHighContrast(!!e.autoDetectHighContrast),super.updateOptions(e)}_postDetachModelCleanup(e){super._postDetachModelCleanup(e),e&&this._ownsModel&&(e.dispose(),this._ownsModel=!1)}};M=A([I(2,m.IInstantiationService),I(3,r.ICodeEditorService),I(4,h.ICommandService),I(5,p.IContextKeyService),I(6,v.IKeybindingService),I(7,u.IStandaloneThemeService),I(8,_.INotificationService),I(9,g.IConfigurationService),I(10,y.IAccessibilityService),I(11,x.IModelService),I(12,E.ILanguageService),I(13,P.ILanguageConfigurationService),I(14,L.ILanguageFeaturesService)],M);let R=class extends a.DiffEditorWidget{constructor(e,t,i,n,r,o,s,a,l,u,d){let h=Object.assign({},t);(0,c.updateConfigurationService)(a,h,!0);let g=o.registerEditorContainer(e);"string"==typeof h.theme&&o.setTheme(h.theme),void 0!==h.autoDetectHighContrast&&o.setAutoDetectHighContrast(!!h.autoDetectHighContrast),super(e,h,{},d,n,i,r,o,s,l,u),this._configurationService=a,this._standaloneThemeService=o,this._register(g)}dispose(){super.dispose()}updateOptions(e){(0,c.updateConfigurationService)(this._configurationService,e,!0),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),void 0!==e.autoDetectHighContrast&&this._standaloneThemeService.setAutoDetectHighContrast(!!e.autoDetectHighContrast),super.updateOptions(e)}_createInnerEditor(e,t,i){return e.createInstance(O,t,i)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(e,t,i){return this.getModifiedEditor().addCommand(e,t,i)}createContextKey(e,t){return this.getModifiedEditor().createContextKey(e,t)}addAction(e){return this.getModifiedEditor().addAction(e)}};function F(e,t,i,n,r){if(i=i||"",!n){let n=i.indexOf("\n"),o=i;return -1!==n&&(o=i.substring(0,n)),K(e,i,t.createByFilepathOrFirstLine(r||null,o),r)}return K(e,i,t.createById(n),r)}function K(e,t,i,n){return e.createModel(t,i,n)}R=A([I(2,m.IInstantiationService),I(3,p.IContextKeyService),I(4,r.ICodeEditorService),I(5,u.IStandaloneThemeService),I(6,_.INotificationService),I(7,g.IConfigurationService),I(8,f.IContextMenuService),I(9,S.IEditorProgressService),I(10,w.IClipboardService)],R)}),eK.register("h7ozq",function(e,t){let i,n,r,s,a;o(e.exports,"setARIAContainer",()=>u),o(e.exports,"alert",()=>d),o(e.exports,"status",()=>h);var l=eK("hlae2"),c=eK("eAnxj");function u(e){(i=document.createElement("div")).className="monaco-aria-container";let t=()=>{let e=document.createElement("div");return e.className="monaco-alert",e.setAttribute("role","alert"),e.setAttribute("aria-atomic","true"),i.appendChild(e),e};n=t(),r=t();let o=()=>{let e=document.createElement("div");return e.className="monaco-status",e.setAttribute("role","complementary"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),i.appendChild(e),e};s=o(),a=o(),e.appendChild(i)}function d(e){i&&(n.textContent!==e?(l.clearNode(r),g(n,e)):(l.clearNode(n),g(r,e)))}function h(e){i&&(c.isMacintosh?d(e):s.textContent!==e?(l.clearNode(a),g(s,e)):(l.clearNode(s),g(a,e)))}function g(e,t){l.clearNode(e),t.length>2e4&&(t=t.substr(0,2e4)),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}}),eK.register("hlae2",function(e,t){let i,n;o(e.exports,"clearNode",()=>v),o(e.exports,"isInDOM",()=>_),o(e.exports,"addDisposableListener",()=>y),o(e.exports,"addStandardDisposableListener",()=>w),o(e.exports,"addStandardDisposableGenericMouseDownListener",()=>S),o(e.exports,"EventType",()=>Z),o(e.exports,"runAtThisOrScheduleAtNextAnimationFrame",()=>i),o(e.exports,"scheduleAtNextAnimationFrame",()=>n),o(e.exports,"getComputedStyle",()=>E),o(e.exports,"getClientArea",()=>k),o(e.exports,"Dimension",()=>P),o(e.exports,"getTopLeftOffset",()=>L),o(e.exports,"size",()=>A),o(e.exports,"getDomNodePagePosition",()=>I),o(e.exports,"getDomNodeZoomLevel",()=>N),o(e.exports,"getTotalWidth",()=>T),o(e.exports,"getContentWidth",()=>O),o(e.exports,"getContentHeight",()=>M),o(e.exports,"getTotalHeight",()=>R),o(e.exports,"isAncestor",()=>F),o(e.exports,"findParentWithClass",()=>K),o(e.exports,"hasParentWithClass",()=>B),o(e.exports,"isInShadowDOM",()=>W),o(e.exports,"getShadowRoot",()=>z),o(e.exports,"getActiveElement",()=>V),o(e.exports,"createStyleSheet",()=>H),o(e.exports,"createCSSRule",()=>G),o(e.exports,"removeCSSRulesContainingSelector",()=>q),o(e.exports,"isHTMLElement",()=>Y),o(e.exports,"isEventLike",()=>J),o(e.exports,"EventHelper",()=>Q),o(e.exports,"saveParentsScrollTop",()=>$),o(e.exports,"restoreParentsScrollTop",()=>ee),o(e.exports,"trackFocus",()=>ei),o(e.exports,"append",()=>en),o(e.exports,"prepend",()=>er),o(e.exports,"reset",()=>eo),o(e.exports,"$",()=>el),o(e.exports,"setVisibility",()=>ec),o(e.exports,"show",()=>eu),o(e.exports,"hide",()=>ed),o(e.exports,"computeScreenAwareSize",()=>eh),o(e.exports,"windowOpenNoOpener",()=>eg),o(e.exports,"animate",()=>ep),o(e.exports,"asCSSUrl",()=>ef),o(e.exports,"asCSSPropertyValue",()=>em),o(e.exports,"asCssValueWithDefault",()=>function e(t,i){if(void 0!==t){let n=t.match(/^\s*var\((.+)\)$/);if(n){let t=n[1].split(",",2);return 2===t.length&&(i=e(t[1].trim(),i)),`var(${t[0]}, ${i})`}return t}return i}),o(e.exports,"hookDomPurifyHrefAndSrcSanitizer",()=>ev),o(e.exports,"basicMarkupHtmlTags",()=>e_),o(e.exports,"ModifierKeyEmitter",()=>eb),o(e.exports,"DragAndDropObserver",()=>ey),o(e.exports,"h",()=>ew);var r,s,a=eK("aZ0DQ"),l=eK("1IYAi"),c=eK("5H9e9"),u=eK("g8dQw"),d=eK("feAe9"),h=eK("hhGVE"),g=eK("lJizI"),p=eK("ldoGF"),f=eK("bCPHa"),m=eK("eAnxj");function v(e){for(;e.firstChild;)e.firstChild.remove()}function _(e){var t;return null!==(t=null==e?void 0:e.isConnected)&&void 0!==t&&t}class b{constructor(e,t,i,n){this._node=e,this._type=t,this._handler=i,this._options=n||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function y(e,t,i,n){return new b(e,t,i,n)}function C(e){return function(t){return e(new u.StandardMouseEvent(t))}}let w=function(e,t,i,n){let r=i;return"click"===t||"mousedown"===t?r=C(i):("keydown"===t||"keypress"===t||"keyup"===t)&&(r=function(e){return i(new c.StandardKeyboardEvent(e))}),y(e,t,r,n)},S=function(e,t,i){let n=C(t);return y(e,m.isIOS&&l.BrowserFeatures.pointerEvents?Z.POINTER_DOWN:Z.MOUSE_DOWN,n,i)};class x{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){(0,d.onUnexpectedError)(e)}}static sort(e,t){return t.priority-e.priority}}function E(e){return document.defaultView.getComputedStyle(e,null)}function k(e){if(e!==document.body)return new P(e.clientWidth,e.clientHeight);if(m.isIOS&&window.visualViewport)return new P(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new P(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new P(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new P(document.documentElement.clientWidth,document.documentElement.clientHeight);throw Error("Unable to figure out browser width and height")}!function(){let e=[],t=null,r=!1,o=!1,s=()=>{for(r=!1,t=e,e=[],o=!0;t.length>0;){t.sort(x.sort);let e=t.shift();e.execute()}o=!1};n=(t,i=0)=>{let n=new x(t,i);return e.push(n),r||(r=!0,requestAnimationFrame(s)),n},i=(e,i)=>{if(!o)return n(e,i);{let n=new x(e,i);return t.push(n),n}}}();class D{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,i){let n=E(e),r=n?n.getPropertyValue(t):"0";return D.convertToPixels(e,r)}static getBorderLeftWidth(e){return D.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return D.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return D.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return D.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return D.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return D.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return D.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return D.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return D.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return D.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return D.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return D.getDimension(e,"margin-bottom","marginBottom")}}class P{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new P(e,t):this}static is(e){return"object"==typeof e&&"number"==typeof e.height&&"number"==typeof e.width}static lift(e){return e instanceof P?e:new P(e.width,e.height)}static equals(e,t){return e===t||!!e&&!!t&&e.width===t.width&&e.height===t.height}}function L(e){let t=e.offsetParent,i=e.offsetTop,n=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){i-=e.scrollTop;let r=X(e)?null:E(e);r&&(n-="rtl"!==r.direction?e.scrollLeft:-e.scrollLeft),e===t&&(n+=D.getBorderLeftWidth(e),i+=D.getBorderTopWidth(e)+e.offsetTop,n+=e.offsetLeft,t=e.offsetParent)}return{left:n,top:i}}function A(e,t,i){"number"==typeof t&&(e.style.width=`${t}px`),"number"==typeof i&&(e.style.height=`${i}px`)}function I(e){let t=e.getBoundingClientRect();return{left:t.left+window.scrollX,top:t.top+window.scrollY,width:t.width,height:t.height}}function N(e){let t=e,i=1;do{let e=E(t).zoom;null!=e&&"1"!==e&&(i*=e),t=t.parentElement}while(null!==t&&t!==document.documentElement)return i}function T(e){let t=D.getMarginLeft(e)+D.getMarginRight(e);return e.offsetWidth+t}function O(e){let t=D.getBorderLeftWidth(e)+D.getBorderRightWidth(e),i=D.getPaddingLeft(e)+D.getPaddingRight(e);return e.offsetWidth-t-i}function M(e){let t=D.getBorderTopWidth(e)+D.getBorderBottomWidth(e),i=D.getPaddingTop(e)+D.getPaddingBottom(e);return e.offsetHeight-t-i}function R(e){let t=D.getMarginTop(e)+D.getMarginBottom(e);return e.offsetHeight+t}function F(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function K(e,t,i){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e.classList.contains(t))return e;if(i){if("string"==typeof i){if(e.classList.contains(i))break}else if(e===i)break}e=e.parentNode}return null}function B(e,t,i){return!!K(e,t,i)}function X(e){return e&&!!e.host&&!!e.mode}function W(e){return!!z(e)}function z(e){for(;e.parentNode;){if(e===document.body)return null;e=e.parentNode}return X(e)?e:null}function V(){let e=document.activeElement;for(;null==e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function H(e=document.getElementsByTagName("head")[0],t){let i=document.createElement("style");return i.type="text/css",i.media="screen",null==t||t(i),e.appendChild(i),i}P.None=new P(0,0);let U=null;function j(){return U||(U=H()),U}function G(e,t,i=j()){i&&t&&i.sheet.insertRule(e+"{"+t+"}",0)}function q(e,t=j()){var i,n;if(!t)return;let r=(null===(i=null==t?void 0:t.sheet)||void 0===i?void 0:i.rules)?t.sheet.rules:(null===(n=null==t?void 0:t.sheet)||void 0===n?void 0:n.cssRules)?t.sheet.cssRules:[],o=[];for(let t=0;t=0;e--)t.sheet.deleteRule(o[e])}function Y(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName}let Z={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",POINTER_LEAVE:"pointerleave",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",PAGE_SHOW:"pageshow",PAGE_HIDE:"pagehide",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:a.isWebKit?"webkitAnimationStart":"animationstart",ANIMATION_END:a.isWebKit?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:a.isWebKit?"webkitAnimationIteration":"animationiteration"};function J(e){return!!(e&&"function"==typeof e.preventDefault&&"function"==typeof e.stopPropagation)}let Q={stop:(e,t)=>(e.preventDefault(),t&&e.stopPropagation(),e)};function $(e){let t=[];for(let i=0;e&&e.nodeType===e.ELEMENT_NODE;i++)t[i]=e.scrollTop,e=e.parentNode;return t}function ee(e,t){for(let i=0;e&&e.nodeType===e.ELEMENT_NODE;i++)e.scrollTop!==t[i]&&(e.scrollTop=t[i]),e=e.parentNode}class et extends p.Disposable{static hasFocusWithin(e){let t=z(e),i=t?t.activeElement:document.activeElement;return F(i,e)}constructor(e){super(),this._onDidFocus=this._register(new h.Emitter),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new h.Emitter),this.onDidBlur=this._onDidBlur.event;let t=et.hasFocusWithin(e),i=!1,n=()=>{i=!1,t||(t=!0,this._onDidFocus.fire())},r=()=>{t&&(i=!0,window.setTimeout(()=>{i&&(i=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{let i=et.hasFocusWithin(e);i!==t&&(t?r():n())},this._register(y(e,Z.FOCUS,n,!0)),this._register(y(e,Z.BLUR,r,!0)),this._register(y(e,Z.FOCUS_IN,()=>this._refreshStateHandler())),this._register(y(e,Z.FOCUS_OUT,()=>this._refreshStateHandler()))}}function ei(e){return new et(e)}function en(e,...t){if(e.append(...t),1===t.length&&"string"!=typeof t[0])return t[0]}function er(e,t){return e.insertBefore(t,e.firstChild),t}function eo(e,...t){e.innerText="",en(e,...t)}let es=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;function ea(e,t,i,...n){let r;let o=es.exec(t);if(!o)throw Error("Bad use of emmet");let a=o[1]||"div";return r=e!==s.HTML?document.createElementNS(e,a):document.createElement(a),o[3]&&(r.id=o[3]),o[4]&&(r.className=o[4].replace(/\./g," ").trim()),i&&Object.entries(i).forEach(([e,t])=>{void 0!==t&&(/^on\w+$/.test(e)?r[e]=t:"selected"===e?t&&r.setAttribute(e,"true"):r.setAttribute(e,t))}),r.append(...n),r}function el(e,t,...i){return ea(s.HTML,e,t,...i)}function ec(e,...t){e?eu(...t):ed(...t)}function eu(...e){for(let t of e)t.style.display="",t.removeAttribute("aria-hidden")}function ed(...e){for(let t of e)t.style.display="none",t.setAttribute("aria-hidden","true")}function eh(e){let t=window.devicePixelRatio*e;return Math.max(1,Math.floor(t))/window.devicePixelRatio}function eg(e){window.open(e,"_blank","noopener")}function ep(e){let t=()=>{e(),i=n(t)},i=n(t);return(0,p.toDisposable)(()=>i.dispose())}function ef(e){return e?`url('${(0,f.FileAccess).uriToBrowserUri(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"}function em(e){return`'${e.replace(/'/g,"%27")}'`}function ev(e,t=!1){let i=document.createElement("a");return g.addHook("afterSanitizeAttributes",n=>{for(let r of["href","src"])if(n.hasAttribute(r)){let o=n.getAttribute(r);if("href"===r&&o.startsWith("#"))continue;if(i.href=o,!e.includes(i.protocol.replace(/:$/,""))){if(t&&"src"===r&&i.href.startsWith("data:"))continue;n.removeAttribute(r)}}}),(0,p.toDisposable)(()=>{g.removeHook("afterSanitizeAttributes")})}(r=s||(s={})).HTML="http://www.w3.org/1999/xhtml",r.SVG="http://www.w3.org/2000/svg",el.SVG=function(e,t,...i){return ea(s.SVG,e,t,...i)},(0,f.RemoteAuthorities).setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");let e_=Object.freeze(["a","abbr","b","bdo","blockquote","br","caption","cite","code","col","colgroup","dd","del","details","dfn","div","dl","dt","em","figcaption","figure","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","label","li","mark","ol","p","pre","q","rp","rt","ruby","samp","small","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","time","tr","tt","u","ul","var","video","wbr"]);Object.freeze({ALLOWED_TAGS:["a","button","blockquote","code","div","h1","h2","h3","h4","h5","h6","hr","input","label","li","p","pre","select","small","span","strong","textarea","ul","ol"],ALLOWED_ATTR:["href","data-href","data-command","target","title","name","src","alt","class","id","role","tabindex","style","data-code","width","height","align","x-dispatch","required","checked","placeholder","type","start"],RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1,RETURN_TRUSTED_TYPE:!0});class eb extends h.Emitter{constructor(){super(),this._subscriptions=new p.DisposableStore,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(y(window,"keydown",e=>{if(e.defaultPrevented)return;let t=new c.StandardKeyboardEvent(e);if(6!==t.keyCode||!e.repeat){if(e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else{if(6===t.keyCode)return;this._keyStatus.lastKeyPressed=void 0}this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=e,this.fire(this._keyStatus))}},!0)),this._subscriptions.add(y(window,"keyup",e=>{!e.defaultPrevented&&(!e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!e.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased="shift":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=e,this.fire(this._keyStatus)))},!0)),this._subscriptions.add(y(document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(y(document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(y(document.body,"mousemove",e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),this._subscriptions.add(y(window,"blur",()=>{this.resetKeyStatus()}))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return eb.instance||(eb.instance=new eb),eb.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}class ey extends p.Disposable{constructor(e,t){super(),this.element=e,this.callbacks=t,this.counter=0,this.dragStartTime=0,this.registerListeners()}registerListeners(){this._register(y(this.element,Z.DRAG_ENTER,e=>{this.counter++,this.dragStartTime=e.timeStamp,this.callbacks.onDragEnter(e)})),this._register(y(this.element,Z.DRAG_OVER,e=>{var t,i;e.preventDefault(),null===(i=(t=this.callbacks).onDragOver)||void 0===i||i.call(t,e,e.timeStamp-this.dragStartTime)})),this._register(y(this.element,Z.DRAG_LEAVE,e=>{this.counter--,0===this.counter&&(this.dragStartTime=0,this.callbacks.onDragLeave(e))})),this._register(y(this.element,Z.DRAG_END,e=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDragEnd(e)})),this._register(y(this.element,Z.DROP,e=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDrop(e)}))}}let eC=/(?[\w\-]+)?(?:#(?[\w\-]+))?(?(?:\.(?:[\w\-]+))*)(?:@(?(?:[\w\_])+))?/;function ew(e,...t){let i,n;Array.isArray(t[0])?(i={},n=t[0]):(i=t[0]||{},n=t[1]);let r=eC.exec(e);if(!r||!r.groups)throw Error("Bad use of h");let o=r.groups.tag||"div",s=document.createElement(o);r.groups.id&&(s.id=r.groups.id);let a=[];if(r.groups.class)for(let e of r.groups.class.split("."))""!==e&&a.push(e);if(void 0!==i.className)for(let e of i.className.split("."))""!==e&&a.push(e);a.length>0&&(s.className=a.join(" "));let l={};if(r.groups.name&&(l[r.groups.name]=s),n)for(let e of n)e instanceof HTMLElement?s.appendChild(e):"string"==typeof e?s.append(e):"root"in e&&(Object.assign(l,e),s.appendChild(e.root));for(let[e,t]of Object.entries(i))if("className"!==e){if("style"===e)for(let[e,i]of Object.entries(t))s.style.setProperty(eS(e),"number"==typeof i?i+"px":""+i);else"tabIndex"===e?s.tabIndex=t:s.setAttribute(eS(e),t.toString())}return l.root=s,l}function eS(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}}),eK.register("1IYAi",function(e,t){o(e.exports,"BrowserFeatures",()=>r);var i=eK("aZ0DQ"),n=eK("eAnxj");let r={clipboard:{writeText:n.isNative||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:n.isNative||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:n.isNative||i.isStandalone()?0:navigator.keyboard||i.isSafari?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)}}),eK.register("5H9e9",function(e,t){o(e.exports,"StandardKeyboardEvent",()=>c);var i=eK("aZ0DQ"),n=eK("cEwMX"),r=eK("kTCF1"),s=eK("eAnxj");let a=s.isMacintosh?256:2048,l=s.isMacintosh?2048:256;class c{constructor(e){this._standardKeyboardEventBrand=!0,this.browserEvent=e,this.target=e.target,this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,this.altGraphKey=e.getModifierState("AltGraph"),this.keyCode=function(e){if(e.charCode){let t=String.fromCharCode(e.charCode).toUpperCase();return(0,n.KeyCodeUtils).fromString(t)}let t=e.keyCode;if(3===t)return 7;if(i.isFirefox)switch(t){case 59:return 85;case 60:if(s.isLinux)return 97;break;case 61:return 86;case 107:return 109;case 109:return 111;case 173:return 88;case 224:if(s.isMacintosh)return 57}else if(i.isWebKit&&(s.isMacintosh&&93===t||!s.isMacintosh&&92===t))return 57;return n.EVENT_KEY_CODE_MAP[t]||0}(e),this.code=e.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asKeyCodeChord=this._computeKeyCodeChord()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeyCodeChord(){return this._asKeyCodeChord}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=a),this.altKey&&(t|=512),this.shiftKey&&(t|=1024),this.metaKey&&(t|=l),t|=e}_computeKeyCodeChord(){let e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new r.KeyCodeChord(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}}),eK.register("kTCF1",function(e,t){o(e.exports,"decodeKeybinding",()=>n),o(e.exports,"KeyCodeChord",()=>s),o(e.exports,"ResolvedChord",()=>l),o(e.exports,"ResolvedKeybinding",()=>c);var i=eK("feAe9");function n(e,t){if("number"==typeof e){if(0===e)return null;let i=(65535&e)>>>0,n=(4294901760&e)>>>16;return new a(0!==n?[r(i,t),r(n,t)]:[r(i,t)])}{let i=[];for(let n=0;ns),o(e.exports,"StandardWheelEvent",()=>a);var i=eK("aZ0DQ"),n=eK("iXP1Y"),r=eK("eAnxj");class s{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,"dblclick"===e.type&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,"number"==typeof e.pageX?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);let t=(0,n.IframeUtils).getPositionOfChildWindowRelativeToAncestorWindow(window,e.view);this.posx-=t.left,this.posy-=t.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class a{constructor(e,t=0,n=0){this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=n,this.deltaX=t,e&&(void 0!==e.wheelDeltaY?this.deltaY=e.wheelDeltaY/120:void 0!==e.VERTICAL_AXIS&&e.axis===e.VERTICAL_AXIS?this.deltaY=-e.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?i.isFirefox&&!r.isMacintosh?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40),void 0!==e.wheelDeltaX?i.isSafari&&r.isWindows?this.deltaX=-(e.wheelDeltaX/120):this.deltaX=e.wheelDeltaX/120:void 0!==e.HORIZONTAL_AXIS&&e.axis===e.HORIZONTAL_AXIS?this.deltaX=-e.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?i.isFirefox&&!r.isMacintosh?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40),0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120))}preventDefault(){var e;null===(e=this.browserEvent)||void 0===e||e.preventDefault()}stopPropagation(){var e;null===(e=this.browserEvent)||void 0===e||e.stopPropagation()}}}),eK.register("iXP1Y",function(e,t){o(e.exports,"IframeUtils",()=>n);let i=null;class n{static getSameOriginWindowChain(){if(!i){let e;i=[];let t=window;do(e=function(e){if(!e.parent||e.parent===e)return null;try{let t=e.location,i=e.parent.location;if("null"!==t.origin&&"null"!==i.origin&&t.origin!==i.origin)return null}catch(e){return null}return e.parent}(t))?i.push({window:t,iframeElement:t.frameElement||null}):i.push({window:t,iframeElement:null}),t=e;while(t)}return i.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let i=0,n=0,r=this.getSameOriginWindowChain();for(let e of r){if(i+=e.window.scrollY,n+=e.window.scrollX,e.window===t||!e.iframeElement)break;let r=e.iframeElement.getBoundingClientRect();i+=r.top,n+=r.left}return{top:i,left:n}}}}),eK.register("lJizI",function(e,t){o(e.exports,"sanitize",()=>J),o(e.exports,"addHook",()=>Q),o(e.exports,"removeHook",()=>$);var i,n=Object.hasOwnProperty,r=Object.setPrototypeOf,s=Object.isFrozen,a=Object.getPrototypeOf,l=Object.getOwnPropertyDescriptor,c=Object.freeze,u=Object.seal,d=Object.create,h="undefined"!=typeof Reflect&&Reflect,g=h.apply,p=h.construct;g||(g=function(e,t,i){return e.apply(t,i)}),c||(c=function(e){return e}),u||(u=function(e){return e}),p||(p=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,i=Array(e.length);t1?i-1:0),r=1;r/gm),z=u(/^data-[\-\w.\u00B7-\uFFFF]/),V=u(/^aria-[\-\w]+$/),H=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=u(/^(?:\w+script|data):/i),j=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function q(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,i=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,i=function(t){return e(t)};if(i.version="2.3.1",i.removed=[],!t||!t.document||9!==t.document.nodeType)return i.isSupported=!1,i;var n=t.document,r=t.document,o=t.DocumentFragment,s=t.HTMLTemplateElement,a=t.Node,l=t.Element,u=t.NodeFilter,d=t.NamedNodeMap,h=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,g=t.Text,p=t.Comment,E=t.DOMParser,Z=t.trustedTypes,J=l.prototype,Q=P(J,"cloneNode"),$=P(J,"nextSibling"),ee=P(J,"childNodes"),et=P(J,"parentNode");if("function"==typeof s){var ei=r.createElement("template");ei.content&&ei.content.ownerDocument&&(r=ei.content.ownerDocument)}var en=Y(Z,n),er=en&&eA?en.createHTML(""):"",eo=r,es=eo.implementation,ea=eo.createNodeIterator,el=eo.createDocumentFragment,ec=eo.getElementsByTagName,eu=n.importNode,ed={};try{ed=D(r).documentMode?r.documentMode:{}}catch(e){}var eh={};i.isSupported="function"==typeof et&&es&&void 0!==es.createHTMLDocument&&9!==ed;var eg=H,ep=null,ef=k({},[].concat(q(L),q(A),q(I),q(T),q(M))),em=null,ev=k({},[].concat(q(R),q(F),q(K),q(B))),e_=null,eb=null,ey=!0,eC=!0,ew=!1,eS=!1,ex=!1,eE=!1,ek=!1,eD=!1,eP=!1,eL=!0,eA=!1,eI=!0,eN=!0,eT=!1,eO={},eM=null,eR=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eF=null,eK=k({},["audio","video","img","source","image","track"]),eB=null,eX=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eW="http://www.w3.org/1998/Math/MathML",ez="http://www.w3.org/2000/svg",eV="http://www.w3.org/1999/xhtml",eH=eV,eU=!1,ej=null,eG=r.createElement("form"),eq=function(e){ej&&ej===e||(e&&(void 0===e?"undefined":G(e))==="object"||(e={}),ep="ALLOWED_TAGS"in(e=D(e))?k({},e.ALLOWED_TAGS):ef,em="ALLOWED_ATTR"in e?k({},e.ALLOWED_ATTR):ev,eB="ADD_URI_SAFE_ATTR"in e?k(D(eX),e.ADD_URI_SAFE_ATTR):eX,eF="ADD_DATA_URI_TAGS"in e?k(D(eK),e.ADD_DATA_URI_TAGS):eK,eM="FORBID_CONTENTS"in e?k({},e.FORBID_CONTENTS):eR,e_="FORBID_TAGS"in e?k({},e.FORBID_TAGS):{},eb="FORBID_ATTR"in e?k({},e.FORBID_ATTR):{},eO="USE_PROFILES"in e&&e.USE_PROFILES,ey=!1!==e.ALLOW_ARIA_ATTR,eC=!1!==e.ALLOW_DATA_ATTR,ew=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eS=e.SAFE_FOR_TEMPLATES||!1,ex=e.WHOLE_DOCUMENT||!1,eD=e.RETURN_DOM||!1,eP=e.RETURN_DOM_FRAGMENT||!1,eL=!1!==e.RETURN_DOM_IMPORT,eA=e.RETURN_TRUSTED_TYPE||!1,ek=e.FORCE_BODY||!1,eI=!1!==e.SANITIZE_DOM,eN=!1!==e.KEEP_CONTENT,eT=e.IN_PLACE||!1,eg=e.ALLOWED_URI_REGEXP||eg,eH=e.NAMESPACE||eV,eS&&(eC=!1),eP&&(eD=!0),eO&&(ep=k({},[].concat(q(M))),em=[],!0===eO.html&&(k(ep,L),k(em,R)),!0===eO.svg&&(k(ep,A),k(em,F),k(em,B)),!0===eO.svgFilters&&(k(ep,I),k(em,F),k(em,B)),!0===eO.mathMl&&(k(ep,T),k(em,K),k(em,B))),e.ADD_TAGS&&(ep===ef&&(ep=D(ep)),k(ep,e.ADD_TAGS)),e.ADD_ATTR&&(em===ev&&(em=D(em)),k(em,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&k(eB,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(eM===eR&&(eM=D(eM)),k(eM,e.FORBID_CONTENTS)),eN&&(ep["#text"]=!0),ex&&k(ep,["html","head","body"]),ep.table&&(k(ep,["tbody"]),delete e_.tbody),c&&c(e),ej=e)},eY=k({},["mi","mo","mn","ms","mtext"]),eZ=k({},["foreignobject","desc","title","annotation-xml"]),eJ=k({},A);k(eJ,I),k(eJ,N);var eQ=k({},T);k(eQ,O);var e$=function(e){var t=et(e);t&&t.tagName||(t={namespaceURI:eV,tagName:"template"});var i=_(e.tagName),n=_(t.tagName);if(e.namespaceURI===ez)return t.namespaceURI===eV?"svg"===i:t.namespaceURI===eW?"svg"===i&&("annotation-xml"===n||eY[n]):!!eJ[i];if(e.namespaceURI===eW)return t.namespaceURI===eV?"math"===i:t.namespaceURI===ez?"math"===i&&eZ[n]:!!eQ[i];if(e.namespaceURI===eV){if(t.namespaceURI===ez&&!eZ[n]||t.namespaceURI===eW&&!eY[n])return!1;var r=k({},["title","style","font","a","script"]);return!eQ[i]&&(r[i]||!eJ[i])}return!1},e0=function(e){v(i.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=er}catch(t){e.remove()}}},e1=function(e,t){try{v(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){v(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!em[e]){if(eD||eP)try{e0(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}}},e2=function(e){var t=void 0,i=void 0;if(ek)e=""+e;else{var n=b(e,/^[\r\n\t ]+/);i=n&&n[0]}var o=en?en.createHTML(e):e;if(eH===eV)try{t=new E().parseFromString(o,"text/html")}catch(e){}if(!t||!t.documentElement){t=es.createDocument(eH,"template",null);try{t.documentElement.innerHTML=eU?"":o}catch(e){}}var s=t.body||t.documentElement;return(e&&i&&s.insertBefore(r.createTextNode(i),s.childNodes[0]||null),eH===eV)?ec.call(t,ex?"html":"body")[0]:ex?t.documentElement:s},e5=function(e){return ea.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},e3=function(e){return(void 0===a?"undefined":G(a))==="object"?e instanceof a:e&&(void 0===e?"undefined":G(e))==="object"&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},e4=function(e,t,n){eh[e]&&f(eh[e],function(e){e.call(i,t,n,ej)})},e6=function(e){var t=void 0;if(e4("beforeSanitizeElements",e,null),!(e instanceof g)&&!(e instanceof p)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof h)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)||b(e.nodeName,/[\u0080-\uFFFF]/))return e0(e),!0;var n=_(e.nodeName);if(e4("uponSanitizeElement",e,{tagName:n,allowedTags:ep}),!e3(e.firstElementChild)&&(!e3(e.content)||!e3(e.content.firstElementChild))&&S(/<[/\w]/g,e.innerHTML)&&S(/<[/\w]/g,e.textContent)||"select"===n&&S(/