From e577740a8fcec6782f60c07a0c9a6718cdf51046 Mon Sep 17 00:00:00 2001 From: linlu <527100546@qq.com> Date: Fri, 4 Mar 2022 16:05:53 +0800 Subject: [PATCH] local cs --- .DS_Store | Bin 260100 -> 239620 bytes images/chrome.jpg | Bin 0 -> 6292 bytes images/firefox.jpg | Bin 0 -> 24803 bytes images/logo.jpg | Bin 0 -> 6563 bytes images/qrcode.png | Bin 0 -> 96008 bytes index.html | 2 +- monaco-editor.fce7562f.async.js | 158 +- ...ists__QuestionManagement.17db6cb2.async.js | 2 +- ..._QuestionManagement__Add.534c7dea.async.js | 2 +- ...stionManagement__Preview.3c4588c0.async.js | 2 +- ...aperlibrary__See__index.8af141b8.chunk.css | 1174 + ...blemset__NewItem__index.dde6efa2.chunk.css | 4924 +++ ..._Preview__Select__index.db29bac5.chunk.css | 2571 ++ ...blemset__Preview__index.d3ee62d8.chunk.css | 652 + p__Problemset__index.5f48282b.chunk.css | 2906 ++ p__RestFul.8982231a.chunk.css | 4105 +++ p__Search__index.59cd17fb.chunk.css | 1540 + ...__AuditSituation__index.2fe852d3.chunk.css | 762 + ...Detail__ForkList__index.5b613bc0.chunk.css | 357 + ...ail__RankingList__index.5dac4d53.chunk.css | 814 + ...ository__AddFile__index.775bc8a3.chunk.css | 925 + ...pository__Commit__index.59d1ea2d.chunk.css | 799 + ...tory__UploadFile__index.c3e44e8e.chunk.css | 3057 ++ ...tail__Repository__index.95ea177c.chunk.css | 3242 ++ ...__Edit__body__Warehouse.8dfda245.chunk.css | 311 + ...ges__EditPracticeSetting.0224245c.async.js | 2 +- p__Shixuns__Exports.6a27b100.chunk.css | 70 + p__Terminal__.860d48fd.chunk.css | 1433 + ...ImentImg__Detail__index.fa5f550d.chunk.css | 167 + ...il__LearningPath__index.31fafc73.chunk.css | 451 + ...tail__TeachGroup__index.f1f2b004.chunk.css | 1971 ++ ...il__UserPortrait__index.91728e9e.chunk.css | 257 + ...Videos__Protocol__index.81c8cb23.chunk.css | 162 + ..._Videos__Success__index.cac4fd28.chunk.css | 173 + ...__Videos__Upload__index.f9f93c1a.chunk.css | 252 + p__User__Detail__id.f9bd7108.chunk.css | 1041 + p__User__Login.19fe6789.async.js | 1 + p__User__OtherLogin.edb2088b.chunk.css | 125 + p__User__Register.f9519706.chunk.css | 58 + p__User__ResetPassword.f9519706.chunk.css | 58 + p__User__StudentLogin.eae50263.chunk.css | 1764 + static/1.30b24860.png | Bin 0 -> 10899 bytes static/2.02e9edfc.png | Bin 0 -> 12061 bytes static/3.4d1fd0e5.png | Bin 0 -> 11992 bytes static/4.7dc92e97.png | Bin 0 -> 12081 bytes static/403Qrcode.6c17b6f4.png | Bin 0 -> 96008 bytes static/AssistantCode.61c5ef8d.png | Bin 0 -> 15538 bytes static/Authorize.cc9c212f.png | Bin 0 -> 10580 bytes static/Certificate.80413b23.png | Bin 0 -> 1068447 bytes static/KaTeX_AMS-Regular.b1489df1.woff | Bin 0 -> 38868 bytes static/KaTeX_AMS-Regular.d4531cf7.woff2 | Bin 0 -> 32944 bytes static/KaTeX_AMS-Regular.f80d9eaf.ttf | Bin 0 -> 70972 bytes static/KaTeX_Caligraphic-Bold.0c96bc8f.ttf | Bin 0 -> 19316 bytes static/KaTeX_Caligraphic-Bold.7ce7636b.woff | Bin 0 -> 11696 bytes static/KaTeX_Caligraphic-Bold.f046a374.woff2 | Bin 0 -> 10448 bytes static/KaTeX_Caligraphic-Regular.35f3c951.ttf | Bin 0 -> 18684 bytes .../KaTeX_Caligraphic-Regular.4519ba4c.woff2 | Bin 0 -> 10240 bytes .../KaTeX_Caligraphic-Regular.4a559f36.woff | Bin 0 -> 11460 bytes static/KaTeX_Fraktur-Bold.069514d4.ttf | Bin 0 -> 35660 bytes static/KaTeX_Fraktur-Bold.2ea3916b.woff | Bin 0 -> 22632 bytes static/KaTeX_Fraktur-Bold.5b8749ee.woff2 | Bin 0 -> 20360 bytes static/KaTeX_Fraktur-Regular.0d90113d.woff | Bin 0 -> 22088 bytes static/KaTeX_Fraktur-Regular.2c629b06.woff2 | Bin 0 -> 19784 bytes static/KaTeX_Fraktur-Regular.96556db6.ttf | Bin 0 -> 34352 bytes static/KaTeX_Main-Bold.07e762d0.ttf | Bin 0 -> 60784 bytes static/KaTeX_Main-Bold.20b90c20.woff2 | Bin 0 -> 30244 bytes static/KaTeX_Main-Bold.a9cdbc85.woff | Bin 0 -> 35464 bytes static/KaTeX_Main-BoldItalic.7649d52f.woff | Bin 0 -> 25352 bytes static/KaTeX_Main-BoldItalic.b345de5b.woff2 | Bin 0 -> 21944 bytes static/KaTeX_Main-BoldItalic.bc8d96e9.ttf | Bin 0 -> 44496 bytes static/KaTeX_Main-Italic.44a32ae6.ttf | Bin 0 -> 47640 bytes static/KaTeX_Main-Italic.ab751a9e.woff2 | Bin 0 -> 22748 bytes static/KaTeX_Main-Italic.e3954fe9.woff | Bin 0 -> 26228 bytes static/KaTeX_Main-Regular.13b3f852.woff2 | Bin 0 -> 32464 bytes static/KaTeX_Main-Regular.9e75cd60.woff | Bin 0 -> 38112 bytes static/KaTeX_Main-Regular.af7fc7b3.ttf | Bin 0 -> 69520 bytes static/KaTeX_Math-BoldItalic.4d6241be.ttf | Bin 0 -> 39308 bytes static/KaTeX_Math-BoldItalic.94810ff6.woff | Bin 0 -> 22324 bytes static/KaTeX_Math-BoldItalic.d5d35e84.woff2 | Bin 0 -> 19720 bytes static/KaTeX_Math-Italic.11278d36.woff | Bin 0 -> 22844 bytes static/KaTeX_Math-Italic.cae7ea26.ttf | Bin 0 -> 40992 bytes static/KaTeX_Math-Italic.ffda8803.woff2 | Bin 0 -> 20096 bytes static/KaTeX_SansSerif-Bold.2946bdb5.woff | Bin 0 -> 18516 bytes static/KaTeX_SansSerif-Bold.5a20a475.woff2 | Bin 0 -> 15732 bytes static/KaTeX_SansSerif-Bold.f0ad0abc.ttf | Bin 0 -> 33688 bytes static/KaTeX_SansSerif-Italic.c7feacd5.ttf | Bin 0 -> 30960 bytes static/KaTeX_SansSerif-Italic.c834ba6d.woff | Bin 0 -> 17572 bytes static/KaTeX_SansSerif-Italic.e5fc2aef.woff2 | Bin 0 -> 15024 bytes static/KaTeX_SansSerif-Regular.5af9e1cf.ttf | Bin 0 -> 29812 bytes static/KaTeX_SansSerif-Regular.5bf28900.woff2 | Bin 0 -> 13708 bytes static/KaTeX_SansSerif-Regular.a4fd0563.woff | Bin 0 -> 16228 bytes static/KaTeX_Script-Regular.a1c15978.woff2 | Bin 0 -> 12064 bytes static/KaTeX_Script-Regular.cd3b0634.woff | Bin 0 -> 13428 bytes static/KaTeX_Script-Regular.dd0db7ae.ttf | Bin 0 -> 24620 bytes static/KaTeX_Size1-Regular.1876361f.woff2 | Bin 0 -> 5592 bytes static/KaTeX_Size1-Regular.bbd9552c.ttf | Bin 0 -> 12916 bytes static/KaTeX_Size1-Regular.c4ae0d25.woff | Bin 0 -> 6696 bytes static/KaTeX_Size2-Regular.635e9324.woff | Bin 0 -> 6436 bytes static/KaTeX_Size2-Regular.d1e8ff17.ttf | Bin 0 -> 12172 bytes static/KaTeX_Size2-Regular.f516b73c.woff2 | Bin 0 -> 5392 bytes static/KaTeX_Size3-Regular.1ef7adae.woff2 | Bin 0 -> 3728 bytes static/KaTeX_Size3-Regular.5d632274.ttf | Bin 0 -> 8120 bytes static/KaTeX_Size3-Regular.f32a9fde.woff | Bin 0 -> 4568 bytes static/KaTeX_Size4-Regular.1d132596.ttf | Bin 0 -> 11016 bytes static/KaTeX_Size4-Regular.4f012d6a.woff2 | Bin 0 -> 5028 bytes static/KaTeX_Size4-Regular.f668d566.woff | Bin 0 -> 6184 bytes .../KaTeX_Typewriter-Regular.4f31d033.woff2 | Bin 0 -> 17272 bytes static/KaTeX_Typewriter-Regular.b1d1af1a.ttf | Bin 0 -> 35924 bytes static/KaTeX_Typewriter-Regular.d3c8e68f.woff | Bin 0 -> 20260 bytes static/RepositoryNoneData.828085a8.png | Bin 0 -> 69418 bytes static/a.13a99c3e.svg | 14 + static/auth.ea067b42.png | Bin 0 -> 32571 bytes static/b.25fbbddb.svg | 12 + static/backgroundimg.704ff3ea.png | Bin 0 -> 268091 bytes static/banner.4c45dd73.png | Bin 0 -> 87709 bytes static/beian.0c577066.png | Bin 0 -> 19256 bytes static/bg.08b15d1c.jpg | Bin 0 -> 151009 bytes static/bg.ac7ae648.png | Bin 0 -> 982977 bytes static/c.aa623332.svg | 12 + static/certificate.fc32dc1b.jpg | Bin 0 -> 268815 bytes static/charpter-white.5fa14f93.svg | 17 + static/checkbox.f32c12cb.svg | 1 + static/choose.4ad1045f.svg | 25 + static/classroom-banner.1d89b188.png | Bin 0 -> 314940 bytes static/code.9523c4dc.png | Bin 0 -> 11078 bytes static/codicon.9242107d.ttf | Bin 0 -> 56484 bytes static/course.f24848b5.svg | 21 + static/d.476fdf1e.svg | 17 + static/daoke.878c7e19.png | Bin 0 -> 10073 bytes static/default.4759ba28.png | Bin 0 -> 69294 bytes static/douyu.3e6df9ee.jpg | Bin 0 -> 358711 bytes static/empty.8918e228.png | Bin 0 -> 31884 bytes static/empty2.dd73f390.png | Bin 0 -> 82542 bytes static/err.6e7c5817.png | Bin 0 -> 135598 bytes static/ewm.3e90fd60.png | Bin 0 -> 13393 bytes static/ewm.f9b3534e.png | Bin 0 -> 16916 bytes static/export_exercise-template.f7655c19.png | Bin 0 -> 55866 bytes static/f1.739bbef2.svg | 12 + static/f2.ae7ec6a8.svg | 12 + static/fa-brands-400.5a2d4d61.eot | Bin 0 -> 111620 bytes static/fa-brands-400.7592ba4b.ttf | Bin 0 -> 111384 bytes static/fa-brands-400.7eab84dc.svg | 1104 + static/fa-brands-400.7ef62109.woff | Bin 0 -> 71560 bytes static/fa-brands-400.e5b597e4.woff2 | Bin 0 -> 61336 bytes static/fa-regular-400.146f21dc.woff | Bin 0 -> 14724 bytes static/fa-regular-400.71dde0b6.ttf | Bin 0 -> 31044 bytes static/fa-regular-400.b216eafd.eot | Bin 0 -> 31272 bytes static/fa-regular-400.c03d4bda.svg | 372 + static/fa-regular-400.df2b4a8c.woff2 | Bin 0 -> 12188 bytes static/fa-solid-900.23c7bf75.ttf | Bin 0 -> 132920 bytes static/fa-solid-900.802ad992.woff2 | Bin 0 -> 50372 bytes static/fa-solid-900.d5470f7e.woff | Bin 0 -> 63836 bytes static/fa-solid-900.e06e610c.eot | Bin 0 -> 133140 bytes static/fa-solid-900.ed935594.svg | 1896 ++ static/failer.5e83e9b8.svg | 21 + static/g1.ef3c55af.svg | 15 + static/g2.cd44b412.svg | 15 + static/iconfont.3e4bb627.woff | Bin 0 -> 3432 bytes static/iconfont.6929d350.ttf | Bin 0 -> 5220 bytes static/iconfont.8175dff8.svg | 1753 + static/iconfont.aa2c20bf.eot | Bin 0 -> 237300 bytes static/iconfont.ab1acc2b.ttf | Bin 0 -> 242568 bytes static/iconfont.ac44bafd.svg | 80 + static/iconfont.cc69dd0c.eot | Bin 0 -> 5388 bytes static/iconfont.f451285f.woff | Bin 0 -> 146792 bytes static/job.65c6034f.png | Bin 0 -> 29894 bytes static/kuangke.24d7f13e.png | Bin 0 -> 10232 bytes static/learn.e7098108.svg | 22 + static/lishi.1f378bae.png | Bin 0 -> 11625 bytes static/lockclose.365036e8.svg | 11 + static/m.5668d26c.svg | 3 + static/mainbanner.0a951716.jpg | Bin 0 -> 60092 bytes static/mark.ad150797.svg | 19 + static/match_ad.24dc22fd.jpg | Bin 0 -> 18048 bytes static/newshixun.f15620f4.png | Bin 0 -> 208166 bytes static/no-data.c803c40c.png | Bin 0 -> 54690 bytes static/noData.dc777645.png | Bin 0 -> 15754 bytes static/noEnvData.6108fa6c.png | Bin 0 -> 31192 bytes static/noLevelData.36460f71.png | Bin 0 -> 10085 bytes static/nothing.4d201a0a.png | Bin 0 -> 11433 bytes static/passall.2673ac21.png | Bin 0 -> 87368 bytes static/passpart.cc679602.png | Bin 0 -> 89804 bytes static/path-detail-else.4c45dd73.png | Bin 0 -> 87709 bytes static/path-detail.c03fe177.jpg | Bin 0 -> 115120 bytes static/qq.ee284be0.svg | 1 + static/qqCode.a1502573.png | Bin 0 -> 28253 bytes static/qrCode.dd0fe9b2.png | Bin 0 -> 45161 bytes static/question.cb52bef9.gif | Bin 0 -> 506486 bytes static/refresh.c0b88523.png | Bin 0 -> 16917 bytes static/shipingshi.9b3366a3.png | Bin 0 -> 83882 bytes static/small_program.f74069ec.png | Bin 0 -> 43362 bytes static/spcishu.01680648.png | Bin 0 -> 85572 bytes static/sprenshu.2408fbec.png | Bin 0 -> 85178 bytes static/star.14f60c08.svg | 20 + static/statistics.c2688431.jpg | Bin 0 -> 59024 bytes static/studnetqun.a5754d96.png | Bin 0 -> 113789 bytes static/succeed.22b675c3.png | Bin 0 -> 35254 bytes static/success.2e2721eb.svg | 20 + static/teach-case-bg.dd8b5907.jpg | Bin 0 -> 244343 bytes static/tips.2ae2707a.svg | 17 + static/wechat.a53d22ca.svg | 1 + static/yz.688d901a.png | Bin 0 -> 38014 bytes static/z.d0f7d665.svg | 3 + ts.worker.js | 27287 ++++++++++++++++ umi.54c37642.css | 19192 +++++++++++ umi.3e9d8bff.js => umi.d12aae3f.js | 2 +- upgrade-browser.html | 219 + ...128b.async.js => vendors.29a93823.async.js | 48 +- ...ssrooms__Lists_.0f914da7.195070ea.async.js | 1 + ...rooms__Lists__A.b6d192c4.ea828ac6.async.js | 1 + ...ooms__Lists__A.b6d192c4.eec0ae37.chunk.css | 1240 + ...rooms__Lists__A.d1c6a0f6.5b219375.async.js | 1 + ...Profile__index.91771773.809746e4.chunk.css | 2120 ++ ..._Profile__index.91771773.cb5091c9.async.js | 1 + ..._Account__Profile__index.dd520838.async.js | 1 + ...dex.p__Classro.893439de.52b05a80.chunk.css | 367 + ...ndex.p__Classro.893439de.7940dd15.async.js | 1 + ...dex.p__Classro.c4b3947d.378b3913.chunk.css | 2099 ++ ...ndex.p__Classro.c4b3947d.fb723382.async.js | 1 + ..._index.p__Class.bac6e7e2.fc094120.async.js | 1 + ...ex.p__Video__Detail__id.5e33dd29.chunk.css | 2660 ++ ...dex.p__Video__Detail__id.8922d7b0.async.js | 1 + ...oblemset__Preview__index.c886cc29.async.js | 1 + ...dex.p__Problemset__index.c5cfd946.async.js | 1 + ...r.p__User__ResetPassword.a3b9fccc.async.js | 1 + ....p__User__ResetPassword.f193827a.chunk.css | 1730 + 226 files changed, 98673 insertions(+), 109 deletions(-) create mode 100644 images/chrome.jpg create mode 100644 images/firefox.jpg create mode 100644 images/logo.jpg create mode 100644 images/qrcode.png rename p__Exam__Lists__QuestionManagement.e29f0ffe.async.js => p__Exam__Lists__QuestionManagement.17db6cb2.async.js (99%) rename p__Exam__Lists__QuestionManagement__Add.f9cbbfd4.async.js => p__Exam__Lists__QuestionManagement__Add.534c7dea.async.js (99%) rename p__Exam__Lists__QuestionManagement__Preview.a9a43e32.async.js => p__Exam__Lists__QuestionManagement__Preview.3c4588c0.async.js (99%) create mode 100644 p__Paperlibrary__See__index.8af141b8.chunk.css create mode 100644 p__Problemset__NewItem__index.dde6efa2.chunk.css create mode 100644 p__Problemset__Preview__Select__index.db29bac5.chunk.css create mode 100644 p__Problemset__Preview__index.d3ee62d8.chunk.css create mode 100644 p__Problemset__index.5f48282b.chunk.css create mode 100644 p__RestFul.8982231a.chunk.css create mode 100644 p__Search__index.59cd17fb.chunk.css create mode 100644 p__Shixuns__Detail__AuditSituation__index.2fe852d3.chunk.css create mode 100644 p__Shixuns__Detail__ForkList__index.5b613bc0.chunk.css create mode 100644 p__Shixuns__Detail__RankingList__index.5dac4d53.chunk.css create mode 100644 p__Shixuns__Detail__Repository__AddFile__index.775bc8a3.chunk.css create mode 100644 p__Shixuns__Detail__Repository__Commit__index.59d1ea2d.chunk.css create mode 100644 p__Shixuns__Detail__Repository__UploadFile__index.c3e44e8e.chunk.css create mode 100644 p__Shixuns__Detail__Repository__index.95ea177c.chunk.css create mode 100644 p__Shixuns__Detail__Repository__index.p__Shixuns__Edit__body__Warehouse.8dfda245.chunk.css rename p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting.6b35495c.async.js => p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting.0224245c.async.js (92%) create mode 100644 p__Shixuns__Exports.6a27b100.chunk.css create mode 100644 p__Terminal__.860d48fd.chunk.css create mode 100644 p__User__Detail__ExperImentImg__Detail__index.fa5f550d.chunk.css create mode 100644 p__User__Detail__LearningPath__index.31fafc73.chunk.css create mode 100644 p__User__Detail__TeachGroup__index.f1f2b004.chunk.css create mode 100644 p__User__Detail__UserPortrait__index.91728e9e.chunk.css create mode 100644 p__User__Detail__Videos__Protocol__index.81c8cb23.chunk.css create mode 100644 p__User__Detail__Videos__Success__index.cac4fd28.chunk.css create mode 100644 p__User__Detail__Videos__Upload__index.f9f93c1a.chunk.css create mode 100644 p__User__Detail__id.f9bd7108.chunk.css create mode 100644 p__User__Login.19fe6789.async.js create mode 100644 p__User__OtherLogin.edb2088b.chunk.css create mode 100644 p__User__Register.f9519706.chunk.css create mode 100644 p__User__ResetPassword.f9519706.chunk.css create mode 100644 p__User__StudentLogin.eae50263.chunk.css create mode 100644 static/1.30b24860.png create mode 100644 static/2.02e9edfc.png create mode 100644 static/3.4d1fd0e5.png create mode 100644 static/4.7dc92e97.png create mode 100644 static/403Qrcode.6c17b6f4.png create mode 100644 static/AssistantCode.61c5ef8d.png create mode 100644 static/Authorize.cc9c212f.png create mode 100644 static/Certificate.80413b23.png create mode 100644 static/KaTeX_AMS-Regular.b1489df1.woff create mode 100644 static/KaTeX_AMS-Regular.d4531cf7.woff2 create mode 100644 static/KaTeX_AMS-Regular.f80d9eaf.ttf create mode 100644 static/KaTeX_Caligraphic-Bold.0c96bc8f.ttf create mode 100644 static/KaTeX_Caligraphic-Bold.7ce7636b.woff create mode 100644 static/KaTeX_Caligraphic-Bold.f046a374.woff2 create mode 100644 static/KaTeX_Caligraphic-Regular.35f3c951.ttf create mode 100644 static/KaTeX_Caligraphic-Regular.4519ba4c.woff2 create mode 100644 static/KaTeX_Caligraphic-Regular.4a559f36.woff create mode 100644 static/KaTeX_Fraktur-Bold.069514d4.ttf create mode 100644 static/KaTeX_Fraktur-Bold.2ea3916b.woff create mode 100644 static/KaTeX_Fraktur-Bold.5b8749ee.woff2 create mode 100644 static/KaTeX_Fraktur-Regular.0d90113d.woff create mode 100644 static/KaTeX_Fraktur-Regular.2c629b06.woff2 create mode 100644 static/KaTeX_Fraktur-Regular.96556db6.ttf create mode 100644 static/KaTeX_Main-Bold.07e762d0.ttf create mode 100644 static/KaTeX_Main-Bold.20b90c20.woff2 create mode 100644 static/KaTeX_Main-Bold.a9cdbc85.woff create mode 100644 static/KaTeX_Main-BoldItalic.7649d52f.woff create mode 100644 static/KaTeX_Main-BoldItalic.b345de5b.woff2 create mode 100644 static/KaTeX_Main-BoldItalic.bc8d96e9.ttf create mode 100644 static/KaTeX_Main-Italic.44a32ae6.ttf create mode 100644 static/KaTeX_Main-Italic.ab751a9e.woff2 create mode 100644 static/KaTeX_Main-Italic.e3954fe9.woff create mode 100644 static/KaTeX_Main-Regular.13b3f852.woff2 create mode 100644 static/KaTeX_Main-Regular.9e75cd60.woff create mode 100644 static/KaTeX_Main-Regular.af7fc7b3.ttf create mode 100644 static/KaTeX_Math-BoldItalic.4d6241be.ttf create mode 100644 static/KaTeX_Math-BoldItalic.94810ff6.woff create mode 100644 static/KaTeX_Math-BoldItalic.d5d35e84.woff2 create mode 100644 static/KaTeX_Math-Italic.11278d36.woff create mode 100644 static/KaTeX_Math-Italic.cae7ea26.ttf create mode 100644 static/KaTeX_Math-Italic.ffda8803.woff2 create mode 100644 static/KaTeX_SansSerif-Bold.2946bdb5.woff create mode 100644 static/KaTeX_SansSerif-Bold.5a20a475.woff2 create mode 100644 static/KaTeX_SansSerif-Bold.f0ad0abc.ttf create mode 100644 static/KaTeX_SansSerif-Italic.c7feacd5.ttf create mode 100644 static/KaTeX_SansSerif-Italic.c834ba6d.woff create mode 100644 static/KaTeX_SansSerif-Italic.e5fc2aef.woff2 create mode 100644 static/KaTeX_SansSerif-Regular.5af9e1cf.ttf create mode 100644 static/KaTeX_SansSerif-Regular.5bf28900.woff2 create mode 100644 static/KaTeX_SansSerif-Regular.a4fd0563.woff create mode 100644 static/KaTeX_Script-Regular.a1c15978.woff2 create mode 100644 static/KaTeX_Script-Regular.cd3b0634.woff create mode 100644 static/KaTeX_Script-Regular.dd0db7ae.ttf create mode 100644 static/KaTeX_Size1-Regular.1876361f.woff2 create mode 100644 static/KaTeX_Size1-Regular.bbd9552c.ttf create mode 100644 static/KaTeX_Size1-Regular.c4ae0d25.woff create mode 100644 static/KaTeX_Size2-Regular.635e9324.woff create mode 100644 static/KaTeX_Size2-Regular.d1e8ff17.ttf create mode 100644 static/KaTeX_Size2-Regular.f516b73c.woff2 create mode 100644 static/KaTeX_Size3-Regular.1ef7adae.woff2 create mode 100644 static/KaTeX_Size3-Regular.5d632274.ttf create mode 100644 static/KaTeX_Size3-Regular.f32a9fde.woff create mode 100644 static/KaTeX_Size4-Regular.1d132596.ttf create mode 100644 static/KaTeX_Size4-Regular.4f012d6a.woff2 create mode 100644 static/KaTeX_Size4-Regular.f668d566.woff create mode 100644 static/KaTeX_Typewriter-Regular.4f31d033.woff2 create mode 100644 static/KaTeX_Typewriter-Regular.b1d1af1a.ttf create mode 100644 static/KaTeX_Typewriter-Regular.d3c8e68f.woff create mode 100644 static/RepositoryNoneData.828085a8.png create mode 100644 static/a.13a99c3e.svg create mode 100644 static/auth.ea067b42.png create mode 100644 static/b.25fbbddb.svg create mode 100644 static/backgroundimg.704ff3ea.png create mode 100644 static/banner.4c45dd73.png create mode 100644 static/beian.0c577066.png create mode 100644 static/bg.08b15d1c.jpg create mode 100644 static/bg.ac7ae648.png create mode 100644 static/c.aa623332.svg create mode 100644 static/certificate.fc32dc1b.jpg create mode 100644 static/charpter-white.5fa14f93.svg create mode 100644 static/checkbox.f32c12cb.svg create mode 100644 static/choose.4ad1045f.svg create mode 100644 static/classroom-banner.1d89b188.png create mode 100644 static/code.9523c4dc.png create mode 100644 static/codicon.9242107d.ttf create mode 100644 static/course.f24848b5.svg create mode 100644 static/d.476fdf1e.svg create mode 100644 static/daoke.878c7e19.png create mode 100644 static/default.4759ba28.png create mode 100644 static/douyu.3e6df9ee.jpg create mode 100644 static/empty.8918e228.png create mode 100644 static/empty2.dd73f390.png create mode 100644 static/err.6e7c5817.png create mode 100644 static/ewm.3e90fd60.png create mode 100644 static/ewm.f9b3534e.png create mode 100644 static/export_exercise-template.f7655c19.png create mode 100644 static/f1.739bbef2.svg create mode 100644 static/f2.ae7ec6a8.svg create mode 100644 static/fa-brands-400.5a2d4d61.eot create mode 100644 static/fa-brands-400.7592ba4b.ttf create mode 100644 static/fa-brands-400.7eab84dc.svg create mode 100644 static/fa-brands-400.7ef62109.woff create mode 100644 static/fa-brands-400.e5b597e4.woff2 create mode 100644 static/fa-regular-400.146f21dc.woff create mode 100644 static/fa-regular-400.71dde0b6.ttf create mode 100644 static/fa-regular-400.b216eafd.eot create mode 100644 static/fa-regular-400.c03d4bda.svg create mode 100644 static/fa-regular-400.df2b4a8c.woff2 create mode 100644 static/fa-solid-900.23c7bf75.ttf create mode 100644 static/fa-solid-900.802ad992.woff2 create mode 100644 static/fa-solid-900.d5470f7e.woff create mode 100644 static/fa-solid-900.e06e610c.eot create mode 100644 static/fa-solid-900.ed935594.svg create mode 100644 static/failer.5e83e9b8.svg create mode 100644 static/g1.ef3c55af.svg create mode 100644 static/g2.cd44b412.svg create mode 100644 static/iconfont.3e4bb627.woff create mode 100644 static/iconfont.6929d350.ttf create mode 100644 static/iconfont.8175dff8.svg create mode 100644 static/iconfont.aa2c20bf.eot create mode 100644 static/iconfont.ab1acc2b.ttf create mode 100644 static/iconfont.ac44bafd.svg create mode 100644 static/iconfont.cc69dd0c.eot create mode 100644 static/iconfont.f451285f.woff create mode 100644 static/job.65c6034f.png create mode 100644 static/kuangke.24d7f13e.png create mode 100644 static/learn.e7098108.svg create mode 100644 static/lishi.1f378bae.png create mode 100644 static/lockclose.365036e8.svg create mode 100644 static/m.5668d26c.svg create mode 100644 static/mainbanner.0a951716.jpg create mode 100644 static/mark.ad150797.svg create mode 100644 static/match_ad.24dc22fd.jpg create mode 100644 static/newshixun.f15620f4.png create mode 100644 static/no-data.c803c40c.png create mode 100644 static/noData.dc777645.png create mode 100644 static/noEnvData.6108fa6c.png create mode 100644 static/noLevelData.36460f71.png create mode 100644 static/nothing.4d201a0a.png create mode 100644 static/passall.2673ac21.png create mode 100644 static/passpart.cc679602.png create mode 100644 static/path-detail-else.4c45dd73.png create mode 100644 static/path-detail.c03fe177.jpg create mode 100644 static/qq.ee284be0.svg create mode 100644 static/qqCode.a1502573.png create mode 100644 static/qrCode.dd0fe9b2.png create mode 100644 static/question.cb52bef9.gif create mode 100644 static/refresh.c0b88523.png create mode 100644 static/shipingshi.9b3366a3.png create mode 100644 static/small_program.f74069ec.png create mode 100644 static/spcishu.01680648.png create mode 100644 static/sprenshu.2408fbec.png create mode 100644 static/star.14f60c08.svg create mode 100644 static/statistics.c2688431.jpg create mode 100644 static/studnetqun.a5754d96.png create mode 100644 static/succeed.22b675c3.png create mode 100644 static/success.2e2721eb.svg create mode 100644 static/teach-case-bg.dd8b5907.jpg create mode 100644 static/tips.2ae2707a.svg create mode 100644 static/wechat.a53d22ca.svg create mode 100644 static/yz.688d901a.png create mode 100644 static/z.d0f7d665.svg create mode 100644 ts.worker.js create mode 100644 umi.54c37642.css rename umi.3e9d8bff.js => umi.d12aae3f.js (99%) create mode 100644 upgrade-browser.html rename vendors.dfa5128b.async.js => vendors.29a93823.async.js (92%) create mode 100644 vendors.layouts__ShixunDetail__index.p__Classrooms__Lists__Announcement__index.p__Classrooms__Lists_.0f914da7.195070ea.async.js create mode 100644 vendors.layouts__ShixunDetail__index.p__Classrooms__Lists__Attachment__index.p__Classrooms__Lists__A.b6d192c4.ea828ac6.async.js create mode 100644 vendors.layouts__ShixunDetail__index.p__Classrooms__Lists__Attachment__index.p__Classrooms__Lists__A.b6d192c4.eec0ae37.chunk.css create mode 100644 vendors.layouts__ShixunDetail__index.p__Classrooms__Lists__Attachment__index.p__Classrooms__Lists__A.d1c6a0f6.5b219375.async.js create mode 100644 vendors.p__Account__Certification__index.p__Account__Profile__Edit__index.p__Account__Profile__index.91771773.809746e4.chunk.css create mode 100644 vendors.p__Account__Certification__index.p__Account__Profile__Edit__index.p__Account__Profile__index.91771773.cb5091c9.async.js create mode 100644 vendors.p__Account__Certification__index.p__Account__Profile__Edit__index.p__Account__Profile__index.dd520838.async.js create mode 100644 vendors.p__Classrooms__Lists__Announcement__index.p__Classrooms__Lists__Board__Add__index.p__Classro.893439de.52b05a80.chunk.css create mode 100644 vendors.p__Classrooms__Lists__Announcement__index.p__Classrooms__Lists__Board__Add__index.p__Classro.893439de.7940dd15.async.js create mode 100644 vendors.p__Classrooms__Lists__Announcement__index.p__Classrooms__Lists__Board__Add__index.p__Classro.c4b3947d.378b3913.chunk.css create mode 100644 vendors.p__Classrooms__Lists__Announcement__index.p__Classrooms__Lists__Board__Add__index.p__Classro.c4b3947d.fb723382.async.js create mode 100644 vendors.p__Classrooms__Lists__Attendance__index.p__Classrooms__Lists__CommonHomework__index.p__Class.bac6e7e2.fc094120.async.js create mode 100644 vendors.p__Classrooms__Lists__Video__index.p__User__Detail__Videos__index.p__Video__Detail__id.5e33dd29.chunk.css create mode 100644 vendors.p__Classrooms__Lists__Video__index.p__User__Detail__Videos__index.p__Video__Detail__id.8922d7b0.async.js create mode 100644 vendors.p__Paperlibrary__Edit__index.p__Paperlibrary__See__index.p__Problemset__Preview__index.c886cc29.async.js create mode 100644 vendors.p__Paperlibrary__index.p__Problemset__Preview__Select__index.p__Problemset__index.c5cfd946.async.js create mode 100644 vendors.p__User__OtherLogin.p__User__Register.p__User__ResetPassword.a3b9fccc.async.js create mode 100644 vendors.p__User__OtherLogin.p__User__Register.p__User__ResetPassword.f193827a.chunk.css diff --git a/.DS_Store b/.DS_Store index e3ea8d73926d8bf129f33fbbdd2511222d736e67..263895cfb4b562bcbb503f78035ab865216abd07 100644 GIT binary patch delta 4699 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 W>Y{Ni`oHC?<+)G!GS=bb@&5wV67Deo delta 8151 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 literal 0 HcmV?d00001 diff --git a/images/firefox.jpg b/images/firefox.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f5232b665ddc4674ef4bcb05b42d2124b976a1db GIT binary patch literal 24803 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

Z7qf^E{zNf8px&@sqd>GmUgo)0k-l8s-|z zX0TS!n60;zLjl&cj<2zwPI;Mwl=w9!mUUvbPcr6IdZhGor6i@f6&@+U?Dd-`&VT96Q!g4~3ASh8epj9V0H3^PD!_LX5L&s6& ziG$gQ1Iw=IQ5)uo8ChO9Fz)SgmVb6=l)jhieK~2{=EZ0ZIWOf<9@c*Tyr1uTA9YAB z6=BdkQy8wxUflCJNau>c70uvzy$}}HJc^mVPE7N;hgp>$Db22&q%^1EL#4SD=sxA| z;pcL9F_&TZX9nT9rEX$QiFiVD4YOI6W);4OnFMBL?z5Pl{Wy~LGo#1}RcU0O?jYgU zb%x#4DZ0;AzNbwrOItXwqODJ8JHzV^0wc1)*)8C(9PK4EmejXOqya`h&kl()cw0L~ zpw1IYIe49pt0mI~jKl3@XE71(pn^a!KU`>DLX!`O$gP|P)j2SpOk=g%^*E?1({P|0 ze+$7l4X`#&{$bU1S`v66Q6T4C8bHq(hj~Bfx#}m z?ry#Z>tZzf3P$@vG|#m}a&C(3;gTa{@4n~-*M;KP(R(YV_$A{fUk9dDH8s;ml%h1J zN(yFGO2%wLGn-{<7M*5x*+k4CFtbYE#B2gHv-ma4Brr1zU&8c)7ce#7X-v+s7qh&# z!+C;bkMF~CJ(Ha3AhLfJ9V!fMJ>lI*N1?P$EJd3+xSI)!C4DPP(l!FHov`en!|ddG z7vb4O5OztoL^rWcDmTs$lG6;q_5n(Jc9>EZTD+{1sYd1l#WgMyIfmF7pI1MjB}Jy(TpJ0TY@h zua%a8QF}O{G3YKjt$K5xRTx{@g$aI6O!9N!Cy}oM(+SOV-xQ@;1ZD<-nNjH>W>kED z>2#WzW2P0qj%f_OKd~hJRNy>*%6kTr zbDzW%mZj+>mqQ~EHYhmuYq^i|@B8U6YdF|z2+CShSWkCZ&vHZ=8|fgFwwbU{##Uw+ z(dLS9Z=##X$yWAN2xpmlj`8;=E3y<3CYcdt=cXi?G#w|1rwbT49W$jG+df~~W;K4e z01m=$I*kNjx{Q=3PHuuD_O?umYx+DeKUhKJ0@)7YgoV-yC1uZ zK%*UG*<_Z{j%J7Zh~$St&`*^|!d`ET2};HIninvJu$XdVoDGewY7QlFoXIRrlNpGA zVy2nK(loWgJxn7oQ_9@JR01=lN_a``pfI}hqEL?5|ncumj3mBI?uip z!@}H3qe6A1A45!y3Dz;z(wHDO#uJ!{{w`C5W^z>%n8{U=FomUQa)rD2iDhYW=>+^# z;s&OOykjtlz)UQ74wLeo#rWJOFd@fbjQ!>mu1>9~a@B9iwWGkM4i6w7fLWwv`@VbHtMb2YFfwP#9_p}F?(cf)i zN3}|2tKX6;qe|RvOW7?gAuyD&gr#UH2b|JZ5R#P~^i^~T(Hc68e0Sh#ALz%6(N)a( z9+4*J)aTz(TB*|Jra3c=9eG*nvg3yX?(w+gh%V%)? z_#yP=A9DkJL=mW8l&1HgNoithja}bkev6;by<8kR`(HzMzj*ZYOF)mnd*~H>A3eho z&@22NdPk(7PlN+~Bc15Sb$_l0Mz}CIT;#@3%XLPEYIGe9BM8fnEKffMI5EcGiLw3; zjAQs6U-c0t&}AmFERC;tkHFl;IELQwrQ)e;80Q_0aYfH#T%ofV$1Z6sff<|QC`NyO z9Am!U3fB(qNPD@xq|LV_U7ZIO`5nvWO19aH=q$DtvotNCQ&3n&XqKDORuYJnmAF&U zHO@1{vpvUIFD3U$ImA!}+5v)gkfrGeA7dSRa>ov2>3B&QCN=IM^vVQ+z@Q4>kPm~I zlqTjGaT){?j$r;hgrHbX1LZVkdGfT}znI*kyEJ53VFv|!f=^DuYC$OIIfeXpU5Z#=rtRk{V;LHFQ9bPv6U9%1*< zJ^TTBL?)qURI&+AWGebrcPelOM4FCcgEKso@X%odn&ClCj3P9n1sva0>Ji2gnDGQ= zEP)x92AFZBu3{{K8B1Ws6g-2m`A%U>Zi15iC`NpH2*W--$ddCp;b6BXUn%k%5@4`_ zJLLkpiY15^aj+M$tSqKuETLnFmQpKyS(aIj1hTBtJwhSHDAOfiA7Cijd3beBU6 zyoY_@zS0YZ>-S%Fk}hCwAH4>nES;kg-%MpX456_DuwIRClI^xGE<4oV&27N=n_ZpL8SoNhCWfGqjoslezv-^TFb2hgs>QFNnP z`NW}P>yd7`@odR#8Gok4cb{AdgFkP8px<%bX_v(Zv;t|0~MQ;MrPZZ^* z+qf}+ZZjy%g(0CL!a`_<1v@b!(1NB~Dn|Jx6IPyIlyZ>%}4~=N|uVw7x_SwemJdcp1)dB)D zpTI0+X<1~6@HiIx@_7lzak~B~=1c4H75ykXC26$@jj@}c>?1G-xIX9u*X5os4;aVE z+dw&HmI?%>BI&KfP*p`r6W^R4!SOF_W*TuC6@jrchInu4pr{P)x@sLm9Uityc5reVJ%SZrbiF&Z=Lv$~)2`vksNBfe;(XPx%v@3ra z?JAu^yQ&w_&My}20m5s-b z?2vve5rZGSE@M=Yv-q*VX^hHy0;6&t!>At)W5f@8G5pJ&c(f@y^zDR#U7am8heR1W zne%q!WN_#9<9+m*%rCQ8j%Kq{7WijVT(<-(dah%#Xc-aF9{e;fGN%TSe|WZ1(qa%rZPonbYGSv zx{SsWCD7=BrqeuzhN)j2MlhX5moTi#6E{#@x(!Q|gkg2&o}44hOe1piXZN)9pD>pF z(=(apUimdT;sqp}vYCc34x{atS)gw}rjGj`i7>xUcG9-sM7?x8pBrp|& z15z-=?-7PqWv5kzuvEH_k>&5;$FjFEvP>LCmAHmc#iKE*=p~FSdq(jW2 zW>+CZbc#6)x^u-nI1Wcy!mLYJ>?;zqeatW$e4%gUeYeRMCb2xxX$<-Dqzk=Y9x$n~ zNl3}T&{U4ey*z=bKv*i$Wh$A_h|`$uwscPURrmDE$vr7i1Sv`;_y~_=8U|sbHtV&W zYvjy5b);JYF@b6SDO`)+hPIf{EM}*)_!Eq)G#*WJ??m&WyU@JY9<(TV5G~3cMvDr^ z(W2rhG_QIVE&a};Wgwvmj6sXwShNa_L#wcOw28QhHjxA;>NeU{zk~KQ5(&;dQ#DO+ zx<@@!(DaU=LLZ@D2o;o!0Rc%E88_W^cPh3kATr00t_(^rxnxDfwAIP@~4SV6&s_ISydR zcY87T+g%v+#WtK95~$AUQHMBWE=i^bHn4MC&(FS&TFdRVhC7;Q0wJLcOPEAhrcgf- znCTq!X)HIpWZo$++j5SGBaF{wY)YTBS)_nu_Vp=3LW$OjK;awuoSIFqe5HJ&}%yy72AzQCHJ6F z*#l@?;Ru>kIgUntr_m_zEE*G<#-Ret6#^5DW)XxYQlPoU^>wc4JS z5|%EaP<%d&gTdZcFqrN# zq~J*m&U*}la~;8;9Q!f&d&2U~P7L^L3mz_K-do2!w$YkPTF=kBj#|slzm}hW4L|p4 zLbEa-jPcAVbZM%Xl3vDJL1UC>X;MyOLZerq zyGV(m+eo$%XrxS;C5jtEWgFgRwvqW7IeSmQQKx*?$_-rwV%oESH2ZV&yp?6|px(Dz z&?whxG|IOQ4GV5TgQD9A%}z8du^aVE??b(E2T`x`5!A0rRXc_T{-@C(=qwt9Ttq{H z(=hxB8b!vSaa1f7gC^Bu(X>XKQj6+zoG404R>WFXVs8ebeYM0%M+LaEVj?W>~@jHTg)sCZ1;0e?XIfHtkXHhr&JnBYVLcPe# zs84VjR==vi5jBgts?935QlEn;?TY7HT3Ygie8nk zqIbnu^er2WexiEXzx|9hT5p7K=FeLkY}qmXZ;bp^dBz_m6}{02*5j z?&YQ6+RpO6lO>5|Nua?VZtuNxn|&MuLgQM@$1UOGmNVu48z9qj|JqjSJ@boIN2Za%T-UL_ViDn_Gcg=q9Ha~XX~UP51Q!cycM z`V~5lesq@sd5@q!!*2iV`_b>ao#_9~7WDmkIr@FLm1Xt|fd968t zDFk;3zCnT`z-VPiGl9{|o6snykxb)LkmX6h;ok)se>s%E$BC5Nu$u~@RC(ea#kO0d z!Z2k-@qRUO!@1-g;O9@VxMMhK=3b841f~vEo8h;1(RBo718SArj9O*4p;pD6s8#s@ zYE>1NIfh#P$5E3mQ!D5sYK5Fc?XXjX<}{%>M_?|XVZ;@sCd@ZV5|Bfq(K3VzjX~Ss z7_{R*E&--3iD-!b&ha~S;y zOurxYq3^dl(C_Qb7@U10hJLgO`hxG^W+ubJuel@8UFOqW=5Z&P%g;ZLn#*l7j{`o3 z+pZt;N`DUYAeNNDEGfh2EW^3pPyp`D1sPzujkfas+X&5e{=Acq*~JXAliPF)JEVDh z++1(j~}iYA(22F$hCxFyY-gYVP+aVk{eHQ4O?z?JgO^O z?78pZ!K{x_x_dkN_fk#mzgaCySpwQEV=M3SwpwuvoIY$(F5lz@xH4UcNnz!_){4Sxb z?D)fO=`MYJ z;2bE>_(L1)uZ~_j)^ms2z-_lNA3GoJY?}#;z_X3pbvsMajv{a`D-HM0beOqxm<4pF zg#>0XOA+11Smp-@dunGoE@(?9FggRM=D7JmD6}F>?%pL7G=`j5Rf;sTG%1y% zqg0R}%wVkChQG6%Mh+*)F(|zn;R)dFK$++xL{{64u>5Sj=`xW55jSG>oN!0whnpK# zpZ6ica;{-RwE{KrFGo~?<%le_3K2!uAhOt6M3$h+Za{ds&4{SD6%kc-BCP5zMED*= zq~9S#`X5GA&{0$mK8ET+Cr~4pt`mAnseZ_5OJ~rCLAkNW{{ou(QNHKU+UFeFRXLA# z70;qWxijck`ZPL~I)$#qPNJLF3G^s(9K8x0MUT9P(Ie*p^vbapy?)q@Uf=9M&o8&2 z*Jqokowz%RL3SqHWd=j;3<5KQuuS9U6iwwen99NbiGx0sn#66_gAUP)1Kpdga4&!8 zvzZ-NamQLinAUL{t>T=;RjaGSQ4kPE@e>?*BSgdKlFRp(61^Y^3YKVE>nsqv<%@zmLuGI zB_fKiK}4DL1ZE?`D{ew~g>48YG~vE`5#hHF;nfZxB7ooo3OIC}VAF9#b%V}$)F9vt z8jAeSp-HuK3YeCa&!9~uN)ADkJB4G9Pz^!RckVcCG5@9cnk#%F}#8;WIU3SkjVX6T>HZ7_+0J&B)x5=-|)I>r$0 zjNN_V?p6(2&p^1xv*B35ooOXqXcf1~TEexC_p@Yd;10Nv+j$eWGr@68sRV609cl(0 z=4U$0TwgeUj$kPag|UfF2RG!~(0}ieE@0el9fngw-2b%1wKrNJIY$McXjvr%kCdm9 zTvHmuur4J^I;ird+dOs}x{HYU#$elRAMsXmHgp>$tMyjdCX8#s;|R&A{t*jf{)edU zJrCgm3MIgVQXxgS_F9S1l4}rBdL2T_tv6L^6GD7;AhhaEg!t}8Xtliv^Cvu1M8JN+ zb400Dz)_FtRy)cLi}F2=hLp_hG^=xkD`6igXmD`06G;o zh|YQUqjS#P=$d^Ox_!3;-B^mceX$wcK3|U>pRB{WppL+J?g*3UEE5ULcz!m~IDXEt z{LEvy4aU+X#&FO_7lN~AIXF62g0o8ywBg(_ml2dD{QENAS6c6tyuFHLXcgD1xn9G^ zujBSyPxoHs1@~k>xPBsVQ|T}>nOkPjS!M@ApF{Yr9)S5z0KTNlOp@JB$oD75eb^q+ z1ST$PBN$$UK%nuqWM`U^X7_|LGPx%$H`mH(q=S;f2~-t+IMqQ>e*C~{l88Hk053vP*i?wfi%wH~6~amono?^KT6R5xD{Me0 zp$V?M8NpSzBE)Y8g8b<^emfCSZ5N^lj#9u8)T~BusJg!9TuwczQI#WTTo|ICPp-beh$4nKj%2*K$nOc|n^^XBqELmtp?-sVbd~Wo;$_lEVtK z=sc`qEfl@Ku$tDFqCsm#`# zs$cOS8k9eTMr9A8X_@_KT5>O%7dwEKUI);s$bPgfv??n6DJJ2!5c61;toxa) zozZ86a>LB|7zy(~K|s+ZzXC?d{#`MGQ-a{oZKO;Eu|$dE1XtXMU@2ANI#uX87CaGE zsLDGKRcR+`P<6`fL%p*5P`B(JG$_3XO$bZV;=9qzYd2aH*@c#ccA`zb?P!~48`|aC zh7Q@cpu=~Y(DCaH==jxoboydFfmww%Uu=VWEIXqi-vfhxpqR@BbMOapz?E2r2XY(8 zzt}Q>pRXS~pEexu5o`cv(p6^WV%X(pr|>iX#?~7P^3rkWE{pl|5AjL4g%shBCVgJQNR%{8T$l~ZW?)y#X@a;x)AS@lfG=b^D?&wr44p=_|-;bS;5+UeI zXX#6K5cLspN9xUO(2LolPcdl2nD?eh2Sqrh6P6jg|4eR!*#vA3*8mKcBwS2UeQxeeuIN~hbPgk&4DL}{hDA;f9Q5tQ;p8Hy>(ZFF{0BAMhf zMPL|;4T7Wlb3+L@EK3M3h@{Z$a4vccb-m})RhAQwG;U)9Q*bFlq)ZhhG*YIRZv>n$ zDOHy1gp^^%DZ3G&<=9n~6>UajnJuUxD!m0YOKw5kV%t&QoATO$28Fkwalvh9l7B0j z<=ukjxi+Cyj*V#f{RXuDc0JmCLw&gp9SMtQaQ69dbz+CtgXO0up;00*Jvit+`S~cL z2R~nTe%|hMV-YirK9RwAJhv0OCu0g7_9wzImD^xCA2XAVG@Fl`!`nY|`^+aa3wWF0 zq%ssc233J$Fo79X4X#my<;MW%gvJ;j$P871@gi0I3oz+jo(UNFhp62LuH$O9_PEBf z6q~s|964DV3$pysX_ShX-IE!JrTrGSk=C2HWs*-FgOY3`;$9`kp~P|I;HAjNl;;4Z z>ZG`_WWrC%l!)#3qgvm=G5=F`M^h18Xx*=Xu{$Yo8s#=c36{4w4!f!11V_TLbX6h& zNP;pIQEDBcO0Gj>@%5-tY&~juZ$#aq8&R*&Ce$ym5e@TgK$E;w?)7Mvb0b>(upZ67 zTSs81Z`PsR*VH$2(fN}DKwp-huGzsvOtGXW@w13Jb4L+%5_v=GQW)AumY;ESq4B)m z1eTqN47rn-;RKwYxU&!%V>*FRlY9Jm7U7yhV16cabGglC7f0%Vs&Ecrz#U3w8$pK| z$?!Xx?lLY2sgs-G5%Y!olR)WRo(UKSgN%{tM8aQMv%PMH*i0-RFB0CVP8DepqD$F%L{GEM;f=u}N7f>>fP340Y z%#LH(>!?w5;co(C{~S_isagv>p_c1}d9$mcLI{vZK$7{KsA6jn>9rO$icm#Yqjr(i zs8?VO8suH2)F=;?Yb6^0unx_>Tl*_u+I+qok2-z_cRO}B?Q%hD%fWBUOhV~xIk-x6 zR7>bpkb_IGh7+(+bfHlM=0`#@j!rb5U`!xj6RF7rWimhi6z)vZxDBTB@iPg^tRn1; z3ej20A*F9+xCRiEL3Ea(feg_>Fop);5y5d^+6GPjwXtXT7fzndVOaW{j%37?ABOA9 zGO@2Uz?C-|BISG99rFwdGRqJcm1#sCrxBMSJOYf$HI&LV(tfk`7Re!nw1*XBqECq% zw5lbU@DtfBct}ws2YkuB@+&kdHWOim)+4;gOoSI?`LRIxR|+RMqA(S8i|nh>?E7_SL1)I6Hogu@Suy%n%w_c+OJ+`7KG_c~ap8 zmm`X*UVtrpKJ%dGzXPV-muui^#IV|suF!<8*pv>~knhh{147@3!L~6SrX3;bn*&-O zItxQF2IYY^kdO=}FhdB*P(s2^2_yNqQCu_IU^Lxj0-s}I5#}6%Gl_qbfBSM;K{y7K zMrxN}xOz~%0^#l*#IPLzt$!d~L&BiV>ImKVqk&1YM8DGtG5=Mc;kOCZ5I6rxXbQ5l z1oRB4w@?@)$B`e>kY-8seCGKf{9Dv|LxHRTV zHds=E=AwErc0o@8+xUR>NQJXGMhl5{=2fvv4e0g=9E6U2n``2FanNF2{^`3ex_jrXgJI7 zNIu_>{G6k?9z&;^KzdScEsf$nGYUZ{cV6J3h0RAD;EKLO}TC%{gfbmT7c{(X6RhH{mj-zso>ZE=h zj6JTS&g|nLNH|sjSuzeCN3xAyek9i{jqw59QN{b$-BWt>?|`Y5YctyBT7(PXUeE&R zqLFkK%81~eAHe~ov`DUNP<8nJ+T?}1EnTN0JEhJ9M#6AcLZP}QLe!f8_2JL``8)&Y zC`IqMg(@loaU53+H={Ok0wH!hiO9&Z`-90NJwQUGe+Y^qCA#io2!*rv=^bR33 zp?Ea7HVXqQL;9nOXL)X59x*s2|5sC7f4vzly-^>RU$3P~la{{{-1*DFmB)uAs=N|p zu13VR+Y})wN>~&ymZXbPos@lO!OAveEXNT^zEK&6HY~CoN9J$jP=m;F9o;849)uJ_ z{nCpNo^L+y#(CAi2^maG*B&Ck+PWULWPuFSA)>A>TrH)Tg^$JaA zj#-2V=9=m`*I;C^0Z0fe09RmnxC2TN3J$zK2T5Qe1IAu79w!>~Ov2k#k{=Lbgqy~ku1 zJEca5`zwJVEaEb9R^Hvun9%c8W)QC83Bv|mM=vPtx7mW5GsKiYlLj1J0&#IVjg@T- zN|#w;HB&67gc2aSjgrh1Te9IXq#ak_u)h0v!R71CU|bj}0aDKRn2>L9+TRb8%5*>z zuPLZrcs{}kFF-JJPasQBVBzHyOHq-9sP8=+Lre6>wu<3!sVg7yB3Zr|vPv-|2J=1g zb+iButmG+~nU;ygsN8VZVmn=vfmXheOEOJ;g3^%iG-6(9MmU=DchWVrA~*^j{@k7& zPzSC%@i{v4b~l1TXr$#fdQ$`k{rEZq3Cy6P&;}QPyL%<1)TgsFtcKKPgrr3<+^s_4 zXwBf;HWc?e1|apsI&z|`ug?9CmLz+LpS%sRSz6;7fw`8c5xb_kxcFKWlE1D&Sj1r} zn@&SuP=Mu0iMOQ%FK9udz_BEged?460%J?saMg-Sxq6&$z>dlz%XQ@H1@j69Zd~i@ zNo?6+SvdgZ@biWvkiQT58b-i(&;z*^1$}`ex>B+nlBo7AAH$GIAVfN4AMeuDl@J`@ zaNbY8h0D5(Mvq_#vaW_eO#&j}mqA#s&+yuaKR01sY05QQY&0h@tz>?NfV88twCB1b zpSv^PXIDbfjkmi~3LO5fFW;|#)1T1R3`A1h03_EBA~Zp8G$AO>Lg8u|N^n??T1Tbp z`sshQyf9$&R2O3Yo86KH%vFZqn9OyVXKKOmT`;sfRR~N~t31(dM06Yp#|Gh%Nk1iP zvd?o&$~r;IP{*W9+2`DtlYVl}4dD?9KvubuLk%K>U6n{C0M#U*xDJD|dCDlA!H+Gu zUomL@d^}4Rd^vCo&2oilx&nX4P^8Y^QRnd3 zr<}^Q<#L*74FW1(=T@7b)Z^>a=g$p!-$s1h##A%DMoYd{OWr0tMjN_TI|9;)V07jV z(1j(oD{pt_=jg$8&%(G@%Lfl@R6%kr!cvDNsUAabgAh0y(G8o0Lu(NM=jG#cm-K&4 z{L_{f28)SfAypTb->eR29tN=76;+9{GmVkY48x}DSh8F2 zB6J{;-GX}yI0Qu`^EM*eaqM7RHcc@0OaNN0!>&r{DLKa@yFHgK%g!UV>=V1>6bq5M z>Va@5anRGsK8HuX#!bE}M}1!oZ-?`DQ4F^=2um&goEDr0gry0ezbOG}#{0D(u&wDL zZ5Z4In)ZAT9rzx*5SDI5;bd3kXjlPB5kW|f3`R;#Q>lc;QJ28f3&n#bfkBOewHJ_k-1_a_!2tf&@vqXj>H7X2_8sTu(ih!$jB;56)fTVlsv=l=Q z1-yXeg#lwP+I<~2-jq`~r8G6B>LVso9bCy$6PMm%J==Ve*S zXUT5C8H$ypi?Zbj#)QOkKr>A%Zaa_2o&dDn$KyPNL=JL_BqWP$_mRU7Ps(o7J?A0w z_LGt`1=C8PvE^|lQ@Q{o@X&z_0f*2SGCxy`fYjm7b-Aw3=WM|8)0m}ECit4u4O{Si zw&c1M%VylZ2ZZ8LAiJPY-VO_=+pq-Hh=3!4jy`?5`BncfaCzatxHUJD zXC5Ljgyzkr3YwTV>*Gr1I=GgtDK2FVf-4uTGiN1exvN4aJi5%)QB0oTwVhPYJ^hZ1V$$Is`D{5dB0i&LuQ5Rab2IU--zqR{J9BlHz|U| ziq-I-G9mE^#v{LQq*RL_G+YPMRk(f_Sse+rYT_YM;AXabk;{vB7^jANngdB6wZZMb zwMFzBjR;LcT$9p7r-{j26X&zmL~1U71&u3@A9NLlp9DtShFQjT8r4k^3XwhW=W!g~ zR-)TH*QSuF4Ps;EoY{7hd z2+K?;LwPuFNAfkJ_;XFJ>+tpJaxKu*XW(y84EM_TQ9-z0Ap{RAh2fEJ1XBDWks1)m zPLEw_U^BiaPI@ zvNDe+G~2Qq=a=F@+n3O!k(vuqxrl#zB4Det3c1z=8h_qLW`ku`IE2p^&f5e>K~syb zS(~4yjyLX>3_zk+1n!jx#DlVQnDTU%%8^K^5=CfCCHXST%v+3XqQ~G^ zj-%#qOxMu~kI2)C%ke2Cf@GB|Pf%8_!@ZNxJSiI-&xD}3j!2a*3C?LI2W{EqOIr3P zK`#rb~#`?!xaI)XL)JBBrB^gRa3ND9&St5O%h>|p z%;iVPI)LSg&`=VLZJ85)RoQ;CR8gLe$|_st$>_GMw%l?YyCpZ$$TKNuO$a^~VX`I% zwbG{aG7_BAN+t|V>E(VY5Gax9NKcn;NnL|(L8iVU#g}mU@@JWSu38+oz7I!2jxZ$V z4a2?s5x8G~pcJl&q@p$O$h#Jji`T@X61Cu@%2x|Xg=!>#uLnnwx-hQ9 zBGu3c%FA&Ud-+3v(cC(8r;g}HqrxmL`T`uD&VV zQ$t+M^tk1|ARScJ2%OFmid&xt(rrZka8ous?!2ZRgY!7&Ab&-rC(G62_MBi47A3pO zvK_~6)6*)g>nP{ppgt)(3yA}zk#Z%0=ZW7d*(I+Oa|=PyC}*M4h;h!~d z>!U~{ep(%Ozp72=t%G~t)W-eq=q}moBIPRrm9q}C`5Re=UhL%DzgqrKV8m(eC8r`f zE4wB+vi(ML0@IklG_+doI*86fWvzvanWAt$OC-*}<&PxRaaW!o!eZtdXRc~W?wr0# z9&qyfx?Gtv$&WiM6C^rLnxp3SX^0<-Rwx^MO{gtPT+4==&Pe`som#;~Y zt0+oUK-?!jxc*K(+Z;I+u;@ceZexdn*{p z1jn7j2aenO3B!$dY9isi+PM8*U8P&^)yM6>H^7|_>m%`_21xv*5#ec! zTVFIo!iqgC^Dk$v`SW%)OKi#MG-l3u`b6O4Bju0f0mqscRPvNCQ+Doo z3=yFb$4M(s7P7#3iVQCTLuj0YIyze*;@_!D)u*cC#@n@#@Ge2&&!!sU_PdRc_>aa) z_ul9FlO{+#a1L%}7411L7kSp@KLU*IV7tvke^+-RK7U`tzTT3Mw8D+o**(c=5dw}X zQFT>`x{{?fE@!DpcxupbA{mUsarxa4-1{OFuIzGbijI?$;N%Qs*5PdiWH;dvx!8`2 zZ0B*)bu@w_@{}vfg??GKo{&KE3$d)(vSG4hP9VzfSaOQcO^Pt16yn;uIFi1rhO2K! z;QHHjaP94yh@;})sg3xz>fpv(EJ<(I!>zX(Dc#B1L@D9DCP;p(1rpzB%5Lbk`eG-^ zwz~Wid4KTo9|6W*;_(O%9S&S-F&$T5YmFO!u};8}QzKZSIC| zDV<@-I+-~DH$M(R(hng>rOU`AyN;aVHqvE@EcdaTM@~wAvTQwBzC1_H)9A4a{d+gk z^U-YzRZy1>qi}hyDR)7kSJv%EZG_;-Okp`RF>vS_x{=j zuD>;gd=*`?G|ta+j^%SM|50G%p9GZSPDySD?(d1k&A$jNEtFz2H6t+6cAJxYCO8bl zGH*l25naq2gmdhu&StGncp`Z_81et~!y^V^S1xfLilr-UdoE?`$u7&D7<@dtEG6to z*)Z9ngIGt@QIKWr3F-OD*FFV+`N()wgOOHk$xbU+KnM4NYZhNLU&x z-6AAPnOZ2_FEW?Qre&rgR^ofIgIZmlCV@)fLzU5hwr%#u4k#I6rZ`VrKUu*f=4p#@(}^2jbfvqrL&9q<2?m|U z&Nu4RPdZK(24l(tPG$}mbAsr6Wa&z}S6Qo*>GEd&=>MlP^} z5uIb%JDVwxe-BYQpCw#LGSo$uLXrKNmkEq0CQDtVYkY6lvozqk0ikK66ql)q(oL3J zQ9>qxqy+;%L+xLhBleBfcr^Q%d}XP%C0?!N)dhwYoXow;xj7n%|EC@fv)zv4Mit3- z(ul6As}mZrv#PHY^Coi+TXK=zmV4TBy3dokKqpXQ`8c0Rf^-<+3MCMP#?qy1EHQ7% z{i^eRa`>W#DZ*(#xBZ$i%vqwVbU%?y6I>_ga)IAy5XTLB^|hwB@_H*=r`w2PI4Gvr zj*Igs2dbxZg{`?rCIdxRGI5}vke!8|Ci_0o0)_&_d_GY$ON>aJQK)3*E&F|4f1@eY zOkGB719JUuCL{^`9M}Ka8h5kw!reUmp~XM6KJlx)yz;;#Nz~&W=P=kM&~ffHpNm*- z_&eO_*Wcg(Q1Yclrle$?W2xxUAqs51pb$FhTMx@UU^_thaj_> za$CMwS~t``?~^=sGp_$P2PsQ?-20zaEG12G`+u6@)@!YBMOt(2-6A=_DT+~(f#N`q zWtTMRzz&vFUXdW3lbe9YI$ve3HZBOpCV)g8-GI5~(#=Y9J zm&+b6d%iWe&nf%)ekt>{;>AhQxXCqw9P@u$GYEIZ?Mwt_^mf$=Ivh#XC;9U&e@{d`hpRJluRe`}3+?)eFSWxkL>f4wE*IOrl904XOPx3DDlQ=)rG@J^J+ z{k19K6el4d|I-#X|Iz`mxd-CGC_2dl;J)F8n@;$jI7s-imj9=KG4qYVfihqu>v*8M zRo+SA?~R)&(0i>%!l#{Z>%W^K>9r2*y66i3LxBFuHFf>RxP)=j zc-X)$&R-A*A%PH5++x8XAzf#OkWji;uwiazH@mnc7Dy~^Tfh!!x&#Z+0Re1a+7P9k58RC=Q;0rKOTJe@FCj;ir(NL%d&~`r<@FLt}fgD z`9*KAXuAy#m_9tIK3?<&6UBYF7~Wh>Q~N=L5JKE}xI=wt1jZ}nXUxLhy1>Y?>?naY z*s>~)4ivxVeHuT35JHG=zQrCTEpoxmCxnpQ#M*)Zvwmd(xP-ZzJ5r*70)r4jb`+N* zlA~2qc+ne_STrtR{=O9;Dfl^%B%vTBgpeJ@w+}|XB0O$=B8uL?{Be#2r4k@UcyI^1 z#|&?-y6oIa2qB~aD}jNC4K0=Ecv`#8?H@Q|;c?4;QSN&O5JJcUA=XasQo2yY9-wP*8sUO6Jpq()- zTic-Zf)GMl#P*0J)=sr#xN4_pMJR26$6tgH(juwXBH=EyTcmVE!m&dLAuVEiL}E&8 zk6{wmRL|7HMWS1zR27zEhY&(q#7bZw#rM4lyyy)cVF!B%(NX<(?(p+?Jkk-0-e87n<4*cN8JBWfoAh(ZQ1tLdYGh=E0~5kF)x}BcH+}nz_3H zgrYQ`hT*xkMo7^cd{Dfd77RiNX_+JwZLy4d=a?uOTv~_=ZFCAP7=#egGF`~zDJ7*4 z$-M#2y&C_EGr@aS(cIgDxl>42$@_VAWIV#3o01wXV5z$(uS;5bNs{c6z|dwFrIo}F z6J?}OXn~Q$ea-v%JSEXvUYF5*Wb%G4u_T?8*X7=q)X)3*1Va6(@FRC2;dwt_nu^ox zNB`iyY_-s~@qBfGT@n~txXbm!RB;t!UDykOfi|a<7o-g&zkjcfv#@~8ls-(W7{~ZG zc|SMTnNetXC1jqbohS87o+M$4-e97f7;VHwrhLHZe?gKb@8<`w@Vs#p7j=dZ8VhrM zjsns)Ru&8t$r{57ut3P?Wyi{&(}LlS#<|ll*M1`+RK&0ZKS`aupPRY!#4!nB6Go6< z2JIQs? z|ALTDh$t@V%=3PJK}!Z{gV;`}B&YhXkg2Cevk|cRQ zKWsryn{jPTSf$F~e74DfH59eBt*#YSg2(7>s)OQm zqYcklRx7`;XtSLam=`8%#**pFld6qYJ{Yy#>Ai^^JI|`49w8x@Hd#`IM$v1NY*Aq7 zxo5sDdV_U+zVtMCX#``@<)mq;f(dW7CB)KfDqiIM-1ra7%_0}$=b#GdHcqq)cizwE zf+T__?RMkw9~Lv|oaeL8%85<^9~;*NKPcO+4O)WUPOr^!J@NR_t2vp_p0UNu_6bCHf=c?&7Nw+vWe)?_|b@g_|ZiEY~pFm=dIRmsi2G_Fq-hNm}mtC7cV{M8;&7L z2n(LU?*NYCqT;T&)*g4Ibk`hWE*gbAqgU);wV0!}N3M&y#Ui)~6V99Y_Sf?$F77Ug z=PicFI8pZNnQbkSl+X$c`d{cMH-wyCpb#C!#SVaD5m#|hk?*UJ#{w+HdmnXFTvR-R z$hE?wxVURi0Ebv#mY+J6$Ou+j3i(#H`H8HuNIlV(1g*fJL!caEZXK_)UTBU(aEv7$ z{5&Fw3#<*k&z$$Q_@H#0mt9JBg~dy|gSEkkjLY)6w24HU1sHeUt_OdUP)QPVh?h_y z$XelN{EON@BJqGqU?d!IklLbp>6nSL&fjHO_N$8bKk)Ru$rGW%<%M7&i?ML*3)1`9 zwT;d^qG&Wx2xl6TKddV@4wF%Uh~F0B5AOh4&wV4(e^_3Z52}~>JJYq_A)S-Dws1yn|6Ix8^fRB-!usxMJPplxu$L3L!_SQ>k>!>UslmeT|XkxdK^<= zq|blsdk4e<6SKx~>vWx$KPHniPf;i&A+X46%;V?C&G3nUvdFJ86N(#+NG=g+b8juE z(yg1_KfcrFagcPKTB7e(+h+bgM*qDLTu0h(E|fS1sqXW*)@OGX)6QBjkTq002^3$Y8G!ZMmC1Y!Z+YRk?e3Nv|>ni>}$ovN*gaA z2)tM_;2bLv-Q_xQvC=lve=h~s8Y-iiw3z#MV4ip5jEmPHj$@bg{4QNSBGFne3Z@8; z&xVxZBn>nfC#BEZ)WRITOGw9i^43%=QqoP_RsouQQ~hwG+rx_nd@7!QlyK$3qyMSfG+rk^i*gP0bK6KNDi(HndS z-<)6^Zz*o39b5mF;BVYjq!tWu$e@{c5RNA?q+__yr2jV70*qtZY@ihqfl(?`lg|Y{9igJrW=#&HtN-tz$Nc-L^NV=Jg2yr6 z@ZVXMeMk7-e~HnceFr-~$ys=55%zYr#{y%QkSKt3|wU+wPJPeI)6xrm-sN$I_-whlko8(tB*<8z_0cd>@mj`-1|5gyz>3 z*WZQAvb%<@WAwg;giC*S>H;IQ0IiVpSKd%(L*gUhG8SDdac$>B@$F!*zSo@4NoamW zdHubL^g$w>HV`dv@C>)1Gj%qI6RtvXA@svIbPzKxb4rYHJQ4U*tRfLFtp{&VV35#! zS95)a5=SHS4w^~rx=pN_D%K0QBG-e$W~ zX@@RV3iXV1F$-PfE(#v*vs9q0TdY&hvD0?@TDM?OV31&-7@Y=MFG$ysj^QASPlK;Q z*I~jwJ*`(rrobQ}d4$LiDgVj4K{}3fM;WK~^V9dUEc-Ld&;CW0Wk2!U z9t|3E|8Yxg)RYk}HdN?qa{T!%MO$v@7)ZK~$(^8x2pIVs^RQT~T1Je6;?umJmw0~X z4QaRQ#9Gi@YPV2y#KWqu9}aJ>lAP30B+E8K-1+e4>W@7)DHvO7c?6^A4Q2{~acR-c zUsJrdmu1V!zJw&EznoQtI>#^!rxv)-m0rn<0nQYiygk|R2PS^56oX!@T;Z!jL- zT-l0Fav$lUV4HuSivq(}o29uOo_ekqA)WUgd;HD=N9XL2*)A(wM1qSr5sd>=;@;sq zk|s$X3{-fvb%L5QmqPm#y+MeFhQcvEwv%%gD>S=S&aBV~GB0JpVKI_gBi{<%BeiV1 zKIfuw(qJW#gtohkMLNnlket9MdV>i}c{aS2mPjYT39-ODEqVh!@P3dkg0>4t7X^kF zkdR24(`D)@v{Z9^DY^I3O`7$w6UCDQnj1LBOrY?nZ%=vt0y^7&*89HU`aYTpG?+3c>gd)QoV{%4h z!8Si9vw$3GDoY|Pvh5^4+C|T|#pOg{i8YRw7v*)Sw!UJa(R^;HaLRluOp`sc+}uf@ zV;=%zqU@*4b;AlLRLL_o);Rm(o_~dFU!Z?3Tq@g!A_;*}ix{z;lwJ>St~L(BqBpP+ zE+%S%77+^|7BwltHRR?PjYnZ#SO^!8sdBPyB`RtKtzhsfTCuoDqe%>JOhkl6WMH9L zDE-wmQ7h8%@htD>bEOEK36CGjEj2KtbNi98Qc3G+z@jC+cTGt8@JJbrQ(0qjwDGQ; zc|R{8Hq7h9F~Y~0){jUaF0>Cxo#pW6N-{YdDPPY5IV$c0rr*9+{LX7-pU{Hg2kGSe zOnQW1GDrr@Qdv<*nxbs8F9**$TA}p@3-4BNETWw^OJ(T4=DiE4**@>*6NR<5QE*`a zm5hf>Dy}T7LQP2fQ1g9FVt)uh^D2dUHz`;!P8=qrQh2sz9@=*n*Prc5QKHEFZkA== zR($0@DR&ExjlWK+Ib1YI7Ze|q*X8PWogw3+gfr{_H}*Le4(at=xD*P4`8G=iL`aY} zo87X~ieY$#el%@ATit;|SWJ~Z7Zr1j2_461(qj^{n>JRPv0#j7{Oly6;7oWNWsdvI zu72YJU9$@L5}aqk-)pQGvo+7?YWt>&@zi=qf2#tc=nYOBO5qwNl8{t$d{XoVOA8@$ zWULrX$1h|p8vl#0Au_cd+gh`Is>CeSd~foySU}8zIbU6icsflB%L8Tuk<*Wm2!XVvaWL{xa|9uVJ3Q6B-b5Q{{YrDm3wH z{9T?^B5n1!1pn@`;r#?N?iA11E96C4YoSFSN;f2@DfnZwCNLl_Y*cu~u`=n>+%iIi zRtyD*1k(6ld>cE4xpJ~MM_AJ?JN71mW&z0|B1~vyn#G^zz< z1j}cLW08Bn7vtDbeEIMNP+2c3EUhqA#?TDH#&&Fo7E=p<7b76v)%+DMF(!f)pi?|! zFW@9SN88>b7tKVuUMAtA)`|~?2XXOM8w~-cK(@KwdU-B&W(`erf#E@1EFBgWTUD2WSA19aJ!L!pA^Ru*-wQJg z)}gbfA3}|9X|gHZML#Y)Ar|Z)?FFO2*WZM5ejprm#4O0D7DQN3weyGg@*b`cb2F68 zycktrcn}vQ{4Q+G;&aQvLMw&Ei=>zD-S-?u(0-a-_=^wXq9j(yy3Uqlla z9>hfkabewg5GJ;swX|YvXRHiQ{Z{>cz^6t#LGYNw18^+!S=DjsSfHvAouCYdGCq&jK@yFQH0&?tgVQawGj`g%DbkQde8HW)T>L(%YL3v#s z23jO5apAQ4#^;}VYR|-XBnHM=i2hq9ke>e&f(i_iM62ix&OC^VQ(u`I;ZSIMgHut5 zPb^=-CVedO+Vbpwz2@I+OyBgy@IY+`=wcao8EY4Xovy1zAey+SFzv=d9m21{nDh@q zI{Bf$UV5~|oTJTNO#2X4KXho{(udgD1p3eCk)#>JhpD9r&q9W&ddSdOaT*|Hx2;7b ziM$wz=H>V!i_iS+>OU9(Xpyso^+`NYi3}tF(}Y$Q*zrXjn+Q>?@)u}ADGT@~w3dv> z2r-1u&OB_w%pyID)&IuapZD`K$F>K%2j-f{8==i>@f!UYbg?!^lC}P`4MT3_nbQzN zV0aW4%Mc3(5^rf^yDN4nFNV*f1+57D_l6{C+MFdR)+ae}EZ)~DD~n%K@v+HmY!Y5P=|OQNi`Ifl>6 zp>SNBqD||@V~}SV-!*~|nrwN_?miZv|0KW9YTQ5g@Zp19lQw`vOA8ON@waBGP>Gbx zg5*#d{)ulZf~K14@aF1)hwpm??`Ua0fb-$a)mmYNzWf{Ik=vgPZ?68lp>1C&u9cxC zjqi$>1Yi=ZM+w~)RBF4J(mIe?^l)V(V4l~@6x+KFSY@i;QLpiFn|vwNU2CoHS0l<6 zXm@K74k#;sP#YKTF@}@r%UT;(?|bY0XM zXiGGKfdzc7P2SQVFn(%b4f(7o&AX*z@b`A1J_#X&>;m47NE|H!b#CLJBc*_zS+==V zUyPzR@N0H*0HRVWF8)WIYa+I|s1k44W(3^(ycqcXT1Vdh zRXAg^J_#X&bQEiWQFG?>QRy$bxTxV0d9d$R46Qi(TKO59d&6*5LI_C!D}jOf4?eyr>dNCKz@2BICl@KmC?RdG?nrEt=| zSTR#o#Cga(7aAaNY||s}ixuNe1Qxx4IfnSI z#WnuW;xjgmxU5e?2q7&a5*YBexb)<2ksvaa3u1jry~)=%K)`SoIy?tZCGT*u3Ir)*TjK29{V}v=YNJu ztG3u2Vey!R5JFmHqreDoBvK;9wu`?*XlTXwlx6kXkWB5jm7h0xFOFTTRXD=ZioYD~ zC4>;t0&4{ZyzqSKN%d8{S_iXH2m|Xnj=bR#UO-` z4zVd!_S2}zb^{|_E+ Vsh_wa$Atg@002ovPDHLkV1iMnZt?&C literal 0 HcmV?d00001 diff --git a/images/qrcode.png b/images/qrcode.png new file mode 100644 index 0000000000000000000000000000000000000000..7a3c6797a54fdbd60e05a550ac112f6474ac34b2 GIT binary patch literal 96008 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%0AbA6n*~T(wGkW)&7KF@u@xO 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 RMmWHiwz{5Lt%^ --> - + diff --git a/monaco-editor.fce7562f.async.js b/monaco-editor.fce7562f.async.js index 2d4e355a1c..b9a1cb68cc 100644 --- a/monaco-editor.fce7562f.async.js +++ b/monaco-editor.fce7562f.async.js @@ -1,6 +1,6 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{"+3Gp":function(Lt,j,e){"use strict";e.d(j,"a",function(){return z}),e.d(j,"b",function(){return O});var T=e("MNsG"),re=e("Yr1X"),J=function(){var H=function(u,y){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,f){_.__proto__=f}||function(_,f){for(var v in f)f.hasOwnProperty(v)&&(_[v]=f[v])},H(u,y)};return function(x,u){H(x,u);function y(){this.constructor=x}x.prototype=u===null?Object.create(u):(y.prototype=u.prototype,new y)}}(),I=T.e?1.5:1.35,U=8,z=function(){function H(x){this.zoomLevel=x.zoomLevel,this.fontFamily=String(x.fontFamily),this.fontWeight=String(x.fontWeight),this.fontSize=x.fontSize,this.fontFeatureSettings=x.fontFeatureSettings,this.lineHeight=x.lineHeight|0,this.letterSpacing=x.letterSpacing}return H.createFromValidatedSettings=function(x,u,y){var _=x.get(33),f=x.get(37),v=x.get(36),w=x.get(35),p=x.get(49),c=x.get(46);return H._create(_,f,v,w,p,c,u,y)},H._create=function(x,u,y,_,f,v,w,p){f===0?f=Math.round(I*y):fH.getLineMinColumn(x)?u=u-I.G(H.getLineContent(x),u-1):x>1&&(x=x-1,u=H.getLineMaxColumn(x)),new re.a(x,u)},O.left=function(H,x,u,y){var _=O.leftPosition(x,u,y);return new U(_.lineNumber,_.column,0)},O.moveLeft=function(H,x,u,y,_){var f,v;if(u.hasSelection()&&!y)f=u.selection.startLineNumber,v=u.selection.startColumn;else{var w=O.left(H,x,u.position.lineNumber,u.position.column-(_-1));f=w.lineNumber,v=w.column}return u.move(y,f,v,0)},O.rightPosition=function(H,x,u){return up?(u=p,v?y=x.getLineMaxColumn(u):y=Math.min(x.getLineMaxColumn(u),y)):y=T.a.columnFromVisibleColumn2(H,x,u,w),_=w-T.a.visibleColumnFromColumn(x.getLineContent(u),y,H.tabSize),new U(u,y,_)},O.moveDown=function(H,x,u,y,_){var f,v;u.hasSelection()&&!y?(f=u.selection.endLineNumber,v=u.selection.endColumn):(f=u.position.lineNumber,v=u.position.column);var w=O.down(H,x,f,v,u.leftoverVisibleColumns,_,!0);return u.move(y,w.lineNumber,w.column,w.leftoverVisibleColumns)},O.translateDown=function(H,x,u){var y=u.selection,_=O.down(H,x,y.selectionStartLineNumber,y.selectionStartColumn,u.selectionStartLeftoverVisibleColumns,1,!1),f=O.down(H,x,y.positionLineNumber,y.positionColumn,u.leftoverVisibleColumns,1,!1);return new T.f(new J.a(_.lineNumber,_.column,_.lineNumber,_.column),_.leftoverVisibleColumns,new re.a(f.lineNumber,f.column),f.leftoverVisibleColumns)},O.up=function(H,x,u,y,_,f,v){var w=T.a.visibleColumnFromColumn(x.getLineContent(u),y,H.tabSize)+_;return u=u-f,u<1?(u=1,v?y=x.getLineMinColumn(u):y=Math.min(x.getLineMaxColumn(u),y)):y=T.a.columnFromVisibleColumn2(H,x,u,w),_=w-T.a.visibleColumnFromColumn(x.getLineContent(u),y,H.tabSize),new U(u,y,_)},O.moveUp=function(H,x,u,y,_){var f,v;u.hasSelection()&&!y?(f=u.selection.startLineNumber,v=u.selection.startColumn):(f=u.position.lineNumber,v=u.position.column);var w=O.up(H,x,f,v,u.leftoverVisibleColumns,_,!0);return u.move(y,w.lineNumber,w.column,w.leftoverVisibleColumns)},O.translateUp=function(H,x,u){var y=u.selection,_=O.up(H,x,y.selectionStartLineNumber,y.selectionStartColumn,u.selectionStartLeftoverVisibleColumns,1,!1),f=O.up(H,x,y.positionLineNumber,y.positionColumn,u.leftoverVisibleColumns,1,!1);return new T.f(new J.a(_.lineNumber,_.column,_.lineNumber,_.column),_.leftoverVisibleColumns,new re.a(f.lineNumber,f.column),f.leftoverVisibleColumns)},O.moveToBeginningOfLine=function(H,x,u,y){var _=u.position.lineNumber,f=x.getLineMinColumn(_),v=x.getLineFirstNonWhitespaceColumn(_)||f,w,p=u.position.column;return p===v?w=f:w=v,u.move(y,_,w,0)},O.moveToEndOfLine=function(H,x,u,y){var _=u.position.lineNumber,f=x.getLineMaxColumn(_);return u.move(y,_,f,0)},O.moveToBeginningOfBuffer=function(H,x,u,y){return u.move(y,1,1,0)},O.moveToEndOfBuffer=function(H,x,u,y){var _=x.getLineCount(),f=x.getLineMaxColumn(_);return u.move(y,_,f,0)},O}()},"+a1H":function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars"],mimetypes:["text/x-handlebars-template"],loader:function(){return e.e(286).then(e.bind(null,"O3xE"))}})},"+hIS":function(Lt,j,e){"use strict";e.d(j,"a",function(){return z});var T=typeof monaco=="undefined"?self.monaco:monaco,re={},J={},I=function(){function O(H){var x=this;this._languageId=H,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise(function(u,y){x._lazyLoadPromiseResolve=u,x._lazyLoadPromiseReject=y})}return O.getOrCreate=function(H){return J[H]||(J[H]=new O(H)),J[H]},O.prototype.whenLoaded=function(){return this._lazyLoadPromise},O.prototype.load=function(){var H=this;return this._loadingTriggered||(this._loadingTriggered=!0,re[this._languageId].loader().then(function(x){return H._lazyLoadPromiseResolve(x)},function(x){return H._lazyLoadPromiseReject(x)})),this._lazyLoadPromise},O}();function U(O){return I.getOrCreate(O).load()}function z(O){var H=O.id;re[H]=O,T.languages.register(O);var x=I.getOrCreate(H);T.languages.setMonarchTokensProvider(H,x.whenLoaded().then(function(u){return u.language})),T.languages.onLanguage(H,function(){x.load().then(function(u){T.languages.setLanguageConfiguration(H,u.conf)})})}},"/RFl":function(Lt,j,e){"use strict";e.r(j),e.d(j,"DragAndDropController",function(){return _});var T=e("OhnE"),re=e("pmY6"),J=e("MNsG"),I=e("sswD"),U=e("cGHE"),z=e("aokT"),O=e("gCVg"),H=function(){function f(v,w,p){this.selection=v,this.targetPosition=w,this.copy=p,this.targetSelection=null}return f.prototype.getEditOperations=function(v,w){var p=v.getValueInRange(this.selection);if(this.copy||w.addEditOperation(this.selection,null),w.addEditOperation(new z.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),p),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new O.a(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new O.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumberVe?Ve:De},be.float=function(De,Se){if(typeof De=="number")return De;if(typeof De=="undefined")return Se;var Ve=parseFloat(De);return isNaN(Ve)?Se:Ve},be.prototype.validate=function(De){return this.validationFn(be.float(De,this.defaultValue))},be}(y),w=function(oe){I(be,oe);function be(De,Se,Ve,Qe){Qe===void 0&&(Qe=void 0);var it=this;return typeof Qe!="undefined"&&(Qe.type="string",Qe.default=Ve),it=oe.call(this,De,Se,Ve,Qe)||this,it}return be.string=function(De,Se){return typeof De!="string"?Se:De},be.prototype.validate=function(De){return be.string(De,this.defaultValue)},be}(y),p=function(oe){I(be,oe);function be(De,Se,Ve,Qe,it){it===void 0&&(it=void 0);var pt=this;return typeof it!="undefined"&&(it.type="string",it.enum=Qe,it.default=Ve),pt=oe.call(this,De,Se,Ve,it)||this,pt._allowedValues=Qe,pt}return be.stringSet=function(De,Se,Ve){return typeof De!="string"||Ve.indexOf(De)===-1?Se:De},be.prototype.validate=function(De){return be.stringSet(De,this.defaultValue,this._allowedValues)},be}(y),c=function(oe){I(be,oe);function be(De,Se,Ve,Qe,it,pt,Rt){Rt===void 0&&(Rt=void 0);var Mt=this;return typeof Rt!="undefined"&&(Rt.type="string",Rt.enum=it,Rt.default=Qe),Mt=oe.call(this,De,Se,Ve,Rt)||this,Mt._allowedValues=it,Mt._convert=pt,Mt}return be.prototype.validate=function(De){return typeof De!="string"?this.defaultValue:this._allowedValues.indexOf(De)===-1?this.defaultValue:this._convert(De)},be}(x);function s(oe){switch(oe){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}var l=function(oe){I(be,oe);function be(){return oe.call(this,2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[T.a("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),T.a("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),T.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:T.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")})||this}return be.prototype.validate=function(De){switch(De){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue},be.prototype.compute=function(De,Se,Ve){return Ve===0?De.accessibilitySupport:Ve},be}(x),d=function(oe){I(be,oe);function be(){var De=this,Se={insertSpace:!0};return De=oe.call(this,13,"comments",Se,{"editor.comments.insertSpace":{type:"boolean",default:Se.insertSpace,description:T.a("comments.insertSpace","Controls whether a space character is inserted when commenting.")}})||this,De}return be.prototype.validate=function(De){if(typeof De!="object")return this.defaultValue;var Se=De;return{insertSpace:_.boolean(Se.insertSpace,this.defaultValue.insertSpace)}},be}(x);function m(oe){switch(oe){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var E;(function(oe){oe[oe.Line=1]="Line",oe[oe.Block=2]="Block",oe[oe.Underline=3]="Underline",oe[oe.LineThin=4]="LineThin",oe[oe.BlockOutline=5]="BlockOutline",oe[oe.UnderlineThin=6]="UnderlineThin"})(E||(E={}));function L(oe){switch(oe){case"line":return E.Line;case"block":return E.Block;case"underline":return E.Underline;case"line-thin":return E.LineThin;case"block-outline":return E.BlockOutline;case"underline-thin":return E.UnderlineThin}}var A=function(oe){I(be,oe);function be(){return oe.call(this,104,[55,26])||this}return be.prototype.compute=function(De,Se,Ve){var Qe="monaco-editor";return Se.get(26)&&(Qe+=" "+Se.get(26)),De.extraEditorClassName&&(Qe+=" "+De.extraEditorClassName),Se.get(55)==="default"?Qe+=" mouse-default":Se.get(55)==="copy"&&(Qe+=" mouse-copy"),Se.get(85)&&(Qe+=" showUnused"),Qe},be}(u),k=function(oe){I(be,oe);function be(){return oe.call(this,25,"emptySelectionClipboard",!0,{description:T.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})||this}return be.prototype.compute=function(De,Se,Ve){return Ve&&De.emptySelectionClipboard},be}(_),R=function(oe){I(be,oe);function be(){var De=this,Se={seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0};return De=oe.call(this,28,"find",Se,{"editor.find.seedSearchStringFromSelection":{type:"boolean",default:Se.seedSearchStringFromSelection,description:T.a("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:Se.autoFindInSelection,enumDescriptions:[T.a("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)"),T.a("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically"),T.a("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:T.a("find.autoFindInSelection","Controls whether the find operation is carried out on selected text or the entire file in the editor.")},"editor.find.globalFindClipboard":{type:"boolean",default:Se.globalFindClipboard,description:T.a("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:re.e},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:Se.addExtraSpaceOnTop,description:T.a("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")}})||this,De}return be.prototype.validate=function(De){if(typeof De!="object")return this.defaultValue;var Se=De;return{seedSearchStringFromSelection:_.boolean(Se.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:typeof De.autoFindInSelection=="boolean"?De.autoFindInSelection?"always":"never":p.stringSet(Se.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:_.boolean(Se.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:_.boolean(Se.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop)}},be}(x),$=function(oe){I(be,oe);function be(){return oe.call(this,35,"fontLigatures",be.OFF,{anyOf:[{type:"boolean",description:T.a("fontLigatures","Enables/Disables font ligatures.")},{type:"string",description:T.a("fontFeatureSettings","Explicit font-feature-settings.")}],description:T.a("fontLigaturesGeneral","Configures font ligatures."),default:!1})||this}return be.prototype.validate=function(De){return typeof De=="undefined"?this.defaultValue:typeof De=="string"?De==="false"?be.OFF:De==="true"?be.ON:De:Boolean(De)?be.ON:be.OFF},be.OFF='"liga" off, "calt" off',be.ON='"liga" on, "calt" on',be}(x),ie=function(oe){I(be,oe);function be(){return oe.call(this,34)||this}return be.prototype.compute=function(De,Se,Ve){return De.fontInfo},be}(u),W=function(oe){I(be,oe);function be(){return oe.call(this,36,"fontSize",ve.fontSize,{type:"number",minimum:6,maximum:100,default:ve.fontSize,description:T.a("fontSize","Controls the font size in pixels.")})||this}return be.prototype.validate=function(De){var Se=v.float(De,this.defaultValue);return Se===0?ve.fontSize:v.clamp(Se,6,100)},be.prototype.compute=function(De,Se,Ve){return De.fontInfo.fontSize},be}(y),B=function(oe){I(be,oe);function be(){var De=this,Se={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:""},Ve={type:"string",enum:["peek","gotoAndPeek","goto"],default:Se.multiple,enumDescriptions:[T.a("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),T.a("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),T.a("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]};return De=oe.call(this,41,"gotoLocation",Se,{"editor.gotoLocation.multiple":{deprecationMessage:T.a("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":U({description:T.a("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},Ve),"editor.gotoLocation.multipleTypeDefinitions":U({description:T.a("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},Ve),"editor.gotoLocation.multipleDeclarations":U({description:T.a("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},Ve),"editor.gotoLocation.multipleImplementations":U({description:T.a("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},Ve),"editor.gotoLocation.multipleReferences":U({description:T.a("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},Ve),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:Se.alternativeDefinitionCommand,description:T.a("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:Se.alternativeTypeDefinitionCommand,description:T.a("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:Se.alternativeDeclarationCommand,description:T.a("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:Se.alternativeImplementationCommand,description:T.a("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:Se.alternativeReferenceCommand,description:T.a("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})||this,De}return be.prototype.validate=function(De){var Se,Ve,Qe,it,pt;if(typeof De!="object")return this.defaultValue;var Rt=De;return{multiple:p.stringSet(Rt.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(Se=Rt.multipleDefinitions)!==null&&Se!==void 0?Se:p.stringSet(Rt.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(Ve=Rt.multipleTypeDefinitions)!==null&&Ve!==void 0?Ve:p.stringSet(Rt.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(Qe=Rt.multipleDeclarations)!==null&&Qe!==void 0?Qe:p.stringSet(Rt.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(it=Rt.multipleImplementations)!==null&&it!==void 0?it:p.stringSet(Rt.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(pt=Rt.multipleReferences)!==null&&pt!==void 0?pt:p.stringSet(Rt.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:w.string(Rt.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:w.string(Rt.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:w.string(Rt.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:w.string(Rt.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:w.string(Rt.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}},be}(x),le=function(oe){I(be,oe);function be(){var De=this,Se={enabled:!0,delay:300,sticky:!0};return De=oe.call(this,44,"hover",Se,{"editor.hover.enabled":{type:"boolean",default:Se.enabled,description:T.a("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:Se.delay,description:T.a("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:Se.sticky,description:T.a("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})||this,De}return be.prototype.validate=function(De){if(typeof De!="object")return this.defaultValue;var Se=De;return{enabled:_.boolean(Se.enabled,this.defaultValue.enabled),delay:f.clampedInt(Se.delay,this.defaultValue.delay,0,1e4),sticky:_.boolean(Se.sticky,this.defaultValue.sticky)}},be}(x),Ce=function(oe){I(be,oe);function be(){return oe.call(this,107,[40,48,30,54,78,50])||this}return be.prototype.compute=function(De,Se,Ve){return be.computeLayout(Se,{outerWidth:De.outerWidth,outerHeight:De.outerHeight,lineHeight:De.fontInfo.lineHeight,lineNumbersDigitCount:De.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:De.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:De.fontInfo.maxDigitWidth,pixelRatio:De.pixelRatio})},be.computeLayout=function(De,Se){var Ve=Se.outerWidth|0,Qe=Se.outerHeight|0,it=Se.lineHeight|0,pt=Se.lineNumbersDigitCount|0,Rt=Se.typicalHalfwidthCharacterWidth,Mt=Se.maxDigitWidth,zt=Se.pixelRatio,uo=De.get(40),ao=De.get(50).renderType!==0,so=De.get(51)|0,Pt=De.get(54),ft=Pt.enabled,vt=Pt.side,At=Pt.renderCharacters,at=zt>=2?Math.round(Pt.scale*2):Pt.scale,tt=Pt.maxColumn|0,ut=De.get(78),Ct=ut.verticalScrollbarSize|0,gt=ut.verticalHasArrows,bt=ut.arrowSize|0,Gt=ut.horizontalScrollbarSize|0,Nt=De.get(48),Et=De.get(30),Je;if(typeof Nt=="string"&&/^\d+(\.\d+)?ch$/.test(Nt)){var $e=parseFloat(Nt.substr(0,Nt.length-2));Je=f.clampedInt($e*Rt,0,0,1e3)}else Je=f.clampedInt(Nt,0,0,1e3);Et&&(Je+=16);var ze=0;if(ao){var Ke=Math.max(pt,so);ze=Math.round(Ke*Mt)}var fe=0;uo&&(fe=it);var G=0,te=G+fe,Y=te+ze,de=Y+Je,ke=Ve-fe-ze-Je,lt,Tt,Jt,eo;if(!ft)Tt=0,Jt=0,lt=0,eo=ke;else{var po=at/zt;lt=At?1:2,Jt=Math.max(0,Math.floor((ke-Ct-2)*po/(Rt+po)))+z;var co=Jt/po;co>tt&&(Jt=Math.floor(tt*po)),eo=ke-Jt,vt==="left"?(Tt=0,G+=Jt,te+=Jt,Y+=Jt,de+=Jt):Tt=Ve-Jt-Ct}var Eo=Math.max(1,Math.floor((eo-Ct-2)/Rt)),Oo=gt?bt:0;return{width:Ve,height:Qe,glyphMarginLeft:G,glyphMarginWidth:fe,lineNumbersLeft:te,lineNumbersWidth:ze,decorationsLeft:Y,decorationsWidth:Je,contentLeft:de,contentWidth:eo,renderMinimap:lt,minimapLeft:Tt,minimapWidth:Jt,viewportColumn:Eo,verticalScrollbarWidth:Ct,horizontalScrollbarHeight:Gt,overviewRuler:{top:Oo,width:Ct,height:Qe-2*Oo,right:0}}},be}(u),Me=function(oe){I(be,oe);function be(){var De=this,Se={enabled:!0};return De=oe.call(this,47,"lightbulb",Se,{"editor.lightbulb.enabled":{type:"boolean",default:Se.enabled,description:T.a("codeActions","Enables the code action lightbulb in the editor.")}})||this,De}return be.prototype.validate=function(De){if(typeof De!="object")return this.defaultValue;var Se=De;return{enabled:_.boolean(Se.enabled,this.defaultValue.enabled)}},be}(x),Te=function(oe){I(be,oe);function be(){return oe.call(this,49,"lineHeight",ve.lineHeight,0,150,{description:T.a("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})||this}return be.prototype.compute=function(De,Se,Ve){return De.fontInfo.lineHeight},be}(f),Fe=function(oe){I(be,oe);function be(){var De=this,Se={enabled:!0,side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};return De=oe.call(this,54,"minimap",Se,{"editor.minimap.enabled":{type:"boolean",default:Se.enabled,description:T.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:Se.side,description:T.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:Se.showSlider,description:T.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:Se.scale,minimum:1,maximum:3,description:T.a("minimap.scale","Scale of content drawn in the minimap.")},"editor.minimap.renderCharacters":{type:"boolean",default:Se.renderCharacters,description:T.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:Se.maxColumn,description:T.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})||this,De}return be.prototype.validate=function(De){if(typeof De!="object")return this.defaultValue;var Se=De;return{enabled:_.boolean(Se.enabled,this.defaultValue.enabled),side:p.stringSet(Se.side,this.defaultValue.side,["right","left"]),showSlider:p.stringSet(Se.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:_.boolean(Se.renderCharacters,this.defaultValue.renderCharacters),scale:f.clampedInt(Se.scale,1,1,3),maxColumn:f.clampedInt(Se.maxColumn,this.defaultValue.maxColumn,1,1e4)}},be}(x);function Ue(oe){return oe==="ctrlCmd"?re.e?"metaKey":"ctrlKey":"altKey"}var Pe=function(oe){I(be,oe);function be(){var De=this,Se={enabled:!0,cycle:!1};return De=oe.call(this,64,"parameterHints",Se,{"editor.parameterHints.enabled":{type:"boolean",default:Se.enabled,description:T.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:Se.cycle,description:T.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})||this,De}return be.prototype.validate=function(De){if(typeof De!="object")return this.defaultValue;var Se=De;return{enabled:_.boolean(Se.enabled,this.defaultValue.enabled),cycle:_.boolean(Se.cycle,this.defaultValue.cycle)}},be}(x),ne=function(oe){I(be,oe);function be(){return oe.call(this,105)||this}return be.prototype.compute=function(De,Se,Ve){return De.pixelRatio},be}(u),ee=function(oe){I(be,oe);function be(){var De=this,Se={other:!0,comments:!1,strings:!1};return De=oe.call(this,66,"quickSuggestions",Se,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:Se.strings,description:T.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:Se.comments,description:T.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:Se.other,description:T.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:Se,description:T.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")})||this,De.defaultValue=Se,De}return be.prototype.validate=function(De){if(typeof De=="boolean")return De;if(typeof De=="object"){var Se=De,Ve={other:_.boolean(Se.other,this.defaultValue.other),comments:_.boolean(Se.comments,this.defaultValue.comments),strings:_.boolean(Se.strings,this.defaultValue.strings)};return Ve.other&&Ve.comments&&Ve.strings?!0:!Ve.other&&!Ve.comments&&!Ve.strings?!1:Ve}return this.defaultValue},be}(x),ae=function(oe){I(be,oe);function be(){return oe.call(this,50,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[T.a("lineNumbers.off","Line numbers are not rendered."),T.a("lineNumbers.on","Line numbers are rendered as absolute number."),T.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),T.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:T.a("lineNumbers","Controls the display of line numbers.")})||this}return be.prototype.validate=function(De){var Se=this.defaultValue.renderType,Ve=this.defaultValue.renderFn;return typeof De!="undefined"&&(typeof De=="function"?(Se=4,Ve=De):De==="interval"?Se=3:De==="relative"?Se=2:De==="on"?Se=1:Se=0),{renderType:Se,renderFn:Ve}},be}(x);function q(oe){var be=oe.get(73);return be==="editable"?oe.get(68):!(be==="on")}var ue=function(oe){I(be,oe);function be(){var De=this,Se=[];return De=oe.call(this,77,"rulers",Se,{type:"array",items:{type:"number"},default:Se,description:T.a("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})||this,De}return be.prototype.validate=function(De){if(Array.isArray(De)){for(var Se=[],Ve=0,Qe=De;Ve",it},X.prototype.image=function(Se,Ve,Qe){if(Se=Re(this.options.sanitize,this.options.baseUrl,Se),Se===null)return Qe;var it=''+Qe+'":">",it},X.prototype.text=function(Se){return Se};function he(){}he.prototype.strong=he.prototype.em=he.prototype.codespan=he.prototype.del=he.prototype.text=function(Se){return Se},he.prototype.link=he.prototype.image=function(Se,Ve,Qe){return""+Qe},he.prototype.br=function(){return""};function je(Se){this.tokens=[],this.token=null,this.options=Se||De.defaults,this.options.renderer=this.options.renderer||new X,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new Xe}je.parse=function(Se,Ve){var Qe=new je(Ve);return Qe.parse(Se)},je.prototype.parse=function(Se){this.inline=new ue(Se.links,this.options),this.inlineText=new ue(Se.links,F({},this.options,{renderer:new he})),this.tokens=Se.reverse();for(var Ve="";this.next();)Ve+=this.tok();return Ve},je.prototype.next=function(){return this.token=this.tokens.pop()},je.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},je.prototype.parseText=function(){for(var Se=this.token.text;this.peek().type==="text";)Se+=` `+this.next().text;return this.inline.output(Se)},je.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,ge(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":{var Se="",Ve="",Qe,it,pt,Rt;for(pt="",Qe=0;Qe?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(Ve)){var Qe=Ve;do this.seen[Qe]++,Ve=Qe+"-"+this.seen[Qe];while(this.seen.hasOwnProperty(Ve))}return this.seen[Ve]=0,Ve};function me(Se,Ve){if(Ve){if(me.escapeTest.test(Se))return Se.replace(me.escapeReplace,function(Qe){return me.replacements[Qe]})}else if(me.escapeTestNoEncode.test(Se))return Se.replace(me.escapeReplaceNoEncode,function(Qe){return me.replacements[Qe]});return Se}me.escapeTest=/[&<>"']/,me.escapeReplace=/[&<>"']/g,me.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},me.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,me.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;function ge(Se){return Se.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,function(Ve,Qe){return Qe=Qe.toLowerCase(),Qe==="colon"?":":Qe.charAt(0)==="#"?Qe.charAt(1)==="x"?String.fromCharCode(parseInt(Qe.substring(2),16)):String.fromCharCode(+Qe.substring(1)):""})}function we(Se,Ve){return Se=Se.source||Se,Ve=Ve||"",{replace:function(it,pt){return pt=pt.source||pt,pt=pt.replace(/(^|[^\[])\^/g,"$1"),Se=Se.replace(it,pt),this},getRegex:function(){return new RegExp(Se,Ve)}}}function Re(Se,Ve,Qe){if(Se){try{var it=decodeURIComponent(ge(Qe)).replace(/[^\w:]/g,"").toLowerCase()}catch(pt){return null}if(it.indexOf("javascript:")===0||it.indexOf("vbscript:")===0||it.indexOf("data:")===0)return null}Ve&&!Q.test(Qe)&&(Qe=Ee(Ve,Qe));try{Qe=encodeURI(Qe).replace(/%25/g,"%")}catch(pt){return null}return Qe}function Ee(Se,Ve){return ve[" "+Se]||(/^[^:]+:\/*[^/]*$/.test(Se)?ve[" "+Se]=Se+"/":ve[" "+Se]=oe(Se,"/",!0)),Se=ve[" "+Se],Ve.slice(0,2)==="//"?Se.replace(/:[\s\S]*/,":")+Ve:Ve.charAt(0)==="/"?Se.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+Ve:Se+Ve}var ve={},Q=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function C(){}C.exec=C;function F(Se){for(var Ve=1,Qe,it;Ve=0&&zt[ao]==="\\";)uo=!uo;return uo?"|":" |"}),it=Qe.split(/ \|/),pt=0;if(it.length>Ve)it.splice(Ve);else for(;it.lengthAn error occurred:

"+me(uo.message+"",!0)+"
";throw uo}}De.options=De.setOptions=function(Se){return F(De.defaults,Se),De},De.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new X,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},De.defaults=De.getDefaults(),De.Parser=je,De.parser=je.parse,De.Renderer=X,De.TextRenderer=he,De.Lexer=ae,De.lexer=ae.lex,De.InlineLexer=ue,De.inlineLexer=ue.output,De.Slugger=Xe,De.parse=De,z=De}).call(void 0);var O=z,H=z.Parser,x=z.parser,u=z.Renderer,y=z.TextRenderer,_=z.Lexer,f=z.lexer,v=z.InlineLexer,w=z.inlineLexer,p=z.parse,c,c,s;(function(){function ne(ee,ae,q){function ue(je,Xe){if(!ae[je]){if(!ee[je]){var me=typeof c=="function"&&c;if(!Xe&&me)return c(je,!0);if(X)return X(je,!0);var ge=new Error("Cannot find module '"+je+"'");throw ge.code="MODULE_NOT_FOUND",ge}var we=ae[je]={exports:{}};ee[je][0].call(we.exports,function(Re){var Ee=ee[je][1][Re];return ue(Ee||Re)},we,we.exports,ne,ee,ae,q)}return ae[je].exports}for(var X=typeof c=="function"&&c,he=0;he\s]+))?)*)\s*(\/?)\s*>/,Xe=/^<\s*\/\s*([\w:-]+)[^>]*>/,me=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,ge=/^");pt>=0&&(Q.comment&&Q.comment(ve.substring(4,pt)),ve=ve.substring(pt+3),se=!1)}function Ve(){if(!se)return;var pt,Rt=ve.indexOf("<");Rt>=0?(pt=ve.substring(0,Rt),ve=ve.substring(Rt)):(pt=ve,ve=""),Q.chars&&Q.chars(pt)}function Qe(pt,Rt,Mt,zt){var uo={},ao=ue(Rt),so=he.voids[ao]||!!zt;Mt.replace(me,Pt),so||C.push(ao),Q.start&&Q.start(ao,uo,so);function Pt(ft,vt,At,at,tt){At===void 0&&at===void 0&&tt===void 0?uo[vt]=void 0:uo[vt]=q.decode(At||at||tt||"")}}function it(pt,Rt){var Mt,zt=0,uo=ue(Rt);if(uo)for(zt=C.length-1;zt>=0&&!(C[zt]===uo);zt--);if(zt>=0){for(Mt=C.length-1;Mt>=zt;Mt--)Q.end&&Q.end(C[Mt]);C.length=zt}}}ee.exports=Ee},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],8:[function(ne,ee,ae){"use strict";var q=ne("he"),ue=ne("./lowercase"),X=ne("./attributes"),he=ne("./elements");function je(Xe,me){var ge,we,Re=me||{};return be(),{start:ve,end:Q,chars:F};function Ee(De){Xe.push(De)}function ve(De,Se,Ve){var Qe=ue(De);if(we.ignoring){se(Qe);return}if((Re.allowedTags||[]).indexOf(Qe)===-1){se(Qe);return}if(Re.filter&&!Re.filter({tag:Qe,attrs:Se})){se(Qe);return}Ee("<"),Ee(Qe),Object.keys(Se).forEach(it),Ee(Ve?"/>":">");function it(pt){var Rt=Se[pt],Mt=(Re.allowedClasses||{})[Qe]||[],zt=(Re.allowedAttributes||{})[Qe]||[];zt=zt.concat((Re.allowedAttributes||{})["*"]||[]);var uo,ao=ue(pt);ao==="class"&&zt.indexOf(ao)===-1?(Rt=Rt.split(" ").filter(so).join(" ").trim(),uo=Rt.length):uo=zt.indexOf(ao)!==-1&&(X.uris[ao]!==!0||C(Rt)),uo&&(Ee(" "),Ee(pt),typeof Rt=="string"&&(Ee('="'),Ee(q.encode(Rt)),Ee('"')));function so(Pt){return Mt&&Mt.indexOf(Pt)!==-1}}}function Q(De){var Se=ue(De),Ve=(Re.allowedTags||[]).indexOf(Se)!==-1;Ve&&we.ignoring===!1?(Ee("")):oe(Se)}function C(De){var Se=De[0];if(Se==="#"||Se==="/")return!0;var Ve=De.indexOf(":");if(Ve===-1)return!0;var Qe=De.indexOf("?");if(Qe!==-1&&Ve>Qe)return!0;var it=De.indexOf("#");if(it!==-1&&Ve>it)return!0;return Re.allowedSchemes.some(pt);function pt(Rt){return De.indexOf(Rt+":")===0}}function F(De){we.ignoring===!1&&Ee(Re.transformText?Re.transformText(De):De)}function se(De){if(he.voids[De])return;we.ignoring===!1?we={ignoring:De,depth:1}:we.ignoring===De&&we.depth++}function oe(De){we.ignoring===De&&(--we.depth<=0&&be())}function be(){we={ignoring:!1,depth:0}}}ee.exports=je},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],9:[function(ne,ee,ae){"use strict";var q={"&":"&","<":"<",">":">",'"':""","'":"'"},ue={"&":"&","<":"<",">":">",""":'"',"'":"'"},X=/(&|<|>|"|')/g,he=/[&<>"']/g;function je(we){return q[we]}function Xe(we){return ue[we]}function me(we){return we==null?"":String(we).replace(he,je)}function ge(we){return we==null?"":String(we).replace(X,Xe)}me.options=ge.options={},ee.exports={encode:me,escape:me,decode:ge,unescape:ge,version:"1.0.0-browser"}},{}],10:[function(ne,ee,ae){"use strict";function q(X){return X.reduce(ue,{})}function ue(X,he){return X[he]=!0,X}ee.exports=q},{}]},{},[4]);var l=s,d=e("Q4rV"),m=e("qj0h"),E=e("N0LK"),L=e("bY76"),A=e("tYmi"),k=e("Vhoy");function R(ne,ee){ee===void 0&&(ee={});var ae=Object(re.a)(ee),q=function(Ee){var ve;try{ve=Object(d.a)(decodeURIComponent(Ee))}catch(Q){}return ve?(ve=Object(m.b)(ve,function(Q){return ne.uris&&ne.uris[Q]?L.a.revive(ne.uris[Q]):void 0}),encodeURIComponent(JSON.stringify(ve))):Ee},ue=function(Ee,ve){var Q=ne.uris&&ne.uris[Ee];if(!Q)return Ee;var C=L.a.revive(Q);return L.a.parse(Ee).toString()===C.toString()?Ee:(ve&&(C=T.s(C)),C.query&&(C=C.with({query:q(C.query)})),C.toString(!0))},X,he=new Promise(function(Re){return X=Re}),je=new u;je.image=function(Re,Ee,ve){var Q,C=[],F=[];return Re&&(Q=Object(I.d)(Re),Re=Q.href,C=Q.dimensions,Re=ue(Re,!0),F.push('src="'+Re+'"')),ve&&F.push('alt="'+ve+'"'),Ee&&F.push('title="'+Ee+'"'),C.length&&(F=F.concat(C)),""},je.link=function(Re,Ee,ve){return Re===ve&&(ve=Object(I.e)(ve)),Re=ue(Re,!1),Ee=Object(I.e)(Ee),Re=Object(I.e)(Re),!Re||Re.match(/^data:|javascript:/i)||Re.match(/^command:/i)&&!ne.isTrusted||Re.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?ve:(Re=Re.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),''+ve+"")},je.paragraph=function(Re){return"

"+(ne.supportThemeIcons?Object(k.c)(Re):Re)+"

"},ee.codeBlockRenderer&&(je.code=function(Re,Ee){var ve=ee.codeBlockRenderer(Ee,Re),Q=U.b.nextId(),C=Promise.all([ve,he]).then(function(F){var se=F[0],oe=ae.querySelector('div[data-code="'+Q+'"]');oe&&(oe.innerHTML=se)}).catch(function(F){});return ee.codeBlockRenderCallback&&C.then(ee.codeBlockRenderCallback),'
'+Object(E.o)(Re)+"
"});var Xe=ee.actionHandler;Xe&&Xe.disposeables.add(T.o(ae,"click",function(Re){var Ee=Re.target;if(Ee.tagName!=="A"&&(Ee=Ee.parentElement,!Ee||Ee.tagName!=="A"))return;try{var ve=Ee.dataset.href;ve&&Xe.callback(ve,Re)}catch(Q){Object(J.e)(Q)}finally{Re.preventDefault()}}));var me={sanitize:!0,renderer:je},ge=[A.b.http,A.b.https,A.b.mailto,A.b.data,A.b.file,A.b.vscodeRemote,A.b.vscodeRemoteResource];ne.isTrusted&&ge.push(A.b.command);var we=p(ne.supportThemeIcons?Object(k.b)(ne.value):ne.value,me);return ae.innerHTML=l(we,{allowedSchemes:ge,allowedAttributes:{a:["href","name","target","data-href"],iframe:["allowfullscreen","frameborder","src"],img:["src","title","alt","width","height"],div:["class","data-code"],span:["class"]}}),X(),ae}var $=e("W9cx"),ie=e("WBhO"),W=e("TQUy"),B=e("Cg/j"),le=e("MI8n"),Ce=e("pmY6"),Me=e("twdY"),Te=function(){var ne=function(ae,q){return ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,X){ue.__proto__=X}||function(ue,X){for(var he in X)X.hasOwnProperty(he)&&(ue[he]=X[he])},ne(ae,q)};return function(ee,ae){ne(ee,ae);function q(){this.constructor=ee}ee.prototype=ae===null?Object.create(ae):(q.prototype=ae.prototype,new q)}}(),Fe=function(ne,ee,ae,q){var ue=arguments.length,X=ue<3?ee:q===null?q=Object.getOwnPropertyDescriptor(ee,ae):q,he;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")X=Reflect.decorate(ne,ee,ae,q);else for(var je=ne.length-1;je>=0;je--)(he=ne[je])&&(X=(ue<3?he(X):ue>3?he(ee,ae,X):he(ee,ae))||X);return ue>3&&X&&Object.defineProperty(ee,ae,X),X},Ue=function(ne,ee){return function(ae,q){ee(ae,q,ne)}},Pe=function(ne){Te(ee,ne);function ee(ae,q,ue){ue===void 0&&(ue=$.b);var X=ne.call(this)||this;return X._editor=ae,X._modeService=q,X._openerService=ue,X._onDidRenderCodeBlock=X._register(new le.a),X.onDidRenderCodeBlock=X._onDidRenderCodeBlock.event,X}return ee.prototype.getOptions=function(ae){var q=this;return{codeBlockRenderer:function(X,he){var je=null;if(X)je=q._modeService.getModeIdForLanguageName(X);else{var Xe=q._editor.getModel();Xe&&(je=Xe.getLanguageIdentifier().language)}return q._modeService.triggerMode(je||""),Promise.resolve(!0).then(function(me){var ge=Me.B.getPromise(je||"");return ge?ge.then(function(we){return Object(W.b)(he,we)}):Object(W.b)(he,void 0)}).then(function(me){return''+me+""})},codeBlockRenderCallback:function(){return q._onDidRenderCodeBlock.fire()},actionHandler:{callback:function(X){q._openerService.open(X,{fromUserGesture:!0}).catch(J.e)},disposeables:ae}}},ee.prototype.render=function(ae){var q=new Ce.b,ue;return ae?ue=R(ae,this.getOptions(q)):ue=document.createElement("span"),{element:ue,dispose:function(){return q.dispose()}}},ee=Fe([Ue(1,ie.a),Ue(2,Object(B.d)($.a))],ee),ee}(Ce.a)},"3rx1":function(Lt,j,e){"use strict";e.d(j,"b",function(){return O}),e.d(j,"a",function(){return H}),e.d(j,"c",function(){return u});var T=e("bY76"),re=e("MrjW"),J=e("N0LK"),I=e("tYmi"),U=e("MNsG"),z=e("gslv");function O(f,v,w){if(typeof f=="string"&&(f=T.a.file(f)),w){var p=w.getWorkspaceFolder(f);if(p){var c=w.getWorkspace().folders.length>1,s=void 0;if(Object(z.e)(p.uri,f)?s="":s=Object(z.h)(p.uri,f),c){var l=p.name?p.name:Object(z.b)(p.uri);s=s?l+" \u2022 "+s:l}return s}}if(f.scheme!==I.b.file&&f.scheme!==I.b.untitled)return f.with({query:null,fragment:null}).toString(!0);if(x(f.fsPath))return Object(re.normalize)(u(f.fsPath));var d=Object(re.normalize)(f.fsPath);return!U.h&&v&&(d=_(d,v.userHome)),d}function H(f){if(!f)return;typeof f=="string"&&(f=T.a.file(f));var v=Object(z.b)(f)||(f.scheme===I.b.file?f.fsPath:f.path);return x(v)?u(v):v}function x(f){return!!(U.h&&f&&f[1]===":")}function u(f){return x(f)?f.charAt(0).toUpperCase()+f.slice(1):f}var y=Object.create(null);function _(f,v){if(U.h||!f||!v)return f;var w=y.original===v?y.normalized:void 0;return w||(w=""+Object(J.K)(v,re.posix.sep)+re.posix.sep,y={original:v,normalized:w}),(U.d?Object(J.N)(f,w):Object(J.O)(f,w))&&(f="~/"+f.substr(w.length)),f}},"4bUh":function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("twdY"),re=function(){function I(U,z){this._tokens=U,this._tokensCount=this._tokens.length>>>1,this._text=z}return I.prototype.equals=function(U){return U instanceof I?this.slicedEquals(U,0,this._tokensCount):!1},I.prototype.slicedEquals=function(U,z,O){if(this._text!==U._text)return!1;if(this._tokensCount!==U._tokensCount)return!1;for(var H=z<<1,x=H+(O<<1),u=H;u0?this._tokens[U-1<<1]:0},I.prototype.getMetadata=function(U){var z=this._tokens[(U<<1)+1];return z},I.prototype.getLanguageId=function(U){var z=this._tokens[(U<<1)+1];return T.A.getLanguageId(z)},I.prototype.getStandardTokenType=function(U){var z=this._tokens[(U<<1)+1];return T.A.getTokenType(z)},I.prototype.getForeground=function(U){var z=this._tokens[(U<<1)+1];return T.A.getForeground(z)},I.prototype.getClassName=function(U){var z=this._tokens[(U<<1)+1];return T.A.getClassNameFromMetadata(z)},I.prototype.getInlineStyle=function(U,z){var O=this._tokens[(U<<1)+1];return T.A.getInlineStyleFromMetadata(O,z)},I.prototype.getEndOffset=function(U){return this._tokens[U<<1]},I.prototype.findTokenIndexAtOffset=function(U){return I.findIndexInTokensArray(this._tokens,U)},I.prototype.inflate=function(){return this},I.prototype.sliceAndInflate=function(U,z,O){return new J(this,U,z,O)},I.convertToEndOffset=function(U,z){for(var O=U.length>>>1,H=O-1,x=0;x>>1)-1;Oz&&(H=x)}return O},I}(),J=function(){function I(U,z,O,H){this._source=U,this._startOffset=z,this._endOffset=O,this._deltaOffset=H,this._firstTokenIndex=U.findTokenIndexAtOffset(z),this._tokensCount=0;for(var x=this._firstTokenIndex,u=U.getCount();x=O)break;this._tokensCount++}}return I.prototype.equals=function(U){return U instanceof I?this._startOffset===U._startOffset&&this._endOffset===U._endOffset&&this._deltaOffset===U._deltaOffset&&this._source.slicedEquals(U._source,this._firstTokenIndex,this._tokensCount):!1},I.prototype.getCount=function(){return this._tokensCount},I.prototype.getForeground=function(U){return this._source.getForeground(this._firstTokenIndex+U)},I.prototype.getEndOffset=function(U){var z=this._source.getEndOffset(this._firstTokenIndex+U);return Math.min(this._endOffset,z)-this._startOffset+this._deltaOffset},I.prototype.getClassName=function(U){return this._source.getClassName(this._firstTokenIndex+U)},I.prototype.getInlineStyle=function(U,z){return this._source.getInlineStyle(this._firstTokenIndex+U,z)},I.prototype.findTokenIndexAtOffset=function(U){return this._source.findTokenIndexAtOffset(U+this._startOffset-this._deltaOffset)-this._firstTokenIndex},I}()},"4rho":function(Lt,j,e){},"4sI4":function(Lt,j,e){"use strict";e.r(j),e.d(j,"StandaloneReferencesController",function(){return _});var T=e("sswD"),re=e("Vxe3"),J=e("QY8A"),I=e("+7oY"),U=e("T8No"),z=e("Cg/j"),O=e("sM1p"),H=e("A+jI"),x=function(){var f=function(w,p){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,s){c.__proto__=s}||function(c,s){for(var l in s)s.hasOwnProperty(l)&&(c[l]=s[l])},f(w,p)};return function(v,w){f(v,w);function p(){this.constructor=v}v.prototype=w===null?Object.create(w):(p.prototype=w.prototype,new p)}}(),u=function(f,v,w,p){var c=arguments.length,s=c<3?v:p===null?p=Object.getOwnPropertyDescriptor(v,w):p,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(f,v,w,p);else for(var d=f.length-1;d>=0;d--)(l=f[d])&&(s=(c<3?l(s):c>3?l(v,w,s):l(v,w))||s);return c>3&&s&&Object.defineProperty(v,w,s),s},y=function(f,v){return function(w,p){v(w,p,f)}},_=function(f){x(v,f);function v(w,p,c,s,l,d,m){return f.call(this,!0,w,p,c,s,l,d,m)||this}return v=u([y(1,U.c),y(2,re.a),y(3,O.a),y(4,z.a),y(5,H.a),y(6,I.a)],v),v}(J.a);Object(T.h)(J.a.ID,_)},"4y0V":function(Lt,j,e){"use strict";e.d(j,"a",function(){return re}),e.d(j,"b",function(){return J});var T=e("MI8n"),re=function(U,z,O){var H=function(y){return x.fire(y)},x=new T.a({onFirstListenerAdd:function(){U.addEventListener(z,H,O)},onLastListenerRemove:function(){U.removeEventListener(z,H,O)}});return x.event};function J(I){return T.b.map(I,function(U){return U.preventDefault(),U.stopPropagation(),U})}},"51B1":function(Lt,j,e){},"51f4":function(Lt,j,e){"use strict";e.d(j,"a",function(){return U});var T=!1,re=null;function J(z){if(!z.parent||z.parent===z)return null;try{var O=z.location,H=z.parent.location;if(O.protocol!==H.protocol||O.hostname!==H.hostname||O.port!==H.port)return T=!0,null}catch(x){return T=!0,null}return z.parent}function I(z,O){for(var H=z.document.getElementsByTagName("iframe"),x,u=0,y=H.length;u0&&v._undoStack[v._undoStack.length-1].cursorState.equals(p);c||(v._undoStack.push(new O(p,f.getScrollTop(),f.getScrollLeft())),v._redoStack=[],v._undoStack.length>50&&v._undoStack.shift())})),v}return _.get=function(f){return f.getContribution(_.ID)},_.prototype.cursorUndo=function(){if(!this._editor.hasModel()||this._undoStack.length===0)return;this._redoStack.push(new O(new z(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop())},_.prototype.cursorRedo=function(){if(!this._editor.hasModel()||this._redoStack.length===0)return;this._undoStack.push(new O(new z(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop())},_.prototype._applyState=function(f){this._isCursorUndoRedo=!0,this._editor.setSelections(f.cursorState.selections),this._editor.setScrollPosition({scrollTop:f.scrollTop,scrollLeft:f.scrollLeft}),this._isCursorUndoRedo=!1},_.ID="editor.contrib.cursorUndoRedoController",_}(re.a),x=function(y){U(_,y);function _(){return y.call(this,{id:"cursorUndo",label:T.a("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:I.a.textInputFocus,primary:2048|51,weight:100}})||this}return _.prototype.run=function(f,v,w){H.get(v).cursorUndo()},_}(J.b),u=function(y){U(_,y);function _(){return y.call(this,{id:"cursorRedo",label:T.a("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})||this}return _.prototype.run=function(f,v,w){H.get(v).cursorRedo()},_}(J.b);Object(J.h)(H.ID,H),Object(J.f)(x),Object(J.f)(u)},"5TxY":function(Lt,j,e){"use strict";e.d(j,"a",function(){return _}),e.d(j,"b",function(){return v});var T=e("D3Dy"),re=e("EffR"),J=e("X+cX"),I=e("MI8n"),U=e("pmY6"),z=e("MNsG"),O=e("N0LK"),H=e("Comh"),x=e("gCVg"),u=e("CjF5"),y=function(){var c=function(l,d){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,E){m.__proto__=E}||function(m,E){for(var L in E)E.hasOwnProperty(L)&&(m[L]=E[L])},c(l,d)};return function(s,l){c(s,l);function d(){this.constructor=s}s.prototype=l===null?Object.create(l):(d.prototype=l.prototype,new d)}}(),_={forceCopyWithSyntaxHighlighting:!1},f=function(){function c(){this._lastState=null}return c.prototype.set=function(s,l){this._lastState={lastCopiedValue:s,data:l}},c.prototype.get=function(s){return this._lastState&&this._lastState.lastCopiedValue===s?this._lastState.data:(this._lastState=null,null)},c.INSTANCE=new c,c}(),v=function(c){y(s,c);function s(l,d){var m=c.call(this)||this;m.textArea=d,m._onFocus=m._register(new I.a),m.onFocus=m._onFocus.event,m._onBlur=m._register(new I.a),m.onBlur=m._onBlur.event,m._onKeyDown=m._register(new I.a),m.onKeyDown=m._onKeyDown.event,m._onKeyUp=m._register(new I.a),m.onKeyUp=m._onKeyUp.event,m._onCut=m._register(new I.a),m.onCut=m._onCut.event,m._onPaste=m._register(new I.a),m.onPaste=m._onPaste.event,m._onType=m._register(new I.a),m.onType=m._onType.event,m._onCompositionStart=m._register(new I.a),m.onCompositionStart=m._onCompositionStart.event,m._onCompositionUpdate=m._register(new I.a),m.onCompositionUpdate=m._onCompositionUpdate.event,m._onCompositionEnd=m._register(new I.a),m.onCompositionEnd=m._onCompositionEnd.event,m._onSelectionChangeRequest=m._register(new I.a),m.onSelectionChangeRequest=m._onSelectionChangeRequest.event,m._host=l,m._textArea=m._register(new p(d)),m._asyncTriggerCut=m._register(new J.d(function(){return m._onCut.fire()},0)),m._textAreaState=H.b.EMPTY,m._selectionChangeListener=null,m.writeScreenReaderContent("ctor"),m._hasFocus=!1,m._isDoingComposition=!1,m._nextCommand=0,m._register(re.o(d.domNode,"keydown",function(k){m._isDoingComposition&&(k.keyCode===109||k.keyCode===1)&&k.stopPropagation(),k.equals(9)&&k.preventDefault(),m._onKeyDown.fire(k)})),m._register(re.o(d.domNode,"keyup",function(k){m._onKeyUp.fire(k)})),m._register(re.j(d.domNode,"compositionstart",function(k){if(m._isDoingComposition)return;m._isDoingComposition=!0,T.f||m._setAndWriteTextAreaState("compositionstart",H.b.EMPTY),m._onCompositionStart.fire()}));var E=function(R){var $=m._textAreaState,ie=H.b.readFromTextArea(m._textArea);return[ie,H.b.deduceInput($,ie,R)]},L=function(R){var $=m._textAreaState,ie=H.b.selectedText(R),W={text:ie.value,replaceCharCnt:$.selectionEnd-$.selectionStart};return[ie,W]},A=function(R){return T.f&&R==="ja"?!0:!!(T.i&&R.indexOf("zh-Han")===0)};return m._register(re.j(d.domNode,"compositionupdate",function(k){if(A(k.locale)){var R=E(!1),$=R[0],ie=R[1];m._textAreaState=$,m._onType.fire(ie),m._onCompositionUpdate.fire(k);return}var W=L(k.data),B=W[0],le=W[1];m._textAreaState=B,m._onType.fire(le),m._onCompositionUpdate.fire(k)})),m._register(re.j(d.domNode,"compositionend",function(k){if(!m._isDoingComposition)return;if(A(k.locale)){var R=E(!1),$=R[0],ie=R[1];m._textAreaState=$,m._onType.fire(ie)}else{var W=L(k.data),$=W[0],ie=W[1];m._textAreaState=$,m._onType.fire(ie)}if((T.f||T.d)&&(m._textAreaState=H.b.readFromTextArea(m._textArea)),!m._isDoingComposition)return;m._isDoingComposition=!1,m._onCompositionEnd.fire()})),m._register(re.j(d.domNode,"input",function(){if(m._textArea.setIgnoreSelectionChangeTime("received input event"),m._isDoingComposition)return;var k=E(z.e),R=k[0],$=k[1];if($.replaceCharCnt===0&&$.text.length===1&&O.z($.text.charCodeAt(0)))return;m._textAreaState=R,m._nextCommand===0?$.text!==""&&m._onType.fire($):(($.text!==""||$.replaceCharCnt!==0)&&m._firePaste($.text,null),m._nextCommand=0)})),m._register(re.j(d.domNode,"cut",function(k){m._textArea.setIgnoreSelectionChangeTime("received cut event"),m._ensureClipboardGetsEditorSelection(k),m._asyncTriggerCut.schedule()})),m._register(re.j(d.domNode,"copy",function(k){m._ensureClipboardGetsEditorSelection(k)})),m._register(re.j(d.domNode,"paste",function(k){if(m._textArea.setIgnoreSelectionChangeTime("received paste event"),w.canUseTextData(k)){var R=w.getTextData(k),$=R[0],ie=R[1];$!==""&&m._firePaste($,ie)}else m._textArea.getSelectionStart()!==m._textArea.getSelectionEnd()&&m._setAndWriteTextAreaState("paste",H.b.EMPTY),m._nextCommand=1})),m._register(re.j(d.domNode,"focus",function(){m._setHasFocus(!0)})),m._register(re.j(d.domNode,"blur",function(){m._setHasFocus(!1)})),m}return s.prototype._installSelectionChangeListener=function(){var l=this,d=0;return re.j(document,"selectionchange",function(m){if(!l._hasFocus)return;if(l._isDoingComposition)return;if(!T.d||!z.h)return;var E=Date.now(),L=E-d;if(d=E,L<5)return;var A=E-l._textArea.getIgnoreSelectionChangeTime();if(l._textArea.resetSelectionChangeTime(),A<100)return;if(!l._textAreaState.selectionStartPosition||!l._textAreaState.selectionEndPosition)return;var k=l._textArea.getValue();if(l._textAreaState.value!==k)return;var R=l._textArea.getSelectionStart(),$=l._textArea.getSelectionEnd();if(l._textAreaState.selectionStart===R&&l._textAreaState.selectionEnd===$)return;var ie=l._textAreaState.deduceEditorPosition(R),W=l._host.deduceModelPosition(ie[0],ie[1],ie[2]),B=l._textAreaState.deduceEditorPosition($),le=l._host.deduceModelPosition(B[0],B[1],B[2]),Ce=new x.a(W.lineNumber,W.column,le.lineNumber,le.column);l._onSelectionChangeRequest.fire(Ce)})},s.prototype.dispose=function(){c.prototype.dispose.call(this),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)},s.prototype.focusTextArea=function(){this._setHasFocus(!0),this.refreshFocusState()},s.prototype.isFocused=function(){return this._hasFocus},s.prototype.refreshFocusState=function(){var l=re.E(this.textArea.domNode);l?this._setHasFocus(l.activeElement===this.textArea.domNode):re.M(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)},s.prototype._setHasFocus=function(l){if(this._hasFocus===l)return;this._hasFocus=l,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&(T.e?this._setAndWriteTextAreaState("focusgain",H.b.EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire()},s.prototype._setAndWriteTextAreaState=function(l,d){this._hasFocus||(d=d.collapseSelection()),d.writeToTextArea(l,this._textArea,this._hasFocus),this._textAreaState=d},s.prototype.writeScreenReaderContent=function(l){if(this._isDoingComposition)return;this._setAndWriteTextAreaState(l,this._host.getScreenReaderContent(this._textAreaState))},s.prototype._ensureClipboardGetsEditorSelection=function(l){var d=this._host.getDataToCopy(w.canUseTextData(l)&&u.a.clipboard.richText),m={version:1,isFromEmptySelection:d.isFromEmptySelection,multicursorText:d.multicursorText,mode:d.mode};if(f.INSTANCE.set(T.h?d.text.replace(/\r\n/g,` -`):d.text,m),!w.canUseTextData(l)){this._setAndWriteTextAreaState("copy or cut",H.b.selectedText(d.text));return}w.setTextData(l,d.text,d.html,m)},s.prototype._firePaste=function(l,d){d||(d=f.INSTANCE.get(l)),this._onPaste.fire({text:l,metadata:d})},s}(U.a),w=function(){function c(){}return c.canUseTextData=function(s){return s.clipboardData?!0:!!window.clipboardData},c.getTextData=function(s){if(s.clipboardData){s.preventDefault();var l=s.clipboardData.getData("text/plain"),d=null,m=s.clipboardData.getData("vscode-editor-data");if(typeof m=="string")try{d=JSON.parse(m),d.version!==1&&(d=null)}catch(E){}return[l,d]}if(window.clipboardData){s.preventDefault();var l=window.clipboardData.getData("Text");return[l,null]}throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")},c.setTextData=function(s,l,d,m){if(s.clipboardData){s.clipboardData.setData("text/plain",l),typeof d=="string"&&s.clipboardData.setData("text/html",d),s.clipboardData.setData("vscode-editor-data",JSON.stringify(m)),s.preventDefault();return}if(window.clipboardData){window.clipboardData.setData("Text",l),s.preventDefault();return}throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")},c}(),p=function(c){y(s,c);function s(l){var d=c.call(this)||this;return d._actual=l,d._ignoreSelectionChangeTime=0,d}return s.prototype.setIgnoreSelectionChangeTime=function(l){this._ignoreSelectionChangeTime=Date.now()},s.prototype.getIgnoreSelectionChangeTime=function(){return this._ignoreSelectionChangeTime},s.prototype.resetSelectionChangeTime=function(){this._ignoreSelectionChangeTime=0},s.prototype.getValue=function(){return this._actual.domNode.value},s.prototype.setValue=function(l,d){var m=this._actual.domNode;if(m.value===d)return;this.setIgnoreSelectionChangeTime("setValue"),m.value=d},s.prototype.getSelectionStart=function(){return this._actual.domNode.selectionStart},s.prototype.getSelectionEnd=function(){return this._actual.domNode.selectionEnd},s.prototype.setSelectionRange=function(l,d,m){var E=this._actual.domNode,L=null,A=re.E(E);A?L=A.activeElement:L=document.activeElement;var k=L===E,R=E.selectionStart,$=E.selectionEnd;if(k&&R===d&&$===m){T.h&&window.parent!==window&&E.focus();return}if(k){this.setIgnoreSelectionChangeTime("setSelectionRange"),E.setSelectionRange(d,m),T.h&&window.parent!==window&&E.focus();return}try{var ie=re.V(E);this.setIgnoreSelectionChangeTime("setSelectionRange"),E.focus(),E.setSelectionRange(d,m),re.T(E,ie)}catch(W){}},s}(U.a)},"5Y4S":function(Lt,j,e){"use strict";e.d(j,"a",function(){return J});var T=e("MNsG"),re=T.b.performance&&typeof T.b.performance.now=="function",J=function(){function I(U){this._highResolution=re&&U,this._startTime=this._now(),this._stopTime=-1}return I.create=function(U){return U===void 0&&(U=!0),new I(U)},I.prototype.stop=function(){this._stopTime=this._now()},I.prototype.elapsed=function(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime},I.prototype._now=function(){return this._highResolution?T.b.performance.now():new Date().getTime()},I}()},"5v8Y":function(Lt,j,e){"use strict";e.d(j,"a",function(){return U});var T=e("MXAL"),re=function(){var z=function(H,x){return z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,y){u.__proto__=y}||function(u,y){for(var _ in y)y.hasOwnProperty(_)&&(u[_]=y[_])},z(H,x)};return function(O,H){z(O,H);function x(){this.constructor=O}O.prototype=H===null?Object.create(H):(x.prototype=H.prototype,new x)}}(),J=function(z){re(O,z);function O(H){for(var x=z.call(this,0)||this,u=0,y=H.length;u0)B=le-1;else return le}return-(W+1)}function U(R,$){var ie=0,W=R.length;if(W===0)return 0;for(;ieW?R[Te]=le[Me++]:Me>B?R[Te]=le[Ce++]:$(le[Me],le[Ce])<0?R[Te]=le[Me++]:R[Te]=le[Ce++]}function H(R,$,ie,W,B){if(W<=ie)return;var le=ie+(W-ie)/2|0;if(H(R,$,ie,le,B),H(R,$,le+1,W,B),$(R[le],R[le+1])<=0)return;O(R,$,ie,le,W,B)}function x(R,$){for(var ie=[],W=void 0,B=0,le=z(R.slice(0),$);B0}function f(R,$){if(!$)return R.filter(function(W,B){return R.indexOf(W)===B});var ie=Object.create(null);return R.filter(function(W){var B=$(W);return ie[B]?!1:(ie[B]=!0,!0)})}function v(R){var $=new Set;return R.filter(function(ie){return $.has(ie)?!1:($.add(ie),!0)})}function w(R){var $=[];return R.forEach(function(ie){return $.push(ie)}),$}function p(R,$){for(var ie=0;ie0?R[0]:$}function l(R){var $;return($=[]).concat.apply($,R)}function d(R,$){var ie=typeof $=="number"?R:0;typeof $=="number"?ie=R:(ie=0,$=R);var W=[];if(ie<=$)for(var B=ie;B<$;B++)W.push(B);else for(var B=ie;B>$;B--)W.push(B);return W}function m(R,$,ie){var W=R.slice(0,$),B=R.slice($);return W.concat(ie,B)}function E(R,$){var ie=R.indexOf($);ie>-1&&(R.splice(ie,1),R.unshift($))}function L(R,$){var ie=R.indexOf($);ie>-1&&(R.splice(ie,1),R.push($))}function A(R,$){for(var ie=0;ie";var y=this.text.substring(O,u.start);z+=this.supportCodicons?Object(re.c)(Object(J.o)(y)):Object(J.o)(y),z+="",O=u.end}u.extraClasses?z+='':z+='';var _=this.text.substring(u.start,u.end);z+=this.supportCodicons?Object(re.c)(Object(J.o)(_)):Object(J.o)(_),z+="",O=u.end}if(O";var _=this.text.substring(O);z+=this.supportCodicons?Object(re.c)(Object(J.o)(_)):Object(J.o)(_),z+=""}this.domNode.innerHTML=z,this.title?this.domNode.title=this.title:this.domNode.removeAttribute("title"),this.didEverRender=!0},U.escapeNewLines=function(z,O){var H=0,x=0;return z.replace(/\r\n|\r|\n/g,function(u,y){x=u===`\r -`?-1:0,y+=H;for(var _=0,f=O;_=y&&(v.start+=x),v.end>=y&&(v.end+=x)}return H+=x,"\u23CE"})},U}()},"7zd4":function(Lt,j,e){},"8ATB":function(Lt,j,e){},"8HAY":function(Lt,j,e){"use strict";e.d(j,"a",function(){return z}),e.d(j,"b",function(){return O});var T=e("pmY6"),re=e("MI8n"),J=function(){var H=function(u,y){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,f){_.__proto__=f}||function(_,f){for(var v in f)f.hasOwnProperty(v)&&(_[v]=f[v])},H(u,y)};return function(x,u){H(x,u);function y(){this.constructor=x}x.prototype=u===null?Object.create(u):(y.prototype=u.prototype,new y)}}(),I=function(H,x,u,y){function _(f){return f instanceof u?f:new u(function(v){v(f)})}return new(u||(u=Promise))(function(f,v){function w(s){try{c(y.next(s))}catch(l){v(l)}}function p(s){try{c(y.throw(s))}catch(l){v(l)}}function c(s){s.done?f(s.value):_(s.value).then(w,p)}c((y=y.apply(H,x||[])).next())})},U=function(H,x){var u={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},y,_,f,v;return v={next:w(0),throw:w(1),return:w(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function w(c){return function(s){return p([c,s])}}function p(c){if(y)throw new TypeError("Generator is already executing.");for(;u;)try{if(y=1,_&&(f=c[0]&2?_.return:c[0]?_.throw||((f=_.return)&&f.call(_),0):_.next)&&!(f=f.call(_,c[1])).done)return f;(_=0,f)&&(c=[c[0]&2,f.value]);switch(c[0]){case 0:case 1:f=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,_=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(!(f=u.trys,f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){u=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]1&&q.push(new H.a(ee.endLineNumber,ee.endColumn,ee.endLineNumber,ee.endColumn))},ne.prototype.run=function(ee,ae){var q=this;if(!ae.hasModel())return;var ue=ae.getModel(),X=ae.getSelections(),he=[];X.forEach(function(je){return q.getCursorsForSelection(je,ue,he)}),he.length>0&&ae.setSelections(he)},ne}(U.b),m=function(Pe){c(ne,Pe);function ne(){return Pe.call(this,{id:"editor.action.addCursorsToBottom",label:T.a("mutlicursor.addCursorsToBottom","Add Cursors To Bottom"),alias:"Add Cursors To Bottom",precondition:void 0})||this}return ne.prototype.run=function(ee,ae){if(!ae.hasModel())return;for(var q=ae.getSelections(),ue=ae.getModel().getLineCount(),X=[],he=q[0].startLineNumber;he<=ue;he++)X.push(new H.a(he,q[0].startColumn,he,q[0].endColumn));X.length>0&&ae.setSelections(X)},ne}(U.b),E=function(Pe){c(ne,Pe);function ne(){return Pe.call(this,{id:"editor.action.addCursorsToTop",label:T.a("mutlicursor.addCursorsToTop","Add Cursors To Top"),alias:"Add Cursors To Top",precondition:void 0})||this}return ne.prototype.run=function(ee,ae){if(!ae.hasModel())return;for(var q=ae.getSelections(),ue=[],X=q[0].startLineNumber;X>=1;X--)ue.push(new H.a(X,q[0].startColumn,X,q[0].endColumn));ue.length>0&&ae.setSelections(ue)},ne}(U.b),L=function(){function Pe(ne,ee,ae){this.selections=ne,this.revealRange=ee,this.revealScrollType=ae}return Pe}(),A=function(){function Pe(ne,ee,ae,q,ue,X,he){this._editor=ne,this.findController=ee,this.isDisconnectedFromFindController=ae,this.searchText=q,this.wholeWord=ue,this.matchCase=X,this.currentMatch=he}return Pe.create=function(ne,ee){if(!ne.hasModel())return null;var ae=ee.getState();if(!ne.hasTextFocus()&&ae.isRevealed&&ae.searchString.length>0)return new Pe(ne,ee,!1,ae.searchString,ae.wholeWord,ae.matchCase,null);var q=!1,ue,X,he=ne.getSelections();he.length===1&&he[0].isEmpty()?(q=!0,ue=!0,X=!0):(ue=ae.wholeWord,X=ae.matchCase);var je=ne.getSelection(),Xe,me=null;if(je.isEmpty()){var ge=ne.getModel().getWordAtPosition(je.getStartPosition());if(!ge)return null;Xe=ge.word,me=new H.a(je.startLineNumber,ge.startColumn,je.startLineNumber,ge.endColumn)}else Xe=ne.getModel().getValueInRange(je).replace(/\r\n/g,` -`);return new Pe(ne,ee,q,Xe,ue,X,me)},Pe.prototype.addSelectionToNextFindMatch=function(){if(!this._editor.hasModel())return null;var ne=this._getNextMatch();if(!ne)return null;var ee=this._editor.getSelections();return new L(ee.concat(ne),ne,0)},Pe.prototype.moveSelectionToNextFindMatch=function(){if(!this._editor.hasModel())return null;var ne=this._getNextMatch();if(!ne)return null;var ee=this._editor.getSelections();return new L(ee.slice(0,ee.length-1).concat(ne),ne,0)},Pe.prototype._getNextMatch=function(){if(!this._editor.hasModel())return null;if(this.currentMatch){var ne=this.currentMatch;return this.currentMatch=null,ne}this.findController.highlightFindOptions();var ee=this._editor.getSelections(),ae=ee[ee.length-1],q=this._editor.getModel().findNextMatch(this.searchText,ae.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(96):null,!1);return q?new H.a(q.range.startLineNumber,q.range.startColumn,q.range.endLineNumber,q.range.endColumn):null},Pe.prototype.addSelectionToPreviousFindMatch=function(){if(!this._editor.hasModel())return null;var ne=this._getPreviousMatch();if(!ne)return null;var ee=this._editor.getSelections();return new L(ee.concat(ne),ne,0)},Pe.prototype.moveSelectionToPreviousFindMatch=function(){if(!this._editor.hasModel())return null;var ne=this._getPreviousMatch();if(!ne)return null;var ee=this._editor.getSelections();return new L(ee.slice(0,ee.length-1).concat(ne),ne,0)},Pe.prototype._getPreviousMatch=function(){if(!this._editor.hasModel())return null;if(this.currentMatch){var ne=this.currentMatch;return this.currentMatch=null,ne}this.findController.highlightFindOptions();var ee=this._editor.getSelections(),ae=ee[ee.length-1],q=this._editor.getModel().findPreviousMatch(this.searchText,ae.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(96):null,!1);return q?new H.a(q.range.startLineNumber,q.range.startColumn,q.range.endLineNumber,q.range.endColumn):null},Pe.prototype.selectAll=function(){return this._editor.hasModel()?(this.findController.highlightFindOptions(),this._editor.getModel().findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(96):null,!1,1073741824)):[]},Pe}(),k=function(Pe){c(ne,Pe);function ne(ee){var ae=Pe.call(this)||this;return ae._sessionDispose=ae._register(new I.b),ae._editor=ee,ae._ignoreSelectionChange=!1,ae._session=null,ae}return ne.get=function(ee){return ee.getContribution(ne.ID)},ne.prototype.dispose=function(){this._endSession(),Pe.prototype.dispose.call(this)},ne.prototype._beginSessionIfNeeded=function(ee){var ae=this;if(!this._session){var q=A.create(this._editor,ee);if(!q)return;this._session=q;var ue={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(ue.wholeWordOverride=1,ue.matchCaseOverride=1,ue.isRegexOverride=2),ee.getState().change(ue,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(function(X){if(ae._ignoreSelectionChange)return;ae._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(function(){ae._endSession()})),this._sessionDispose.add(ee.getState().onFindReplaceStateChange(function(X){(X.matchCase||X.wholeWord)&&ae._endSession()}))}},ne.prototype._endSession=function(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){var ee={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(ee,!1)}this._session=null},ne.prototype._setSelections=function(ee){this._ignoreSelectionChange=!0,this._editor.setSelections(ee),this._ignoreSelectionChange=!1},ne.prototype._expandEmptyToWord=function(ee,ae){if(!ae.isEmpty())return ae;var q=ee.getWordAtPosition(ae.getStartPosition());return q?new H.a(ae.startLineNumber,q.startColumn,ae.startLineNumber,q.endColumn):ae},ne.prototype._applySessionResult=function(ee){if(!ee)return;this._setSelections(ee.selections),ee.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(ee.revealRange,ee.revealScrollType)},ne.prototype.getSession=function(ee){return this._session},ne.prototype.addSelectionToNextFindMatch=function(ee){if(!this._editor.hasModel())return;if(!this._session){var ae=this._editor.getSelections();if(ae.length>1){var q=ee.getState(),ue=q.matchCase,X=Fe(this._editor.getModel(),ae,ue);if(!X){for(var he=this._editor.getModel(),je=[],Xe=0,me=ae.length;Xe0&&q.isRegex)ae=this._editor.getModel().findMatches(q.searchString,!0,q.isRegex,q.matchCase,q.wholeWord?this._editor.getOption(96):null,!1,1073741824);else{if(this._beginSessionIfNeeded(ee),!this._session)return;ae=this._session.selectAll()}if(q.searchScope){for(var ue=q.searchScope,X=[],he=0;he=ue.startLineNumber&&X.push(ae[he]);ae=X}if(ae.length>0){for(var je=this._editor.getSelection(),he=0,Xe=ae.length;he1){var Xe=X.getState(),me=Xe.matchCase,ge=Fe(ae.getModel(),je,me);if(!ge)return null}he=A.create(ae,X)}if(!he)return null;if(he.currentMatch)return null;if(/^[ \t]+$/.test(he.searchText))return null;if(he.searchText.length>200)return null;var we=X.getState(),Re=we.matchCase;if(we.isRevealed){var Ee=we.searchString;Re||(Ee=Ee.toLowerCase());var ve=he.searchText;if(Re||(ve=ve.toLowerCase()),Ee===ve&&he.matchCase===we.matchCase&&he.wholeWord===we.wholeWord&&!we.isRegex)return null}return new Me(he.searchText,he.matchCase,he.wholeWord?ae.getOption(96):null)},ne.prototype._setState=function(ee){if(Me.softEquals(this.state,ee)){this.state=ee;return}if(this.state=ee,!this.state){this.decorations=this.editor.deltaDecorations(this.decorations,[]);return}if(!this.editor.hasModel())return;var ae=this.editor.getModel();if(ae.isTooLargeForTokenization())return;var q=_.i.has(ae),ue=ae.findMatches(this.state.searchText,!0,!1,this.state.matchCase,this.state.wordSeparators,!1).map(function(ve){return ve.range});ue.sort(O.a.compareRangesUsingStarts);var X=this.editor.getSelections();X.sort(O.a.compareRangesUsingStarts);for(var he=[],je=0,Xe=0,me=ue.length,ge=X.length;je=ge)he.push(we),je++;else{var Re=O.a.compareRangesUsingStarts(we,X[Xe]);Re<0?((X[Xe].isEmpty()||!O.a.areIntersecting(we,X[Xe]))&&he.push(we),je++):(Re>0||je++,Xe++)}}var Ee=he.map(function(ve){return{range:ve,options:q?ne._SELECTION_HIGHLIGHT:ne._SELECTION_HIGHLIGHT_OVERVIEW}});this.decorations=this.editor.deltaDecorations(this.decorations,Ee)},ne.prototype.dispose=function(){this._setState(null),Pe.prototype.dispose.call(this)},ne.ID="editor.contrib.selectionHighlighter",ne._SELECTION_HIGHLIGHT_OVERVIEW=y.a.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(w.f)(v.Mb),position:u.d.Center}}),ne._SELECTION_HIGHLIGHT=y.a.register({stickiness:1,className:"selectionHighlight"}),ne}(I.a);function Fe(Pe,ne,ee){for(var ae=Ue(Pe,ne[0],!ee),q=1,ue=ne.length;q=0;uo--)(zt=Ve[uo])&&(Mt=(Rt<3?zt(Mt):Rt>3?zt(Qe,it,Mt):zt(Qe,it))||Mt);return Rt>3&&Mt&&Object.defineProperty(Qe,it,Mt),Mt},Me=function(Ve,Qe){return function(it,pt){Qe(it,pt,Ve)}},Te=new s.d("hasSymbols",!1),Fe=Object(A.c)("ISymbolNavigationService"),Ue=function(){function Ve(Qe,it,pt,Rt){this._editorService=it,this._notificationService=pt,this._keybindingService=Rt,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=Te.bindTo(Qe)}return Ve.prototype.reset=function(){this._ctxHasSymbols.reset(),Object($.f)(this._currentState),Object($.f)(this._currentMessage),this._currentModel=void 0,this._currentIdx=-1},Ve.prototype.put=function(Qe){var it=this,pt=Qe.parent.parent;if(pt.references.length<=1){this.reset();return}this._currentModel=pt,this._currentIdx=pt.references.indexOf(Qe),this._ctxHasSymbols.set(!0),this._showMessage();var Rt=new Pe(this._editorService),Mt=Rt.onDidChange(function(zt){if(it._ignoreEditorChange)return;var uo=it._editorService.getActiveCodeEditor();if(!uo)return;var ao=uo.getModel(),so=uo.getPosition();if(!ao||!so)return;for(var Pt=!1,ft=!1,vt=0,At=pt.references;vt0&&Mt[Mt.length-1])&&(so[0]===6||so[0]===2)){it=0;continue}if(so[0]===3&&(!Mt||so[1]>Mt[0]&&so[1]1)?(this._openInPeek(Rt,Mt),[3,3]):[3,1];case 1:return uo=Mt.firstReference(),ao=Mt.references.length>1&&zt==="gotoAndPeek",[4,this._openReference(Rt,it,uo,this._configuration.openToSide,!ao)];case 2:so=Pt.sent(),ao&&so?this._openInPeek(so,Mt):Mt.dispose(),zt==="goto"&&pt.put(uo),Pt.label=3;case 3:return[2]}})})},Qe.prototype._openReference=function(it,pt,Rt,Mt,zt){return X(this,void 0,void 0,function(){var uo,ao,so,Pt;return he(this,function(ft){switch(ft.label){case 0:return uo=void 0,Object(y.G)(Rt)&&(uo=Rt.targetSelectionRange),uo||(uo=Rt.range),[4,pt.openCodeEditor({resource:Rt.uri,options:{selection:x.a.collapseToStart(uo),revealInCenterIfOutsideViewport:!0}},it,Mt)];case 1:return ao=ft.sent(),ao?(zt&&(so=ao.getModel(),Pt=ao.deltaDecorations([],[{range:uo,options:{className:"symbolHighlight"}}]),setTimeout(function(){ao.getModel()===so&&ao.deltaDecorations(Pt,[])},350)),[2,ao]):[2,void 0]}})})},Qe.prototype._openInPeek=function(it,pt){var Rt=v.a.get(it);Rt&&it.hasModel()?Rt.toggleWidget(it.getSelection(),Object(re.f)(function(Mt){return Promise.resolve(pt)}),this._configuration.openInPeek):pt.dispose()},Qe}(z.b),C=function(Ve){ue(Qe,Ve);function Qe(){return Ve!==null&&Ve.apply(this,arguments)||this}return Qe.prototype._getLocationModel=function(it,pt,Rt){return X(this,void 0,void 0,function(){var Mt;return he(this,function(zt){switch(zt.label){case 0:return Mt=w.c.bind,[4,Object(m.b)(it,pt,Rt)];case 1:return[2,new(Mt.apply(w.c,[void 0,zt.sent(),p.a("def.title","Definitions")]))]}})})},Qe.prototype._getNoResultFoundMessage=function(it){return it&&it.word?p.a("noResultWord","No definition found for '{0}'",it.word):p.a("generic.noResults","No definition found")},Qe.prototype._getAlternativeCommand=function(it){return it.getOption(41).alternativeDefinitionCommand},Qe.prototype._getGoToPreference=function(it){return it.getOption(41).multipleDefinitions},Qe}(Q),F=I.g&&!ne.l?2048|70:70;Object(z.f)((je=function(Ve){ue(Qe,Ve);function Qe(){var it=Ve.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Qe.id,label:p.a("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:s.a.and(u.a.hasDefinitionProvider,u.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:u.a.editorTextFocus,primary:F,weight:100},contextMenuOpts:{group:"navigation",order:1.1},menuOpts:{menuId:19,group:"4_symbol_nav",order:2,title:p.a({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")}})||this;return E.a.registerCommandAlias("editor.action.goToDeclaration",Qe.id),it}return Qe}(C),je.id="editor.action.revealDefinition",je)),Object(z.f)((Xe=function(Ve){ue(Qe,Ve);function Qe(){var it=Ve.call(this,{openToSide:!0,openInPeek:!1,muteMessage:!1},{id:Qe.id,label:p.a("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:s.a.and(u.a.hasDefinitionProvider,u.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:u.a.editorTextFocus,primary:Object(J.a)(2048|41,F),weight:100}})||this;return E.a.registerCommandAlias("editor.action.openDeclarationToTheSide",Qe.id),it}return Qe}(C),Xe.id="editor.action.revealDefinitionAside",Xe)),Object(z.f)((me=function(Ve){ue(Qe,Ve);function Qe(){var it=Ve.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Qe.id,label:p.a("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:s.a.and(u.a.hasDefinitionProvider,f.b.notInPeekEditor,u.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:u.a.editorTextFocus,primary:512|70,linux:{primary:2048|1024|68},weight:100},contextMenuOpts:{menuId:8,group:"peek",order:2}})||this;return E.a.registerCommandAlias("editor.action.previewDeclaration",Qe.id),it}return Qe}(C),me.id="editor.action.peekDefinition",me));var se=function(Ve){ue(Qe,Ve);function Qe(){return Ve!==null&&Ve.apply(this,arguments)||this}return Qe.prototype._getLocationModel=function(it,pt,Rt){return X(this,void 0,void 0,function(){var Mt;return he(this,function(zt){switch(zt.label){case 0:return Mt=w.c.bind,[4,Object(m.a)(it,pt,Rt)];case 1:return[2,new(Mt.apply(w.c,[void 0,zt.sent(),p.a("decl.title","Declarations")]))]}})})},Qe.prototype._getNoResultFoundMessage=function(it){return it&&it.word?p.a("decl.noResultWord","No declaration found for '{0}'",it.word):p.a("decl.generic.noResults","No declaration found")},Qe.prototype._getAlternativeCommand=function(it){return it.getOption(41).alternativeDeclarationCommand},Qe.prototype._getGoToPreference=function(it){return it.getOption(41).multipleDeclarations},Qe}(Q);Object(z.f)((ge=function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Qe.id,label:p.a("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:s.a.and(u.a.hasDeclarationProvider,u.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{group:"navigation",order:1.3},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:p.a({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")}})||this}return Qe.prototype._getNoResultFoundMessage=function(it){return it&&it.word?p.a("decl.noResultWord","No declaration found for '{0}'",it.word):p.a("decl.generic.noResults","No declaration found")},Qe}(se),ge.id="editor.action.revealDeclaration",ge)),Object(z.f)(function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:p.a("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:s.a.and(u.a.hasDeclarationProvider,f.b.notInPeekEditor,u.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:3}})||this}return Qe}(se));var oe=function(Ve){ue(Qe,Ve);function Qe(){return Ve!==null&&Ve.apply(this,arguments)||this}return Qe.prototype._getLocationModel=function(it,pt,Rt){return X(this,void 0,void 0,function(){var Mt;return he(this,function(zt){switch(zt.label){case 0:return Mt=w.c.bind,[4,Object(m.e)(it,pt,Rt)];case 1:return[2,new(Mt.apply(w.c,[void 0,zt.sent(),p.a("typedef.title","Type Definitions")]))]}})})},Qe.prototype._getNoResultFoundMessage=function(it){return it&&it.word?p.a("goToTypeDefinition.noResultWord","No type definition found for '{0}'",it.word):p.a("goToTypeDefinition.generic.noResults","No type definition found")},Qe.prototype._getAlternativeCommand=function(it){return it.getOption(41).alternativeTypeDefinitionCommand},Qe.prototype._getGoToPreference=function(it){return it.getOption(41).multipleTypeDefinitions},Qe}(Q);Object(z.f)((we=function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Qe.ID,label:p.a("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:s.a.and(u.a.hasTypeDefinitionProvider,u.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:u.a.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:p.a({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")}})||this}return Qe}(oe),we.ID="editor.action.goToTypeDefinition",we)),Object(z.f)((Re=function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Qe.ID,label:p.a("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:s.a.and(u.a.hasTypeDefinitionProvider,f.b.notInPeekEditor,u.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:4}})||this}return Qe}(oe),Re.ID="editor.action.peekTypeDefinition",Re));var be=function(Ve){ue(Qe,Ve);function Qe(){return Ve!==null&&Ve.apply(this,arguments)||this}return Qe.prototype._getLocationModel=function(it,pt,Rt){return X(this,void 0,void 0,function(){var Mt;return he(this,function(zt){switch(zt.label){case 0:return Mt=w.c.bind,[4,Object(m.c)(it,pt,Rt)];case 1:return[2,new(Mt.apply(w.c,[void 0,zt.sent(),p.a("impl.title","Implementations")]))]}})})},Qe.prototype._getNoResultFoundMessage=function(it){return it&&it.word?p.a("goToImplementation.noResultWord","No implementation found for '{0}'",it.word):p.a("goToImplementation.generic.noResults","No implementation found")},Qe.prototype._getAlternativeCommand=function(it){return it.getOption(41).alternativeImplementationCommand},Qe.prototype._getGoToPreference=function(it){return it.getOption(41).multipleImplementations},Qe}(Q);Object(z.f)((Ee=function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Qe.ID,label:p.a("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:s.a.and(u.a.hasImplementationProvider,u.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:u.a.editorTextFocus,primary:2048|70,weight:100},menuOpts:{menuId:19,group:"4_symbol_nav",order:4,title:p.a({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},contextMenuOpts:{group:"navigation",order:1.45}})||this}return Qe}(be),Ee.ID="editor.action.goToImplementation",Ee)),Object(z.f)((ve=function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Qe.ID,label:p.a("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:s.a.and(u.a.hasImplementationProvider,f.b.notInPeekEditor,u.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:u.a.editorTextFocus,primary:2048|1024|70,weight:100},contextMenuOpts:{menuId:8,group:"peek",order:5}})||this}return Qe}(be),ve.ID="editor.action.peekImplementation",ve));var De=function(Ve){ue(Qe,Ve);function Qe(){return Ve!==null&&Ve.apply(this,arguments)||this}return Qe.prototype._getNoResultFoundMessage=function(it){return it?p.a("references.no","No references found for '{0}'",it.word):p.a("references.noGeneric","No references found")},Qe.prototype._getAlternativeCommand=function(it){return it.getOption(41).alternativeReferenceCommand},Qe.prototype._getGoToPreference=function(it){return it.getOption(41).multipleReferences},Qe}(Q);Object(z.f)(function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:p.a("goToReferences.label","Go to References"),alias:"Go to References",precondition:s.a.and(u.a.hasReferenceProvider,f.b.notInPeekEditor,u.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:u.a.editorTextFocus,primary:1024|70,weight:100},contextMenuOpts:{group:"navigation",order:1.45},menuOpts:{menuId:19,group:"4_symbol_nav",order:5,title:p.a({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")}})||this}return Qe.prototype._getLocationModel=function(it,pt,Rt){return X(this,void 0,void 0,function(){var Mt;return he(this,function(zt){switch(zt.label){case 0:return Mt=w.c.bind,[4,Object(m.d)(it,pt,!0,Rt)];case 1:return[2,new(Mt.apply(w.c,[void 0,zt.sent(),p.a("ref.title","References")]))]}})})},Qe}(De)),Object(z.f)(function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:p.a("references.action.label","Peek References"),alias:"Peek References",precondition:s.a.and(u.a.hasReferenceProvider,f.b.notInPeekEditor,u.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:6}})||this}return Qe.prototype._getLocationModel=function(it,pt,Rt){return X(this,void 0,void 0,function(){var Mt;return he(this,function(zt){switch(zt.label){case 0:return Mt=w.c.bind,[4,Object(m.d)(it,pt,!1,Rt)];case 1:return[2,new(Mt.apply(w.c,[void 0,zt.sent(),p.a("ref.title","References")]))]}})})},Qe}(De));var Se=function(Ve){ue(Qe,Ve);function Qe(it,pt,Rt){var Mt=Ve.call(this,it,{id:"editor.action.goToLocation",label:p.a("label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:s.a.and(f.b.notInPeekEditor,u.a.isInEmbeddedEditor.toNegated())})||this;return Mt._references=pt,Mt._gotoMultipleBehaviour=Rt,Mt}return Qe.prototype._getLocationModel=function(it,pt,Rt){return X(this,void 0,void 0,function(){return he(this,function(Mt){return[2,new w.c(this._references,p.a("generic.title","Locations"))]})})},Qe.prototype._getNoResultFoundMessage=function(it){return it&&p.a("generic.noResult","No results for '{0}'",it.word)||""},Qe.prototype._getGoToPreference=function(it){var pt;return(pt=this._gotoMultipleBehaviour)!==null&&pt!==void 0?pt:it.getOption(41).multipleReferences},Qe.prototype._getAlternativeCommand=function(){return""},Qe}(Q);E.a.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:ee.a},{name:"position",description:"The position at which to start",constraint:H.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(Qe,it,pt,Rt,Mt,zt){return X(void 0,void 0,void 0,function(){var uo,ao;return he(this,function(so){switch(so.label){case 0:return Object(ae.a)(ee.a.isUri(it)),Object(ae.a)(H.a.isIPosition(pt)),Object(ae.a)(Array.isArray(Rt)),Object(ae.a)(typeof Mt=="undefined"||typeof Mt=="string"),Object(ae.a)(typeof zt=="undefined"||typeof zt=="boolean"),uo=Qe.get(O.a),[4,uo.openCodeEditor({resource:it},uo.getFocusedCodeEditor())];case 1:return ao=so.sent(),Object(U.a)(ao)?(ao.setPosition(pt),ao.revealPositionInCenterIfOutsideViewport(pt,0),[2,ao.invokeWithinContext(function(Pt){var ft=new Se({muteMessage:!0,openInPeek:Boolean(zt),openToSide:!1},Rt,Mt);Pt.get(A.a).invokeFunction(ft.run.bind(ft),ao)})]):[2]}})})}}),E.a.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:ee.a},{name:"position",description:"The position at which to start",constraint:H.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(Qe,it,pt,Rt,Mt){return X(void 0,void 0,void 0,function(){return he(this,function(zt){return Qe.get(E.b).executeCommand("editor.action.goToLocations",it,pt,Rt,Mt,!0),[2]})})}}),E.a.registerCommand({id:"editor.action.findReferences",handler:function(Qe,it,pt){Object(ae.a)(ee.a.isUri(it)),Object(ae.a)(H.a.isIPosition(pt));var Rt=Qe.get(O.a);return Rt.openCodeEditor({resource:it},Rt.getFocusedCodeEditor()).then(function(Mt){if(!Object(U.a)(Mt)||!Mt.hasModel())return;var zt=v.a.get(Mt);if(!zt)return;var uo=Object(re.f)(function(so){return Object(m.d)(Mt.getModel(),H.a.lift(pt),!1,so).then(function(Pt){return new w.c(Pt,p.a("ref.title","References"))})}),ao=new x.a(pt.lineNumber,pt.column,pt.lineNumber,pt.column);return Promise.resolve(zt.toggleWidget(ao,uo,!1))})}}),E.a.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations")},"8gvo":function(Lt,j,e){},"8z58":function(Lt,j,e){"use strict";e.r(j),e.d(j,"CancellationTokenSource",function(){return Wd}),e.d(j,"Emitter",function(){return Bd}),e.d(j,"KeyCode",function(){return Hd}),e.d(j,"KeyMod",function(){return Ud}),e.d(j,"Position",function(){return Vd}),e.d(j,"Range",function(){return zd}),e.d(j,"Selection",function(){return Kd}),e.d(j,"SelectionDirection",function(){return Gd}),e.d(j,"MarkerSeverity",function(){return Xd}),e.d(j,"MarkerTag",function(){return Yd}),e.d(j,"Uri",function(){return Zd}),e.d(j,"Token",function(){return Qd}),e.d(j,"editor",function(){return $d}),e.d(j,"languages",function(){return Jd});var T=e("/UlZ"),re=e("URDS"),J=e("JQT/"),I=e("MI8n"),U=e("/kV6"),z=e("bY76"),O=e("cGHE"),H=e("aokT"),x=e("gCVg"),u=e("Tcc1"),y;(function(a){a[a.Unknown=0]="Unknown",a[a.Disabled=1]="Disabled",a[a.Enabled=2]="Enabled"})(y||(y={}));var _;(function(a){a[a.KeepWhitespace=1]="KeepWhitespace",a[a.InsertAsSnippet=4]="InsertAsSnippet"})(_||(_={}));var f;(function(a){a[a.Method=0]="Method",a[a.Function=1]="Function",a[a.Constructor=2]="Constructor",a[a.Field=3]="Field",a[a.Variable=4]="Variable",a[a.Class=5]="Class",a[a.Struct=6]="Struct",a[a.Interface=7]="Interface",a[a.Module=8]="Module",a[a.Property=9]="Property",a[a.Event=10]="Event",a[a.Operator=11]="Operator",a[a.Unit=12]="Unit",a[a.Value=13]="Value",a[a.Constant=14]="Constant",a[a.Enum=15]="Enum",a[a.EnumMember=16]="EnumMember",a[a.Keyword=17]="Keyword",a[a.Text=18]="Text",a[a.Color=19]="Color",a[a.File=20]="File",a[a.Reference=21]="Reference",a[a.Customcolor=22]="Customcolor",a[a.Folder=23]="Folder",a[a.TypeParameter=24]="TypeParameter",a[a.Snippet=25]="Snippet"})(f||(f={}));var v;(function(a){a[a.Deprecated=1]="Deprecated"})(v||(v={}));var w;(function(a){a[a.Invoke=0]="Invoke",a[a.TriggerCharacter=1]="TriggerCharacter",a[a.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(w||(w={}));var p;(function(a){a[a.EXACT=0]="EXACT",a[a.ABOVE=1]="ABOVE",a[a.BELOW=2]="BELOW"})(p||(p={}));var c;(function(a){a[a.NotSet=0]="NotSet",a[a.ContentFlush=1]="ContentFlush",a[a.RecoverFromMarkers=2]="RecoverFromMarkers",a[a.Explicit=3]="Explicit",a[a.Paste=4]="Paste",a[a.Undo=5]="Undo",a[a.Redo=6]="Redo"})(c||(c={}));var s;(function(a){a[a.LF=1]="LF",a[a.CRLF=2]="CRLF"})(s||(s={}));var l;(function(a){a[a.Text=0]="Text",a[a.Read=1]="Read",a[a.Write=2]="Write"})(l||(l={}));var d;(function(a){a[a.None=0]="None",a[a.Keep=1]="Keep",a[a.Brackets=2]="Brackets",a[a.Advanced=3]="Advanced",a[a.Full=4]="Full"})(d||(d={}));var m;(function(a){a[a.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",a[a.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",a[a.accessibilitySupport=2]="accessibilitySupport",a[a.accessibilityPageSize=3]="accessibilityPageSize",a[a.ariaLabel=4]="ariaLabel",a[a.autoClosingBrackets=5]="autoClosingBrackets",a[a.autoClosingOvertype=6]="autoClosingOvertype",a[a.autoClosingQuotes=7]="autoClosingQuotes",a[a.autoIndent=8]="autoIndent",a[a.automaticLayout=9]="automaticLayout",a[a.autoSurround=10]="autoSurround",a[a.codeLens=11]="codeLens",a[a.colorDecorators=12]="colorDecorators",a[a.comments=13]="comments",a[a.contextmenu=14]="contextmenu",a[a.copyWithSyntaxHighlighting=15]="copyWithSyntaxHighlighting",a[a.cursorBlinking=16]="cursorBlinking",a[a.cursorSmoothCaretAnimation=17]="cursorSmoothCaretAnimation",a[a.cursorStyle=18]="cursorStyle",a[a.cursorSurroundingLines=19]="cursorSurroundingLines",a[a.cursorSurroundingLinesStyle=20]="cursorSurroundingLinesStyle",a[a.cursorWidth=21]="cursorWidth",a[a.disableLayerHinting=22]="disableLayerHinting",a[a.disableMonospaceOptimizations=23]="disableMonospaceOptimizations",a[a.dragAndDrop=24]="dragAndDrop",a[a.emptySelectionClipboard=25]="emptySelectionClipboard",a[a.extraEditorClassName=26]="extraEditorClassName",a[a.fastScrollSensitivity=27]="fastScrollSensitivity",a[a.find=28]="find",a[a.fixedOverflowWidgets=29]="fixedOverflowWidgets",a[a.folding=30]="folding",a[a.foldingStrategy=31]="foldingStrategy",a[a.foldingHighlight=32]="foldingHighlight",a[a.fontFamily=33]="fontFamily",a[a.fontInfo=34]="fontInfo",a[a.fontLigatures=35]="fontLigatures",a[a.fontSize=36]="fontSize",a[a.fontWeight=37]="fontWeight",a[a.formatOnPaste=38]="formatOnPaste",a[a.formatOnType=39]="formatOnType",a[a.glyphMargin=40]="glyphMargin",a[a.gotoLocation=41]="gotoLocation",a[a.hideCursorInOverviewRuler=42]="hideCursorInOverviewRuler",a[a.highlightActiveIndentGuide=43]="highlightActiveIndentGuide",a[a.hover=44]="hover",a[a.inDiffEditor=45]="inDiffEditor",a[a.letterSpacing=46]="letterSpacing",a[a.lightbulb=47]="lightbulb",a[a.lineDecorationsWidth=48]="lineDecorationsWidth",a[a.lineHeight=49]="lineHeight",a[a.lineNumbers=50]="lineNumbers",a[a.lineNumbersMinChars=51]="lineNumbersMinChars",a[a.links=52]="links",a[a.matchBrackets=53]="matchBrackets",a[a.minimap=54]="minimap",a[a.mouseStyle=55]="mouseStyle",a[a.mouseWheelScrollSensitivity=56]="mouseWheelScrollSensitivity",a[a.mouseWheelZoom=57]="mouseWheelZoom",a[a.multiCursorMergeOverlapping=58]="multiCursorMergeOverlapping",a[a.multiCursorModifier=59]="multiCursorModifier",a[a.multiCursorPaste=60]="multiCursorPaste",a[a.occurrencesHighlight=61]="occurrencesHighlight",a[a.overviewRulerBorder=62]="overviewRulerBorder",a[a.overviewRulerLanes=63]="overviewRulerLanes",a[a.parameterHints=64]="parameterHints",a[a.peekWidgetDefaultFocus=65]="peekWidgetDefaultFocus",a[a.quickSuggestions=66]="quickSuggestions",a[a.quickSuggestionsDelay=67]="quickSuggestionsDelay",a[a.readOnly=68]="readOnly",a[a.renderControlCharacters=69]="renderControlCharacters",a[a.renderIndentGuides=70]="renderIndentGuides",a[a.renderFinalNewline=71]="renderFinalNewline",a[a.renderLineHighlight=72]="renderLineHighlight",a[a.renderValidationDecorations=73]="renderValidationDecorations",a[a.renderWhitespace=74]="renderWhitespace",a[a.revealHorizontalRightPadding=75]="revealHorizontalRightPadding",a[a.roundedSelection=76]="roundedSelection",a[a.rulers=77]="rulers",a[a.scrollbar=78]="scrollbar",a[a.scrollBeyondLastColumn=79]="scrollBeyondLastColumn",a[a.scrollBeyondLastLine=80]="scrollBeyondLastLine",a[a.selectionClipboard=81]="selectionClipboard",a[a.selectionHighlight=82]="selectionHighlight",a[a.selectOnLineNumbers=83]="selectOnLineNumbers",a[a.showFoldingControls=84]="showFoldingControls",a[a.showUnused=85]="showUnused",a[a.snippetSuggestions=86]="snippetSuggestions",a[a.smoothScrolling=87]="smoothScrolling",a[a.stopRenderingLineAfter=88]="stopRenderingLineAfter",a[a.suggest=89]="suggest",a[a.suggestFontSize=90]="suggestFontSize",a[a.suggestLineHeight=91]="suggestLineHeight",a[a.suggestOnTriggerCharacters=92]="suggestOnTriggerCharacters",a[a.suggestSelection=93]="suggestSelection",a[a.tabCompletion=94]="tabCompletion",a[a.useTabStops=95]="useTabStops",a[a.wordSeparators=96]="wordSeparators",a[a.wordWrap=97]="wordWrap",a[a.wordWrapBreakAfterCharacters=98]="wordWrapBreakAfterCharacters",a[a.wordWrapBreakBeforeCharacters=99]="wordWrapBreakBeforeCharacters",a[a.wordWrapColumn=100]="wordWrapColumn",a[a.wordWrapMinified=101]="wordWrapMinified",a[a.wrappingIndent=102]="wrappingIndent",a[a.wrappingStrategy=103]="wrappingStrategy",a[a.editorClassName=104]="editorClassName",a[a.pixelRatio=105]="pixelRatio",a[a.tabFocusMode=106]="tabFocusMode",a[a.layoutInfo=107]="layoutInfo",a[a.wrappingInfo=108]="wrappingInfo"})(m||(m={}));var E;(function(a){a[a.TextDefined=0]="TextDefined",a[a.LF=1]="LF",a[a.CRLF=2]="CRLF"})(E||(E={}));var L;(function(a){a[a.LF=0]="LF",a[a.CRLF=1]="CRLF"})(L||(L={}));var A;(function(a){a[a.None=0]="None",a[a.Indent=1]="Indent",a[a.IndentOutdent=2]="IndentOutdent",a[a.Outdent=3]="Outdent"})(A||(A={}));var k;(function(a){a[a.Unknown=0]="Unknown",a[a.Backspace=1]="Backspace",a[a.Tab=2]="Tab",a[a.Enter=3]="Enter",a[a.Shift=4]="Shift",a[a.Ctrl=5]="Ctrl",a[a.Alt=6]="Alt",a[a.PauseBreak=7]="PauseBreak",a[a.CapsLock=8]="CapsLock",a[a.Escape=9]="Escape",a[a.Space=10]="Space",a[a.PageUp=11]="PageUp",a[a.PageDown=12]="PageDown",a[a.End=13]="End",a[a.Home=14]="Home",a[a.LeftArrow=15]="LeftArrow",a[a.UpArrow=16]="UpArrow",a[a.RightArrow=17]="RightArrow",a[a.DownArrow=18]="DownArrow",a[a.Insert=19]="Insert",a[a.Delete=20]="Delete",a[a.KEY_0=21]="KEY_0",a[a.KEY_1=22]="KEY_1",a[a.KEY_2=23]="KEY_2",a[a.KEY_3=24]="KEY_3",a[a.KEY_4=25]="KEY_4",a[a.KEY_5=26]="KEY_5",a[a.KEY_6=27]="KEY_6",a[a.KEY_7=28]="KEY_7",a[a.KEY_8=29]="KEY_8",a[a.KEY_9=30]="KEY_9",a[a.KEY_A=31]="KEY_A",a[a.KEY_B=32]="KEY_B",a[a.KEY_C=33]="KEY_C",a[a.KEY_D=34]="KEY_D",a[a.KEY_E=35]="KEY_E",a[a.KEY_F=36]="KEY_F",a[a.KEY_G=37]="KEY_G",a[a.KEY_H=38]="KEY_H",a[a.KEY_I=39]="KEY_I",a[a.KEY_J=40]="KEY_J",a[a.KEY_K=41]="KEY_K",a[a.KEY_L=42]="KEY_L",a[a.KEY_M=43]="KEY_M",a[a.KEY_N=44]="KEY_N",a[a.KEY_O=45]="KEY_O",a[a.KEY_P=46]="KEY_P",a[a.KEY_Q=47]="KEY_Q",a[a.KEY_R=48]="KEY_R",a[a.KEY_S=49]="KEY_S",a[a.KEY_T=50]="KEY_T",a[a.KEY_U=51]="KEY_U",a[a.KEY_V=52]="KEY_V",a[a.KEY_W=53]="KEY_W",a[a.KEY_X=54]="KEY_X",a[a.KEY_Y=55]="KEY_Y",a[a.KEY_Z=56]="KEY_Z",a[a.Meta=57]="Meta",a[a.ContextMenu=58]="ContextMenu",a[a.F1=59]="F1",a[a.F2=60]="F2",a[a.F3=61]="F3",a[a.F4=62]="F4",a[a.F5=63]="F5",a[a.F6=64]="F6",a[a.F7=65]="F7",a[a.F8=66]="F8",a[a.F9=67]="F9",a[a.F10=68]="F10",a[a.F11=69]="F11",a[a.F12=70]="F12",a[a.F13=71]="F13",a[a.F14=72]="F14",a[a.F15=73]="F15",a[a.F16=74]="F16",a[a.F17=75]="F17",a[a.F18=76]="F18",a[a.F19=77]="F19",a[a.NumLock=78]="NumLock",a[a.ScrollLock=79]="ScrollLock",a[a.US_SEMICOLON=80]="US_SEMICOLON",a[a.US_EQUAL=81]="US_EQUAL",a[a.US_COMMA=82]="US_COMMA",a[a.US_MINUS=83]="US_MINUS",a[a.US_DOT=84]="US_DOT",a[a.US_SLASH=85]="US_SLASH",a[a.US_BACKTICK=86]="US_BACKTICK",a[a.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",a[a.US_BACKSLASH=88]="US_BACKSLASH",a[a.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",a[a.US_QUOTE=90]="US_QUOTE",a[a.OEM_8=91]="OEM_8",a[a.OEM_102=92]="OEM_102",a[a.NUMPAD_0=93]="NUMPAD_0",a[a.NUMPAD_1=94]="NUMPAD_1",a[a.NUMPAD_2=95]="NUMPAD_2",a[a.NUMPAD_3=96]="NUMPAD_3",a[a.NUMPAD_4=97]="NUMPAD_4",a[a.NUMPAD_5=98]="NUMPAD_5",a[a.NUMPAD_6=99]="NUMPAD_6",a[a.NUMPAD_7=100]="NUMPAD_7",a[a.NUMPAD_8=101]="NUMPAD_8",a[a.NUMPAD_9=102]="NUMPAD_9",a[a.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",a[a.NUMPAD_ADD=104]="NUMPAD_ADD",a[a.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",a[a.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",a[a.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",a[a.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",a[a.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",a[a.ABNT_C1=110]="ABNT_C1",a[a.ABNT_C2=111]="ABNT_C2",a[a.MAX_VALUE=112]="MAX_VALUE"})(k||(k={}));var R;(function(a){a[a.Hint=1]="Hint",a[a.Info=2]="Info",a[a.Warning=4]="Warning",a[a.Error=8]="Error"})(R||(R={}));var $;(function(a){a[a.Unnecessary=1]="Unnecessary",a[a.Deprecated=2]="Deprecated"})($||($={}));var ie;(function(a){a[a.Inline=1]="Inline",a[a.Gutter=2]="Gutter"})(ie||(ie={}));var W;(function(a){a[a.UNKNOWN=0]="UNKNOWN",a[a.TEXTAREA=1]="TEXTAREA",a[a.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",a[a.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",a[a.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",a[a.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",a[a.CONTENT_TEXT=6]="CONTENT_TEXT",a[a.CONTENT_EMPTY=7]="CONTENT_EMPTY",a[a.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",a[a.CONTENT_WIDGET=9]="CONTENT_WIDGET",a[a.OVERVIEW_RULER=10]="OVERVIEW_RULER",a[a.SCROLLBAR=11]="SCROLLBAR",a[a.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",a[a.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(W||(W={}));var B;(function(a){a[a.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",a[a.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",a[a.TOP_CENTER=2]="TOP_CENTER"})(B||(B={}));var le;(function(a){a[a.Left=1]="Left",a[a.Center=2]="Center",a[a.Right=4]="Right",a[a.Full=7]="Full"})(le||(le={}));var Ce;(function(a){a[a.Off=0]="Off",a[a.On=1]="On",a[a.Relative=2]="Relative",a[a.Interval=3]="Interval",a[a.Custom=4]="Custom"})(Ce||(Ce={}));var Me;(function(a){a[a.None=0]="None",a[a.Text=1]="Text",a[a.Blocks=2]="Blocks"})(Me||(Me={}));var Te;(function(a){a[a.Smooth=0]="Smooth",a[a.Immediate=1]="Immediate"})(Te||(Te={}));var Fe;(function(a){a[a.Auto=1]="Auto",a[a.Hidden=2]="Hidden",a[a.Visible=3]="Visible"})(Fe||(Fe={}));var Ue;(function(a){a[a.LTR=0]="LTR",a[a.RTL=1]="RTL"})(Ue||(Ue={}));var Pe;(function(a){a[a.Invoke=1]="Invoke",a[a.TriggerCharacter=2]="TriggerCharacter",a[a.ContentChange=3]="ContentChange"})(Pe||(Pe={}));var ne;(function(a){a[a.File=0]="File",a[a.Module=1]="Module",a[a.Namespace=2]="Namespace",a[a.Package=3]="Package",a[a.Class=4]="Class",a[a.Method=5]="Method",a[a.Property=6]="Property",a[a.Field=7]="Field",a[a.Constructor=8]="Constructor",a[a.Enum=9]="Enum",a[a.Interface=10]="Interface",a[a.Function=11]="Function",a[a.Variable=12]="Variable",a[a.Constant=13]="Constant",a[a.String=14]="String",a[a.Number=15]="Number",a[a.Boolean=16]="Boolean",a[a.Array=17]="Array",a[a.Object=18]="Object",a[a.Key=19]="Key",a[a.Null=20]="Null",a[a.EnumMember=21]="EnumMember",a[a.Struct=22]="Struct",a[a.Event=23]="Event",a[a.Operator=24]="Operator",a[a.TypeParameter=25]="TypeParameter"})(ne||(ne={}));var ee;(function(a){a[a.Deprecated=1]="Deprecated"})(ee||(ee={}));var ae;(function(a){a[a.Hidden=0]="Hidden",a[a.Blink=1]="Blink",a[a.Smooth=2]="Smooth",a[a.Phase=3]="Phase",a[a.Expand=4]="Expand",a[a.Solid=5]="Solid"})(ae||(ae={}));var q;(function(a){a[a.Line=1]="Line",a[a.Block=2]="Block",a[a.Underline=3]="Underline",a[a.LineThin=4]="LineThin",a[a.BlockOutline=5]="BlockOutline",a[a.UnderlineThin=6]="UnderlineThin"})(q||(q={}));var ue;(function(a){a[a.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",a[a.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",a[a.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",a[a.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(ue||(ue={}));var X;(function(a){a[a.None=0]="None",a[a.Same=1]="Same",a[a.Indent=2]="Indent",a[a.DeepIndent=3]="DeepIndent"})(X||(X={}));var he=function(){function a(){}return a.chord=function(r,n){return Object(U.a)(r,n)},a.CtrlCmd=2048,a.Shift=1024,a.Alt=512,a.WinCtrl=256,a}();function je(){return{editor:void 0,languages:void 0,CancellationTokenSource:J.b,Emitter:I.a,KeyCode:k,KeyMod:he,Position:O.a,Range:H.a,Selection:x.a,SelectionDirection:Ue,MarkerSeverity:R,MarkerTag:$,Uri:z.a,Token:u.a}}var Xe=e("siPX"),me=e("Vxe3"),ge=e("EffR"),we=e("24hK"),Re=e("Q4rV"),Ee=e("tYmi"),ve=e("gslv"),Q=e("nnTU"),C=e("W9cx"),F;(function(a){a[a.API=0]="API",a[a.USER=1]="USER"})(F||(F={}));var se=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},oe=function(a,r){return function(n,h){r(n,h,a)}},be=function(a,r,n,h){function S(N){return N instanceof n?N:new n(function(ce){ce(N)})}return new(n||(n=Promise))(function(N,ce){function Be(_t){try{Ye(h.next(_t))}catch(Ot){ce(Ot)}}function Ge(_t){try{Ye(h.throw(_t))}catch(Ot){ce(Ot)}}function Ye(_t){_t.done?N(_t.value):S(_t.value).then(Be,Ge)}Ye((h=h.apply(a,r||[])).next())})},De=function(a,r){var n={label:0,sent:function(){if(N[0]&1)throw N[1];return N[1]},trys:[],ops:[]},h,S,N,ce;return ce={next:Be(0),throw:Be(1),return:Be(2)},typeof Symbol=="function"&&(ce[Symbol.iterator]=function(){return this}),ce;function Be(Ye){return function(_t){return Ge([Ye,_t])}}function Ge(Ye){if(h)throw new TypeError("Generator is already executing.");for(;n;)try{if(h=1,S&&(N=Ye[0]&2?S.return:Ye[0]?S.throw||((N=S.return)&&N.call(S),0):S.next)&&!(N=N.call(S,Ye[1])).done)return N;(S=0,N)&&(Ye=[Ye[0]&2,N.value]);switch(Ye[0]){case 0:case 1:N=Ye;break;case 4:return n.label++,{value:Ye[1],done:!1};case 5:n.label++,S=Ye[1],Ye=[0];continue;case 7:Ye=n.ops.pop(),n.trys.pop();continue;default:if(!(N=n.trys,N=N.length>0&&N[N.length-1])&&(Ye[0]===6||Ye[0]===2)){n=0;continue}if(Ye[0]===3&&(!N||Ye[1]>N[0]&&Ye[1]=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));var S=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var N=S.range.getStartPosition();this._editor.setPosition(N),this._editor.revealPositionInCenter(N,h)}finally{this.ignoreSelectionChange=!1}},r.prototype.canNavigate=function(){return this.ranges&&this.ranges.length>0},r.prototype.next=function(n){n===void 0&&(n=0),this._move(!0,n)},r.prototype.previous=function(n){n===void 0&&(n=0),this._move(!1,n)},r.prototype.dispose=function(){a.prototype.dispose.call(this),this.ranges=[],this.disposed=!0},r}(Rt.a),so=e("+3Gp"),Pt=e("iuje"),ft=e("M1Kb"),vt=e("twdY"),At=e("i/Ef"),at=e("pAvP"),tt=e("t49l"),ut=e("X+cX"),Ct=e("/cxE"),gt=e("MNsG"),bt=e("746U"),Gt=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),Nt="$initialize",Et=!1;function Je(a){if(!gt.g)return;Et||(Et=!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(a.message)}var $e=function(){function a(r){this._workerId=-1,this._handler=r,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return a.prototype.setWorkerId=function(r){this._workerId=r},a.prototype.sendMessage=function(r,n){var h=this,S=String(++this._lastSentReq);return new Promise(function(N,ce){h._pendingReplies[S]={resolve:N,reject:ce},h._send({vsWorker:h._workerId,req:S,method:r,args:n})})},a.prototype.handleMessage=function(r){if(!r||!r.vsWorker)return;if(this._workerId!==-1&&r.vsWorker!==this._workerId)return;this._handleMessage(r)},a.prototype._handleMessage=function(r){var n=this;if(r.seq){var h=r;if(!this._pendingReplies[h.seq]){console.warn("Got reply to unknown seq");return}var S=this._pendingReplies[h.seq];if(delete this._pendingReplies[h.seq],h.err){var N=h.err;h.err.$isError&&(N=new Error,N.name=h.err.name,N.message=h.err.message,N.stack=h.err.stack),S.reject(N);return}S.resolve(h.res);return}var ce=r,Be=ce.req,Ge=this._handler.handleMessage(ce.method,ce.args);Ge.then(function(Ye){n._send({vsWorker:n._workerId,seq:Be,res:Ye,err:void 0})},function(Ye){Ye.detail instanceof Error&&(Ye.detail=Object(Ct.g)(Ye.detail)),n._send({vsWorker:n._workerId,seq:Be,res:void 0,err:Object(Ct.g)(Ye)})})},a.prototype._send=function(r){var n=[];if(r.req)for(var h=r,S=0;S0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&N()){var jt=h.createCharSequence(r,n.originalStart,n.originalStart+n.originalLength-1),ro=S.createCharSequence(r,n.modifiedStart,n.modifiedStart+n.modifiedLength-1),to=co(jt,ro,N,!0).changes;Be&&(to=Zo(to)),Ft=[];for(var Yt=0,Qt=to.length;Yt1&&Qt>1;){var ho=ro.charCodeAt(Yt-2),So=to.charCodeAt(Qt-2);if(ho!==So)break;Yt--,Qt--}(Yt>1||Qt>1)&&this._pushTrimWhitespaceCharChange(Be,Ge+1,1,Yt,Ye+1,1,Qt)}{for(var To=Bo(ro,1),Io=Bo(to,1),ko=ro.length+1,Ko=to.length+1;Ton&&(n=Ge),Be>h&&(h=Be),Ye>h&&(h=Ye)}n++,h++;for(var _t=new yn(h,n,0),S=0,N=r.length;S=this._maxCharCode?0:this._states.get(r,n)},a}(),rn=null;function pn(){return rn===null&&(rn=new dn([[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]])),rn}var zo=null;function Ho(){if(zo===null){zo=new mn.a(0);for(var a=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF20\uFF03\uFF04\uFF05\uFF06\uFF0A\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u3011\u300F\u300D\u300B\u3009\u201D\u2019\uFF40\uFF5E\u2026`,r=0;rS);if(S>0){var Ye=n.charCodeAt(S-1),_t=n.charCodeAt(ce);(Ye===40&&_t===41||Ye===91&&_t===93||Ye===123&&_t===125)&&ce--}return{range:{startLineNumber:h,startColumn:S+1,endLineNumber:h,endColumn:ce+2},url:n.substring(S,ce+1)}},a.computeLinks=function(r,n){n===void 0&&(n=pn());for(var h=Ho(),S=[],N=1,ce=r.getLineCount();N<=ce;N++){for(var Be=r.getLineContent(N),Ge=Be.length,Ye=0,_t=0,Ot=0,Ft=1,jt=!1,ro=!1,to=!1;Ye=0?(S+=h?1:-1,S<0?S=r.length-1:S%=r.length,r[S]):null},a.INSTANCE=new a,a}(),Dt=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),_e=function(a,r,n,h){function S(N){return N instanceof n?N:new n(function(ce){ce(N)})}return new(n||(n=Promise))(function(N,ce){function Be(_t){try{Ye(h.next(_t))}catch(Ot){ce(Ot)}}function Ge(_t){try{Ye(h.throw(_t))}catch(Ot){ce(Ot)}}function Ye(_t){_t.done?N(_t.value):S(_t.value).then(Be,Ge)}Ye((h=h.apply(a,r||[])).next())})},M=function(a,r){var n={label:0,sent:function(){if(N[0]&1)throw N[1];return N[1]},trys:[],ops:[]},h,S,N,ce;return ce={next:Be(0),throw:Be(1),return:Be(2)},typeof Symbol=="function"&&(ce[Symbol.iterator]=function(){return this}),ce;function Be(Ye){return function(_t){return Ge([Ye,_t])}}function Ge(Ye){if(h)throw new TypeError("Generator is already executing.");for(;n;)try{if(h=1,S&&(N=Ye[0]&2?S.return:Ye[0]?S.throw||((N=S.return)&&N.call(S),0):S.next)&&!(N=N.call(S,Ye[1])).done)return N;(S=0,N)&&(Ye=[Ye[0]&2,N.value]);switch(Ye[0]){case 0:case 1:N=Ye;break;case 4:return n.label++,{value:Ye[1],done:!1};case 5:n.label++,S=Ye[1],Ye=[0];continue;case 7:Ye=n.ops.pop(),n.trys.pop();continue;default:if(!(N=n.trys,N=N.length>0&&N[N.length-1])&&(Ye[0]===6||Ye[0]===2)){n=0;continue}if(Ye[0]===3&&(!N||Ye[1]>N[0]&&Ye[1]=h._lines.length?Jt.c:(ce=h._lines[N],Ge=h._wordenize(ce,n),Be=0,N+=1,_t())};return{next:Ye}},r.prototype.getLineWords=function(n,h){for(var S=this._lines[n-1],N=this._wordenize(S,h),ce=[],Be=0,Ge=N;Bethis._lines.length)h=this._lines.length,S=this._lines[h-1].length+1,N=!0;else{var ce=this._lines[h-1].length+1;S<1?(S=1,N=!0):S>ce&&(S=ce,N=!0)}return N?{lineNumber:h,column:S}:n},r}(fn),Z=function(){function a(r,n){this._host=r,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}return a.prototype.dispose=function(){this._models=Object.create(null)},a.prototype._getModel=function(r){return this._models[r]},a.prototype._getModels=function(){var r=this,n=[];return Object.keys(this._models).forEach(function(h){return n.push(r._models[h])}),n},a.prototype.acceptNewModel=function(r){this._models[r.url]=new P(z.a.parse(r.url),r.lines,r.EOL,r.versionId)},a.prototype.acceptModelChanged=function(r,n){if(!this._models[r])return;var h=this._models[r];h.onEvents(n)},a.prototype.acceptRemovedModel=function(r){if(!this._models[r])return;delete this._models[r]},a.prototype.computeDiff=function(r,n,h,S){return _e(this,void 0,void 0,function(){var N,ce,Be,Ge,Ye,_t,Ot;return M(this,function(Ft){return N=this._getModel(r),ce=this._getModel(n),!N||!ce?[2,null]:(Be=N.getLinesContent(),Ge=ce.getLinesContent(),Ye=new Wo(Be,Ge,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:h,shouldMakePrettyDiff:!0,maxComputationTime:S}),_t=Ye.computeDiff(),Ot=_t.changes.length>0?!1:this._modelsAreIdentical(N,ce),[2,{quitEarly:_t.quitEarly,identical:Ot,changes:_t.changes}])})})},a.prototype._modelsAreIdentical=function(r,n){var h=r.getLineCount(),S=n.getLineCount();if(h!==S)return!1;for(var N=1;N<=h;N++){var ce=r.getLineContent(N),Be=n.getLineContent(N);if(ce!==Be)return!1}return!0},a.prototype.computeMoreMinimalEdits=function(r,n){return _e(this,void 0,void 0,function(){var h,S,N,ce,Be,Ge,Ye,_t,Ot,Ft,jt,ro,to,Yt,Qt,ho,So,To;return M(this,function(Io){if(h=this._getModel(r),!h)return[2,n];for(S=[],N=void 0,n=Object(lt.r)(n,function(ko,Ko){if(ko.range&&Ko.range)return H.a.compareRangesUsingStarts(ko.range,Ko.range);var ln=ko.range?0:1,wn=Ko.range?0:1;return ln-wn}),ce=0,Be=n;cea._diffLimit){S.push({range:Ye,text:_t});continue}for(jt=Object(Tt.b)(Ft,_t,!1),ro=h.offsetAt(H.a.lift(Ye).getStartPosition()),to=0,Yt=jt;to=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},Ht=function(a,r){return function(n,h){r(n,h,a)}},Ut=function(a,r,n,h){function S(N){return N instanceof n?N:new n(function(ce){ce(N)})}return new(n||(n=Promise))(function(N,ce){function Be(_t){try{Ye(h.next(_t))}catch(Ot){ce(Ot)}}function Ge(_t){try{Ye(h.throw(_t))}catch(Ot){ce(Ot)}}function Ye(_t){_t.done?N(_t.value):S(_t.value).then(Be,Ge)}Ye((h=h.apply(a,r||[])).next())})},oo=function(a,r){var n={label:0,sent:function(){if(N[0]&1)throw N[1];return N[1]},trys:[],ops:[]},h,S,N,ce;return ce={next:Be(0),throw:Be(1),return:Be(2)},typeof Symbol=="function"&&(ce[Symbol.iterator]=function(){return this}),ce;function Be(Ye){return function(_t){return Ge([Ye,_t])}}function Ge(Ye){if(h)throw new TypeError("Generator is already executing.");for(;n;)try{if(h=1,S&&(N=Ye[0]&2?S.return:Ye[0]?S.throw||((N=S.return)&&N.call(S),0):S.next)&&!(N=N.call(S,Ye[1])).done)return N;(S=0,N)&&(Ye=[Ye[0]&2,N.value]);switch(Ye[0]){case 0:case 1:N=Ye;break;case 4:return n.label++,{value:Ye[1],done:!1};case 5:n.label++,S=Ye[1],Ye=[0];continue;case 7:Ye=n.ops.pop(),n.trys.pop();continue;default:if(!(N=n.trys,N=N.length>0&&N[N.length-1])&&(Ye[0]===6||Ye[0]===2)){n=0;continue}if(Ye[0]===3&&(!N||Ye[1]>N[0]&&Ye[1]fo&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)},r.prototype.withWorker=function(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new ye(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)},r}(Rt.a),It=function(a){xt(r,a);function r(n,h,S){var N=a.call(this)||this;if(N._syncedModels=Object.create(null),N._syncedModelsLastUsedTime=Object.create(null),N._proxy=n,N._modelService=h,!S){var ce=new ut.c;ce.cancelAndSet(function(){return N._checkStopModelSync()},Math.round(Zt/2)),N._register(ce)}return N}return r.prototype.dispose=function(){for(var n in this._syncedModels)Object(Rt.f)(this._syncedModels[n]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),a.prototype.dispose.call(this)},r.prototype.ensureSyncedResources=function(n){for(var h=0,S=n;hZt&&h.push(S)}for(var ce=0,Be=h;ce'"_]/g,"-")}function Uo(a,r){console.log(a.languageId+": "+r)}function Do(a,r){return new Error(a.languageId+": "+r)}function xo(a,r,n,h,S){var N=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,ce=null;return r.replace(N,function(Be,Ge,Ye,_t,Ot,Ft,jt,ro,to){return wo(Ye)?wo(_t)?!wo(Ot)&&Ot0;){var h=a.tokenizer[n];if(h)return h;var S=n.lastIndexOf(".");S<0?n=null:n=n.substr(0,S)}return null}function gn(a,r){for(var n=r;n&&n.length>0;){var h=a.stateNames[n];if(h)return!0;var S=n.lastIndexOf(".");S<0?n=null:n=n.substr(0,S)}return!1}var En=5,on=function(){function a(r){this._maxCacheDepth=r,this._entries=Object.create(null)}return a.create=function(r,n){return this._INSTANCE.create(r,n)},a.prototype.create=function(r,n){if(r!==null&&r.depth>=this._maxCacheDepth)return new On(r,n);var h=On.getStackElementId(r);h.length>0&&(h+="|"),h+=n;var S=this._entries[h];return S||(S=new On(r,n),this._entries[h]=S,S)},a._INSTANCE=new a(En),a}(),On=function(){function a(r,n){this.parent=r,this.state=n,this.depth=(this.parent?this.parent.depth:0)+1}return a.getStackElementId=function(r){for(var n="";r!==null;)n.length>0&&(n+="|"),n+=r.state,r=r.parent;return n},a._equals=function(r,n){for(;r!==null&&n!==null;){if(r===n)return!0;if(r.state!==n.state)return!1;r=r.parent,n=n.parent}return r===null&&n===null},a.prototype.equals=function(r){return a._equals(this,r)},a.prototype.push=function(r){return on.create(this,r)},a.prototype.pop=function(){return this.parent},a.prototype.popall=function(){for(var r=this;r.parent;)r=r.parent;return r},a.prototype.switchTo=function(r){return on.create(this.parent,r)},a}(),Hn=function(){function a(r,n){this.modeId=r,this.state=n}return a.prototype.equals=function(r){return this.modeId===r.modeId&&this.state.equals(r.state)},a.prototype.clone=function(){var r=this.state.clone();return r===this.state?this:new a(this.modeId,this.state)},a}(),Rn=function(){function a(r){this._maxCacheDepth=r,this._entries=Object.create(null)}return a.create=function(r,n){return this._INSTANCE.create(r,n)},a.prototype.create=function(r,n){if(n!==null)return new ai(r,n);if(r!==null&&r.depth>=this._maxCacheDepth)return new ai(r,n);var h=On.getStackElementId(r),S=this._entries[h];return S||(S=new ai(r,null),this._entries[h]=S,S)},a._INSTANCE=new a(En),a}(),ai=function(){function a(r,n){this.stack=r,this.embeddedModeData=n}return a.prototype.clone=function(){var r=this.embeddedModeData?this.embeddedModeData.clone():null;return r===this.embeddedModeData?this:Rn.create(this.stack,this.embeddedModeData)},a.prototype.equals=function(r){return r instanceof a&&this.stack.equals(r.stack)?this.embeddedModeData===null&&r.embeddedModeData===null?!0:this.embeddedModeData===null||r.embeddedModeData===null?!1:this.embeddedModeData.equals(r.embeddedModeData):!1},a}(),bi=function(){function a(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}return a.prototype.enterMode=function(r,n){this._language=n},a.prototype.emit=function(r,n){if(this._lastTokenType===n&&this._lastTokenLanguage===this._language)return;this._lastTokenType=n,this._lastTokenLanguage=this._language,this._tokens.push(new u.a(r,n,this._language))},a.prototype.nestedModeTokenize=function(r,n,h){var S=n.modeId,N=n.state,ce=vt.B.get(S);if(!ce)return this.enterMode(h,S),this.emit(h,""),N;var Be=ce.tokenize(r,N,h);return this._tokens=this._tokens.concat(Be.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,Be.endState},a.prototype.finalize=function(r){return new u.b(this._tokens,r)},a}(),kn=function(){function a(r,n){this._modeService=r,this._theme=n,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}return a.prototype.enterMode=function(r,n){this._currentLanguageId=this._modeService.getLanguageIdentifier(n).id},a.prototype.emit=function(r,n){var h=this._theme.match(this._currentLanguageId,n);if(this._lastTokenMetadata===h)return;this._lastTokenMetadata=h,this._tokens.push(r),this._tokens.push(h)},a._merge=function(r,n,h){var S=r!==null?r.length:0,N=n.length,ce=h!==null?h.length:0;if(S===0&&N===0&&ce===0)return new Uint32Array(0);if(S===0&&N===0)return h;if(N===0&&ce===0)return r;var Be=new Uint32Array(S+N+ce);r!==null&&Be.set(r);for(var Ge=0;Ge0&&S.nestedModeTokenize(Be,n.embeddedModeData,h);var Ge=r.substring(N);return this._myTokenize(Ge,n,h+N,S)},a.prototype._safeRuleName=function(r){return r?r.name:"(unknown)"},a.prototype._myTokenize=function(r,n,h,S){S.enterMode(h,this._modeId);for(var N=r.length,ce=n.embeddedModeData,Be=n.stack,Ge=0,Ye=null,_t=!0;_t||Ge=N)break;_t=!1;var Io=this._lexer.tokenizer[ro];if(!Io&&(Io=tn(this._lexer,ro),!Io))throw Do(this._lexer,"tokenizer state is not defined: "+ro);for(var ko=r.substr(Ge),Ko=0,ln=Io;Ko=this._lexer.maxStack)throw Do(this._lexer,"maximum tokenizer stack size reached: ["+Be.state+","+Be.parent.state+",...]");Be=Be.push(ro)}else if(Qt.next==="@pop"){if(Be.depth<=1)throw Do(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(ho));Be=Be.pop()}else if(Qt.next==="@popall")Be=Be.popall();else{var Yo=xo(this._lexer,Qt.next,Yt,to,ro);if(Yo[0]==="@"&&(Yo=Yo.substr(1)),tn(this._lexer,Yo))Be=Be.push(Yo);else throw Do(this._lexer,"trying to set a next state '"+Yo+"' that is undefined in rule: "+this._safeRuleName(ho))}}Qt.log&&typeof Qt.log=="string"&&Uo(this._lexer,this._lexer.languageId+": "+xo(this._lexer,Qt.log,Yt,to,ro))}if(qo===null)throw Do(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(ho));if(Array.isArray(qo)){if(Ye&&Ye.groups.length>0)throw Do(this._lexer,"groups cannot be nested: "+this._safeRuleName(ho));if(to.length!==qo.length+1)throw Do(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(ho));for(var un=0,en=1;en=0&&ro()})})},a.colorizeLine=function(r,n,h,S,N){N===void 0&&(N=4);var ce=Xt.d.isBasicASCII(r,n),Be=Xt.d.containsRTL(r,ce,h),Ge=Object(Kt.e)(new Kt.c(!1,!0,r,!1,ce,Be,0,S,[],N,0,0,0,-1,"none",!1,!1,null));return Ge.html},a.colorizeModelLine=function(r,n,h){h===void 0&&(h=4);var S=r.getLineContent(n);r.forceTokenization(n);var N=r.getLineTokens(n),ce=N.inflate();return this.colorizeLine(S,r.mightContainNonBasicASCII(),r.mightContainRTL(),ce,h)},a}();function Ki(a,r,n){return new Promise(function(h,S){var N=function ce(){var Be=Gi(a,r,n);if(n instanceof Qn){var Ge=n.getLoadStatus();if(Ge.loaded===!1){Ge.promise.then(ce,S);return}}h(Be)};N()})}function Zr(a,r){var n=[],h=(0<<11|1<<14|2<<23)>>>0,S=new Uint32Array(2);S[0]=0,S[1]=h;for(var N=0,ce=a.length;N")}return n.join("")}function Gi(a,r,n){for(var h=[],S=n.getInitialState(),N=0,ce=a.length;N"),S=Ge.endState}return h.join("")}var $o=e("uDWl"),li=e("S3by"),Tn=e("sFUC"),yr=e("iDAx"),Qr=e("0/Sa"),xn=e("+7oY"),$n=e("QDVR"),Xi=e("CRAX"),br=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),Yi=function(){for(var a=0,r=0,n=arguments.length;r5e3&&S._leaveChordMode()},500)},r.prototype._leaveChordMode=function(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null},r.prototype._dispatch=function(n,h){return this._doDispatch(this.resolveKeyboardEvent(n),h)},r.prototype._doDispatch=function(n,h){var S=this,N=!1;if(n.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;var ce=n.getDispatchParts()[0];if(ce===null)return N;var Be=this._contextKeyService.getContext(h),Ge=this._currentChord?this._currentChord.keypress:null,Ye=n.getLabel(),_t=this._getResolver().resolve(Be,Ge,ce);return _t&&_t.enterChord?(N=!0,this._enterChordMode(ce,Ye),N):(this._currentChord&&((!_t||!_t.commandId)&&(this._notificationService.status(_n.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,Ye),{hideAfter:10*1e3}),N=!0)),this._leaveChordMode(),_t&&_t.commandId&&(_t.bubble||(N=!0),typeof _t.commandArgs=="undefined"?this._commandService.executeCommand(_t.commandId).then(void 0,function(Ot){return S._notificationService.warn(Ot)}):this._commandService.executeCommand(_t.commandId,_t.commandArgs).then(void 0,function(Ot){return S._notificationService.warn(Ot)}),this._telemetryService.publicLog2("workbenchActionExecuted",{id:_t.commandId,from:"keybinding"})),N)},r.prototype.mightProducePrintableCharacter=function(n){return n.ctrlKey||n.metaKey?!1:n.keyCode>=31&&n.keyCode<=56||n.keyCode>=21&&n.keyCode<=30},r}(Rt.a),Sn=e("T8No"),Qi=function(){function a(r,n){this._defaultKeybindings=r,this._defaultBoundCommands=new Map;for(var h=0,S=r.length;h=0;Ot--)this._isTargetedForRemoval(r[Ot],Ge,Ye,Be,_t)&&r.splice(Ot,1)}return r.concat(h)},a.prototype._addKeyPress=function(r,n){var h=this._map.get(r);if(typeof h=="undefined"){this._map.set(r,[n]),this._addToLookupMap(n);return}for(var S=h.length-1;S>=0;S--){var N=h[S];if(N.command===n.command)continue;var ce=N.keypressParts.length>1,Be=n.keypressParts.length>1;if(ce&&Be&&N.keypressParts[1]!==n.keypressParts[1])continue;a.whenIsEntirelyIncluded(N.when,n.when)&&this._removeFromLookupMap(N)}h.push(n),this._addToLookupMap(n)},a.prototype._addToLookupMap=function(r){if(!r.command)return;var n=this._lookupMap.get(r.command);typeof n=="undefined"?(n=[r],this._lookupMap.set(r.command,n)):n.push(r)},a.prototype._removeFromLookupMap=function(r){if(!r.command)return;var n=this._lookupMap.get(r.command);if(typeof n=="undefined")return;for(var h=0,S=n.length;h1&&Ye.keypressParts[1]!==null?{enterChord:!0,commandId:null,commandArgs:null,bubble:!1}:{enterChord:!1,commandId:Ye.command,commandArgs:Ye.commandArgs,bubble:Ye.bubble}:null},a.prototype._findCommand=function(r,n){for(var h=n.length-1;h>=0;h--){var S=n[h];if(!a.contextMatchesRules(r,S.when))continue;return S}return null},a.contextMatchesRules=function(r,n){return n?n.evaluate(r):!0},a}(),qr=e("nrhi"),$i=function(){function a(r,n,h,S,N){this.resolvedKeybinding=r,this.keypressParts=r?Er(r.getDispatchParts()):[],this.bubble=n?n.charCodeAt(0)===94:!1,this.command=this.bubble?n.substr(1):n,this.commandArgs=h,this.when=S,this.isDefault=N}return a}();function Er(a){for(var r=[],n=0,h=a.length;n1},r.prototype.getParts=function(){var n=this;return this._parts.map(function(h){return n._getPart(h)})},r.prototype._getPart=function(n){return new U.d(n.ctrlKey,n.shiftKey,n.altKey,n.metaKey,this._getLabel(n),this._getAriaLabel(n))},r.prototype.getDispatchParts=function(){var n=this;return this._parts.map(function(h){return n._getDispatchPart(h)})},r}(U.c),ts=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),_r=function(a){ts(r,a);function r(n,h){return a.call(this,h,n.parts)||this}return r.prototype._keyCodeToUILabel=function(n){if(this._os===2)switch(n){case 15:return"\u2190";case 16:return"\u2191";case 17:return"\u2192";case 18:return"\u2193"}return U.b.toString(n)},r.prototype._getLabel=function(n){return n.isDuplicateModifierCase()?"":this._keyCodeToUILabel(n.keyCode)},r.prototype._getAriaLabel=function(n){return n.isDuplicateModifierCase()?"":U.b.toString(n.keyCode)},r.prototype._getDispatchPart=function(n){return r.getDispatchStr(n)},r.getDispatchStr=function(n){if(n.isModifierKey())return null;var h="";return n.ctrlKey&&(h+="ctrl+"),n.shiftKey&&(h+="shift+"),n.altKey&&(h+="alt+"),n.metaKey&&(h+="meta+"),h+=U.b.toString(n.keyCode),h},r}(na),Un=e("sM1p"),Sr=e("EWX2"),Oi=e("A9l+"),os=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),ns=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},is=function(a,r){return function(n,h){r(n,h,a)}},rs=function(){for(var a=0,r=0,n=arguments.length;rAn error occurred:

"+me(uo.message+"",!0)+"
";throw uo}}De.options=De.setOptions=function(Se){return F(De.defaults,Se),De},De.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new X,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},De.defaults=De.getDefaults(),De.Parser=je,De.parser=je.parse,De.Renderer=X,De.TextRenderer=he,De.Lexer=ae,De.lexer=ae.lex,De.InlineLexer=ue,De.inlineLexer=ue.output,De.Slugger=Xe,De.parse=De,z=De}).call(void 0);var O=z,U=z.Parser,x=z.parser,u=z.Renderer,y=z.TextRenderer,_=z.Lexer,f=z.lexer,v=z.InlineLexer,w=z.inlineLexer,p=z.parse,c,c,s;(function(){function ne(ee,ae,q){function ue(je,Xe){if(!ae[je]){if(!ee[je]){var me=typeof c=="function"&&c;if(!Xe&&me)return c(je,!0);if(X)return X(je,!0);var ge=new Error("Cannot find module '"+je+"'");throw ge.code="MODULE_NOT_FOUND",ge}var we=ae[je]={exports:{}};ee[je][0].call(we.exports,function(Re){var Ee=ee[je][1][Re];return ue(Ee||Re)},we,we.exports,ne,ee,ae,q)}return ae[je].exports}for(var X=typeof c=="function"&&c,he=0;he\s]+))?)*)\s*(\/?)\s*>/,Xe=/^<\s*\/\s*([\w:-]+)[^>]*>/,me=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,ge=/^");pt>=0&&(Q.comment&&Q.comment(ve.substring(4,pt)),ve=ve.substring(pt+3),se=!1)}function Ve(){if(!se)return;var pt,Rt=ve.indexOf("<");Rt>=0?(pt=ve.substring(0,Rt),ve=ve.substring(Rt)):(pt=ve,ve=""),Q.chars&&Q.chars(pt)}function Qe(pt,Rt,Mt,zt){var uo={},ao=ue(Rt),so=he.voids[ao]||!!zt;Mt.replace(me,Pt),so||C.push(ao),Q.start&&Q.start(ao,uo,so);function Pt(ft,vt,At,at,tt){At===void 0&&at===void 0&&tt===void 0?uo[vt]=void 0:uo[vt]=q.decode(At||at||tt||"")}}function it(pt,Rt){var Mt,zt=0,uo=ue(Rt);if(uo)for(zt=C.length-1;zt>=0&&!(C[zt]===uo);zt--);if(zt>=0){for(Mt=C.length-1;Mt>=zt;Mt--)Q.end&&Q.end(C[Mt]);C.length=zt}}}ee.exports=Ee},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],8:[function(ne,ee,ae){"use strict";var q=ne("he"),ue=ne("./lowercase"),X=ne("./attributes"),he=ne("./elements");function je(Xe,me){var ge,we,Re=me||{};return be(),{start:ve,end:Q,chars:F};function Ee(De){Xe.push(De)}function ve(De,Se,Ve){var Qe=ue(De);if(we.ignoring){se(Qe);return}if((Re.allowedTags||[]).indexOf(Qe)===-1){se(Qe);return}if(Re.filter&&!Re.filter({tag:Qe,attrs:Se})){se(Qe);return}Ee("<"),Ee(Qe),Object.keys(Se).forEach(it),Ee(Ve?"/>":">");function it(pt){var Rt=Se[pt],Mt=(Re.allowedClasses||{})[Qe]||[],zt=(Re.allowedAttributes||{})[Qe]||[];zt=zt.concat((Re.allowedAttributes||{})["*"]||[]);var uo,ao=ue(pt);ao==="class"&&zt.indexOf(ao)===-1?(Rt=Rt.split(" ").filter(so).join(" ").trim(),uo=Rt.length):uo=zt.indexOf(ao)!==-1&&(X.uris[ao]!==!0||C(Rt)),uo&&(Ee(" "),Ee(pt),typeof Rt=="string"&&(Ee('="'),Ee(q.encode(Rt)),Ee('"')));function so(Pt){return Mt&&Mt.indexOf(Pt)!==-1}}}function Q(De){var Se=ue(De),Ve=(Re.allowedTags||[]).indexOf(Se)!==-1;Ve&&we.ignoring===!1?(Ee("")):oe(Se)}function C(De){var Se=De[0];if(Se==="#"||Se==="/")return!0;var Ve=De.indexOf(":");if(Ve===-1)return!0;var Qe=De.indexOf("?");if(Qe!==-1&&Ve>Qe)return!0;var it=De.indexOf("#");if(it!==-1&&Ve>it)return!0;return Re.allowedSchemes.some(pt);function pt(Rt){return De.indexOf(Rt+":")===0}}function F(De){we.ignoring===!1&&Ee(Re.transformText?Re.transformText(De):De)}function se(De){if(he.voids[De])return;we.ignoring===!1?we={ignoring:De,depth:1}:we.ignoring===De&&we.depth++}function oe(De){we.ignoring===De&&(--we.depth<=0&&be())}function be(){we={ignoring:!1,depth:0}}}ee.exports=je},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],9:[function(ne,ee,ae){"use strict";var q={"&":"&","<":"<",">":">",'"':""","'":"'"},ue={"&":"&","<":"<",">":">",""":'"',"'":"'"},X=/(&|<|>|"|')/g,he=/[&<>"']/g;function je(we){return q[we]}function Xe(we){return ue[we]}function me(we){return we==null?"":String(we).replace(he,je)}function ge(we){return we==null?"":String(we).replace(X,Xe)}me.options=ge.options={},ee.exports={encode:me,escape:me,decode:ge,unescape:ge,version:"1.0.0-browser"}},{}],10:[function(ne,ee,ae){"use strict";function q(X){return X.reduce(ue,{})}function ue(X,he){return X[he]=!0,X}ee.exports=q},{}]},{},[4]);var l=s,d=e("Q4rV"),m=e("qj0h"),E=e("N0LK"),L=e("bY76"),A=e("tYmi"),k=e("Vhoy");function R(ne,ee){ee===void 0&&(ee={});var ae=Object(re.a)(ee),q=function(Ee){var ve;try{ve=Object(d.a)(decodeURIComponent(Ee))}catch(Q){}return ve?(ve=Object(m.b)(ve,function(Q){return ne.uris&&ne.uris[Q]?L.a.revive(ne.uris[Q]):void 0}),encodeURIComponent(JSON.stringify(ve))):Ee},ue=function(Ee,ve){var Q=ne.uris&&ne.uris[Ee];if(!Q)return Ee;var C=L.a.revive(Q);return L.a.parse(Ee).toString()===C.toString()?Ee:(ve&&(C=T.s(C)),C.query&&(C=C.with({query:q(C.query)})),C.toString(!0))},X,he=new Promise(function(Re){return X=Re}),je=new u;je.image=function(Re,Ee,ve){var Q,C=[],F=[];return Re&&(Q=Object(I.d)(Re),Re=Q.href,C=Q.dimensions,Re=ue(Re,!0),F.push('src="'+Re+'"')),ve&&F.push('alt="'+ve+'"'),Ee&&F.push('title="'+Ee+'"'),C.length&&(F=F.concat(C)),""},je.link=function(Re,Ee,ve){return Re===ve&&(ve=Object(I.e)(ve)),Re=ue(Re,!1),Ee=Object(I.e)(Ee),Re=Object(I.e)(Re),!Re||Re.match(/^data:|javascript:/i)||Re.match(/^command:/i)&&!ne.isTrusted||Re.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?ve:(Re=Re.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),''+ve+"")},je.paragraph=function(Re){return"

"+(ne.supportThemeIcons?Object(k.c)(Re):Re)+"

"},ee.codeBlockRenderer&&(je.code=function(Re,Ee){var ve=ee.codeBlockRenderer(Ee,Re),Q=H.b.nextId(),C=Promise.all([ve,he]).then(function(F){var se=F[0],oe=ae.querySelector('div[data-code="'+Q+'"]');oe&&(oe.innerHTML=se)}).catch(function(F){});return ee.codeBlockRenderCallback&&C.then(ee.codeBlockRenderCallback),'
'+Object(E.o)(Re)+"
"});var Xe=ee.actionHandler;Xe&&Xe.disposeables.add(T.o(ae,"click",function(Re){var Ee=Re.target;if(Ee.tagName!=="A"&&(Ee=Ee.parentElement,!Ee||Ee.tagName!=="A"))return;try{var ve=Ee.dataset.href;ve&&Xe.callback(ve,Re)}catch(Q){Object(J.e)(Q)}finally{Re.preventDefault()}}));var me={sanitize:!0,renderer:je},ge=[A.b.http,A.b.https,A.b.mailto,A.b.data,A.b.file,A.b.vscodeRemote,A.b.vscodeRemoteResource];ne.isTrusted&&ge.push(A.b.command);var we=p(ne.supportThemeIcons?Object(k.b)(ne.value):ne.value,me);return ae.innerHTML=l(we,{allowedSchemes:ge,allowedAttributes:{a:["href","name","target","data-href"],iframe:["allowfullscreen","frameborder","src"],img:["src","title","alt","width","height"],div:["class","data-code"],span:["class"]}}),X(),ae}var $=e("W9cx"),ie=e("WBhO"),W=e("TQUy"),B=e("Cg/j"),le=e("MI8n"),Ce=e("pmY6"),Me=e("twdY"),Te=function(){var ne=function(ae,q){return ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,X){ue.__proto__=X}||function(ue,X){for(var he in X)X.hasOwnProperty(he)&&(ue[he]=X[he])},ne(ae,q)};return function(ee,ae){ne(ee,ae);function q(){this.constructor=ee}ee.prototype=ae===null?Object.create(ae):(q.prototype=ae.prototype,new q)}}(),Fe=function(ne,ee,ae,q){var ue=arguments.length,X=ue<3?ee:q===null?q=Object.getOwnPropertyDescriptor(ee,ae):q,he;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")X=Reflect.decorate(ne,ee,ae,q);else for(var je=ne.length-1;je>=0;je--)(he=ne[je])&&(X=(ue<3?he(X):ue>3?he(ee,ae,X):he(ee,ae))||X);return ue>3&&X&&Object.defineProperty(ee,ae,X),X},He=function(ne,ee){return function(ae,q){ee(ae,q,ne)}},Pe=function(ne){Te(ee,ne);function ee(ae,q,ue){ue===void 0&&(ue=$.b);var X=ne.call(this)||this;return X._editor=ae,X._modeService=q,X._openerService=ue,X._onDidRenderCodeBlock=X._register(new le.a),X.onDidRenderCodeBlock=X._onDidRenderCodeBlock.event,X}return ee.prototype.getOptions=function(ae){var q=this;return{codeBlockRenderer:function(X,he){var je=null;if(X)je=q._modeService.getModeIdForLanguageName(X);else{var Xe=q._editor.getModel();Xe&&(je=Xe.getLanguageIdentifier().language)}return q._modeService.triggerMode(je||""),Promise.resolve(!0).then(function(me){var ge=Me.B.getPromise(je||"");return ge?ge.then(function(we){return Object(W.b)(he,we)}):Object(W.b)(he,void 0)}).then(function(me){return''+me+""})},codeBlockRenderCallback:function(){return q._onDidRenderCodeBlock.fire()},actionHandler:{callback:function(X){q._openerService.open(X,{fromUserGesture:!0}).catch(J.e)},disposeables:ae}}},ee.prototype.render=function(ae){var q=new Ce.b,ue;return ae?ue=R(ae,this.getOptions(q)):ue=document.createElement("span"),{element:ue,dispose:function(){return q.dispose()}}},ee=Fe([He(1,ie.a),He(2,Object(B.d)($.a))],ee),ee}(Ce.a)},"3rx1":function(Lt,j,e){"use strict";e.d(j,"b",function(){return O}),e.d(j,"a",function(){return U}),e.d(j,"c",function(){return u});var T=e("bY76"),re=e("MrjW"),J=e("N0LK"),I=e("tYmi"),H=e("MNsG"),z=e("gslv");function O(f,v,w){if(typeof f=="string"&&(f=T.a.file(f)),w){var p=w.getWorkspaceFolder(f);if(p){var c=w.getWorkspace().folders.length>1,s=void 0;if(Object(z.e)(p.uri,f)?s="":s=Object(z.h)(p.uri,f),c){var l=p.name?p.name:Object(z.b)(p.uri);s=s?l+" \u2022 "+s:l}return s}}if(f.scheme!==I.b.file&&f.scheme!==I.b.untitled)return f.with({query:null,fragment:null}).toString(!0);if(x(f.fsPath))return Object(re.normalize)(u(f.fsPath));var d=Object(re.normalize)(f.fsPath);return!H.h&&v&&(d=_(d,v.userHome)),d}function U(f){if(!f)return;typeof f=="string"&&(f=T.a.file(f));var v=Object(z.b)(f)||(f.scheme===I.b.file?f.fsPath:f.path);return x(v)?u(v):v}function x(f){return!!(H.h&&f&&f[1]===":")}function u(f){return x(f)?f.charAt(0).toUpperCase()+f.slice(1):f}var y=Object.create(null);function _(f,v){if(H.h||!f||!v)return f;var w=y.original===v?y.normalized:void 0;return w||(w=""+Object(J.K)(v,re.posix.sep)+re.posix.sep,y={original:v,normalized:w}),(H.d?Object(J.N)(f,w):Object(J.O)(f,w))&&(f="~/"+f.substr(w.length)),f}},"4bUh":function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("twdY"),re=function(){function I(H,z){this._tokens=H,this._tokensCount=this._tokens.length>>>1,this._text=z}return I.prototype.equals=function(H){return H instanceof I?this.slicedEquals(H,0,this._tokensCount):!1},I.prototype.slicedEquals=function(H,z,O){if(this._text!==H._text)return!1;if(this._tokensCount!==H._tokensCount)return!1;for(var U=z<<1,x=U+(O<<1),u=U;u0?this._tokens[H-1<<1]:0},I.prototype.getMetadata=function(H){var z=this._tokens[(H<<1)+1];return z},I.prototype.getLanguageId=function(H){var z=this._tokens[(H<<1)+1];return T.A.getLanguageId(z)},I.prototype.getStandardTokenType=function(H){var z=this._tokens[(H<<1)+1];return T.A.getTokenType(z)},I.prototype.getForeground=function(H){var z=this._tokens[(H<<1)+1];return T.A.getForeground(z)},I.prototype.getClassName=function(H){var z=this._tokens[(H<<1)+1];return T.A.getClassNameFromMetadata(z)},I.prototype.getInlineStyle=function(H,z){var O=this._tokens[(H<<1)+1];return T.A.getInlineStyleFromMetadata(O,z)},I.prototype.getEndOffset=function(H){return this._tokens[H<<1]},I.prototype.findTokenIndexAtOffset=function(H){return I.findIndexInTokensArray(this._tokens,H)},I.prototype.inflate=function(){return this},I.prototype.sliceAndInflate=function(H,z,O){return new J(this,H,z,O)},I.convertToEndOffset=function(H,z){for(var O=H.length>>>1,U=O-1,x=0;x>>1)-1;Oz&&(U=x)}return O},I}(),J=function(){function I(H,z,O,U){this._source=H,this._startOffset=z,this._endOffset=O,this._deltaOffset=U,this._firstTokenIndex=H.findTokenIndexAtOffset(z),this._tokensCount=0;for(var x=this._firstTokenIndex,u=H.getCount();x=O)break;this._tokensCount++}}return I.prototype.equals=function(H){return H instanceof I?this._startOffset===H._startOffset&&this._endOffset===H._endOffset&&this._deltaOffset===H._deltaOffset&&this._source.slicedEquals(H._source,this._firstTokenIndex,this._tokensCount):!1},I.prototype.getCount=function(){return this._tokensCount},I.prototype.getForeground=function(H){return this._source.getForeground(this._firstTokenIndex+H)},I.prototype.getEndOffset=function(H){var z=this._source.getEndOffset(this._firstTokenIndex+H);return Math.min(this._endOffset,z)-this._startOffset+this._deltaOffset},I.prototype.getClassName=function(H){return this._source.getClassName(this._firstTokenIndex+H)},I.prototype.getInlineStyle=function(H,z){return this._source.getInlineStyle(this._firstTokenIndex+H,z)},I.prototype.findTokenIndexAtOffset=function(H){return this._source.findTokenIndexAtOffset(H+this._startOffset-this._deltaOffset)-this._firstTokenIndex},I}()},"4rho":function(Lt,j,e){},"4sI4":function(Lt,j,e){"use strict";e.r(j),e.d(j,"StandaloneReferencesController",function(){return _});var T=e("sswD"),re=e("Vxe3"),J=e("QY8A"),I=e("+7oY"),H=e("T8No"),z=e("Cg/j"),O=e("sM1p"),U=e("A+jI"),x=function(){var f=function(w,p){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,s){c.__proto__=s}||function(c,s){for(var l in s)s.hasOwnProperty(l)&&(c[l]=s[l])},f(w,p)};return function(v,w){f(v,w);function p(){this.constructor=v}v.prototype=w===null?Object.create(w):(p.prototype=w.prototype,new p)}}(),u=function(f,v,w,p){var c=arguments.length,s=c<3?v:p===null?p=Object.getOwnPropertyDescriptor(v,w):p,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(f,v,w,p);else for(var d=f.length-1;d>=0;d--)(l=f[d])&&(s=(c<3?l(s):c>3?l(v,w,s):l(v,w))||s);return c>3&&s&&Object.defineProperty(v,w,s),s},y=function(f,v){return function(w,p){v(w,p,f)}},_=function(f){x(v,f);function v(w,p,c,s,l,d,m){return f.call(this,!0,w,p,c,s,l,d,m)||this}return v=u([y(1,H.c),y(2,re.a),y(3,O.a),y(4,z.a),y(5,U.a),y(6,I.a)],v),v}(J.a);Object(T.h)(J.a.ID,_)},"4y0V":function(Lt,j,e){"use strict";e.d(j,"a",function(){return re}),e.d(j,"b",function(){return J});var T=e("MI8n"),re=function(H,z,O){var U=function(y){return x.fire(y)},x=new T.a({onFirstListenerAdd:function(){H.addEventListener(z,U,O)},onLastListenerRemove:function(){H.removeEventListener(z,U,O)}});return x.event};function J(I){return T.b.map(I,function(H){return H.preventDefault(),H.stopPropagation(),H})}},"51B1":function(Lt,j,e){},"51f4":function(Lt,j,e){"use strict";e.d(j,"a",function(){return H});var T=!1,re=null;function J(z){if(!z.parent||z.parent===z)return null;try{var O=z.location,U=z.parent.location;if(O.protocol!==U.protocol||O.hostname!==U.hostname||O.port!==U.port)return T=!0,null}catch(x){return T=!0,null}return z.parent}function I(z,O){for(var U=z.document.getElementsByTagName("iframe"),x,u=0,y=U.length;u0&&v._undoStack[v._undoStack.length-1].cursorState.equals(p);c||(v._undoStack.push(new O(p,f.getScrollTop(),f.getScrollLeft())),v._redoStack=[],v._undoStack.length>50&&v._undoStack.shift())})),v}return _.get=function(f){return f.getContribution(_.ID)},_.prototype.cursorUndo=function(){if(!this._editor.hasModel()||this._undoStack.length===0)return;this._redoStack.push(new O(new z(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop())},_.prototype.cursorRedo=function(){if(!this._editor.hasModel()||this._redoStack.length===0)return;this._undoStack.push(new O(new z(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop())},_.prototype._applyState=function(f){this._isCursorUndoRedo=!0,this._editor.setSelections(f.cursorState.selections),this._editor.setScrollPosition({scrollTop:f.scrollTop,scrollLeft:f.scrollLeft}),this._isCursorUndoRedo=!1},_.ID="editor.contrib.cursorUndoRedoController",_}(re.a),x=function(y){H(_,y);function _(){return y.call(this,{id:"cursorUndo",label:T.a("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:I.a.textInputFocus,primary:2048|51,weight:100}})||this}return _.prototype.run=function(f,v,w){U.get(v).cursorUndo()},_}(J.b),u=function(y){H(_,y);function _(){return y.call(this,{id:"cursorRedo",label:T.a("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})||this}return _.prototype.run=function(f,v,w){U.get(v).cursorRedo()},_}(J.b);Object(J.h)(U.ID,U),Object(J.f)(x),Object(J.f)(u)},"5TxY":function(Lt,j,e){"use strict";e.d(j,"a",function(){return _}),e.d(j,"b",function(){return v});var T=e("D3Dy"),re=e("EffR"),J=e("X+cX"),I=e("MI8n"),H=e("pmY6"),z=e("MNsG"),O=e("N0LK"),U=e("Comh"),x=e("gCVg"),u=e("CjF5"),y=function(){var c=function(l,d){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,E){m.__proto__=E}||function(m,E){for(var L in E)E.hasOwnProperty(L)&&(m[L]=E[L])},c(l,d)};return function(s,l){c(s,l);function d(){this.constructor=s}s.prototype=l===null?Object.create(l):(d.prototype=l.prototype,new d)}}(),_={forceCopyWithSyntaxHighlighting:!1},f=function(){function c(){this._lastState=null}return c.prototype.set=function(s,l){this._lastState={lastCopiedValue:s,data:l}},c.prototype.get=function(s){return this._lastState&&this._lastState.lastCopiedValue===s?this._lastState.data:(this._lastState=null,null)},c.INSTANCE=new c,c}(),v=function(c){y(s,c);function s(l,d){var m=c.call(this)||this;m.textArea=d,m._onFocus=m._register(new I.a),m.onFocus=m._onFocus.event,m._onBlur=m._register(new I.a),m.onBlur=m._onBlur.event,m._onKeyDown=m._register(new I.a),m.onKeyDown=m._onKeyDown.event,m._onKeyUp=m._register(new I.a),m.onKeyUp=m._onKeyUp.event,m._onCut=m._register(new I.a),m.onCut=m._onCut.event,m._onPaste=m._register(new I.a),m.onPaste=m._onPaste.event,m._onType=m._register(new I.a),m.onType=m._onType.event,m._onCompositionStart=m._register(new I.a),m.onCompositionStart=m._onCompositionStart.event,m._onCompositionUpdate=m._register(new I.a),m.onCompositionUpdate=m._onCompositionUpdate.event,m._onCompositionEnd=m._register(new I.a),m.onCompositionEnd=m._onCompositionEnd.event,m._onSelectionChangeRequest=m._register(new I.a),m.onSelectionChangeRequest=m._onSelectionChangeRequest.event,m._host=l,m._textArea=m._register(new p(d)),m._asyncTriggerCut=m._register(new J.d(function(){return m._onCut.fire()},0)),m._textAreaState=U.b.EMPTY,m._selectionChangeListener=null,m.writeScreenReaderContent("ctor"),m._hasFocus=!1,m._isDoingComposition=!1,m._nextCommand=0,m._register(re.o(d.domNode,"keydown",function(k){m._isDoingComposition&&(k.keyCode===109||k.keyCode===1)&&k.stopPropagation(),k.equals(9)&&k.preventDefault(),m._onKeyDown.fire(k)})),m._register(re.o(d.domNode,"keyup",function(k){m._onKeyUp.fire(k)})),m._register(re.j(d.domNode,"compositionstart",function(k){if(m._isDoingComposition)return;m._isDoingComposition=!0,T.f||m._setAndWriteTextAreaState("compositionstart",U.b.EMPTY),m._onCompositionStart.fire()}));var E=function(R){var $=m._textAreaState,ie=U.b.readFromTextArea(m._textArea);return[ie,U.b.deduceInput($,ie,R)]},L=function(R){var $=m._textAreaState,ie=U.b.selectedText(R),W={text:ie.value,replaceCharCnt:$.selectionEnd-$.selectionStart};return[ie,W]},A=function(R){return T.f&&R==="ja"?!0:!!(T.i&&R.indexOf("zh-Han")===0)};return m._register(re.j(d.domNode,"compositionupdate",function(k){if(A(k.locale)){var R=E(!1),$=R[0],ie=R[1];m._textAreaState=$,m._onType.fire(ie),m._onCompositionUpdate.fire(k);return}var W=L(k.data),B=W[0],le=W[1];m._textAreaState=B,m._onType.fire(le),m._onCompositionUpdate.fire(k)})),m._register(re.j(d.domNode,"compositionend",function(k){if(!m._isDoingComposition)return;if(A(k.locale)){var R=E(!1),$=R[0],ie=R[1];m._textAreaState=$,m._onType.fire(ie)}else{var W=L(k.data),$=W[0],ie=W[1];m._textAreaState=$,m._onType.fire(ie)}if((T.f||T.d)&&(m._textAreaState=U.b.readFromTextArea(m._textArea)),!m._isDoingComposition)return;m._isDoingComposition=!1,m._onCompositionEnd.fire()})),m._register(re.j(d.domNode,"input",function(){if(m._textArea.setIgnoreSelectionChangeTime("received input event"),m._isDoingComposition)return;var k=E(z.e),R=k[0],$=k[1];if($.replaceCharCnt===0&&$.text.length===1&&O.z($.text.charCodeAt(0)))return;m._textAreaState=R,m._nextCommand===0?$.text!==""&&m._onType.fire($):(($.text!==""||$.replaceCharCnt!==0)&&m._firePaste($.text,null),m._nextCommand=0)})),m._register(re.j(d.domNode,"cut",function(k){m._textArea.setIgnoreSelectionChangeTime("received cut event"),m._ensureClipboardGetsEditorSelection(k),m._asyncTriggerCut.schedule()})),m._register(re.j(d.domNode,"copy",function(k){m._ensureClipboardGetsEditorSelection(k)})),m._register(re.j(d.domNode,"paste",function(k){if(m._textArea.setIgnoreSelectionChangeTime("received paste event"),w.canUseTextData(k)){var R=w.getTextData(k),$=R[0],ie=R[1];$!==""&&m._firePaste($,ie)}else m._textArea.getSelectionStart()!==m._textArea.getSelectionEnd()&&m._setAndWriteTextAreaState("paste",U.b.EMPTY),m._nextCommand=1})),m._register(re.j(d.domNode,"focus",function(){m._setHasFocus(!0)})),m._register(re.j(d.domNode,"blur",function(){m._setHasFocus(!1)})),m}return s.prototype._installSelectionChangeListener=function(){var l=this,d=0;return re.j(document,"selectionchange",function(m){if(!l._hasFocus)return;if(l._isDoingComposition)return;if(!T.d||!z.h)return;var E=Date.now(),L=E-d;if(d=E,L<5)return;var A=E-l._textArea.getIgnoreSelectionChangeTime();if(l._textArea.resetSelectionChangeTime(),A<100)return;if(!l._textAreaState.selectionStartPosition||!l._textAreaState.selectionEndPosition)return;var k=l._textArea.getValue();if(l._textAreaState.value!==k)return;var R=l._textArea.getSelectionStart(),$=l._textArea.getSelectionEnd();if(l._textAreaState.selectionStart===R&&l._textAreaState.selectionEnd===$)return;var ie=l._textAreaState.deduceEditorPosition(R),W=l._host.deduceModelPosition(ie[0],ie[1],ie[2]),B=l._textAreaState.deduceEditorPosition($),le=l._host.deduceModelPosition(B[0],B[1],B[2]),Ce=new x.a(W.lineNumber,W.column,le.lineNumber,le.column);l._onSelectionChangeRequest.fire(Ce)})},s.prototype.dispose=function(){c.prototype.dispose.call(this),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)},s.prototype.focusTextArea=function(){this._setHasFocus(!0),this.refreshFocusState()},s.prototype.isFocused=function(){return this._hasFocus},s.prototype.refreshFocusState=function(){var l=re.E(this.textArea.domNode);l?this._setHasFocus(l.activeElement===this.textArea.domNode):re.M(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)},s.prototype._setHasFocus=function(l){if(this._hasFocus===l)return;this._hasFocus=l,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&(T.e?this._setAndWriteTextAreaState("focusgain",U.b.EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire()},s.prototype._setAndWriteTextAreaState=function(l,d){this._hasFocus||(d=d.collapseSelection()),d.writeToTextArea(l,this._textArea,this._hasFocus),this._textAreaState=d},s.prototype.writeScreenReaderContent=function(l){if(this._isDoingComposition)return;this._setAndWriteTextAreaState(l,this._host.getScreenReaderContent(this._textAreaState))},s.prototype._ensureClipboardGetsEditorSelection=function(l){var d=this._host.getDataToCopy(w.canUseTextData(l)&&u.a.clipboard.richText),m={version:1,isFromEmptySelection:d.isFromEmptySelection,multicursorText:d.multicursorText,mode:d.mode};if(f.INSTANCE.set(T.h?d.text.replace(/\r\n/g,` +`):d.text,m),!w.canUseTextData(l)){this._setAndWriteTextAreaState("copy or cut",U.b.selectedText(d.text));return}w.setTextData(l,d.text,d.html,m)},s.prototype._firePaste=function(l,d){d||(d=f.INSTANCE.get(l)),this._onPaste.fire({text:l,metadata:d})},s}(H.a),w=function(){function c(){}return c.canUseTextData=function(s){return s.clipboardData?!0:!!window.clipboardData},c.getTextData=function(s){if(s.clipboardData){s.preventDefault();var l=s.clipboardData.getData("text/plain"),d=null,m=s.clipboardData.getData("vscode-editor-data");if(typeof m=="string")try{d=JSON.parse(m),d.version!==1&&(d=null)}catch(E){}return[l,d]}if(window.clipboardData){s.preventDefault();var l=window.clipboardData.getData("Text");return[l,null]}throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")},c.setTextData=function(s,l,d,m){if(s.clipboardData){s.clipboardData.setData("text/plain",l),typeof d=="string"&&s.clipboardData.setData("text/html",d),s.clipboardData.setData("vscode-editor-data",JSON.stringify(m)),s.preventDefault();return}if(window.clipboardData){window.clipboardData.setData("Text",l),s.preventDefault();return}throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")},c}(),p=function(c){y(s,c);function s(l){var d=c.call(this)||this;return d._actual=l,d._ignoreSelectionChangeTime=0,d}return s.prototype.setIgnoreSelectionChangeTime=function(l){this._ignoreSelectionChangeTime=Date.now()},s.prototype.getIgnoreSelectionChangeTime=function(){return this._ignoreSelectionChangeTime},s.prototype.resetSelectionChangeTime=function(){this._ignoreSelectionChangeTime=0},s.prototype.getValue=function(){return this._actual.domNode.value},s.prototype.setValue=function(l,d){var m=this._actual.domNode;if(m.value===d)return;this.setIgnoreSelectionChangeTime("setValue"),m.value=d},s.prototype.getSelectionStart=function(){return this._actual.domNode.selectionStart},s.prototype.getSelectionEnd=function(){return this._actual.domNode.selectionEnd},s.prototype.setSelectionRange=function(l,d,m){var E=this._actual.domNode,L=null,A=re.E(E);A?L=A.activeElement:L=document.activeElement;var k=L===E,R=E.selectionStart,$=E.selectionEnd;if(k&&R===d&&$===m){T.h&&window.parent!==window&&E.focus();return}if(k){this.setIgnoreSelectionChangeTime("setSelectionRange"),E.setSelectionRange(d,m),T.h&&window.parent!==window&&E.focus();return}try{var ie=re.V(E);this.setIgnoreSelectionChangeTime("setSelectionRange"),E.focus(),E.setSelectionRange(d,m),re.T(E,ie)}catch(W){}},s}(H.a)},"5Y4S":function(Lt,j,e){"use strict";e.d(j,"a",function(){return J});var T=e("MNsG"),re=T.b.performance&&typeof T.b.performance.now=="function",J=function(){function I(H){this._highResolution=re&&H,this._startTime=this._now(),this._stopTime=-1}return I.create=function(H){return H===void 0&&(H=!0),new I(H)},I.prototype.stop=function(){this._stopTime=this._now()},I.prototype.elapsed=function(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime},I.prototype._now=function(){return this._highResolution?T.b.performance.now():new Date().getTime()},I}()},"5v8Y":function(Lt,j,e){"use strict";e.d(j,"a",function(){return H});var T=e("MXAL"),re=function(){var z=function(U,x){return z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,y){u.__proto__=y}||function(u,y){for(var _ in y)y.hasOwnProperty(_)&&(u[_]=y[_])},z(U,x)};return function(O,U){z(O,U);function x(){this.constructor=O}O.prototype=U===null?Object.create(U):(x.prototype=U.prototype,new x)}}(),J=function(z){re(O,z);function O(U){for(var x=z.call(this,0)||this,u=0,y=U.length;u0)B=le-1;else return le}return-(W+1)}function H(R,$){var ie=0,W=R.length;if(W===0)return 0;for(;ieW?R[Te]=le[Me++]:Me>B?R[Te]=le[Ce++]:$(le[Me],le[Ce])<0?R[Te]=le[Me++]:R[Te]=le[Ce++]}function U(R,$,ie,W,B){if(W<=ie)return;var le=ie+(W-ie)/2|0;if(U(R,$,ie,le,B),U(R,$,le+1,W,B),$(R[le],R[le+1])<=0)return;O(R,$,ie,le,W,B)}function x(R,$){for(var ie=[],W=void 0,B=0,le=z(R.slice(0),$);B0}function f(R,$){if(!$)return R.filter(function(W,B){return R.indexOf(W)===B});var ie=Object.create(null);return R.filter(function(W){var B=$(W);return ie[B]?!1:(ie[B]=!0,!0)})}function v(R){var $=new Set;return R.filter(function(ie){return $.has(ie)?!1:($.add(ie),!0)})}function w(R){var $=[];return R.forEach(function(ie){return $.push(ie)}),$}function p(R,$){for(var ie=0;ie0?R[0]:$}function l(R){var $;return($=[]).concat.apply($,R)}function d(R,$){var ie=typeof $=="number"?R:0;typeof $=="number"?ie=R:(ie=0,$=R);var W=[];if(ie<=$)for(var B=ie;B<$;B++)W.push(B);else for(var B=ie;B>$;B--)W.push(B);return W}function m(R,$,ie){var W=R.slice(0,$),B=R.slice($);return W.concat(ie,B)}function E(R,$){var ie=R.indexOf($);ie>-1&&(R.splice(ie,1),R.unshift($))}function L(R,$){var ie=R.indexOf($);ie>-1&&(R.splice(ie,1),R.push($))}function A(R,$){for(var ie=0;ie";var y=this.text.substring(O,u.start);z+=this.supportCodicons?Object(re.c)(Object(J.o)(y)):Object(J.o)(y),z+="",O=u.end}u.extraClasses?z+='':z+='';var _=this.text.substring(u.start,u.end);z+=this.supportCodicons?Object(re.c)(Object(J.o)(_)):Object(J.o)(_),z+="",O=u.end}if(O";var _=this.text.substring(O);z+=this.supportCodicons?Object(re.c)(Object(J.o)(_)):Object(J.o)(_),z+=""}this.domNode.innerHTML=z,this.title?this.domNode.title=this.title:this.domNode.removeAttribute("title"),this.didEverRender=!0},H.escapeNewLines=function(z,O){var U=0,x=0;return z.replace(/\r\n|\r|\n/g,function(u,y){x=u===`\r +`?-1:0,y+=U;for(var _=0,f=O;_=y&&(v.start+=x),v.end>=y&&(v.end+=x)}return U+=x,"\u23CE"})},H}()},"7zd4":function(Lt,j,e){},"8ATB":function(Lt,j,e){},"8HAY":function(Lt,j,e){"use strict";e.d(j,"a",function(){return z}),e.d(j,"b",function(){return O});var T=e("pmY6"),re=e("MI8n"),J=function(){var U=function(u,y){return U=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,f){_.__proto__=f}||function(_,f){for(var v in f)f.hasOwnProperty(v)&&(_[v]=f[v])},U(u,y)};return function(x,u){U(x,u);function y(){this.constructor=x}x.prototype=u===null?Object.create(u):(y.prototype=u.prototype,new y)}}(),I=function(U,x,u,y){function _(f){return f instanceof u?f:new u(function(v){v(f)})}return new(u||(u=Promise))(function(f,v){function w(s){try{c(y.next(s))}catch(l){v(l)}}function p(s){try{c(y.throw(s))}catch(l){v(l)}}function c(s){s.done?f(s.value):_(s.value).then(w,p)}c((y=y.apply(U,x||[])).next())})},H=function(U,x){var u={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},y,_,f,v;return v={next:w(0),throw:w(1),return:w(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function w(c){return function(s){return p([c,s])}}function p(c){if(y)throw new TypeError("Generator is already executing.");for(;u;)try{if(y=1,_&&(f=c[0]&2?_.return:c[0]?_.throw||((f=_.return)&&f.call(_),0):_.next)&&!(f=f.call(_,c[1])).done)return f;(_=0,f)&&(c=[c[0]&2,f.value]);switch(c[0]){case 0:case 1:f=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,_=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(!(f=u.trys,f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){u=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]1&&q.push(new U.a(ee.endLineNumber,ee.endColumn,ee.endLineNumber,ee.endColumn))},ne.prototype.run=function(ee,ae){var q=this;if(!ae.hasModel())return;var ue=ae.getModel(),X=ae.getSelections(),he=[];X.forEach(function(je){return q.getCursorsForSelection(je,ue,he)}),he.length>0&&ae.setSelections(he)},ne}(H.b),m=function(Pe){c(ne,Pe);function ne(){return Pe.call(this,{id:"editor.action.addCursorsToBottom",label:T.a("mutlicursor.addCursorsToBottom","Add Cursors To Bottom"),alias:"Add Cursors To Bottom",precondition:void 0})||this}return ne.prototype.run=function(ee,ae){if(!ae.hasModel())return;for(var q=ae.getSelections(),ue=ae.getModel().getLineCount(),X=[],he=q[0].startLineNumber;he<=ue;he++)X.push(new U.a(he,q[0].startColumn,he,q[0].endColumn));X.length>0&&ae.setSelections(X)},ne}(H.b),E=function(Pe){c(ne,Pe);function ne(){return Pe.call(this,{id:"editor.action.addCursorsToTop",label:T.a("mutlicursor.addCursorsToTop","Add Cursors To Top"),alias:"Add Cursors To Top",precondition:void 0})||this}return ne.prototype.run=function(ee,ae){if(!ae.hasModel())return;for(var q=ae.getSelections(),ue=[],X=q[0].startLineNumber;X>=1;X--)ue.push(new U.a(X,q[0].startColumn,X,q[0].endColumn));ue.length>0&&ae.setSelections(ue)},ne}(H.b),L=function(){function Pe(ne,ee,ae){this.selections=ne,this.revealRange=ee,this.revealScrollType=ae}return Pe}(),A=function(){function Pe(ne,ee,ae,q,ue,X,he){this._editor=ne,this.findController=ee,this.isDisconnectedFromFindController=ae,this.searchText=q,this.wholeWord=ue,this.matchCase=X,this.currentMatch=he}return Pe.create=function(ne,ee){if(!ne.hasModel())return null;var ae=ee.getState();if(!ne.hasTextFocus()&&ae.isRevealed&&ae.searchString.length>0)return new Pe(ne,ee,!1,ae.searchString,ae.wholeWord,ae.matchCase,null);var q=!1,ue,X,he=ne.getSelections();he.length===1&&he[0].isEmpty()?(q=!0,ue=!0,X=!0):(ue=ae.wholeWord,X=ae.matchCase);var je=ne.getSelection(),Xe,me=null;if(je.isEmpty()){var ge=ne.getModel().getWordAtPosition(je.getStartPosition());if(!ge)return null;Xe=ge.word,me=new U.a(je.startLineNumber,ge.startColumn,je.startLineNumber,ge.endColumn)}else Xe=ne.getModel().getValueInRange(je).replace(/\r\n/g,` +`);return new Pe(ne,ee,q,Xe,ue,X,me)},Pe.prototype.addSelectionToNextFindMatch=function(){if(!this._editor.hasModel())return null;var ne=this._getNextMatch();if(!ne)return null;var ee=this._editor.getSelections();return new L(ee.concat(ne),ne,0)},Pe.prototype.moveSelectionToNextFindMatch=function(){if(!this._editor.hasModel())return null;var ne=this._getNextMatch();if(!ne)return null;var ee=this._editor.getSelections();return new L(ee.slice(0,ee.length-1).concat(ne),ne,0)},Pe.prototype._getNextMatch=function(){if(!this._editor.hasModel())return null;if(this.currentMatch){var ne=this.currentMatch;return this.currentMatch=null,ne}this.findController.highlightFindOptions();var ee=this._editor.getSelections(),ae=ee[ee.length-1],q=this._editor.getModel().findNextMatch(this.searchText,ae.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(96):null,!1);return q?new U.a(q.range.startLineNumber,q.range.startColumn,q.range.endLineNumber,q.range.endColumn):null},Pe.prototype.addSelectionToPreviousFindMatch=function(){if(!this._editor.hasModel())return null;var ne=this._getPreviousMatch();if(!ne)return null;var ee=this._editor.getSelections();return new L(ee.concat(ne),ne,0)},Pe.prototype.moveSelectionToPreviousFindMatch=function(){if(!this._editor.hasModel())return null;var ne=this._getPreviousMatch();if(!ne)return null;var ee=this._editor.getSelections();return new L(ee.slice(0,ee.length-1).concat(ne),ne,0)},Pe.prototype._getPreviousMatch=function(){if(!this._editor.hasModel())return null;if(this.currentMatch){var ne=this.currentMatch;return this.currentMatch=null,ne}this.findController.highlightFindOptions();var ee=this._editor.getSelections(),ae=ee[ee.length-1],q=this._editor.getModel().findPreviousMatch(this.searchText,ae.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(96):null,!1);return q?new U.a(q.range.startLineNumber,q.range.startColumn,q.range.endLineNumber,q.range.endColumn):null},Pe.prototype.selectAll=function(){return this._editor.hasModel()?(this.findController.highlightFindOptions(),this._editor.getModel().findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(96):null,!1,1073741824)):[]},Pe}(),k=function(Pe){c(ne,Pe);function ne(ee){var ae=Pe.call(this)||this;return ae._sessionDispose=ae._register(new I.b),ae._editor=ee,ae._ignoreSelectionChange=!1,ae._session=null,ae}return ne.get=function(ee){return ee.getContribution(ne.ID)},ne.prototype.dispose=function(){this._endSession(),Pe.prototype.dispose.call(this)},ne.prototype._beginSessionIfNeeded=function(ee){var ae=this;if(!this._session){var q=A.create(this._editor,ee);if(!q)return;this._session=q;var ue={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(ue.wholeWordOverride=1,ue.matchCaseOverride=1,ue.isRegexOverride=2),ee.getState().change(ue,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(function(X){if(ae._ignoreSelectionChange)return;ae._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(function(){ae._endSession()})),this._sessionDispose.add(ee.getState().onFindReplaceStateChange(function(X){(X.matchCase||X.wholeWord)&&ae._endSession()}))}},ne.prototype._endSession=function(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){var ee={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(ee,!1)}this._session=null},ne.prototype._setSelections=function(ee){this._ignoreSelectionChange=!0,this._editor.setSelections(ee),this._ignoreSelectionChange=!1},ne.prototype._expandEmptyToWord=function(ee,ae){if(!ae.isEmpty())return ae;var q=ee.getWordAtPosition(ae.getStartPosition());return q?new U.a(ae.startLineNumber,q.startColumn,ae.startLineNumber,q.endColumn):ae},ne.prototype._applySessionResult=function(ee){if(!ee)return;this._setSelections(ee.selections),ee.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(ee.revealRange,ee.revealScrollType)},ne.prototype.getSession=function(ee){return this._session},ne.prototype.addSelectionToNextFindMatch=function(ee){if(!this._editor.hasModel())return;if(!this._session){var ae=this._editor.getSelections();if(ae.length>1){var q=ee.getState(),ue=q.matchCase,X=Fe(this._editor.getModel(),ae,ue);if(!X){for(var he=this._editor.getModel(),je=[],Xe=0,me=ae.length;Xe0&&q.isRegex)ae=this._editor.getModel().findMatches(q.searchString,!0,q.isRegex,q.matchCase,q.wholeWord?this._editor.getOption(96):null,!1,1073741824);else{if(this._beginSessionIfNeeded(ee),!this._session)return;ae=this._session.selectAll()}if(q.searchScope){for(var ue=q.searchScope,X=[],he=0;he=ue.startLineNumber&&X.push(ae[he]);ae=X}if(ae.length>0){for(var je=this._editor.getSelection(),he=0,Xe=ae.length;he1){var Xe=X.getState(),me=Xe.matchCase,ge=Fe(ae.getModel(),je,me);if(!ge)return null}he=A.create(ae,X)}if(!he)return null;if(he.currentMatch)return null;if(/^[ \t]+$/.test(he.searchText))return null;if(he.searchText.length>200)return null;var we=X.getState(),Re=we.matchCase;if(we.isRevealed){var Ee=we.searchString;Re||(Ee=Ee.toLowerCase());var ve=he.searchText;if(Re||(ve=ve.toLowerCase()),Ee===ve&&he.matchCase===we.matchCase&&he.wholeWord===we.wholeWord&&!we.isRegex)return null}return new Me(he.searchText,he.matchCase,he.wholeWord?ae.getOption(96):null)},ne.prototype._setState=function(ee){if(Me.softEquals(this.state,ee)){this.state=ee;return}if(this.state=ee,!this.state){this.decorations=this.editor.deltaDecorations(this.decorations,[]);return}if(!this.editor.hasModel())return;var ae=this.editor.getModel();if(ae.isTooLargeForTokenization())return;var q=_.i.has(ae),ue=ae.findMatches(this.state.searchText,!0,!1,this.state.matchCase,this.state.wordSeparators,!1).map(function(ve){return ve.range});ue.sort(O.a.compareRangesUsingStarts);var X=this.editor.getSelections();X.sort(O.a.compareRangesUsingStarts);for(var he=[],je=0,Xe=0,me=ue.length,ge=X.length;je=ge)he.push(we),je++;else{var Re=O.a.compareRangesUsingStarts(we,X[Xe]);Re<0?((X[Xe].isEmpty()||!O.a.areIntersecting(we,X[Xe]))&&he.push(we),je++):(Re>0||je++,Xe++)}}var Ee=he.map(function(ve){return{range:ve,options:q?ne._SELECTION_HIGHLIGHT:ne._SELECTION_HIGHLIGHT_OVERVIEW}});this.decorations=this.editor.deltaDecorations(this.decorations,Ee)},ne.prototype.dispose=function(){this._setState(null),Pe.prototype.dispose.call(this)},ne.ID="editor.contrib.selectionHighlighter",ne._SELECTION_HIGHLIGHT_OVERVIEW=y.a.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(w.f)(v.Mb),position:u.d.Center}}),ne._SELECTION_HIGHLIGHT=y.a.register({stickiness:1,className:"selectionHighlight"}),ne}(I.a);function Fe(Pe,ne,ee){for(var ae=He(Pe,ne[0],!ee),q=1,ue=ne.length;q=0;uo--)(zt=Ve[uo])&&(Mt=(Rt<3?zt(Mt):Rt>3?zt(Qe,it,Mt):zt(Qe,it))||Mt);return Rt>3&&Mt&&Object.defineProperty(Qe,it,Mt),Mt},Me=function(Ve,Qe){return function(it,pt){Qe(it,pt,Ve)}},Te=new s.d("hasSymbols",!1),Fe=Object(A.c)("ISymbolNavigationService"),He=function(){function Ve(Qe,it,pt,Rt){this._editorService=it,this._notificationService=pt,this._keybindingService=Rt,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=Te.bindTo(Qe)}return Ve.prototype.reset=function(){this._ctxHasSymbols.reset(),Object($.f)(this._currentState),Object($.f)(this._currentMessage),this._currentModel=void 0,this._currentIdx=-1},Ve.prototype.put=function(Qe){var it=this,pt=Qe.parent.parent;if(pt.references.length<=1){this.reset();return}this._currentModel=pt,this._currentIdx=pt.references.indexOf(Qe),this._ctxHasSymbols.set(!0),this._showMessage();var Rt=new Pe(this._editorService),Mt=Rt.onDidChange(function(zt){if(it._ignoreEditorChange)return;var uo=it._editorService.getActiveCodeEditor();if(!uo)return;var ao=uo.getModel(),so=uo.getPosition();if(!ao||!so)return;for(var Pt=!1,ft=!1,vt=0,At=pt.references;vt0&&Mt[Mt.length-1])&&(so[0]===6||so[0]===2)){it=0;continue}if(so[0]===3&&(!Mt||so[1]>Mt[0]&&so[1]1)?(this._openInPeek(Rt,Mt),[3,3]):[3,1];case 1:return uo=Mt.firstReference(),ao=Mt.references.length>1&&zt==="gotoAndPeek",[4,this._openReference(Rt,it,uo,this._configuration.openToSide,!ao)];case 2:so=Pt.sent(),ao&&so?this._openInPeek(so,Mt):Mt.dispose(),zt==="goto"&&pt.put(uo),Pt.label=3;case 3:return[2]}})})},Qe.prototype._openReference=function(it,pt,Rt,Mt,zt){return X(this,void 0,void 0,function(){var uo,ao,so,Pt;return he(this,function(ft){switch(ft.label){case 0:return uo=void 0,Object(y.G)(Rt)&&(uo=Rt.targetSelectionRange),uo||(uo=Rt.range),[4,pt.openCodeEditor({resource:Rt.uri,options:{selection:x.a.collapseToStart(uo),revealInCenterIfOutsideViewport:!0}},it,Mt)];case 1:return ao=ft.sent(),ao?(zt&&(so=ao.getModel(),Pt=ao.deltaDecorations([],[{range:uo,options:{className:"symbolHighlight"}}]),setTimeout(function(){ao.getModel()===so&&ao.deltaDecorations(Pt,[])},350)),[2,ao]):[2,void 0]}})})},Qe.prototype._openInPeek=function(it,pt){var Rt=v.a.get(it);Rt&&it.hasModel()?Rt.toggleWidget(it.getSelection(),Object(re.f)(function(Mt){return Promise.resolve(pt)}),this._configuration.openInPeek):pt.dispose()},Qe}(z.b),C=function(Ve){ue(Qe,Ve);function Qe(){return Ve!==null&&Ve.apply(this,arguments)||this}return Qe.prototype._getLocationModel=function(it,pt,Rt){return X(this,void 0,void 0,function(){var Mt;return he(this,function(zt){switch(zt.label){case 0:return Mt=w.c.bind,[4,Object(m.b)(it,pt,Rt)];case 1:return[2,new(Mt.apply(w.c,[void 0,zt.sent(),p.a("def.title","Definitions")]))]}})})},Qe.prototype._getNoResultFoundMessage=function(it){return it&&it.word?p.a("noResultWord","No definition found for '{0}'",it.word):p.a("generic.noResults","No definition found")},Qe.prototype._getAlternativeCommand=function(it){return it.getOption(41).alternativeDefinitionCommand},Qe.prototype._getGoToPreference=function(it){return it.getOption(41).multipleDefinitions},Qe}(Q),F=I.g&&!ne.l?2048|70:70;Object(z.f)((je=function(Ve){ue(Qe,Ve);function Qe(){var it=Ve.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Qe.id,label:p.a("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:s.a.and(u.a.hasDefinitionProvider,u.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:u.a.editorTextFocus,primary:F,weight:100},contextMenuOpts:{group:"navigation",order:1.1},menuOpts:{menuId:19,group:"4_symbol_nav",order:2,title:p.a({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")}})||this;return E.a.registerCommandAlias("editor.action.goToDeclaration",Qe.id),it}return Qe}(C),je.id="editor.action.revealDefinition",je)),Object(z.f)((Xe=function(Ve){ue(Qe,Ve);function Qe(){var it=Ve.call(this,{openToSide:!0,openInPeek:!1,muteMessage:!1},{id:Qe.id,label:p.a("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:s.a.and(u.a.hasDefinitionProvider,u.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:u.a.editorTextFocus,primary:Object(J.a)(2048|41,F),weight:100}})||this;return E.a.registerCommandAlias("editor.action.openDeclarationToTheSide",Qe.id),it}return Qe}(C),Xe.id="editor.action.revealDefinitionAside",Xe)),Object(z.f)((me=function(Ve){ue(Qe,Ve);function Qe(){var it=Ve.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Qe.id,label:p.a("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:s.a.and(u.a.hasDefinitionProvider,f.b.notInPeekEditor,u.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:u.a.editorTextFocus,primary:512|70,linux:{primary:2048|1024|68},weight:100},contextMenuOpts:{menuId:8,group:"peek",order:2}})||this;return E.a.registerCommandAlias("editor.action.previewDeclaration",Qe.id),it}return Qe}(C),me.id="editor.action.peekDefinition",me));var se=function(Ve){ue(Qe,Ve);function Qe(){return Ve!==null&&Ve.apply(this,arguments)||this}return Qe.prototype._getLocationModel=function(it,pt,Rt){return X(this,void 0,void 0,function(){var Mt;return he(this,function(zt){switch(zt.label){case 0:return Mt=w.c.bind,[4,Object(m.a)(it,pt,Rt)];case 1:return[2,new(Mt.apply(w.c,[void 0,zt.sent(),p.a("decl.title","Declarations")]))]}})})},Qe.prototype._getNoResultFoundMessage=function(it){return it&&it.word?p.a("decl.noResultWord","No declaration found for '{0}'",it.word):p.a("decl.generic.noResults","No declaration found")},Qe.prototype._getAlternativeCommand=function(it){return it.getOption(41).alternativeDeclarationCommand},Qe.prototype._getGoToPreference=function(it){return it.getOption(41).multipleDeclarations},Qe}(Q);Object(z.f)((ge=function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Qe.id,label:p.a("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:s.a.and(u.a.hasDeclarationProvider,u.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{group:"navigation",order:1.3},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:p.a({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")}})||this}return Qe.prototype._getNoResultFoundMessage=function(it){return it&&it.word?p.a("decl.noResultWord","No declaration found for '{0}'",it.word):p.a("decl.generic.noResults","No declaration found")},Qe}(se),ge.id="editor.action.revealDeclaration",ge)),Object(z.f)(function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:p.a("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:s.a.and(u.a.hasDeclarationProvider,f.b.notInPeekEditor,u.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:3}})||this}return Qe}(se));var oe=function(Ve){ue(Qe,Ve);function Qe(){return Ve!==null&&Ve.apply(this,arguments)||this}return Qe.prototype._getLocationModel=function(it,pt,Rt){return X(this,void 0,void 0,function(){var Mt;return he(this,function(zt){switch(zt.label){case 0:return Mt=w.c.bind,[4,Object(m.e)(it,pt,Rt)];case 1:return[2,new(Mt.apply(w.c,[void 0,zt.sent(),p.a("typedef.title","Type Definitions")]))]}})})},Qe.prototype._getNoResultFoundMessage=function(it){return it&&it.word?p.a("goToTypeDefinition.noResultWord","No type definition found for '{0}'",it.word):p.a("goToTypeDefinition.generic.noResults","No type definition found")},Qe.prototype._getAlternativeCommand=function(it){return it.getOption(41).alternativeTypeDefinitionCommand},Qe.prototype._getGoToPreference=function(it){return it.getOption(41).multipleTypeDefinitions},Qe}(Q);Object(z.f)((we=function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Qe.ID,label:p.a("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:s.a.and(u.a.hasTypeDefinitionProvider,u.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:u.a.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:p.a({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")}})||this}return Qe}(oe),we.ID="editor.action.goToTypeDefinition",we)),Object(z.f)((Re=function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Qe.ID,label:p.a("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:s.a.and(u.a.hasTypeDefinitionProvider,f.b.notInPeekEditor,u.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:4}})||this}return Qe}(oe),Re.ID="editor.action.peekTypeDefinition",Re));var be=function(Ve){ue(Qe,Ve);function Qe(){return Ve!==null&&Ve.apply(this,arguments)||this}return Qe.prototype._getLocationModel=function(it,pt,Rt){return X(this,void 0,void 0,function(){var Mt;return he(this,function(zt){switch(zt.label){case 0:return Mt=w.c.bind,[4,Object(m.c)(it,pt,Rt)];case 1:return[2,new(Mt.apply(w.c,[void 0,zt.sent(),p.a("impl.title","Implementations")]))]}})})},Qe.prototype._getNoResultFoundMessage=function(it){return it&&it.word?p.a("goToImplementation.noResultWord","No implementation found for '{0}'",it.word):p.a("goToImplementation.generic.noResults","No implementation found")},Qe.prototype._getAlternativeCommand=function(it){return it.getOption(41).alternativeImplementationCommand},Qe.prototype._getGoToPreference=function(it){return it.getOption(41).multipleImplementations},Qe}(Q);Object(z.f)((Ee=function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Qe.ID,label:p.a("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:s.a.and(u.a.hasImplementationProvider,u.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:u.a.editorTextFocus,primary:2048|70,weight:100},menuOpts:{menuId:19,group:"4_symbol_nav",order:4,title:p.a({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},contextMenuOpts:{group:"navigation",order:1.45}})||this}return Qe}(be),Ee.ID="editor.action.goToImplementation",Ee)),Object(z.f)((ve=function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Qe.ID,label:p.a("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:s.a.and(u.a.hasImplementationProvider,f.b.notInPeekEditor,u.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:u.a.editorTextFocus,primary:2048|1024|70,weight:100},contextMenuOpts:{menuId:8,group:"peek",order:5}})||this}return Qe}(be),ve.ID="editor.action.peekImplementation",ve));var De=function(Ve){ue(Qe,Ve);function Qe(){return Ve!==null&&Ve.apply(this,arguments)||this}return Qe.prototype._getNoResultFoundMessage=function(it){return it?p.a("references.no","No references found for '{0}'",it.word):p.a("references.noGeneric","No references found")},Qe.prototype._getAlternativeCommand=function(it){return it.getOption(41).alternativeReferenceCommand},Qe.prototype._getGoToPreference=function(it){return it.getOption(41).multipleReferences},Qe}(Q);Object(z.f)(function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:p.a("goToReferences.label","Go to References"),alias:"Go to References",precondition:s.a.and(u.a.hasReferenceProvider,f.b.notInPeekEditor,u.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:u.a.editorTextFocus,primary:1024|70,weight:100},contextMenuOpts:{group:"navigation",order:1.45},menuOpts:{menuId:19,group:"4_symbol_nav",order:5,title:p.a({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")}})||this}return Qe.prototype._getLocationModel=function(it,pt,Rt){return X(this,void 0,void 0,function(){var Mt;return he(this,function(zt){switch(zt.label){case 0:return Mt=w.c.bind,[4,Object(m.d)(it,pt,!0,Rt)];case 1:return[2,new(Mt.apply(w.c,[void 0,zt.sent(),p.a("ref.title","References")]))]}})})},Qe}(De)),Object(z.f)(function(Ve){ue(Qe,Ve);function Qe(){return Ve.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:p.a("references.action.label","Peek References"),alias:"Peek References",precondition:s.a.and(u.a.hasReferenceProvider,f.b.notInPeekEditor,u.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:6}})||this}return Qe.prototype._getLocationModel=function(it,pt,Rt){return X(this,void 0,void 0,function(){var Mt;return he(this,function(zt){switch(zt.label){case 0:return Mt=w.c.bind,[4,Object(m.d)(it,pt,!1,Rt)];case 1:return[2,new(Mt.apply(w.c,[void 0,zt.sent(),p.a("ref.title","References")]))]}})})},Qe}(De));var Se=function(Ve){ue(Qe,Ve);function Qe(it,pt,Rt){var Mt=Ve.call(this,it,{id:"editor.action.goToLocation",label:p.a("label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:s.a.and(f.b.notInPeekEditor,u.a.isInEmbeddedEditor.toNegated())})||this;return Mt._references=pt,Mt._gotoMultipleBehaviour=Rt,Mt}return Qe.prototype._getLocationModel=function(it,pt,Rt){return X(this,void 0,void 0,function(){return he(this,function(Mt){return[2,new w.c(this._references,p.a("generic.title","Locations"))]})})},Qe.prototype._getNoResultFoundMessage=function(it){return it&&p.a("generic.noResult","No results for '{0}'",it.word)||""},Qe.prototype._getGoToPreference=function(it){var pt;return(pt=this._gotoMultipleBehaviour)!==null&&pt!==void 0?pt:it.getOption(41).multipleReferences},Qe.prototype._getAlternativeCommand=function(){return""},Qe}(Q);E.a.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:ee.a},{name:"position",description:"The position at which to start",constraint:U.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(Qe,it,pt,Rt,Mt,zt){return X(void 0,void 0,void 0,function(){var uo,ao;return he(this,function(so){switch(so.label){case 0:return Object(ae.a)(ee.a.isUri(it)),Object(ae.a)(U.a.isIPosition(pt)),Object(ae.a)(Array.isArray(Rt)),Object(ae.a)(typeof Mt=="undefined"||typeof Mt=="string"),Object(ae.a)(typeof zt=="undefined"||typeof zt=="boolean"),uo=Qe.get(O.a),[4,uo.openCodeEditor({resource:it},uo.getFocusedCodeEditor())];case 1:return ao=so.sent(),Object(H.a)(ao)?(ao.setPosition(pt),ao.revealPositionInCenterIfOutsideViewport(pt,0),[2,ao.invokeWithinContext(function(Pt){var ft=new Se({muteMessage:!0,openInPeek:Boolean(zt),openToSide:!1},Rt,Mt);Pt.get(A.a).invokeFunction(ft.run.bind(ft),ao)})]):[2]}})})}}),E.a.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:ee.a},{name:"position",description:"The position at which to start",constraint:U.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(Qe,it,pt,Rt,Mt){return X(void 0,void 0,void 0,function(){return he(this,function(zt){return Qe.get(E.b).executeCommand("editor.action.goToLocations",it,pt,Rt,Mt,!0),[2]})})}}),E.a.registerCommand({id:"editor.action.findReferences",handler:function(Qe,it,pt){Object(ae.a)(ee.a.isUri(it)),Object(ae.a)(U.a.isIPosition(pt));var Rt=Qe.get(O.a);return Rt.openCodeEditor({resource:it},Rt.getFocusedCodeEditor()).then(function(Mt){if(!Object(H.a)(Mt)||!Mt.hasModel())return;var zt=v.a.get(Mt);if(!zt)return;var uo=Object(re.f)(function(so){return Object(m.d)(Mt.getModel(),U.a.lift(pt),!1,so).then(function(Pt){return new w.c(Pt,p.a("ref.title","References"))})}),ao=new x.a(pt.lineNumber,pt.column,pt.lineNumber,pt.column);return Promise.resolve(zt.toggleWidget(ao,uo,!1))})}}),E.a.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations")},"8gvo":function(Lt,j,e){},"8z58":function(Lt,j,e){"use strict";e.r(j),e.d(j,"CancellationTokenSource",function(){return Wd}),e.d(j,"Emitter",function(){return Bd}),e.d(j,"KeyCode",function(){return Ud}),e.d(j,"KeyMod",function(){return Hd}),e.d(j,"Position",function(){return Vd}),e.d(j,"Range",function(){return zd}),e.d(j,"Selection",function(){return Kd}),e.d(j,"SelectionDirection",function(){return Gd}),e.d(j,"MarkerSeverity",function(){return Xd}),e.d(j,"MarkerTag",function(){return Yd}),e.d(j,"Uri",function(){return Zd}),e.d(j,"Token",function(){return Qd}),e.d(j,"editor",function(){return $d}),e.d(j,"languages",function(){return Jd});var T=e("/UlZ"),re=e("URDS"),J=e("JQT/"),I=e("MI8n"),H=e("/kV6"),z=e("bY76"),O=e("cGHE"),U=e("aokT"),x=e("gCVg"),u=e("Tcc1"),y;(function(a){a[a.Unknown=0]="Unknown",a[a.Disabled=1]="Disabled",a[a.Enabled=2]="Enabled"})(y||(y={}));var _;(function(a){a[a.KeepWhitespace=1]="KeepWhitespace",a[a.InsertAsSnippet=4]="InsertAsSnippet"})(_||(_={}));var f;(function(a){a[a.Method=0]="Method",a[a.Function=1]="Function",a[a.Constructor=2]="Constructor",a[a.Field=3]="Field",a[a.Variable=4]="Variable",a[a.Class=5]="Class",a[a.Struct=6]="Struct",a[a.Interface=7]="Interface",a[a.Module=8]="Module",a[a.Property=9]="Property",a[a.Event=10]="Event",a[a.Operator=11]="Operator",a[a.Unit=12]="Unit",a[a.Value=13]="Value",a[a.Constant=14]="Constant",a[a.Enum=15]="Enum",a[a.EnumMember=16]="EnumMember",a[a.Keyword=17]="Keyword",a[a.Text=18]="Text",a[a.Color=19]="Color",a[a.File=20]="File",a[a.Reference=21]="Reference",a[a.Customcolor=22]="Customcolor",a[a.Folder=23]="Folder",a[a.TypeParameter=24]="TypeParameter",a[a.Snippet=25]="Snippet"})(f||(f={}));var v;(function(a){a[a.Deprecated=1]="Deprecated"})(v||(v={}));var w;(function(a){a[a.Invoke=0]="Invoke",a[a.TriggerCharacter=1]="TriggerCharacter",a[a.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(w||(w={}));var p;(function(a){a[a.EXACT=0]="EXACT",a[a.ABOVE=1]="ABOVE",a[a.BELOW=2]="BELOW"})(p||(p={}));var c;(function(a){a[a.NotSet=0]="NotSet",a[a.ContentFlush=1]="ContentFlush",a[a.RecoverFromMarkers=2]="RecoverFromMarkers",a[a.Explicit=3]="Explicit",a[a.Paste=4]="Paste",a[a.Undo=5]="Undo",a[a.Redo=6]="Redo"})(c||(c={}));var s;(function(a){a[a.LF=1]="LF",a[a.CRLF=2]="CRLF"})(s||(s={}));var l;(function(a){a[a.Text=0]="Text",a[a.Read=1]="Read",a[a.Write=2]="Write"})(l||(l={}));var d;(function(a){a[a.None=0]="None",a[a.Keep=1]="Keep",a[a.Brackets=2]="Brackets",a[a.Advanced=3]="Advanced",a[a.Full=4]="Full"})(d||(d={}));var m;(function(a){a[a.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",a[a.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",a[a.accessibilitySupport=2]="accessibilitySupport",a[a.accessibilityPageSize=3]="accessibilityPageSize",a[a.ariaLabel=4]="ariaLabel",a[a.autoClosingBrackets=5]="autoClosingBrackets",a[a.autoClosingOvertype=6]="autoClosingOvertype",a[a.autoClosingQuotes=7]="autoClosingQuotes",a[a.autoIndent=8]="autoIndent",a[a.automaticLayout=9]="automaticLayout",a[a.autoSurround=10]="autoSurround",a[a.codeLens=11]="codeLens",a[a.colorDecorators=12]="colorDecorators",a[a.comments=13]="comments",a[a.contextmenu=14]="contextmenu",a[a.copyWithSyntaxHighlighting=15]="copyWithSyntaxHighlighting",a[a.cursorBlinking=16]="cursorBlinking",a[a.cursorSmoothCaretAnimation=17]="cursorSmoothCaretAnimation",a[a.cursorStyle=18]="cursorStyle",a[a.cursorSurroundingLines=19]="cursorSurroundingLines",a[a.cursorSurroundingLinesStyle=20]="cursorSurroundingLinesStyle",a[a.cursorWidth=21]="cursorWidth",a[a.disableLayerHinting=22]="disableLayerHinting",a[a.disableMonospaceOptimizations=23]="disableMonospaceOptimizations",a[a.dragAndDrop=24]="dragAndDrop",a[a.emptySelectionClipboard=25]="emptySelectionClipboard",a[a.extraEditorClassName=26]="extraEditorClassName",a[a.fastScrollSensitivity=27]="fastScrollSensitivity",a[a.find=28]="find",a[a.fixedOverflowWidgets=29]="fixedOverflowWidgets",a[a.folding=30]="folding",a[a.foldingStrategy=31]="foldingStrategy",a[a.foldingHighlight=32]="foldingHighlight",a[a.fontFamily=33]="fontFamily",a[a.fontInfo=34]="fontInfo",a[a.fontLigatures=35]="fontLigatures",a[a.fontSize=36]="fontSize",a[a.fontWeight=37]="fontWeight",a[a.formatOnPaste=38]="formatOnPaste",a[a.formatOnType=39]="formatOnType",a[a.glyphMargin=40]="glyphMargin",a[a.gotoLocation=41]="gotoLocation",a[a.hideCursorInOverviewRuler=42]="hideCursorInOverviewRuler",a[a.highlightActiveIndentGuide=43]="highlightActiveIndentGuide",a[a.hover=44]="hover",a[a.inDiffEditor=45]="inDiffEditor",a[a.letterSpacing=46]="letterSpacing",a[a.lightbulb=47]="lightbulb",a[a.lineDecorationsWidth=48]="lineDecorationsWidth",a[a.lineHeight=49]="lineHeight",a[a.lineNumbers=50]="lineNumbers",a[a.lineNumbersMinChars=51]="lineNumbersMinChars",a[a.links=52]="links",a[a.matchBrackets=53]="matchBrackets",a[a.minimap=54]="minimap",a[a.mouseStyle=55]="mouseStyle",a[a.mouseWheelScrollSensitivity=56]="mouseWheelScrollSensitivity",a[a.mouseWheelZoom=57]="mouseWheelZoom",a[a.multiCursorMergeOverlapping=58]="multiCursorMergeOverlapping",a[a.multiCursorModifier=59]="multiCursorModifier",a[a.multiCursorPaste=60]="multiCursorPaste",a[a.occurrencesHighlight=61]="occurrencesHighlight",a[a.overviewRulerBorder=62]="overviewRulerBorder",a[a.overviewRulerLanes=63]="overviewRulerLanes",a[a.parameterHints=64]="parameterHints",a[a.peekWidgetDefaultFocus=65]="peekWidgetDefaultFocus",a[a.quickSuggestions=66]="quickSuggestions",a[a.quickSuggestionsDelay=67]="quickSuggestionsDelay",a[a.readOnly=68]="readOnly",a[a.renderControlCharacters=69]="renderControlCharacters",a[a.renderIndentGuides=70]="renderIndentGuides",a[a.renderFinalNewline=71]="renderFinalNewline",a[a.renderLineHighlight=72]="renderLineHighlight",a[a.renderValidationDecorations=73]="renderValidationDecorations",a[a.renderWhitespace=74]="renderWhitespace",a[a.revealHorizontalRightPadding=75]="revealHorizontalRightPadding",a[a.roundedSelection=76]="roundedSelection",a[a.rulers=77]="rulers",a[a.scrollbar=78]="scrollbar",a[a.scrollBeyondLastColumn=79]="scrollBeyondLastColumn",a[a.scrollBeyondLastLine=80]="scrollBeyondLastLine",a[a.selectionClipboard=81]="selectionClipboard",a[a.selectionHighlight=82]="selectionHighlight",a[a.selectOnLineNumbers=83]="selectOnLineNumbers",a[a.showFoldingControls=84]="showFoldingControls",a[a.showUnused=85]="showUnused",a[a.snippetSuggestions=86]="snippetSuggestions",a[a.smoothScrolling=87]="smoothScrolling",a[a.stopRenderingLineAfter=88]="stopRenderingLineAfter",a[a.suggest=89]="suggest",a[a.suggestFontSize=90]="suggestFontSize",a[a.suggestLineHeight=91]="suggestLineHeight",a[a.suggestOnTriggerCharacters=92]="suggestOnTriggerCharacters",a[a.suggestSelection=93]="suggestSelection",a[a.tabCompletion=94]="tabCompletion",a[a.useTabStops=95]="useTabStops",a[a.wordSeparators=96]="wordSeparators",a[a.wordWrap=97]="wordWrap",a[a.wordWrapBreakAfterCharacters=98]="wordWrapBreakAfterCharacters",a[a.wordWrapBreakBeforeCharacters=99]="wordWrapBreakBeforeCharacters",a[a.wordWrapColumn=100]="wordWrapColumn",a[a.wordWrapMinified=101]="wordWrapMinified",a[a.wrappingIndent=102]="wrappingIndent",a[a.wrappingStrategy=103]="wrappingStrategy",a[a.editorClassName=104]="editorClassName",a[a.pixelRatio=105]="pixelRatio",a[a.tabFocusMode=106]="tabFocusMode",a[a.layoutInfo=107]="layoutInfo",a[a.wrappingInfo=108]="wrappingInfo"})(m||(m={}));var E;(function(a){a[a.TextDefined=0]="TextDefined",a[a.LF=1]="LF",a[a.CRLF=2]="CRLF"})(E||(E={}));var L;(function(a){a[a.LF=0]="LF",a[a.CRLF=1]="CRLF"})(L||(L={}));var A;(function(a){a[a.None=0]="None",a[a.Indent=1]="Indent",a[a.IndentOutdent=2]="IndentOutdent",a[a.Outdent=3]="Outdent"})(A||(A={}));var k;(function(a){a[a.Unknown=0]="Unknown",a[a.Backspace=1]="Backspace",a[a.Tab=2]="Tab",a[a.Enter=3]="Enter",a[a.Shift=4]="Shift",a[a.Ctrl=5]="Ctrl",a[a.Alt=6]="Alt",a[a.PauseBreak=7]="PauseBreak",a[a.CapsLock=8]="CapsLock",a[a.Escape=9]="Escape",a[a.Space=10]="Space",a[a.PageUp=11]="PageUp",a[a.PageDown=12]="PageDown",a[a.End=13]="End",a[a.Home=14]="Home",a[a.LeftArrow=15]="LeftArrow",a[a.UpArrow=16]="UpArrow",a[a.RightArrow=17]="RightArrow",a[a.DownArrow=18]="DownArrow",a[a.Insert=19]="Insert",a[a.Delete=20]="Delete",a[a.KEY_0=21]="KEY_0",a[a.KEY_1=22]="KEY_1",a[a.KEY_2=23]="KEY_2",a[a.KEY_3=24]="KEY_3",a[a.KEY_4=25]="KEY_4",a[a.KEY_5=26]="KEY_5",a[a.KEY_6=27]="KEY_6",a[a.KEY_7=28]="KEY_7",a[a.KEY_8=29]="KEY_8",a[a.KEY_9=30]="KEY_9",a[a.KEY_A=31]="KEY_A",a[a.KEY_B=32]="KEY_B",a[a.KEY_C=33]="KEY_C",a[a.KEY_D=34]="KEY_D",a[a.KEY_E=35]="KEY_E",a[a.KEY_F=36]="KEY_F",a[a.KEY_G=37]="KEY_G",a[a.KEY_H=38]="KEY_H",a[a.KEY_I=39]="KEY_I",a[a.KEY_J=40]="KEY_J",a[a.KEY_K=41]="KEY_K",a[a.KEY_L=42]="KEY_L",a[a.KEY_M=43]="KEY_M",a[a.KEY_N=44]="KEY_N",a[a.KEY_O=45]="KEY_O",a[a.KEY_P=46]="KEY_P",a[a.KEY_Q=47]="KEY_Q",a[a.KEY_R=48]="KEY_R",a[a.KEY_S=49]="KEY_S",a[a.KEY_T=50]="KEY_T",a[a.KEY_U=51]="KEY_U",a[a.KEY_V=52]="KEY_V",a[a.KEY_W=53]="KEY_W",a[a.KEY_X=54]="KEY_X",a[a.KEY_Y=55]="KEY_Y",a[a.KEY_Z=56]="KEY_Z",a[a.Meta=57]="Meta",a[a.ContextMenu=58]="ContextMenu",a[a.F1=59]="F1",a[a.F2=60]="F2",a[a.F3=61]="F3",a[a.F4=62]="F4",a[a.F5=63]="F5",a[a.F6=64]="F6",a[a.F7=65]="F7",a[a.F8=66]="F8",a[a.F9=67]="F9",a[a.F10=68]="F10",a[a.F11=69]="F11",a[a.F12=70]="F12",a[a.F13=71]="F13",a[a.F14=72]="F14",a[a.F15=73]="F15",a[a.F16=74]="F16",a[a.F17=75]="F17",a[a.F18=76]="F18",a[a.F19=77]="F19",a[a.NumLock=78]="NumLock",a[a.ScrollLock=79]="ScrollLock",a[a.US_SEMICOLON=80]="US_SEMICOLON",a[a.US_EQUAL=81]="US_EQUAL",a[a.US_COMMA=82]="US_COMMA",a[a.US_MINUS=83]="US_MINUS",a[a.US_DOT=84]="US_DOT",a[a.US_SLASH=85]="US_SLASH",a[a.US_BACKTICK=86]="US_BACKTICK",a[a.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",a[a.US_BACKSLASH=88]="US_BACKSLASH",a[a.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",a[a.US_QUOTE=90]="US_QUOTE",a[a.OEM_8=91]="OEM_8",a[a.OEM_102=92]="OEM_102",a[a.NUMPAD_0=93]="NUMPAD_0",a[a.NUMPAD_1=94]="NUMPAD_1",a[a.NUMPAD_2=95]="NUMPAD_2",a[a.NUMPAD_3=96]="NUMPAD_3",a[a.NUMPAD_4=97]="NUMPAD_4",a[a.NUMPAD_5=98]="NUMPAD_5",a[a.NUMPAD_6=99]="NUMPAD_6",a[a.NUMPAD_7=100]="NUMPAD_7",a[a.NUMPAD_8=101]="NUMPAD_8",a[a.NUMPAD_9=102]="NUMPAD_9",a[a.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",a[a.NUMPAD_ADD=104]="NUMPAD_ADD",a[a.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",a[a.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",a[a.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",a[a.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",a[a.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",a[a.ABNT_C1=110]="ABNT_C1",a[a.ABNT_C2=111]="ABNT_C2",a[a.MAX_VALUE=112]="MAX_VALUE"})(k||(k={}));var R;(function(a){a[a.Hint=1]="Hint",a[a.Info=2]="Info",a[a.Warning=4]="Warning",a[a.Error=8]="Error"})(R||(R={}));var $;(function(a){a[a.Unnecessary=1]="Unnecessary",a[a.Deprecated=2]="Deprecated"})($||($={}));var ie;(function(a){a[a.Inline=1]="Inline",a[a.Gutter=2]="Gutter"})(ie||(ie={}));var W;(function(a){a[a.UNKNOWN=0]="UNKNOWN",a[a.TEXTAREA=1]="TEXTAREA",a[a.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",a[a.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",a[a.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",a[a.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",a[a.CONTENT_TEXT=6]="CONTENT_TEXT",a[a.CONTENT_EMPTY=7]="CONTENT_EMPTY",a[a.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",a[a.CONTENT_WIDGET=9]="CONTENT_WIDGET",a[a.OVERVIEW_RULER=10]="OVERVIEW_RULER",a[a.SCROLLBAR=11]="SCROLLBAR",a[a.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",a[a.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(W||(W={}));var B;(function(a){a[a.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",a[a.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",a[a.TOP_CENTER=2]="TOP_CENTER"})(B||(B={}));var le;(function(a){a[a.Left=1]="Left",a[a.Center=2]="Center",a[a.Right=4]="Right",a[a.Full=7]="Full"})(le||(le={}));var Ce;(function(a){a[a.Off=0]="Off",a[a.On=1]="On",a[a.Relative=2]="Relative",a[a.Interval=3]="Interval",a[a.Custom=4]="Custom"})(Ce||(Ce={}));var Me;(function(a){a[a.None=0]="None",a[a.Text=1]="Text",a[a.Blocks=2]="Blocks"})(Me||(Me={}));var Te;(function(a){a[a.Smooth=0]="Smooth",a[a.Immediate=1]="Immediate"})(Te||(Te={}));var Fe;(function(a){a[a.Auto=1]="Auto",a[a.Hidden=2]="Hidden",a[a.Visible=3]="Visible"})(Fe||(Fe={}));var He;(function(a){a[a.LTR=0]="LTR",a[a.RTL=1]="RTL"})(He||(He={}));var Pe;(function(a){a[a.Invoke=1]="Invoke",a[a.TriggerCharacter=2]="TriggerCharacter",a[a.ContentChange=3]="ContentChange"})(Pe||(Pe={}));var ne;(function(a){a[a.File=0]="File",a[a.Module=1]="Module",a[a.Namespace=2]="Namespace",a[a.Package=3]="Package",a[a.Class=4]="Class",a[a.Method=5]="Method",a[a.Property=6]="Property",a[a.Field=7]="Field",a[a.Constructor=8]="Constructor",a[a.Enum=9]="Enum",a[a.Interface=10]="Interface",a[a.Function=11]="Function",a[a.Variable=12]="Variable",a[a.Constant=13]="Constant",a[a.String=14]="String",a[a.Number=15]="Number",a[a.Boolean=16]="Boolean",a[a.Array=17]="Array",a[a.Object=18]="Object",a[a.Key=19]="Key",a[a.Null=20]="Null",a[a.EnumMember=21]="EnumMember",a[a.Struct=22]="Struct",a[a.Event=23]="Event",a[a.Operator=24]="Operator",a[a.TypeParameter=25]="TypeParameter"})(ne||(ne={}));var ee;(function(a){a[a.Deprecated=1]="Deprecated"})(ee||(ee={}));var ae;(function(a){a[a.Hidden=0]="Hidden",a[a.Blink=1]="Blink",a[a.Smooth=2]="Smooth",a[a.Phase=3]="Phase",a[a.Expand=4]="Expand",a[a.Solid=5]="Solid"})(ae||(ae={}));var q;(function(a){a[a.Line=1]="Line",a[a.Block=2]="Block",a[a.Underline=3]="Underline",a[a.LineThin=4]="LineThin",a[a.BlockOutline=5]="BlockOutline",a[a.UnderlineThin=6]="UnderlineThin"})(q||(q={}));var ue;(function(a){a[a.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",a[a.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",a[a.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",a[a.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(ue||(ue={}));var X;(function(a){a[a.None=0]="None",a[a.Same=1]="Same",a[a.Indent=2]="Indent",a[a.DeepIndent=3]="DeepIndent"})(X||(X={}));var he=function(){function a(){}return a.chord=function(r,n){return Object(H.a)(r,n)},a.CtrlCmd=2048,a.Shift=1024,a.Alt=512,a.WinCtrl=256,a}();function je(){return{editor:void 0,languages:void 0,CancellationTokenSource:J.b,Emitter:I.a,KeyCode:k,KeyMod:he,Position:O.a,Range:U.a,Selection:x.a,SelectionDirection:He,MarkerSeverity:R,MarkerTag:$,Uri:z.a,Token:u.a}}var Xe=e("siPX"),me=e("Vxe3"),ge=e("EffR"),we=e("24hK"),Re=e("Q4rV"),Ee=e("tYmi"),ve=e("gslv"),Q=e("nnTU"),C=e("W9cx"),F;(function(a){a[a.API=0]="API",a[a.USER=1]="USER"})(F||(F={}));var se=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},oe=function(a,r){return function(n,h){r(n,h,a)}},be=function(a,r,n,h){function S(N){return N instanceof n?N:new n(function(ce){ce(N)})}return new(n||(n=Promise))(function(N,ce){function Be(_t){try{Ye(h.next(_t))}catch(Ot){ce(Ot)}}function Ge(_t){try{Ye(h.throw(_t))}catch(Ot){ce(Ot)}}function Ye(_t){_t.done?N(_t.value):S(_t.value).then(Be,Ge)}Ye((h=h.apply(a,r||[])).next())})},De=function(a,r){var n={label:0,sent:function(){if(N[0]&1)throw N[1];return N[1]},trys:[],ops:[]},h,S,N,ce;return ce={next:Be(0),throw:Be(1),return:Be(2)},typeof Symbol=="function"&&(ce[Symbol.iterator]=function(){return this}),ce;function Be(Ye){return function(_t){return Ge([Ye,_t])}}function Ge(Ye){if(h)throw new TypeError("Generator is already executing.");for(;n;)try{if(h=1,S&&(N=Ye[0]&2?S.return:Ye[0]?S.throw||((N=S.return)&&N.call(S),0):S.next)&&!(N=N.call(S,Ye[1])).done)return N;(S=0,N)&&(Ye=[Ye[0]&2,N.value]);switch(Ye[0]){case 0:case 1:N=Ye;break;case 4:return n.label++,{value:Ye[1],done:!1};case 5:n.label++,S=Ye[1],Ye=[0];continue;case 7:Ye=n.ops.pop(),n.trys.pop();continue;default:if(!(N=n.trys,N=N.length>0&&N[N.length-1])&&(Ye[0]===6||Ye[0]===2)){n=0;continue}if(Ye[0]===3&&(!N||Ye[1]>N[0]&&Ye[1]=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));var S=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var N=S.range.getStartPosition();this._editor.setPosition(N),this._editor.revealPositionInCenter(N,h)}finally{this.ignoreSelectionChange=!1}},r.prototype.canNavigate=function(){return this.ranges&&this.ranges.length>0},r.prototype.next=function(n){n===void 0&&(n=0),this._move(!0,n)},r.prototype.previous=function(n){n===void 0&&(n=0),this._move(!1,n)},r.prototype.dispose=function(){a.prototype.dispose.call(this),this.ranges=[],this.disposed=!0},r}(Rt.a),so=e("+3Gp"),Pt=e("iuje"),ft=e("M1Kb"),vt=e("twdY"),At=e("i/Ef"),at=e("pAvP"),tt=e("t49l"),ut=e("X+cX"),Ct=e("/cxE"),gt=e("MNsG"),bt=e("746U"),Gt=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),Nt="$initialize",Et=!1;function Je(a){if(!gt.g)return;Et||(Et=!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(a.message)}var $e=function(){function a(r){this._workerId=-1,this._handler=r,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return a.prototype.setWorkerId=function(r){this._workerId=r},a.prototype.sendMessage=function(r,n){var h=this,S=String(++this._lastSentReq);return new Promise(function(N,ce){h._pendingReplies[S]={resolve:N,reject:ce},h._send({vsWorker:h._workerId,req:S,method:r,args:n})})},a.prototype.handleMessage=function(r){if(!r||!r.vsWorker)return;if(this._workerId!==-1&&r.vsWorker!==this._workerId)return;this._handleMessage(r)},a.prototype._handleMessage=function(r){var n=this;if(r.seq){var h=r;if(!this._pendingReplies[h.seq]){console.warn("Got reply to unknown seq");return}var S=this._pendingReplies[h.seq];if(delete this._pendingReplies[h.seq],h.err){var N=h.err;h.err.$isError&&(N=new Error,N.name=h.err.name,N.message=h.err.message,N.stack=h.err.stack),S.reject(N);return}S.resolve(h.res);return}var ce=r,Be=ce.req,Ge=this._handler.handleMessage(ce.method,ce.args);Ge.then(function(Ye){n._send({vsWorker:n._workerId,seq:Be,res:Ye,err:void 0})},function(Ye){Ye.detail instanceof Error&&(Ye.detail=Object(Ct.g)(Ye.detail)),n._send({vsWorker:n._workerId,seq:Be,res:void 0,err:Object(Ct.g)(Ye)})})},a.prototype._send=function(r){var n=[];if(r.req)for(var h=r,S=0;S0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&N()){var jt=h.createCharSequence(r,n.originalStart,n.originalStart+n.originalLength-1),ro=S.createCharSequence(r,n.modifiedStart,n.modifiedStart+n.modifiedLength-1),to=co(jt,ro,N,!0).changes;Be&&(to=Zo(to)),Ft=[];for(var Yt=0,Qt=to.length;Yt1&&Qt>1;){var ho=ro.charCodeAt(Yt-2),So=to.charCodeAt(Qt-2);if(ho!==So)break;Yt--,Qt--}(Yt>1||Qt>1)&&this._pushTrimWhitespaceCharChange(Be,Ge+1,1,Yt,Ye+1,1,Qt)}{for(var To=Bo(ro,1),Io=Bo(to,1),ko=ro.length+1,Ko=to.length+1;Ton&&(n=Ge),Be>h&&(h=Be),Ye>h&&(h=Ye)}n++,h++;for(var _t=new yn(h,n,0),S=0,N=r.length;S=this._maxCharCode?0:this._states.get(r,n)},a}(),rn=null;function pn(){return rn===null&&(rn=new dn([[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]])),rn}var zo=null;function Uo(){if(zo===null){zo=new mn.a(0);for(var a=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF20\uFF03\uFF04\uFF05\uFF06\uFF0A\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u3011\u300F\u300D\u300B\u3009\u201D\u2019\uFF40\uFF5E\u2026`,r=0;rS);if(S>0){var Ye=n.charCodeAt(S-1),_t=n.charCodeAt(ce);(Ye===40&&_t===41||Ye===91&&_t===93||Ye===123&&_t===125)&&ce--}return{range:{startLineNumber:h,startColumn:S+1,endLineNumber:h,endColumn:ce+2},url:n.substring(S,ce+1)}},a.computeLinks=function(r,n){n===void 0&&(n=pn());for(var h=Uo(),S=[],N=1,ce=r.getLineCount();N<=ce;N++){for(var Be=r.getLineContent(N),Ge=Be.length,Ye=0,_t=0,Ot=0,Ft=1,jt=!1,ro=!1,to=!1;Ye=0?(S+=h?1:-1,S<0?S=r.length-1:S%=r.length,r[S]):null},a.INSTANCE=new a,a}(),Dt=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),_e=function(a,r,n,h){function S(N){return N instanceof n?N:new n(function(ce){ce(N)})}return new(n||(n=Promise))(function(N,ce){function Be(_t){try{Ye(h.next(_t))}catch(Ot){ce(Ot)}}function Ge(_t){try{Ye(h.throw(_t))}catch(Ot){ce(Ot)}}function Ye(_t){_t.done?N(_t.value):S(_t.value).then(Be,Ge)}Ye((h=h.apply(a,r||[])).next())})},M=function(a,r){var n={label:0,sent:function(){if(N[0]&1)throw N[1];return N[1]},trys:[],ops:[]},h,S,N,ce;return ce={next:Be(0),throw:Be(1),return:Be(2)},typeof Symbol=="function"&&(ce[Symbol.iterator]=function(){return this}),ce;function Be(Ye){return function(_t){return Ge([Ye,_t])}}function Ge(Ye){if(h)throw new TypeError("Generator is already executing.");for(;n;)try{if(h=1,S&&(N=Ye[0]&2?S.return:Ye[0]?S.throw||((N=S.return)&&N.call(S),0):S.next)&&!(N=N.call(S,Ye[1])).done)return N;(S=0,N)&&(Ye=[Ye[0]&2,N.value]);switch(Ye[0]){case 0:case 1:N=Ye;break;case 4:return n.label++,{value:Ye[1],done:!1};case 5:n.label++,S=Ye[1],Ye=[0];continue;case 7:Ye=n.ops.pop(),n.trys.pop();continue;default:if(!(N=n.trys,N=N.length>0&&N[N.length-1])&&(Ye[0]===6||Ye[0]===2)){n=0;continue}if(Ye[0]===3&&(!N||Ye[1]>N[0]&&Ye[1]=h._lines.length?Jt.c:(ce=h._lines[N],Ge=h._wordenize(ce,n),Be=0,N+=1,_t())};return{next:Ye}},r.prototype.getLineWords=function(n,h){for(var S=this._lines[n-1],N=this._wordenize(S,h),ce=[],Be=0,Ge=N;Bethis._lines.length)h=this._lines.length,S=this._lines[h-1].length+1,N=!0;else{var ce=this._lines[h-1].length+1;S<1?(S=1,N=!0):S>ce&&(S=ce,N=!0)}return N?{lineNumber:h,column:S}:n},r}(fn),Z=function(){function a(r,n){this._host=r,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}return a.prototype.dispose=function(){this._models=Object.create(null)},a.prototype._getModel=function(r){return this._models[r]},a.prototype._getModels=function(){var r=this,n=[];return Object.keys(this._models).forEach(function(h){return n.push(r._models[h])}),n},a.prototype.acceptNewModel=function(r){this._models[r.url]=new P(z.a.parse(r.url),r.lines,r.EOL,r.versionId)},a.prototype.acceptModelChanged=function(r,n){if(!this._models[r])return;var h=this._models[r];h.onEvents(n)},a.prototype.acceptRemovedModel=function(r){if(!this._models[r])return;delete this._models[r]},a.prototype.computeDiff=function(r,n,h,S){return _e(this,void 0,void 0,function(){var N,ce,Be,Ge,Ye,_t,Ot;return M(this,function(Ft){return N=this._getModel(r),ce=this._getModel(n),!N||!ce?[2,null]:(Be=N.getLinesContent(),Ge=ce.getLinesContent(),Ye=new Wo(Be,Ge,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:h,shouldMakePrettyDiff:!0,maxComputationTime:S}),_t=Ye.computeDiff(),Ot=_t.changes.length>0?!1:this._modelsAreIdentical(N,ce),[2,{quitEarly:_t.quitEarly,identical:Ot,changes:_t.changes}])})})},a.prototype._modelsAreIdentical=function(r,n){var h=r.getLineCount(),S=n.getLineCount();if(h!==S)return!1;for(var N=1;N<=h;N++){var ce=r.getLineContent(N),Be=n.getLineContent(N);if(ce!==Be)return!1}return!0},a.prototype.computeMoreMinimalEdits=function(r,n){return _e(this,void 0,void 0,function(){var h,S,N,ce,Be,Ge,Ye,_t,Ot,Ft,jt,ro,to,Yt,Qt,ho,So,To;return M(this,function(Io){if(h=this._getModel(r),!h)return[2,n];for(S=[],N=void 0,n=Object(lt.r)(n,function(ko,Ko){if(ko.range&&Ko.range)return U.a.compareRangesUsingStarts(ko.range,Ko.range);var ln=ko.range?0:1,wn=Ko.range?0:1;return ln-wn}),ce=0,Be=n;cea._diffLimit){S.push({range:Ye,text:_t});continue}for(jt=Object(Tt.b)(Ft,_t,!1),ro=h.offsetAt(U.a.lift(Ye).getStartPosition()),to=0,Yt=jt;to=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},Ut=function(a,r){return function(n,h){r(n,h,a)}},Ht=function(a,r,n,h){function S(N){return N instanceof n?N:new n(function(ce){ce(N)})}return new(n||(n=Promise))(function(N,ce){function Be(_t){try{Ye(h.next(_t))}catch(Ot){ce(Ot)}}function Ge(_t){try{Ye(h.throw(_t))}catch(Ot){ce(Ot)}}function Ye(_t){_t.done?N(_t.value):S(_t.value).then(Be,Ge)}Ye((h=h.apply(a,r||[])).next())})},oo=function(a,r){var n={label:0,sent:function(){if(N[0]&1)throw N[1];return N[1]},trys:[],ops:[]},h,S,N,ce;return ce={next:Be(0),throw:Be(1),return:Be(2)},typeof Symbol=="function"&&(ce[Symbol.iterator]=function(){return this}),ce;function Be(Ye){return function(_t){return Ge([Ye,_t])}}function Ge(Ye){if(h)throw new TypeError("Generator is already executing.");for(;n;)try{if(h=1,S&&(N=Ye[0]&2?S.return:Ye[0]?S.throw||((N=S.return)&&N.call(S),0):S.next)&&!(N=N.call(S,Ye[1])).done)return N;(S=0,N)&&(Ye=[Ye[0]&2,N.value]);switch(Ye[0]){case 0:case 1:N=Ye;break;case 4:return n.label++,{value:Ye[1],done:!1};case 5:n.label++,S=Ye[1],Ye=[0];continue;case 7:Ye=n.ops.pop(),n.trys.pop();continue;default:if(!(N=n.trys,N=N.length>0&&N[N.length-1])&&(Ye[0]===6||Ye[0]===2)){n=0;continue}if(Ye[0]===3&&(!N||Ye[1]>N[0]&&Ye[1]fo&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)},r.prototype.withWorker=function(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new ye(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)},r}(Rt.a),It=function(a){xt(r,a);function r(n,h,S){var N=a.call(this)||this;if(N._syncedModels=Object.create(null),N._syncedModelsLastUsedTime=Object.create(null),N._proxy=n,N._modelService=h,!S){var ce=new ut.c;ce.cancelAndSet(function(){return N._checkStopModelSync()},Math.round(Zt/2)),N._register(ce)}return N}return r.prototype.dispose=function(){for(var n in this._syncedModels)Object(Rt.f)(this._syncedModels[n]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),a.prototype.dispose.call(this)},r.prototype.ensureSyncedResources=function(n){for(var h=0,S=n;hZt&&h.push(S)}for(var ce=0,Be=h;ce'"_]/g,"-")}function Ho(a,r){console.log(a.languageId+": "+r)}function Do(a,r){return new Error(a.languageId+": "+r)}function xo(a,r,n,h,S){var N=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,ce=null;return r.replace(N,function(Be,Ge,Ye,_t,Ot,Ft,jt,ro,to){return wo(Ye)?wo(_t)?!wo(Ot)&&Ot0;){var h=a.tokenizer[n];if(h)return h;var S=n.lastIndexOf(".");S<0?n=null:n=n.substr(0,S)}return null}function gn(a,r){for(var n=r;n&&n.length>0;){var h=a.stateNames[n];if(h)return!0;var S=n.lastIndexOf(".");S<0?n=null:n=n.substr(0,S)}return!1}var En=5,on=function(){function a(r){this._maxCacheDepth=r,this._entries=Object.create(null)}return a.create=function(r,n){return this._INSTANCE.create(r,n)},a.prototype.create=function(r,n){if(r!==null&&r.depth>=this._maxCacheDepth)return new On(r,n);var h=On.getStackElementId(r);h.length>0&&(h+="|"),h+=n;var S=this._entries[h];return S||(S=new On(r,n),this._entries[h]=S,S)},a._INSTANCE=new a(En),a}(),On=function(){function a(r,n){this.parent=r,this.state=n,this.depth=(this.parent?this.parent.depth:0)+1}return a.getStackElementId=function(r){for(var n="";r!==null;)n.length>0&&(n+="|"),n+=r.state,r=r.parent;return n},a._equals=function(r,n){for(;r!==null&&n!==null;){if(r===n)return!0;if(r.state!==n.state)return!1;r=r.parent,n=n.parent}return r===null&&n===null},a.prototype.equals=function(r){return a._equals(this,r)},a.prototype.push=function(r){return on.create(this,r)},a.prototype.pop=function(){return this.parent},a.prototype.popall=function(){for(var r=this;r.parent;)r=r.parent;return r},a.prototype.switchTo=function(r){return on.create(this.parent,r)},a}(),Un=function(){function a(r,n){this.modeId=r,this.state=n}return a.prototype.equals=function(r){return this.modeId===r.modeId&&this.state.equals(r.state)},a.prototype.clone=function(){var r=this.state.clone();return r===this.state?this:new a(this.modeId,this.state)},a}(),Rn=function(){function a(r){this._maxCacheDepth=r,this._entries=Object.create(null)}return a.create=function(r,n){return this._INSTANCE.create(r,n)},a.prototype.create=function(r,n){if(n!==null)return new ai(r,n);if(r!==null&&r.depth>=this._maxCacheDepth)return new ai(r,n);var h=On.getStackElementId(r),S=this._entries[h];return S||(S=new ai(r,null),this._entries[h]=S,S)},a._INSTANCE=new a(En),a}(),ai=function(){function a(r,n){this.stack=r,this.embeddedModeData=n}return a.prototype.clone=function(){var r=this.embeddedModeData?this.embeddedModeData.clone():null;return r===this.embeddedModeData?this:Rn.create(this.stack,this.embeddedModeData)},a.prototype.equals=function(r){return r instanceof a&&this.stack.equals(r.stack)?this.embeddedModeData===null&&r.embeddedModeData===null?!0:this.embeddedModeData===null||r.embeddedModeData===null?!1:this.embeddedModeData.equals(r.embeddedModeData):!1},a}(),bi=function(){function a(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}return a.prototype.enterMode=function(r,n){this._language=n},a.prototype.emit=function(r,n){if(this._lastTokenType===n&&this._lastTokenLanguage===this._language)return;this._lastTokenType=n,this._lastTokenLanguage=this._language,this._tokens.push(new u.a(r,n,this._language))},a.prototype.nestedModeTokenize=function(r,n,h){var S=n.modeId,N=n.state,ce=vt.B.get(S);if(!ce)return this.enterMode(h,S),this.emit(h,""),N;var Be=ce.tokenize(r,N,h);return this._tokens=this._tokens.concat(Be.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,Be.endState},a.prototype.finalize=function(r){return new u.b(this._tokens,r)},a}(),kn=function(){function a(r,n){this._modeService=r,this._theme=n,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}return a.prototype.enterMode=function(r,n){this._currentLanguageId=this._modeService.getLanguageIdentifier(n).id},a.prototype.emit=function(r,n){var h=this._theme.match(this._currentLanguageId,n);if(this._lastTokenMetadata===h)return;this._lastTokenMetadata=h,this._tokens.push(r),this._tokens.push(h)},a._merge=function(r,n,h){var S=r!==null?r.length:0,N=n.length,ce=h!==null?h.length:0;if(S===0&&N===0&&ce===0)return new Uint32Array(0);if(S===0&&N===0)return h;if(N===0&&ce===0)return r;var Be=new Uint32Array(S+N+ce);r!==null&&Be.set(r);for(var Ge=0;Ge0&&S.nestedModeTokenize(Be,n.embeddedModeData,h);var Ge=r.substring(N);return this._myTokenize(Ge,n,h+N,S)},a.prototype._safeRuleName=function(r){return r?r.name:"(unknown)"},a.prototype._myTokenize=function(r,n,h,S){S.enterMode(h,this._modeId);for(var N=r.length,ce=n.embeddedModeData,Be=n.stack,Ge=0,Ye=null,_t=!0;_t||Ge=N)break;_t=!1;var Io=this._lexer.tokenizer[ro];if(!Io&&(Io=tn(this._lexer,ro),!Io))throw Do(this._lexer,"tokenizer state is not defined: "+ro);for(var ko=r.substr(Ge),Ko=0,ln=Io;Ko=this._lexer.maxStack)throw Do(this._lexer,"maximum tokenizer stack size reached: ["+Be.state+","+Be.parent.state+",...]");Be=Be.push(ro)}else if(Qt.next==="@pop"){if(Be.depth<=1)throw Do(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(ho));Be=Be.pop()}else if(Qt.next==="@popall")Be=Be.popall();else{var Yo=xo(this._lexer,Qt.next,Yt,to,ro);if(Yo[0]==="@"&&(Yo=Yo.substr(1)),tn(this._lexer,Yo))Be=Be.push(Yo);else throw Do(this._lexer,"trying to set a next state '"+Yo+"' that is undefined in rule: "+this._safeRuleName(ho))}}Qt.log&&typeof Qt.log=="string"&&Ho(this._lexer,this._lexer.languageId+": "+xo(this._lexer,Qt.log,Yt,to,ro))}if(qo===null)throw Do(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(ho));if(Array.isArray(qo)){if(Ye&&Ye.groups.length>0)throw Do(this._lexer,"groups cannot be nested: "+this._safeRuleName(ho));if(to.length!==qo.length+1)throw Do(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(ho));for(var un=0,en=1;en=0&&ro()})})},a.colorizeLine=function(r,n,h,S,N){N===void 0&&(N=4);var ce=Xt.d.isBasicASCII(r,n),Be=Xt.d.containsRTL(r,ce,h),Ge=Object(Kt.e)(new Kt.c(!1,!0,r,!1,ce,Be,0,S,[],N,0,0,0,-1,"none",!1,!1,null));return Ge.html},a.colorizeModelLine=function(r,n,h){h===void 0&&(h=4);var S=r.getLineContent(n);r.forceTokenization(n);var N=r.getLineTokens(n),ce=N.inflate();return this.colorizeLine(S,r.mightContainNonBasicASCII(),r.mightContainRTL(),ce,h)},a}();function Ki(a,r,n){return new Promise(function(h,S){var N=function ce(){var Be=Gi(a,r,n);if(n instanceof Qn){var Ge=n.getLoadStatus();if(Ge.loaded===!1){Ge.promise.then(ce,S);return}}h(Be)};N()})}function Zr(a,r){var n=[],h=(0<<11|1<<14|2<<23)>>>0,S=new Uint32Array(2);S[0]=0,S[1]=h;for(var N=0,ce=a.length;N")}return n.join("")}function Gi(a,r,n){for(var h=[],S=n.getInitialState(),N=0,ce=a.length;N"),S=Ge.endState}return h.join("")}var $o=e("uDWl"),li=e("S3by"),Tn=e("sFUC"),yr=e("iDAx"),Qr=e("0/Sa"),xn=e("+7oY"),$n=e("QDVR"),Xi=e("CRAX"),br=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),Yi=function(){for(var a=0,r=0,n=arguments.length;r5e3&&S._leaveChordMode()},500)},r.prototype._leaveChordMode=function(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null},r.prototype._dispatch=function(n,h){return this._doDispatch(this.resolveKeyboardEvent(n),h)},r.prototype._doDispatch=function(n,h){var S=this,N=!1;if(n.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;var ce=n.getDispatchParts()[0];if(ce===null)return N;var Be=this._contextKeyService.getContext(h),Ge=this._currentChord?this._currentChord.keypress:null,Ye=n.getLabel(),_t=this._getResolver().resolve(Be,Ge,ce);return _t&&_t.enterChord?(N=!0,this._enterChordMode(ce,Ye),N):(this._currentChord&&((!_t||!_t.commandId)&&(this._notificationService.status(_n.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,Ye),{hideAfter:10*1e3}),N=!0)),this._leaveChordMode(),_t&&_t.commandId&&(_t.bubble||(N=!0),typeof _t.commandArgs=="undefined"?this._commandService.executeCommand(_t.commandId).then(void 0,function(Ot){return S._notificationService.warn(Ot)}):this._commandService.executeCommand(_t.commandId,_t.commandArgs).then(void 0,function(Ot){return S._notificationService.warn(Ot)}),this._telemetryService.publicLog2("workbenchActionExecuted",{id:_t.commandId,from:"keybinding"})),N)},r.prototype.mightProducePrintableCharacter=function(n){return n.ctrlKey||n.metaKey?!1:n.keyCode>=31&&n.keyCode<=56||n.keyCode>=21&&n.keyCode<=30},r}(Rt.a),Sn=e("T8No"),Qi=function(){function a(r,n){this._defaultKeybindings=r,this._defaultBoundCommands=new Map;for(var h=0,S=r.length;h=0;Ot--)this._isTargetedForRemoval(r[Ot],Ge,Ye,Be,_t)&&r.splice(Ot,1)}return r.concat(h)},a.prototype._addKeyPress=function(r,n){var h=this._map.get(r);if(typeof h=="undefined"){this._map.set(r,[n]),this._addToLookupMap(n);return}for(var S=h.length-1;S>=0;S--){var N=h[S];if(N.command===n.command)continue;var ce=N.keypressParts.length>1,Be=n.keypressParts.length>1;if(ce&&Be&&N.keypressParts[1]!==n.keypressParts[1])continue;a.whenIsEntirelyIncluded(N.when,n.when)&&this._removeFromLookupMap(N)}h.push(n),this._addToLookupMap(n)},a.prototype._addToLookupMap=function(r){if(!r.command)return;var n=this._lookupMap.get(r.command);typeof n=="undefined"?(n=[r],this._lookupMap.set(r.command,n)):n.push(r)},a.prototype._removeFromLookupMap=function(r){if(!r.command)return;var n=this._lookupMap.get(r.command);if(typeof n=="undefined")return;for(var h=0,S=n.length;h1&&Ye.keypressParts[1]!==null?{enterChord:!0,commandId:null,commandArgs:null,bubble:!1}:{enterChord:!1,commandId:Ye.command,commandArgs:Ye.commandArgs,bubble:Ye.bubble}:null},a.prototype._findCommand=function(r,n){for(var h=n.length-1;h>=0;h--){var S=n[h];if(!a.contextMatchesRules(r,S.when))continue;return S}return null},a.contextMatchesRules=function(r,n){return n?n.evaluate(r):!0},a}(),qr=e("nrhi"),$i=function(){function a(r,n,h,S,N){this.resolvedKeybinding=r,this.keypressParts=r?Er(r.getDispatchParts()):[],this.bubble=n?n.charCodeAt(0)===94:!1,this.command=this.bubble?n.substr(1):n,this.commandArgs=h,this.when=S,this.isDefault=N}return a}();function Er(a){for(var r=[],n=0,h=a.length;n1},r.prototype.getParts=function(){var n=this;return this._parts.map(function(h){return n._getPart(h)})},r.prototype._getPart=function(n){return new H.d(n.ctrlKey,n.shiftKey,n.altKey,n.metaKey,this._getLabel(n),this._getAriaLabel(n))},r.prototype.getDispatchParts=function(){var n=this;return this._parts.map(function(h){return n._getDispatchPart(h)})},r}(H.c),ts=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),_r=function(a){ts(r,a);function r(n,h){return a.call(this,h,n.parts)||this}return r.prototype._keyCodeToUILabel=function(n){if(this._os===2)switch(n){case 15:return"\u2190";case 16:return"\u2191";case 17:return"\u2192";case 18:return"\u2193"}return H.b.toString(n)},r.prototype._getLabel=function(n){return n.isDuplicateModifierCase()?"":this._keyCodeToUILabel(n.keyCode)},r.prototype._getAriaLabel=function(n){return n.isDuplicateModifierCase()?"":H.b.toString(n.keyCode)},r.prototype._getDispatchPart=function(n){return r.getDispatchStr(n)},r.getDispatchStr=function(n){if(n.isModifierKey())return null;var h="";return n.ctrlKey&&(h+="ctrl+"),n.shiftKey&&(h+="shift+"),n.altKey&&(h+="alt+"),n.metaKey&&(h+="meta+"),h+=H.b.toString(n.keyCode),h},r}(na),Hn=e("sM1p"),Sr=e("EWX2"),Oi=e("A9l+"),os=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),ns=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},is=function(a,r){return function(n,h){r(n,h,a)}},rs=function(){for(var a=0,r=0,n=arguments.length;r0){var To=n[Be-1];To.originalEndLineNumber===0?ho=To.originalStartLineNumber+1:ho=To.originalEndLineNumber+1,To.modifiedEndLineNumber===0?So=To.modifiedStartLineNumber+1:So=To.modifiedEndLineNumber+1}var Io=Yt-xi+1,ko=Qt-xi+1;if(Ioqo){var Ko=qo-en;en=en+Ko,Dn=Dn+Ko}if(Dn>Yo){var Ko=Yo-Dn;en=en+Ko,Dn=Dn+Ko}ro[to++]=new Ei(ln,en,wn,Dn)}N[ce++]=new Ji(ro)}for(var Cn=N[0].entries,Bn=[],Pn=0,Be=1,Ge=N.length;BeFt)&&(Ft=So),To!==0&&(jt===0||Toro)&&(ro=Io)}var ko=document.createElement("div");ko.className="diff-review-row";var Ko=document.createElement("div");Ko.className="diff-review-cell diff-review-summary";var ln=Ft-Ot+1,wn=ro-jt+1;Ko.appendChild(document.createTextNode(Ge+1+"/"+this._diffs.length+": @@ -"+Ot+","+ln+" +"+jt+","+wn+" @@")),ko.setAttribute("data-line",String(jt));var qo=function(Cn){return Cn===0?_n.a("no_lines","no lines"):Cn===1?_n.a("one_line","1 line"):_n.a("more_lines","{0} lines",Cn)},Yo=qo(ln),un=qo(wn);ko.setAttribute("aria-label",_n.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines", "1 line" or "X lines", localized separately.']},"Difference {0} of {1}: original {2}, {3}, modified {4}, {5}",Ge+1,this._diffs.length,Ot,Yo,jt,un)),ko.appendChild(Ko),ko.setAttribute("role","listitem"),_t.appendChild(ko);for(var en=jt,to=0,Yt=Ye.length;to>>0,Ye=new Uint32Array(2);Ye[0]=ce.length,Ye[1]=Ge;var _t=new mt.a(Ye,ce),Ot=Xt.d.isBasicASCII(ce,n.mightContainNonBasicASCII()),Ft=Xt.d.containsRTL(ce,Ot,n.mightContainRTL()),jt=Object(Kt.e)(new Kt.c(Be.isMonospace&&!h.get(23),Be.canUseHalfwidthRightwardsArrow,ce,!1,Ot,Ft,0,_t,[],S,0,Be.spaceWidth,Be.middotWidth,h.get(88),h.get(74),h.get(69),h.get(35)!==T.d.OFF,null));return jt.html},r}(Rt.a);Object(Mn.e)(function(a,r){var n=a.getColor(Vn.k);n&&r.addRule(".monaco-diff-editor .diff-review-line-number { color: "+n+"; }");var h=a.getColor(bn.Vb);h&&r.addRule(".monaco-diff-editor .diff-review-shadow { box-shadow: "+h+" 0 -6px 6px -6px inset; }")});var er=function(a){Ln(r,a);function r(){return a.call(this,{id:"editor.action.diffReview.next",label:_n.a("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:Sn.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})||this}return r.prototype.run=function(n,h){var S=Ir(n);S&&S.diffReviewNext()},r}(ui.b),Rr=function(a){Ln(r,a);function r(){return a.call(this,{id:"editor.action.diffReview.prev",label:_n.a("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:Sn.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1024|65,weight:100}})||this}return r.prototype.run=function(n,h){var S=Ir(n);S&&S.diffReviewPrev()},r}(ui.b);function Ir(a){for(var r=a.get(me.a),n=r.listDiffEditors(),h=0,S=n.length;h0&&N[N.length-1])&&(Ye[0]===6||Ye[0]===2)){n=0;continue}if(Ye[0]===3&&(!N||Ye[1]>N[0]&&Ye[1]N.modifiedStartLineNumber?_n.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):_n.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,function(){return Ri(Ge,void 0,void 0,function(){return tr(this,function(Yt){switch(Yt.label){case 0:return[4,this._clipboardService.writeText(N.originalContent.join(_t)+_t)];case 1:return Yt.sent(),[2]}})})}));var Ft=0,jt=void 0;N.originalEndLineNumber>N.modifiedStartLineNumber&&(jt=new ci.a("diff.clipboard.copyDeletedLineContent",_n.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",N.originalStartLineNumber),void 0,!0,function(){return Ri(Ge,void 0,void 0,function(){return tr(this,function(Yt){switch(Yt.label){case 0:return[4,this._clipboardService.writeText(N.originalContent[Ft])];case 1:return Yt.sent(),[2]}})})}),Ot.push(jt));var ro=S.getOption(68);ro||Ot.push(new ci.a("diff.inline.revertChange",_n.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,function(){return Ri(Ge,void 0,void 0,function(){var Yt,Yt;return tr(this,function(Qt){return N.modifiedEndLineNumber===0?(Yt=S.getModel().getLineMaxColumn(N.modifiedStartLineNumber),S.executeEdits("diffEditor",[{range:new H.a(N.modifiedStartLineNumber,Yt,N.modifiedStartLineNumber,Yt),text:_t+N.originalContent.join(_t)}])):(Yt=S.getModel().getLineMaxColumn(N.modifiedEndLineNumber),S.executeEdits("diffEditor",[{range:new H.a(N.modifiedStartLineNumber,1,N.modifiedEndLineNumber,Yt),text:N.originalContent.join(_t)}])),[2]})})}));var to=function(Qt,ho){Ge._contextMenuService.showContextMenu({getAnchor:function(){return{x:Qt,y:ho}},getActions:function(){return jt&&(jt.label=_n.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",N.originalStartLineNumber+Ft)),Ot},autoSelectFirstItem:!0})};return Ge._register(ge.o(Ge._diffActions,"mousedown",function(Yt){var Qt=ge.C(Ge._diffActions),ho=Qt.top,So=Qt.height,To=Math.floor(Ye/3);Yt.preventDefault(),to(Yt.posx,ho+So+To)})),Ge._register(S.onMouseMove(function(Yt){if(Yt.target.type===8||Yt.target.type===5){var Qt=Yt.target.detail.viewZoneId;Qt===Ge._viewZoneId?(Ge.visibility=!0,Ft=Ge._updateLightBulbPosition(Ge._marginDomNode,Yt.event.browserEvent.y,Ye)):Ge.visibility=!1}else Ge.visibility=!1})),Ge._register(S.onMouseDown(function(Yt){if(!Yt.event.rightButton)return;if(Yt.target.type===8||Yt.target.type===5){var Qt=Yt.target.detail.viewZoneId;Qt===Ge._viewZoneId&&(Yt.event.preventDefault(),Ft=Ge._updateLightBulbPosition(Ge._marginDomNode,Yt.event.browserEvent.y,Ye),to(Yt.event.posx,Yt.event.posy+Ye))}})),Ge}return Object.defineProperty(r.prototype,"visibility",{get:function(){return this._visibility},set:function(h){this._visibility!==h&&(this._visibility=h,h?this._diffActions.style.visibility="visible":this._diffActions.style.visibility="hidden")},enumerable:!0,configurable:!0}),r.prototype._updateLightBulbPosition=function(n,h,S){var N=ge.C(n).top,ce=h-N,Be=Math.floor(ce/S),Ge=Be*S;return this._diffActions.style.top=Ge+"px",Be},r}(Rt.a),Ii=e("tTk5"),_s=e("o39E"),hi=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),Ss=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},Jn=function(a,r){return function(n,h){r(n,h,a)}},qn=function(){function a(r,n){this._contextMenuService=r,this._clipboardService=n,this._zones=[],this.inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}return a.prototype.getForeignViewZones=function(r){var n=this;return r.filter(function(h){return!n._zonesMap[String(h.id)]})},a.prototype.clean=function(r){var n=this;this._zones.length>0&&r.changeViewZones(function(h){for(var S=0,N=n._zones.length;S0?ce/S:0,Ge=Math.max(0,Math.floor(n.height*Be)),Ye=Math.floor(h*Be);return{height:Ge,top:Ye}},r.prototype._createDataSource=function(){var n=this;return{getWidth:function(){return n._elementSizeObserver.getWidth()},getHeight:function(){return n._elementSizeObserver.getHeight()-n._getReviewHeight()},getContainerDomNode:function(){return n._containerDomElement},relayoutEditors:function(){n._doLayout()},getOriginalEditor:function(){return n.originalEditor},getModifiedEditor:function(){return n.modifiedEditor}}},r.prototype._setStrategy=function(n){this._strategy&&this._strategy.dispose(),this._strategy=n,n.applyColors(this._themeService.getTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()},r.prototype._getLineChangeAtOrBeforeLineNumber=function(n,h){var S=this._diffComputationResult?this._diffComputationResult.changes:[];if(S.length===0||n=Ye?N=Be+1:(N=Be,ce=Be)}return S[N]},r.prototype._getEquivalentLineForOriginalLineNumber=function(n){var h=this._getLineChangeAtOrBeforeLineNumber(n,function(Ye){return Ye.originalStartLineNumber});if(!h)return n;var S=h.originalStartLineNumber+(h.originalEndLineNumber>0?-1:0),N=h.modifiedStartLineNumber+(h.modifiedEndLineNumber>0?-1:0),ce=h.originalEndLineNumber>0?h.originalEndLineNumber-h.originalStartLineNumber+1:0,Be=h.modifiedEndLineNumber>0?h.modifiedEndLineNumber-h.modifiedStartLineNumber+1:0,Ge=n-S;return Ge<=ce?N+Math.min(Ge,Be):N+Be-ce+Ge},r.prototype._getEquivalentLineForModifiedLineNumber=function(n){var h=this._getLineChangeAtOrBeforeLineNumber(n,function(Ye){return Ye.modifiedStartLineNumber});if(!h)return n;var S=h.originalStartLineNumber+(h.originalEndLineNumber>0?-1:0),N=h.modifiedStartLineNumber+(h.modifiedEndLineNumber>0?-1:0),ce=h.originalEndLineNumber>0?h.originalEndLineNumber-h.originalStartLineNumber+1:0,Be=h.modifiedEndLineNumber>0?h.modifiedEndLineNumber-h.modifiedStartLineNumber+1:0,Ge=n-N;return Ge<=Be?S+Math.min(Ge,ce):S+ce-Be+Ge},r.prototype.getDiffLineInformationForOriginal=function(n){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(n)}:null},r.prototype.getDiffLineInformationForModified=function(n){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(n)}:null},r.ONE_OVERVIEW_WIDTH=15,r.ENTIRE_DIFF_OVERVIEW_WIDTH=30,r.UPDATE_DIFF_DECORATIONS_DELAY=200,r=Ss([Jn(3,at.a),Jn(4,Sn.c),Jn(5,In.a),Jn(6,me.a),Jn(7,Mn.c),Jn(8,Un.a),Jn(9,Xn.a),Jn(10,Ii.a)],r),r}(Rt.a),Nr=function(a){hi(r,a);function r(n){var h=a.call(this)||this;return h._dataSource=n,h._insertColor=null,h._removeColor=null,h}return r.prototype.applyColors=function(n){var h=(n.getColor(bn.j)||bn.g).transparent(2),S=(n.getColor(bn.l)||bn.h).transparent(2),N=!h.equals(this._insertColor)||!S.equals(this._removeColor);return this._insertColor=h,this._removeColor=S,N},r.prototype.getEditorsDiffDecorations=function(n,h,S,N,ce,Be,Ge){ce=ce.sort(function(Ft,jt){return Ft.afterLineNumber-jt.afterLineNumber}),N=N.sort(function(Ft,jt){return Ft.afterLineNumber-jt.afterLineNumber});var Ye=this._getViewZones(n,N,ce,Be,Ge,S),_t=this._getOriginalEditorDecorations(n,h,S,Be,Ge),Ot=this._getModifiedEditorDecorations(n,h,S,Be,Ge);return{original:{decorations:_t.decorations,overviewZones:_t.overviewZones,zones:Ye.original},modified:{decorations:Ot.decorations,overviewZones:Ot.overviewZones,zones:Ye.modified}}},r}(Rt.a),nr=function(){function a(r){this._source=r,this._index=-1,this.current=null,this.advance()}return a.prototype.advance=function(){this._index++,this._index0){var en=Yo[Yo.length-1];if(en.afterLineNumber===un.afterLineNumber&&en.domNode===null){en.heightInLines+=un.heightInLines;return}}Yo.push(un)},_t=new nr(this.modifiedForeignVZ),Ot=new nr(this.originalForeignVZ),Ft=0,jt=this.lineChanges.length;Ft<=jt;Ft++){var ro=Ft0?-1:0),N=ro.modifiedStartLineNumber+(ro.modifiedEndLineNumber>0?-1:0),h=ro.originalEndLineNumber>0?ro.originalEndLineNumber-ro.originalStartLineNumber+1:0,n=ro.modifiedEndLineNumber>0?ro.modifiedEndLineNumber-ro.modifiedStartLineNumber+1:0,ce=Math.max(ro.originalStartLineNumber,ro.originalEndLineNumber),Be=Math.max(ro.modifiedStartLineNumber,ro.modifiedEndLineNumber)):(S+=1e7+h,N+=1e7+n,ce=S,Be=N);for(var to=[],Yt=[];_t.current&&_t.current.afterLineNumber<=Be;){var Qt=void 0;_t.current.afterLineNumber<=N?Qt=S-N+_t.current.afterLineNumber:Qt=ce;var ho=null;ro&&ro.modifiedStartLineNumber<=_t.current.afterLineNumber&&_t.current.afterLineNumber<=ro.modifiedEndLineNumber&&(ho=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),to.push({afterLineNumber:Qt,heightInLines:_t.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:ho}),_t.advance()}for(;Ot.current&&Ot.current.afterLineNumber<=ce;){var Qt=void 0;Ot.current.afterLineNumber<=S?Qt=N-S+Ot.current.afterLineNumber:Qt=Be,Yt.push({afterLineNumber:Qt,heightInLines:Ot.current.height/this.originalLineHeight,domNode:null}),Ot.advance()}if(ro!==null&&fi(ro)){var So=this._produceOriginalFromDiff(ro,h,n);So&&to.push(So)}if(ro!==null&&ni(ro)){var So=this._produceModifiedFromDiff(ro,h,n);So&&Yt.push(So)}var To=0,Io=0;for(to=to.sort(Ge),Yt=Yt.sort(Ge);To=Ko.heightInLines?(ko.heightInLines-=Ko.heightInLines,Io++):(Ko.heightInLines-=ko.heightInLines,To++)}for(;Tor.MINIMUM_EDITOR_WIDTH*2?(NS-r.MINIMUM_EDITOR_WIDTH&&(N=S-r.MINIMUM_EDITOR_WIDTH)):N=ce,this._sashPosition!==N&&(this._sashPosition=N,this._sash.layout()),this._sashPosition},r.prototype.onSashDragStart=function(){this._startSashPosition=this._sashPosition},r.prototype.onSashDrag=function(n){var h=this._dataSource.getWidth(),S=h-or.ENTIRE_DIFF_OVERVIEW_WIDTH,N=this.layout((this._startSashPosition+(n.currentX-n.startX))/S);this._sashRatio=N/S,this._dataSource.relayoutEditors()},r.prototype.onSashDragEnd=function(){this._sash.layout()},r.prototype.onSashReset=function(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()},r.prototype.getVerticalSashTop=function(n){return 0},r.prototype.getVerticalSashLeft=function(n){return this._sashPosition},r.prototype.getVerticalSashHeight=function(n){return this._dataSource.getHeight()},r.prototype._getViewZones=function(n,h,S,N,ce){var Be=new Ms(n,h,N.getOption(49),S,ce.getOption(49));return Be.getViewZones()},r.prototype._getOriginalEditorDecorations=function(n,h,S,N,ce){for(var Be=String(this._removeColor),Ge={decorations:[],overviewZones:[]},Ye=N.getModel(),_t=0,Ot=n.length;_th?{afterLineNumber:Math.max(n.originalStartLineNumber,n.originalEndLineNumber),heightInLines:S-h,domNode:null}:null},r.prototype._produceModifiedFromDiff=function(n,h,S){return h>S?{afterLineNumber:Math.max(n.modifiedStartLineNumber,n.modifiedEndLineNumber),heightInLines:h-S,domNode:null}:null},r}(ir),Ni=function(a){hi(r,a);function r(n,h){var S=a.call(this,n)||this;return S.decorationsLeft=n.getOriginalEditor().getLayoutInfo().decorationsLeft,S._register(n.getOriginalEditor().onDidLayoutChange(function(N){S.decorationsLeft!==N.decorationsLeft&&(S.decorationsLeft=N.decorationsLeft,n.relayoutEditors())})),S}return r.prototype.setEnableSplitViewResizing=function(n){},r.prototype._getViewZones=function(n,h,S,N,ce,Be){var Ge=new Ds(n,h,S,N,ce,Be);return Ge.getViewZones()},r.prototype._getOriginalEditorDecorations=function(n,h,S,N,ce){for(var Be=String(this._removeColor),Ge={decorations:[],overviewZones:[]},Ye=0,_t=n.length;Ye<_t;Ye++){var Ot=n[Ye];ni(Ot)&&(Ge.decorations.push({range:new H.a(Ot.originalStartLineNumber,1,Ot.originalEndLineNumber,1073741824),options:An.lineDeleteMargin}),Ge.overviewZones.push(new Ai.a(Ot.originalStartLineNumber,Ot.originalEndLineNumber,Be)))}return Ge},r.prototype._getModifiedEditorDecorations=function(n,h,S,N,ce){for(var Be=String(this._insertColor),Ge={decorations:[],overviewZones:[]},Ye=ce.getModel(),_t=0,Ot=n.length;_t'])}Yt+=this.modifiedEditorOptions.get(79);var To=document.createElement("div");To.className="view-lines line-delete",To.innerHTML=Ye.build(),Ti.a.applyFontInfoSlow(To,Ft);var Io=document.createElement("div");return Io.className="inline-deleted-margin-view-zone",Io.innerHTML=_t.join(""),Ti.a.applyFontInfoSlow(Io,Ft),{shouldNotShrink:!0,afterLineNumber:n.modifiedEndLineNumber===0?n.modifiedStartLineNumber:n.modifiedStartLineNumber-1,heightInLines:h,minWidthInPx:Yt*to,domNode:To,marginDomNode:Io,diff:{originalStartLineNumber:n.originalStartLineNumber,originalEndLineNumber:n.originalEndLineNumber,modifiedStartLineNumber:n.modifiedStartLineNumber,modifiedEndLineNumber:n.modifiedEndLineNumber,originalContent:Qt}}},r.prototype._renderOriginalLine=function(n,h,S,N,ce,Be,Ge){var Ye=h.getLineTokens(ce),_t=Ye.getLineContent(),Ot=S.get(34),Ft=ws.a.filter(Be,ce,1,_t.length+1);Ge.appendASCIIString('
');var jt=Xt.d.isBasicASCII(_t,h.mightContainNonBasicASCII()),ro=Xt.d.containsRTL(_t,jt,h.mightContainRTL()),to=Object(Kt.d)(new Kt.c(Ot.isMonospace&&!S.get(23),Ot.canUseHalfwidthRightwardsArrow,_t,!1,jt,ro,0,Ye,Ft,N,0,Ot.spaceWidth,Ot.middotWidth,S.get(88),S.get(74),S.get(69),S.get(35)!==T.d.OFF,null),Ge);Ge.appendASCIIString("
");var Yt=to.characterMapping.getAbsoluteOffsets();return Yt.length>0?Yt[Yt.length-1]:0},r}(ir);function fi(a){return a.modifiedEndLineNumber>0}function ni(a){return a.originalEndLineNumber>0}function Os(){var a=document.createElement("div");return a.className="diagonal-fill",a}Object(Mn.e)(function(a,r){var n=a.getColor(bn.j);n&&(r.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { background-color: "+n+"; }"),r.addRule(".monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: "+n+"; }"),r.addRule(".monaco-editor .inline-added-margin-view-zone { background-color: "+n+"; }"));var h=a.getColor(bn.l);h&&(r.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { background-color: "+h+"; }"),r.addRule(".monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: "+h+"; }"),r.addRule(".monaco-editor .inline-deleted-margin-view-zone { background-color: "+h+"; }"));var S=a.getColor(bn.k);S&&r.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px "+(a.type==="hc"?"dashed":"solid")+" "+S+"; }");var N=a.getColor(bn.m);N&&r.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px "+(a.type==="hc"?"dashed":"solid")+" "+N+"; }");var ce=a.getColor(bn.Vb);ce&&r.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px "+ce+"; }");var Be=a.getColor(bn.i);Be&&r.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid "+Be+"; }")});var Ts=e("9Y+e"),Si=e("scqD"),Kn=e("fjLI"),ii=e("bexQ"),mi=e("R3nR"),xs=e("9XeP"),sr=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),ar=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},an=function(a,r){return function(n,h){r(n,h,a)}},As=function(){for(var a=0,r=0,n=arguments.length;r> to now point to mime <<"+n.mime+">>"),n.filename&&h.filename===n.filename&&console.warn("Overwriting filename <<"+n.filename+">> to now point to mime <<"+n.mime+">>"),n.filepattern&&h.filepattern===n.filepattern&&console.warn("Overwriting filepattern <<"+n.filepattern+">> to now point to mime <<"+n.mime+">>"),n.firstline&&h.firstline===n.firstline&&console.warn("Overwriting firstline <<"+n.firstline+">> to now point to mime <<"+n.mime+">>")})}function ur(a){return{id:a.id,mime:a.mime,filename:a.filename,extension:a.extension,filepattern:a.filepattern,firstline:a.firstline,userConfigured:a.userConfigured,filenameLowercase:a.filename?a.filename.toLowerCase():void 0,extensionLowercase:a.extension?a.extension.toLowerCase():void 0,filepatternLowercase:a.filepattern?a.filepattern.toLowerCase():void 0,filepatternOnPath:a.filepattern?a.filepattern.indexOf(dr.posix.sep)>=0:!1}}function Li(a,r){var n;if(a)switch(a.scheme){case Ee.b.file:n=a.fsPath;break;case Ee.b.data:var h=ve.a.parseMetaData(a);n=h.get(ve.a.META_DATA_LABEL);break;default:n=a.path}if(!n)return[Pr];n=n.toLowerCase();var S=Object(dr.basename)(n),N=Wr(n,S,Fr);if(N)return[N,ki];var ce=Wr(n,S,kr);if(ce)return[ce,ki];if(r){var Be=ri(r);if(Be)return[Be,ki]}return[Pr]}function Wr(a,r,n){for(var h=null,S=null,N=null,ce=n.length-1;ce>=0;ce--){var Be=n[ce];if(r===Be.filenameLowercase){h=Be;break}if(Be.filepattern&&(!S||Be.filepattern.length>S.filepattern.length)){var Ge=Be.filepatternOnPath?a:r;Object(cr.a)(Be.filepatternLowercase,Ge)&&(S=Be)}Be.extension&&((!N||Be.extension.length>N.extension.length)&&(Object(eo.m)(r,Be.extensionLowercase)&&(N=Be)))}return h?h.mime:S?S.mime:N?N.mime:null}function ri(a){if(Object(eo.P)(a)&&(a=a.substr(1)),a.length>0)for(var r=Fi.length-1;r>=0;r--){var n=Fi[r];if(!n.firstline)continue;var h=a.match(n.firstline);if(h&&h.length>0)return n.mime}return null}var gi=e("MqQJ"),hr=e("ic2d"),ks=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),ei=Object.prototype.hasOwnProperty,Fs=function(a){ks(r,a);function r(n,h){n===void 0&&(n=!0),h===void 0&&(h=!1);var S=a.call(this)||this;return S._onDidChange=S._register(new I.a),S.onDidChange=S._onDidChange.event,S._warnOnOverwrite=h,S._nextLanguageId2=1,S._languageIdToLanguage=[],S._languageToLanguageId=Object.create(null),S._languages={},S._mimeTypesMap={},S._nameMap={},S._lowercaseNameMap={},n&&(S._initializeFromRegistry(),S._register(gi.a.onDidChangeLanguages(function(N){return S._initializeFromRegistry()}))),S}return r.prototype._initializeFromRegistry=function(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};var n=gi.a.getLanguages();this._registerLanguages(n)},r.prototype._registerLanguages=function(n){for(var h=this,S=0,N=n;S0&&((S=n.mimetypes).push.apply(S,h.mimetypes),ce=h.mimetypes[0]),ce||(ce="text/x-"+N,n.mimetypes.push(ce)),Array.isArray(h.extensions))for(var Be=0,Ge=h.extensions;Be0){var Yt=h.firstLine;Yt.charAt(0)!=="^"&&(Yt="^"+Yt);try{var Qt=new RegExp(Yt);eo.I(Qt)||pi({id:N,mime:ce,firstline:Qt},this._warnOnOverwrite)}catch(ln){Object(Ct.e)(ln)}}n.aliases.push(N);var ho=null;if(typeof h.aliases!="undefined"&&Array.isArray(h.aliases)&&(h.aliases.length===0?ho=[null]:ho=h.aliases),ho!==null)for(var So=0,To=ho;So0;if(!(ko&&ho[0]===null)){var Ko=(ko?ho[0]:null)||N;(ko||!n.name)&&(n.name=Ko)}h.configuration&&n.configurationFiles.push(h.configuration)},r.prototype.isRegisteredMode=function(n){return ei.call(this._mimeTypesMap,n)?!0:ei.call(this._languages,n)},r.prototype.getModeIdForLanguageNameLowercase=function(n){return ei.call(this._lowercaseNameMap,n)?this._lowercaseNameMap[n].language:null},r.prototype.extractModeIds=function(n){var h=this;return n?n.split(",").map(function(S){return S.trim()}).map(function(S){return ei.call(h._mimeTypesMap,S)?h._mimeTypesMap[S].language:S}).filter(function(S){return ei.call(h._languages,S)}):[]},r.prototype.getLanguageIdentifier=function(n){if(n===At.b||n===0)return At.a;var h;if(typeof n=="string")h=n;else if(h=this._languageIdToLanguage[n],!h)return null;return ei.call(this._languages,h)?this._languages[h].identifier:null},r.prototype.getModeIdsFromFilepathOrFirstLine=function(n,h){if(!n&&!h)return[];var S=Li(n,h);return this.extractModeIds(S.join(","))},r}(Rt.a),Ws=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),Br=function(a){Ws(r,a);function r(n,h){var S=a.call(this)||this;return S._onDidChange=S._register(new I.a),S.onDidChange=S._onDidChange.event,S._selector=h,S.languageIdentifier=S._selector(),S._register(n(function(){return S._evaluate()})),S}return r.prototype._evaluate=function(){var n=this._selector();if(n.id===this.languageIdentifier.id)return;this.languageIdentifier=n,this._onDidChange.fire(this.languageIdentifier)},r}(Rt.a),Bs=function(){function a(r){var n=this;r===void 0&&(r=!1),this._onDidCreateMode=new I.a,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new I.a,this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new Fs(!0,r),this._registry.onDidChange(function(){return n._onLanguagesMaybeChanged.fire()})}return a.prototype.isRegisteredMode=function(r){return this._registry.isRegisteredMode(r)},a.prototype.getModeIdForLanguageName=function(r){return this._registry.getModeIdForLanguageNameLowercase(r)},a.prototype.getModeIdByFilepathOrFirstLine=function(r,n){var h=this._registry.getModeIdsFromFilepathOrFirstLine(r,n);return Object(lt.l)(h,null)},a.prototype.getModeId=function(r){var n=this._registry.extractModeIds(r);return Object(lt.l)(n,null)},a.prototype.getLanguageIdentifier=function(r){return this._registry.getLanguageIdentifier(r)},a.prototype.create=function(r){var n=this;return new Br(this.onLanguagesMaybeChanged,function(){var h=n.getModeId(r);return n._createModeAndGetLanguageIdentifier(h)})},a.prototype.createByFilepathOrFirstLine=function(r,n){var h=this;return new Br(this.onLanguagesMaybeChanged,function(){var S=h.getModeIdByFilepathOrFirstLine(r,n);return h._createModeAndGetLanguageIdentifier(S)})},a.prototype._createModeAndGetLanguageIdentifier=function(r){var n=this.getLanguageIdentifier(r||"plaintext")||At.a;return this._getOrCreateMode(n.language),n},a.prototype.triggerMode=function(r){var n=this.getModeId(r);this._getOrCreateMode(n||"plaintext")},a.prototype._getOrCreateMode=function(r){if(!this._instantiatedModes.hasOwnProperty(r)){var n=this.getLanguageIdentifier(r)||At.a;this._instantiatedModes[r]=new Pi(n),this._onDidCreateMode.fire(this._instantiatedModes[r])}return this._instantiatedModes[r]},a}(),Hr=e("QRHv"),vi=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),Hs=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},Wi=function(a,r){return function(n,h){r(n,h,a)}};function Bi(a){return a.toString()}var V=function(){function a(r,n,h){this._modelEventListeners=new Rt.b,this.model=r,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(r.onWillDispose(function(){return n(r)})),this._modelEventListeners.add(r.onDidChangeLanguage(function(S){return h(r,S)}))}return a.prototype._disposeLanguageSelection=function(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)},a.prototype.dispose=function(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()},a.prototype.setLanguage=function(r){var n=this;this._disposeLanguageSelection(),this._languageSelection=r,this._languageSelectionListener=this._languageSelection.onDidChange(function(){return n.model.setMode(r.languageIdentifier)}),this.model.setMode(r.languageIdentifier)},a}(),o=gt.d||gt.e?1:2,t=function(a){vi(r,a);function r(n,h,S,N){var ce=a.call(this)||this;return ce._onModelAdded=ce._register(new I.a),ce.onModelAdded=ce._onModelAdded.event,ce._onModelRemoved=ce._register(new I.a),ce.onModelRemoved=ce._onModelRemoved.event,ce._onModelModeChanged=ce._register(new I.a),ce.onModelModeChanged=ce._onModelModeChanged.event,ce._configurationService=n,ce._resourcePropertiesService=h,ce._models={},ce._modelCreationOptionsByLanguageAndResource=Object.create(null),ce._configurationServiceSubscription=ce._configurationService.onDidChangeConfiguration(function(Be){return ce._updateModelOptions()}),ce._updateModelOptions(),ce._register(new i(ce,S,n,N)),ce}return r._readModelOptions=function(n,h){var S=T.c.tabSize;if(n.editor&&typeof n.editor.tabSize!="undefined"){var N=parseInt(n.editor.tabSize,10);isNaN(N)||(S=N),S<1&&(S=1)}var ce=S;if(n.editor&&typeof n.editor.indentSize!="undefined"&&n.editor.indentSize!=="tabSize"){var Be=parseInt(n.editor.indentSize,10);isNaN(Be)||(ce=Be),ce<1&&(ce=1)}var Ge=T.c.insertSpaces;n.editor&&typeof n.editor.insertSpaces!="undefined"&&(Ge=n.editor.insertSpaces==="false"?!1:Boolean(n.editor.insertSpaces));var Ye=o,_t=n.eol;_t===`\r +`},a=ns([is(0,xn.a)],a),a}(),fs=function(){function a(){}return a.prototype.publicLog=function(r,n){return Promise.resolve(void 0)},a.prototype.publicLog2=function(r,n){return this.publicLog(r,n)},a}(),ms=function(){function a(){var r=z.a.from({scheme:a.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new Sr.b({uri:r,name:"",index:0})]}}return a.prototype.getWorkspace=function(){return this.workspace},a.prototype.getWorkspaceFolder=function(r){return r&&r.scheme===a.SCHEME?this.workspace.folders[0]:null},a.SCHEME="inmemory",a}();function oi(a,r,n){if(!r)return;if(!(a instanceof Dr))return;Object.keys(r).forEach(function(h){Object(yr.d)(h)&&a.updateValue("editor."+h,r[h]),n&&Object(yr.c)(h)&&a.updateValue("diffEditor."+h,r[h])})}var sa=function(){function a(r){this._modelService=r}return a.prototype.hasPreviewHandler=function(){return!1},a.prototype.apply=function(r,n){var h=new Map;if(r.edits)for(var S=0,N=r.edits;S0){var To=n[Be-1];To.originalEndLineNumber===0?ho=To.originalStartLineNumber+1:ho=To.originalEndLineNumber+1,To.modifiedEndLineNumber===0?So=To.modifiedStartLineNumber+1:So=To.modifiedEndLineNumber+1}var Io=Yt-xi+1,ko=Qt-xi+1;if(Ioqo){var Ko=qo-en;en=en+Ko,Dn=Dn+Ko}if(Dn>Yo){var Ko=Yo-Dn;en=en+Ko,Dn=Dn+Ko}ro[to++]=new Ei(ln,en,wn,Dn)}N[ce++]=new Ji(ro)}for(var Cn=N[0].entries,Bn=[],Pn=0,Be=1,Ge=N.length;BeFt)&&(Ft=So),To!==0&&(jt===0||Toro)&&(ro=Io)}var ko=document.createElement("div");ko.className="diff-review-row";var Ko=document.createElement("div");Ko.className="diff-review-cell diff-review-summary";var ln=Ft-Ot+1,wn=ro-jt+1;Ko.appendChild(document.createTextNode(Ge+1+"/"+this._diffs.length+": @@ -"+Ot+","+ln+" +"+jt+","+wn+" @@")),ko.setAttribute("data-line",String(jt));var qo=function(Cn){return Cn===0?_n.a("no_lines","no lines"):Cn===1?_n.a("one_line","1 line"):_n.a("more_lines","{0} lines",Cn)},Yo=qo(ln),un=qo(wn);ko.setAttribute("aria-label",_n.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines", "1 line" or "X lines", localized separately.']},"Difference {0} of {1}: original {2}, {3}, modified {4}, {5}",Ge+1,this._diffs.length,Ot,Yo,jt,un)),ko.appendChild(Ko),ko.setAttribute("role","listitem"),_t.appendChild(ko);for(var en=jt,to=0,Yt=Ye.length;to>>0,Ye=new Uint32Array(2);Ye[0]=ce.length,Ye[1]=Ge;var _t=new mt.a(Ye,ce),Ot=Xt.d.isBasicASCII(ce,n.mightContainNonBasicASCII()),Ft=Xt.d.containsRTL(ce,Ot,n.mightContainRTL()),jt=Object(Kt.e)(new Kt.c(Be.isMonospace&&!h.get(23),Be.canUseHalfwidthRightwardsArrow,ce,!1,Ot,Ft,0,_t,[],S,0,Be.spaceWidth,Be.middotWidth,h.get(88),h.get(74),h.get(69),h.get(35)!==T.d.OFF,null));return jt.html},r}(Rt.a);Object(Mn.e)(function(a,r){var n=a.getColor(Vn.k);n&&r.addRule(".monaco-diff-editor .diff-review-line-number { color: "+n+"; }");var h=a.getColor(bn.Vb);h&&r.addRule(".monaco-diff-editor .diff-review-shadow { box-shadow: "+h+" 0 -6px 6px -6px inset; }")});var er=function(a){Ln(r,a);function r(){return a.call(this,{id:"editor.action.diffReview.next",label:_n.a("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:Sn.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})||this}return r.prototype.run=function(n,h){var S=Ir(n);S&&S.diffReviewNext()},r}(ui.b),Rr=function(a){Ln(r,a);function r(){return a.call(this,{id:"editor.action.diffReview.prev",label:_n.a("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:Sn.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1024|65,weight:100}})||this}return r.prototype.run=function(n,h){var S=Ir(n);S&&S.diffReviewPrev()},r}(ui.b);function Ir(a){for(var r=a.get(me.a),n=r.listDiffEditors(),h=0,S=n.length;h0&&N[N.length-1])&&(Ye[0]===6||Ye[0]===2)){n=0;continue}if(Ye[0]===3&&(!N||Ye[1]>N[0]&&Ye[1]N.modifiedStartLineNumber?_n.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):_n.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,function(){return Ri(Ge,void 0,void 0,function(){return tr(this,function(Yt){switch(Yt.label){case 0:return[4,this._clipboardService.writeText(N.originalContent.join(_t)+_t)];case 1:return Yt.sent(),[2]}})})}));var Ft=0,jt=void 0;N.originalEndLineNumber>N.modifiedStartLineNumber&&(jt=new ci.a("diff.clipboard.copyDeletedLineContent",_n.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",N.originalStartLineNumber),void 0,!0,function(){return Ri(Ge,void 0,void 0,function(){return tr(this,function(Yt){switch(Yt.label){case 0:return[4,this._clipboardService.writeText(N.originalContent[Ft])];case 1:return Yt.sent(),[2]}})})}),Ot.push(jt));var ro=S.getOption(68);ro||Ot.push(new ci.a("diff.inline.revertChange",_n.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,function(){return Ri(Ge,void 0,void 0,function(){var Yt,Yt;return tr(this,function(Qt){return N.modifiedEndLineNumber===0?(Yt=S.getModel().getLineMaxColumn(N.modifiedStartLineNumber),S.executeEdits("diffEditor",[{range:new U.a(N.modifiedStartLineNumber,Yt,N.modifiedStartLineNumber,Yt),text:_t+N.originalContent.join(_t)}])):(Yt=S.getModel().getLineMaxColumn(N.modifiedEndLineNumber),S.executeEdits("diffEditor",[{range:new U.a(N.modifiedStartLineNumber,1,N.modifiedEndLineNumber,Yt),text:N.originalContent.join(_t)}])),[2]})})}));var to=function(Qt,ho){Ge._contextMenuService.showContextMenu({getAnchor:function(){return{x:Qt,y:ho}},getActions:function(){return jt&&(jt.label=_n.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",N.originalStartLineNumber+Ft)),Ot},autoSelectFirstItem:!0})};return Ge._register(ge.o(Ge._diffActions,"mousedown",function(Yt){var Qt=ge.C(Ge._diffActions),ho=Qt.top,So=Qt.height,To=Math.floor(Ye/3);Yt.preventDefault(),to(Yt.posx,ho+So+To)})),Ge._register(S.onMouseMove(function(Yt){if(Yt.target.type===8||Yt.target.type===5){var Qt=Yt.target.detail.viewZoneId;Qt===Ge._viewZoneId?(Ge.visibility=!0,Ft=Ge._updateLightBulbPosition(Ge._marginDomNode,Yt.event.browserEvent.y,Ye)):Ge.visibility=!1}else Ge.visibility=!1})),Ge._register(S.onMouseDown(function(Yt){if(!Yt.event.rightButton)return;if(Yt.target.type===8||Yt.target.type===5){var Qt=Yt.target.detail.viewZoneId;Qt===Ge._viewZoneId&&(Yt.event.preventDefault(),Ft=Ge._updateLightBulbPosition(Ge._marginDomNode,Yt.event.browserEvent.y,Ye),to(Yt.event.posx,Yt.event.posy+Ye))}})),Ge}return Object.defineProperty(r.prototype,"visibility",{get:function(){return this._visibility},set:function(h){this._visibility!==h&&(this._visibility=h,h?this._diffActions.style.visibility="visible":this._diffActions.style.visibility="hidden")},enumerable:!0,configurable:!0}),r.prototype._updateLightBulbPosition=function(n,h,S){var N=ge.C(n).top,ce=h-N,Be=Math.floor(ce/S),Ge=Be*S;return this._diffActions.style.top=Ge+"px",Be},r}(Rt.a),Ii=e("tTk5"),_s=e("o39E"),hi=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),Ss=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},Jn=function(a,r){return function(n,h){r(n,h,a)}},qn=function(){function a(r,n){this._contextMenuService=r,this._clipboardService=n,this._zones=[],this.inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}return a.prototype.getForeignViewZones=function(r){var n=this;return r.filter(function(h){return!n._zonesMap[String(h.id)]})},a.prototype.clean=function(r){var n=this;this._zones.length>0&&r.changeViewZones(function(h){for(var S=0,N=n._zones.length;S0?ce/S:0,Ge=Math.max(0,Math.floor(n.height*Be)),Ye=Math.floor(h*Be);return{height:Ge,top:Ye}},r.prototype._createDataSource=function(){var n=this;return{getWidth:function(){return n._elementSizeObserver.getWidth()},getHeight:function(){return n._elementSizeObserver.getHeight()-n._getReviewHeight()},getContainerDomNode:function(){return n._containerDomElement},relayoutEditors:function(){n._doLayout()},getOriginalEditor:function(){return n.originalEditor},getModifiedEditor:function(){return n.modifiedEditor}}},r.prototype._setStrategy=function(n){this._strategy&&this._strategy.dispose(),this._strategy=n,n.applyColors(this._themeService.getTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()},r.prototype._getLineChangeAtOrBeforeLineNumber=function(n,h){var S=this._diffComputationResult?this._diffComputationResult.changes:[];if(S.length===0||n=Ye?N=Be+1:(N=Be,ce=Be)}return S[N]},r.prototype._getEquivalentLineForOriginalLineNumber=function(n){var h=this._getLineChangeAtOrBeforeLineNumber(n,function(Ye){return Ye.originalStartLineNumber});if(!h)return n;var S=h.originalStartLineNumber+(h.originalEndLineNumber>0?-1:0),N=h.modifiedStartLineNumber+(h.modifiedEndLineNumber>0?-1:0),ce=h.originalEndLineNumber>0?h.originalEndLineNumber-h.originalStartLineNumber+1:0,Be=h.modifiedEndLineNumber>0?h.modifiedEndLineNumber-h.modifiedStartLineNumber+1:0,Ge=n-S;return Ge<=ce?N+Math.min(Ge,Be):N+Be-ce+Ge},r.prototype._getEquivalentLineForModifiedLineNumber=function(n){var h=this._getLineChangeAtOrBeforeLineNumber(n,function(Ye){return Ye.modifiedStartLineNumber});if(!h)return n;var S=h.originalStartLineNumber+(h.originalEndLineNumber>0?-1:0),N=h.modifiedStartLineNumber+(h.modifiedEndLineNumber>0?-1:0),ce=h.originalEndLineNumber>0?h.originalEndLineNumber-h.originalStartLineNumber+1:0,Be=h.modifiedEndLineNumber>0?h.modifiedEndLineNumber-h.modifiedStartLineNumber+1:0,Ge=n-N;return Ge<=Be?S+Math.min(Ge,ce):S+ce-Be+Ge},r.prototype.getDiffLineInformationForOriginal=function(n){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(n)}:null},r.prototype.getDiffLineInformationForModified=function(n){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(n)}:null},r.ONE_OVERVIEW_WIDTH=15,r.ENTIRE_DIFF_OVERVIEW_WIDTH=30,r.UPDATE_DIFF_DECORATIONS_DELAY=200,r=Ss([Jn(3,at.a),Jn(4,Sn.c),Jn(5,In.a),Jn(6,me.a),Jn(7,Mn.c),Jn(8,Hn.a),Jn(9,Xn.a),Jn(10,Ii.a)],r),r}(Rt.a),Nr=function(a){hi(r,a);function r(n){var h=a.call(this)||this;return h._dataSource=n,h._insertColor=null,h._removeColor=null,h}return r.prototype.applyColors=function(n){var h=(n.getColor(bn.j)||bn.g).transparent(2),S=(n.getColor(bn.l)||bn.h).transparent(2),N=!h.equals(this._insertColor)||!S.equals(this._removeColor);return this._insertColor=h,this._removeColor=S,N},r.prototype.getEditorsDiffDecorations=function(n,h,S,N,ce,Be,Ge){ce=ce.sort(function(Ft,jt){return Ft.afterLineNumber-jt.afterLineNumber}),N=N.sort(function(Ft,jt){return Ft.afterLineNumber-jt.afterLineNumber});var Ye=this._getViewZones(n,N,ce,Be,Ge,S),_t=this._getOriginalEditorDecorations(n,h,S,Be,Ge),Ot=this._getModifiedEditorDecorations(n,h,S,Be,Ge);return{original:{decorations:_t.decorations,overviewZones:_t.overviewZones,zones:Ye.original},modified:{decorations:Ot.decorations,overviewZones:Ot.overviewZones,zones:Ye.modified}}},r}(Rt.a),nr=function(){function a(r){this._source=r,this._index=-1,this.current=null,this.advance()}return a.prototype.advance=function(){this._index++,this._index0){var en=Yo[Yo.length-1];if(en.afterLineNumber===un.afterLineNumber&&en.domNode===null){en.heightInLines+=un.heightInLines;return}}Yo.push(un)},_t=new nr(this.modifiedForeignVZ),Ot=new nr(this.originalForeignVZ),Ft=0,jt=this.lineChanges.length;Ft<=jt;Ft++){var ro=Ft0?-1:0),N=ro.modifiedStartLineNumber+(ro.modifiedEndLineNumber>0?-1:0),h=ro.originalEndLineNumber>0?ro.originalEndLineNumber-ro.originalStartLineNumber+1:0,n=ro.modifiedEndLineNumber>0?ro.modifiedEndLineNumber-ro.modifiedStartLineNumber+1:0,ce=Math.max(ro.originalStartLineNumber,ro.originalEndLineNumber),Be=Math.max(ro.modifiedStartLineNumber,ro.modifiedEndLineNumber)):(S+=1e7+h,N+=1e7+n,ce=S,Be=N);for(var to=[],Yt=[];_t.current&&_t.current.afterLineNumber<=Be;){var Qt=void 0;_t.current.afterLineNumber<=N?Qt=S-N+_t.current.afterLineNumber:Qt=ce;var ho=null;ro&&ro.modifiedStartLineNumber<=_t.current.afterLineNumber&&_t.current.afterLineNumber<=ro.modifiedEndLineNumber&&(ho=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),to.push({afterLineNumber:Qt,heightInLines:_t.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:ho}),_t.advance()}for(;Ot.current&&Ot.current.afterLineNumber<=ce;){var Qt=void 0;Ot.current.afterLineNumber<=S?Qt=N-S+Ot.current.afterLineNumber:Qt=Be,Yt.push({afterLineNumber:Qt,heightInLines:Ot.current.height/this.originalLineHeight,domNode:null}),Ot.advance()}if(ro!==null&&fi(ro)){var So=this._produceOriginalFromDiff(ro,h,n);So&&to.push(So)}if(ro!==null&&ni(ro)){var So=this._produceModifiedFromDiff(ro,h,n);So&&Yt.push(So)}var To=0,Io=0;for(to=to.sort(Ge),Yt=Yt.sort(Ge);To=Ko.heightInLines?(ko.heightInLines-=Ko.heightInLines,Io++):(Ko.heightInLines-=ko.heightInLines,To++)}for(;Tor.MINIMUM_EDITOR_WIDTH*2?(NS-r.MINIMUM_EDITOR_WIDTH&&(N=S-r.MINIMUM_EDITOR_WIDTH)):N=ce,this._sashPosition!==N&&(this._sashPosition=N,this._sash.layout()),this._sashPosition},r.prototype.onSashDragStart=function(){this._startSashPosition=this._sashPosition},r.prototype.onSashDrag=function(n){var h=this._dataSource.getWidth(),S=h-or.ENTIRE_DIFF_OVERVIEW_WIDTH,N=this.layout((this._startSashPosition+(n.currentX-n.startX))/S);this._sashRatio=N/S,this._dataSource.relayoutEditors()},r.prototype.onSashDragEnd=function(){this._sash.layout()},r.prototype.onSashReset=function(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()},r.prototype.getVerticalSashTop=function(n){return 0},r.prototype.getVerticalSashLeft=function(n){return this._sashPosition},r.prototype.getVerticalSashHeight=function(n){return this._dataSource.getHeight()},r.prototype._getViewZones=function(n,h,S,N,ce){var Be=new Ms(n,h,N.getOption(49),S,ce.getOption(49));return Be.getViewZones()},r.prototype._getOriginalEditorDecorations=function(n,h,S,N,ce){for(var Be=String(this._removeColor),Ge={decorations:[],overviewZones:[]},Ye=N.getModel(),_t=0,Ot=n.length;_th?{afterLineNumber:Math.max(n.originalStartLineNumber,n.originalEndLineNumber),heightInLines:S-h,domNode:null}:null},r.prototype._produceModifiedFromDiff=function(n,h,S){return h>S?{afterLineNumber:Math.max(n.modifiedStartLineNumber,n.modifiedEndLineNumber),heightInLines:h-S,domNode:null}:null},r}(ir),Ni=function(a){hi(r,a);function r(n,h){var S=a.call(this,n)||this;return S.decorationsLeft=n.getOriginalEditor().getLayoutInfo().decorationsLeft,S._register(n.getOriginalEditor().onDidLayoutChange(function(N){S.decorationsLeft!==N.decorationsLeft&&(S.decorationsLeft=N.decorationsLeft,n.relayoutEditors())})),S}return r.prototype.setEnableSplitViewResizing=function(n){},r.prototype._getViewZones=function(n,h,S,N,ce,Be){var Ge=new Ds(n,h,S,N,ce,Be);return Ge.getViewZones()},r.prototype._getOriginalEditorDecorations=function(n,h,S,N,ce){for(var Be=String(this._removeColor),Ge={decorations:[],overviewZones:[]},Ye=0,_t=n.length;Ye<_t;Ye++){var Ot=n[Ye];ni(Ot)&&(Ge.decorations.push({range:new U.a(Ot.originalStartLineNumber,1,Ot.originalEndLineNumber,1073741824),options:An.lineDeleteMargin}),Ge.overviewZones.push(new Ai.a(Ot.originalStartLineNumber,Ot.originalEndLineNumber,Be)))}return Ge},r.prototype._getModifiedEditorDecorations=function(n,h,S,N,ce){for(var Be=String(this._insertColor),Ge={decorations:[],overviewZones:[]},Ye=ce.getModel(),_t=0,Ot=n.length;_t'])}Yt+=this.modifiedEditorOptions.get(79);var To=document.createElement("div");To.className="view-lines line-delete",To.innerHTML=Ye.build(),Ti.a.applyFontInfoSlow(To,Ft);var Io=document.createElement("div");return Io.className="inline-deleted-margin-view-zone",Io.innerHTML=_t.join(""),Ti.a.applyFontInfoSlow(Io,Ft),{shouldNotShrink:!0,afterLineNumber:n.modifiedEndLineNumber===0?n.modifiedStartLineNumber:n.modifiedStartLineNumber-1,heightInLines:h,minWidthInPx:Yt*to,domNode:To,marginDomNode:Io,diff:{originalStartLineNumber:n.originalStartLineNumber,originalEndLineNumber:n.originalEndLineNumber,modifiedStartLineNumber:n.modifiedStartLineNumber,modifiedEndLineNumber:n.modifiedEndLineNumber,originalContent:Qt}}},r.prototype._renderOriginalLine=function(n,h,S,N,ce,Be,Ge){var Ye=h.getLineTokens(ce),_t=Ye.getLineContent(),Ot=S.get(34),Ft=ws.a.filter(Be,ce,1,_t.length+1);Ge.appendASCIIString('
');var jt=Xt.d.isBasicASCII(_t,h.mightContainNonBasicASCII()),ro=Xt.d.containsRTL(_t,jt,h.mightContainRTL()),to=Object(Kt.d)(new Kt.c(Ot.isMonospace&&!S.get(23),Ot.canUseHalfwidthRightwardsArrow,_t,!1,jt,ro,0,Ye,Ft,N,0,Ot.spaceWidth,Ot.middotWidth,S.get(88),S.get(74),S.get(69),S.get(35)!==T.d.OFF,null),Ge);Ge.appendASCIIString("
");var Yt=to.characterMapping.getAbsoluteOffsets();return Yt.length>0?Yt[Yt.length-1]:0},r}(ir);function fi(a){return a.modifiedEndLineNumber>0}function ni(a){return a.originalEndLineNumber>0}function Os(){var a=document.createElement("div");return a.className="diagonal-fill",a}Object(Mn.e)(function(a,r){var n=a.getColor(bn.j);n&&(r.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { background-color: "+n+"; }"),r.addRule(".monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: "+n+"; }"),r.addRule(".monaco-editor .inline-added-margin-view-zone { background-color: "+n+"; }"));var h=a.getColor(bn.l);h&&(r.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { background-color: "+h+"; }"),r.addRule(".monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: "+h+"; }"),r.addRule(".monaco-editor .inline-deleted-margin-view-zone { background-color: "+h+"; }"));var S=a.getColor(bn.k);S&&r.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px "+(a.type==="hc"?"dashed":"solid")+" "+S+"; }");var N=a.getColor(bn.m);N&&r.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px "+(a.type==="hc"?"dashed":"solid")+" "+N+"; }");var ce=a.getColor(bn.Vb);ce&&r.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px "+ce+"; }");var Be=a.getColor(bn.i);Be&&r.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid "+Be+"; }")});var Ts=e("9Y+e"),Si=e("scqD"),Kn=e("fjLI"),ii=e("bexQ"),mi=e("R3nR"),xs=e("9XeP"),sr=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),ar=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},an=function(a,r){return function(n,h){r(n,h,a)}},As=function(){for(var a=0,r=0,n=arguments.length;r> to now point to mime <<"+n.mime+">>"),n.filename&&h.filename===n.filename&&console.warn("Overwriting filename <<"+n.filename+">> to now point to mime <<"+n.mime+">>"),n.filepattern&&h.filepattern===n.filepattern&&console.warn("Overwriting filepattern <<"+n.filepattern+">> to now point to mime <<"+n.mime+">>"),n.firstline&&h.firstline===n.firstline&&console.warn("Overwriting firstline <<"+n.firstline+">> to now point to mime <<"+n.mime+">>")})}function ur(a){return{id:a.id,mime:a.mime,filename:a.filename,extension:a.extension,filepattern:a.filepattern,firstline:a.firstline,userConfigured:a.userConfigured,filenameLowercase:a.filename?a.filename.toLowerCase():void 0,extensionLowercase:a.extension?a.extension.toLowerCase():void 0,filepatternLowercase:a.filepattern?a.filepattern.toLowerCase():void 0,filepatternOnPath:a.filepattern?a.filepattern.indexOf(dr.posix.sep)>=0:!1}}function Li(a,r){var n;if(a)switch(a.scheme){case Ee.b.file:n=a.fsPath;break;case Ee.b.data:var h=ve.a.parseMetaData(a);n=h.get(ve.a.META_DATA_LABEL);break;default:n=a.path}if(!n)return[Pr];n=n.toLowerCase();var S=Object(dr.basename)(n),N=Wr(n,S,Fr);if(N)return[N,ki];var ce=Wr(n,S,kr);if(ce)return[ce,ki];if(r){var Be=ri(r);if(Be)return[Be,ki]}return[Pr]}function Wr(a,r,n){for(var h=null,S=null,N=null,ce=n.length-1;ce>=0;ce--){var Be=n[ce];if(r===Be.filenameLowercase){h=Be;break}if(Be.filepattern&&(!S||Be.filepattern.length>S.filepattern.length)){var Ge=Be.filepatternOnPath?a:r;Object(cr.a)(Be.filepatternLowercase,Ge)&&(S=Be)}Be.extension&&((!N||Be.extension.length>N.extension.length)&&(Object(eo.m)(r,Be.extensionLowercase)&&(N=Be)))}return h?h.mime:S?S.mime:N?N.mime:null}function ri(a){if(Object(eo.P)(a)&&(a=a.substr(1)),a.length>0)for(var r=Fi.length-1;r>=0;r--){var n=Fi[r];if(!n.firstline)continue;var h=a.match(n.firstline);if(h&&h.length>0)return n.mime}return null}var gi=e("MqQJ"),hr=e("ic2d"),ks=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),ei=Object.prototype.hasOwnProperty,Fs=function(a){ks(r,a);function r(n,h){n===void 0&&(n=!0),h===void 0&&(h=!1);var S=a.call(this)||this;return S._onDidChange=S._register(new I.a),S.onDidChange=S._onDidChange.event,S._warnOnOverwrite=h,S._nextLanguageId2=1,S._languageIdToLanguage=[],S._languageToLanguageId=Object.create(null),S._languages={},S._mimeTypesMap={},S._nameMap={},S._lowercaseNameMap={},n&&(S._initializeFromRegistry(),S._register(gi.a.onDidChangeLanguages(function(N){return S._initializeFromRegistry()}))),S}return r.prototype._initializeFromRegistry=function(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};var n=gi.a.getLanguages();this._registerLanguages(n)},r.prototype._registerLanguages=function(n){for(var h=this,S=0,N=n;S0&&((S=n.mimetypes).push.apply(S,h.mimetypes),ce=h.mimetypes[0]),ce||(ce="text/x-"+N,n.mimetypes.push(ce)),Array.isArray(h.extensions))for(var Be=0,Ge=h.extensions;Be0){var Yt=h.firstLine;Yt.charAt(0)!=="^"&&(Yt="^"+Yt);try{var Qt=new RegExp(Yt);eo.I(Qt)||pi({id:N,mime:ce,firstline:Qt},this._warnOnOverwrite)}catch(ln){Object(Ct.e)(ln)}}n.aliases.push(N);var ho=null;if(typeof h.aliases!="undefined"&&Array.isArray(h.aliases)&&(h.aliases.length===0?ho=[null]:ho=h.aliases),ho!==null)for(var So=0,To=ho;So0;if(!(ko&&ho[0]===null)){var Ko=(ko?ho[0]:null)||N;(ko||!n.name)&&(n.name=Ko)}h.configuration&&n.configurationFiles.push(h.configuration)},r.prototype.isRegisteredMode=function(n){return ei.call(this._mimeTypesMap,n)?!0:ei.call(this._languages,n)},r.prototype.getModeIdForLanguageNameLowercase=function(n){return ei.call(this._lowercaseNameMap,n)?this._lowercaseNameMap[n].language:null},r.prototype.extractModeIds=function(n){var h=this;return n?n.split(",").map(function(S){return S.trim()}).map(function(S){return ei.call(h._mimeTypesMap,S)?h._mimeTypesMap[S].language:S}).filter(function(S){return ei.call(h._languages,S)}):[]},r.prototype.getLanguageIdentifier=function(n){if(n===At.b||n===0)return At.a;var h;if(typeof n=="string")h=n;else if(h=this._languageIdToLanguage[n],!h)return null;return ei.call(this._languages,h)?this._languages[h].identifier:null},r.prototype.getModeIdsFromFilepathOrFirstLine=function(n,h){if(!n&&!h)return[];var S=Li(n,h);return this.extractModeIds(S.join(","))},r}(Rt.a),Ws=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),Br=function(a){Ws(r,a);function r(n,h){var S=a.call(this)||this;return S._onDidChange=S._register(new I.a),S.onDidChange=S._onDidChange.event,S._selector=h,S.languageIdentifier=S._selector(),S._register(n(function(){return S._evaluate()})),S}return r.prototype._evaluate=function(){var n=this._selector();if(n.id===this.languageIdentifier.id)return;this.languageIdentifier=n,this._onDidChange.fire(this.languageIdentifier)},r}(Rt.a),Bs=function(){function a(r){var n=this;r===void 0&&(r=!1),this._onDidCreateMode=new I.a,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new I.a,this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new Fs(!0,r),this._registry.onDidChange(function(){return n._onLanguagesMaybeChanged.fire()})}return a.prototype.isRegisteredMode=function(r){return this._registry.isRegisteredMode(r)},a.prototype.getModeIdForLanguageName=function(r){return this._registry.getModeIdForLanguageNameLowercase(r)},a.prototype.getModeIdByFilepathOrFirstLine=function(r,n){var h=this._registry.getModeIdsFromFilepathOrFirstLine(r,n);return Object(lt.l)(h,null)},a.prototype.getModeId=function(r){var n=this._registry.extractModeIds(r);return Object(lt.l)(n,null)},a.prototype.getLanguageIdentifier=function(r){return this._registry.getLanguageIdentifier(r)},a.prototype.create=function(r){var n=this;return new Br(this.onLanguagesMaybeChanged,function(){var h=n.getModeId(r);return n._createModeAndGetLanguageIdentifier(h)})},a.prototype.createByFilepathOrFirstLine=function(r,n){var h=this;return new Br(this.onLanguagesMaybeChanged,function(){var S=h.getModeIdByFilepathOrFirstLine(r,n);return h._createModeAndGetLanguageIdentifier(S)})},a.prototype._createModeAndGetLanguageIdentifier=function(r){var n=this.getLanguageIdentifier(r||"plaintext")||At.a;return this._getOrCreateMode(n.language),n},a.prototype.triggerMode=function(r){var n=this.getModeId(r);this._getOrCreateMode(n||"plaintext")},a.prototype._getOrCreateMode=function(r){if(!this._instantiatedModes.hasOwnProperty(r)){var n=this.getLanguageIdentifier(r)||At.a;this._instantiatedModes[r]=new Pi(n),this._onDidCreateMode.fire(this._instantiatedModes[r])}return this._instantiatedModes[r]},a}(),Ur=e("QRHv"),vi=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),Us=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},Wi=function(a,r){return function(n,h){r(n,h,a)}};function Bi(a){return a.toString()}var V=function(){function a(r,n,h){this._modelEventListeners=new Rt.b,this.model=r,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(r.onWillDispose(function(){return n(r)})),this._modelEventListeners.add(r.onDidChangeLanguage(function(S){return h(r,S)}))}return a.prototype._disposeLanguageSelection=function(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)},a.prototype.dispose=function(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()},a.prototype.setLanguage=function(r){var n=this;this._disposeLanguageSelection(),this._languageSelection=r,this._languageSelectionListener=this._languageSelection.onDidChange(function(){return n.model.setMode(r.languageIdentifier)}),this.model.setMode(r.languageIdentifier)},a}(),o=gt.d||gt.e?1:2,t=function(a){vi(r,a);function r(n,h,S,N){var ce=a.call(this)||this;return ce._onModelAdded=ce._register(new I.a),ce.onModelAdded=ce._onModelAdded.event,ce._onModelRemoved=ce._register(new I.a),ce.onModelRemoved=ce._onModelRemoved.event,ce._onModelModeChanged=ce._register(new I.a),ce.onModelModeChanged=ce._onModelModeChanged.event,ce._configurationService=n,ce._resourcePropertiesService=h,ce._models={},ce._modelCreationOptionsByLanguageAndResource=Object.create(null),ce._configurationServiceSubscription=ce._configurationService.onDidChangeConfiguration(function(Be){return ce._updateModelOptions()}),ce._updateModelOptions(),ce._register(new i(ce,S,n,N)),ce}return r._readModelOptions=function(n,h){var S=T.c.tabSize;if(n.editor&&typeof n.editor.tabSize!="undefined"){var N=parseInt(n.editor.tabSize,10);isNaN(N)||(S=N),S<1&&(S=1)}var ce=S;if(n.editor&&typeof n.editor.indentSize!="undefined"&&n.editor.indentSize!=="tabSize"){var Be=parseInt(n.editor.indentSize,10);isNaN(Be)||(ce=Be),ce<1&&(ce=1)}var Ge=T.c.insertSpaces;n.editor&&typeof n.editor.insertSpaces!="undefined"&&(Ge=n.editor.insertSpaces==="false"?!1:Boolean(n.editor.insertSpaces));var Ye=o,_t=n.eol;_t===`\r `?Ye=2:_t===` -`&&(Ye=1);var Ot=T.c.trimAutoWhitespace;n.editor&&typeof n.editor.trimAutoWhitespace!="undefined"&&(Ot=n.editor.trimAutoWhitespace==="false"?!1:Boolean(n.editor.trimAutoWhitespace));var Ft=T.c.detectIndentation;n.editor&&typeof n.editor.detectIndentation!="undefined"&&(Ft=n.editor.detectIndentation==="false"?!1:Boolean(n.editor.detectIndentation));var jt=T.c.largeFileOptimizations;return n.editor&&typeof n.editor.largeFileOptimizations!="undefined"&&(jt=n.editor.largeFileOptimizations==="false"?!1:Boolean(n.editor.largeFileOptimizations)),{isForSimpleWidget:h,tabSize:S,indentSize:ce,insertSpaces:Ge,detectIndentation:Ft,defaultEOL:Ye,trimAutoWhitespace:Ot,largeFileOptimizations:jt}},r.prototype.getCreationOptions=function(n,h,S){var N=this._modelCreationOptionsByLanguageAndResource[n+h];if(!N){var ce=this._configurationService.getValue("editor",{overrideIdentifier:n,resource:h}),Be=this._resourcePropertiesService.getEOL(h,n);N=r._readModelOptions({editor:ce,eol:Be},S),this._modelCreationOptionsByLanguageAndResource[n+h]=N}return N},r.prototype._updateModelOptions=function(){var n=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);for(var h=Object.keys(this._models),S=0,N=h.length;S=this._growCount){var S=this._elements;this._currentLengthIndex++,this._currentLength=a._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+10&&Ge>1;var Ye=this._themeService.getTheme().getTokenStyleMetadata(N,ce);if(typeof Ye=="undefined")S=2147483647;else{if(S=0,typeof Ye.italic!="undefined"){var _t=(Ye.italic?1:0)<<11;S|=_t|1}if(typeof Ye.bold!="undefined"){var Ot=(Ye.bold?2:0)<<11;S|=Ot|2}if(typeof Ye.underline!="undefined"){var Ft=(Ye.underline?4:0)<<11;S|=Ft|4}if(Ye.foreground){var jt=Ye.foreground<<14;S|=jt|8}S===0&&(S=2147483647)}this._hashTable.add(r,n,S)}if(this._logService.getLevel()===dt.b.Trace){var ro=this._legend.tokenTypes[r],to=n?" "+this._legend.tokenModifiers.filter(function(Yt,Qt){return n&1<0&&(n._fetchSemanticTokens.isScheduled()||n._fetchSemanticTokens.schedule())})},r._isSemanticTokens=function(n){return n&&!!n.data},r._isSemanticTokensEdits=function(n){return n&&Array.isArray(n.edits)},r._copy=function(n,h,S,N,ce){for(var Be=0;Be=0;to--){var _t=h.edits[to],Yt=jt-(_t.start+_t.deleteCount);Yt>0&&(r._copy(Ot,jt-Yt,Ft,ro-Yt,Yt),ro-=Yt),_t.data&&(r._copy(_t.data,0,Ft,ro-_t.data.length,_t.data.length),ro-=_t.data.length),jt=_t.start}jt>0&&r._copy(Ot,0,Ft,0,jt),h={resultId:h.resultId,data:Ft}}}if(r._isSemanticTokens(h)){this._currentResponse=new Le(n,h.resultId,h.data);for(var Ot=h.data,Qt=h.data.length/5|0,ho=Math.max(Math.ceil(Qt/1024),400),So=[],To=0,Io=1,ko=0;ToKo&&Ot[5*wn]===0;)wn--;if(wn-1===Ko){for(var qo=ln;qo+10){for(var qs=0,Ra=N;qs0?n[0]:null},r}(Rt.a),ct=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),wt=function(a){ct(r,a);function r(){var n=a.call(this)||this;return n._onCodeEditorAdd=n._register(new I.a),n.onCodeEditorAdd=n._onCodeEditorAdd.event,n._onCodeEditorRemove=n._register(new I.a),n.onCodeEditorRemove=n._onCodeEditorRemove.event,n._onDiffEditorAdd=n._register(new I.a),n._onDiffEditorRemove=n._register(new I.a),n._codeEditors=Object.create(null),n._diffEditors=Object.create(null),n}return r.prototype.addCodeEditor=function(n){this._codeEditors[n.getId()]=n,this._onCodeEditorAdd.fire(n)},r.prototype.removeCodeEditor=function(n){delete this._codeEditors[n.getId()]&&this._onCodeEditorRemove.fire(n)},r.prototype.listCodeEditors=function(){var n=this;return Object.keys(this._codeEditors).map(function(h){return n._codeEditors[h]})},r.prototype.addDiffEditor=function(n){this._diffEditors[n.getId()]=n,this._onDiffEditorAdd.fire(n)},r.prototype.removeDiffEditor=function(n){delete this._diffEditors[n.getId()]&&this._onDiffEditorRemove.fire(n)},r.prototype.listDiffEditors=function(){var n=this;return Object.keys(this._diffEditors).map(function(h){return n._diffEditors[h]})},r.prototype.getFocusedCodeEditor=function(){for(var n=null,h=this.listCodeEditors(),S=0,N=h;S=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},kt=function(a,r){return function(n,h){r(n,h,a)}},Vt=function(){function a(r,n,h){this._parent=r,this._editorId=n,this.styleSheet=h,this._refCount=0}return a.prototype.ref=function(){this._refCount++},a.prototype.unref=function(){var r;this._refCount--,this._refCount===0&&((r=this.styleSheet.parentNode)===null||r===void 0||r.removeChild(this.styleSheet),this._parent._removeEditorStyleSheets(this._editorId))},a}(),qt=function(){function a(r){this.styleSheet=r}return a.prototype.ref=function(){},a.prototype.unref=function(){},a}(),$t=function(a){et(r,a);function r(n,h){h===void 0&&(h=null);var S=a.call(this)||this;return S._decorationOptionProviders=new Map,S._editorStyleSheets=new Map,S._globalStyleSheet=h?new qt(h):null,S._themeService=n,S}return r.prototype._getOrCreateGlobalStyleSheet=function(){return this._globalStyleSheet||(this._globalStyleSheet=new qt(ge.w())),this._globalStyleSheet},r.prototype._getOrCreateStyleSheet=function(n){if(!n)return this._getOrCreateGlobalStyleSheet();var h=n.getContainerDomNode();if(!ge.N(h))return this._getOrCreateGlobalStyleSheet();var S=n.getId();if(!this._editorStyleSheets.has(S)){var N=new Vt(this,S,ge.w(h));this._editorStyleSheets.set(S,N)}return this._editorStyleSheets.get(S)},r.prototype._removeEditorStyleSheets=function(n){this._editorStyleSheets.delete(n)},r.prototype.registerDecorationType=function(n,h,S,N){var ce=this._decorationOptionProviders.get(n);if(!ce){var Be=this._getOrCreateStyleSheet(N),Ge={styleSheet:Be.styleSheet,key:n,parentTypeKey:S,options:h||Object.create(null)};S?ce=new io(this._themeService,Be,Ge):ce=new yo(this._themeService,Be,Ge),this._decorationOptionProviders.set(n,ce)}ce.refCount++},r.prototype.removeDecorationType=function(n){var h=this._decorationOptionProviders.get(n);h&&(h.refCount--,h.refCount<=0&&(this._decorationOptionProviders.delete(n),h.dispose(),this.listCodeEditors().forEach(function(S){return S.removeDecorations(n)})))},r.prototype.resolveDecorationOptions=function(n,h){var S=this._decorationOptionProviders.get(n);if(!S)throw new Error("Unknown decoration type key: "+n);return S.getOptions(this,h)},r=Wt([kt(0,Mn.c)],r),r}(wt),io=function(){function a(r,n,h){this._styleSheet=n,this._styleSheet.ref(),this._parentTypeKey=h.parentTypeKey,this.refCount=0,this._beforeContentRules=new bo(3,h,r),this._afterContentRules=new bo(4,h,r)}return a.prototype.getOptions=function(r,n){var h=r.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(h.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(h.afterContentClassName=this._afterContentRules.className),h},a.prototype.dispose=function(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()},a}(),yo=function(){function a(r,n,h){var S=this;this._disposables=new Rt.b,this._styleSheet=n,this._styleSheet.ref(),this.refCount=0;var N=function(Ft){var jt=new bo(Ft,h,r);return S._disposables.add(jt),jt.hasContent?jt.className:void 0},ce=function(Ft){var jt=new bo(Ft,h,r);return S._disposables.add(jt),jt.hasContent?{className:jt.className,hasLetterSpacing:jt.hasLetterSpacing}:null};this.className=N(0);var Be=ce(1);Be&&(this.inlineClassName=Be.className,this.inlineClassNameAffectsLetterSpacing=Be.hasLetterSpacing),this.beforeContentClassName=N(3),this.afterContentClassName=N(4),this.glyphMarginClassName=N(2);var Ge=h.options;this.isWholeLine=Boolean(Ge.isWholeLine),this.stickiness=Ge.rangeBehavior;var Ye=Ge.light&&Ge.light.overviewRulerColor||Ge.overviewRulerColor,_t=Ge.dark&&Ge.dark.overviewRulerColor||Ge.overviewRulerColor;(typeof Ye!="undefined"||typeof _t!="undefined")&&(this.overviewRuler={color:Ye||_t,darkColor:_t||Ye,position:Ge.overviewRulerLane||ft.d.Center})}return a.prototype.getOptions=function(r,n){return n?{inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness}:this},a.prototype.dispose=function(){this._disposables.dispose(),this._styleSheet.unref()},a}(),mo={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"},bo=function(){function a(r,n,h){var S=this;this._theme=h.getTheme(),this._ruleType=r,this._providerArgs=n,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;var N=go.getClassName(this._providerArgs.key,r);this._providerArgs.parentTypeKey&&(N=N+" "+go.getClassName(this._providerArgs.parentTypeKey,r)),this._className=N,this._unThemedSelector=go.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,r),this._buildCSS(),this._usesThemeColors?this._themeListener=h.onThemeChange(function(ce){S._theme=h.getTheme(),S._removeCSS(),S._buildCSS()}):this._themeListener=null}return a.prototype.dispose=function(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)},Object.defineProperty(a.prototype,"hasContent",{get:function(){return this._hasContent},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"hasLetterSpacing",{get:function(){return this._hasLetterSpacing},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"className",{get:function(){return this._className},enumerable:!0,configurable:!0}),a.prototype._buildCSS=function(){var r=this._providerArgs.options,n,h,S;switch(this._ruleType){case 0:n=this.getCSSTextForModelDecorationClassName(r),h=this.getCSSTextForModelDecorationClassName(r.light),S=this.getCSSTextForModelDecorationClassName(r.dark);break;case 1:n=this.getCSSTextForModelDecorationInlineClassName(r),h=this.getCSSTextForModelDecorationInlineClassName(r.light),S=this.getCSSTextForModelDecorationInlineClassName(r.dark);break;case 2:n=this.getCSSTextForModelDecorationGlyphMarginClassName(r),h=this.getCSSTextForModelDecorationGlyphMarginClassName(r.light),S=this.getCSSTextForModelDecorationGlyphMarginClassName(r.dark);break;case 3:n=this.getCSSTextForModelDecorationContentClassName(r.before),h=this.getCSSTextForModelDecorationContentClassName(r.light&&r.light.before),S=this.getCSSTextForModelDecorationContentClassName(r.dark&&r.dark.before);break;case 4:n=this.getCSSTextForModelDecorationContentClassName(r.after),h=this.getCSSTextForModelDecorationContentClassName(r.light&&r.light.after),S=this.getCSSTextForModelDecorationContentClassName(r.dark&&r.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}var N=this._providerArgs.styleSheet.sheet,ce=!1;n.length>0&&(N.insertRule(this._unThemedSelector+" {"+n+"}",0),ce=!0),h.length>0&&(N.insertRule(".vs"+this._unThemedSelector+" {"+h+"}",0),ce=!0),S.length>0&&(N.insertRule(".vs-dark"+this._unThemedSelector+", .hc-black"+this._unThemedSelector+" {"+S+"}",0),ce=!0),this._hasContent=ce},a.prototype._removeCSS=function(){ge.O(this._unThemedSelector,this._providerArgs.styleSheet)},a.prototype.getCSSTextForModelDecorationClassName=function(r){if(!r)return"";var n=[];return this.collectCSSText(r,["backgroundColor"],n),this.collectCSSText(r,["outline","outlineColor","outlineStyle","outlineWidth"],n),this.collectBorderSettingsCSSText(r,n),n.join("")},a.prototype.getCSSTextForModelDecorationInlineClassName=function(r){if(!r)return"";var n=[];return this.collectCSSText(r,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],n),r.letterSpacing&&(this._hasLetterSpacing=!0),n.join("")},a.prototype.getCSSTextForModelDecorationContentClassName=function(r){if(!r)return"";var n=[];if(typeof r!="undefined"){if(this.collectBorderSettingsCSSText(r,n),typeof r.contentIconPath!="undefined"&&n.push(eo.r(mo.contentIconPath,ge.r(z.a.revive(r.contentIconPath)))),typeof r.contentText=="string"){var h=r.contentText.match(/^.*$/m)[0],S=h.replace(/['\\]/g,"\\$&");n.push(eo.r(mo.contentText,S))}this.collectCSSText(r,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],n),this.collectCSSText(r,["width","height"],n)&&n.push("display:inline-block;")}return n.join("")},a.prototype.getCSSTextForModelDecorationGlyphMarginClassName=function(r){if(!r)return"";var n=[];return typeof r.gutterIconPath!="undefined"&&(n.push(eo.r(mo.gutterIconPath,ge.r(z.a.revive(r.gutterIconPath)))),typeof r.gutterIconSize!="undefined"&&n.push(eo.r(mo.gutterIconSize,r.gutterIconSize))),n.join("")},a.prototype.collectBorderSettingsCSSText=function(r,n){return this.collectCSSText(r,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],n)?(n.push(eo.r("box-sizing: border-box;")),!0):!1},a.prototype.collectCSSText=function(r,n,h){for(var S=h.length,N=0,ce=n;N=1&&a[0].token==="";){var N=a.shift();N.fontStyle!==-1&&(n=N.fontStyle),N.foreground!==null&&(h=N.foreground),N.background!==null&&(S=N.background)}for(var ce=new cn,Be=0,Ge=r;Be>>0,this._cache.set(n,h)}return(h|r<<0)>>>0},a}(),hn=/\b(comment|string|regex|regexp)\b/;function Wn(a){var r=a.match(hn);if(!r)return 0;switch(r[1]){case"comment":return 1;case"string":return 2;case"regex":return 4;case"regexp":return 4}throw new Error("Unexpected match for standard token type!")}function Fn(a,r){return ar?1:0}var Hi=function(){function a(r,n,h){this._fontStyle=r,this._foreground=n,this._background=h,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}return a.prototype.clone=function(){return new a(this._fontStyle,this._foreground,this._background)},a.prototype.acceptOverwrite=function(r,n,h){r!==-1&&(this._fontStyle=r),n!==0&&(this._foreground=n),h!==0&&(this._background=h),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0},a}(),fr=function(){function a(r){this._mainRule=r,this._children=new Map}return a.prototype.match=function(r){if(r==="")return this._mainRule;var n=r.indexOf("."),h,S;n===-1?(h=r,S=""):(h=r.substring(0,n),S=r.substring(n+1));var N=this._children.get(h);return typeof N!="undefined"?N.match(S):this._mainRule},a.prototype.insert=function(r,n,h,S){if(r===""){this._mainRule.acceptOverwrite(n,h,S);return}var N=r.indexOf("."),ce,Be;N===-1?(ce=r,Be=""):(ce=r.substring(0,N),Be=r.substring(N+1));var Ge=this._children.get(ce);typeof Ge=="undefined"&&(Ge=new a(this._mainRule.clone()),this._children.set(ce,Ge)),Ge.insert(Be,n,h,S)},a}();function Ur(a){for(var r=[],n=1,h=a.length;n0?(this.id=h+" "+r,this.themeName=r):(this.id=h,this.themeName=h),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}return Object.defineProperty(a.prototype,"base",{get:function(){return this.themeData.base},enumerable:!0,configurable:!0}),a.prototype.notifyBaseUpdated=function(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)},a.prototype.getColors=function(){if(!this.colors){var r=new Map;for(var n in this.themeData.colors)r.set(n,Fo.a.fromHex(this.themeData.colors[n]));if(this.themeData.inherit){var h=Vs(this.themeData.base);for(var n in h.colors)r.has(n)||r.set(n,Fo.a.fromHex(h.colors[n]))}this.colors=r}return this.colors},a.prototype.getColor=function(r,n){var h=this.getColors().get(r);return h||(n!==!1?this.getDefault(r):void 0)},a.prototype.getDefault=function(r){var n=this.defaultColors[r];return n||(n=Ba.resolveDefaultColor(r,this),this.defaultColors[r]=n,n)},a.prototype.defines=function(r){return Object.prototype.hasOwnProperty.call(this.getColors(),r)},Object.defineProperty(a.prototype,"type",{get:function(){switch(this.base){case Mi:return"light";case mr:return"hc";default:return"dark"}},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"tokenTheme",{get:function(){if(!this._tokenTheme){var n=[],h=[];if(this.themeData.inherit){var S=Vs(this.themeData.base);n=S.rules,S.encodedTokensColors&&(h=S.encodedTokensColors)}n=n.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(h=this.themeData.encodedTokensColors),this._tokenTheme=Nn.createFromRawTokenTheme(n,h)}return this._tokenTheme},enumerable:!0,configurable:!0}),a.prototype.getTokenStyleMetadata=function(r,n){return},a}();function Us(a){return a===Mi||a===Vr||a===mr}function Vs(a){switch(a){case Mi:return Pa;case Vr:return ka;case mr:return Fa}}function zs(a){var r=Vs(a);return new la(a,r)}var Ua=function(a){Wa(r,a);function r(){var n=a.call(this)||this;return n._onThemeChange=n._register(new I.a),n.onThemeChange=n._onThemeChange.event,n._environment=Object.create(null),n._knownThemes=new Map,n._knownThemes.set(Mi,zs(Mi)),n._knownThemes.set(Vr,zs(Vr)),n._knownThemes.set(mr,zs(mr)),n._css="",n._globalStyleElement=null,n._styleElements=[],n.setTheme(Mi),n}return r.prototype.registerEditorContainer=function(n){return ge.N(n)?this._registerShadowDomContainer(n):this._registerRegularEditorContainer()},r.prototype._registerRegularEditorContainer=function(){return this._globalStyleElement||(this._globalStyleElement=ge.w(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.innerHTML=this._css,this._styleElements.push(this._globalStyleElement)),Rt.a.None},r.prototype._registerShadowDomContainer=function(n){var h=this,S=ge.w(n);return S.className="monaco-colors",S.innerHTML=this._css,this._styleElements.push(S),{dispose:function(){for(var ce=0;ce=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},za=function(a,r){return function(n,h){r(n,h,a)}},Kr="data-keybinding-context",Ks=function(){function a(r,n){this._id=r,this._parent=n,this._value=Object.create(null),this._value._contextId=r}return a.prototype.setValue=function(r,n){return this._value[r]!==n?(this._value[r]=n,!0):!1},a.prototype.removeValue=function(r){return r in this._value?(delete this._value[r],!0):!1},a.prototype.getValue=function(r){var n=this._value[r];return typeof n=="undefined"&&this._parent?this._parent.getValue(r):n},a}(),Gr=function(a){zr(r,a);function r(){return a.call(this,-1,null)||this}return r.prototype.setValue=function(n,h){return!1},r.prototype.removeValue=function(n){return!1},r.prototype.getValue=function(n){return},r.INSTANCE=new r,r}(Ks),Ka=function(a){zr(r,a);function r(n,h,S){var N=a.call(this,n,null)||this;return N._configurationService=h,N._values=new Map,N._listener=N._configurationService.onDidChangeConfiguration(function(ce){if(ce.source===6){var Be=Object($n.d)(N._values);N._values.clear(),S.fire(new ca(Be))}else{for(var Ge=[],Ye=0,_t=ce.affectedKeys;Ye<_t.length;Ye++){var Ot=_t[Ye],Ft="config."+Ot;N._values.has(Ft)&&(N._values.delete(Ft),Ge.push(Ft))}S.fire(new ca(Ge))}}),N}return r.prototype.dispose=function(){this._listener.dispose()},r.prototype.getValue=function(n){if(n.indexOf(r._keyPrefix)!==0)return a.prototype.getValue.call(this,n);if(this._values.has(n))return this._values.get(n);var h=n.substr(r._keyPrefix.length),S=this._configurationService.getValue(h),N=void 0;switch(typeof S){case"number":case"boolean":case"string":N=S;break}return this._values.set(n,N),N},r.prototype.setValue=function(n,h){return a.prototype.setValue.call(this,n,h)},r.prototype.removeValue=function(n){return a.prototype.removeValue.call(this,n)},r._keyPrefix="config.",r}(Ks),Ga=function(){function a(r,n,h){this._service=r,this._key=n,this._defaultValue=h,this.reset()}return a.prototype.set=function(r){this._service.setContext(this._key,r)},a.prototype.reset=function(){typeof this._defaultValue=="undefined"?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)},a.prototype.get=function(){return this._service.getContextKeyValue(this._key)},a}(),da=function(){function a(r){this.key=r}return a.prototype.affectsSome=function(r){return r.has(this.key)},a}(),ca=function(){function a(r){this.keys=r}return a.prototype.affectsSome=function(r){for(var n=0,h=this.keys;n=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},pr=function(a,r){return function(n,h){r(n,h,a)}},nl=function(a){tl(r,a);function r(n,h,S,N,ce){var Be=a.call(this)||this;return Be._onDidContextMenu=Be._register(new I.a),Be.contextMenuHandler=new el(S,n,h,N,ce),Be}return r.prototype.configure=function(n){this.contextMenuHandler.configure(n)},r.prototype.showContextMenu=function(n){this.contextMenuHandler.showContextMenu(n),this._onDidContextMenu.fire()},r=ol([pr(0,Gs.a),pr(1,Un.a),pr(2,Xn.b),pr(3,ii.a),pr(4,Mn.c)],r),r}(Rt.a),nc=e("TT2d"),il=e("nuFA"),rl=e("CjF5"),sl=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}();function fa(a,r,n){var h=n.offset+n.size;return n.position===0?r<=a-h?h:r<=n.offset?n.offset-r:Math.max(a-r,0):r<=n.offset?n.offset-r:r<=a-h?h:0}var al=function(a){sl(r,a);function r(n){var h=a.call(this)||this;return h.container=null,h.delegate=null,h.toDisposeOnClean=Rt.a.None,h.toDisposeOnSetContainer=Rt.a.None,h.view=ge.a(".context-view"),ge.J(h.view),h.setContainer(n),h._register(Object(Rt.h)(function(){return h.setContainer(null)})),h}return r.prototype.setContainer=function(n){var h=this;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.container.removeChild(this.view),this.container=null),n){this.container=n,this.container.appendChild(this.view);var S=new Rt.b;r.BUBBLE_UP_EVENTS.forEach(function(N){S.add(ge.o(h.container,N,function(ce){h.onDOMEvent(ce,!1)}))}),r.BUBBLE_DOWN_EVENTS.forEach(function(N){S.add(ge.o(h.container,N,function(ce){h.onDOMEvent(ce,!0)},!0))}),this.toDisposeOnSetContainer=S}},r.prototype.show=function(n){this.isVisible()&&this.hide(),ge.t(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",ge.X(this.view),this.toDisposeOnClean=n.render(this.view)||Rt.a.None,this.delegate=n,this.doLayout(),this.delegate.focus&&this.delegate.focus()},r.prototype.layout=function(){if(!this.isVisible())return;if(this.delegate.canRelayout===!1&&!(gt.c&&rl.a.pointerEvents)){this.hide();return}this.delegate.layout&&this.delegate.layout(),this.doLayout()},r.prototype.doLayout=function(){if(!this.isVisible())return;var n=this.delegate.getAnchor(),h;if(ge.L(n)){var S=ge.C(n);h={top:S.top,left:S.left,width:S.width,height:S.height}}else h={top:n.y,left:n.x,width:n.width||1,height:n.height||2};var N=ge.H(this.view),ce=ge.G(this.view),Be=this.delegate.anchorPosition||0,Ge=this.delegate.anchorAlignment||0,Ye={offset:h.top-window.pageYOffset,size:h.height,position:Be===0?0:1},_t;Ge===0?_t={offset:h.left,size:0,position:0}:_t={offset:h.left+h.width,size:0,position:1};var Ot=fa(window.innerHeight,ce,Ye)+window.pageYOffset;il.a.intersects({start:Ot,end:Ot+ce},{start:Ye.offset,end:Ye.offset+Ye.size})&&(_t.size=h.width,Ge===1&&(_t.offset=h.left));var Ft=fa(window.innerWidth,N,_t);ge.Q(this.view,"top","bottom","left","right"),ge.f(this.view,Be===0?"bottom":"top"),ge.f(this.view,Ge===0?"left":"right");var jt=ge.C(this.container);this.view.style.top=Ot-jt.top+"px",this.view.style.left=Ft-jt.left+"px",this.view.style.width="initial"},r.prototype.hide=function(n){var h=this.delegate;this.delegate=null,(h==null?void 0:h.onHide)&&h.onHide(n),this.toDisposeOnClean.dispose(),ge.J(this.view)},r.prototype.isVisible=function(){return!!this.delegate},r.prototype.onDOMEvent=function(n,h){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(n,document.activeElement):h&&!ge.K(n.target,this.container)&&this.hide())},r.prototype.dispose=function(){this.hide(),a.prototype.dispose.call(this)},r.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],r.BUBBLE_DOWN_EVENTS=["click"],r}(Rt.a),ma=Object(In.c)("layoutService"),ll=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),dl=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},cl=function(a,r){return function(n,h){r(n,h,a)}},ul=function(a){ll(r,a);function r(n){var h=a.call(this)||this;return h.layoutService=n,h.contextView=h._register(new al(n.container)),h.layout(),h._register(n.onLayout(function(){return h.layout()})),h}return r.prototype.setContainer=function(n){this.contextView.setContainer(n)},r.prototype.showContextView=function(n){this.contextView.show(n)},r.prototype.layout=function(){this.contextView.layout()},r.prototype.hideContextView=function(n){this.contextView.hide(n)},r=dl([cl(0,ma)],r),r}(Rt.a),hl=Object(In.c)("dialogService"),Xs=e("vl9R");function fl(a){return{data:a,incoming:Object.create(null),outgoing:Object.create(null)}}var ml=function(){function a(r){this._hashFn=r,this._nodes=Object.create(null)}return a.prototype.roots=function(){var r=[];return Object(Xs.c)(this._nodes,function(n){Object(bt.f)(n.value.outgoing)&&r.push(n.value)}),r},a.prototype.insertEdge=function(r,n){var h=this.lookupOrInsertNode(r),S=this.lookupOrInsertNode(n);h.outgoing[this._hashFn(n)]=S,S.incoming[this._hashFn(r)]=h},a.prototype.removeNode=function(r){var n=this._hashFn(r);delete this._nodes[n],Object(Xs.c)(this._nodes,function(h){delete h.value.outgoing[n],delete h.value.incoming[n]})},a.prototype.lookupOrInsertNode=function(r){var n=this._hashFn(r),h=this._nodes[n];return h||(h=fl(r),this._nodes[n]=h),h},a.prototype.isEmpty=function(){for(var r in this._nodes)return!1;return!0},a.prototype.toString=function(){var r=[];return Object(Xs.c)(this._nodes,function(n){r.push(n.key+", (incoming)["+Object.keys(n.value.incoming).join(", ")+"], (outgoing)["+Object.keys(n.value.outgoing).join(",")+"]")}),r.join(` +`&&(Ye=1);var Ot=T.c.trimAutoWhitespace;n.editor&&typeof n.editor.trimAutoWhitespace!="undefined"&&(Ot=n.editor.trimAutoWhitespace==="false"?!1:Boolean(n.editor.trimAutoWhitespace));var Ft=T.c.detectIndentation;n.editor&&typeof n.editor.detectIndentation!="undefined"&&(Ft=n.editor.detectIndentation==="false"?!1:Boolean(n.editor.detectIndentation));var jt=T.c.largeFileOptimizations;return n.editor&&typeof n.editor.largeFileOptimizations!="undefined"&&(jt=n.editor.largeFileOptimizations==="false"?!1:Boolean(n.editor.largeFileOptimizations)),{isForSimpleWidget:h,tabSize:S,indentSize:ce,insertSpaces:Ge,detectIndentation:Ft,defaultEOL:Ye,trimAutoWhitespace:Ot,largeFileOptimizations:jt}},r.prototype.getCreationOptions=function(n,h,S){var N=this._modelCreationOptionsByLanguageAndResource[n+h];if(!N){var ce=this._configurationService.getValue("editor",{overrideIdentifier:n,resource:h}),Be=this._resourcePropertiesService.getEOL(h,n);N=r._readModelOptions({editor:ce,eol:Be},S),this._modelCreationOptionsByLanguageAndResource[n+h]=N}return N},r.prototype._updateModelOptions=function(){var n=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);for(var h=Object.keys(this._models),S=0,N=h.length;S=this._growCount){var S=this._elements;this._currentLengthIndex++,this._currentLength=a._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+10&&Ge>1;var Ye=this._themeService.getTheme().getTokenStyleMetadata(N,ce);if(typeof Ye=="undefined")S=2147483647;else{if(S=0,typeof Ye.italic!="undefined"){var _t=(Ye.italic?1:0)<<11;S|=_t|1}if(typeof Ye.bold!="undefined"){var Ot=(Ye.bold?2:0)<<11;S|=Ot|2}if(typeof Ye.underline!="undefined"){var Ft=(Ye.underline?4:0)<<11;S|=Ft|4}if(Ye.foreground){var jt=Ye.foreground<<14;S|=jt|8}S===0&&(S=2147483647)}this._hashTable.add(r,n,S)}if(this._logService.getLevel()===dt.b.Trace){var ro=this._legend.tokenTypes[r],to=n?" "+this._legend.tokenModifiers.filter(function(Yt,Qt){return n&1<0&&(n._fetchSemanticTokens.isScheduled()||n._fetchSemanticTokens.schedule())})},r._isSemanticTokens=function(n){return n&&!!n.data},r._isSemanticTokensEdits=function(n){return n&&Array.isArray(n.edits)},r._copy=function(n,h,S,N,ce){for(var Be=0;Be=0;to--){var _t=h.edits[to],Yt=jt-(_t.start+_t.deleteCount);Yt>0&&(r._copy(Ot,jt-Yt,Ft,ro-Yt,Yt),ro-=Yt),_t.data&&(r._copy(_t.data,0,Ft,ro-_t.data.length,_t.data.length),ro-=_t.data.length),jt=_t.start}jt>0&&r._copy(Ot,0,Ft,0,jt),h={resultId:h.resultId,data:Ft}}}if(r._isSemanticTokens(h)){this._currentResponse=new Le(n,h.resultId,h.data);for(var Ot=h.data,Qt=h.data.length/5|0,ho=Math.max(Math.ceil(Qt/1024),400),So=[],To=0,Io=1,ko=0;ToKo&&Ot[5*wn]===0;)wn--;if(wn-1===Ko){for(var qo=ln;qo+10){for(var qs=0,Ra=N;qs0?n[0]:null},r}(Rt.a),ct=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),wt=function(a){ct(r,a);function r(){var n=a.call(this)||this;return n._onCodeEditorAdd=n._register(new I.a),n.onCodeEditorAdd=n._onCodeEditorAdd.event,n._onCodeEditorRemove=n._register(new I.a),n.onCodeEditorRemove=n._onCodeEditorRemove.event,n._onDiffEditorAdd=n._register(new I.a),n._onDiffEditorRemove=n._register(new I.a),n._codeEditors=Object.create(null),n._diffEditors=Object.create(null),n}return r.prototype.addCodeEditor=function(n){this._codeEditors[n.getId()]=n,this._onCodeEditorAdd.fire(n)},r.prototype.removeCodeEditor=function(n){delete this._codeEditors[n.getId()]&&this._onCodeEditorRemove.fire(n)},r.prototype.listCodeEditors=function(){var n=this;return Object.keys(this._codeEditors).map(function(h){return n._codeEditors[h]})},r.prototype.addDiffEditor=function(n){this._diffEditors[n.getId()]=n,this._onDiffEditorAdd.fire(n)},r.prototype.removeDiffEditor=function(n){delete this._diffEditors[n.getId()]&&this._onDiffEditorRemove.fire(n)},r.prototype.listDiffEditors=function(){var n=this;return Object.keys(this._diffEditors).map(function(h){return n._diffEditors[h]})},r.prototype.getFocusedCodeEditor=function(){for(var n=null,h=this.listCodeEditors(),S=0,N=h;S=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},kt=function(a,r){return function(n,h){r(n,h,a)}},Vt=function(){function a(r,n,h){this._parent=r,this._editorId=n,this.styleSheet=h,this._refCount=0}return a.prototype.ref=function(){this._refCount++},a.prototype.unref=function(){var r;this._refCount--,this._refCount===0&&((r=this.styleSheet.parentNode)===null||r===void 0||r.removeChild(this.styleSheet),this._parent._removeEditorStyleSheets(this._editorId))},a}(),qt=function(){function a(r){this.styleSheet=r}return a.prototype.ref=function(){},a.prototype.unref=function(){},a}(),$t=function(a){et(r,a);function r(n,h){h===void 0&&(h=null);var S=a.call(this)||this;return S._decorationOptionProviders=new Map,S._editorStyleSheets=new Map,S._globalStyleSheet=h?new qt(h):null,S._themeService=n,S}return r.prototype._getOrCreateGlobalStyleSheet=function(){return this._globalStyleSheet||(this._globalStyleSheet=new qt(ge.w())),this._globalStyleSheet},r.prototype._getOrCreateStyleSheet=function(n){if(!n)return this._getOrCreateGlobalStyleSheet();var h=n.getContainerDomNode();if(!ge.N(h))return this._getOrCreateGlobalStyleSheet();var S=n.getId();if(!this._editorStyleSheets.has(S)){var N=new Vt(this,S,ge.w(h));this._editorStyleSheets.set(S,N)}return this._editorStyleSheets.get(S)},r.prototype._removeEditorStyleSheets=function(n){this._editorStyleSheets.delete(n)},r.prototype.registerDecorationType=function(n,h,S,N){var ce=this._decorationOptionProviders.get(n);if(!ce){var Be=this._getOrCreateStyleSheet(N),Ge={styleSheet:Be.styleSheet,key:n,parentTypeKey:S,options:h||Object.create(null)};S?ce=new io(this._themeService,Be,Ge):ce=new yo(this._themeService,Be,Ge),this._decorationOptionProviders.set(n,ce)}ce.refCount++},r.prototype.removeDecorationType=function(n){var h=this._decorationOptionProviders.get(n);h&&(h.refCount--,h.refCount<=0&&(this._decorationOptionProviders.delete(n),h.dispose(),this.listCodeEditors().forEach(function(S){return S.removeDecorations(n)})))},r.prototype.resolveDecorationOptions=function(n,h){var S=this._decorationOptionProviders.get(n);if(!S)throw new Error("Unknown decoration type key: "+n);return S.getOptions(this,h)},r=Wt([kt(0,Mn.c)],r),r}(wt),io=function(){function a(r,n,h){this._styleSheet=n,this._styleSheet.ref(),this._parentTypeKey=h.parentTypeKey,this.refCount=0,this._beforeContentRules=new bo(3,h,r),this._afterContentRules=new bo(4,h,r)}return a.prototype.getOptions=function(r,n){var h=r.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(h.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(h.afterContentClassName=this._afterContentRules.className),h},a.prototype.dispose=function(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()},a}(),yo=function(){function a(r,n,h){var S=this;this._disposables=new Rt.b,this._styleSheet=n,this._styleSheet.ref(),this.refCount=0;var N=function(Ft){var jt=new bo(Ft,h,r);return S._disposables.add(jt),jt.hasContent?jt.className:void 0},ce=function(Ft){var jt=new bo(Ft,h,r);return S._disposables.add(jt),jt.hasContent?{className:jt.className,hasLetterSpacing:jt.hasLetterSpacing}:null};this.className=N(0);var Be=ce(1);Be&&(this.inlineClassName=Be.className,this.inlineClassNameAffectsLetterSpacing=Be.hasLetterSpacing),this.beforeContentClassName=N(3),this.afterContentClassName=N(4),this.glyphMarginClassName=N(2);var Ge=h.options;this.isWholeLine=Boolean(Ge.isWholeLine),this.stickiness=Ge.rangeBehavior;var Ye=Ge.light&&Ge.light.overviewRulerColor||Ge.overviewRulerColor,_t=Ge.dark&&Ge.dark.overviewRulerColor||Ge.overviewRulerColor;(typeof Ye!="undefined"||typeof _t!="undefined")&&(this.overviewRuler={color:Ye||_t,darkColor:_t||Ye,position:Ge.overviewRulerLane||ft.d.Center})}return a.prototype.getOptions=function(r,n){return n?{inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness}:this},a.prototype.dispose=function(){this._disposables.dispose(),this._styleSheet.unref()},a}(),mo={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"},bo=function(){function a(r,n,h){var S=this;this._theme=h.getTheme(),this._ruleType=r,this._providerArgs=n,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;var N=go.getClassName(this._providerArgs.key,r);this._providerArgs.parentTypeKey&&(N=N+" "+go.getClassName(this._providerArgs.parentTypeKey,r)),this._className=N,this._unThemedSelector=go.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,r),this._buildCSS(),this._usesThemeColors?this._themeListener=h.onThemeChange(function(ce){S._theme=h.getTheme(),S._removeCSS(),S._buildCSS()}):this._themeListener=null}return a.prototype.dispose=function(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)},Object.defineProperty(a.prototype,"hasContent",{get:function(){return this._hasContent},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"hasLetterSpacing",{get:function(){return this._hasLetterSpacing},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"className",{get:function(){return this._className},enumerable:!0,configurable:!0}),a.prototype._buildCSS=function(){var r=this._providerArgs.options,n,h,S;switch(this._ruleType){case 0:n=this.getCSSTextForModelDecorationClassName(r),h=this.getCSSTextForModelDecorationClassName(r.light),S=this.getCSSTextForModelDecorationClassName(r.dark);break;case 1:n=this.getCSSTextForModelDecorationInlineClassName(r),h=this.getCSSTextForModelDecorationInlineClassName(r.light),S=this.getCSSTextForModelDecorationInlineClassName(r.dark);break;case 2:n=this.getCSSTextForModelDecorationGlyphMarginClassName(r),h=this.getCSSTextForModelDecorationGlyphMarginClassName(r.light),S=this.getCSSTextForModelDecorationGlyphMarginClassName(r.dark);break;case 3:n=this.getCSSTextForModelDecorationContentClassName(r.before),h=this.getCSSTextForModelDecorationContentClassName(r.light&&r.light.before),S=this.getCSSTextForModelDecorationContentClassName(r.dark&&r.dark.before);break;case 4:n=this.getCSSTextForModelDecorationContentClassName(r.after),h=this.getCSSTextForModelDecorationContentClassName(r.light&&r.light.after),S=this.getCSSTextForModelDecorationContentClassName(r.dark&&r.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}var N=this._providerArgs.styleSheet.sheet,ce=!1;n.length>0&&(N.insertRule(this._unThemedSelector+" {"+n+"}",0),ce=!0),h.length>0&&(N.insertRule(".vs"+this._unThemedSelector+" {"+h+"}",0),ce=!0),S.length>0&&(N.insertRule(".vs-dark"+this._unThemedSelector+", .hc-black"+this._unThemedSelector+" {"+S+"}",0),ce=!0),this._hasContent=ce},a.prototype._removeCSS=function(){ge.O(this._unThemedSelector,this._providerArgs.styleSheet)},a.prototype.getCSSTextForModelDecorationClassName=function(r){if(!r)return"";var n=[];return this.collectCSSText(r,["backgroundColor"],n),this.collectCSSText(r,["outline","outlineColor","outlineStyle","outlineWidth"],n),this.collectBorderSettingsCSSText(r,n),n.join("")},a.prototype.getCSSTextForModelDecorationInlineClassName=function(r){if(!r)return"";var n=[];return this.collectCSSText(r,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],n),r.letterSpacing&&(this._hasLetterSpacing=!0),n.join("")},a.prototype.getCSSTextForModelDecorationContentClassName=function(r){if(!r)return"";var n=[];if(typeof r!="undefined"){if(this.collectBorderSettingsCSSText(r,n),typeof r.contentIconPath!="undefined"&&n.push(eo.r(mo.contentIconPath,ge.r(z.a.revive(r.contentIconPath)))),typeof r.contentText=="string"){var h=r.contentText.match(/^.*$/m)[0],S=h.replace(/['\\]/g,"\\$&");n.push(eo.r(mo.contentText,S))}this.collectCSSText(r,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],n),this.collectCSSText(r,["width","height"],n)&&n.push("display:inline-block;")}return n.join("")},a.prototype.getCSSTextForModelDecorationGlyphMarginClassName=function(r){if(!r)return"";var n=[];return typeof r.gutterIconPath!="undefined"&&(n.push(eo.r(mo.gutterIconPath,ge.r(z.a.revive(r.gutterIconPath)))),typeof r.gutterIconSize!="undefined"&&n.push(eo.r(mo.gutterIconSize,r.gutterIconSize))),n.join("")},a.prototype.collectBorderSettingsCSSText=function(r,n){return this.collectCSSText(r,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],n)?(n.push(eo.r("box-sizing: border-box;")),!0):!1},a.prototype.collectCSSText=function(r,n,h){for(var S=h.length,N=0,ce=n;N=1&&a[0].token==="";){var N=a.shift();N.fontStyle!==-1&&(n=N.fontStyle),N.foreground!==null&&(h=N.foreground),N.background!==null&&(S=N.background)}for(var ce=new cn,Be=0,Ge=r;Be>>0,this._cache.set(n,h)}return(h|r<<0)>>>0},a}(),hn=/\b(comment|string|regex|regexp)\b/;function Wn(a){var r=a.match(hn);if(!r)return 0;switch(r[1]){case"comment":return 1;case"string":return 2;case"regex":return 4;case"regexp":return 4}throw new Error("Unexpected match for standard token type!")}function Fn(a,r){return ar?1:0}var Ui=function(){function a(r,n,h){this._fontStyle=r,this._foreground=n,this._background=h,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}return a.prototype.clone=function(){return new a(this._fontStyle,this._foreground,this._background)},a.prototype.acceptOverwrite=function(r,n,h){r!==-1&&(this._fontStyle=r),n!==0&&(this._foreground=n),h!==0&&(this._background=h),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0},a}(),fr=function(){function a(r){this._mainRule=r,this._children=new Map}return a.prototype.match=function(r){if(r==="")return this._mainRule;var n=r.indexOf("."),h,S;n===-1?(h=r,S=""):(h=r.substring(0,n),S=r.substring(n+1));var N=this._children.get(h);return typeof N!="undefined"?N.match(S):this._mainRule},a.prototype.insert=function(r,n,h,S){if(r===""){this._mainRule.acceptOverwrite(n,h,S);return}var N=r.indexOf("."),ce,Be;N===-1?(ce=r,Be=""):(ce=r.substring(0,N),Be=r.substring(N+1));var Ge=this._children.get(ce);typeof Ge=="undefined"&&(Ge=new a(this._mainRule.clone()),this._children.set(ce,Ge)),Ge.insert(Be,n,h,S)},a}();function Hr(a){for(var r=[],n=1,h=a.length;n0?(this.id=h+" "+r,this.themeName=r):(this.id=h,this.themeName=h),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}return Object.defineProperty(a.prototype,"base",{get:function(){return this.themeData.base},enumerable:!0,configurable:!0}),a.prototype.notifyBaseUpdated=function(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)},a.prototype.getColors=function(){if(!this.colors){var r=new Map;for(var n in this.themeData.colors)r.set(n,Fo.a.fromHex(this.themeData.colors[n]));if(this.themeData.inherit){var h=Vs(this.themeData.base);for(var n in h.colors)r.has(n)||r.set(n,Fo.a.fromHex(h.colors[n]))}this.colors=r}return this.colors},a.prototype.getColor=function(r,n){var h=this.getColors().get(r);return h||(n!==!1?this.getDefault(r):void 0)},a.prototype.getDefault=function(r){var n=this.defaultColors[r];return n||(n=Ba.resolveDefaultColor(r,this),this.defaultColors[r]=n,n)},a.prototype.defines=function(r){return Object.prototype.hasOwnProperty.call(this.getColors(),r)},Object.defineProperty(a.prototype,"type",{get:function(){switch(this.base){case Mi:return"light";case mr:return"hc";default:return"dark"}},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"tokenTheme",{get:function(){if(!this._tokenTheme){var n=[],h=[];if(this.themeData.inherit){var S=Vs(this.themeData.base);n=S.rules,S.encodedTokensColors&&(h=S.encodedTokensColors)}n=n.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(h=this.themeData.encodedTokensColors),this._tokenTheme=Nn.createFromRawTokenTheme(n,h)}return this._tokenTheme},enumerable:!0,configurable:!0}),a.prototype.getTokenStyleMetadata=function(r,n){return},a}();function Hs(a){return a===Mi||a===Vr||a===mr}function Vs(a){switch(a){case Mi:return Pa;case Vr:return ka;case mr:return Fa}}function zs(a){var r=Vs(a);return new la(a,r)}var Ha=function(a){Wa(r,a);function r(){var n=a.call(this)||this;return n._onThemeChange=n._register(new I.a),n.onThemeChange=n._onThemeChange.event,n._environment=Object.create(null),n._knownThemes=new Map,n._knownThemes.set(Mi,zs(Mi)),n._knownThemes.set(Vr,zs(Vr)),n._knownThemes.set(mr,zs(mr)),n._css="",n._globalStyleElement=null,n._styleElements=[],n.setTheme(Mi),n}return r.prototype.registerEditorContainer=function(n){return ge.N(n)?this._registerShadowDomContainer(n):this._registerRegularEditorContainer()},r.prototype._registerRegularEditorContainer=function(){return this._globalStyleElement||(this._globalStyleElement=ge.w(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.innerHTML=this._css,this._styleElements.push(this._globalStyleElement)),Rt.a.None},r.prototype._registerShadowDomContainer=function(n){var h=this,S=ge.w(n);return S.className="monaco-colors",S.innerHTML=this._css,this._styleElements.push(S),{dispose:function(){for(var ce=0;ce=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},za=function(a,r){return function(n,h){r(n,h,a)}},Kr="data-keybinding-context",Ks=function(){function a(r,n){this._id=r,this._parent=n,this._value=Object.create(null),this._value._contextId=r}return a.prototype.setValue=function(r,n){return this._value[r]!==n?(this._value[r]=n,!0):!1},a.prototype.removeValue=function(r){return r in this._value?(delete this._value[r],!0):!1},a.prototype.getValue=function(r){var n=this._value[r];return typeof n=="undefined"&&this._parent?this._parent.getValue(r):n},a}(),Gr=function(a){zr(r,a);function r(){return a.call(this,-1,null)||this}return r.prototype.setValue=function(n,h){return!1},r.prototype.removeValue=function(n){return!1},r.prototype.getValue=function(n){return},r.INSTANCE=new r,r}(Ks),Ka=function(a){zr(r,a);function r(n,h,S){var N=a.call(this,n,null)||this;return N._configurationService=h,N._values=new Map,N._listener=N._configurationService.onDidChangeConfiguration(function(ce){if(ce.source===6){var Be=Object($n.d)(N._values);N._values.clear(),S.fire(new ca(Be))}else{for(var Ge=[],Ye=0,_t=ce.affectedKeys;Ye<_t.length;Ye++){var Ot=_t[Ye],Ft="config."+Ot;N._values.has(Ft)&&(N._values.delete(Ft),Ge.push(Ft))}S.fire(new ca(Ge))}}),N}return r.prototype.dispose=function(){this._listener.dispose()},r.prototype.getValue=function(n){if(n.indexOf(r._keyPrefix)!==0)return a.prototype.getValue.call(this,n);if(this._values.has(n))return this._values.get(n);var h=n.substr(r._keyPrefix.length),S=this._configurationService.getValue(h),N=void 0;switch(typeof S){case"number":case"boolean":case"string":N=S;break}return this._values.set(n,N),N},r.prototype.setValue=function(n,h){return a.prototype.setValue.call(this,n,h)},r.prototype.removeValue=function(n){return a.prototype.removeValue.call(this,n)},r._keyPrefix="config.",r}(Ks),Ga=function(){function a(r,n,h){this._service=r,this._key=n,this._defaultValue=h,this.reset()}return a.prototype.set=function(r){this._service.setContext(this._key,r)},a.prototype.reset=function(){typeof this._defaultValue=="undefined"?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)},a.prototype.get=function(){return this._service.getContextKeyValue(this._key)},a}(),da=function(){function a(r){this.key=r}return a.prototype.affectsSome=function(r){return r.has(this.key)},a}(),ca=function(){function a(r){this.keys=r}return a.prototype.affectsSome=function(r){for(var n=0,h=this.keys;n=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},pr=function(a,r){return function(n,h){r(n,h,a)}},nl=function(a){tl(r,a);function r(n,h,S,N,ce){var Be=a.call(this)||this;return Be._onDidContextMenu=Be._register(new I.a),Be.contextMenuHandler=new el(S,n,h,N,ce),Be}return r.prototype.configure=function(n){this.contextMenuHandler.configure(n)},r.prototype.showContextMenu=function(n){this.contextMenuHandler.showContextMenu(n),this._onDidContextMenu.fire()},r=ol([pr(0,Gs.a),pr(1,Hn.a),pr(2,Xn.b),pr(3,ii.a),pr(4,Mn.c)],r),r}(Rt.a),nc=e("TT2d"),il=e("nuFA"),rl=e("CjF5"),sl=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}();function fa(a,r,n){var h=n.offset+n.size;return n.position===0?r<=a-h?h:r<=n.offset?n.offset-r:Math.max(a-r,0):r<=n.offset?n.offset-r:r<=a-h?h:0}var al=function(a){sl(r,a);function r(n){var h=a.call(this)||this;return h.container=null,h.delegate=null,h.toDisposeOnClean=Rt.a.None,h.toDisposeOnSetContainer=Rt.a.None,h.view=ge.a(".context-view"),ge.J(h.view),h.setContainer(n),h._register(Object(Rt.h)(function(){return h.setContainer(null)})),h}return r.prototype.setContainer=function(n){var h=this;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.container.removeChild(this.view),this.container=null),n){this.container=n,this.container.appendChild(this.view);var S=new Rt.b;r.BUBBLE_UP_EVENTS.forEach(function(N){S.add(ge.o(h.container,N,function(ce){h.onDOMEvent(ce,!1)}))}),r.BUBBLE_DOWN_EVENTS.forEach(function(N){S.add(ge.o(h.container,N,function(ce){h.onDOMEvent(ce,!0)},!0))}),this.toDisposeOnSetContainer=S}},r.prototype.show=function(n){this.isVisible()&&this.hide(),ge.t(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",ge.X(this.view),this.toDisposeOnClean=n.render(this.view)||Rt.a.None,this.delegate=n,this.doLayout(),this.delegate.focus&&this.delegate.focus()},r.prototype.layout=function(){if(!this.isVisible())return;if(this.delegate.canRelayout===!1&&!(gt.c&&rl.a.pointerEvents)){this.hide();return}this.delegate.layout&&this.delegate.layout(),this.doLayout()},r.prototype.doLayout=function(){if(!this.isVisible())return;var n=this.delegate.getAnchor(),h;if(ge.L(n)){var S=ge.C(n);h={top:S.top,left:S.left,width:S.width,height:S.height}}else h={top:n.y,left:n.x,width:n.width||1,height:n.height||2};var N=ge.H(this.view),ce=ge.G(this.view),Be=this.delegate.anchorPosition||0,Ge=this.delegate.anchorAlignment||0,Ye={offset:h.top-window.pageYOffset,size:h.height,position:Be===0?0:1},_t;Ge===0?_t={offset:h.left,size:0,position:0}:_t={offset:h.left+h.width,size:0,position:1};var Ot=fa(window.innerHeight,ce,Ye)+window.pageYOffset;il.a.intersects({start:Ot,end:Ot+ce},{start:Ye.offset,end:Ye.offset+Ye.size})&&(_t.size=h.width,Ge===1&&(_t.offset=h.left));var Ft=fa(window.innerWidth,N,_t);ge.Q(this.view,"top","bottom","left","right"),ge.f(this.view,Be===0?"bottom":"top"),ge.f(this.view,Ge===0?"left":"right");var jt=ge.C(this.container);this.view.style.top=Ot-jt.top+"px",this.view.style.left=Ft-jt.left+"px",this.view.style.width="initial"},r.prototype.hide=function(n){var h=this.delegate;this.delegate=null,(h==null?void 0:h.onHide)&&h.onHide(n),this.toDisposeOnClean.dispose(),ge.J(this.view)},r.prototype.isVisible=function(){return!!this.delegate},r.prototype.onDOMEvent=function(n,h){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(n,document.activeElement):h&&!ge.K(n.target,this.container)&&this.hide())},r.prototype.dispose=function(){this.hide(),a.prototype.dispose.call(this)},r.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],r.BUBBLE_DOWN_EVENTS=["click"],r}(Rt.a),ma=Object(In.c)("layoutService"),ll=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),dl=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},cl=function(a,r){return function(n,h){r(n,h,a)}},ul=function(a){ll(r,a);function r(n){var h=a.call(this)||this;return h.layoutService=n,h.contextView=h._register(new al(n.container)),h.layout(),h._register(n.onLayout(function(){return h.layout()})),h}return r.prototype.setContainer=function(n){this.contextView.setContainer(n)},r.prototype.showContextView=function(n){this.contextView.show(n)},r.prototype.layout=function(){this.contextView.layout()},r.prototype.hideContextView=function(n){this.contextView.hide(n)},r=dl([cl(0,ma)],r),r}(Rt.a),hl=Object(In.c)("dialogService"),Xs=e("vl9R");function fl(a){return{data:a,incoming:Object.create(null),outgoing:Object.create(null)}}var ml=function(){function a(r){this._hashFn=r,this._nodes=Object.create(null)}return a.prototype.roots=function(){var r=[];return Object(Xs.c)(this._nodes,function(n){Object(bt.f)(n.value.outgoing)&&r.push(n.value)}),r},a.prototype.insertEdge=function(r,n){var h=this.lookupOrInsertNode(r),S=this.lookupOrInsertNode(n);h.outgoing[this._hashFn(n)]=S,S.incoming[this._hashFn(r)]=h},a.prototype.removeNode=function(r){var n=this._hashFn(r);delete this._nodes[n],Object(Xs.c)(this._nodes,function(h){delete h.value.outgoing[n],delete h.value.incoming[n]})},a.prototype.lookupOrInsertNode=function(r){var n=this._hashFn(r),h=this._nodes[n];return h||(h=fl(r),this._nodes[n]=h),h},a.prototype.isEmpty=function(){for(var r in this._nodes)return!1;return!0},a.prototype.toString=function(){var r=[];return Object(Xs.c)(this._nodes,function(n){r.push(n.key+", (incoming)["+Object.keys(n.value.incoming).join(", ")+"], (outgoing)["+Object.keys(n.value.outgoing).join(",")+"]")}),r.join(` `)},a}(),gr=e("r0BQ"),pa=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),Ys=function(){for(var a=0,r=0,n=arguments.length;r0?S[0].index:n.length;if(n.length!==_t){console.warn("[createInstance] First service dependency of "+r.name+" at position "+(_t+1)+" conflicts with "+n.length+" static arguments");var Ot=_t-n.length;Ot>0?n=n.concat(new Array(Ot)):n=n.slice(0,_t)}return new(r.bind.apply(r,Ys([void 0],Ys(n,N))))},a.prototype._setServiceInstance=function(r,n){if(this._services.get(r)instanceof gr.a)this._services.set(r,n);else if(this._parent)this._parent._setServiceInstance(r,n);else throw new Error("illegalState - setting UNKNOWN service instance")},a.prototype._getServiceInstanceOrDescriptor=function(r){var n=this._services.get(r);return!n&&this._parent?this._parent._getServiceInstanceOrDescriptor(r):n},a.prototype._getOrCreateServiceInstance=function(r,n){var h=this._getServiceInstanceOrDescriptor(r);return h instanceof gr.a?this._createAndCacheServiceInstance(r,h,n.branch(r,!0)):(n.branch(r,!1),h)},a.prototype._createAndCacheServiceInstance=function(r,n,h){for(var S=new ml(function(ho){return ho.id.toString()}),N=0,ce=[{id:r,desc:n,_trace:h}];ce.length;){var Be=ce.pop();if(S.lookupOrInsertNode(Be),N++>150)throw new va(S);for(var Ge=0,Ye=In.b.getServiceDependencies(Be.desc.ctor);Ge "+Ft);var to=h(N+1,ro);to&&Be.push(to)}else Be.push(Ge+"uses -> "+Ft)}return Be.join(` `)}var S=[(this.type===0?"CREATE":"CALL")+" "+this.name,""+h(1,this),"DONE, took "+r.toFixed(2)+"ms (grand total "+a._totals.toFixed(2)+"ms)"];(r>2||n)&&console.log(S.join(` -`))},a._None=new(function(r){pa(n,r);function n(){return r.call(this,-1,null)||this}return n.prototype.stop=function(){},n.prototype.branch=function(){return this},n}(a)),a._totals=0,a}(),gl=e("R8sh"),ba=e("k9mg"),ti=e("tADe"),Di;(function(a){function r(S,N,ce){return S[N]?S[N][ce]:void 0}a.get=r;function n(S,N,ce,Be){S[N]||(S[N]=Object.create(null)),S[N][ce]=Be}a.set=n;function h(S,N,ce){return S[N]&&S[N][ce]?(delete S[N][ce],Object(bt.f)(S[N])&&delete S[N],!0):!1}a.remove=h})(Di||(Di={}));var vl=function(){function a(r){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=Object.create(null),this._service=r,this._subscription=r.onMarkerChanged(this._update,this)}return a.prototype.dispose=function(){this._subscription.dispose(),this._data=void 0},a.prototype._update=function(r){if(!this._data)return;for(var n=0,h=r;n0?Ge:1,Ye=Ye>0?Ye:1,_t=_t>=Ge?_t:Ge,Ot=Ot>0?Ot:Ye,{resource:n,owner:r,code:S,severity:N,message:ce,source:Be,startLineNumber:Ge,startColumn:Ye,endLineNumber:_t,endColumn:Ot,relatedInformation:Ft,tags:jt}):void 0},a.prototype.read=function(r){r===void 0&&(r=Object.create(null));var n=r.owner,h=r.resource,S=r.severities,N=r.take;if((!N||N<0)&&(N=-1),n&&h){var ce=Di.get(this._byResource,h.toString(),n);if(ce){for(var Be=[],Ge=0,Ye=ce;Ge0&&Ot===N)break}}return Be}else return[]}else if(!n&&!h){var Be=[];for(var Ft in this._byResource)for(var jt in this._byResource[Ft])for(var ro=0,to=this._byResource[Ft][jt];ro0&&Ot===N)return Be}}return Be}else{var Yt=n?this._byOwner[n]:h?this._byResource[h.toString()]:void 0;if(!Yt)return[];var Be=[];for(var Qt in Yt)for(var ho=0,So=Yt[Qt];ho0&&Ot===N)return Be}}return Be}},a._accept=function(r,n){return n===void 0||(n&r.severity)===r.severity},a._debouncer=function(r,n){r||(a._dedupeMap=Object.create(null),r=[]);for(var h=0,S=n;h=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},Qs=function(a,r){return function(n,h){r(n,h,a)}},bl=function(){function a(r){this._commandService=r}return a.prototype.createMenu=function(r,n){return new Cl(r,this._commandService,n)},a=Ea([Qs(0,Q.b)],a),a}(),Cl=function(){function a(r,n,h){var S=this;this._id=r,this._commandService=n,this._contextKeyService=h,this._onDidChange=new I.a,this._dispoables=new Rt.b,this._menuGroups=[],this._contextKeys=new Set,this._build(),this._dispoables.add(I.b.debounce(I.b.filter(Kn.c.onDidChangeMenu,function(N){return N===S._id}),function(){},50)(this._build,this)),this._dispoables.add(I.b.debounce(this._contextKeyService.onDidChangeContext,function(N,ce){return N||ce.affectsSome(S._contextKeys)},50)(function(N){return N&&S._onDidChange.fire(void 0)},this))}return a.prototype.dispose=function(){this._dispoables.dispose(),this._onDidChange.dispose()},a.prototype._build=function(){this._menuGroups.length=0,this._contextKeys.clear();var r=Kn.c.getMenuItems(this._id),n;r.sort(a._compareMenuItems);for(var h=0,S=r;h0&&n.push([ce,Ge])}return n},a._fillInKbExprKeys=function(r,n){if(r)for(var h=0,S=r.keys();hBe?1:a._compareTitles(Object(Kn.e)(r)?r.command.title:r.title,Object(Kn.e)(n)?n.command.title:n.title)},a._compareTitles=function(r,n){var h=typeof r=="string"?r:r.value,S=typeof n=="string"?n:n.value;return h.localeCompare(S)},a=Ea([Qs(1,Q.b),Qs(2,Sn.c)],a),a}(),El=e("79sc"),wa=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),wl=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},_a=function(a,r){return function(n,h){r(n,h,a)}};function vr(a){return a.toString()}var _l=function(a){wa(r,a);function r(n){var h=a.call(this)||this;return h.model=n,h._markersData=new Map,h._register(Object(Rt.h)(function(){h.model.deltaDecorations(Object($n.d)(h._markersData),[]),h._markersData.clear()})),h}return r.prototype.update=function(n,h){var S=Object($n.d)(this._markersData);this._markersData.clear();for(var N=this.model.deltaDecorations(S,h),ce=0;ce=ce?S=new H.a(S.startLineNumber,ce-1,S.endLineNumber,ce):S=new H.a(S.startLineNumber,S.startColumn,S.endLineNumber,S.endColumn+1))}}else if(h.endColumn===Number.MAX_VALUE&&h.startColumn===1&&S.startLineNumber===S.endLineNumber){var Be=n.getLineFirstNonWhitespaceColumn(h.startLineNumber);Be=0:!1},r=wl([_a(0,xe.a),_a(1,ti.b)],r),r}(Rt.a),Ll=e("9fML"),Ml=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),Dl=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},Sa=function(a,r){return function(n,h){r(n,h,a)}},Ol=function(a){Ml(r,a);function r(n,h){var S=a.call(this)||this;S._contextKeyService=n,S._configurationService=h,S._accessibilitySupport=0,S._onDidChangeScreenReaderOptimized=new I.a,S._accessibilityModeEnabledContext=mi.a.bindTo(S._contextKeyService);var N=function(){return S._accessibilityModeEnabledContext.set(S.isScreenReaderOptimized())};return S._register(S._configurationService.onDidChangeConfiguration(function(ce){ce.affectsConfiguration("editor.accessibilitySupport")&&(N(),S._onDidChangeScreenReaderOptimized.fire())})),N(),S.onDidChangeScreenReaderOptimized(function(){return N()}),S}return Object.defineProperty(r.prototype,"onDidChangeScreenReaderOptimized",{get:function(){return this._onDidChangeScreenReaderOptimized.event},enumerable:!0,configurable:!0}),r.prototype.isScreenReaderOptimized=function(){var n=this._configurationService.getValue("editor.accessibilitySupport");return n==="on"||n==="auto"&&this._accessibilitySupport===2},r.prototype.getAccessibilitySupport=function(){return this._accessibilitySupport},r=Dl([Sa(0,Sn.c),Sa(1,xn.a)],r),r}(Rt.a),Tl=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),sn;(function(a){var r=new wi.a,n=function(){function Be(Ge,Ye){this._serviceId=Ge,this._factory=Ye,this._value=null}return Object.defineProperty(Be.prototype,"id",{get:function(){return this._serviceId},enumerable:!0,configurable:!0}),Be.prototype.get=function(Ge){if(!this._value){if(Ge&&(this._value=Ge[this._serviceId.toString()]),this._value||(this._value=this._factory(Ge)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");r.set(this._serviceId,this._value)}return this._value},Be}();a.LazyStaticService=n;var h=[];function S(Be,Ge){var Ye=new n(Be,Ge);return h.push(Ye),Ye}function N(Be){for(var Ge=new wi.a,Ye=0,_t=Object(Ll.a)();Ye<_t.length;Ye++){var Ot=_t[Ye],Ft=Ot[0],jt=Ot[1];Ge.set(Ft,jt)}for(var ro in Be)Be.hasOwnProperty(ro)&&Ge.set(Object(In.c)(ro),Be[ro]);h.forEach(function(Yt){return Ge.set(Yt.id,Yt.get(Be))});var to=new ya(Ge,!0);return Ge.set(In.a,to),[Ge,to]}a.init=N,a.instantiationService=S(In.a,function(){return new ya(r,!0)});var ce=new Dr;a.configurationService=S(xn.a,function(){return ce}),a.resourceConfigurationService=S(Ne.a,function(){return new us(ce)}),a.resourcePropertiesService=S(Ne.b,function(){return new hs(ce)}),a.contextService=S(Sr.a,function(){return new ms}),a.labelService=S(gl.a,function(){return new Or}),a.telemetryService=S(Gs.a,function(){return new fs}),a.dialogService=S(hl,function(){return new ls}),a.notificationService=S(Un.a,function(){return new ds}),a.markerService=S(ti.b,function(){return new yl}),a.modeService=S(Ps.a,function(Be){return new Bs}),a.standaloneThemeService=S(Si.a,function(){return new Ua}),a.logService=S(dt.a,function(){return new dt.c}),a.modelService=S(xe.a,function(Be){return new t(a.configurationService.get(Be),a.resourcePropertiesService.get(Be),a.standaloneThemeService.get(Be),a.logService.get(Be))}),a.markerDecorationsService=S(El.a,function(Be){return new Sl(a.modelService.get(Be),a.markerService.get(Be))}),a.codeEditorService=S(me.a,function(Be){return new No(a.standaloneThemeService.get(Be))}),a.editorProgressService=S(Ii.a,function(){return new ra}),a.storageService=S(Ca.a,function(){return new Ca.b}),a.editorWorkerService=S(at.a,function(Be){return new He(a.modelService.get(Be),a.resourceConfigurationService.get(Be),a.logService.get(Be))})})(sn||(sn={}));var xl=function(a){Tl(r,a);function r(n,h){var S=a.call(this)||this,N=sn.init(h),ce=N[0],Be=N[1];S._serviceCollection=ce,S._instantiationService=Be;var Ge=S.get(xn.a),Ye=S.get(Un.a),_t=S.get(Gs.a),Ot=S.get(Mn.c),Ft=function(So,To){var Io=null;return h&&(Io=h[So.toString()]),Io||(Io=To()),S._serviceCollection.set(So,Io),Io},jt=Ft(Sn.c,function(){return S._register(new Ya(Ge))});Ft(mi.b,function(){return new Ol(jt,Ge)}),Ft(ba.a,function(){return new ba.b(Ot)});var ro=Ft(Q.b,function(){return new cs(S._instantiationService)}),to=Ft(ii.a,function(){return S._register(new Lr(jt,ro,_t,Ye,n))}),Yt=Ft(ma,function(){return new Tr(n)}),Qt=Ft(Xn.b,function(){return S._register(new ul(Yt))});return Ft(Xn.a,function(){var ho=new nl(_t,Ye,Qt,to,Ot);return ho.configure({blockMouse:!1}),S._register(ho)}),Ft(Kn.a,function(){return new bl(ro)}),Ft(js.a,function(){return new sa(sn.modelService.get(xe.a))}),S}return r.prototype.get=function(n){var h=this._serviceCollection.get(n);if(!h)throw new Error("Missing service "+n);return h},r.prototype.set=function(n,h){this._serviceCollection.set(n,h)},r.prototype.has=function(n){return this._serviceCollection.has(n)},r}(Rt.a);function La(a,r,n){var h=new xl(a,r),S=null;h.has(tt.a)||(S=new as(sn.modelService.get()),h.set(tt.a,S)),h.has(C.a)||h.set(C.a,new it(h.get(me.a),h.get(Q.b)));var N=n(h);return S&&S.setEditor(N),N}function Al(a,r,n){return La(a,n||{},function(h){return new lr(a,r,h,h.get(In.a),h.get(me.a),h.get(Q.b),h.get(Sn.c),h.get(ii.a),h.get(Xn.b),h.get(Si.a),h.get(Un.a),h.get(xn.a),h.get(mi.b))})}function Rl(a){return sn.codeEditorService.get().onCodeEditorAdd(function(r){a(r)})}function Il(a,r,n){return La(a,n||{},function(h){return new Ns(a,r,h,h.get(In.a),h.get(Sn.c),h.get(ii.a),h.get(Xn.b),h.get(at.a),h.get(me.a),h.get(Si.a),h.get(Un.a),h.get(xn.a),h.get(Xn.a),h.get(Ii.a),null)})}function Nl(a,r){return new ao(a,r)}function Ma(a,r,n){return sn.modelService.get().createModel(a,r,n)}function jl(a,r,n){if(a=a||"",!r){var h=a.indexOf(` -`),S=a;return h!==-1&&(S=a.substring(0,h)),Ma(a,sn.modeService.get().createByFilepathOrFirstLine(n||null,S),n)}return Ma(a,sn.modeService.get().create(r),n)}function Pl(a,r){sn.modelService.get().setMode(a,sn.modeService.get().create(r))}function kl(a,r,n){a&&sn.markerService.get().changeOne(r,a.uri,n)}function Fl(a){return sn.markerService.get().read(a)}function Wl(a){return sn.modelService.get().getModel(a)}function Bl(){return sn.modelService.get().getModels()}function Hl(a){return sn.modelService.get().onModelAdded(a)}function Ul(a){return sn.modelService.get().onModelRemoved(a)}function Vl(a){return sn.modelService.get().onModelModeChanged(function(r){a({model:r.model,oldLanguage:r.oldModeId})})}function zl(a){return Ze(sn.modelService.get(),a)}function Kl(a,r){return zi.colorizeElement(sn.standaloneThemeService.get(),sn.modeService.get(),a,r)}function Gl(a,r,n){return zi.colorize(sn.modeService.get(),a,r,n)}function Xl(a,r,n){return n===void 0&&(n=4),zi.colorizeModelLine(a,r,n)}function Yl(a){var r=vt.B.get(a);return r||{getInitialState:function(){return At.c},tokenize:function(h,S,N){return Object(At.d)(a,h,S,N)}}}function Zl(a,r){var n=sn.modeService.get();n.triggerMode(r);for(var h=Yl(r),S=a.split(/\r\n|\r|\n/),N=[],ce=h.getInitialState(),Be=0,Ge=S.length;Be=0&&n<5;)n++,r=r.replace(/@(\w+)/g,function(h,S){var N="";if(typeof a[S]=="string")N=a[S];else if(a[S]&&a[S]instanceof RegExp)N=a[S].source;else throw a[S]===void 0?Do(a,"language definition does not contain attribute '"+S+"', used at: "+r):Do(a,"attribute reference '"+S+"' must be a string, used at: "+r);return wo(N)?"":"(?:"+N+")"});return new RegExp(r,a.ignoreCase?"i":"")}function od(a,r,n,h){if(h<0)return a;if(h=100){h=h-100;var S=n.split(".");if(S.unshift(n),h=0&&(h.tokenSubst=!0),typeof n.bracket=="string")if(n.bracket==="@open")h.bracket=1;else if(n.bracket==="@close")h.bracket=-1;else throw Do(a,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+r);if(n.next){if(typeof n.next!="string")throw Do(a,"the next state must be a string value in rule: "+r);var S=n.next;if(!/^(@pop|@push|@popall)$/.test(S)&&(S[0]==="@"&&(S=S.substr(1)),S.indexOf("$")<0&&!gn(a,xo(a,S,"",[],""))))throw Do(a,"the next state '"+n.next+"' is not defined in rule: "+r);h.next=S}return typeof n.goBack=="number"&&(h.goBack=n.goBack),typeof n.switchTo=="string"&&(h.switchTo=n.switchTo),typeof n.log=="string"&&(h.log=n.log),typeof n.nextEmbedded=="string"&&(h.nextEmbedded=n.nextEmbedded,a.usesEmbedded=!0),h}else if(Array.isArray(n)){for(var N=[],ce=0,Be=n.length;ce0&&h[0]==="^",this.name=this.name+": "+h,this.regex=$s(r,"^(?:"+(this.matchOnlyAtLineStart?h.substr(1):h)+")")},a.prototype.setAction=function(r,n){this.action=Js(r,this.name,n)},a}();function rd(a,r){if(!r||typeof r!="object")throw new Error("Monarch: expecting a language definition object");var n={};n.languageId=a,n.noThrow=!1,n.maxStack=100,n.start=typeof r.start=="string"?r.start:null,n.ignoreCase=Da(r.ignoreCase,!1),n.tokenPostfix=Oa(r.tokenPostfix,"."+n.languageId),n.defaultToken=Oa(r.defaultToken,"source"),n.usesEmbedded=!1;var h=r;h.languageId=a,h.ignoreCase=n.ignoreCase,h.noThrow=n.noThrow,h.usesEmbedded=n.usesEmbedded,h.stateNames=r.tokenizer,h.defaultToken=n.defaultToken;function S(Ft,jt,ro){for(var to=0,Yt=ro;to=1&&Qt.length<=3)if(So.setRegex(h,Qt[0]),Qt.length>=3)if(typeof Qt[1]=="string")So.setAction(h,{token:Qt[1],next:Qt[2]});else if(typeof Qt[1]=="object"){var To=Qt[1];To.next=Qt[2],So.setAction(h,To)}else throw Do(n,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+Ft);else So.setAction(h,Qt[1]);else{if(!Qt.regex)throw Do(n,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+Ft);Qt.name&&(typeof Qt.name=="string"&&(So.name=Qt.name)),Qt.matchOnlyAtStart&&(So.matchOnlyAtLineStart=Da(Qt.matchOnlyAtLineStart,!1)),So.setRegex(h,Qt.regex),So.setAction(h,Qt.action)}jt.push(So)}}}if(!r.tokenizer||typeof r.tokenizer!="object")throw Do(n,"a language definition must define the 'tokenizer' attribute as an object");n.tokenizer=[];for(var N in r.tokenizer)if(r.tokenizer.hasOwnProperty(N)){n.start||(n.start=N);var ce=r.tokenizer[N];n.tokenizer[N]=new Array,S("tokenizer."+N,n.tokenizer[N],ce)}if(n.usesEmbedded=h.usesEmbedded,r.brackets){if(!Array.isArray(r.brackets))throw Do(n,"the 'brackets' attribute must be defined as an array")}else r.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];for(var Be=[],Ge=0,Ye=r.brackets;Ge0&&N[ce-1]===Ot)continue;var Ft=_t.startIndex;Ge===0?Ft=0:Ft0?(v?p=(p+1)%c:p=(p+c-1)%c,w.children[p]):(p=w.parent.groups.indexOf(w),v?(p=(p+1)%s,w.parent.groups[p].children[0]):(p=(p+s-1)%s,w.parent.groups[p].children[w.parent.groups[p].children.length-1]))},_.prototype.nearestReference=function(f,v){var w=this.references.map(function(p,c){return{idx:c,prefixLen:U.c(p.uri.toString(),f.toString()),offsetDist:Math.abs(p.range.startLineNumber-v.lineNumber)*100+Math.abs(p.range.startColumn-v.column)}}).sort(function(p,c){return p.prefixLen>c.prefixLen?-1:p.prefixLenc.offsetDist?1:0})[0];return w?this.references[w.idx]:void 0},_.prototype.referenceAt=function(f,v){for(var w=0,p=this.references;w1?L=J.r(y.b.gotoLineLabelValidLineAndColumn,l.lineNumber,l.column):L=J.r(y.b.gotoLineLabelValidLine,l.lineNumber):l.lineNumber<1||l.lineNumber>(d?d.getLineCount():0)?L=J.r(y.b.gotoLineLabelEmptyWithLineLimit,d?d.getLineCount():0):L=J.r(y.b.gotoLineLabelEmptyWithLineAndColumnLimit,d?d.getLineMaxColumn(l.lineNumber):0),{position:l,isValid:E,label:L}},p.prototype.getLabel=function(){return this.parseResult.label},p.prototype.getAriaLabel=function(){var c=this.editor.getPosition(),s=c?c.lineNumber:0;return J.r(y.b.gotoLineAriaLabel,s,this.parseResult.label)},p.prototype.run=function(c,s){return c===1?this.runOpen():this.runPreview()},p.prototype.runOpen=function(){if(!this.parseResult.isValid)return!1;var c=this.toSelection();return this.editor.setSelection(c),this.editor.revealRangeInCenter(c,0),this.editor.focus(),!0},p.prototype.runPreview=function(){if(!this.parseResult.isValid)return this.decorator.clearDecorations(),!1;var c=this.toSelection();return this.editor.revealRangeInCenter(c,0),this.decorator.decorateLine(c,this.editor),!1},p.prototype.toSelection=function(){return new H.a(this.parseResult.position.lineNumber,this.parseResult.position.column,this.parseResult.position.lineNumber,this.parseResult.position.column)},p}(I.a),v=function(w){_(p,w);function p(){return w.call(this,y.b.gotoLineActionInput,{id:"editor.action.gotoLine",label:y.b.gotoLineActionLabel,alias:"Go to Line...",precondition:void 0,kbOpts:{kbExpr:x.a.focus,primary:2048|37,mac:{primary:256|37},weight:100}})||this}return p.prototype.run=function(c,s){var l=this;this._show(this.getController(s),{getModel:function(m){return new I.c([new f(m,s,l.getController(s))])},getAutoFocus:function(m){return{autoFocusFirstEntry:m.length>0}}})},p}(u.a);Object(z.f)(v)},ApJL:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return e.e(277).then(e.bind(null,"AoeA"))}})},BEdG:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\0&&I.getLanguageId(u-1)===H;)u--;return new re(I,H,u,x+1,I.getStartOffset(u),I.getEndOffset(x))}var re=function(){function I(U,z,O,H,x,u){this._actual=U,this.languageId=z,this._firstTokenIndex=O,this._lastTokenIndex=H,this.firstCharOffset=x,this._lastCharOffset=u}return I.prototype.getLineContent=function(){var U=this._actual.getLineContent();return U.substring(this.firstCharOffset,this._lastCharOffset)},I.prototype.getActualLineContentBefore=function(U){var z=this._actual.getLineContent();return z.substring(0,this.firstCharOffset+U)},I.prototype.getTokenCount=function(){return this._lastTokenIndex-this._firstTokenIndex},I.prototype.findTokenIndexAtOffset=function(U){return this._actual.findTokenIndexAtOffset(U+this.firstCharOffset)-this._firstTokenIndex},I.prototype.getStandardTokenType=function(U){return this._actual.getStandardTokenType(U+this._firstTokenIndex)},I}();function J(I){return(I&7)!==0}},BUKB:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:function(){return e.e(324).then(e.bind(null,"xT+r"))}})},BjKj:function(Lt,j,e){},"C/vA":function(Lt,j,e){"use strict";e.d(j,"a",function(){return T});function T(re){var J=this,I=!1,U;return function(){return I||(I=!0,U=re.apply(J,arguments)),U}}},"C1Q+":function(Lt,j,e){"use strict";e.d(j,"f",function(){return Pt}),e.d(j,"e",function(){return at}),e.d(j,"b",function(){return tt}),e.d(j,"g",function(){return ut}),e.d(j,"h",function(){return Ct}),e.d(j,"d",function(){return gt}),e.d(j,"c",function(){return bt}),e.d(j,"a",function(){return Gt});var T=function(){function Nt(Et){this.executor=Et,this._didRun=!1}return Nt.prototype.getValue=function(){if(!this._didRun)try{this._value=this.executor()}catch(Et){this._error=Et}finally{this._didRun=!0}if(this._error)throw this._error;return this._value},Object.defineProperty(Nt.prototype,"rawValue",{get:function(){return this._value},enumerable:!0,configurable:!0}),Nt}(),re=e("pmY6"),J=e("N0LK"),I=e("sswD"),U=e("x/UI"),z=e("wQH0"),O=e("hJVp"),H=e("6OMU"),x=e("/cxE"),u=e("NR8r"),y=e("Cg/j"),_=e("EffR"),f=e("WqXY"),v=e("8HAY"),w=e("cGHE"),p=e("twdY"),c=e("nlbu"),s=e("Uzvx"),l=e("bexQ"),d=function(){var Nt=function(Je,$e){return Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ze,Ke){ze.__proto__=Ke}||function(ze,Ke){for(var fe in Ke)Ke.hasOwnProperty(fe)&&(ze[fe]=Ke[fe])},Nt(Je,$e)};return function(Et,Je){Nt(Et,Je);function $e(){this.constructor=Et}Et.prototype=Je===null?Object.create(Je):($e.prototype=Je.prototype,new $e)}}(),m=function(){return m=Object.assign||function(Nt){for(var Et,Je=1,$e=arguments.length;Je<$e;Je++){Et=arguments[Je];for(var ze in Et)Object.prototype.hasOwnProperty.call(Et,ze)&&(Nt[ze]=Et[ze])}return Nt},m.apply(this,arguments)},E=function(Nt,Et,Je,$e){var ze=arguments.length,Ke=ze<3?Et:$e===null?$e=Object.getOwnPropertyDescriptor(Et,Je):$e,fe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Ke=Reflect.decorate(Nt,Et,Je,$e);else for(var G=Nt.length-1;G>=0;G--)(fe=Nt[G])&&(Ke=(ze<3?fe(Ke):ze>3?fe(Et,Je,Ke):fe(Et,Je))||Ke);return ze>3&&Ke&&Object.defineProperty(Et,Je,Ke),Ke},L=function(Nt,Et){return function(Je,$e){Et(Je,$e,Nt)}},A=function(Nt,Et,Je,$e){function ze(Ke){return Ke instanceof Je?Ke:new Je(function(fe){fe(Ke)})}return new(Je||(Je=Promise))(function(Ke,fe){function G(de){try{Y($e.next(de))}catch(ke){fe(ke)}}function te(de){try{Y($e.throw(de))}catch(ke){fe(ke)}}function Y(de){de.done?Ke(de.value):ze(de.value).then(G,te)}Y(($e=$e.apply(Nt,Et||[])).next())})},k=function(Nt,Et){var Je={label:0,sent:function(){if(Ke[0]&1)throw Ke[1];return Ke[1]},trys:[],ops:[]},$e,ze,Ke,fe;return fe={next:G(0),throw:G(1),return:G(2)},typeof Symbol=="function"&&(fe[Symbol.iterator]=function(){return this}),fe;function G(Y){return function(de){return te([Y,de])}}function te(Y){if($e)throw new TypeError("Generator is already executing.");for(;Je;)try{if($e=1,ze&&(Ke=Y[0]&2?ze.return:Y[0]?ze.throw||((Ke=ze.return)&&Ke.call(ze),0):ze.next)&&!(Ke=Ke.call(ze,Y[1])).done)return Ke;(ze=0,Ke)&&(Y=[Y[0]&2,Ke.value]);switch(Y[0]){case 0:case 1:Ke=Y;break;case 4:return Je.label++,{value:Y[1],done:!1};case 5:Je.label++,ze=Y[1],Y=[0];continue;case 7:Y=Je.ops.pop(),Je.trys.pop();continue;default:if(!(Ke=Je.trys,Ke=Ke.length>0&&Ke[Ke.length-1])&&(Y[0]===6||Y[0]===2)){Je=0;continue}if(Y[0]===3&&(!Ke||Y[1]>Ke[0]&&Y[1]=0}).filter(function($e){return $e.resolvedKeybinding}).map(function($e){var ze=$e.commandArgs;return $e.command===O.d?ze={kind:c.b.SourceOrganizeImports.value}:$e.command===O.b&&(ze={kind:c.b.SourceFixAll.value}),m({resolvedKeybinding:$e.resolvedKeybinding},c.a.fromUser(ze,{kind:c.b.None,apply:"never"}))})});return function($e){if($e.kind){var ze=Et.bestKeybindingForCodeAction($e,Je.getValue());return ze==null?void 0:ze.resolvedKeybinding}return}},Nt.prototype.bestKeybindingForCodeAction=function(Et,Je){if(!Et.kind)return;var $e=new c.b(Et.kind);return Je.filter(function(ze){return ze.kind.contains($e)}).filter(function(ze){return ze.preferred?Et.isPreferred:!0}).reduceRight(function(ze,Ke){return ze?ze.kind.contains(Ke.kind)?Ke:ze:Ke},void 0)},Nt.codeActionCommands=[O.e,O.a,O.f,O.d,O.b],Nt}(),B=e("AKMP"),le=e("MI8n"),Ce=e("MNXI"),Me=e("tX9W"),Te=e("3/fG"),Fe=e("t9D7"),Ue=e("MD5Z"),Pe=e("pg8w"),ne=function(){var Nt=function(Je,$e){return Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ze,Ke){ze.__proto__=Ke}||function(ze,Ke){for(var fe in Ke)Ke.hasOwnProperty(fe)&&(ze[fe]=Ke[fe])},Nt(Je,$e)};return function(Et,Je){Nt(Et,Je);function $e(){this.constructor=Et}Et.prototype=Je===null?Object.create(Je):($e.prototype=Je.prototype,new $e)}}(),ee=function(Nt,Et,Je,$e){var ze=arguments.length,Ke=ze<3?Et:$e===null?$e=Object.getOwnPropertyDescriptor(Et,Je):$e,fe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Ke=Reflect.decorate(Nt,Et,Je,$e);else for(var G=Nt.length-1;G>=0;G--)(fe=Nt[G])&&(Ke=(ze<3?fe(Ke):ze>3?fe(Et,Je,Ke):fe(Et,Je))||Ke);return ze>3&&Ke&&Object.defineProperty(Et,Je,Ke),Ke},ae=function(Nt,Et){return function(Je,$e){Et(Je,$e,Nt)}},q;(function(Nt){Nt.Hidden={type:0};var Et=function(){function Je($e,ze,Ke,fe){this.actions=$e,this.trigger=ze,this.editorPosition=Ke,this.widgetPosition=fe,this.type=1}return Je}();Nt.Showing=Et})(q||(q={}));var ue=function(Nt){ne(Et,Nt);function Et(Je,$e,ze,Ke){var fe=Nt.call(this)||this;return fe._editor=Je,fe._quickFixActionId=$e,fe._preferredFixActionId=ze,fe._keybindingService=Ke,fe._onClick=fe._register(new le.a),fe.onClick=fe._onClick.event,fe._state=q.Hidden,fe._domNode=document.createElement("div"),fe._domNode.className="codicon codicon-lightbulb",fe._editor.addContentWidget(fe),fe._register(fe._editor.onDidChangeModelContent(function(G){var te=fe._editor.getModel();(fe.state.type!==1||!te||fe.state.editorPosition.lineNumber>=te.getLineCount())&&fe.hide()})),Pe.b.ignoreTarget(fe._domNode),fe._register(_.n(fe._domNode,function(G){if(fe.state.type!==1)return;fe._editor.focus(),G.preventDefault();var te=_.C(fe._domNode),Y=te.top,de=te.height,ke=fe._editor.getOption(49),lt=Math.floor(ke/3);fe.state.widgetPosition.position!==null&&fe.state.widgetPosition.position.lineNumber22,eo=function(Eo){return Eo>2&&Ke._editor.getTopForLineNumber(Eo)===Ke._editor.getTopForLineNumber(Eo-1)},po=G;if(!Jt){if(G>1&&!eo(G-1))po-=1;else if(!eo(G+1))po+=1;else if(te*ke.spaceWidth<22)return this.hide()}this.state=new q.Showing(Je,$e,ze,{position:{lineNumber:po,column:1},preference:Et._posPref}),_.Y(this._domNode,"codicon-lightbulb-autofix",Je.hasAutoFix),this._editor.layoutContentWidget(this)},Et.prototype.hide=function(){this.state=q.Hidden,this._editor.layoutContentWidget(this)},Object.defineProperty(Et.prototype,"state",{get:function(){return this._state},set:function($e){this._state=$e,this._updateLightBulbTitle()},enumerable:!0,configurable:!0}),Et.prototype._updateLightBulbTitle=function(){if(this.state.type===1&&this.state.actions.hasAutoFix){var Je=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(Je){this.title=Te.a("prefferedQuickFixWithKb","Show Fixes. Preferred Fix Available ({0})",Je.getLabel());return}}var $e=this._keybindingService.lookupKeybinding(this._quickFixActionId);$e?this.title=Te.a("quickFixWithKb","Show Fixes ({0})",$e.getLabel()):this.title=Te.a("quickFix","Show Fixes")},Object.defineProperty(Et.prototype,"title",{set:function($e){this._domNode.title=$e},enumerable:!0,configurable:!0}),Et._posPref=[0],Et=ee([ae(3,l.a)],Et),Et}(re.a);Object(Fe.e)(function(Nt,Et){var Je=Nt.getColor(Ue.J);Je&&Et.addRule(` +`))},a._None=new(function(r){pa(n,r);function n(){return r.call(this,-1,null)||this}return n.prototype.stop=function(){},n.prototype.branch=function(){return this},n}(a)),a._totals=0,a}(),gl=e("R8sh"),ba=e("k9mg"),ti=e("tADe"),Di;(function(a){function r(S,N,ce){return S[N]?S[N][ce]:void 0}a.get=r;function n(S,N,ce,Be){S[N]||(S[N]=Object.create(null)),S[N][ce]=Be}a.set=n;function h(S,N,ce){return S[N]&&S[N][ce]?(delete S[N][ce],Object(bt.f)(S[N])&&delete S[N],!0):!1}a.remove=h})(Di||(Di={}));var vl=function(){function a(r){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=Object.create(null),this._service=r,this._subscription=r.onMarkerChanged(this._update,this)}return a.prototype.dispose=function(){this._subscription.dispose(),this._data=void 0},a.prototype._update=function(r){if(!this._data)return;for(var n=0,h=r;n0?Ge:1,Ye=Ye>0?Ye:1,_t=_t>=Ge?_t:Ge,Ot=Ot>0?Ot:Ye,{resource:n,owner:r,code:S,severity:N,message:ce,source:Be,startLineNumber:Ge,startColumn:Ye,endLineNumber:_t,endColumn:Ot,relatedInformation:Ft,tags:jt}):void 0},a.prototype.read=function(r){r===void 0&&(r=Object.create(null));var n=r.owner,h=r.resource,S=r.severities,N=r.take;if((!N||N<0)&&(N=-1),n&&h){var ce=Di.get(this._byResource,h.toString(),n);if(ce){for(var Be=[],Ge=0,Ye=ce;Ge0&&Ot===N)break}}return Be}else return[]}else if(!n&&!h){var Be=[];for(var Ft in this._byResource)for(var jt in this._byResource[Ft])for(var ro=0,to=this._byResource[Ft][jt];ro0&&Ot===N)return Be}}return Be}else{var Yt=n?this._byOwner[n]:h?this._byResource[h.toString()]:void 0;if(!Yt)return[];var Be=[];for(var Qt in Yt)for(var ho=0,So=Yt[Qt];ho0&&Ot===N)return Be}}return Be}},a._accept=function(r,n){return n===void 0||(n&r.severity)===r.severity},a._debouncer=function(r,n){r||(a._dedupeMap=Object.create(null),r=[]);for(var h=0,S=n;h=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},Qs=function(a,r){return function(n,h){r(n,h,a)}},bl=function(){function a(r){this._commandService=r}return a.prototype.createMenu=function(r,n){return new Cl(r,this._commandService,n)},a=Ea([Qs(0,Q.b)],a),a}(),Cl=function(){function a(r,n,h){var S=this;this._id=r,this._commandService=n,this._contextKeyService=h,this._onDidChange=new I.a,this._dispoables=new Rt.b,this._menuGroups=[],this._contextKeys=new Set,this._build(),this._dispoables.add(I.b.debounce(I.b.filter(Kn.c.onDidChangeMenu,function(N){return N===S._id}),function(){},50)(this._build,this)),this._dispoables.add(I.b.debounce(this._contextKeyService.onDidChangeContext,function(N,ce){return N||ce.affectsSome(S._contextKeys)},50)(function(N){return N&&S._onDidChange.fire(void 0)},this))}return a.prototype.dispose=function(){this._dispoables.dispose(),this._onDidChange.dispose()},a.prototype._build=function(){this._menuGroups.length=0,this._contextKeys.clear();var r=Kn.c.getMenuItems(this._id),n;r.sort(a._compareMenuItems);for(var h=0,S=r;h0&&n.push([ce,Ge])}return n},a._fillInKbExprKeys=function(r,n){if(r)for(var h=0,S=r.keys();hBe?1:a._compareTitles(Object(Kn.e)(r)?r.command.title:r.title,Object(Kn.e)(n)?n.command.title:n.title)},a._compareTitles=function(r,n){var h=typeof r=="string"?r:r.value,S=typeof n=="string"?n:n.value;return h.localeCompare(S)},a=Ea([Qs(1,Q.b),Qs(2,Sn.c)],a),a}(),El=e("79sc"),wa=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),wl=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},_a=function(a,r){return function(n,h){r(n,h,a)}};function vr(a){return a.toString()}var _l=function(a){wa(r,a);function r(n){var h=a.call(this)||this;return h.model=n,h._markersData=new Map,h._register(Object(Rt.h)(function(){h.model.deltaDecorations(Object($n.d)(h._markersData),[]),h._markersData.clear()})),h}return r.prototype.update=function(n,h){var S=Object($n.d)(this._markersData);this._markersData.clear();for(var N=this.model.deltaDecorations(S,h),ce=0;ce=ce?S=new U.a(S.startLineNumber,ce-1,S.endLineNumber,ce):S=new U.a(S.startLineNumber,S.startColumn,S.endLineNumber,S.endColumn+1))}}else if(h.endColumn===Number.MAX_VALUE&&h.startColumn===1&&S.startLineNumber===S.endLineNumber){var Be=n.getLineFirstNonWhitespaceColumn(h.startLineNumber);Be=0:!1},r=wl([_a(0,xe.a),_a(1,ti.b)],r),r}(Rt.a),Ll=e("9fML"),Ml=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),Dl=function(a,r,n,h){var S=arguments.length,N=S<3?r:h===null?h=Object.getOwnPropertyDescriptor(r,n):h,ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(a,r,n,h);else for(var Be=a.length-1;Be>=0;Be--)(ce=a[Be])&&(N=(S<3?ce(N):S>3?ce(r,n,N):ce(r,n))||N);return S>3&&N&&Object.defineProperty(r,n,N),N},Sa=function(a,r){return function(n,h){r(n,h,a)}},Ol=function(a){Ml(r,a);function r(n,h){var S=a.call(this)||this;S._contextKeyService=n,S._configurationService=h,S._accessibilitySupport=0,S._onDidChangeScreenReaderOptimized=new I.a,S._accessibilityModeEnabledContext=mi.a.bindTo(S._contextKeyService);var N=function(){return S._accessibilityModeEnabledContext.set(S.isScreenReaderOptimized())};return S._register(S._configurationService.onDidChangeConfiguration(function(ce){ce.affectsConfiguration("editor.accessibilitySupport")&&(N(),S._onDidChangeScreenReaderOptimized.fire())})),N(),S.onDidChangeScreenReaderOptimized(function(){return N()}),S}return Object.defineProperty(r.prototype,"onDidChangeScreenReaderOptimized",{get:function(){return this._onDidChangeScreenReaderOptimized.event},enumerable:!0,configurable:!0}),r.prototype.isScreenReaderOptimized=function(){var n=this._configurationService.getValue("editor.accessibilitySupport");return n==="on"||n==="auto"&&this._accessibilitySupport===2},r.prototype.getAccessibilitySupport=function(){return this._accessibilitySupport},r=Dl([Sa(0,Sn.c),Sa(1,xn.a)],r),r}(Rt.a),Tl=function(){var a=function(n,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var ce in N)N.hasOwnProperty(ce)&&(S[ce]=N[ce])},a(n,h)};return function(r,n){a(r,n);function h(){this.constructor=r}r.prototype=n===null?Object.create(n):(h.prototype=n.prototype,new h)}}(),sn;(function(a){var r=new wi.a,n=function(){function Be(Ge,Ye){this._serviceId=Ge,this._factory=Ye,this._value=null}return Object.defineProperty(Be.prototype,"id",{get:function(){return this._serviceId},enumerable:!0,configurable:!0}),Be.prototype.get=function(Ge){if(!this._value){if(Ge&&(this._value=Ge[this._serviceId.toString()]),this._value||(this._value=this._factory(Ge)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");r.set(this._serviceId,this._value)}return this._value},Be}();a.LazyStaticService=n;var h=[];function S(Be,Ge){var Ye=new n(Be,Ge);return h.push(Ye),Ye}function N(Be){for(var Ge=new wi.a,Ye=0,_t=Object(Ll.a)();Ye<_t.length;Ye++){var Ot=_t[Ye],Ft=Ot[0],jt=Ot[1];Ge.set(Ft,jt)}for(var ro in Be)Be.hasOwnProperty(ro)&&Ge.set(Object(In.c)(ro),Be[ro]);h.forEach(function(Yt){return Ge.set(Yt.id,Yt.get(Be))});var to=new ya(Ge,!0);return Ge.set(In.a,to),[Ge,to]}a.init=N,a.instantiationService=S(In.a,function(){return new ya(r,!0)});var ce=new Dr;a.configurationService=S(xn.a,function(){return ce}),a.resourceConfigurationService=S(Ne.a,function(){return new us(ce)}),a.resourcePropertiesService=S(Ne.b,function(){return new hs(ce)}),a.contextService=S(Sr.a,function(){return new ms}),a.labelService=S(gl.a,function(){return new Or}),a.telemetryService=S(Gs.a,function(){return new fs}),a.dialogService=S(hl,function(){return new ls}),a.notificationService=S(Hn.a,function(){return new ds}),a.markerService=S(ti.b,function(){return new yl}),a.modeService=S(Ps.a,function(Be){return new Bs}),a.standaloneThemeService=S(Si.a,function(){return new Ha}),a.logService=S(dt.a,function(){return new dt.c}),a.modelService=S(xe.a,function(Be){return new t(a.configurationService.get(Be),a.resourcePropertiesService.get(Be),a.standaloneThemeService.get(Be),a.logService.get(Be))}),a.markerDecorationsService=S(El.a,function(Be){return new Sl(a.modelService.get(Be),a.markerService.get(Be))}),a.codeEditorService=S(me.a,function(Be){return new No(a.standaloneThemeService.get(Be))}),a.editorProgressService=S(Ii.a,function(){return new ra}),a.storageService=S(Ca.a,function(){return new Ca.b}),a.editorWorkerService=S(at.a,function(Be){return new Ue(a.modelService.get(Be),a.resourceConfigurationService.get(Be),a.logService.get(Be))})})(sn||(sn={}));var xl=function(a){Tl(r,a);function r(n,h){var S=a.call(this)||this,N=sn.init(h),ce=N[0],Be=N[1];S._serviceCollection=ce,S._instantiationService=Be;var Ge=S.get(xn.a),Ye=S.get(Hn.a),_t=S.get(Gs.a),Ot=S.get(Mn.c),Ft=function(So,To){var Io=null;return h&&(Io=h[So.toString()]),Io||(Io=To()),S._serviceCollection.set(So,Io),Io},jt=Ft(Sn.c,function(){return S._register(new Ya(Ge))});Ft(mi.b,function(){return new Ol(jt,Ge)}),Ft(ba.a,function(){return new ba.b(Ot)});var ro=Ft(Q.b,function(){return new cs(S._instantiationService)}),to=Ft(ii.a,function(){return S._register(new Lr(jt,ro,_t,Ye,n))}),Yt=Ft(ma,function(){return new Tr(n)}),Qt=Ft(Xn.b,function(){return S._register(new ul(Yt))});return Ft(Xn.a,function(){var ho=new nl(_t,Ye,Qt,to,Ot);return ho.configure({blockMouse:!1}),S._register(ho)}),Ft(Kn.a,function(){return new bl(ro)}),Ft(js.a,function(){return new sa(sn.modelService.get(xe.a))}),S}return r.prototype.get=function(n){var h=this._serviceCollection.get(n);if(!h)throw new Error("Missing service "+n);return h},r.prototype.set=function(n,h){this._serviceCollection.set(n,h)},r.prototype.has=function(n){return this._serviceCollection.has(n)},r}(Rt.a);function La(a,r,n){var h=new xl(a,r),S=null;h.has(tt.a)||(S=new as(sn.modelService.get()),h.set(tt.a,S)),h.has(C.a)||h.set(C.a,new it(h.get(me.a),h.get(Q.b)));var N=n(h);return S&&S.setEditor(N),N}function Al(a,r,n){return La(a,n||{},function(h){return new lr(a,r,h,h.get(In.a),h.get(me.a),h.get(Q.b),h.get(Sn.c),h.get(ii.a),h.get(Xn.b),h.get(Si.a),h.get(Hn.a),h.get(xn.a),h.get(mi.b))})}function Rl(a){return sn.codeEditorService.get().onCodeEditorAdd(function(r){a(r)})}function Il(a,r,n){return La(a,n||{},function(h){return new Ns(a,r,h,h.get(In.a),h.get(Sn.c),h.get(ii.a),h.get(Xn.b),h.get(at.a),h.get(me.a),h.get(Si.a),h.get(Hn.a),h.get(xn.a),h.get(Xn.a),h.get(Ii.a),null)})}function Nl(a,r){return new ao(a,r)}function Ma(a,r,n){return sn.modelService.get().createModel(a,r,n)}function jl(a,r,n){if(a=a||"",!r){var h=a.indexOf(` +`),S=a;return h!==-1&&(S=a.substring(0,h)),Ma(a,sn.modeService.get().createByFilepathOrFirstLine(n||null,S),n)}return Ma(a,sn.modeService.get().create(r),n)}function Pl(a,r){sn.modelService.get().setMode(a,sn.modeService.get().create(r))}function kl(a,r,n){a&&sn.markerService.get().changeOne(r,a.uri,n)}function Fl(a){return sn.markerService.get().read(a)}function Wl(a){return sn.modelService.get().getModel(a)}function Bl(){return sn.modelService.get().getModels()}function Ul(a){return sn.modelService.get().onModelAdded(a)}function Hl(a){return sn.modelService.get().onModelRemoved(a)}function Vl(a){return sn.modelService.get().onModelModeChanged(function(r){a({model:r.model,oldLanguage:r.oldModeId})})}function zl(a){return Ze(sn.modelService.get(),a)}function Kl(a,r){return zi.colorizeElement(sn.standaloneThemeService.get(),sn.modeService.get(),a,r)}function Gl(a,r,n){return zi.colorize(sn.modeService.get(),a,r,n)}function Xl(a,r,n){return n===void 0&&(n=4),zi.colorizeModelLine(a,r,n)}function Yl(a){var r=vt.B.get(a);return r||{getInitialState:function(){return At.c},tokenize:function(h,S,N){return Object(At.d)(a,h,S,N)}}}function Zl(a,r){var n=sn.modeService.get();n.triggerMode(r);for(var h=Yl(r),S=a.split(/\r\n|\r|\n/),N=[],ce=h.getInitialState(),Be=0,Ge=S.length;Be=0&&n<5;)n++,r=r.replace(/@(\w+)/g,function(h,S){var N="";if(typeof a[S]=="string")N=a[S];else if(a[S]&&a[S]instanceof RegExp)N=a[S].source;else throw a[S]===void 0?Do(a,"language definition does not contain attribute '"+S+"', used at: "+r):Do(a,"attribute reference '"+S+"' must be a string, used at: "+r);return wo(N)?"":"(?:"+N+")"});return new RegExp(r,a.ignoreCase?"i":"")}function od(a,r,n,h){if(h<0)return a;if(h=100){h=h-100;var S=n.split(".");if(S.unshift(n),h=0&&(h.tokenSubst=!0),typeof n.bracket=="string")if(n.bracket==="@open")h.bracket=1;else if(n.bracket==="@close")h.bracket=-1;else throw Do(a,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+r);if(n.next){if(typeof n.next!="string")throw Do(a,"the next state must be a string value in rule: "+r);var S=n.next;if(!/^(@pop|@push|@popall)$/.test(S)&&(S[0]==="@"&&(S=S.substr(1)),S.indexOf("$")<0&&!gn(a,xo(a,S,"",[],""))))throw Do(a,"the next state '"+n.next+"' is not defined in rule: "+r);h.next=S}return typeof n.goBack=="number"&&(h.goBack=n.goBack),typeof n.switchTo=="string"&&(h.switchTo=n.switchTo),typeof n.log=="string"&&(h.log=n.log),typeof n.nextEmbedded=="string"&&(h.nextEmbedded=n.nextEmbedded,a.usesEmbedded=!0),h}else if(Array.isArray(n)){for(var N=[],ce=0,Be=n.length;ce0&&h[0]==="^",this.name=this.name+": "+h,this.regex=$s(r,"^(?:"+(this.matchOnlyAtLineStart?h.substr(1):h)+")")},a.prototype.setAction=function(r,n){this.action=Js(r,this.name,n)},a}();function rd(a,r){if(!r||typeof r!="object")throw new Error("Monarch: expecting a language definition object");var n={};n.languageId=a,n.noThrow=!1,n.maxStack=100,n.start=typeof r.start=="string"?r.start:null,n.ignoreCase=Da(r.ignoreCase,!1),n.tokenPostfix=Oa(r.tokenPostfix,"."+n.languageId),n.defaultToken=Oa(r.defaultToken,"source"),n.usesEmbedded=!1;var h=r;h.languageId=a,h.ignoreCase=n.ignoreCase,h.noThrow=n.noThrow,h.usesEmbedded=n.usesEmbedded,h.stateNames=r.tokenizer,h.defaultToken=n.defaultToken;function S(Ft,jt,ro){for(var to=0,Yt=ro;to=1&&Qt.length<=3)if(So.setRegex(h,Qt[0]),Qt.length>=3)if(typeof Qt[1]=="string")So.setAction(h,{token:Qt[1],next:Qt[2]});else if(typeof Qt[1]=="object"){var To=Qt[1];To.next=Qt[2],So.setAction(h,To)}else throw Do(n,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+Ft);else So.setAction(h,Qt[1]);else{if(!Qt.regex)throw Do(n,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+Ft);Qt.name&&(typeof Qt.name=="string"&&(So.name=Qt.name)),Qt.matchOnlyAtStart&&(So.matchOnlyAtLineStart=Da(Qt.matchOnlyAtLineStart,!1)),So.setRegex(h,Qt.regex),So.setAction(h,Qt.action)}jt.push(So)}}}if(!r.tokenizer||typeof r.tokenizer!="object")throw Do(n,"a language definition must define the 'tokenizer' attribute as an object");n.tokenizer=[];for(var N in r.tokenizer)if(r.tokenizer.hasOwnProperty(N)){n.start||(n.start=N);var ce=r.tokenizer[N];n.tokenizer[N]=new Array,S("tokenizer."+N,n.tokenizer[N],ce)}if(n.usesEmbedded=h.usesEmbedded,r.brackets){if(!Array.isArray(r.brackets))throw Do(n,"the 'brackets' attribute must be defined as an array")}else r.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];for(var Be=[],Ge=0,Ye=r.brackets;Ge0&&N[ce-1]===Ot)continue;var Ft=_t.startIndex;Ge===0?Ft=0:Ft0?(v?p=(p+1)%c:p=(p+c-1)%c,w.children[p]):(p=w.parent.groups.indexOf(w),v?(p=(p+1)%s,w.parent.groups[p].children[0]):(p=(p+s-1)%s,w.parent.groups[p].children[w.parent.groups[p].children.length-1]))},_.prototype.nearestReference=function(f,v){var w=this.references.map(function(p,c){return{idx:c,prefixLen:H.c(p.uri.toString(),f.toString()),offsetDist:Math.abs(p.range.startLineNumber-v.lineNumber)*100+Math.abs(p.range.startColumn-v.column)}}).sort(function(p,c){return p.prefixLen>c.prefixLen?-1:p.prefixLenc.offsetDist?1:0})[0];return w?this.references[w.idx]:void 0},_.prototype.referenceAt=function(f,v){for(var w=0,p=this.references;w1?L=J.r(y.b.gotoLineLabelValidLineAndColumn,l.lineNumber,l.column):L=J.r(y.b.gotoLineLabelValidLine,l.lineNumber):l.lineNumber<1||l.lineNumber>(d?d.getLineCount():0)?L=J.r(y.b.gotoLineLabelEmptyWithLineLimit,d?d.getLineCount():0):L=J.r(y.b.gotoLineLabelEmptyWithLineAndColumnLimit,d?d.getLineMaxColumn(l.lineNumber):0),{position:l,isValid:E,label:L}},p.prototype.getLabel=function(){return this.parseResult.label},p.prototype.getAriaLabel=function(){var c=this.editor.getPosition(),s=c?c.lineNumber:0;return J.r(y.b.gotoLineAriaLabel,s,this.parseResult.label)},p.prototype.run=function(c,s){return c===1?this.runOpen():this.runPreview()},p.prototype.runOpen=function(){if(!this.parseResult.isValid)return!1;var c=this.toSelection();return this.editor.setSelection(c),this.editor.revealRangeInCenter(c,0),this.editor.focus(),!0},p.prototype.runPreview=function(){if(!this.parseResult.isValid)return this.decorator.clearDecorations(),!1;var c=this.toSelection();return this.editor.revealRangeInCenter(c,0),this.decorator.decorateLine(c,this.editor),!1},p.prototype.toSelection=function(){return new U.a(this.parseResult.position.lineNumber,this.parseResult.position.column,this.parseResult.position.lineNumber,this.parseResult.position.column)},p}(I.a),v=function(w){_(p,w);function p(){return w.call(this,y.b.gotoLineActionInput,{id:"editor.action.gotoLine",label:y.b.gotoLineActionLabel,alias:"Go to Line...",precondition:void 0,kbOpts:{kbExpr:x.a.focus,primary:2048|37,mac:{primary:256|37},weight:100}})||this}return p.prototype.run=function(c,s){var l=this;this._show(this.getController(s),{getModel:function(m){return new I.c([new f(m,s,l.getController(s))])},getAutoFocus:function(m){return{autoFocusFirstEntry:m.length>0}}})},p}(u.a);Object(z.f)(v)},ApJL:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return e.e(277).then(e.bind(null,"AoeA"))}})},BEdG:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\0&&I.getLanguageId(u-1)===U;)u--;return new re(I,U,u,x+1,I.getStartOffset(u),I.getEndOffset(x))}var re=function(){function I(H,z,O,U,x,u){this._actual=H,this.languageId=z,this._firstTokenIndex=O,this._lastTokenIndex=U,this.firstCharOffset=x,this._lastCharOffset=u}return I.prototype.getLineContent=function(){var H=this._actual.getLineContent();return H.substring(this.firstCharOffset,this._lastCharOffset)},I.prototype.getActualLineContentBefore=function(H){var z=this._actual.getLineContent();return z.substring(0,this.firstCharOffset+H)},I.prototype.getTokenCount=function(){return this._lastTokenIndex-this._firstTokenIndex},I.prototype.findTokenIndexAtOffset=function(H){return this._actual.findTokenIndexAtOffset(H+this.firstCharOffset)-this._firstTokenIndex},I.prototype.getStandardTokenType=function(H){return this._actual.getStandardTokenType(H+this._firstTokenIndex)},I}();function J(I){return(I&7)!==0}},BUKB:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:function(){return e.e(324).then(e.bind(null,"xT+r"))}})},BjKj:function(Lt,j,e){},"C/vA":function(Lt,j,e){"use strict";e.d(j,"a",function(){return T});function T(re){var J=this,I=!1,H;return function(){return I||(I=!0,H=re.apply(J,arguments)),H}}},"C1Q+":function(Lt,j,e){"use strict";e.d(j,"f",function(){return Pt}),e.d(j,"e",function(){return at}),e.d(j,"b",function(){return tt}),e.d(j,"g",function(){return ut}),e.d(j,"h",function(){return Ct}),e.d(j,"d",function(){return gt}),e.d(j,"c",function(){return bt}),e.d(j,"a",function(){return Gt});var T=function(){function Nt(Et){this.executor=Et,this._didRun=!1}return Nt.prototype.getValue=function(){if(!this._didRun)try{this._value=this.executor()}catch(Et){this._error=Et}finally{this._didRun=!0}if(this._error)throw this._error;return this._value},Object.defineProperty(Nt.prototype,"rawValue",{get:function(){return this._value},enumerable:!0,configurable:!0}),Nt}(),re=e("pmY6"),J=e("N0LK"),I=e("sswD"),H=e("x/UI"),z=e("wQH0"),O=e("hJVp"),U=e("6OMU"),x=e("/cxE"),u=e("NR8r"),y=e("Cg/j"),_=e("EffR"),f=e("WqXY"),v=e("8HAY"),w=e("cGHE"),p=e("twdY"),c=e("nlbu"),s=e("Uzvx"),l=e("bexQ"),d=function(){var Nt=function(Je,$e){return Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ze,Ke){ze.__proto__=Ke}||function(ze,Ke){for(var fe in Ke)Ke.hasOwnProperty(fe)&&(ze[fe]=Ke[fe])},Nt(Je,$e)};return function(Et,Je){Nt(Et,Je);function $e(){this.constructor=Et}Et.prototype=Je===null?Object.create(Je):($e.prototype=Je.prototype,new $e)}}(),m=function(){return m=Object.assign||function(Nt){for(var Et,Je=1,$e=arguments.length;Je<$e;Je++){Et=arguments[Je];for(var ze in Et)Object.prototype.hasOwnProperty.call(Et,ze)&&(Nt[ze]=Et[ze])}return Nt},m.apply(this,arguments)},E=function(Nt,Et,Je,$e){var ze=arguments.length,Ke=ze<3?Et:$e===null?$e=Object.getOwnPropertyDescriptor(Et,Je):$e,fe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Ke=Reflect.decorate(Nt,Et,Je,$e);else for(var G=Nt.length-1;G>=0;G--)(fe=Nt[G])&&(Ke=(ze<3?fe(Ke):ze>3?fe(Et,Je,Ke):fe(Et,Je))||Ke);return ze>3&&Ke&&Object.defineProperty(Et,Je,Ke),Ke},L=function(Nt,Et){return function(Je,$e){Et(Je,$e,Nt)}},A=function(Nt,Et,Je,$e){function ze(Ke){return Ke instanceof Je?Ke:new Je(function(fe){fe(Ke)})}return new(Je||(Je=Promise))(function(Ke,fe){function G(de){try{Y($e.next(de))}catch(ke){fe(ke)}}function te(de){try{Y($e.throw(de))}catch(ke){fe(ke)}}function Y(de){de.done?Ke(de.value):ze(de.value).then(G,te)}Y(($e=$e.apply(Nt,Et||[])).next())})},k=function(Nt,Et){var Je={label:0,sent:function(){if(Ke[0]&1)throw Ke[1];return Ke[1]},trys:[],ops:[]},$e,ze,Ke,fe;return fe={next:G(0),throw:G(1),return:G(2)},typeof Symbol=="function"&&(fe[Symbol.iterator]=function(){return this}),fe;function G(Y){return function(de){return te([Y,de])}}function te(Y){if($e)throw new TypeError("Generator is already executing.");for(;Je;)try{if($e=1,ze&&(Ke=Y[0]&2?ze.return:Y[0]?ze.throw||((Ke=ze.return)&&Ke.call(ze),0):ze.next)&&!(Ke=Ke.call(ze,Y[1])).done)return Ke;(ze=0,Ke)&&(Y=[Y[0]&2,Ke.value]);switch(Y[0]){case 0:case 1:Ke=Y;break;case 4:return Je.label++,{value:Y[1],done:!1};case 5:Je.label++,ze=Y[1],Y=[0];continue;case 7:Y=Je.ops.pop(),Je.trys.pop();continue;default:if(!(Ke=Je.trys,Ke=Ke.length>0&&Ke[Ke.length-1])&&(Y[0]===6||Y[0]===2)){Je=0;continue}if(Y[0]===3&&(!Ke||Y[1]>Ke[0]&&Y[1]=0}).filter(function($e){return $e.resolvedKeybinding}).map(function($e){var ze=$e.commandArgs;return $e.command===O.d?ze={kind:c.b.SourceOrganizeImports.value}:$e.command===O.b&&(ze={kind:c.b.SourceFixAll.value}),m({resolvedKeybinding:$e.resolvedKeybinding},c.a.fromUser(ze,{kind:c.b.None,apply:"never"}))})});return function($e){if($e.kind){var ze=Et.bestKeybindingForCodeAction($e,Je.getValue());return ze==null?void 0:ze.resolvedKeybinding}return}},Nt.prototype.bestKeybindingForCodeAction=function(Et,Je){if(!Et.kind)return;var $e=new c.b(Et.kind);return Je.filter(function(ze){return ze.kind.contains($e)}).filter(function(ze){return ze.preferred?Et.isPreferred:!0}).reduceRight(function(ze,Ke){return ze?ze.kind.contains(Ke.kind)?Ke:ze:Ke},void 0)},Nt.codeActionCommands=[O.e,O.a,O.f,O.d,O.b],Nt}(),B=e("AKMP"),le=e("MI8n"),Ce=e("MNXI"),Me=e("tX9W"),Te=e("3/fG"),Fe=e("t9D7"),He=e("MD5Z"),Pe=e("pg8w"),ne=function(){var Nt=function(Je,$e){return Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ze,Ke){ze.__proto__=Ke}||function(ze,Ke){for(var fe in Ke)Ke.hasOwnProperty(fe)&&(ze[fe]=Ke[fe])},Nt(Je,$e)};return function(Et,Je){Nt(Et,Je);function $e(){this.constructor=Et}Et.prototype=Je===null?Object.create(Je):($e.prototype=Je.prototype,new $e)}}(),ee=function(Nt,Et,Je,$e){var ze=arguments.length,Ke=ze<3?Et:$e===null?$e=Object.getOwnPropertyDescriptor(Et,Je):$e,fe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Ke=Reflect.decorate(Nt,Et,Je,$e);else for(var G=Nt.length-1;G>=0;G--)(fe=Nt[G])&&(Ke=(ze<3?fe(Ke):ze>3?fe(Et,Je,Ke):fe(Et,Je))||Ke);return ze>3&&Ke&&Object.defineProperty(Et,Je,Ke),Ke},ae=function(Nt,Et){return function(Je,$e){Et(Je,$e,Nt)}},q;(function(Nt){Nt.Hidden={type:0};var Et=function(){function Je($e,ze,Ke,fe){this.actions=$e,this.trigger=ze,this.editorPosition=Ke,this.widgetPosition=fe,this.type=1}return Je}();Nt.Showing=Et})(q||(q={}));var ue=function(Nt){ne(Et,Nt);function Et(Je,$e,ze,Ke){var fe=Nt.call(this)||this;return fe._editor=Je,fe._quickFixActionId=$e,fe._preferredFixActionId=ze,fe._keybindingService=Ke,fe._onClick=fe._register(new le.a),fe.onClick=fe._onClick.event,fe._state=q.Hidden,fe._domNode=document.createElement("div"),fe._domNode.className="codicon codicon-lightbulb",fe._editor.addContentWidget(fe),fe._register(fe._editor.onDidChangeModelContent(function(G){var te=fe._editor.getModel();(fe.state.type!==1||!te||fe.state.editorPosition.lineNumber>=te.getLineCount())&&fe.hide()})),Pe.b.ignoreTarget(fe._domNode),fe._register(_.n(fe._domNode,function(G){if(fe.state.type!==1)return;fe._editor.focus(),G.preventDefault();var te=_.C(fe._domNode),Y=te.top,de=te.height,ke=fe._editor.getOption(49),lt=Math.floor(ke/3);fe.state.widgetPosition.position!==null&&fe.state.widgetPosition.position.lineNumber22,eo=function(Eo){return Eo>2&&Ke._editor.getTopForLineNumber(Eo)===Ke._editor.getTopForLineNumber(Eo-1)},po=G;if(!Jt){if(G>1&&!eo(G-1))po-=1;else if(!eo(G+1))po+=1;else if(te*ke.spaceWidth<22)return this.hide()}this.state=new q.Showing(Je,$e,ze,{position:{lineNumber:po,column:1},preference:Et._posPref}),_.Y(this._domNode,"codicon-lightbulb-autofix",Je.hasAutoFix),this._editor.layoutContentWidget(this)},Et.prototype.hide=function(){this.state=q.Hidden,this._editor.layoutContentWidget(this)},Object.defineProperty(Et.prototype,"state",{get:function(){return this._state},set:function($e){this._state=$e,this._updateLightBulbTitle()},enumerable:!0,configurable:!0}),Et.prototype._updateLightBulbTitle=function(){if(this.state.type===1&&this.state.actions.hasAutoFix){var Je=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(Je){this.title=Te.a("prefferedQuickFixWithKb","Show Fixes. Preferred Fix Available ({0})",Je.getLabel());return}}var $e=this._keybindingService.lookupKeybinding(this._quickFixActionId);$e?this.title=Te.a("quickFixWithKb","Show Fixes ({0})",$e.getLabel()):this.title=Te.a("quickFix","Show Fixes")},Object.defineProperty(Et.prototype,"title",{set:function($e){this._domNode.title=$e},enumerable:!0,configurable:!0}),Et._posPref=[0],Et=ee([ae(3,l.a)],Et),Et}(re.a);Object(Fe.e)(function(Nt,Et){var Je=Nt.getColor(He.J);Je&&Et.addRule(` .monaco-editor .contentWidgets .codicon-lightbulb { color: `+Je+`; - }`);var $e=Nt.getColor(Ue.I);$e&&Et.addRule(` + }`);var $e=Nt.getColor(He.I);$e&&Et.addRule(` .monaco-editor .contentWidgets .codicon-lightbulb-autofix { color: `+$e+`; - }`)});var X=function(){var Nt=function(Je,$e){return Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ze,Ke){ze.__proto__=Ke}||function(ze,Ke){for(var fe in Ke)Ke.hasOwnProperty(fe)&&(ze[fe]=Ke[fe])},Nt(Je,$e)};return function(Et,Je){Nt(Et,Je);function $e(){this.constructor=Et}Et.prototype=Je===null?Object.create(Je):($e.prototype=Je.prototype,new $e)}}(),he=function(Nt,Et,Je,$e){var ze=arguments.length,Ke=ze<3?Et:$e===null?$e=Object.getOwnPropertyDescriptor(Et,Je):$e,fe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Ke=Reflect.decorate(Nt,Et,Je,$e);else for(var G=Nt.length-1;G>=0;G--)(fe=Nt[G])&&(Ke=(ze<3?fe(Ke):ze>3?fe(Et,Je,Ke):fe(Et,Je))||Ke);return ze>3&&Ke&&Object.defineProperty(Et,Je,Ke),Ke},je=function(Nt,Et){return function(Je,$e){Et(Je,$e,Nt)}},Xe=function(Nt,Et,Je,$e){function ze(Ke){return Ke instanceof Je?Ke:new Je(function(fe){fe(Ke)})}return new(Je||(Je=Promise))(function(Ke,fe){function G(de){try{Y($e.next(de))}catch(ke){fe(ke)}}function te(de){try{Y($e.throw(de))}catch(ke){fe(ke)}}function Y(de){de.done?Ke(de.value):ze(de.value).then(G,te)}Y(($e=$e.apply(Nt,Et||[])).next())})},me=function(Nt,Et){var Je={label:0,sent:function(){if(Ke[0]&1)throw Ke[1];return Ke[1]},trys:[],ops:[]},$e,ze,Ke,fe;return fe={next:G(0),throw:G(1),return:G(2)},typeof Symbol=="function"&&(fe[Symbol.iterator]=function(){return this}),fe;function G(Y){return function(de){return te([Y,de])}}function te(Y){if($e)throw new TypeError("Generator is already executing.");for(;Je;)try{if($e=1,ze&&(Ke=Y[0]&2?ze.return:Y[0]?ze.throw||((Ke=ze.return)&&Ke.call(ze),0):ze.next)&&!(Ke=Ke.call(ze,Y[1])).done)return Ke;(ze=0,Ke)&&(Y=[Y[0]&2,Ke.value]);switch(Y[0]){case 0:case 1:Ke=Y;break;case 4:return Je.label++,{value:Y[1],done:!1};case 5:Je.label++,ze=Y[1],Y=[0];continue;case 7:Y=Je.ops.pop(),Je.trys.pop();continue;default:if(!(Ke=Je.trys,Ke=Ke.length>0&&Ke[Ke.length-1])&&(Y[0]===6||Y[0]===2)){Je=0;continue}if(Y[0]===3&&(!Ke||Y[1]>Ke[0]&&Y[1]0||Je.autoApply==="ifSingle"&&$e.validActions.length===1)?$e.validActions[0]:void 0},Et.prototype.showCodeActionList=function(Je,$e,ze,Ke){return Xe(this,void 0,void 0,function(){return me(this,function(fe){return this._codeActionWidget.getValue().show(Je,$e,ze,Ke),[2]})})},Et=he([je(4,y.a)],Et),Et}(re.a),we=e("nnTU"),Re=e("T8No"),Ee=e("tADe"),ve=e("sM1p"),Q=e("tTk5"),C=e("XXUj"),F=e("X+cX"),se=e("aokT"),oe=e("gslv"),be=function(){var Nt=function(Je,$e){return Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ze,Ke){ze.__proto__=Ke}||function(ze,Ke){for(var fe in Ke)Ke.hasOwnProperty(fe)&&(ze[fe]=Ke[fe])},Nt(Je,$e)};return function(Et,Je){Nt(Et,Je);function $e(){this.constructor=Et}Et.prototype=Je===null?Object.create(Je):($e.prototype=Je.prototype,new $e)}}(),De=new Re.d("supportedCodeAction",""),Se=function(Nt){be(Et,Nt);function Et(Je,$e,ze,Ke){Ke===void 0&&(Ke=250);var fe=Nt.call(this)||this;return fe._editor=Je,fe._markerService=$e,fe._signalChange=ze,fe._delay=Ke,fe._autoTriggerTimer=fe._register(new F.e),fe._register(fe._markerService.onMarkerChanged(function(G){return fe._onMarkerChanges(G)})),fe._register(fe._editor.onDidChangeCursorPosition(function(){return fe._onCursorChange()})),fe}return Et.prototype.trigger=function(Je){var $e=this._getRangeOfSelectionUnlessWhitespaceEnclosed(Je);return this._createEventAndSignalChange(Je,$e)},Et.prototype._onMarkerChanges=function(Je){var $e=this,ze=this._editor.getModel();if(!ze)return;Je.some(function(Ke){return Object(oe.e)(Ke,ze.uri)})&&this._autoTriggerTimer.cancelAndSet(function(){$e.trigger({type:1})},this._delay)},Et.prototype._onCursorChange=function(){var Je=this;this._autoTriggerTimer.cancelAndSet(function(){Je.trigger({type:1})},this._delay)},Et.prototype._getRangeOfMarker=function(Je){var $e=this._editor.getModel();if(!$e)return;for(var ze=0,Ke=this._markerService.read({resource:$e.uri});ze=0;G--)(fe=Nt[G])&&(Ke=(ze<3?fe(Ke):ze>3?fe(Et,Je,Ke):fe(Et,Je))||Ke);return ze>3&&Ke&&Object.defineProperty(Et,Je,Ke),Ke},Rt=function(Nt,Et){return function(Je,$e){Et(Je,$e,Nt)}},Mt=function(Nt,Et,Je,$e){function ze(Ke){return Ke instanceof Je?Ke:new Je(function(fe){fe(Ke)})}return new(Je||(Je=Promise))(function(Ke,fe){function G(de){try{Y($e.next(de))}catch(ke){fe(ke)}}function te(de){try{Y($e.throw(de))}catch(ke){fe(ke)}}function Y(de){de.done?Ke(de.value):ze(de.value).then(G,te)}Y(($e=$e.apply(Nt,Et||[])).next())})},zt=function(Nt,Et){var Je={label:0,sent:function(){if(Ke[0]&1)throw Ke[1];return Ke[1]},trys:[],ops:[]},$e,ze,Ke,fe;return fe={next:G(0),throw:G(1),return:G(2)},typeof Symbol=="function"&&(fe[Symbol.iterator]=function(){return this}),fe;function G(Y){return function(de){return te([Y,de])}}function te(Y){if($e)throw new TypeError("Generator is already executing.");for(;Je;)try{if($e=1,ze&&(Ke=Y[0]&2?ze.return:Y[0]?ze.throw||((Ke=ze.return)&&Ke.call(ze),0):ze.next)&&!(Ke=Ke.call(ze,Y[1])).done)return Ke;(ze=0,Ke)&&(Y=[Y[0]&2,Ke.value]);switch(Y[0]){case 0:case 1:Ke=Y;break;case 4:return Je.label++,{value:Y[1],done:!1};case 5:Je.label++,ze=Y[1],Y=[0];continue;case 7:Y=Je.ops.pop(),Je.trys.pop();continue;default:if(!(Ke=Je.trys,Ke=Ke.length>0&&Ke[Ke.length-1])&&(Y[0]===6||Y[0]===2)){Je=0;continue}if(Y[0]===3&&(!Ke||Y[1]>Ke[0]&&Y[1]255?255:J|0}function re(J){return J<0?0:J>4294967295?4294967295:J|0}},CdFp:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:function(){return e.e(272).then(e.bind(null,"6Xso"))}})},"Cg/j":function(Lt,j,e){"use strict";e.d(j,"b",function(){return T}),e.d(j,"a",function(){return re}),e.d(j,"c",function(){return I}),e.d(j,"d",function(){return U});var T;(function(z){z.serviceIds=new Map,z.DI_TARGET="$di$target",z.DI_DEPENDENCIES="$di$dependencies";function O(H){return H[z.DI_DEPENDENCIES]||[]}z.getServiceDependencies=O})(T||(T={}));var re=I("instantiationService");function J(z,O,H,x){O[T.DI_TARGET]===O?O[T.DI_DEPENDENCIES].push({id:z,index:H,optional:x}):(O[T.DI_DEPENDENCIES]=[{id:z,index:H,optional:x}],O[T.DI_TARGET]=O)}function I(z){if(T.serviceIds.has(z))return T.serviceIds.get(z);var O=function H(x,u,y){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");J(H,x,y,!1)};return O.toString=function(){return z},T.serviceIds.set(z,O),O}function U(z){return function(O,H,x){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");J(z,O,x,!0)}}},CjF5:function(Lt,j,e){"use strict";e.d(j,"a",function(){return J});var T=e("D3Dy"),re=e("MNsG"),J={clipboard:{writeText:re.f||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:re.f||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText),richText:function(){if(T.i)return!1;if(T.e){var I=navigator.userAgent.indexOf("Edge/"),U=parseInt(navigator.userAgent.substring(I+5,navigator.userAgent.indexOf(".",I)),10);if(!U||U>=12&&U<=16)return!1}return!0}()},keyboard:function(){return re.f||T.l?0:navigator.keyboard||T.k?1:2}(),touch:"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0)}},CjOT:function(Lt,j,e){},Comh:function(Lt,j,e){"use strict";e.d(j,"b",function(){return I}),e.d(j,"a",function(){return U});var T=e("N0LK"),re=e("cGHE"),J=e("aokT"),I=function(){function z(O,H,x,u,y){this.value=O,this.selectionStart=H,this.selectionEnd=x,this.selectionStartPosition=u,this.selectionEndPosition=y}return z.prototype.toString=function(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"},z.readFromTextArea=function(O){return new z(O.getValue(),O.getSelectionStart(),O.getSelectionEnd(),null,null)},z.prototype.collapseSelection=function(){return new z(this.value,this.value.length,this.value.length,null,null)},z.prototype.writeToTextArea=function(O,H,x){H.setValue(O,this.value),x&&H.setSelectionRange(O,this.selectionStart,this.selectionEnd)},z.prototype.deduceEditorPosition=function(O){if(O<=this.selectionStart){var H=this.value.substring(O,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,H,-1)}if(O>=this.selectionEnd){var H=this.value.substring(this.selectionEnd,O);return this._finishDeduceEditorPosition(this.selectionEndPosition,H,1)}var x=this.value.substring(this.selectionStart,O);if(x.indexOf(String.fromCharCode(8230))===-1)return this._finishDeduceEditorPosition(this.selectionStartPosition,x,1);var u=this.value.substring(O,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,u,-1)},z.prototype._finishDeduceEditorPosition=function(O,H,x){for(var u=0,y=-1;(y=H.indexOf(` -`,y+1))!==-1;)u++;return[O,x*H.length,u]},z.selectedText=function(O){return new z(O,0,O.length,null,null)},z.deduceInput=function(O,H,x){if(!O)return{text:"",replaceCharCnt:0};var u=O.value,y=O.selectionStart,_=O.selectionEnd,f=H.value,v=H.selectionStart,w=H.selectionEnd,p=u.substring(_),c=f.substring(w),s=T.d(p,c);f=f.substring(0,f.length-s),u=u.substring(0,u.length-s);var l=u.substring(0,y),d=f.substring(0,v),m=T.c(l,d);if(f=f.substring(m),u=u.substring(m),v-=m,y-=m,w-=m,_-=m,x&&v===w&&u.length>0){var E=null;if(v===f.length?T.N(f,u)&&(E=f.substring(u.length)):T.m(f,u)&&(E=f.substring(0,f.length-u.length)),E!==null&&E.length>0&&(/\uFE0F/.test(E)||T.g(E)))return{text:E,replaceCharCnt:0}}if(v===w){if(u===f&&y===0&&_===u.length&&v===f.length&&f.indexOf(` -`)===-1&&T.h(f))return{text:"",replaceCharCnt:0};var L=l.length-m;return{text:f,replaceCharCnt:L}}var A=_-y;return{text:f,replaceCharCnt:A}},z.EMPTY=new z("",0,0,null,null),z}(),U=function(){function z(){}return z._getPageOfLine=function(O,H){return Math.floor((O-1)/H)},z._getRangeForPage=function(O,H){var x=O*H,u=x+1,y=x+H;return new J.a(u,1,y+1,1)},z.fromEditorSelection=function(O,H,x,u,y){var _=z._getPageOfLine(x.startLineNumber,u),f=z._getRangeForPage(_,u),v=z._getPageOfLine(x.endLineNumber,u),w=z._getRangeForPage(v,u),p=f.intersectRanges(new J.a(1,1,x.startLineNumber,x.startColumn)),c=H.getValueInRange(p,1),s=H.getLineCount(),l=H.getLineMaxColumn(s),d=w.intersectRanges(new J.a(x.endLineNumber,x.endColumn,s,l)),m=H.getValueInRange(d,1),E;if(_===v||_+1===v)E=H.getValueInRange(x,1);else{var L=f.intersectRanges(x),A=w.intersectRanges(x);E=H.getValueInRange(L,1)+String.fromCharCode(8230)+H.getValueInRange(A,1)}if(y){var k=500;c.length>k&&(c=c.substring(c.length-k,c.length)),m.length>k&&(m=m.substring(0,k)),E.length>2*k&&(E=E.substring(0,k)+String.fromCharCode(8230)+E.substring(E.length-k,E.length))}return new I(c+E+m,c.length,c.length+E.length,new re.a(x.startLineNumber,x.startColumn),new re.a(x.endLineNumber,x.endColumn))},z}()},CxEt:function(Lt,j,e){"use strict";e.r(j);var T=e("sswD"),re=e("C1Q+");Object(T.h)(re.f.ID,re.f),Object(T.f)(re.e),Object(T.f)(re.g),Object(T.f)(re.h),Object(T.f)(re.d),Object(T.f)(re.a),Object(T.f)(re.c),Object(T.g)(new re.b)},D3Dy:function(Lt,j,e){"use strict";e.d(j,"c",function(){return J}),e.d(j,"b",function(){return I}),e.d(j,"o",function(){return U}),e.d(j,"a",function(){return z}),e.d(j,"i",function(){return H}),e.d(j,"e",function(){return x}),e.d(j,"f",function(){return u}),e.d(j,"h",function(){return y}),e.d(j,"m",function(){return _}),e.d(j,"d",function(){return f}),e.d(j,"k",function(){return v}),e.d(j,"n",function(){return w}),e.d(j,"j",function(){return p}),e.d(j,"g",function(){return c}),e.d(j,"l",function(){return s});var T=e("MI8n"),re=function(){function l(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new T.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}return l.prototype.getZoomLevel=function(){return this._zoomLevel},l.prototype.getTimeSinceLastZoomLevelChanged=function(){return Date.now()-this._lastZoomLevelChangeTime},l.prototype.getPixelRatio=function(){var d=document.createElement("canvas").getContext("2d"),m=window.devicePixelRatio||1,E=d.webkitBackingStorePixelRatio||d.mozBackingStorePixelRatio||d.msBackingStorePixelRatio||d.oBackingStorePixelRatio||d.backingStorePixelRatio||1;return m/E},l.INSTANCE=new l,l}();function J(){return re.INSTANCE.getZoomLevel()}function I(){return re.INSTANCE.getTimeSinceLastZoomLevelChanged()}function U(l){return re.INSTANCE.onDidChangeZoomLevel(l)}function z(){return re.INSTANCE.getPixelRatio()}var O=navigator.userAgent,H=O.indexOf("Trident")>=0,x=O.indexOf("Edge/")>=0,u=H||x,y=O.indexOf("Firefox")>=0,_=O.indexOf("AppleWebKit")>=0,f=O.indexOf("Chrome")>=0,v=!f&&O.indexOf("Safari")>=0,w=!f&&!v&&_,p=O.indexOf("iPad")>=0||v&&navigator.maxTouchPoints>0,c=x&&O.indexOf("WebView/")>=0,s=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},DTDp:function(Lt,j,e){},Dvnd:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:function(){return e.e(290).then(e.bind(null,"y0OK"))}})},"E+ie":function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return e.e(280).then(e.bind(null,"p+q7"))}})},E4kL:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml"],loader:function(){return e.e(329).then(e.bind(null,"EaLm"))}})},EIAu:function(Lt,j,e){"use strict";e.d(j,"b",function(){return U}),e.d(j,"a",function(){return p});var T=e("N0LK"),re=e("aokT"),J=function(){function c(s,l,d,m,E,L){this.languageIdentifier=s,this.index=l,this.open=d,this.close=m,this.forwardRegex=E,this.reversedRegex=L,this._openSet=c._toSet(this.open),this._closeSet=c._toSet(this.close)}return c.prototype.isOpen=function(s){return this._openSet.has(s)},c.prototype.isClose=function(s){return this._closeSet.has(s)},c._toSet=function(s){for(var l=new Set,d=0,m=s;d0&&R.push({open:ie,close:W})}return R}var U=function(){function c(s,l){var d=I(l);this.brackets=d.map(function(B,le){return new J(s,le,B.open,B.close,x(B.open,B.close,d,le),u(B.open,B.close,d,le))}),this.forwardRegex=y(this.brackets),this.reversedRegex=_(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(var m=0,E=this.brackets;m=0&&d.push(R)}for(var $=0,ie=L.close;$=0&&d.push(W)}}}function O(c,s){return c.length-s.length}function H(c){if(c.length<=1)return c;for(var s=[],l=new Set,d=0,m=c;d=0;E--)m+=d.charAt(E);return m}var s=null,l=null;return function(m){return s!==m&&(s=m,l=c(s)),l}}(),p=function(){function c(){}return c._findPrevBracketInText=function(s,l,d,m){var E=d.match(s);if(!E)return null;var L=d.length-(E.index||0),A=E[0].length,k=m+L;return new re.a(l,k-A+1,l,k+1)},c.findPrevBracketInRange=function(s,l,d,m,E){var L=w(d),A=L.substring(d.length-E,d.length-m);return this._findPrevBracketInText(s,l,A,m)},c.findNextBracketInText=function(s,l,d,m){var E=d.match(s);if(!E)return null;var L=E.index||0,A=E[0].length;if(A===0)return null;var k=m+L;return new re.a(l,k+1,l,k+1+A)},c.findNextBracketInRange=function(s,l,d,m,E){var L=d.substring(m,E);return this.findNextBracketInText(s,l,L,m)},c}()},EOst:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:function(){return e.e(326).then(e.bind(null,"87dK"))}})},"EPS+":function(Lt,j,e){},EWX2:function(Lt,j,e){"use strict";e.d(j,"a",function(){return U}),e.d(j,"b",function(){return x});var T=e("bY76"),re=e("gslv"),J=e("Cg/j"),I=e("QDVR"),U=Object(J.c)("contextService"),z;(function(u){function y(_){return _&&typeof _=="object"&&typeof _.id=="string"&&Array.isArray(_.folders)}u.isIWorkspace=y})(z||(z={}));var O;(function(u){function y(_){return _&&typeof _=="object"&&T.a.isUri(_.uri)&&typeof _.name=="string"&&typeof _.toResource=="function"}u.isIWorkspaceFolder=y})(O||(O={}));var H=function(){function u(y,_,f){_===void 0&&(_=[]),f===void 0&&(f=null),this._id=y,this._configuration=f,this._foldersMap=I.c.forPaths(),this.folders=_}return Object.defineProperty(u.prototype,"folders",{get:function(){return this._folders},set:function(_){this._folders=_,this.updateFoldersMap()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"configuration",{get:function(){return this._configuration},set:function(_){this._configuration=_},enumerable:!0,configurable:!0}),u.prototype.getFolder=function(y){return y&&this._foldersMap.findSubstr(y.with({scheme:y.scheme,authority:y.authority,path:y.path}).toString())||null},u.prototype.updateFoldersMap=function(){this._foldersMap=I.c.forPaths();for(var y=0,_=this.folders;y<_.length;y++){var f=_[y];this._foldersMap.set(f.uri.toString(),f)}},u.prototype.toJSON=function(){return{id:this.id,folders:this.folders,configuration:this.configuration}},u}(),x=function(){function u(y,_){this.raw=_,this.uri=y.uri,this.index=y.index,this.name=y.name}return u.prototype.toResource=function(y){return re.f(this.uri,y)},u.prototype.toJSON=function(){return{uri:this.uri,name:this.name,index:this.index}},u}()},EffR:function(Lt,j,e){"use strict";e.d(j,"t",function(){return p}),e.d(j,"R",function(){return c}),e.d(j,"M",function(){return s}),e.d(j,"I",function(){return E}),e.d(j,"f",function(){return L}),e.d(j,"g",function(){return A}),e.d(j,"P",function(){return k}),e.d(j,"Q",function(){return R}),e.d(j,"Y",function(){return $}),e.d(j,"j",function(){return W}),e.d(j,"o",function(){return Ce}),e.d(j,"n",function(){return Me}),e.d(j,"h",function(){return Te}),e.d(j,"i",function(){return Fe}),e.d(j,"k",function(){return Ue}),e.d(j,"l",function(){return Pe}),e.d(j,"U",function(){return ae}),e.d(j,"W",function(){return q}),e.d(j,"m",function(){return Xe}),e.d(j,"z",function(){return me}),e.d(j,"y",function(){return ge}),e.d(j,"b",function(){return Re}),e.d(j,"F",function(){return Ee}),e.d(j,"C",function(){return ve}),e.d(j,"e",function(){return Q}),e.d(j,"H",function(){return C}),e.d(j,"B",function(){return F}),e.d(j,"A",function(){return se}),e.d(j,"G",function(){return oe}),e.d(j,"K",function(){return be}),e.d(j,"x",function(){return De}),e.d(j,"N",function(){return Ve}),e.d(j,"E",function(){return Qe}),e.d(j,"w",function(){return it}),e.d(j,"v",function(){return zt}),e.d(j,"O",function(){return uo}),e.d(j,"L",function(){return ao}),e.d(j,"d",function(){return so}),e.d(j,"c",function(){return Pt}),e.d(j,"V",function(){return ft}),e.d(j,"T",function(){return vt}),e.d(j,"Z",function(){return at}),e.d(j,"q",function(){return tt}),e.d(j,"a",function(){return bt}),e.d(j,"X",function(){return Gt}),e.d(j,"J",function(){return Nt}),e.d(j,"S",function(){return Je}),e.d(j,"D",function(){return $e}),e.d(j,"u",function(){return ze}),e.d(j,"ab",function(){return Ke}),e.d(j,"p",function(){return fe}),e.d(j,"s",function(){return G}),e.d(j,"r",function(){return te});var T=e("D3Dy"),re=e("4y0V"),J=e("uDWl"),I=e("XSiN"),U=e("X+cX"),z=e("/cxE"),O=e("MI8n"),H=e("pmY6"),x=e("MNsG"),u=e("6OMU"),y=e("tYmi"),_=e("CjF5"),f=function(){var Y=function(ke,lt){return Y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Tt,Jt){Tt.__proto__=Jt}||function(Tt,Jt){for(var eo in Jt)Jt.hasOwnProperty(eo)&&(Tt[eo]=Jt[eo])},Y(ke,lt)};return function(de,ke){Y(de,ke);function lt(){this.constructor=de}de.prototype=ke===null?Object.create(ke):(lt.prototype=ke.prototype,new lt)}}(),v=function(){return v=Object.assign||function(Y){for(var de,ke=1,lt=arguments.length;ke=0;){if(po=eo+Jt,(eo===0||lt.charCodeAt(eo-1)===32)&<.charCodeAt(po)===32){this._lastStart=eo,this._lastEnd=po+1;return}if(eo>0&<.charCodeAt(eo-1)===32&&po===Tt){this._lastStart=eo-1,this._lastEnd=po;return}if(eo===0&&po===Tt){this._lastStart=0,this._lastEnd=po;return}}this._lastStart=-1},Y.prototype.hasClass=function(de,ke){return this._findClassName(de,ke),this._lastStart!==-1},Y.prototype.addClasses=function(de){for(var ke=this,lt=[],Tt=1;Tt0;){de.sort(ue.sort);var eo=de.shift();eo.execute()}lt=!1};q=function(eo,po){po===void 0&&(po=0);var co=new ue(eo,po);return Y.push(co),ke||(ke=!0,ee(Tt)),co},ae=function(eo,po){if(lt){var co=new ue(eo,po);return de.push(co),co}else return q(eo,po)}})();var X=16,he=function(de,ke){return ke},je=function(Y){f(de,Y);function de(ke,lt,Tt,Jt,eo){Jt===void 0&&(Jt=he),eo===void 0&&(eo=X);var po=Y.call(this)||this,co=null,Eo=0,Oo=po._register(new U.e),Ao=function(){Eo=new Date().getTime(),Tt(co),co=null};return po._register(W(ke,lt,function(Zo){co=Jt(co,Zo);var Co=new Date().getTime()-Eo;Co>=eo?(Oo.cancel(),Ao()):Oo.setIfNotSet(Ao,eo-Co)})),po}return de}(H.a);function Xe(Y,de,ke,lt,Tt){return new je(Y,de,ke,lt,Tt)}function me(Y){return document.defaultView.getComputedStyle(Y,null)}function ge(Y){if(Y!==document.body)return new Re(Y.clientWidth,Y.clientHeight);if(x.c&&window.visualViewport){var de=window.visualViewport.width,ke=window.visualViewport.height-(T.l?20+4:0);return new Re(de,ke)}if(window.innerWidth&&window.innerHeight)return new Re(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new Re(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new Re(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}var we=function(){function Y(){}return Y.convertToPixels=function(de,ke){return parseFloat(ke)||0},Y.getDimension=function(de,ke,lt){var Tt=me(de),Jt="0";return Tt&&(Tt.getPropertyValue?Jt=Tt.getPropertyValue(ke):Jt=Tt.getAttribute(lt)),Y.convertToPixels(de,Jt)},Y.getBorderLeftWidth=function(de){return Y.getDimension(de,"border-left-width","borderLeftWidth")},Y.getBorderRightWidth=function(de){return Y.getDimension(de,"border-right-width","borderRightWidth")},Y.getBorderTopWidth=function(de){return Y.getDimension(de,"border-top-width","borderTopWidth")},Y.getBorderBottomWidth=function(de){return Y.getDimension(de,"border-bottom-width","borderBottomWidth")},Y.getPaddingLeft=function(de){return Y.getDimension(de,"padding-left","paddingLeft")},Y.getPaddingRight=function(de){return Y.getDimension(de,"padding-right","paddingRight")},Y.getPaddingTop=function(de){return Y.getDimension(de,"padding-top","paddingTop")},Y.getPaddingBottom=function(de){return Y.getDimension(de,"padding-bottom","paddingBottom")},Y.getMarginLeft=function(de){return Y.getDimension(de,"margin-left","marginLeft")},Y.getMarginTop=function(de){return Y.getDimension(de,"margin-top","marginTop")},Y.getMarginRight=function(de){return Y.getDimension(de,"margin-right","marginRight")},Y.getMarginBottom=function(de){return Y.getDimension(de,"margin-bottom","marginBottom")},Y}(),Re=function(){function Y(de,ke){this.width=de,this.height=ke}return Y}();function Ee(Y){for(var de=Y.offsetParent,ke=Y.offsetTop,lt=Y.offsetLeft;(Y=Y.parentNode)!==null&&Y!==document.body&&Y!==document.documentElement;){ke-=Y.scrollTop;var Tt=Se(Y)?null:me(Y);Tt&&(lt-=Tt.direction!=="rtl"?Y.scrollLeft:-Y.scrollLeft),Y===de&&(lt+=we.getBorderLeftWidth(Y),ke+=we.getBorderTopWidth(Y),ke+=Y.offsetTop,lt+=Y.offsetLeft,de=Y.offsetParent)}return{left:lt,top:ke}}function ve(Y){var de=Y.getBoundingClientRect();return{left:de.left+Q.scrollX,top:de.top+Q.scrollY,width:de.width,height:de.height}}var Q=new(function(){function Y(){}return Object.defineProperty(Y.prototype,"scrollX",{get:function(){return typeof window.scrollX=="number"?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft},enumerable:!0,configurable:!0}),Object.defineProperty(Y.prototype,"scrollY",{get:function(){return typeof window.scrollY=="number"?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop},enumerable:!0,configurable:!0}),Y}());function C(Y){var de=we.getMarginLeft(Y)+we.getMarginRight(Y);return Y.offsetWidth+de}function F(Y){var de=we.getBorderLeftWidth(Y)+we.getBorderRightWidth(Y),ke=we.getPaddingLeft(Y)+we.getPaddingRight(Y);return Y.offsetWidth-de-ke}function se(Y){var de=we.getBorderTopWidth(Y)+we.getBorderBottomWidth(Y),ke=we.getPaddingTop(Y)+we.getPaddingBottom(Y);return Y.offsetHeight-de-ke}function oe(Y){var de=we.getMarginTop(Y)+we.getMarginBottom(Y);return Y.offsetHeight+de}function be(Y,de){for(;Y;){if(Y===de)return!0;Y=Y.parentNode}return!1}function De(Y,de,ke){for(;Y&&Y.nodeType===Y.ELEMENT_NODE;){if(E(Y,de))return Y;if(ke){if(typeof ke=="string"){if(E(Y,ke))return null}else if(Y===ke)return null}Y=Y.parentNode}return null}function Se(Y){return Y&&!!Y.host&&!!Y.mode}function Ve(Y){return!!Qe(Y)}function Qe(Y){for(;Y.parentNode;){if(Y===document.body)return null;Y=Y.parentNode}return Se(Y)?Y:null}function it(Y){Y===void 0&&(Y=document.getElementsByTagName("head")[0]);var de=document.createElement("style");return de.type="text/css",de.media="screen",Y.appendChild(de),de}var pt=null;function Rt(){return pt||(pt=it()),pt}function Mt(Y){return Y&&Y.sheet&&Y.sheet.rules?Y.sheet.rules:Y&&Y.sheet&&Y.sheet.cssRules?Y.sheet.cssRules:[]}function zt(Y,de,ke){if(ke===void 0&&(ke=Rt()),!ke||!de)return;ke.sheet.insertRule(Y+"{"+de+"}",0)}function uo(Y,de){if(de===void 0&&(de=Rt()),!de)return;for(var ke=Mt(de),lt=[],Tt=0;Tt=0;Tt--)de.sheet.deleteRule(lt[Tt])}function ao(Y){return typeof HTMLElement=="object"?Y instanceof HTMLElement:Y&&typeof Y=="object"&&Y.nodeType===1&&typeof Y.nodeName=="string"}var so={CLICK:"click",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:T.m?"webkitAnimationStart":"animationstart",ANIMATION_END:T.m?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:T.m?"webkitAnimationIteration":"animationiteration"},Pt={stop:function(de,ke){de.preventDefault?de.preventDefault():de.returnValue=!1,ke&&(de.stopPropagation?de.stopPropagation():de.cancelBubble=!0)}};function ft(Y){for(var de=[],ke=0;Y&&Y.nodeType===Y.ELEMENT_NODE;ke++)de[ke]=Y.scrollTop,Y=Y.parentNode;return de}function vt(Y,de){for(var ke=0;Y&&Y.nodeType===Y.ELEMENT_NODE;ke++)Y.scrollTop!==de[ke]&&(Y.scrollTop=de[ke]),Y=Y.parentNode}var At=function(Y){f(de,Y);function de(ke){var lt=Y.call(this)||this;lt._onDidFocus=lt._register(new O.a),lt.onDidFocus=lt._onDidFocus.event,lt._onDidBlur=lt._register(new O.a),lt.onDidBlur=lt._onDidBlur.event;var Tt=be(document.activeElement,ke),Jt=!1,eo=function(){Jt=!1,Tt||(Tt=!0,lt._onDidFocus.fire())},po=function(){Tt&&(Jt=!0,window.setTimeout(function(){Jt&&(Jt=!1,Tt=!1,lt._onDidBlur.fire())},0))};return lt._refreshStateHandler=function(){var co=be(document.activeElement,ke);co!==Tt&&(Tt?po():eo())},lt._register(Object(re.a)(ke,so.FOCUS,!0)(eo)),lt._register(Object(re.a)(ke,so.BLUR,!0)(po)),lt}return de}(H.a);function at(Y){return new At(Y)}function tt(Y){for(var de=[],ke=1;kec){ue._setDesiredScrollPositionNow(je.getScrollPosition());return}var we=ue._sliderMousePosition(Xe),Re=we-X;ue._setDesiredScrollPositionNow(je.getDesiredScrollPositionFromDelta(Re))},function(){ue.slider.toggleClassName("active",!1),ue._host.onDragEnd(),q()}),this._host.onDragStart()},ee.prototype._setDesiredScrollPositionNow=function(ae){var q={};this.writeScrollPosition(q,ae),this._scrollable.setScrollPositionNow(q)},ee}(O.a),l=20,d=function(){function ne(ee,ae,q,ue,X,he){this._scrollbarSize=Math.round(ae),this._oppositeScrollbarSize=Math.round(q),this._arrowSize=Math.round(ee),this._visibleSize=ue,this._scrollSize=X,this._scrollPosition=he,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}return ne.prototype.clone=function(){return new ne(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)},ne.prototype.setVisibleSize=function(ee){var ae=Math.round(ee);return this._visibleSize!==ae?(this._visibleSize=ae,this._refreshComputedValues(),!0):!1},ne.prototype.setScrollSize=function(ee){var ae=Math.round(ee);return this._scrollSize!==ae?(this._scrollSize=ae,this._refreshComputedValues(),!0):!1},ne.prototype.setScrollPosition=function(ee){var ae=Math.round(ee);return this._scrollPosition!==ae?(this._scrollPosition=ae,this._refreshComputedValues(),!0):!1},ne._computeValues=function(ee,ae,q,ue,X){var he=Math.max(0,q-ee),je=Math.max(0,he-2*ae),Xe=ue>0&&ue>q;if(!Xe)return{computedAvailableSize:Math.round(he),computedIsNeeded:Xe,computedSliderSize:Math.round(je),computedSliderRatio:0,computedSliderPosition:0};var me=Math.round(Math.max(l,Math.floor(q*je/ue))),ge=(je-me)/(ue-q),we=X*ge;return{computedAvailableSize:Math.round(he),computedIsNeeded:Xe,computedSliderSize:Math.round(me),computedSliderRatio:ge,computedSliderPosition:Math.round(we)}},ne.prototype._refreshComputedValues=function(){var ee=ne._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=ee.computedAvailableSize,this._computedIsNeeded=ee.computedIsNeeded,this._computedSliderSize=ee.computedSliderSize,this._computedSliderRatio=ee.computedSliderRatio,this._computedSliderPosition=ee.computedSliderPosition},ne.prototype.getArrowSize=function(){return this._arrowSize},ne.prototype.getScrollPosition=function(){return this._scrollPosition},ne.prototype.getRectangleLargeSize=function(){return this._computedAvailableSize},ne.prototype.getRectangleSmallSize=function(){return this._scrollbarSize},ne.prototype.isNeeded=function(){return this._computedIsNeeded},ne.prototype.getSliderSize=function(){return this._computedSliderSize},ne.prototype.getSliderPosition=function(){return this._computedSliderPosition},ne.prototype.getDesiredScrollPositionFromOffset=function(ee){if(!this._computedIsNeeded)return 0;var ae=ee-this._arrowSize-this._computedSliderSize/2;return Math.round(ae/this._computedSliderRatio)},ne.prototype.getDesiredScrollPositionFromDelta=function(ee){if(!this._computedIsNeeded)return 0;var ae=this._computedSliderPosition+ee;return Math.round(ae/this._computedSliderRatio)},ne}(),m=function(){var ne=function(ae,q){return ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,X){ue.__proto__=X}||function(ue,X){for(var he in X)X.hasOwnProperty(he)&&(ue[he]=X[he])},ne(ae,q)};return function(ee,ae){ne(ee,ae);function q(){this.constructor=ee}ee.prototype=ae===null?Object.create(ae):(q.prototype=ae.prototype,new q)}}(),E=function(ne){m(ee,ne);function ee(ae,q,ue){var X=this,he=ae.getScrollDimensions(),je=ae.getCurrentScrollPosition();if(X=ne.call(this,{lazyRender:q.lazyRender,host:ue,scrollbarState:new d(q.horizontalHasArrows?q.arrowSize:0,q.horizontal===2?0:q.horizontalScrollbarSize,q.vertical===2?0:q.verticalScrollbarSize,he.width,he.scrollWidth,je.scrollLeft),visibility:q.horizontal,extraScrollbarClassName:"horizontal",scrollable:ae})||this,q.horizontalHasArrows){var Xe=(q.arrowSize-u)/2,me=(q.horizontalScrollbarSize-u)/2;X._createArrow({className:"left-arrow",top:me,left:Xe,bottom:void 0,right:void 0,bgWidth:q.arrowSize,bgHeight:q.horizontalScrollbarSize,onActivate:function(){return X._host.onMouseWheel(new U.c(null,1,0))}}),X._createArrow({className:"right-arrow",top:me,left:void 0,bottom:void 0,right:Xe,bgWidth:q.arrowSize,bgHeight:q.horizontalScrollbarSize,onActivate:function(){return X._host.onMouseWheel(new U.c(null,-1,0))}})}return X._createSlider(Math.floor((q.horizontalScrollbarSize-q.horizontalSliderSize)/2),0,void 0,q.horizontalSliderSize),X}return ee.prototype._updateSlider=function(ae,q){this.slider.setWidth(ae),this.slider.setLeft(q)},ee.prototype._renderDomNode=function(ae,q){this.domNode.setWidth(ae),this.domNode.setHeight(q),this.domNode.setLeft(0),this.domNode.setBottom(0)},ee.prototype.onDidScroll=function(ae){return this._shouldRender=this._onElementScrollSize(ae.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(ae.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(ae.width)||this._shouldRender,this._shouldRender},ee.prototype._mouseDownRelativePosition=function(ae,q){return ae},ee.prototype._sliderMousePosition=function(ae){return ae.posx},ee.prototype._sliderOrthogonalMousePosition=function(ae){return ae.posy},ee.prototype.writeScrollPosition=function(ae,q){ae.scrollLeft=q},ee}(s),L=function(){var ne=function(ae,q){return ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,X){ue.__proto__=X}||function(ue,X){for(var he in X)X.hasOwnProperty(he)&&(ue[he]=X[he])},ne(ae,q)};return function(ee,ae){ne(ee,ae);function q(){this.constructor=ee}ee.prototype=ae===null?Object.create(ae):(q.prototype=ae.prototype,new q)}}(),A=function(ne){L(ee,ne);function ee(ae,q,ue){var X=this,he=ae.getScrollDimensions(),je=ae.getCurrentScrollPosition();if(X=ne.call(this,{lazyRender:q.lazyRender,host:ue,scrollbarState:new d(q.verticalHasArrows?q.arrowSize:0,q.vertical===2?0:q.verticalScrollbarSize,0,he.height,he.scrollHeight,je.scrollTop),visibility:q.vertical,extraScrollbarClassName:"vertical",scrollable:ae})||this,q.verticalHasArrows){var Xe=(q.arrowSize-u)/2,me=(q.verticalScrollbarSize-u)/2;X._createArrow({className:"up-arrow",top:Xe,left:me,bottom:void 0,right:void 0,bgWidth:q.verticalScrollbarSize,bgHeight:q.arrowSize,onActivate:function(){return X._host.onMouseWheel(new U.c(null,0,1))}}),X._createArrow({className:"down-arrow",top:void 0,left:me,bottom:Xe,right:void 0,bgWidth:q.verticalScrollbarSize,bgHeight:q.arrowSize,onActivate:function(){return X._host.onMouseWheel(new U.c(null,0,-1))}})}return X._createSlider(0,Math.floor((q.verticalScrollbarSize-q.verticalSliderSize)/2),q.verticalSliderSize,void 0),X}return ee.prototype._updateSlider=function(ae,q){this.slider.setHeight(ae),this.slider.setTop(q)},ee.prototype._renderDomNode=function(ae,q){this.domNode.setWidth(q),this.domNode.setHeight(ae),this.domNode.setRight(0),this.domNode.setTop(0)},ee.prototype.onDidScroll=function(ae){return this._shouldRender=this._onElementScrollSize(ae.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(ae.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(ae.height)||this._shouldRender,this._shouldRender},ee.prototype._mouseDownRelativePosition=function(ae,q){return q},ee.prototype._sliderMousePosition=function(ae){return ae.posy},ee.prototype._sliderOrthogonalMousePosition=function(ae){return ae.posx},ee.prototype.writeScrollPosition=function(ae,q){ae.scrollTop=q},ee}(s),k=e("MI8n"),R=e("QuOb"),$=function(){var ne=function(ae,q){return ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,X){ue.__proto__=X}||function(ue,X){for(var he in X)X.hasOwnProperty(he)&&(ue[he]=X[he])},ne(ae,q)};return function(ee,ae){ne(ee,ae);function q(){this.constructor=ee}ee.prototype=ae===null?Object.create(ae):(q.prototype=ae.prototype,new q)}}(),ie=500,W=50,B=!0,le=function(){function ne(ee,ae,q){this.timestamp=ee,this.deltaX=ae,this.deltaY=q,this.score=0}return ne}(),Ce=function(){function ne(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}return ne.prototype.isPhysicalMouseWheel=function(){if(this._front===-1&&this._rear===-1)return!1;var ee=1,ae=0,q=1,ue=this._rear;do{var X=ue===this._front?ee:Math.pow(2,-q);if(ee-=X,ae+=this._memory[ue].score*X,ue===this._front)break;ue=(this._capacity+ue-1)%this._capacity,q++}while(!0);return ae<=.5},ne.prototype.accept=function(ee,ae,q){var ue=new le(ee,ae,q);ue.score=this._computeScore(ue),this._front===-1&&this._rear===-1?(this._memory[0]=ue,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=ue)},ne.prototype._computeScore=function(ee){if(Math.abs(ee.deltaX)>0&&Math.abs(ee.deltaY)>0)return 1;var ae=.5,q=this._front===-1&&this._rear===-1?null:this._memory[this._rear];return(Math.abs(ee.deltaX-Math.round(ee.deltaX))>0||Math.abs(ee.deltaY-Math.round(ee.deltaY))>0)&&(ae+=.25),Math.min(Math.max(ae,0),1)},ne.INSTANCE=new ne,ne}(),Me=function(ne){$(ee,ne);function ee(ae,q,ue){var X=ne.call(this)||this;X._onScroll=X._register(new k.a),X.onScroll=X._onScroll.event,ae.style.overflow="hidden",X._options=Pe(q),X._scrollable=ue,X._register(X._scrollable.onScroll(function(je){X._onDidScroll(je),X._onScroll.fire(je)}));var he={onMouseWheel:function(Xe){return X._onMouseWheel(Xe)},onDragStart:function(){return X._onDragStart()},onDragEnd:function(){return X._onDragEnd()}};return X._verticalScrollbar=X._register(new A(X._scrollable,X._options,he)),X._horizontalScrollbar=X._register(new E(X._scrollable,X._options,he)),X._domNode=document.createElement("div"),X._domNode.className="monaco-scrollable-element "+X._options.className,X._domNode.setAttribute("role","presentation"),X._domNode.style.position="relative",X._domNode.style.overflow="hidden",X._domNode.appendChild(ae),X._domNode.appendChild(X._horizontalScrollbar.domNode.domNode),X._domNode.appendChild(X._verticalScrollbar.domNode.domNode),X._options.useShadows?(X._leftShadowDomNode=Object(I.b)(document.createElement("div")),X._leftShadowDomNode.setClassName("shadow"),X._domNode.appendChild(X._leftShadowDomNode.domNode),X._topShadowDomNode=Object(I.b)(document.createElement("div")),X._topShadowDomNode.setClassName("shadow"),X._domNode.appendChild(X._topShadowDomNode.domNode),X._topLeftShadowDomNode=Object(I.b)(document.createElement("div")),X._topLeftShadowDomNode.setClassName("shadow top-left-corner"),X._domNode.appendChild(X._topLeftShadowDomNode.domNode)):(X._leftShadowDomNode=null,X._topShadowDomNode=null,X._topLeftShadowDomNode=null),X._listenOnDomNode=X._options.listenOnDomNode||X._domNode,X._mouseWheelToDispose=[],X._setListeningToMouseWheel(X._options.handleMouseWheel),X.onmouseover(X._listenOnDomNode,function(je){return X._onMouseOver(je)}),X.onnonbubblingmouseout(X._listenOnDomNode,function(je){return X._onMouseOut(je)}),X._hideTimeout=X._register(new H.e),X._isDragging=!1,X._mouseIsOver=!1,X._shouldRender=!0,X._revealOnScroll=!0,X}return ee.prototype.dispose=function(){this._mouseWheelToDispose=Object(_.f)(this._mouseWheelToDispose),ne.prototype.dispose.call(this)},ee.prototype.getDomNode=function(){return this._domNode},ee.prototype.getOverviewRulerLayoutInfo=function(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}},ee.prototype.delegateVerticalScrollbarMouseDown=function(ae){this._verticalScrollbar.delegateMouseDown(ae)},ee.prototype.getScrollDimensions=function(){return this._scrollable.getScrollDimensions()},ee.prototype.setScrollDimensions=function(ae){this._scrollable.setScrollDimensions(ae)},ee.prototype.updateClassName=function(ae){this._options.className=ae,w.e&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className},ee.prototype.updateOptions=function(ae){var q=Pe(ae);this._options.handleMouseWheel=q.handleMouseWheel,this._options.mouseWheelScrollSensitivity=q.mouseWheelScrollSensitivity,this._options.fastScrollSensitivity=q.fastScrollSensitivity,this._setListeningToMouseWheel(this._options.handleMouseWheel),this._options.lazyRender||this._render()},ee.prototype._setListeningToMouseWheel=function(ae){var q=this,ue=this._mouseWheelToDispose.length>0;if(ue===ae)return;if(this._mouseWheelToDispose=Object(_.f)(this._mouseWheelToDispose),ae){var X=function(je){q._onMouseWheel(new U.c(je))};this._mouseWheelToDispose.push(J.j(this._listenOnDomNode,re.f?"mousewheel":"wheel",X,{passive:!1}))}},ee.prototype._onMouseWheel=function(ae){var q,ue=Ce.INSTANCE;if(B&&ue.accept(Date.now(),ae.deltaX,ae.deltaY),ae.deltaY||ae.deltaX){var X=ae.deltaY*this._options.mouseWheelScrollSensitivity,he=ae.deltaX*this._options.mouseWheelScrollSensitivity;this._options.flipAxes&&(q=[he,X],X=q[0],he=q[1]);var je=!w.e&&ae.browserEvent&&ae.browserEvent.shiftKey;(this._options.scrollYToX||je)&&!he&&(he=X,X=0),ae.browserEvent&&ae.browserEvent.altKey&&(he=he*this._options.fastScrollSensitivity,X=X*this._options.fastScrollSensitivity);var Xe=this._scrollable.getFutureScrollPosition(),me={};if(X){var ge=Xe.scrollTop-W*X;this._verticalScrollbar.writeScrollPosition(me,ge)}if(he){var we=Xe.scrollLeft-W*he;this._horizontalScrollbar.writeScrollPosition(me,we)}if(me=this._scrollable.validateScrollPosition(me),Xe.scrollLeft!==me.scrollLeft||Xe.scrollTop!==me.scrollTop){var Re=B&&this._options.mouseWheelSmoothScroll&&ue.isPhysicalMouseWheel();Re?this._scrollable.setScrollPositionSmooth(me):this._scrollable.setScrollPositionNow(me),this._shouldRender=!0}}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(ae.preventDefault(),ae.stopPropagation())},ee.prototype._onDidScroll=function(ae){this._shouldRender=this._horizontalScrollbar.onDidScroll(ae)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(ae)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()},ee.prototype.renderNow=function(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()},ee.prototype._render=function(){if(!this._shouldRender)return;if(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows){var ae=this._scrollable.getCurrentScrollPosition(),q=ae.scrollTop>0,ue=ae.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(ue?" left":"")),this._topShadowDomNode.setClassName("shadow"+(q?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(q?" top":"")+(ue?" left":""))}},ee.prototype._onDragStart=function(){this._isDragging=!0,this._reveal()},ee.prototype._onDragEnd=function(){this._isDragging=!1,this._hide()},ee.prototype._onMouseOut=function(ae){this._mouseIsOver=!1,this._hide()},ee.prototype._onMouseOver=function(ae){this._mouseIsOver=!0,this._reveal()},ee.prototype._reveal=function(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()},ee.prototype._hide=function(){!this._mouseIsOver&&!this._isDragging&&(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())},ee.prototype._scheduleHide=function(){var ae=this;!this._mouseIsOver&&!this._isDragging&&this._hideTimeout.cancelAndSet(function(){return ae._hide()},ie)},ee}(O.a),Te=function(ne){$(ee,ne);function ee(ae,q){var ue=this;q=q||{},q.mouseWheelSmoothScroll=!1;var X=new R.a(0,function(he){return J.W(he)});return ue=ne.call(this,ae,q,X)||this,ue._register(X),ue}return ee.prototype.setScrollPosition=function(ae){this._scrollable.setScrollPositionNow(ae)},ee.prototype.getScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},ee}(Me),Fe=function(ne){$(ee,ne);function ee(ae,q,ue){return ne.call(this,ae,q,ue)||this}return ee}(Me),Ue=function(ne){$(ee,ne);function ee(ae,q){var ue=ne.call(this,ae,q)||this;return ue._element=ae,ue.onScroll(function(X){X.scrollTopChanged&&(ue._element.scrollTop=X.scrollTop),X.scrollLeftChanged&&(ue._element.scrollLeft=X.scrollLeft)}),ue.scanDomNode(),ue}return ee.prototype.scanDomNode=function(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})},ee}(Te);function Pe(ne){var ee={lazyRender:typeof ne.lazyRender!="undefined"?ne.lazyRender:!1,className:typeof ne.className!="undefined"?ne.className:"",useShadows:typeof ne.useShadows!="undefined"?ne.useShadows:!0,handleMouseWheel:typeof ne.handleMouseWheel!="undefined"?ne.handleMouseWheel:!0,flipAxes:typeof ne.flipAxes!="undefined"?ne.flipAxes:!1,alwaysConsumeMouseWheel:typeof ne.alwaysConsumeMouseWheel!="undefined"?ne.alwaysConsumeMouseWheel:!1,scrollYToX:typeof ne.scrollYToX!="undefined"?ne.scrollYToX:!1,mouseWheelScrollSensitivity:typeof ne.mouseWheelScrollSensitivity!="undefined"?ne.mouseWheelScrollSensitivity:1,fastScrollSensitivity:typeof ne.fastScrollSensitivity!="undefined"?ne.fastScrollSensitivity:5,mouseWheelSmoothScroll:typeof ne.mouseWheelSmoothScroll!="undefined"?ne.mouseWheelSmoothScroll:!0,arrowSize:typeof ne.arrowSize!="undefined"?ne.arrowSize:11,listenOnDomNode:typeof ne.listenOnDomNode!="undefined"?ne.listenOnDomNode:null,horizontal:typeof ne.horizontal!="undefined"?ne.horizontal:1,horizontalScrollbarSize:typeof ne.horizontalScrollbarSize!="undefined"?ne.horizontalScrollbarSize:10,horizontalSliderSize:typeof ne.horizontalSliderSize!="undefined"?ne.horizontalSliderSize:0,horizontalHasArrows:typeof ne.horizontalHasArrows!="undefined"?ne.horizontalHasArrows:!1,vertical:typeof ne.vertical!="undefined"?ne.vertical:1,verticalScrollbarSize:typeof ne.verticalScrollbarSize!="undefined"?ne.verticalScrollbarSize:10,verticalHasArrows:typeof ne.verticalHasArrows!="undefined"?ne.verticalHasArrows:!1,verticalSliderSize:typeof ne.verticalSliderSize!="undefined"?ne.verticalSliderSize:0};return ee.horizontalSliderSize=typeof ne.horizontalSliderSize!="undefined"?ne.horizontalSliderSize:ee.horizontalScrollbarSize,ee.verticalSliderSize=typeof ne.verticalSliderSize!="undefined"?ne.verticalSliderSize:ee.verticalScrollbarSize,w.e&&(ee.className+=" mac"),ee}},"GR/f":function(Lt,j,e){"use strict";e.d(j,"a",function(){return f}),e.d(j,"b",function(){return v});var T=e("/cxE"),re=e("N0LK"),J=e("LCkn"),I=e("zN7H"),U=e("aokT"),z=e("gCVg"),O=function(){function w(p,c,s){this._range=p,this._charBeforeSelection=c,this._charAfterSelection=s}return w.prototype.getEditOperations=function(p,c){c.addTrackedEditOperation(new U.a(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),c.addTrackedEditOperation(new U.a(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)},w.prototype.computeCursorState=function(p,c){var s=c.getInverseEditOperations(),l=s[0].range,d=s[1].range;return new z.a(l.endLineNumber,l.endColumn,d.endLineNumber,d.endColumn-this._charAfterSelection.length)},w}(),H=e("Ll0s"),x=e("5v8Y"),u=e("KDc4"),y=e("cMvZ"),_=function(){var w=function(c,s){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,d){l.__proto__=d}||function(l,d){for(var m in d)d.hasOwnProperty(m)&&(l[m]=d[m])},w(c,s)};return function(p,c){w(p,c);function s(){this.constructor=p}p.prototype=c===null?Object.create(c):(s.prototype=c.prototype,new s)}}(),f=function(){function w(){}return w.indent=function(p,c,s){if(c===null||s===null)return[];for(var l=[],d=0,m=s.length;d1){var E=void 0;for(E=s-1;E>=1;E--){var L=c.getLineContent(E),A=re.D(L);if(A>=0)break}if(E<1)return null;var k=c.getLineMaxColumn(E),R=y.a.getEnterAction(p.autoIndent,c,new U.a(E,k,E,k));R&&(d=R.indentation+R.appendText)}return l&&(l===u.a.Indent&&(d=w.shiftIndent(p,d)),l===u.a.Outdent&&(d=w.unshiftIndent(p,d)),d=p.normalizeIndentation(d)),d||null},w._replaceJumpToNextIndent=function(p,c,s,l){var d="",m=s.getStartPosition();if(p.insertSpaces)for(var E=H.a.visibleColumnFromColumn2(p,c,m),L=p.indentSize,A=L-E%L,k=0;k=0;G--)(fe=Nt[G])&&(Ke=(ze<3?fe(Ke):ze>3?fe(Et,Je,Ke):fe(Et,Je))||Ke);return ze>3&&Ke&&Object.defineProperty(Et,Je,Ke),Ke},je=function(Nt,Et){return function(Je,$e){Et(Je,$e,Nt)}},Xe=function(Nt,Et,Je,$e){function ze(Ke){return Ke instanceof Je?Ke:new Je(function(fe){fe(Ke)})}return new(Je||(Je=Promise))(function(Ke,fe){function G(de){try{Y($e.next(de))}catch(ke){fe(ke)}}function te(de){try{Y($e.throw(de))}catch(ke){fe(ke)}}function Y(de){de.done?Ke(de.value):ze(de.value).then(G,te)}Y(($e=$e.apply(Nt,Et||[])).next())})},me=function(Nt,Et){var Je={label:0,sent:function(){if(Ke[0]&1)throw Ke[1];return Ke[1]},trys:[],ops:[]},$e,ze,Ke,fe;return fe={next:G(0),throw:G(1),return:G(2)},typeof Symbol=="function"&&(fe[Symbol.iterator]=function(){return this}),fe;function G(Y){return function(de){return te([Y,de])}}function te(Y){if($e)throw new TypeError("Generator is already executing.");for(;Je;)try{if($e=1,ze&&(Ke=Y[0]&2?ze.return:Y[0]?ze.throw||((Ke=ze.return)&&Ke.call(ze),0):ze.next)&&!(Ke=Ke.call(ze,Y[1])).done)return Ke;(ze=0,Ke)&&(Y=[Y[0]&2,Ke.value]);switch(Y[0]){case 0:case 1:Ke=Y;break;case 4:return Je.label++,{value:Y[1],done:!1};case 5:Je.label++,ze=Y[1],Y=[0];continue;case 7:Y=Je.ops.pop(),Je.trys.pop();continue;default:if(!(Ke=Je.trys,Ke=Ke.length>0&&Ke[Ke.length-1])&&(Y[0]===6||Y[0]===2)){Je=0;continue}if(Y[0]===3&&(!Ke||Y[1]>Ke[0]&&Y[1]0||Je.autoApply==="ifSingle"&&$e.validActions.length===1)?$e.validActions[0]:void 0},Et.prototype.showCodeActionList=function(Je,$e,ze,Ke){return Xe(this,void 0,void 0,function(){return me(this,function(fe){return this._codeActionWidget.getValue().show(Je,$e,ze,Ke),[2]})})},Et=he([je(4,y.a)],Et),Et}(re.a),we=e("nnTU"),Re=e("T8No"),Ee=e("tADe"),ve=e("sM1p"),Q=e("tTk5"),C=e("XXUj"),F=e("X+cX"),se=e("aokT"),oe=e("gslv"),be=function(){var Nt=function(Je,$e){return Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ze,Ke){ze.__proto__=Ke}||function(ze,Ke){for(var fe in Ke)Ke.hasOwnProperty(fe)&&(ze[fe]=Ke[fe])},Nt(Je,$e)};return function(Et,Je){Nt(Et,Je);function $e(){this.constructor=Et}Et.prototype=Je===null?Object.create(Je):($e.prototype=Je.prototype,new $e)}}(),De=new Re.d("supportedCodeAction",""),Se=function(Nt){be(Et,Nt);function Et(Je,$e,ze,Ke){Ke===void 0&&(Ke=250);var fe=Nt.call(this)||this;return fe._editor=Je,fe._markerService=$e,fe._signalChange=ze,fe._delay=Ke,fe._autoTriggerTimer=fe._register(new F.e),fe._register(fe._markerService.onMarkerChanged(function(G){return fe._onMarkerChanges(G)})),fe._register(fe._editor.onDidChangeCursorPosition(function(){return fe._onCursorChange()})),fe}return Et.prototype.trigger=function(Je){var $e=this._getRangeOfSelectionUnlessWhitespaceEnclosed(Je);return this._createEventAndSignalChange(Je,$e)},Et.prototype._onMarkerChanges=function(Je){var $e=this,ze=this._editor.getModel();if(!ze)return;Je.some(function(Ke){return Object(oe.e)(Ke,ze.uri)})&&this._autoTriggerTimer.cancelAndSet(function(){$e.trigger({type:1})},this._delay)},Et.prototype._onCursorChange=function(){var Je=this;this._autoTriggerTimer.cancelAndSet(function(){Je.trigger({type:1})},this._delay)},Et.prototype._getRangeOfMarker=function(Je){var $e=this._editor.getModel();if(!$e)return;for(var ze=0,Ke=this._markerService.read({resource:$e.uri});ze=0;G--)(fe=Nt[G])&&(Ke=(ze<3?fe(Ke):ze>3?fe(Et,Je,Ke):fe(Et,Je))||Ke);return ze>3&&Ke&&Object.defineProperty(Et,Je,Ke),Ke},Rt=function(Nt,Et){return function(Je,$e){Et(Je,$e,Nt)}},Mt=function(Nt,Et,Je,$e){function ze(Ke){return Ke instanceof Je?Ke:new Je(function(fe){fe(Ke)})}return new(Je||(Je=Promise))(function(Ke,fe){function G(de){try{Y($e.next(de))}catch(ke){fe(ke)}}function te(de){try{Y($e.throw(de))}catch(ke){fe(ke)}}function Y(de){de.done?Ke(de.value):ze(de.value).then(G,te)}Y(($e=$e.apply(Nt,Et||[])).next())})},zt=function(Nt,Et){var Je={label:0,sent:function(){if(Ke[0]&1)throw Ke[1];return Ke[1]},trys:[],ops:[]},$e,ze,Ke,fe;return fe={next:G(0),throw:G(1),return:G(2)},typeof Symbol=="function"&&(fe[Symbol.iterator]=function(){return this}),fe;function G(Y){return function(de){return te([Y,de])}}function te(Y){if($e)throw new TypeError("Generator is already executing.");for(;Je;)try{if($e=1,ze&&(Ke=Y[0]&2?ze.return:Y[0]?ze.throw||((Ke=ze.return)&&Ke.call(ze),0):ze.next)&&!(Ke=Ke.call(ze,Y[1])).done)return Ke;(ze=0,Ke)&&(Y=[Y[0]&2,Ke.value]);switch(Y[0]){case 0:case 1:Ke=Y;break;case 4:return Je.label++,{value:Y[1],done:!1};case 5:Je.label++,ze=Y[1],Y=[0];continue;case 7:Y=Je.ops.pop(),Je.trys.pop();continue;default:if(!(Ke=Je.trys,Ke=Ke.length>0&&Ke[Ke.length-1])&&(Y[0]===6||Y[0]===2)){Je=0;continue}if(Y[0]===3&&(!Ke||Y[1]>Ke[0]&&Y[1]255?255:J|0}function re(J){return J<0?0:J>4294967295?4294967295:J|0}},CdFp:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:function(){return e.e(272).then(e.bind(null,"6Xso"))}})},"Cg/j":function(Lt,j,e){"use strict";e.d(j,"b",function(){return T}),e.d(j,"a",function(){return re}),e.d(j,"c",function(){return I}),e.d(j,"d",function(){return H});var T;(function(z){z.serviceIds=new Map,z.DI_TARGET="$di$target",z.DI_DEPENDENCIES="$di$dependencies";function O(U){return U[z.DI_DEPENDENCIES]||[]}z.getServiceDependencies=O})(T||(T={}));var re=I("instantiationService");function J(z,O,U,x){O[T.DI_TARGET]===O?O[T.DI_DEPENDENCIES].push({id:z,index:U,optional:x}):(O[T.DI_DEPENDENCIES]=[{id:z,index:U,optional:x}],O[T.DI_TARGET]=O)}function I(z){if(T.serviceIds.has(z))return T.serviceIds.get(z);var O=function U(x,u,y){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");J(U,x,y,!1)};return O.toString=function(){return z},T.serviceIds.set(z,O),O}function H(z){return function(O,U,x){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");J(z,O,x,!0)}}},CjF5:function(Lt,j,e){"use strict";e.d(j,"a",function(){return J});var T=e("D3Dy"),re=e("MNsG"),J={clipboard:{writeText:re.f||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:re.f||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText),richText:function(){if(T.i)return!1;if(T.e){var I=navigator.userAgent.indexOf("Edge/"),H=parseInt(navigator.userAgent.substring(I+5,navigator.userAgent.indexOf(".",I)),10);if(!H||H>=12&&H<=16)return!1}return!0}()},keyboard:function(){return re.f||T.l?0:navigator.keyboard||T.k?1:2}(),touch:"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0)}},CjOT:function(Lt,j,e){},Comh:function(Lt,j,e){"use strict";e.d(j,"b",function(){return I}),e.d(j,"a",function(){return H});var T=e("N0LK"),re=e("cGHE"),J=e("aokT"),I=function(){function z(O,U,x,u,y){this.value=O,this.selectionStart=U,this.selectionEnd=x,this.selectionStartPosition=u,this.selectionEndPosition=y}return z.prototype.toString=function(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"},z.readFromTextArea=function(O){return new z(O.getValue(),O.getSelectionStart(),O.getSelectionEnd(),null,null)},z.prototype.collapseSelection=function(){return new z(this.value,this.value.length,this.value.length,null,null)},z.prototype.writeToTextArea=function(O,U,x){U.setValue(O,this.value),x&&U.setSelectionRange(O,this.selectionStart,this.selectionEnd)},z.prototype.deduceEditorPosition=function(O){if(O<=this.selectionStart){var U=this.value.substring(O,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,U,-1)}if(O>=this.selectionEnd){var U=this.value.substring(this.selectionEnd,O);return this._finishDeduceEditorPosition(this.selectionEndPosition,U,1)}var x=this.value.substring(this.selectionStart,O);if(x.indexOf(String.fromCharCode(8230))===-1)return this._finishDeduceEditorPosition(this.selectionStartPosition,x,1);var u=this.value.substring(O,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,u,-1)},z.prototype._finishDeduceEditorPosition=function(O,U,x){for(var u=0,y=-1;(y=U.indexOf(` +`,y+1))!==-1;)u++;return[O,x*U.length,u]},z.selectedText=function(O){return new z(O,0,O.length,null,null)},z.deduceInput=function(O,U,x){if(!O)return{text:"",replaceCharCnt:0};var u=O.value,y=O.selectionStart,_=O.selectionEnd,f=U.value,v=U.selectionStart,w=U.selectionEnd,p=u.substring(_),c=f.substring(w),s=T.d(p,c);f=f.substring(0,f.length-s),u=u.substring(0,u.length-s);var l=u.substring(0,y),d=f.substring(0,v),m=T.c(l,d);if(f=f.substring(m),u=u.substring(m),v-=m,y-=m,w-=m,_-=m,x&&v===w&&u.length>0){var E=null;if(v===f.length?T.N(f,u)&&(E=f.substring(u.length)):T.m(f,u)&&(E=f.substring(0,f.length-u.length)),E!==null&&E.length>0&&(/\uFE0F/.test(E)||T.g(E)))return{text:E,replaceCharCnt:0}}if(v===w){if(u===f&&y===0&&_===u.length&&v===f.length&&f.indexOf(` +`)===-1&&T.h(f))return{text:"",replaceCharCnt:0};var L=l.length-m;return{text:f,replaceCharCnt:L}}var A=_-y;return{text:f,replaceCharCnt:A}},z.EMPTY=new z("",0,0,null,null),z}(),H=function(){function z(){}return z._getPageOfLine=function(O,U){return Math.floor((O-1)/U)},z._getRangeForPage=function(O,U){var x=O*U,u=x+1,y=x+U;return new J.a(u,1,y+1,1)},z.fromEditorSelection=function(O,U,x,u,y){var _=z._getPageOfLine(x.startLineNumber,u),f=z._getRangeForPage(_,u),v=z._getPageOfLine(x.endLineNumber,u),w=z._getRangeForPage(v,u),p=f.intersectRanges(new J.a(1,1,x.startLineNumber,x.startColumn)),c=U.getValueInRange(p,1),s=U.getLineCount(),l=U.getLineMaxColumn(s),d=w.intersectRanges(new J.a(x.endLineNumber,x.endColumn,s,l)),m=U.getValueInRange(d,1),E;if(_===v||_+1===v)E=U.getValueInRange(x,1);else{var L=f.intersectRanges(x),A=w.intersectRanges(x);E=U.getValueInRange(L,1)+String.fromCharCode(8230)+U.getValueInRange(A,1)}if(y){var k=500;c.length>k&&(c=c.substring(c.length-k,c.length)),m.length>k&&(m=m.substring(0,k)),E.length>2*k&&(E=E.substring(0,k)+String.fromCharCode(8230)+E.substring(E.length-k,E.length))}return new I(c+E+m,c.length,c.length+E.length,new re.a(x.startLineNumber,x.startColumn),new re.a(x.endLineNumber,x.endColumn))},z}()},CxEt:function(Lt,j,e){"use strict";e.r(j);var T=e("sswD"),re=e("C1Q+");Object(T.h)(re.f.ID,re.f),Object(T.f)(re.e),Object(T.f)(re.g),Object(T.f)(re.h),Object(T.f)(re.d),Object(T.f)(re.a),Object(T.f)(re.c),Object(T.g)(new re.b)},D3Dy:function(Lt,j,e){"use strict";e.d(j,"c",function(){return J}),e.d(j,"b",function(){return I}),e.d(j,"o",function(){return H}),e.d(j,"a",function(){return z}),e.d(j,"i",function(){return U}),e.d(j,"e",function(){return x}),e.d(j,"f",function(){return u}),e.d(j,"h",function(){return y}),e.d(j,"m",function(){return _}),e.d(j,"d",function(){return f}),e.d(j,"k",function(){return v}),e.d(j,"n",function(){return w}),e.d(j,"j",function(){return p}),e.d(j,"g",function(){return c}),e.d(j,"l",function(){return s});var T=e("MI8n"),re=function(){function l(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new T.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}return l.prototype.getZoomLevel=function(){return this._zoomLevel},l.prototype.getTimeSinceLastZoomLevelChanged=function(){return Date.now()-this._lastZoomLevelChangeTime},l.prototype.getPixelRatio=function(){var d=document.createElement("canvas").getContext("2d"),m=window.devicePixelRatio||1,E=d.webkitBackingStorePixelRatio||d.mozBackingStorePixelRatio||d.msBackingStorePixelRatio||d.oBackingStorePixelRatio||d.backingStorePixelRatio||1;return m/E},l.INSTANCE=new l,l}();function J(){return re.INSTANCE.getZoomLevel()}function I(){return re.INSTANCE.getTimeSinceLastZoomLevelChanged()}function H(l){return re.INSTANCE.onDidChangeZoomLevel(l)}function z(){return re.INSTANCE.getPixelRatio()}var O=navigator.userAgent,U=O.indexOf("Trident")>=0,x=O.indexOf("Edge/")>=0,u=U||x,y=O.indexOf("Firefox")>=0,_=O.indexOf("AppleWebKit")>=0,f=O.indexOf("Chrome")>=0,v=!f&&O.indexOf("Safari")>=0,w=!f&&!v&&_,p=O.indexOf("iPad")>=0||v&&navigator.maxTouchPoints>0,c=x&&O.indexOf("WebView/")>=0,s=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},DTDp:function(Lt,j,e){},Dvnd:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:function(){return e.e(290).then(e.bind(null,"y0OK"))}})},"E+ie":function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return e.e(280).then(e.bind(null,"p+q7"))}})},E4kL:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml"],loader:function(){return e.e(329).then(e.bind(null,"EaLm"))}})},EIAu:function(Lt,j,e){"use strict";e.d(j,"b",function(){return H}),e.d(j,"a",function(){return p});var T=e("N0LK"),re=e("aokT"),J=function(){function c(s,l,d,m,E,L){this.languageIdentifier=s,this.index=l,this.open=d,this.close=m,this.forwardRegex=E,this.reversedRegex=L,this._openSet=c._toSet(this.open),this._closeSet=c._toSet(this.close)}return c.prototype.isOpen=function(s){return this._openSet.has(s)},c.prototype.isClose=function(s){return this._closeSet.has(s)},c._toSet=function(s){for(var l=new Set,d=0,m=s;d0&&R.push({open:ie,close:W})}return R}var H=function(){function c(s,l){var d=I(l);this.brackets=d.map(function(B,le){return new J(s,le,B.open,B.close,x(B.open,B.close,d,le),u(B.open,B.close,d,le))}),this.forwardRegex=y(this.brackets),this.reversedRegex=_(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(var m=0,E=this.brackets;m=0&&d.push(R)}for(var $=0,ie=L.close;$=0&&d.push(W)}}}function O(c,s){return c.length-s.length}function U(c){if(c.length<=1)return c;for(var s=[],l=new Set,d=0,m=c;d=0;E--)m+=d.charAt(E);return m}var s=null,l=null;return function(m){return s!==m&&(s=m,l=c(s)),l}}(),p=function(){function c(){}return c._findPrevBracketInText=function(s,l,d,m){var E=d.match(s);if(!E)return null;var L=d.length-(E.index||0),A=E[0].length,k=m+L;return new re.a(l,k-A+1,l,k+1)},c.findPrevBracketInRange=function(s,l,d,m,E){var L=w(d),A=L.substring(d.length-E,d.length-m);return this._findPrevBracketInText(s,l,A,m)},c.findNextBracketInText=function(s,l,d,m){var E=d.match(s);if(!E)return null;var L=E.index||0,A=E[0].length;if(A===0)return null;var k=m+L;return new re.a(l,k+1,l,k+1+A)},c.findNextBracketInRange=function(s,l,d,m,E){var L=d.substring(m,E);return this.findNextBracketInText(s,l,L,m)},c}()},EOst:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:function(){return e.e(326).then(e.bind(null,"87dK"))}})},"EPS+":function(Lt,j,e){},EWX2:function(Lt,j,e){"use strict";e.d(j,"a",function(){return H}),e.d(j,"b",function(){return x});var T=e("bY76"),re=e("gslv"),J=e("Cg/j"),I=e("QDVR"),H=Object(J.c)("contextService"),z;(function(u){function y(_){return _&&typeof _=="object"&&typeof _.id=="string"&&Array.isArray(_.folders)}u.isIWorkspace=y})(z||(z={}));var O;(function(u){function y(_){return _&&typeof _=="object"&&T.a.isUri(_.uri)&&typeof _.name=="string"&&typeof _.toResource=="function"}u.isIWorkspaceFolder=y})(O||(O={}));var U=function(){function u(y,_,f){_===void 0&&(_=[]),f===void 0&&(f=null),this._id=y,this._configuration=f,this._foldersMap=I.c.forPaths(),this.folders=_}return Object.defineProperty(u.prototype,"folders",{get:function(){return this._folders},set:function(_){this._folders=_,this.updateFoldersMap()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"configuration",{get:function(){return this._configuration},set:function(_){this._configuration=_},enumerable:!0,configurable:!0}),u.prototype.getFolder=function(y){return y&&this._foldersMap.findSubstr(y.with({scheme:y.scheme,authority:y.authority,path:y.path}).toString())||null},u.prototype.updateFoldersMap=function(){this._foldersMap=I.c.forPaths();for(var y=0,_=this.folders;y<_.length;y++){var f=_[y];this._foldersMap.set(f.uri.toString(),f)}},u.prototype.toJSON=function(){return{id:this.id,folders:this.folders,configuration:this.configuration}},u}(),x=function(){function u(y,_){this.raw=_,this.uri=y.uri,this.index=y.index,this.name=y.name}return u.prototype.toResource=function(y){return re.f(this.uri,y)},u.prototype.toJSON=function(){return{uri:this.uri,name:this.name,index:this.index}},u}()},EffR:function(Lt,j,e){"use strict";e.d(j,"t",function(){return p}),e.d(j,"R",function(){return c}),e.d(j,"M",function(){return s}),e.d(j,"I",function(){return E}),e.d(j,"f",function(){return L}),e.d(j,"g",function(){return A}),e.d(j,"P",function(){return k}),e.d(j,"Q",function(){return R}),e.d(j,"Y",function(){return $}),e.d(j,"j",function(){return W}),e.d(j,"o",function(){return Ce}),e.d(j,"n",function(){return Me}),e.d(j,"h",function(){return Te}),e.d(j,"i",function(){return Fe}),e.d(j,"k",function(){return He}),e.d(j,"l",function(){return Pe}),e.d(j,"U",function(){return ae}),e.d(j,"W",function(){return q}),e.d(j,"m",function(){return Xe}),e.d(j,"z",function(){return me}),e.d(j,"y",function(){return ge}),e.d(j,"b",function(){return Re}),e.d(j,"F",function(){return Ee}),e.d(j,"C",function(){return ve}),e.d(j,"e",function(){return Q}),e.d(j,"H",function(){return C}),e.d(j,"B",function(){return F}),e.d(j,"A",function(){return se}),e.d(j,"G",function(){return oe}),e.d(j,"K",function(){return be}),e.d(j,"x",function(){return De}),e.d(j,"N",function(){return Ve}),e.d(j,"E",function(){return Qe}),e.d(j,"w",function(){return it}),e.d(j,"v",function(){return zt}),e.d(j,"O",function(){return uo}),e.d(j,"L",function(){return ao}),e.d(j,"d",function(){return so}),e.d(j,"c",function(){return Pt}),e.d(j,"V",function(){return ft}),e.d(j,"T",function(){return vt}),e.d(j,"Z",function(){return at}),e.d(j,"q",function(){return tt}),e.d(j,"a",function(){return bt}),e.d(j,"X",function(){return Gt}),e.d(j,"J",function(){return Nt}),e.d(j,"S",function(){return Je}),e.d(j,"D",function(){return $e}),e.d(j,"u",function(){return ze}),e.d(j,"ab",function(){return Ke}),e.d(j,"p",function(){return fe}),e.d(j,"s",function(){return G}),e.d(j,"r",function(){return te});var T=e("D3Dy"),re=e("4y0V"),J=e("uDWl"),I=e("XSiN"),H=e("X+cX"),z=e("/cxE"),O=e("MI8n"),U=e("pmY6"),x=e("MNsG"),u=e("6OMU"),y=e("tYmi"),_=e("CjF5"),f=function(){var Y=function(ke,lt){return Y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Tt,Jt){Tt.__proto__=Jt}||function(Tt,Jt){for(var eo in Jt)Jt.hasOwnProperty(eo)&&(Tt[eo]=Jt[eo])},Y(ke,lt)};return function(de,ke){Y(de,ke);function lt(){this.constructor=de}de.prototype=ke===null?Object.create(ke):(lt.prototype=ke.prototype,new lt)}}(),v=function(){return v=Object.assign||function(Y){for(var de,ke=1,lt=arguments.length;ke=0;){if(po=eo+Jt,(eo===0||lt.charCodeAt(eo-1)===32)&<.charCodeAt(po)===32){this._lastStart=eo,this._lastEnd=po+1;return}if(eo>0&<.charCodeAt(eo-1)===32&&po===Tt){this._lastStart=eo-1,this._lastEnd=po;return}if(eo===0&&po===Tt){this._lastStart=0,this._lastEnd=po;return}}this._lastStart=-1},Y.prototype.hasClass=function(de,ke){return this._findClassName(de,ke),this._lastStart!==-1},Y.prototype.addClasses=function(de){for(var ke=this,lt=[],Tt=1;Tt0;){de.sort(ue.sort);var eo=de.shift();eo.execute()}lt=!1};q=function(eo,po){po===void 0&&(po=0);var co=new ue(eo,po);return Y.push(co),ke||(ke=!0,ee(Tt)),co},ae=function(eo,po){if(lt){var co=new ue(eo,po);return de.push(co),co}else return q(eo,po)}})();var X=16,he=function(de,ke){return ke},je=function(Y){f(de,Y);function de(ke,lt,Tt,Jt,eo){Jt===void 0&&(Jt=he),eo===void 0&&(eo=X);var po=Y.call(this)||this,co=null,Eo=0,Oo=po._register(new H.e),Ao=function(){Eo=new Date().getTime(),Tt(co),co=null};return po._register(W(ke,lt,function(Zo){co=Jt(co,Zo);var Co=new Date().getTime()-Eo;Co>=eo?(Oo.cancel(),Ao()):Oo.setIfNotSet(Ao,eo-Co)})),po}return de}(U.a);function Xe(Y,de,ke,lt,Tt){return new je(Y,de,ke,lt,Tt)}function me(Y){return document.defaultView.getComputedStyle(Y,null)}function ge(Y){if(Y!==document.body)return new Re(Y.clientWidth,Y.clientHeight);if(x.c&&window.visualViewport){var de=window.visualViewport.width,ke=window.visualViewport.height-(T.l?20+4:0);return new Re(de,ke)}if(window.innerWidth&&window.innerHeight)return new Re(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new Re(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new Re(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}var we=function(){function Y(){}return Y.convertToPixels=function(de,ke){return parseFloat(ke)||0},Y.getDimension=function(de,ke,lt){var Tt=me(de),Jt="0";return Tt&&(Tt.getPropertyValue?Jt=Tt.getPropertyValue(ke):Jt=Tt.getAttribute(lt)),Y.convertToPixels(de,Jt)},Y.getBorderLeftWidth=function(de){return Y.getDimension(de,"border-left-width","borderLeftWidth")},Y.getBorderRightWidth=function(de){return Y.getDimension(de,"border-right-width","borderRightWidth")},Y.getBorderTopWidth=function(de){return Y.getDimension(de,"border-top-width","borderTopWidth")},Y.getBorderBottomWidth=function(de){return Y.getDimension(de,"border-bottom-width","borderBottomWidth")},Y.getPaddingLeft=function(de){return Y.getDimension(de,"padding-left","paddingLeft")},Y.getPaddingRight=function(de){return Y.getDimension(de,"padding-right","paddingRight")},Y.getPaddingTop=function(de){return Y.getDimension(de,"padding-top","paddingTop")},Y.getPaddingBottom=function(de){return Y.getDimension(de,"padding-bottom","paddingBottom")},Y.getMarginLeft=function(de){return Y.getDimension(de,"margin-left","marginLeft")},Y.getMarginTop=function(de){return Y.getDimension(de,"margin-top","marginTop")},Y.getMarginRight=function(de){return Y.getDimension(de,"margin-right","marginRight")},Y.getMarginBottom=function(de){return Y.getDimension(de,"margin-bottom","marginBottom")},Y}(),Re=function(){function Y(de,ke){this.width=de,this.height=ke}return Y}();function Ee(Y){for(var de=Y.offsetParent,ke=Y.offsetTop,lt=Y.offsetLeft;(Y=Y.parentNode)!==null&&Y!==document.body&&Y!==document.documentElement;){ke-=Y.scrollTop;var Tt=Se(Y)?null:me(Y);Tt&&(lt-=Tt.direction!=="rtl"?Y.scrollLeft:-Y.scrollLeft),Y===de&&(lt+=we.getBorderLeftWidth(Y),ke+=we.getBorderTopWidth(Y),ke+=Y.offsetTop,lt+=Y.offsetLeft,de=Y.offsetParent)}return{left:lt,top:ke}}function ve(Y){var de=Y.getBoundingClientRect();return{left:de.left+Q.scrollX,top:de.top+Q.scrollY,width:de.width,height:de.height}}var Q=new(function(){function Y(){}return Object.defineProperty(Y.prototype,"scrollX",{get:function(){return typeof window.scrollX=="number"?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft},enumerable:!0,configurable:!0}),Object.defineProperty(Y.prototype,"scrollY",{get:function(){return typeof window.scrollY=="number"?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop},enumerable:!0,configurable:!0}),Y}());function C(Y){var de=we.getMarginLeft(Y)+we.getMarginRight(Y);return Y.offsetWidth+de}function F(Y){var de=we.getBorderLeftWidth(Y)+we.getBorderRightWidth(Y),ke=we.getPaddingLeft(Y)+we.getPaddingRight(Y);return Y.offsetWidth-de-ke}function se(Y){var de=we.getBorderTopWidth(Y)+we.getBorderBottomWidth(Y),ke=we.getPaddingTop(Y)+we.getPaddingBottom(Y);return Y.offsetHeight-de-ke}function oe(Y){var de=we.getMarginTop(Y)+we.getMarginBottom(Y);return Y.offsetHeight+de}function be(Y,de){for(;Y;){if(Y===de)return!0;Y=Y.parentNode}return!1}function De(Y,de,ke){for(;Y&&Y.nodeType===Y.ELEMENT_NODE;){if(E(Y,de))return Y;if(ke){if(typeof ke=="string"){if(E(Y,ke))return null}else if(Y===ke)return null}Y=Y.parentNode}return null}function Se(Y){return Y&&!!Y.host&&!!Y.mode}function Ve(Y){return!!Qe(Y)}function Qe(Y){for(;Y.parentNode;){if(Y===document.body)return null;Y=Y.parentNode}return Se(Y)?Y:null}function it(Y){Y===void 0&&(Y=document.getElementsByTagName("head")[0]);var de=document.createElement("style");return de.type="text/css",de.media="screen",Y.appendChild(de),de}var pt=null;function Rt(){return pt||(pt=it()),pt}function Mt(Y){return Y&&Y.sheet&&Y.sheet.rules?Y.sheet.rules:Y&&Y.sheet&&Y.sheet.cssRules?Y.sheet.cssRules:[]}function zt(Y,de,ke){if(ke===void 0&&(ke=Rt()),!ke||!de)return;ke.sheet.insertRule(Y+"{"+de+"}",0)}function uo(Y,de){if(de===void 0&&(de=Rt()),!de)return;for(var ke=Mt(de),lt=[],Tt=0;Tt=0;Tt--)de.sheet.deleteRule(lt[Tt])}function ao(Y){return typeof HTMLElement=="object"?Y instanceof HTMLElement:Y&&typeof Y=="object"&&Y.nodeType===1&&typeof Y.nodeName=="string"}var so={CLICK:"click",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:T.m?"webkitAnimationStart":"animationstart",ANIMATION_END:T.m?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:T.m?"webkitAnimationIteration":"animationiteration"},Pt={stop:function(de,ke){de.preventDefault?de.preventDefault():de.returnValue=!1,ke&&(de.stopPropagation?de.stopPropagation():de.cancelBubble=!0)}};function ft(Y){for(var de=[],ke=0;Y&&Y.nodeType===Y.ELEMENT_NODE;ke++)de[ke]=Y.scrollTop,Y=Y.parentNode;return de}function vt(Y,de){for(var ke=0;Y&&Y.nodeType===Y.ELEMENT_NODE;ke++)Y.scrollTop!==de[ke]&&(Y.scrollTop=de[ke]),Y=Y.parentNode}var At=function(Y){f(de,Y);function de(ke){var lt=Y.call(this)||this;lt._onDidFocus=lt._register(new O.a),lt.onDidFocus=lt._onDidFocus.event,lt._onDidBlur=lt._register(new O.a),lt.onDidBlur=lt._onDidBlur.event;var Tt=be(document.activeElement,ke),Jt=!1,eo=function(){Jt=!1,Tt||(Tt=!0,lt._onDidFocus.fire())},po=function(){Tt&&(Jt=!0,window.setTimeout(function(){Jt&&(Jt=!1,Tt=!1,lt._onDidBlur.fire())},0))};return lt._refreshStateHandler=function(){var co=be(document.activeElement,ke);co!==Tt&&(Tt?po():eo())},lt._register(Object(re.a)(ke,so.FOCUS,!0)(eo)),lt._register(Object(re.a)(ke,so.BLUR,!0)(po)),lt}return de}(U.a);function at(Y){return new At(Y)}function tt(Y){for(var de=[],ke=1;kec){ue._setDesiredScrollPositionNow(je.getScrollPosition());return}var we=ue._sliderMousePosition(Xe),Re=we-X;ue._setDesiredScrollPositionNow(je.getDesiredScrollPositionFromDelta(Re))},function(){ue.slider.toggleClassName("active",!1),ue._host.onDragEnd(),q()}),this._host.onDragStart()},ee.prototype._setDesiredScrollPositionNow=function(ae){var q={};this.writeScrollPosition(q,ae),this._scrollable.setScrollPositionNow(q)},ee}(O.a),l=20,d=function(){function ne(ee,ae,q,ue,X,he){this._scrollbarSize=Math.round(ae),this._oppositeScrollbarSize=Math.round(q),this._arrowSize=Math.round(ee),this._visibleSize=ue,this._scrollSize=X,this._scrollPosition=he,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}return ne.prototype.clone=function(){return new ne(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)},ne.prototype.setVisibleSize=function(ee){var ae=Math.round(ee);return this._visibleSize!==ae?(this._visibleSize=ae,this._refreshComputedValues(),!0):!1},ne.prototype.setScrollSize=function(ee){var ae=Math.round(ee);return this._scrollSize!==ae?(this._scrollSize=ae,this._refreshComputedValues(),!0):!1},ne.prototype.setScrollPosition=function(ee){var ae=Math.round(ee);return this._scrollPosition!==ae?(this._scrollPosition=ae,this._refreshComputedValues(),!0):!1},ne._computeValues=function(ee,ae,q,ue,X){var he=Math.max(0,q-ee),je=Math.max(0,he-2*ae),Xe=ue>0&&ue>q;if(!Xe)return{computedAvailableSize:Math.round(he),computedIsNeeded:Xe,computedSliderSize:Math.round(je),computedSliderRatio:0,computedSliderPosition:0};var me=Math.round(Math.max(l,Math.floor(q*je/ue))),ge=(je-me)/(ue-q),we=X*ge;return{computedAvailableSize:Math.round(he),computedIsNeeded:Xe,computedSliderSize:Math.round(me),computedSliderRatio:ge,computedSliderPosition:Math.round(we)}},ne.prototype._refreshComputedValues=function(){var ee=ne._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=ee.computedAvailableSize,this._computedIsNeeded=ee.computedIsNeeded,this._computedSliderSize=ee.computedSliderSize,this._computedSliderRatio=ee.computedSliderRatio,this._computedSliderPosition=ee.computedSliderPosition},ne.prototype.getArrowSize=function(){return this._arrowSize},ne.prototype.getScrollPosition=function(){return this._scrollPosition},ne.prototype.getRectangleLargeSize=function(){return this._computedAvailableSize},ne.prototype.getRectangleSmallSize=function(){return this._scrollbarSize},ne.prototype.isNeeded=function(){return this._computedIsNeeded},ne.prototype.getSliderSize=function(){return this._computedSliderSize},ne.prototype.getSliderPosition=function(){return this._computedSliderPosition},ne.prototype.getDesiredScrollPositionFromOffset=function(ee){if(!this._computedIsNeeded)return 0;var ae=ee-this._arrowSize-this._computedSliderSize/2;return Math.round(ae/this._computedSliderRatio)},ne.prototype.getDesiredScrollPositionFromDelta=function(ee){if(!this._computedIsNeeded)return 0;var ae=this._computedSliderPosition+ee;return Math.round(ae/this._computedSliderRatio)},ne}(),m=function(){var ne=function(ae,q){return ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,X){ue.__proto__=X}||function(ue,X){for(var he in X)X.hasOwnProperty(he)&&(ue[he]=X[he])},ne(ae,q)};return function(ee,ae){ne(ee,ae);function q(){this.constructor=ee}ee.prototype=ae===null?Object.create(ae):(q.prototype=ae.prototype,new q)}}(),E=function(ne){m(ee,ne);function ee(ae,q,ue){var X=this,he=ae.getScrollDimensions(),je=ae.getCurrentScrollPosition();if(X=ne.call(this,{lazyRender:q.lazyRender,host:ue,scrollbarState:new d(q.horizontalHasArrows?q.arrowSize:0,q.horizontal===2?0:q.horizontalScrollbarSize,q.vertical===2?0:q.verticalScrollbarSize,he.width,he.scrollWidth,je.scrollLeft),visibility:q.horizontal,extraScrollbarClassName:"horizontal",scrollable:ae})||this,q.horizontalHasArrows){var Xe=(q.arrowSize-u)/2,me=(q.horizontalScrollbarSize-u)/2;X._createArrow({className:"left-arrow",top:me,left:Xe,bottom:void 0,right:void 0,bgWidth:q.arrowSize,bgHeight:q.horizontalScrollbarSize,onActivate:function(){return X._host.onMouseWheel(new H.c(null,1,0))}}),X._createArrow({className:"right-arrow",top:me,left:void 0,bottom:void 0,right:Xe,bgWidth:q.arrowSize,bgHeight:q.horizontalScrollbarSize,onActivate:function(){return X._host.onMouseWheel(new H.c(null,-1,0))}})}return X._createSlider(Math.floor((q.horizontalScrollbarSize-q.horizontalSliderSize)/2),0,void 0,q.horizontalSliderSize),X}return ee.prototype._updateSlider=function(ae,q){this.slider.setWidth(ae),this.slider.setLeft(q)},ee.prototype._renderDomNode=function(ae,q){this.domNode.setWidth(ae),this.domNode.setHeight(q),this.domNode.setLeft(0),this.domNode.setBottom(0)},ee.prototype.onDidScroll=function(ae){return this._shouldRender=this._onElementScrollSize(ae.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(ae.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(ae.width)||this._shouldRender,this._shouldRender},ee.prototype._mouseDownRelativePosition=function(ae,q){return ae},ee.prototype._sliderMousePosition=function(ae){return ae.posx},ee.prototype._sliderOrthogonalMousePosition=function(ae){return ae.posy},ee.prototype.writeScrollPosition=function(ae,q){ae.scrollLeft=q},ee}(s),L=function(){var ne=function(ae,q){return ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,X){ue.__proto__=X}||function(ue,X){for(var he in X)X.hasOwnProperty(he)&&(ue[he]=X[he])},ne(ae,q)};return function(ee,ae){ne(ee,ae);function q(){this.constructor=ee}ee.prototype=ae===null?Object.create(ae):(q.prototype=ae.prototype,new q)}}(),A=function(ne){L(ee,ne);function ee(ae,q,ue){var X=this,he=ae.getScrollDimensions(),je=ae.getCurrentScrollPosition();if(X=ne.call(this,{lazyRender:q.lazyRender,host:ue,scrollbarState:new d(q.verticalHasArrows?q.arrowSize:0,q.vertical===2?0:q.verticalScrollbarSize,0,he.height,he.scrollHeight,je.scrollTop),visibility:q.vertical,extraScrollbarClassName:"vertical",scrollable:ae})||this,q.verticalHasArrows){var Xe=(q.arrowSize-u)/2,me=(q.verticalScrollbarSize-u)/2;X._createArrow({className:"up-arrow",top:Xe,left:me,bottom:void 0,right:void 0,bgWidth:q.verticalScrollbarSize,bgHeight:q.arrowSize,onActivate:function(){return X._host.onMouseWheel(new H.c(null,0,1))}}),X._createArrow({className:"down-arrow",top:void 0,left:me,bottom:Xe,right:void 0,bgWidth:q.verticalScrollbarSize,bgHeight:q.arrowSize,onActivate:function(){return X._host.onMouseWheel(new H.c(null,0,-1))}})}return X._createSlider(0,Math.floor((q.verticalScrollbarSize-q.verticalSliderSize)/2),q.verticalSliderSize,void 0),X}return ee.prototype._updateSlider=function(ae,q){this.slider.setHeight(ae),this.slider.setTop(q)},ee.prototype._renderDomNode=function(ae,q){this.domNode.setWidth(q),this.domNode.setHeight(ae),this.domNode.setRight(0),this.domNode.setTop(0)},ee.prototype.onDidScroll=function(ae){return this._shouldRender=this._onElementScrollSize(ae.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(ae.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(ae.height)||this._shouldRender,this._shouldRender},ee.prototype._mouseDownRelativePosition=function(ae,q){return q},ee.prototype._sliderMousePosition=function(ae){return ae.posy},ee.prototype._sliderOrthogonalMousePosition=function(ae){return ae.posx},ee.prototype.writeScrollPosition=function(ae,q){ae.scrollTop=q},ee}(s),k=e("MI8n"),R=e("QuOb"),$=function(){var ne=function(ae,q){return ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,X){ue.__proto__=X}||function(ue,X){for(var he in X)X.hasOwnProperty(he)&&(ue[he]=X[he])},ne(ae,q)};return function(ee,ae){ne(ee,ae);function q(){this.constructor=ee}ee.prototype=ae===null?Object.create(ae):(q.prototype=ae.prototype,new q)}}(),ie=500,W=50,B=!0,le=function(){function ne(ee,ae,q){this.timestamp=ee,this.deltaX=ae,this.deltaY=q,this.score=0}return ne}(),Ce=function(){function ne(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}return ne.prototype.isPhysicalMouseWheel=function(){if(this._front===-1&&this._rear===-1)return!1;var ee=1,ae=0,q=1,ue=this._rear;do{var X=ue===this._front?ee:Math.pow(2,-q);if(ee-=X,ae+=this._memory[ue].score*X,ue===this._front)break;ue=(this._capacity+ue-1)%this._capacity,q++}while(!0);return ae<=.5},ne.prototype.accept=function(ee,ae,q){var ue=new le(ee,ae,q);ue.score=this._computeScore(ue),this._front===-1&&this._rear===-1?(this._memory[0]=ue,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=ue)},ne.prototype._computeScore=function(ee){if(Math.abs(ee.deltaX)>0&&Math.abs(ee.deltaY)>0)return 1;var ae=.5,q=this._front===-1&&this._rear===-1?null:this._memory[this._rear];return(Math.abs(ee.deltaX-Math.round(ee.deltaX))>0||Math.abs(ee.deltaY-Math.round(ee.deltaY))>0)&&(ae+=.25),Math.min(Math.max(ae,0),1)},ne.INSTANCE=new ne,ne}(),Me=function(ne){$(ee,ne);function ee(ae,q,ue){var X=ne.call(this)||this;X._onScroll=X._register(new k.a),X.onScroll=X._onScroll.event,ae.style.overflow="hidden",X._options=Pe(q),X._scrollable=ue,X._register(X._scrollable.onScroll(function(je){X._onDidScroll(je),X._onScroll.fire(je)}));var he={onMouseWheel:function(Xe){return X._onMouseWheel(Xe)},onDragStart:function(){return X._onDragStart()},onDragEnd:function(){return X._onDragEnd()}};return X._verticalScrollbar=X._register(new A(X._scrollable,X._options,he)),X._horizontalScrollbar=X._register(new E(X._scrollable,X._options,he)),X._domNode=document.createElement("div"),X._domNode.className="monaco-scrollable-element "+X._options.className,X._domNode.setAttribute("role","presentation"),X._domNode.style.position="relative",X._domNode.style.overflow="hidden",X._domNode.appendChild(ae),X._domNode.appendChild(X._horizontalScrollbar.domNode.domNode),X._domNode.appendChild(X._verticalScrollbar.domNode.domNode),X._options.useShadows?(X._leftShadowDomNode=Object(I.b)(document.createElement("div")),X._leftShadowDomNode.setClassName("shadow"),X._domNode.appendChild(X._leftShadowDomNode.domNode),X._topShadowDomNode=Object(I.b)(document.createElement("div")),X._topShadowDomNode.setClassName("shadow"),X._domNode.appendChild(X._topShadowDomNode.domNode),X._topLeftShadowDomNode=Object(I.b)(document.createElement("div")),X._topLeftShadowDomNode.setClassName("shadow top-left-corner"),X._domNode.appendChild(X._topLeftShadowDomNode.domNode)):(X._leftShadowDomNode=null,X._topShadowDomNode=null,X._topLeftShadowDomNode=null),X._listenOnDomNode=X._options.listenOnDomNode||X._domNode,X._mouseWheelToDispose=[],X._setListeningToMouseWheel(X._options.handleMouseWheel),X.onmouseover(X._listenOnDomNode,function(je){return X._onMouseOver(je)}),X.onnonbubblingmouseout(X._listenOnDomNode,function(je){return X._onMouseOut(je)}),X._hideTimeout=X._register(new U.e),X._isDragging=!1,X._mouseIsOver=!1,X._shouldRender=!0,X._revealOnScroll=!0,X}return ee.prototype.dispose=function(){this._mouseWheelToDispose=Object(_.f)(this._mouseWheelToDispose),ne.prototype.dispose.call(this)},ee.prototype.getDomNode=function(){return this._domNode},ee.prototype.getOverviewRulerLayoutInfo=function(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}},ee.prototype.delegateVerticalScrollbarMouseDown=function(ae){this._verticalScrollbar.delegateMouseDown(ae)},ee.prototype.getScrollDimensions=function(){return this._scrollable.getScrollDimensions()},ee.prototype.setScrollDimensions=function(ae){this._scrollable.setScrollDimensions(ae)},ee.prototype.updateClassName=function(ae){this._options.className=ae,w.e&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className},ee.prototype.updateOptions=function(ae){var q=Pe(ae);this._options.handleMouseWheel=q.handleMouseWheel,this._options.mouseWheelScrollSensitivity=q.mouseWheelScrollSensitivity,this._options.fastScrollSensitivity=q.fastScrollSensitivity,this._setListeningToMouseWheel(this._options.handleMouseWheel),this._options.lazyRender||this._render()},ee.prototype._setListeningToMouseWheel=function(ae){var q=this,ue=this._mouseWheelToDispose.length>0;if(ue===ae)return;if(this._mouseWheelToDispose=Object(_.f)(this._mouseWheelToDispose),ae){var X=function(je){q._onMouseWheel(new H.c(je))};this._mouseWheelToDispose.push(J.j(this._listenOnDomNode,re.f?"mousewheel":"wheel",X,{passive:!1}))}},ee.prototype._onMouseWheel=function(ae){var q,ue=Ce.INSTANCE;if(B&&ue.accept(Date.now(),ae.deltaX,ae.deltaY),ae.deltaY||ae.deltaX){var X=ae.deltaY*this._options.mouseWheelScrollSensitivity,he=ae.deltaX*this._options.mouseWheelScrollSensitivity;this._options.flipAxes&&(q=[he,X],X=q[0],he=q[1]);var je=!w.e&&ae.browserEvent&&ae.browserEvent.shiftKey;(this._options.scrollYToX||je)&&!he&&(he=X,X=0),ae.browserEvent&&ae.browserEvent.altKey&&(he=he*this._options.fastScrollSensitivity,X=X*this._options.fastScrollSensitivity);var Xe=this._scrollable.getFutureScrollPosition(),me={};if(X){var ge=Xe.scrollTop-W*X;this._verticalScrollbar.writeScrollPosition(me,ge)}if(he){var we=Xe.scrollLeft-W*he;this._horizontalScrollbar.writeScrollPosition(me,we)}if(me=this._scrollable.validateScrollPosition(me),Xe.scrollLeft!==me.scrollLeft||Xe.scrollTop!==me.scrollTop){var Re=B&&this._options.mouseWheelSmoothScroll&&ue.isPhysicalMouseWheel();Re?this._scrollable.setScrollPositionSmooth(me):this._scrollable.setScrollPositionNow(me),this._shouldRender=!0}}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(ae.preventDefault(),ae.stopPropagation())},ee.prototype._onDidScroll=function(ae){this._shouldRender=this._horizontalScrollbar.onDidScroll(ae)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(ae)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()},ee.prototype.renderNow=function(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()},ee.prototype._render=function(){if(!this._shouldRender)return;if(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows){var ae=this._scrollable.getCurrentScrollPosition(),q=ae.scrollTop>0,ue=ae.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(ue?" left":"")),this._topShadowDomNode.setClassName("shadow"+(q?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(q?" top":"")+(ue?" left":""))}},ee.prototype._onDragStart=function(){this._isDragging=!0,this._reveal()},ee.prototype._onDragEnd=function(){this._isDragging=!1,this._hide()},ee.prototype._onMouseOut=function(ae){this._mouseIsOver=!1,this._hide()},ee.prototype._onMouseOver=function(ae){this._mouseIsOver=!0,this._reveal()},ee.prototype._reveal=function(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()},ee.prototype._hide=function(){!this._mouseIsOver&&!this._isDragging&&(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())},ee.prototype._scheduleHide=function(){var ae=this;!this._mouseIsOver&&!this._isDragging&&this._hideTimeout.cancelAndSet(function(){return ae._hide()},ie)},ee}(O.a),Te=function(ne){$(ee,ne);function ee(ae,q){var ue=this;q=q||{},q.mouseWheelSmoothScroll=!1;var X=new R.a(0,function(he){return J.W(he)});return ue=ne.call(this,ae,q,X)||this,ue._register(X),ue}return ee.prototype.setScrollPosition=function(ae){this._scrollable.setScrollPositionNow(ae)},ee.prototype.getScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},ee}(Me),Fe=function(ne){$(ee,ne);function ee(ae,q,ue){return ne.call(this,ae,q,ue)||this}return ee}(Me),He=function(ne){$(ee,ne);function ee(ae,q){var ue=ne.call(this,ae,q)||this;return ue._element=ae,ue.onScroll(function(X){X.scrollTopChanged&&(ue._element.scrollTop=X.scrollTop),X.scrollLeftChanged&&(ue._element.scrollLeft=X.scrollLeft)}),ue.scanDomNode(),ue}return ee.prototype.scanDomNode=function(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})},ee}(Te);function Pe(ne){var ee={lazyRender:typeof ne.lazyRender!="undefined"?ne.lazyRender:!1,className:typeof ne.className!="undefined"?ne.className:"",useShadows:typeof ne.useShadows!="undefined"?ne.useShadows:!0,handleMouseWheel:typeof ne.handleMouseWheel!="undefined"?ne.handleMouseWheel:!0,flipAxes:typeof ne.flipAxes!="undefined"?ne.flipAxes:!1,alwaysConsumeMouseWheel:typeof ne.alwaysConsumeMouseWheel!="undefined"?ne.alwaysConsumeMouseWheel:!1,scrollYToX:typeof ne.scrollYToX!="undefined"?ne.scrollYToX:!1,mouseWheelScrollSensitivity:typeof ne.mouseWheelScrollSensitivity!="undefined"?ne.mouseWheelScrollSensitivity:1,fastScrollSensitivity:typeof ne.fastScrollSensitivity!="undefined"?ne.fastScrollSensitivity:5,mouseWheelSmoothScroll:typeof ne.mouseWheelSmoothScroll!="undefined"?ne.mouseWheelSmoothScroll:!0,arrowSize:typeof ne.arrowSize!="undefined"?ne.arrowSize:11,listenOnDomNode:typeof ne.listenOnDomNode!="undefined"?ne.listenOnDomNode:null,horizontal:typeof ne.horizontal!="undefined"?ne.horizontal:1,horizontalScrollbarSize:typeof ne.horizontalScrollbarSize!="undefined"?ne.horizontalScrollbarSize:10,horizontalSliderSize:typeof ne.horizontalSliderSize!="undefined"?ne.horizontalSliderSize:0,horizontalHasArrows:typeof ne.horizontalHasArrows!="undefined"?ne.horizontalHasArrows:!1,vertical:typeof ne.vertical!="undefined"?ne.vertical:1,verticalScrollbarSize:typeof ne.verticalScrollbarSize!="undefined"?ne.verticalScrollbarSize:10,verticalHasArrows:typeof ne.verticalHasArrows!="undefined"?ne.verticalHasArrows:!1,verticalSliderSize:typeof ne.verticalSliderSize!="undefined"?ne.verticalSliderSize:0};return ee.horizontalSliderSize=typeof ne.horizontalSliderSize!="undefined"?ne.horizontalSliderSize:ee.horizontalScrollbarSize,ee.verticalSliderSize=typeof ne.verticalSliderSize!="undefined"?ne.verticalSliderSize:ee.verticalScrollbarSize,w.e&&(ee.className+=" mac"),ee}},"GR/f":function(Lt,j,e){"use strict";e.d(j,"a",function(){return f}),e.d(j,"b",function(){return v});var T=e("/cxE"),re=e("N0LK"),J=e("LCkn"),I=e("zN7H"),H=e("aokT"),z=e("gCVg"),O=function(){function w(p,c,s){this._range=p,this._charBeforeSelection=c,this._charAfterSelection=s}return w.prototype.getEditOperations=function(p,c){c.addTrackedEditOperation(new H.a(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),c.addTrackedEditOperation(new H.a(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)},w.prototype.computeCursorState=function(p,c){var s=c.getInverseEditOperations(),l=s[0].range,d=s[1].range;return new z.a(l.endLineNumber,l.endColumn,d.endLineNumber,d.endColumn-this._charAfterSelection.length)},w}(),U=e("Ll0s"),x=e("5v8Y"),u=e("KDc4"),y=e("cMvZ"),_=function(){var w=function(c,s){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,d){l.__proto__=d}||function(l,d){for(var m in d)d.hasOwnProperty(m)&&(l[m]=d[m])},w(c,s)};return function(p,c){w(p,c);function s(){this.constructor=p}p.prototype=c===null?Object.create(c):(s.prototype=c.prototype,new s)}}(),f=function(){function w(){}return w.indent=function(p,c,s){if(c===null||s===null)return[];for(var l=[],d=0,m=s.length;d1){var E=void 0;for(E=s-1;E>=1;E--){var L=c.getLineContent(E),A=re.D(L);if(A>=0)break}if(E<1)return null;var k=c.getLineMaxColumn(E),R=y.a.getEnterAction(p.autoIndent,c,new H.a(E,k,E,k));R&&(d=R.indentation+R.appendText)}return l&&(l===u.a.Indent&&(d=w.shiftIndent(p,d)),l===u.a.Outdent&&(d=w.unshiftIndent(p,d)),d=p.normalizeIndentation(d)),d||null},w._replaceJumpToNextIndent=function(p,c,s,l){var d="",m=s.getStartPosition();if(p.insertSpaces)for(var E=U.a.visibleColumnFromColumn2(p,c,m),L=p.indentSize,A=L-E%L,k=0;k=4){var W=y.a.getIndentForEnter(p.autoIndent,c,l,{unshiftIndent:function(Pe){return w.unshiftIndent(p,Pe)},shiftIndent:function(Pe){return w.shiftIndent(p,Pe)},normalizeIndentation:function(Pe){return p.normalizeIndentation(Pe)}});if(W){var B=H.a.visibleColumnFromColumn2(p,c,l.getEndPosition()),le=l.endColumn,Ce=` +`+p.normalizeIndentation(R+E.appendText),s)}}var $=c.getLineContent(l.startLineNumber),ie=re.t($).substring(0,l.startColumn-1);if(p.autoIndent>=4){var W=y.a.getIndentForEnter(p.autoIndent,c,l,{unshiftIndent:function(Pe){return w.unshiftIndent(p,Pe)},shiftIndent:function(Pe){return w.shiftIndent(p,Pe)},normalizeIndentation:function(Pe){return p.normalizeIndentation(Pe)}});if(W){var B=U.a.visibleColumnFromColumn2(p,c,l.getEndPosition()),le=l.endColumn,Ce=` `;ie!==p.normalizeIndentation(W.beforeEnter)&&(Ce=p.normalizeIndentation(W.beforeEnter)+$.substring(ie.length,l.startColumn-1)+` -`,l=new U.a(l.startLineNumber,1,l.endLineNumber,l.endColumn));var Me=c.getLineContent(l.endLineNumber),Te=re.q(Me);if(Te>=0?l=l.setEndPosition(l.endLineNumber,Math.max(l.endColumn,Te+1)):l=l.setEndPosition(l.endLineNumber,c.getLineMaxColumn(l.endLineNumber)),s)return new J.e(l,Ce+p.normalizeIndentation(W.afterEnter),!0);var Fe=0;return le<=Te+1&&(p.insertSpaces||(B=Math.ceil(B/p.indentSize)),Fe=Math.min(B+1-p.normalizeIndentation(W.afterEnter).length-1,0)),new J.d(l,Ce+p.normalizeIndentation(W.afterEnter),0,Fe,!0)}}return w._typeCommand(l,` -`+p.normalizeIndentation(ie),s)},w._isAutoIndentType=function(p,c,s){if(p.autoIndent<4)return!1;for(var l=0,d=s.length;l2?k.charCodeAt(A.column-2):0;if(ie===92&&$)return!1;if(p.autoClosingOvertype==="auto"){for(var W=!1,B=0,le=l.length;B=0||s.indexOf(c)>=0},w._isBeforeClosingBrace=function(p,c,s){var l=p.autoClosingPairsClose2.get(s);if(!l)return!1;for(var d=w._autoClosingPairIsSymmetric(c),m=0,E=l;mm.open.length){for(var k=!0,R=0,$=s;R<$.length;R++){var ie=$[R],W=c.getValueInRange(new U.a(ie.lineNumber,ie.column-A.open.length+1,ie.lineNumber,ie.column));if(W+l!==A.open){k=!1;break}}k&&(m=A)}}return m},w._isAutoClosingOpenCharType=function(p,c,s,l,d){var m=Object(H.g)(l),E=m?p.autoClosingQuotes:p.autoClosingBrackets;if(E==="never")return null;var L=this._findAutoClosingPairOpen(p,c,s.map(function(Fe){return Fe.getPosition()}),l);if(!L)return null;for(var A=m?p.shouldAutoCloseBefore.quote:p.shouldAutoCloseBefore.bracket,k=0,R=s.length;kie.column-1){var B=W.charAt(ie.column-1),le=w._isBeforeClosingBrace(p,L,B);if(!le&&!A(B))return null}if(!c.isCheapToTokenize(ie.lineNumber))return null;if(L.open.length===1&&m&&E!=="always"){var Ce=Object(x.a)(p.wordSeparators);if(d&&ie.column>1&&Ce.get(W.charCodeAt(ie.column-2))===0)return null;if(!d&&ie.column>2&&Ce.get(W.charCodeAt(ie.column-3))===0)return null}c.forceTokenization(ie.lineNumber);var Me=c.getLineTokens(ie.lineNumber),Te=!1;try{Te=y.a.shouldAutoClosePair(L,Me,d?ie.column:ie.column-1)}catch(Fe){Object(T.e)(Fe)}if(!Te)return null}return L},w._runAutoClosingOpenCharType=function(p,c,s,l,d,m,E){for(var L=[],A=0,k=l.length;A=0;$--)(R=d[$])&&(k=(A<3?R(k):A>3?R(m,E,k):R(m,E))||k);return A>3&&k&&Object.defineProperty(m,E,k),k},p=function(d,m){return function(E,L){m(E,L,d)}},c=function(){function d(m,E){this.decorationIds=[],this.editor=m,this.editorWorkerService=E}return d.get=function(m){return m.getContribution(d.ID)},d.prototype.dispose=function(){},d.prototype.run=function(m,E){var L=this;this.currentRequest&&this.currentRequest.cancel();var A=this.editor.getSelection(),k=this.editor.getModel();if(!k||!A)return;var R=A;if(R.startLineNumber!==R.endLineNumber)return;var $=new H.a(this.editor,1|4),ie=k.uri;return this.editorWorkerService.canNavigateValueSet(ie)?(this.currentRequest=Object(_.f)(function(W){return L.editorWorkerService.navigateValueSet(ie,R,E)}),this.currentRequest.then(function(W){if(!W||!W.range||!W.value)return;if(!$.validate(L.editor))return;var B=re.a.lift(W.range),le=W.range,Ce=W.value.length-(R.endColumn-R.startColumn);le={startLineNumber:le.startLineNumber,startColumn:le.startColumn,endLineNumber:le.endLineNumber,endColumn:le.startColumn+W.value.length},Ce>1&&(R=new J.a(R.startLineNumber,R.startColumn,R.endLineNumber,R.endColumn+Ce-1));var Me=new O(B,R,W.value);L.editor.pushUndoStop(),L.editor.executeCommand(m,Me),L.editor.pushUndoStop(),L.decorationIds=L.editor.deltaDecorations(L.decorationIds,[{range:le,options:d.DECORATION}]),L.decorationRemover&&L.decorationRemover.cancel(),L.decorationRemover=Object(_.l)(350),L.decorationRemover.then(function(){return L.decorationIds=L.editor.deltaDecorations(L.decorationIds,[])}).catch(f.e)}).catch(f.e)):Promise.resolve(void 0)},d.ID="editor.contrib.inPlaceReplaceController",d.DECORATION=y.a.register({className:"valueSetReplacement"}),d=w([p(1,z.a)],d),d}(),s=function(d){v(m,d);function m(){return d.call(this,{id:"editor.action.inPlaceReplace.up",label:T.a("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:I.a.writable,kbOpts:{kbExpr:I.a.editorTextFocus,primary:2048|1024|82,weight:100}})||this}return m.prototype.run=function(E,L){var A=c.get(L);return A?A.run(this.id,!0):Promise.resolve(void 0)},m}(U.b),l=function(d){v(m,d);function m(){return d.call(this,{id:"editor.action.inPlaceReplace.down",label:T.a("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:I.a.writable,kbOpts:{kbExpr:I.a.editorTextFocus,primary:2048|1024|84,weight:100}})||this}return m.prototype.run=function(E,L){var A=c.get(L);return A?A.run(this.id,!1):Promise.resolve(void 0)},m}(U.b);Object(U.h)(c.ID,c),Object(U.f)(s),Object(U.f)(l),Object(x.e)(function(d,m){var E=d.getColor(u.d);E&&m.addRule(".monaco-editor.vs .valueSetReplacement { outline: solid 2px "+E+"; }")})},Gw4z:function(Lt,j,e){"use strict";e.d(j,"b",function(){return I}),e.d(j,"a",function(){return H});var T=function(){function x(u,y,_,f){this.originalStart=u,this.originalLength=y,this.modifiedStart=_,this.modifiedLength=f}return x.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},x.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},x}(),re=e("7afs"),J=function(){function x(u){this.source=u}return x.prototype.getElements=function(){for(var u=this.source,y=new Int32Array(u.length),_=0,f=u.length;_0||this.m_modifiedCount>0)&&this.m_changes.push(new T(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},x.prototype.AddOriginalElement=function(u,y){this.m_originalStart=Math.min(this.m_originalStart,u),this.m_modifiedStart=Math.min(this.m_modifiedStart,y),this.m_originalCount++},x.prototype.AddModifiedElement=function(u,y){this.m_originalStart=Math.min(this.m_originalStart,u),this.m_modifiedStart=Math.min(this.m_modifiedStart,y),this.m_modifiedCount++},x.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},x.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},x}(),H=function(){function x(u,y,_){_===void 0&&(_=null),this.ContinueProcessingPredicate=_;var f=x._getElements(u),v=f[0],w=f[1],p=f[2],c=x._getElements(y),s=c[0],l=c[1],d=c[2];this._hasStrings=p&&d,this._originalStringElements=v,this._originalElementsOrHash=w,this._modifiedStringElements=s,this._modifiedElementsOrHash=l,this.m_forwardHistory=[],this.m_reverseHistory=[]}return x._isStringArray=function(u){return u.length>0&&typeof u[0]=="string"},x._getElements=function(u){var y=u.getElements();if(x._isStringArray(y)){for(var _=new Int32Array(y.length),f=0,v=y.length;f=u&&f>=_&&this.ElementsAreEqual(y,f);)y--,f--;if(u>y||_>f){var w=void 0;return _<=f?(U.Assert(u===y+1,"originalStart should only be one more than originalEnd"),w=[new T(u,0,_,f-_+1)]):u<=y?(U.Assert(_===f+1,"modifiedStart should only be one more than modifiedEnd"),w=[new T(u,y-u+1,_,0)]):(U.Assert(u===y+1,"originalStart should only be one more than originalEnd"),U.Assert(_===f+1,"modifiedStart should only be one more than modifiedEnd"),w=[]),w}var p=[0],c=[0],s=this.ComputeRecursionPoint(u,y,_,f,p,c,v),l=p[0],d=c[0];if(s!==null)return s;if(!v[0]){var m=this.ComputeDiffRecursive(u,l,_,d,v),E=[];return v[0]?E=[new T(l+1,y-(l+1)+1,d+1,f-(d+1)+1)]:E=this.ComputeDiffRecursive(l+1,y,d+1,f,v),this.ConcatenateChanges(m,E)}return[new T(u,y-u+1,_,f-_+1)]},x.prototype.WALKTRACE=function(u,y,_,f,v,w,p,c,s,l,d,m,E,L,A,k,R,$){var ie=null,W=null,B=new O,le=y,Ce=_,Me=E[0]-k[0]-f,Te=-1073741824,Fe=this.m_forwardHistory.length-1;do{var Ue=Me+u;Ue===le||Ue=0&&(s=this.m_forwardHistory[Fe],u=s[0],le=1,Ce=s.length-1)}while(--Fe>=-1);if(ie=B.getReverseChanges(),$[0]){var Pe=E[0]+1,ne=k[0]+1;if(ie!==null&&ie.length>0){var ee=ie[ie.length-1];Pe=Math.max(Pe,ee.getOriginalEnd()),ne=Math.max(ne,ee.getModifiedEnd())}W=[new T(Pe,m-Pe+1,ne,A-ne+1)]}else{B=new O,le=w,Ce=p,Me=E[0]-k[0]-c,Te=1073741824,Fe=R?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var Ue=Me+v;Ue===le||Ue=l[Ue+1]?(d=l[Ue+1]-1,L=d-Me-c,d>Te&&B.MarkNextChange(),Te=d+1,B.AddOriginalElement(d+1,L+1),Me=Ue+1-v):(d=l[Ue-1],L=d-Me-c,d>Te&&B.MarkNextChange(),Te=d,B.AddModifiedElement(d+1,L+1),Me=Ue-1-v),Fe>=0&&(l=this.m_reverseHistory[Fe],v=l[0],le=1,Ce=l.length-1)}while(--Fe>=-1);W=B.getChanges()}return this.ConcatenateChanges(ie,W)},x.prototype.ComputeRecursionPoint=function(u,y,_,f,v,w,p){var c=0,s=0,l=0,d=0,m=0,E=0;u--,_--,v[0]=0,w[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var L=y-u+(f-_),A=L+1,k=new Int32Array(A),R=new Int32Array(A),$=f-_,ie=y-u,W=u-_,B=y-f,le=ie-$,Ce=le%2===0;k[$]=u,R[ie]=y,p[0]=!1;for(var Me=1;Me<=L/2+1;Me++){var Te=0,Fe=0;l=this.ClipDiagonalBound($-Me,Me,$,A),d=this.ClipDiagonalBound($+Me,Me,$,A);for(var Ue=l;Ue<=d;Ue+=2){Ue===l||UeTe+Fe&&(Te=c,Fe=s),!Ce&&Math.abs(Ue-ie)<=Me-1&&c>=R[Ue])return v[0]=c,w[0]=s,Pe<=R[Ue]&&1447>0&&Me<=1447+1?this.WALKTRACE($,l,d,W,ie,m,E,B,k,R,c,y,v,s,f,w,Ce,p):null}var ne=(Te-u+(Fe-_)-Me)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(Te,ne))return p[0]=!0,v[0]=Te,w[0]=Fe,ne>0&&1447>0&&Me<=1447+1?this.WALKTRACE($,l,d,W,ie,m,E,B,k,R,c,y,v,s,f,w,Ce,p):(u++,_++,[new T(u,y-u+1,_,f-_+1)]);m=this.ClipDiagonalBound(ie-Me,Me,ie,A),E=this.ClipDiagonalBound(ie+Me,Me,ie,A);for(var Ue=m;Ue<=E;Ue+=2){Ue===m||Ue=R[Ue+1]?c=R[Ue+1]-1:c=R[Ue-1],s=c-(Ue-ie)-B;for(var Pe=c;c>u&&s>_&&this.ElementsAreEqual(c,s);)c--,s--;if(R[Ue]=c,Ce&&Math.abs(Ue-$)<=Me&&c<=k[Ue])return v[0]=c,w[0]=s,Pe>=k[Ue]&&1447>0&&Me<=1447+1?this.WALKTRACE($,l,d,W,ie,m,E,B,k,R,c,y,v,s,f,w,Ce,p):null}if(Me<=1447){var ee=new Int32Array(d-l+2);ee[0]=$-l+1,z.Copy2(k,l,ee,1,d-l+1),this.m_forwardHistory.push(ee),ee=new Int32Array(E-m+2),ee[0]=ie-m+1,z.Copy2(R,m,ee,1,E-m+1),this.m_reverseHistory.push(ee)}}return this.WALKTRACE($,l,d,W,ie,m,E,B,k,R,c,y,v,s,f,w,Ce,p)},x.prototype.PrettifyChanges=function(u){for(var y=0;y0,p=_.modifiedLength>0;_.originalStart+_.originalLength=0;y--){var _=u[y],f=0,v=0;if(y>0){var s=u[y-1];s.originalLength>0&&(f=s.originalStart+s.originalLength),s.modifiedLength>0&&(v=s.modifiedStart+s.modifiedLength)}for(var w=_.originalLength>0,p=_.modifiedLength>0,l=0,d=this._boundaryScore(_.originalStart,_.originalLength,_.modifiedStart,_.modifiedLength),m=1;;m++){var E=_.originalStart-m,L=_.modifiedStart-m;if(Ed&&(d=A,l=m)}_.originalStart-=l,_.modifiedStart-=l}return u},x.prototype._OriginalIsBoundary=function(u){return u<=0||u>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[u])},x.prototype._OriginalRegionIsBoundary=function(u,y){if(this._OriginalIsBoundary(u)||this._OriginalIsBoundary(u-1))return!0;if(y>0){var _=u+y;if(this._OriginalIsBoundary(_-1)||this._OriginalIsBoundary(_))return!0}return!1},x.prototype._ModifiedIsBoundary=function(u){return u<=0||u>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[u])},x.prototype._ModifiedRegionIsBoundary=function(u,y){if(this._ModifiedIsBoundary(u)||this._ModifiedIsBoundary(u-1))return!0;if(y>0){var _=u+y;if(this._ModifiedIsBoundary(_-1)||this._ModifiedIsBoundary(_))return!0}return!1},x.prototype._boundaryScore=function(u,y,_,f){var v=this._OriginalRegionIsBoundary(u,y)?1:0,w=this._ModifiedRegionIsBoundary(_,f)?1:0;return v+w},x.prototype.ConcatenateChanges=function(u,y){var _=[];if(u.length===0||y.length===0)return y.length>0?y:u;if(this.ChangesOverlap(u[u.length-1],y[0],_)){var f=new Array(u.length+y.length-1);return z.Copy(u,0,f,0,u.length-1),f[u.length-1]=_[0],z.Copy(y,1,f,u.length,y.length-1),f}else{var f=new Array(u.length+y.length);return z.Copy(u,0,f,0,u.length),z.Copy(y,0,f,u.length,y.length),f}},x.prototype.ChangesOverlap=function(u,y,_){if(U.Assert(u.originalStart<=y.originalStart,"Left change is not less than or equal to right change"),U.Assert(u.modifiedStart<=y.modifiedStart,"Left change is not less than or equal to right change"),u.originalStart+u.originalLength>=y.originalStart||u.modifiedStart+u.modifiedLength>=y.modifiedStart){var f=u.originalStart,v=u.originalLength,w=u.modifiedStart,p=u.modifiedLength;return u.originalStart+u.originalLength>=y.originalStart&&(v=y.originalStart+y.originalLength-u.originalStart),u.modifiedStart+u.modifiedLength>=y.modifiedStart&&(p=y.modifiedStart+y.modifiedLength-u.modifiedStart),_[0]=new T(f,v,w,p),!0}else return _[0]=null,!1},x.prototype.ClipDiagonalBound=function(u,y,_,f){if(u>=0&&u=0;le--)(B=A[le])&&(W=(ie<3?B(W):ie>3?B(k,R,W):B(k,R))||W);return ie>3&&W&&Object.defineProperty(k,R,W),W},E=function(A,k){return function(R,$){k(R,$,A)}},L=function(){function A(k,R,$){var ie=this;this.textModelResolverService=R,this.modeService=$,this.toUnhook=new _.b,this.toUnhookForKeyboard=new _.b,this.linkDecorations=[],this.currentWordAtPosition=null,this.previousPromise=null,this.editor=k;var W=new s.a(k);this.toUnhook.add(W),this.toUnhook.add(W.onMouseMoveOrRelevantKeyDown(function(B){var le=B[0],Ce=B[1];ie.startFindDefinitionFromMouse(le,Object(d.n)(Ce))})),this.toUnhook.add(W.onExecute(function(B){ie.isEnabled(B)&&ie.gotoDefinition(B.target.position,B.hasSideBySideModifier).then(function(){ie.removeLinkDecorations()},function(le){ie.removeLinkDecorations(),Object(U.e)(le)})})),this.toUnhook.add(W.onCancel(function(){ie.removeLinkDecorations(),ie.currentWordAtPosition=null}))}return A.get=function(k){return k.getContribution(A.ID)},A.prototype.startFindDefinitionFromCursor=function(k){var R=this;return this.startFindDefinition(k).then(function(){R.toUnhookForKeyboard.add(R.editor.onDidChangeCursorPosition(function(){R.currentWordAtPosition=null,R.removeLinkDecorations(),R.toUnhookForKeyboard.clear()})),R.toUnhookForKeyboard.add(R.editor.onKeyDown(function($){$&&(R.currentWordAtPosition=null,R.removeLinkDecorations(),R.toUnhookForKeyboard.clear())}))})},A.prototype.startFindDefinitionFromMouse=function(k,R){if(k.target.type===9&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(k,R)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}var $=k.target.position;this.startFindDefinition($)},A.prototype.startFindDefinition=function(k){var R=this,$;this.toUnhookForKeyboard.clear();var ie=k?($=this.editor.getModel())===null||$===void 0?void 0:$.getWordAtPosition(k):null;if(!ie)return this.currentWordAtPosition=null,this.removeLinkDecorations(),Promise.resolve(0);if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===ie.startColumn&&this.currentWordAtPosition.endColumn===ie.endColumn&&this.currentWordAtPosition.word===ie.word)return Promise.resolve(0);this.currentWordAtPosition=ie;var W=new p.a(this.editor,4|1|2|8);return this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=Object(I.f)(function(B){return R.findDefinition(k,B)}),this.previousPromise.then(function(B){if(!B||!B.length||!W.validate(R.editor)){R.removeLinkDecorations();return}if(B.length>1)R.addDecoration(new H.a(k.lineNumber,ie.startColumn,k.lineNumber,ie.endColumn),new z.a().appendText(J.a("multipleResults","Click to show {0} definitions.",B.length)));else{var le=B[0];if(!le.uri)return;R.textModelResolverService.createModelReference(le.uri).then(function(Ce){if(!Ce.object||!Ce.object.textEditorModel){Ce.dispose();return}var Me=Ce.object.textEditorModel,Te=le.range.startLineNumber;if(Te<1||Te>Me.getLineCount()){Ce.dispose();return}var Fe=R.getPreviewValue(Me,Te,le),Ue;le.originSelectionRange?Ue=H.a.lift(le.originSelectionRange):Ue=new H.a(k.lineNumber,ie.startColumn,k.lineNumber,ie.endColumn);var Pe=R.modeService.getModeIdByFilepathOrFirstLine(Me.uri);R.addDecoration(Ue,new z.a().appendCodeblock(Pe||"",Fe)),Ce.dispose()})}}).then(void 0,U.e)},A.prototype.getPreviewValue=function(k,R,$){var ie=$.targetSelectionRange?$.range:this.getPreviewRangeBasedOnBrackets(k,R),W=ie.endLineNumber-ie.startLineNumber;W>=A.MAX_SOURCE_PREVIEW_LINES&&(ie=this.getPreviewRangeBasedOnIndentation(k,R));var B=this.stripIndentationFromPreviewRange(k,R,ie);return B},A.prototype.stripIndentationFromPreviewRange=function(k,R,$){for(var ie=k.getLineFirstNonWhitespaceColumn(R),W=ie,B=R+1;B<$.endLineNumber;B++){var le=k.getLineFirstNonWhitespaceColumn(B);W=Math.min(W,le)}var Ce=k.getValueInRange($).replace(new RegExp("^\\s{"+(W-1)+"}","gm"),"").trim();return Ce},A.prototype.getPreviewRangeBasedOnIndentation=function(k,R){for(var $=k.getLineFirstNonWhitespaceColumn(R),ie=Math.min(k.getLineCount(),R+A.MAX_SOURCE_PREVIEW_LINES),W=R+1;W$)return new H.a(R,1,$+1,1);B=k.findNextBracket(new l.a(Me,Te))}return new H.a(R,1,$+1,1)},A.prototype.addDecoration=function(k,R){var $={range:k,options:{inlineClassName:"goto-definition-link",hoverMessage:R}};this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[$])},A.prototype.removeLinkDecorations=function(){this.linkDecorations.length>0&&(this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[]))},A.prototype.isEnabled=function(k,R){return this.editor.hasModel()&&k.isNoneOrSingleMouseDown&&k.target.type===6&&(k.hasTriggerModifier||(R?R.keyCodeIsTriggerKey:!1))&&x.f.has(this.editor.getModel())},A.prototype.findDefinition=function(k,R){var $=this.editor.getModel();return $?Object(y.b)($,k,R):Promise.resolve(null)},A.prototype.gotoDefinition=function(k,R){var $=this;this.editor.setPosition(k);var ie=new c.DefinitionAction({openToSide:R,openInPeek:!1,muteMessage:!0},{alias:"",label:"",id:"",precondition:void 0});return this.editor.invokeWithinContext(function(W){return ie.run(W,$.editor)})},A.prototype.dispose=function(){this.toUnhook.dispose()},A.ID="editor.contrib.gotodefinitionatposition",A.MAX_SOURCE_PREVIEW_LINES=8,A=m([E(1,f.a),E(2,O.a)],A),A}();Object(u.h)(L.ID,L),Object(v.e)(function(A,k){var R=A.getColor(w.n);R&&k.addRule(".monaco-editor .goto-definition-link { color: "+R+" !important; }")})},H6Gb:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return e.e(302).then(e.bind(null,"lXEz"))}})},HdwC:function(Lt,j,e){"use strict";e.d(j,"b",function(){return v}),e.d(j,"a",function(){return p});var T=e("D3Dy"),re=e("MI8n"),J=e("pmY6"),I=e("MNsG"),U=function(){function c(s,l){this.chr=s,this.type=l,this.width=0}return c.prototype.fulfill=function(s){this.width=s},c}(),z=function(){function c(s,l){this._bareFontInfo=s,this._requests=l,this._container=null,this._testElements=null}return c.prototype.read=function(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null},c.prototype._createDomElements=function(){var s=document.createElement("div");s.style.position="absolute",s.style.top="-50000px",s.style.width="50000px";var l=document.createElement("div");l.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),l.style.fontWeight=this._bareFontInfo.fontWeight,l.style.fontSize=this._bareFontInfo.fontSize+"px",l.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,l.style.lineHeight=this._bareFontInfo.lineHeight+"px",l.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",s.appendChild(l);var d=document.createElement("div");d.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),d.style.fontWeight="bold",d.style.fontSize=this._bareFontInfo.fontSize+"px",d.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,d.style.lineHeight=this._bareFontInfo.lineHeight+"px",d.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",s.appendChild(d);var m=document.createElement("div");m.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),m.style.fontWeight=this._bareFontInfo.fontWeight,m.style.fontSize=this._bareFontInfo.fontSize+"px",m.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,m.style.lineHeight=this._bareFontInfo.lineHeight+"px",m.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",m.style.fontStyle="italic",s.appendChild(m);for(var E=[],L=0,A=this._requests;L.001){ee=!1;break}}var he=!0;ee&&Ue.width!==ae&&(he=!1),Ue.width>Fe.width&&(he=!1);var je=T.b()>2e3;return new y.b({zoomLevel:T.c(),fontFamily:l.fontFamily,fontWeight:l.fontWeight,fontSize:l.fontSize,fontFeatureSettings:l.fontFeatureSettings,lineHeight:l.lineHeight,letterSpacing:l.letterSpacing,isMonospace:ee,typicalHalfwidthCharacterWidth:E.width,typicalFullwidthCharacterWidth:L.width,canUseHalfwidthRightwardsArrow:he,spaceWidth:A.width,middotWidth:Pe.width,maxDigitWidth:ne},je)},s.INSTANCE=new s,s}(J.a),p=function(c){_(s,c);function s(l,d,m,E){m===void 0&&(m=null);var L=c.call(this,l,d)||this;return L.accessibilityService=E,L._elementSizeObserver=L._register(new H.a(m,d.dimension,function(){return L._onReferenceDomElementSizeChanged()})),L._register(w.INSTANCE.onDidChange(function(){return L._onCSSBasedConfigurationChanged()})),L._validatedOptions.get(9)&&L._elementSizeObserver.startObserving(),L._register(T.o(function(A){return L._recomputeOptions()})),L._register(L.accessibilityService.onDidChangeScreenReaderOptimized(function(){return L._recomputeOptions()})),L._recomputeOptions(),L}return s.applyFontInfoSlow=function(l,d){l.style.fontFamily=d.getMassagedFontFamily(),l.style.fontWeight=d.fontWeight,l.style.fontSize=d.fontSize+"px",l.style.fontFeatureSettings=d.fontFeatureSettings,l.style.lineHeight=d.lineHeight+"px",l.style.letterSpacing=d.letterSpacing+"px"},s.applyFontInfo=function(l,d){l.setFontFamily(d.getMassagedFontFamily()),l.setFontWeight(d.fontWeight),l.setFontSize(d.fontSize),l.setFontFeatureSettings(d.fontFeatureSettings),l.setLineHeight(d.lineHeight),l.setLetterSpacing(d.letterSpacing)},s.prototype._onReferenceDomElementSizeChanged=function(){this._recomputeOptions()},s.prototype._onCSSBasedConfigurationChanged=function(){this._recomputeOptions()},s.prototype.observeReferenceElement=function(l){this._elementSizeObserver.observe(l)},s.prototype.dispose=function(){c.prototype.dispose.call(this)},s.prototype._getExtraEditorClassName=function(){var l="";return!T.k&&!T.n&&(l+="no-user-select "),I.e&&(l+="mac "),l},s.prototype._getEnvConfiguration=function(){return{extraEditorClassName:this._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:T.m||T.h,pixelRatio:T.a(),zoomLevel:T.c(),accessibilitySupport:this.accessibilityService.isScreenReaderOptimized()?2:this.accessibilityService.getAccessibilitySupport()}},s.prototype.readConfiguration=function(l){return w.INSTANCE.readConfiguration(l)},s}(x.a)},HyZH:function(Lt,j,e){},"I/Lx":function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return e.e(283).then(e.bind(null,"yswY"))}})},"J+ZK":function(Lt,j,e){},"JQT/":function(Lt,j,e){"use strict";e.d(j,"a",function(){return J}),e.d(j,"b",function(){return U});var T=e("MI8n"),re=Object.freeze(function(z,O){var H=setTimeout(z.bind(O),0);return{dispose:function(){clearTimeout(H)}}}),J;(function(z){function O(H){return H===z.None||H===z.Cancelled||H instanceof I?!0:!H||typeof H!="object"?!1:typeof H.isCancellationRequested=="boolean"&&typeof H.onCancellationRequested=="function"}z.isCancellationToken=O,z.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:T.b.None}),z.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:re})})(J||(J={}));var I=function(){function z(){this._isCancelled=!1,this._emitter=null}return z.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(z.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(z.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?re:(this._emitter||(this._emitter=new T.a),this._emitter.event)},enumerable:!0,configurable:!0}),z.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},z}(),U=function(){function z(O){this._token=void 0,this._parentListener=void 0,this._parentListener=O&&O.onCancellationRequested(this.cancel,this)}return Object.defineProperty(z.prototype,"token",{get:function(){return this._token||(this._token=new I),this._token},enumerable:!0,configurable:!0}),z.prototype.cancel=function(){this._token?this._token instanceof I&&this._token.cancel():this._token=J.Cancelled},z.prototype.dispose=function(O){O===void 0&&(O=!1),O&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof I&&this._token.dispose():this._token=J.None},z}()},JYp7:function(Lt,j,e){"use strict";e.d(j,"c",function(){return re}),e.d(j,"d",function(){return J}),e.d(j,"f",function(){return U}),e.d(j,"a",function(){return z}),e.d(j,"b",function(){return O}),e.d(j,"e",function(){return H});var T=function(){var x=function(y,_){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,v){f.__proto__=v}||function(f,v){for(var w in v)v.hasOwnProperty(w)&&(f[w]=v[w])},x(y,_)};return function(u,y){x(u,y);function _(){this.constructor=u}u.prototype=y===null?Object.create(y):(_.prototype=y.prototype,new _)}}(),re={done:!0,value:void 0},J;(function(x){var u={next:function(){return re}};function y(){return u}x.empty=y;function _(E){var L=!1;return{next:function(){return L?re:(L=!0,{done:!1,value:E})}}}x.single=_;function f(E,L,A){return L===void 0&&(L=0),A===void 0&&(A=E.length),{next:function(){return L>=A?re:{done:!1,value:E[L++]}}}}x.fromArray=f;function v(E){return{next:function(){var A=E.next();return A.done?re:{done:!1,value:A.value}}}}x.fromNativeIterator=v;function w(E){return E?Array.isArray(E)?x.fromArray(E):E:x.empty()}x.from=w;function p(E,L){return{next:function(){var k=E.next();return k.done?re:{done:!1,value:L(k.value)}}}}x.map=p;function c(E,L){return{next:function(){for(;;){var k=E.next();if(k.done)return re;if(L(k.value))return{done:!1,value:k.value}}}}}x.filter=c;function s(E,L){for(var A=E.next();!A.done;A=E.next())L(A.value)}x.forEach=s;function l(E,L){L===void 0&&(L=Number.POSITIVE_INFINITY);var A=[];if(L===0)return A;for(var k=0,R=E.next();!R.done&&!(A.push(R.value),++k>=L);R=E.next());return A}x.collect=l;function d(){for(var E=[],L=0;L=E.length)return re;var R=E[A],$=R.next();return $.done?(A++,this.next()):$}}}x.concat=d;function m(E){return new I(E)}x.chain=m})(J||(J={}));var I=function(){function x(u){this.it=u}return x.prototype.next=function(){return this.it.next()},x}();function U(x){return Array.isArray(x)?J.fromArray(x):x||J.empty()}var z=function(){function x(u,y,_,f){y===void 0&&(y=0),_===void 0&&(_=u.length),f===void 0&&(f=y-1),this.items=u,this.start=y,this.end=_,this.index=f}return x.prototype.first=function(){return this.index=this.start,this.current()},x.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},x.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},x}(),O=function(x){T(u,x);function u(y,_,f,v){return _===void 0&&(_=0),f===void 0&&(f=y.length),v===void 0&&(v=_-1),x.call(this,y,_,f,v)||this}return u.prototype.current=function(){return x.prototype.current.call(this)},u.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},u.prototype.first=function(){return this.index=this.start,this.current()},u.prototype.last=function(){return this.index=this.end-1,this.current()},u.prototype.parent=function(){return null},u}(z),H=function(){function x(u,y){this.iterator=u,this.fn=y}return x.prototype.next=function(){return this.fn(this.iterator.next())},x}()},JlLP:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return e.e(304).then(e.bind(null,"W1QP"))}})},KDc4:function(Lt,j,e){"use strict";e.d(j,"a",function(){return T}),e.d(j,"b",function(){return re});var T;(function(J){J[J.None=0]="None",J[J.Indent=1]="Indent",J[J.IndentOutdent=2]="IndentOutdent",J[J.Outdent=3]="Outdent"})(T||(T={}));var re=function(){function J(I){if(this.open=I.open,this.close=I.close,this._standardTokenMask=0,Array.isArray(I.notIn))for(var U=0,z=I.notIn.length;U=0&&this.prefixSum.set(H.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},I.prototype.changeValue=function(U,z){return U=Object(T.a)(U),z=Object(T.a)(z),this.values[U]===z?!1:(this.values[U]=z,U-1=O.length)return!1;var x=O.length-U;return z>=x&&(z=x),z===0?!1:(this.values=new Uint32Array(O.length-z),this.values.set(O.subarray(0,U),0),this.values.set(O.subarray(U+z),U),this.prefixSum=new Uint32Array(this.values.length),U-1=0&&this.prefixSum.set(H.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},I.prototype.getTotalValue=function(){return this.values.length===0?0:this._getAccumulatedValue(this.values.length-1)},I.prototype.getAccumulatedValue=function(U){return U<0?0:(U=Object(T.a)(U),this._getAccumulatedValue(U))},I.prototype._getAccumulatedValue=function(U){if(U<=this.prefixSumValidIndex[0])return this.prefixSum[U];var z=this.prefixSumValidIndex[0]+1;z===0&&(this.prefixSum[0]=this.values[0],z++),U>=this.values.length&&(U=this.values.length-1);for(var O=z;O<=U;O++)this.prefixSum[O]=this.prefixSum[O-1]+this.values[O];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],U),this.prefixSum[U]},I.prototype.getIndexOf=function(U){U=Math.floor(U),this.getTotalValue();for(var z=0,O=this.values.length-1,H=0,x=0,u=0;z<=O;)if(H=z+(O-z)/2|0,x=this.prefixSum[H],u=x-this.values[H],U=x)z=H+1;else break;return new re(H,U-u)},I}()},LexI:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return e.e(284).then(e.bind(null,"lHAa"))}})},Ll0s:function(Lt,j,e){"use strict";e.d(j,"b",function(){return _}),e.d(j,"f",function(){return f}),e.d(j,"c",function(){return v}),e.d(j,"d",function(){return c}),e.d(j,"e",function(){return s}),e.d(j,"a",function(){return l}),e.d(j,"g",function(){return d});var T=e("/cxE"),re=e("N0LK"),J=e("cGHE"),I=e("aokT"),U=e("gCVg"),z=e("tX9W"),O=e("cMvZ"),H=function(){return!0},x=function(){return!1},u=function(E){return E===" "||E===" "};function y(m,E,L){m.has(E)?m.get(E).push(L):m.set(E,[L])}var _=function(){function m(E,L,A){this._languageIdentifier=E;var k=A.options,R=k.get(107);this.readOnly=k.get(68),this.tabSize=L.tabSize,this.indentSize=L.indentSize,this.insertSpaces=L.insertSpaces,this.lineHeight=k.get(49),this.pageSize=Math.max(1,Math.floor(R.height/this.lineHeight)-2),this.useTabStops=k.get(95),this.wordSeparators=k.get(96),this.emptySelectionClipboard=k.get(25),this.copyWithSyntaxHighlighting=k.get(15),this.multiCursorMergeOverlapping=k.get(58),this.multiCursorPaste=k.get(60),this.autoClosingBrackets=k.get(5),this.autoClosingQuotes=k.get(7),this.autoClosingOvertype=k.get(6),this.autoSurround=k.get(10),this.autoIndent=k.get(8),this.autoClosingPairsOpen2=new Map,this.autoClosingPairsClose2=new Map,this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:m._getShouldAutoClose(E,this.autoClosingQuotes),bracket:m._getShouldAutoClose(E,this.autoClosingBrackets)};var $=m._getAutoClosingPairs(E);if($)for(var ie=0,W=$;ie=65536?2:1,W===9)$=m.nextRenderTabStop($,A);else{for(var B=re.s(W);ie=65536?2:1,B=Ce}re.y(W)||re.w(W)?$=$+2:$=$+1}}return $},m.visibleColumnFromColumn2=function(E,L,A){return this.visibleColumnFromColumn(L.getLineContent(A.lineNumber),A.column,E.tabSize)},m.columnFromVisibleColumn=function(E,L,A){if(L<=0)return 1;for(var k=E.length,R=0,$=1,ie=0;ie=65536?2:1;var B=void 0;if(W===9)B=m.nextRenderTabStop(R,A);else{for(var le=re.s(W);ie=65536?2:1,le=Me}re.y(W)||re.w(W)?B=R+2:B=R+1}var Te=ie+1;if(B>=L){var Fe=L-R,Ue=B-L;return Ueie?ie:R},m.nextRenderTabStop=function(E,L){return E+L-E%L},m.nextIndentTabStop=function(E,L){return E+L-E%L},m.prevRenderTabStop=function(E,L){return E-1-(E-1)%L},m.prevIndentTabStop=function(E,L){return E-1-(E-1)%L},m}();function d(m){return m==="'"||m==='"'||m==="`"}},"M/lh":function(Lt,j,e){self.MonacoEnvironment=function(T){function re(J){return J.replace(/\/$/,"")}return{getWorkerUrl:function(I,U){var z=e.p,O=(z?re(z)+"/":"")+T[U];if(/^(http:)|(https:)|(file:)/.test(O)){var H=String(window.location),x=H.substr(0,H.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(O.substring(0,x.length)!==x){var u="/*"+U+'*/importScripts("'+O+'");';return"data:text/javascript;charset=utf-8,"+encodeURIComponent(u)}}return O}}}({editorWorkerService:"editor.worker.js",css:"css.worker.js",html:"html.worker.js",json:"json.worker.js",typescript:"ts.worker.js",javascript:"ts.worker.js",less:"css.worker.js",scss:"css.worker.js",handlebars:"html.worker.js",razor:"html.worker.js"}),e("SBYE"),e("bk7F"),e("KTWA"),e("w29/"),e("CxEt"),e("d6R0"),e("kqbb"),e("n01l"),e("fD5p"),e("1YUG"),e("5RaG"),e("/RFl"),e("oQaD"),e("dgXF"),e("bfR1"),e("cIJc"),e("lY/7"),e("AhDq"),e("8Ydt"),e("H4T2"),e("rugR"),e("oiKk"),e("GvMn"),e("gJAb"),e("dH+W"),e("2ESN"),e("8XyJ"),e("WwIK"),e("v+CO"),e("WQDh"),e("4sI4"),e("Q631"),e("10Fh"),e("tXSY"),e("ep4t"),e("vVA1"),e("k7pc"),e("ba9Q"),e("XtJs"),e("s7Km"),e("LUcL"),Lt.exports=e("8z58"),e("CdFp"),e("23p7"),e("OOlL"),e("li8W"),e("kdPm"),e("ApJL"),e("jrbv"),e("gqHg"),e("p3Ex"),e("E+ie"),e("9B1q"),e("9XAT"),e("SvYn"),e("I/Lx"),e("LexI"),e("0oIH"),e("+a1H"),e("hFdI"),e("c2dO"),e("zQEy"),e("k7mE"),e("cldp"),e("p5tG"),e("Dvnd"),e("FvUK"),e("ZvGG"),e("QFiB"),e("ZkA/"),e("/cAr"),e("xYNL"),e("jVwG"),e("6lNC"),e("q8qy"),e("sStQ"),e("oKJv"),e("H6Gb"),e("y3CF"),e("JlLP"),e("j2o1"),e("woZy"),e("iLY9"),e("Msxo"),e("ajgA"),e("QiAa"),e("pI2L"),e("yKqg"),e("ij/i"),e("XQgg"),e("Gb1F"),e("xmOD"),e("c9ML"),e("Mzro"),e("GZrW"),e("1lwE"),e("w9QG"),e("ufhN"),e("LRks"),e("BUKB"),e("n18v"),e("EOst"),e("z3hU"),e("nrBJ"),e("BEdG"),e("E4kL")},M1Kb:function(Lt,j,e){"use strict";e.d(j,"d",function(){return T}),e.d(j,"c",function(){return re}),e.d(j,"e",function(){return J}),e.d(j,"b",function(){return I}),e.d(j,"a",function(){return U});var T;(function(z){z[z.Left=1]="Left",z[z.Center=2]="Center",z[z.Right=4]="Right",z[z.Full=7]="Full"})(T||(T={}));var re;(function(z){z[z.Inline=1]="Inline",z[z.Gutter=2]="Gutter"})(re||(re={}));var J=function(){function z(O){this.tabSize=Math.max(1,O.tabSize|0),this.indentSize=O.tabSize|0,this.insertSpaces=Boolean(O.insertSpaces),this.defaultEOL=O.defaultEOL|0,this.trimAutoWhitespace=Boolean(O.trimAutoWhitespace)}return z.prototype.equals=function(O){return this.tabSize===O.tabSize&&this.indentSize===O.indentSize&&this.insertSpaces===O.insertSpaces&&this.defaultEOL===O.defaultEOL&&this.trimAutoWhitespace===O.trimAutoWhitespace},z.prototype.createChangeEvent=function(O){return{tabSize:this.tabSize!==O.tabSize,indentSize:this.indentSize!==O.indentSize,insertSpaces:this.insertSpaces!==O.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==O.trimAutoWhitespace}},z}(),I=function(){function z(O,H){this.range=O,this.matches=H}return z}(),U=function(){function z(O,H,x){this.reverseEdits=O,this.changes=H,this.trimAutoWhitespaceLineNumbers=x}return z}()},MD5Z:function(Lt,j,e){"use strict";e.d(j,"a",function(){return O}),e.d(j,"Tb",function(){return u}),e.d(j,"W",function(){return y}),e.d(j,"U",function(){return _}),e.d(j,"V",function(){return f}),e.d(j,"e",function(){return v}),e.d(j,"b",function(){return w}),e.d(j,"ec",function(){return p}),e.d(j,"dc",function(){return c}),e.d(j,"hc",function(){return s}),e.d(j,"Z",function(){return l}),e.d(j,"bb",function(){return d}),e.d(j,"ab",function(){return m}),e.d(j,"Y",function(){return E}),e.d(j,"X",function(){return L}),e.d(j,"fb",function(){return A}),e.d(j,"hb",function(){return k}),e.d(j,"gb",function(){return R}),e.d(j,"ib",function(){return $}),e.d(j,"kb",function(){return ie}),e.d(j,"jb",function(){return W}),e.d(j,"cb",function(){return B}),e.d(j,"eb",function(){return le}),e.d(j,"db",function(){return Ce}),e.d(j,"Ob",function(){return Fe}),e.d(j,"Nb",function(){return Ue}),e.d(j,"c",function(){return Pe}),e.d(j,"d",function(){return ne}),e.d(j,"Vb",function(){return ee}),e.d(j,"Xb",function(){return ae}),e.d(j,"Yb",function(){return q}),e.d(j,"Wb",function(){return ue}),e.d(j,"Sb",function(){return X}),e.d(j,"q",function(){return he}),e.d(j,"p",function(){return je}),e.d(j,"P",function(){return Xe}),e.d(j,"O",function(){return me}),e.d(j,"H",function(){return ge}),e.d(j,"G",function(){return we}),e.d(j,"z",function(){return Re}),e.d(j,"y",function(){return Ee}),e.d(j,"o",function(){return ve}),e.d(j,"x",function(){return Q}),e.d(j,"Q",function(){return C}),e.d(j,"S",function(){return F}),e.d(j,"R",function(){return se}),e.d(j,"T",function(){return oe}),e.d(j,"K",function(){return be}),e.d(j,"L",function(){return De}),e.d(j,"F",function(){return Se}),e.d(j,"M",function(){return Ve}),e.d(j,"N",function(){return Qe}),e.d(j,"r",function(){return it}),e.d(j,"t",function(){return pt}),e.d(j,"v",function(){return Rt}),e.d(j,"s",function(){return Mt}),e.d(j,"u",function(){return zt}),e.d(j,"w",function(){return uo}),e.d(j,"D",function(){return ao}),e.d(j,"A",function(){return so}),e.d(j,"C",function(){return Pt}),e.d(j,"B",function(){return ft}),e.d(j,"E",function(){return vt}),e.d(j,"n",function(){return At}),e.d(j,"J",function(){return at}),e.d(j,"I",function(){return tt}),e.d(j,"g",function(){return ut}),e.d(j,"h",function(){return Ct}),e.d(j,"j",function(){return gt}),e.d(j,"l",function(){return bt}),e.d(j,"k",function(){return Gt}),e.d(j,"m",function(){return Nt}),e.d(j,"i",function(){return Et}),e.d(j,"rb",function(){return Je}),e.d(j,"sb",function(){return $e}),e.d(j,"lb",function(){return ze}),e.d(j,"mb",function(){return Ke}),e.d(j,"xb",function(){return fe}),e.d(j,"yb",function(){return G}),e.d(j,"wb",function(){return te}),e.d(j,"ub",function(){return Y}),e.d(j,"vb",function(){return de}),e.d(j,"nb",function(){return ke}),e.d(j,"tb",function(){return lt}),e.d(j,"ob",function(){return Tt}),e.d(j,"qb",function(){return Jt}),e.d(j,"pb",function(){return eo}),e.d(j,"gc",function(){return po}),e.d(j,"Ab",function(){return co}),e.d(j,"Bb",function(){return Eo}),e.d(j,"zb",function(){return Oo}),e.d(j,"Eb",function(){return Ao}),e.d(j,"Cb",function(){return Zo}),e.d(j,"Db",function(){return Co}),e.d(j,"Fb",function(){return Wo}),e.d(j,"bc",function(){return Go}),e.d(j,"cc",function(){return Bo}),e.d(j,"Zb",function(){return Mo}),e.d(j,"ac",function(){return Qo}),e.d(j,"Lb",function(){return fn}),e.d(j,"Mb",function(){return Vo}),e.d(j,"Hb",function(){return mn}),e.d(j,"Ib",function(){return yn}),e.d(j,"Gb",function(){return dn}),e.d(j,"Jb",function(){return rn}),e.d(j,"Pb",function(){return pn}),e.d(j,"Rb",function(){return zo}),e.d(j,"Qb",function(){return Ho}),e.d(j,"f",function(){return St}),e.d(j,"fc",function(){return nt}),e.d(j,"Kb",function(){return Dt}),e.d(j,"Ub",function(){return M});var T=e("ic2d"),re=e("zrhQ"),J=e("MI8n"),I=e("3/fG"),U=e("3Rsk"),z=e("X+cX"),O={ColorContribution:"base.contributions.colors"},H=function(){function xe(){this._onDidChangeSchema=new J.a,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}return xe.prototype.registerColor=function(Ne,dt,ht,xt,Bt){xt===void 0&&(xt=!1);var Ht={id:Ne,description:ht,defaults:dt,needsTransparency:xt,deprecationMessage:Bt};this.colorsById[Ne]=Ht;var Ut={type:"string",description:ht,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return Bt&&(Ut.deprecationMessage=Bt),this.colorSchema.properties[Ne]=Ut,this.colorReferenceSchema.enum.push(Ne),this.colorReferenceSchema.enumDescriptions.push(ht),this._onDidChangeSchema.fire(),Ne},xe.prototype.resolveDefaultColor=function(Ne,dt){var ht=this.colorsById[Ne];if(ht&&ht.defaults){var xt=ht.defaults[dt.type];return M(xt,dt)}return},xe.prototype.getColorSchema=function(){return this.colorSchema},xe.prototype.toString=function(){var Ne=this,dt=function(xt,Bt){var Ht=xt.indexOf(".")===-1?0:1,Ut=Bt.indexOf(".")===-1?0:1;return Ht!==Ut?Ht-Ut:xt.localeCompare(Bt)};return Object.keys(this.colorsById).sort(dt).map(function(ht){return"- `"+ht+"`: "+Ne.colorsById[ht].description}).join(` -`)},xe}(),x=new H;T.a.add(O.ColorContribution,x);function u(xe,Ne,dt,ht,xt){return x.registerColor(xe,Ne,dt,ht,xt)}var y=u("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},I.a("foreground","Overall foreground color. This color is only used if not overridden by a component.")),_=u("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},I.a("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),f=u("focusBorder",{dark:re.a.fromHex("#0E639C").transparent(.8),light:re.a.fromHex("#007ACC").transparent(.4),hc:"#F38518"},I.a("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),v=u("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},I.a("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),w=u("contrastActiveBorder",{light:null,dark:null,hc:f},I.a("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),p=u("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},I.a("textLinkForeground","Foreground color for links in text.")),c=u("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:re.a.black},I.a("textCodeBlockBackground","Background color for code blocks in text.")),s=u("widget.shadow",{dark:"#000000",light:"#A8A8A8",hc:null},I.a("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),l=u("input.background",{dark:"#3C3C3C",light:re.a.white,hc:re.a.black},I.a("inputBoxBackground","Input box background.")),d=u("input.foreground",{dark:y,light:y,hc:y},I.a("inputBoxForeground","Input box foreground.")),m=u("input.border",{dark:null,light:null,hc:v},I.a("inputBoxBorder","Input box border.")),E=u("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:v},I.a("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),L=u("inputOption.activeBackground",{dark:nt(f,.5),light:nt(f,.3),hc:null},I.a("inputOption.activeBackground","Background color of activated options in input fields.")),A=u("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:re.a.black},I.a("inputValidationInfoBackground","Input validation background color for information severity.")),k=u("inputValidation.infoForeground",{dark:null,light:null,hc:null},I.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),R=u("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:v},I.a("inputValidationInfoBorder","Input validation border color for information severity.")),$=u("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:re.a.black},I.a("inputValidationWarningBackground","Input validation background color for warning severity.")),ie=u("inputValidation.warningForeground",{dark:null,light:null,hc:null},I.a("inputValidationWarningForeground","Input validation foreground color for warning severity.")),W=u("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:v},I.a("inputValidationWarningBorder","Input validation border color for warning severity.")),B=u("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:re.a.black},I.a("inputValidationErrorBackground","Input validation background color for error severity.")),le=u("inputValidation.errorForeground",{dark:null,light:null,hc:null},I.a("inputValidationErrorForeground","Input validation foreground color for error severity.")),Ce=u("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:v},I.a("inputValidationErrorBorder","Input validation border color for error severity.")),Me=u("dropdown.background",{dark:"#3C3C3C",light:re.a.white,hc:re.a.black},I.a("dropdownBackground","Dropdown background.")),Te=u("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:re.a.white},I.a("dropdownForeground","Dropdown foreground.")),Fe=u("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:re.a.white},I.a("pickerGroupForeground","Quick picker color for grouping labels.")),Ue=u("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:re.a.white},I.a("pickerGroupBorder","Quick picker color for grouping borders.")),Pe=u("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:re.a.black},I.a("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),ne=u("badge.foreground",{dark:re.a.white,light:"#333",hc:re.a.white},I.a("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),ee=u("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},I.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),ae=u("scrollbarSlider.background",{dark:re.a.fromHex("#797979").transparent(.4),light:re.a.fromHex("#646464").transparent(.4),hc:nt(v,.6)},I.a("scrollbarSliderBackground","Scrollbar slider background color.")),q=u("scrollbarSlider.hoverBackground",{dark:re.a.fromHex("#646464").transparent(.7),light:re.a.fromHex("#646464").transparent(.7),hc:nt(v,.8)},I.a("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),ue=u("scrollbarSlider.activeBackground",{dark:re.a.fromHex("#BFBFBF").transparent(.4),light:re.a.fromHex("#000000").transparent(.6),hc:v},I.a("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),X=u("progressBar.background",{dark:re.a.fromHex("#0E70C0"),light:re.a.fromHex("#0E70C0"),hc:v},I.a("progressBarBackground","Background color of the progress bar that can show for long running operations.")),he=u("editorError.foreground",{dark:"#F48771",light:"#E51400",hc:null},I.a("editorError.foreground","Foreground color of error squigglies in the editor.")),je=u("editorError.border",{dark:null,light:null,hc:re.a.fromHex("#E47777").transparent(.8)},I.a("errorBorder","Border color of error boxes in the editor.")),Xe=u("editorWarning.foreground",{dark:"#CCA700",light:"#E9A700",hc:null},I.a("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),me=u("editorWarning.border",{dark:null,light:null,hc:re.a.fromHex("#FFCC00").transparent(.8)},I.a("warningBorder","Border color of warning boxes in the editor.")),ge=u("editorInfo.foreground",{dark:"#75BEFF",light:"#75BEFF",hc:null},I.a("editorInfo.foreground","Foreground color of info squigglies in the editor.")),we=u("editorInfo.border",{dark:null,light:null,hc:re.a.fromHex("#75BEFF").transparent(.8)},I.a("infoBorder","Border color of info boxes in the editor.")),Re=u("editorHint.foreground",{dark:re.a.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},I.a("editorHint.foreground","Foreground color of hint squigglies in the editor.")),Ee=u("editorHint.border",{dark:null,light:null,hc:re.a.fromHex("#eeeeee").transparent(.8)},I.a("hintBorder","Border color of hint boxes in the editor.")),ve=u("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:re.a.black},I.a("editorBackground","Editor background color.")),Q=u("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:re.a.white},I.a("editorForeground","Editor default foreground color.")),C=u("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},I.a("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),F=u("editorWidget.foreground",{dark:y,light:y,hc:y},I.a("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),se=u("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:v},I.a("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),oe=u("editorWidget.resizeBorder",{light:null,dark:null,hc:null},I.a("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),be=u("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},I.a("editorSelectionBackground","Color of the editor selection.")),De=u("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},I.a("editorSelectionForeground","Color of the selected text for high contrast.")),Se=u("editor.inactiveSelectionBackground",{light:nt(be,.5),dark:nt(be,.5),hc:nt(be,.5)},I.a("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),Ve=u("editor.selectionHighlightBackground",{light:_e(be,ve,.3,.6),dark:_e(be,ve,.3,.6),hc:null},I.a("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),Qe=u("editor.selectionHighlightBorder",{light:null,dark:null,hc:w},I.a("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),it=u("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},I.a("editorFindMatch","Color of the current search match.")),pt=u("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},I.a("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),Rt=u("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},I.a("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),Mt=u("editor.findMatchBorder",{light:null,dark:null,hc:w},I.a("editorFindMatchBorder","Border color of the current search match.")),zt=u("editor.findMatchHighlightBorder",{light:null,dark:null,hc:w},I.a("findMatchHighlightBorder","Border color of the other search matches.")),uo=u("editor.findRangeHighlightBorder",{dark:null,light:null,hc:nt(w,.4)},I.a("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),ao=u("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},I.a("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),so=u("editorHoverWidget.background",{light:C,dark:C,hc:C},I.a("hoverBackground","Background color of the editor hover.")),Pt=u("editorHoverWidget.foreground",{light:F,dark:F,hc:F},I.a("hoverForeground","Foreground color of the editor hover.")),ft=u("editorHoverWidget.border",{light:se,dark:se,hc:se},I.a("hoverBorder","Border color of the editor hover.")),vt=u("editorHoverWidget.statusBarBackground",{dark:ot(so,.2),light:St(so,.05),hc:C},I.a("statusBarBackground","Background color of the editor hover status bar.")),At=u("editorLink.activeForeground",{dark:"#4E94CE",light:re.a.blue,hc:re.a.cyan},I.a("activeLinkForeground","Color of active links.")),at=u("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},I.a("editorLightBulbForeground","The color used for the lightbulb actions icon.")),tt=u("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},I.a("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),ut=new re.a(new re.c(155,185,85,.2)),Ct=new re.a(new re.c(255,0,0,.2)),gt=u("diffEditor.insertedTextBackground",{dark:ut,light:ut,hc:null},I.a("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),bt=u("diffEditor.removedTextBackground",{dark:Ct,light:Ct,hc:null},I.a("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),Gt=u("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},I.a("diffEditorInsertedOutline","Outline color for the text that got inserted.")),Nt=u("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},I.a("diffEditorRemovedOutline","Outline color for text that got removed.")),Et=u("diffEditor.border",{dark:null,light:null,hc:v},I.a("diffEditorBorder","Border color between the two text editors.")),Je=u("list.focusBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},I.a("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),$e=u("list.focusForeground",{dark:null,light:null,hc:null},I.a("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),ze=u("list.activeSelectionBackground",{dark:"#094771",light:"#0074E8",hc:null},I.a("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ke=u("list.activeSelectionForeground",{dark:re.a.white,light:re.a.white,hc:null},I.a("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),fe=u("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},I.a("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),G=u("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},I.a("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),te=u("list.inactiveFocusBackground",{dark:null,light:null,hc:null},I.a("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Y=u("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},I.a("listHoverBackground","List/Tree background when hovering over items using the mouse.")),de=u("list.hoverForeground",{dark:null,light:null,hc:null},I.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),ke=u("list.dropBackground",{dark:Je,light:Je,hc:null},I.a("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),lt=u("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:f},I.a("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),Tt=u("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:re.a.black},I.a("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),Jt=u("listFilterWidget.outline",{dark:re.a.transparent,light:re.a.transparent,hc:"#f38518"},I.a("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),eo=u("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:v},I.a("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),po=u("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},I.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),co=u("menu.border",{dark:null,light:null,hc:v},I.a("menuBorder","Border color of menus.")),Eo=u("menu.foreground",{dark:Te,light:y,hc:Te},I.a("menuForeground","Foreground color of menu items.")),Oo=u("menu.background",{dark:Me,light:Me,hc:Me},I.a("menuBackground","Background color of menu items.")),Ao=u("menu.selectionForeground",{dark:Ke,light:Ke,hc:Ke},I.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),Zo=u("menu.selectionBackground",{dark:ze,light:ze,hc:ze},I.a("menuSelectionBackground","Background color of the selected menu item in menus.")),Co=u("menu.selectionBorder",{dark:null,light:null,hc:w},I.a("menuSelectionBorder","Border color of the selected menu item in menus.")),Wo=u("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:v},I.a("menuSeparatorBackground","Color of a separator menu item in menus.")),Go=u("editor.snippetTabstopHighlightBackground",{dark:new re.a(new re.c(124,124,124,.3)),light:new re.a(new re.c(10,50,100,.2)),hc:new re.a(new re.c(124,124,124,.3))},I.a("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),Bo=u("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},I.a("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),Mo=u("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},I.a("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),Qo=u("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new re.a(new re.c(10,50,100,.5)),hc:"#525252"},I.a("snippetFinalTabstopHighlightBorder","Highlight border color of the final stabstop of a snippet.")),fn=u("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},I.a("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),Vo=u("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},I.a("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),mn=u("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},I.a("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),yn=u("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},I.a("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),dn=u("minimap.errorHighlight",{dark:new re.a(new re.c(255,18,18,.7)),light:new re.a(new re.c(255,18,18,.7)),hc:new re.a(new re.c(255,50,50,1))},I.a("minimapError","Minimap marker color for errors.")),rn=u("minimap.warningHighlight",{dark:Xe,light:Xe,hc:me},I.a("overviewRuleWarning","Minimap marker color for warnings.")),pn=u("problemsErrorIcon.foreground",{dark:he,light:he,hc:he},I.a("problemsErrorIconForeground","The color used for the problems error icon.")),zo=u("problemsWarningIcon.foreground",{dark:Xe,light:Xe,hc:Xe},I.a("problemsWarningIconForeground","The color used for the problems warning icon.")),Ho=u("problemsInfoIcon.foreground",{dark:ge,light:ge,hc:ge},I.a("problemsInfoIconForeground","The color used for the problems info icon."));function St(xe,Ne){return function(dt){var ht=M(xe,dt);return ht?ht.darken(Ne):void 0}}function ot(xe,Ne){return function(dt){var ht=M(xe,dt);return ht?ht.lighten(Ne):void 0}}function nt(xe,Ne){return function(dt){var ht=M(xe,dt);return ht?ht.transparent(Ne):void 0}}function Dt(){for(var xe=[],Ne=0;Ne1)&&ue.fire(je),q=0},Fe)})},onLastListenerRemove:function(){ne.dispose()}});return ue.event}v.debounce=L;function A(Me){var Te=new Date().getTime();return p(w(Me),function(Fe){return new Date().getTime()-Te})}v.stopwatch=A;function k(Me){var Te=!0,Fe;return s(Me,function(Ue){var Pe=Te||Ue!==Fe;return Te=!1,Fe=Ue,Pe})}v.latch=k;function R(Me,Te,Fe){Te===void 0&&(Te=!1),Fe===void 0&&(Fe=[]);var Ue=Fe.slice(),Pe=Me(function(ae){Ue?Ue.push(ae):ee.fire(ae)}),ne=function(){Ue&&Ue.forEach(function(q){return ee.fire(q)}),Ue=null},ee=new x({onFirstListenerAdd:function(){Pe||(Pe=Me(function(q){return ee.fire(q)}))},onFirstListenerDidAdd:function(){Ue&&(Te?setTimeout(ne):ne())},onLastListenerRemove:function(){Pe&&Pe.dispose(),Pe=null}});return ee.event}v.buffer=R;var $=function(){function Me(Te){this.event=Te}return Me.prototype.map=function(Te){return new Me(p(this.event,Te))},Me.prototype.forEach=function(Te){return new Me(c(this.event,Te))},Me.prototype.filter=function(Te){return new Me(s(this.event,Te))},Me.prototype.reduce=function(Te,Fe){return new Me(m(this.event,Te,Fe))},Me.prototype.latch=function(){return new Me(k(this.event))},Me.prototype.debounce=function(Te,Fe,Ue,Pe){return Fe===void 0&&(Fe=100),Ue===void 0&&(Ue=!1),new Me(L(this.event,Te,Fe,Ue,Pe))},Me.prototype.on=function(Te,Fe,Ue){return this.event(Te,Fe,Ue)},Me.prototype.once=function(Te,Fe,Ue){return w(this.event)(Te,Fe,Ue)},Me}();function ie(Me){return new $(Me)}v.chain=ie;function W(Me,Te,Fe){Fe===void 0&&(Fe=function(q){return q});var Ue=function(){for(var q=[],ue=0;ue=0?l=l.setEndPosition(l.endLineNumber,Math.max(l.endColumn,Te+1)):l=l.setEndPosition(l.endLineNumber,c.getLineMaxColumn(l.endLineNumber)),s)return new J.e(l,Ce+p.normalizeIndentation(W.afterEnter),!0);var Fe=0;return le<=Te+1&&(p.insertSpaces||(B=Math.ceil(B/p.indentSize)),Fe=Math.min(B+1-p.normalizeIndentation(W.afterEnter).length-1,0)),new J.d(l,Ce+p.normalizeIndentation(W.afterEnter),0,Fe,!0)}}return w._typeCommand(l,` +`+p.normalizeIndentation(ie),s)},w._isAutoIndentType=function(p,c,s){if(p.autoIndent<4)return!1;for(var l=0,d=s.length;l2?k.charCodeAt(A.column-2):0;if(ie===92&&$)return!1;if(p.autoClosingOvertype==="auto"){for(var W=!1,B=0,le=l.length;B=0||s.indexOf(c)>=0},w._isBeforeClosingBrace=function(p,c,s){var l=p.autoClosingPairsClose2.get(s);if(!l)return!1;for(var d=w._autoClosingPairIsSymmetric(c),m=0,E=l;mm.open.length){for(var k=!0,R=0,$=s;R<$.length;R++){var ie=$[R],W=c.getValueInRange(new H.a(ie.lineNumber,ie.column-A.open.length+1,ie.lineNumber,ie.column));if(W+l!==A.open){k=!1;break}}k&&(m=A)}}return m},w._isAutoClosingOpenCharType=function(p,c,s,l,d){var m=Object(U.g)(l),E=m?p.autoClosingQuotes:p.autoClosingBrackets;if(E==="never")return null;var L=this._findAutoClosingPairOpen(p,c,s.map(function(Fe){return Fe.getPosition()}),l);if(!L)return null;for(var A=m?p.shouldAutoCloseBefore.quote:p.shouldAutoCloseBefore.bracket,k=0,R=s.length;kie.column-1){var B=W.charAt(ie.column-1),le=w._isBeforeClosingBrace(p,L,B);if(!le&&!A(B))return null}if(!c.isCheapToTokenize(ie.lineNumber))return null;if(L.open.length===1&&m&&E!=="always"){var Ce=Object(x.a)(p.wordSeparators);if(d&&ie.column>1&&Ce.get(W.charCodeAt(ie.column-2))===0)return null;if(!d&&ie.column>2&&Ce.get(W.charCodeAt(ie.column-3))===0)return null}c.forceTokenization(ie.lineNumber);var Me=c.getLineTokens(ie.lineNumber),Te=!1;try{Te=y.a.shouldAutoClosePair(L,Me,d?ie.column:ie.column-1)}catch(Fe){Object(T.e)(Fe)}if(!Te)return null}return L},w._runAutoClosingOpenCharType=function(p,c,s,l,d,m,E){for(var L=[],A=0,k=l.length;A=0;$--)(R=d[$])&&(k=(A<3?R(k):A>3?R(m,E,k):R(m,E))||k);return A>3&&k&&Object.defineProperty(m,E,k),k},p=function(d,m){return function(E,L){m(E,L,d)}},c=function(){function d(m,E){this.decorationIds=[],this.editor=m,this.editorWorkerService=E}return d.get=function(m){return m.getContribution(d.ID)},d.prototype.dispose=function(){},d.prototype.run=function(m,E){var L=this;this.currentRequest&&this.currentRequest.cancel();var A=this.editor.getSelection(),k=this.editor.getModel();if(!k||!A)return;var R=A;if(R.startLineNumber!==R.endLineNumber)return;var $=new U.a(this.editor,1|4),ie=k.uri;return this.editorWorkerService.canNavigateValueSet(ie)?(this.currentRequest=Object(_.f)(function(W){return L.editorWorkerService.navigateValueSet(ie,R,E)}),this.currentRequest.then(function(W){if(!W||!W.range||!W.value)return;if(!$.validate(L.editor))return;var B=re.a.lift(W.range),le=W.range,Ce=W.value.length-(R.endColumn-R.startColumn);le={startLineNumber:le.startLineNumber,startColumn:le.startColumn,endLineNumber:le.endLineNumber,endColumn:le.startColumn+W.value.length},Ce>1&&(R=new J.a(R.startLineNumber,R.startColumn,R.endLineNumber,R.endColumn+Ce-1));var Me=new O(B,R,W.value);L.editor.pushUndoStop(),L.editor.executeCommand(m,Me),L.editor.pushUndoStop(),L.decorationIds=L.editor.deltaDecorations(L.decorationIds,[{range:le,options:d.DECORATION}]),L.decorationRemover&&L.decorationRemover.cancel(),L.decorationRemover=Object(_.l)(350),L.decorationRemover.then(function(){return L.decorationIds=L.editor.deltaDecorations(L.decorationIds,[])}).catch(f.e)}).catch(f.e)):Promise.resolve(void 0)},d.ID="editor.contrib.inPlaceReplaceController",d.DECORATION=y.a.register({className:"valueSetReplacement"}),d=w([p(1,z.a)],d),d}(),s=function(d){v(m,d);function m(){return d.call(this,{id:"editor.action.inPlaceReplace.up",label:T.a("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:I.a.writable,kbOpts:{kbExpr:I.a.editorTextFocus,primary:2048|1024|82,weight:100}})||this}return m.prototype.run=function(E,L){var A=c.get(L);return A?A.run(this.id,!0):Promise.resolve(void 0)},m}(H.b),l=function(d){v(m,d);function m(){return d.call(this,{id:"editor.action.inPlaceReplace.down",label:T.a("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:I.a.writable,kbOpts:{kbExpr:I.a.editorTextFocus,primary:2048|1024|84,weight:100}})||this}return m.prototype.run=function(E,L){var A=c.get(L);return A?A.run(this.id,!1):Promise.resolve(void 0)},m}(H.b);Object(H.h)(c.ID,c),Object(H.f)(s),Object(H.f)(l),Object(x.e)(function(d,m){var E=d.getColor(u.d);E&&m.addRule(".monaco-editor.vs .valueSetReplacement { outline: solid 2px "+E+"; }")})},Gw4z:function(Lt,j,e){"use strict";e.d(j,"b",function(){return I}),e.d(j,"a",function(){return U});var T=function(){function x(u,y,_,f){this.originalStart=u,this.originalLength=y,this.modifiedStart=_,this.modifiedLength=f}return x.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},x.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},x}(),re=e("7afs"),J=function(){function x(u){this.source=u}return x.prototype.getElements=function(){for(var u=this.source,y=new Int32Array(u.length),_=0,f=u.length;_0||this.m_modifiedCount>0)&&this.m_changes.push(new T(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},x.prototype.AddOriginalElement=function(u,y){this.m_originalStart=Math.min(this.m_originalStart,u),this.m_modifiedStart=Math.min(this.m_modifiedStart,y),this.m_originalCount++},x.prototype.AddModifiedElement=function(u,y){this.m_originalStart=Math.min(this.m_originalStart,u),this.m_modifiedStart=Math.min(this.m_modifiedStart,y),this.m_modifiedCount++},x.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},x.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},x}(),U=function(){function x(u,y,_){_===void 0&&(_=null),this.ContinueProcessingPredicate=_;var f=x._getElements(u),v=f[0],w=f[1],p=f[2],c=x._getElements(y),s=c[0],l=c[1],d=c[2];this._hasStrings=p&&d,this._originalStringElements=v,this._originalElementsOrHash=w,this._modifiedStringElements=s,this._modifiedElementsOrHash=l,this.m_forwardHistory=[],this.m_reverseHistory=[]}return x._isStringArray=function(u){return u.length>0&&typeof u[0]=="string"},x._getElements=function(u){var y=u.getElements();if(x._isStringArray(y)){for(var _=new Int32Array(y.length),f=0,v=y.length;f=u&&f>=_&&this.ElementsAreEqual(y,f);)y--,f--;if(u>y||_>f){var w=void 0;return _<=f?(H.Assert(u===y+1,"originalStart should only be one more than originalEnd"),w=[new T(u,0,_,f-_+1)]):u<=y?(H.Assert(_===f+1,"modifiedStart should only be one more than modifiedEnd"),w=[new T(u,y-u+1,_,0)]):(H.Assert(u===y+1,"originalStart should only be one more than originalEnd"),H.Assert(_===f+1,"modifiedStart should only be one more than modifiedEnd"),w=[]),w}var p=[0],c=[0],s=this.ComputeRecursionPoint(u,y,_,f,p,c,v),l=p[0],d=c[0];if(s!==null)return s;if(!v[0]){var m=this.ComputeDiffRecursive(u,l,_,d,v),E=[];return v[0]?E=[new T(l+1,y-(l+1)+1,d+1,f-(d+1)+1)]:E=this.ComputeDiffRecursive(l+1,y,d+1,f,v),this.ConcatenateChanges(m,E)}return[new T(u,y-u+1,_,f-_+1)]},x.prototype.WALKTRACE=function(u,y,_,f,v,w,p,c,s,l,d,m,E,L,A,k,R,$){var ie=null,W=null,B=new O,le=y,Ce=_,Me=E[0]-k[0]-f,Te=-1073741824,Fe=this.m_forwardHistory.length-1;do{var He=Me+u;He===le||He=0&&(s=this.m_forwardHistory[Fe],u=s[0],le=1,Ce=s.length-1)}while(--Fe>=-1);if(ie=B.getReverseChanges(),$[0]){var Pe=E[0]+1,ne=k[0]+1;if(ie!==null&&ie.length>0){var ee=ie[ie.length-1];Pe=Math.max(Pe,ee.getOriginalEnd()),ne=Math.max(ne,ee.getModifiedEnd())}W=[new T(Pe,m-Pe+1,ne,A-ne+1)]}else{B=new O,le=w,Ce=p,Me=E[0]-k[0]-c,Te=1073741824,Fe=R?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var He=Me+v;He===le||He=l[He+1]?(d=l[He+1]-1,L=d-Me-c,d>Te&&B.MarkNextChange(),Te=d+1,B.AddOriginalElement(d+1,L+1),Me=He+1-v):(d=l[He-1],L=d-Me-c,d>Te&&B.MarkNextChange(),Te=d,B.AddModifiedElement(d+1,L+1),Me=He-1-v),Fe>=0&&(l=this.m_reverseHistory[Fe],v=l[0],le=1,Ce=l.length-1)}while(--Fe>=-1);W=B.getChanges()}return this.ConcatenateChanges(ie,W)},x.prototype.ComputeRecursionPoint=function(u,y,_,f,v,w,p){var c=0,s=0,l=0,d=0,m=0,E=0;u--,_--,v[0]=0,w[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var L=y-u+(f-_),A=L+1,k=new Int32Array(A),R=new Int32Array(A),$=f-_,ie=y-u,W=u-_,B=y-f,le=ie-$,Ce=le%2===0;k[$]=u,R[ie]=y,p[0]=!1;for(var Me=1;Me<=L/2+1;Me++){var Te=0,Fe=0;l=this.ClipDiagonalBound($-Me,Me,$,A),d=this.ClipDiagonalBound($+Me,Me,$,A);for(var He=l;He<=d;He+=2){He===l||HeTe+Fe&&(Te=c,Fe=s),!Ce&&Math.abs(He-ie)<=Me-1&&c>=R[He])return v[0]=c,w[0]=s,Pe<=R[He]&&1447>0&&Me<=1447+1?this.WALKTRACE($,l,d,W,ie,m,E,B,k,R,c,y,v,s,f,w,Ce,p):null}var ne=(Te-u+(Fe-_)-Me)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(Te,ne))return p[0]=!0,v[0]=Te,w[0]=Fe,ne>0&&1447>0&&Me<=1447+1?this.WALKTRACE($,l,d,W,ie,m,E,B,k,R,c,y,v,s,f,w,Ce,p):(u++,_++,[new T(u,y-u+1,_,f-_+1)]);m=this.ClipDiagonalBound(ie-Me,Me,ie,A),E=this.ClipDiagonalBound(ie+Me,Me,ie,A);for(var He=m;He<=E;He+=2){He===m||He=R[He+1]?c=R[He+1]-1:c=R[He-1],s=c-(He-ie)-B;for(var Pe=c;c>u&&s>_&&this.ElementsAreEqual(c,s);)c--,s--;if(R[He]=c,Ce&&Math.abs(He-$)<=Me&&c<=k[He])return v[0]=c,w[0]=s,Pe>=k[He]&&1447>0&&Me<=1447+1?this.WALKTRACE($,l,d,W,ie,m,E,B,k,R,c,y,v,s,f,w,Ce,p):null}if(Me<=1447){var ee=new Int32Array(d-l+2);ee[0]=$-l+1,z.Copy2(k,l,ee,1,d-l+1),this.m_forwardHistory.push(ee),ee=new Int32Array(E-m+2),ee[0]=ie-m+1,z.Copy2(R,m,ee,1,E-m+1),this.m_reverseHistory.push(ee)}}return this.WALKTRACE($,l,d,W,ie,m,E,B,k,R,c,y,v,s,f,w,Ce,p)},x.prototype.PrettifyChanges=function(u){for(var y=0;y0,p=_.modifiedLength>0;_.originalStart+_.originalLength=0;y--){var _=u[y],f=0,v=0;if(y>0){var s=u[y-1];s.originalLength>0&&(f=s.originalStart+s.originalLength),s.modifiedLength>0&&(v=s.modifiedStart+s.modifiedLength)}for(var w=_.originalLength>0,p=_.modifiedLength>0,l=0,d=this._boundaryScore(_.originalStart,_.originalLength,_.modifiedStart,_.modifiedLength),m=1;;m++){var E=_.originalStart-m,L=_.modifiedStart-m;if(Ed&&(d=A,l=m)}_.originalStart-=l,_.modifiedStart-=l}return u},x.prototype._OriginalIsBoundary=function(u){return u<=0||u>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[u])},x.prototype._OriginalRegionIsBoundary=function(u,y){if(this._OriginalIsBoundary(u)||this._OriginalIsBoundary(u-1))return!0;if(y>0){var _=u+y;if(this._OriginalIsBoundary(_-1)||this._OriginalIsBoundary(_))return!0}return!1},x.prototype._ModifiedIsBoundary=function(u){return u<=0||u>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[u])},x.prototype._ModifiedRegionIsBoundary=function(u,y){if(this._ModifiedIsBoundary(u)||this._ModifiedIsBoundary(u-1))return!0;if(y>0){var _=u+y;if(this._ModifiedIsBoundary(_-1)||this._ModifiedIsBoundary(_))return!0}return!1},x.prototype._boundaryScore=function(u,y,_,f){var v=this._OriginalRegionIsBoundary(u,y)?1:0,w=this._ModifiedRegionIsBoundary(_,f)?1:0;return v+w},x.prototype.ConcatenateChanges=function(u,y){var _=[];if(u.length===0||y.length===0)return y.length>0?y:u;if(this.ChangesOverlap(u[u.length-1],y[0],_)){var f=new Array(u.length+y.length-1);return z.Copy(u,0,f,0,u.length-1),f[u.length-1]=_[0],z.Copy(y,1,f,u.length,y.length-1),f}else{var f=new Array(u.length+y.length);return z.Copy(u,0,f,0,u.length),z.Copy(y,0,f,u.length,y.length),f}},x.prototype.ChangesOverlap=function(u,y,_){if(H.Assert(u.originalStart<=y.originalStart,"Left change is not less than or equal to right change"),H.Assert(u.modifiedStart<=y.modifiedStart,"Left change is not less than or equal to right change"),u.originalStart+u.originalLength>=y.originalStart||u.modifiedStart+u.modifiedLength>=y.modifiedStart){var f=u.originalStart,v=u.originalLength,w=u.modifiedStart,p=u.modifiedLength;return u.originalStart+u.originalLength>=y.originalStart&&(v=y.originalStart+y.originalLength-u.originalStart),u.modifiedStart+u.modifiedLength>=y.modifiedStart&&(p=y.modifiedStart+y.modifiedLength-u.modifiedStart),_[0]=new T(f,v,w,p),!0}else return _[0]=null,!1},x.prototype.ClipDiagonalBound=function(u,y,_,f){if(u>=0&&u=0;le--)(B=A[le])&&(W=(ie<3?B(W):ie>3?B(k,R,W):B(k,R))||W);return ie>3&&W&&Object.defineProperty(k,R,W),W},E=function(A,k){return function(R,$){k(R,$,A)}},L=function(){function A(k,R,$){var ie=this;this.textModelResolverService=R,this.modeService=$,this.toUnhook=new _.b,this.toUnhookForKeyboard=new _.b,this.linkDecorations=[],this.currentWordAtPosition=null,this.previousPromise=null,this.editor=k;var W=new s.a(k);this.toUnhook.add(W),this.toUnhook.add(W.onMouseMoveOrRelevantKeyDown(function(B){var le=B[0],Ce=B[1];ie.startFindDefinitionFromMouse(le,Object(d.n)(Ce))})),this.toUnhook.add(W.onExecute(function(B){ie.isEnabled(B)&&ie.gotoDefinition(B.target.position,B.hasSideBySideModifier).then(function(){ie.removeLinkDecorations()},function(le){ie.removeLinkDecorations(),Object(H.e)(le)})})),this.toUnhook.add(W.onCancel(function(){ie.removeLinkDecorations(),ie.currentWordAtPosition=null}))}return A.get=function(k){return k.getContribution(A.ID)},A.prototype.startFindDefinitionFromCursor=function(k){var R=this;return this.startFindDefinition(k).then(function(){R.toUnhookForKeyboard.add(R.editor.onDidChangeCursorPosition(function(){R.currentWordAtPosition=null,R.removeLinkDecorations(),R.toUnhookForKeyboard.clear()})),R.toUnhookForKeyboard.add(R.editor.onKeyDown(function($){$&&(R.currentWordAtPosition=null,R.removeLinkDecorations(),R.toUnhookForKeyboard.clear())}))})},A.prototype.startFindDefinitionFromMouse=function(k,R){if(k.target.type===9&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(k,R)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}var $=k.target.position;this.startFindDefinition($)},A.prototype.startFindDefinition=function(k){var R=this,$;this.toUnhookForKeyboard.clear();var ie=k?($=this.editor.getModel())===null||$===void 0?void 0:$.getWordAtPosition(k):null;if(!ie)return this.currentWordAtPosition=null,this.removeLinkDecorations(),Promise.resolve(0);if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===ie.startColumn&&this.currentWordAtPosition.endColumn===ie.endColumn&&this.currentWordAtPosition.word===ie.word)return Promise.resolve(0);this.currentWordAtPosition=ie;var W=new p.a(this.editor,4|1|2|8);return this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=Object(I.f)(function(B){return R.findDefinition(k,B)}),this.previousPromise.then(function(B){if(!B||!B.length||!W.validate(R.editor)){R.removeLinkDecorations();return}if(B.length>1)R.addDecoration(new U.a(k.lineNumber,ie.startColumn,k.lineNumber,ie.endColumn),new z.a().appendText(J.a("multipleResults","Click to show {0} definitions.",B.length)));else{var le=B[0];if(!le.uri)return;R.textModelResolverService.createModelReference(le.uri).then(function(Ce){if(!Ce.object||!Ce.object.textEditorModel){Ce.dispose();return}var Me=Ce.object.textEditorModel,Te=le.range.startLineNumber;if(Te<1||Te>Me.getLineCount()){Ce.dispose();return}var Fe=R.getPreviewValue(Me,Te,le),He;le.originSelectionRange?He=U.a.lift(le.originSelectionRange):He=new U.a(k.lineNumber,ie.startColumn,k.lineNumber,ie.endColumn);var Pe=R.modeService.getModeIdByFilepathOrFirstLine(Me.uri);R.addDecoration(He,new z.a().appendCodeblock(Pe||"",Fe)),Ce.dispose()})}}).then(void 0,H.e)},A.prototype.getPreviewValue=function(k,R,$){var ie=$.targetSelectionRange?$.range:this.getPreviewRangeBasedOnBrackets(k,R),W=ie.endLineNumber-ie.startLineNumber;W>=A.MAX_SOURCE_PREVIEW_LINES&&(ie=this.getPreviewRangeBasedOnIndentation(k,R));var B=this.stripIndentationFromPreviewRange(k,R,ie);return B},A.prototype.stripIndentationFromPreviewRange=function(k,R,$){for(var ie=k.getLineFirstNonWhitespaceColumn(R),W=ie,B=R+1;B<$.endLineNumber;B++){var le=k.getLineFirstNonWhitespaceColumn(B);W=Math.min(W,le)}var Ce=k.getValueInRange($).replace(new RegExp("^\\s{"+(W-1)+"}","gm"),"").trim();return Ce},A.prototype.getPreviewRangeBasedOnIndentation=function(k,R){for(var $=k.getLineFirstNonWhitespaceColumn(R),ie=Math.min(k.getLineCount(),R+A.MAX_SOURCE_PREVIEW_LINES),W=R+1;W$)return new U.a(R,1,$+1,1);B=k.findNextBracket(new l.a(Me,Te))}return new U.a(R,1,$+1,1)},A.prototype.addDecoration=function(k,R){var $={range:k,options:{inlineClassName:"goto-definition-link",hoverMessage:R}};this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[$])},A.prototype.removeLinkDecorations=function(){this.linkDecorations.length>0&&(this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[]))},A.prototype.isEnabled=function(k,R){return this.editor.hasModel()&&k.isNoneOrSingleMouseDown&&k.target.type===6&&(k.hasTriggerModifier||(R?R.keyCodeIsTriggerKey:!1))&&x.f.has(this.editor.getModel())},A.prototype.findDefinition=function(k,R){var $=this.editor.getModel();return $?Object(y.b)($,k,R):Promise.resolve(null)},A.prototype.gotoDefinition=function(k,R){var $=this;this.editor.setPosition(k);var ie=new c.DefinitionAction({openToSide:R,openInPeek:!1,muteMessage:!0},{alias:"",label:"",id:"",precondition:void 0});return this.editor.invokeWithinContext(function(W){return ie.run(W,$.editor)})},A.prototype.dispose=function(){this.toUnhook.dispose()},A.ID="editor.contrib.gotodefinitionatposition",A.MAX_SOURCE_PREVIEW_LINES=8,A=m([E(1,f.a),E(2,O.a)],A),A}();Object(u.h)(L.ID,L),Object(v.e)(function(A,k){var R=A.getColor(w.n);R&&k.addRule(".monaco-editor .goto-definition-link { color: "+R+" !important; }")})},H6Gb:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return e.e(302).then(e.bind(null,"lXEz"))}})},HdwC:function(Lt,j,e){"use strict";e.d(j,"b",function(){return v}),e.d(j,"a",function(){return p});var T=e("D3Dy"),re=e("MI8n"),J=e("pmY6"),I=e("MNsG"),H=function(){function c(s,l){this.chr=s,this.type=l,this.width=0}return c.prototype.fulfill=function(s){this.width=s},c}(),z=function(){function c(s,l){this._bareFontInfo=s,this._requests=l,this._container=null,this._testElements=null}return c.prototype.read=function(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null},c.prototype._createDomElements=function(){var s=document.createElement("div");s.style.position="absolute",s.style.top="-50000px",s.style.width="50000px";var l=document.createElement("div");l.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),l.style.fontWeight=this._bareFontInfo.fontWeight,l.style.fontSize=this._bareFontInfo.fontSize+"px",l.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,l.style.lineHeight=this._bareFontInfo.lineHeight+"px",l.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",s.appendChild(l);var d=document.createElement("div");d.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),d.style.fontWeight="bold",d.style.fontSize=this._bareFontInfo.fontSize+"px",d.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,d.style.lineHeight=this._bareFontInfo.lineHeight+"px",d.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",s.appendChild(d);var m=document.createElement("div");m.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),m.style.fontWeight=this._bareFontInfo.fontWeight,m.style.fontSize=this._bareFontInfo.fontSize+"px",m.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,m.style.lineHeight=this._bareFontInfo.lineHeight+"px",m.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",m.style.fontStyle="italic",s.appendChild(m);for(var E=[],L=0,A=this._requests;L.001){ee=!1;break}}var he=!0;ee&&He.width!==ae&&(he=!1),He.width>Fe.width&&(he=!1);var je=T.b()>2e3;return new y.b({zoomLevel:T.c(),fontFamily:l.fontFamily,fontWeight:l.fontWeight,fontSize:l.fontSize,fontFeatureSettings:l.fontFeatureSettings,lineHeight:l.lineHeight,letterSpacing:l.letterSpacing,isMonospace:ee,typicalHalfwidthCharacterWidth:E.width,typicalFullwidthCharacterWidth:L.width,canUseHalfwidthRightwardsArrow:he,spaceWidth:A.width,middotWidth:Pe.width,maxDigitWidth:ne},je)},s.INSTANCE=new s,s}(J.a),p=function(c){_(s,c);function s(l,d,m,E){m===void 0&&(m=null);var L=c.call(this,l,d)||this;return L.accessibilityService=E,L._elementSizeObserver=L._register(new U.a(m,d.dimension,function(){return L._onReferenceDomElementSizeChanged()})),L._register(w.INSTANCE.onDidChange(function(){return L._onCSSBasedConfigurationChanged()})),L._validatedOptions.get(9)&&L._elementSizeObserver.startObserving(),L._register(T.o(function(A){return L._recomputeOptions()})),L._register(L.accessibilityService.onDidChangeScreenReaderOptimized(function(){return L._recomputeOptions()})),L._recomputeOptions(),L}return s.applyFontInfoSlow=function(l,d){l.style.fontFamily=d.getMassagedFontFamily(),l.style.fontWeight=d.fontWeight,l.style.fontSize=d.fontSize+"px",l.style.fontFeatureSettings=d.fontFeatureSettings,l.style.lineHeight=d.lineHeight+"px",l.style.letterSpacing=d.letterSpacing+"px"},s.applyFontInfo=function(l,d){l.setFontFamily(d.getMassagedFontFamily()),l.setFontWeight(d.fontWeight),l.setFontSize(d.fontSize),l.setFontFeatureSettings(d.fontFeatureSettings),l.setLineHeight(d.lineHeight),l.setLetterSpacing(d.letterSpacing)},s.prototype._onReferenceDomElementSizeChanged=function(){this._recomputeOptions()},s.prototype._onCSSBasedConfigurationChanged=function(){this._recomputeOptions()},s.prototype.observeReferenceElement=function(l){this._elementSizeObserver.observe(l)},s.prototype.dispose=function(){c.prototype.dispose.call(this)},s.prototype._getExtraEditorClassName=function(){var l="";return!T.k&&!T.n&&(l+="no-user-select "),I.e&&(l+="mac "),l},s.prototype._getEnvConfiguration=function(){return{extraEditorClassName:this._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:T.m||T.h,pixelRatio:T.a(),zoomLevel:T.c(),accessibilitySupport:this.accessibilityService.isScreenReaderOptimized()?2:this.accessibilityService.getAccessibilitySupport()}},s.prototype.readConfiguration=function(l){return w.INSTANCE.readConfiguration(l)},s}(x.a)},HyZH:function(Lt,j,e){},"I/Lx":function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return e.e(283).then(e.bind(null,"yswY"))}})},"J+ZK":function(Lt,j,e){},"JQT/":function(Lt,j,e){"use strict";e.d(j,"a",function(){return J}),e.d(j,"b",function(){return H});var T=e("MI8n"),re=Object.freeze(function(z,O){var U=setTimeout(z.bind(O),0);return{dispose:function(){clearTimeout(U)}}}),J;(function(z){function O(U){return U===z.None||U===z.Cancelled||U instanceof I?!0:!U||typeof U!="object"?!1:typeof U.isCancellationRequested=="boolean"&&typeof U.onCancellationRequested=="function"}z.isCancellationToken=O,z.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:T.b.None}),z.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:re})})(J||(J={}));var I=function(){function z(){this._isCancelled=!1,this._emitter=null}return z.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(z.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(z.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?re:(this._emitter||(this._emitter=new T.a),this._emitter.event)},enumerable:!0,configurable:!0}),z.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},z}(),H=function(){function z(O){this._token=void 0,this._parentListener=void 0,this._parentListener=O&&O.onCancellationRequested(this.cancel,this)}return Object.defineProperty(z.prototype,"token",{get:function(){return this._token||(this._token=new I),this._token},enumerable:!0,configurable:!0}),z.prototype.cancel=function(){this._token?this._token instanceof I&&this._token.cancel():this._token=J.Cancelled},z.prototype.dispose=function(O){O===void 0&&(O=!1),O&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof I&&this._token.dispose():this._token=J.None},z}()},JYp7:function(Lt,j,e){"use strict";e.d(j,"c",function(){return re}),e.d(j,"d",function(){return J}),e.d(j,"f",function(){return H}),e.d(j,"a",function(){return z}),e.d(j,"b",function(){return O}),e.d(j,"e",function(){return U});var T=function(){var x=function(y,_){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,v){f.__proto__=v}||function(f,v){for(var w in v)v.hasOwnProperty(w)&&(f[w]=v[w])},x(y,_)};return function(u,y){x(u,y);function _(){this.constructor=u}u.prototype=y===null?Object.create(y):(_.prototype=y.prototype,new _)}}(),re={done:!0,value:void 0},J;(function(x){var u={next:function(){return re}};function y(){return u}x.empty=y;function _(E){var L=!1;return{next:function(){return L?re:(L=!0,{done:!1,value:E})}}}x.single=_;function f(E,L,A){return L===void 0&&(L=0),A===void 0&&(A=E.length),{next:function(){return L>=A?re:{done:!1,value:E[L++]}}}}x.fromArray=f;function v(E){return{next:function(){var A=E.next();return A.done?re:{done:!1,value:A.value}}}}x.fromNativeIterator=v;function w(E){return E?Array.isArray(E)?x.fromArray(E):E:x.empty()}x.from=w;function p(E,L){return{next:function(){var k=E.next();return k.done?re:{done:!1,value:L(k.value)}}}}x.map=p;function c(E,L){return{next:function(){for(;;){var k=E.next();if(k.done)return re;if(L(k.value))return{done:!1,value:k.value}}}}}x.filter=c;function s(E,L){for(var A=E.next();!A.done;A=E.next())L(A.value)}x.forEach=s;function l(E,L){L===void 0&&(L=Number.POSITIVE_INFINITY);var A=[];if(L===0)return A;for(var k=0,R=E.next();!R.done&&!(A.push(R.value),++k>=L);R=E.next());return A}x.collect=l;function d(){for(var E=[],L=0;L=E.length)return re;var R=E[A],$=R.next();return $.done?(A++,this.next()):$}}}x.concat=d;function m(E){return new I(E)}x.chain=m})(J||(J={}));var I=function(){function x(u){this.it=u}return x.prototype.next=function(){return this.it.next()},x}();function H(x){return Array.isArray(x)?J.fromArray(x):x||J.empty()}var z=function(){function x(u,y,_,f){y===void 0&&(y=0),_===void 0&&(_=u.length),f===void 0&&(f=y-1),this.items=u,this.start=y,this.end=_,this.index=f}return x.prototype.first=function(){return this.index=this.start,this.current()},x.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},x.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},x}(),O=function(x){T(u,x);function u(y,_,f,v){return _===void 0&&(_=0),f===void 0&&(f=y.length),v===void 0&&(v=_-1),x.call(this,y,_,f,v)||this}return u.prototype.current=function(){return x.prototype.current.call(this)},u.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},u.prototype.first=function(){return this.index=this.start,this.current()},u.prototype.last=function(){return this.index=this.end-1,this.current()},u.prototype.parent=function(){return null},u}(z),U=function(){function x(u,y){this.iterator=u,this.fn=y}return x.prototype.next=function(){return this.fn(this.iterator.next())},x}()},JlLP:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return e.e(304).then(e.bind(null,"W1QP"))}})},KDc4:function(Lt,j,e){"use strict";e.d(j,"a",function(){return T}),e.d(j,"b",function(){return re});var T;(function(J){J[J.None=0]="None",J[J.Indent=1]="Indent",J[J.IndentOutdent=2]="IndentOutdent",J[J.Outdent=3]="Outdent"})(T||(T={}));var re=function(){function J(I){if(this.open=I.open,this.close=I.close,this._standardTokenMask=0,Array.isArray(I.notIn))for(var H=0,z=I.notIn.length;H=0&&this.prefixSum.set(U.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},I.prototype.changeValue=function(H,z){return H=Object(T.a)(H),z=Object(T.a)(z),this.values[H]===z?!1:(this.values[H]=z,H-1=O.length)return!1;var x=O.length-H;return z>=x&&(z=x),z===0?!1:(this.values=new Uint32Array(O.length-z),this.values.set(O.subarray(0,H),0),this.values.set(O.subarray(H+z),H),this.prefixSum=new Uint32Array(this.values.length),H-1=0&&this.prefixSum.set(U.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},I.prototype.getTotalValue=function(){return this.values.length===0?0:this._getAccumulatedValue(this.values.length-1)},I.prototype.getAccumulatedValue=function(H){return H<0?0:(H=Object(T.a)(H),this._getAccumulatedValue(H))},I.prototype._getAccumulatedValue=function(H){if(H<=this.prefixSumValidIndex[0])return this.prefixSum[H];var z=this.prefixSumValidIndex[0]+1;z===0&&(this.prefixSum[0]=this.values[0],z++),H>=this.values.length&&(H=this.values.length-1);for(var O=z;O<=H;O++)this.prefixSum[O]=this.prefixSum[O-1]+this.values[O];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],H),this.prefixSum[H]},I.prototype.getIndexOf=function(H){H=Math.floor(H),this.getTotalValue();for(var z=0,O=this.values.length-1,U=0,x=0,u=0;z<=O;)if(U=z+(O-z)/2|0,x=this.prefixSum[U],u=x-this.values[U],H=x)z=U+1;else break;return new re(U,H-u)},I}()},LexI:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return e.e(284).then(e.bind(null,"lHAa"))}})},Ll0s:function(Lt,j,e){"use strict";e.d(j,"b",function(){return _}),e.d(j,"f",function(){return f}),e.d(j,"c",function(){return v}),e.d(j,"d",function(){return c}),e.d(j,"e",function(){return s}),e.d(j,"a",function(){return l}),e.d(j,"g",function(){return d});var T=e("/cxE"),re=e("N0LK"),J=e("cGHE"),I=e("aokT"),H=e("gCVg"),z=e("tX9W"),O=e("cMvZ"),U=function(){return!0},x=function(){return!1},u=function(E){return E===" "||E===" "};function y(m,E,L){m.has(E)?m.get(E).push(L):m.set(E,[L])}var _=function(){function m(E,L,A){this._languageIdentifier=E;var k=A.options,R=k.get(107);this.readOnly=k.get(68),this.tabSize=L.tabSize,this.indentSize=L.indentSize,this.insertSpaces=L.insertSpaces,this.lineHeight=k.get(49),this.pageSize=Math.max(1,Math.floor(R.height/this.lineHeight)-2),this.useTabStops=k.get(95),this.wordSeparators=k.get(96),this.emptySelectionClipboard=k.get(25),this.copyWithSyntaxHighlighting=k.get(15),this.multiCursorMergeOverlapping=k.get(58),this.multiCursorPaste=k.get(60),this.autoClosingBrackets=k.get(5),this.autoClosingQuotes=k.get(7),this.autoClosingOvertype=k.get(6),this.autoSurround=k.get(10),this.autoIndent=k.get(8),this.autoClosingPairsOpen2=new Map,this.autoClosingPairsClose2=new Map,this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:m._getShouldAutoClose(E,this.autoClosingQuotes),bracket:m._getShouldAutoClose(E,this.autoClosingBrackets)};var $=m._getAutoClosingPairs(E);if($)for(var ie=0,W=$;ie=65536?2:1,W===9)$=m.nextRenderTabStop($,A);else{for(var B=re.s(W);ie=65536?2:1,B=Ce}re.y(W)||re.w(W)?$=$+2:$=$+1}}return $},m.visibleColumnFromColumn2=function(E,L,A){return this.visibleColumnFromColumn(L.getLineContent(A.lineNumber),A.column,E.tabSize)},m.columnFromVisibleColumn=function(E,L,A){if(L<=0)return 1;for(var k=E.length,R=0,$=1,ie=0;ie=65536?2:1;var B=void 0;if(W===9)B=m.nextRenderTabStop(R,A);else{for(var le=re.s(W);ie=65536?2:1,le=Me}re.y(W)||re.w(W)?B=R+2:B=R+1}var Te=ie+1;if(B>=L){var Fe=L-R,He=B-L;return Heie?ie:R},m.nextRenderTabStop=function(E,L){return E+L-E%L},m.nextIndentTabStop=function(E,L){return E+L-E%L},m.prevRenderTabStop=function(E,L){return E-1-(E-1)%L},m.prevIndentTabStop=function(E,L){return E-1-(E-1)%L},m}();function d(m){return m==="'"||m==='"'||m==="`"}},"M/lh":function(Lt,j,e){self.MonacoEnvironment=function(T){function re(J){return J.replace(/\/$/,"")}return{getWorkerUrl:function(I,H){var z=e.p,O=(z?re(z)+"/":"")+T[H];if(/^(http:)|(https:)|(file:)/.test(O)){var U=String(window.location),x=U.substr(0,U.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(O.substring(0,x.length)!==x){var u="/*"+H+'*/importScripts("'+O+'");';return"data:text/javascript;charset=utf-8,"+encodeURIComponent(u)}}return O}}}({editorWorkerService:"editor.worker.js",css:"css.worker.js",html:"html.worker.js",json:"json.worker.js",typescript:"ts.worker.js",javascript:"ts.worker.js",less:"css.worker.js",scss:"css.worker.js",handlebars:"html.worker.js",razor:"html.worker.js"}),e("SBYE"),e("bk7F"),e("KTWA"),e("w29/"),e("CxEt"),e("d6R0"),e("kqbb"),e("n01l"),e("fD5p"),e("1YUG"),e("5RaG"),e("/RFl"),e("oQaD"),e("dgXF"),e("bfR1"),e("cIJc"),e("lY/7"),e("AhDq"),e("8Ydt"),e("H4T2"),e("rugR"),e("oiKk"),e("GvMn"),e("gJAb"),e("dH+W"),e("2ESN"),e("8XyJ"),e("WwIK"),e("v+CO"),e("WQDh"),e("4sI4"),e("Q631"),e("10Fh"),e("tXSY"),e("ep4t"),e("vVA1"),e("k7pc"),e("ba9Q"),e("XtJs"),e("s7Km"),e("LUcL"),Lt.exports=e("8z58"),e("CdFp"),e("23p7"),e("OOlL"),e("li8W"),e("kdPm"),e("ApJL"),e("jrbv"),e("gqHg"),e("p3Ex"),e("E+ie"),e("9B1q"),e("9XAT"),e("SvYn"),e("I/Lx"),e("LexI"),e("0oIH"),e("+a1H"),e("hFdI"),e("c2dO"),e("zQEy"),e("k7mE"),e("cldp"),e("p5tG"),e("Dvnd"),e("FvUK"),e("ZvGG"),e("QFiB"),e("ZkA/"),e("/cAr"),e("xYNL"),e("jVwG"),e("6lNC"),e("q8qy"),e("sStQ"),e("oKJv"),e("H6Gb"),e("y3CF"),e("JlLP"),e("j2o1"),e("woZy"),e("iLY9"),e("Msxo"),e("ajgA"),e("QiAa"),e("pI2L"),e("yKqg"),e("ij/i"),e("XQgg"),e("Gb1F"),e("xmOD"),e("c9ML"),e("Mzro"),e("GZrW"),e("1lwE"),e("w9QG"),e("ufhN"),e("LRks"),e("BUKB"),e("n18v"),e("EOst"),e("z3hU"),e("nrBJ"),e("BEdG"),e("E4kL")},M1Kb:function(Lt,j,e){"use strict";e.d(j,"d",function(){return T}),e.d(j,"c",function(){return re}),e.d(j,"e",function(){return J}),e.d(j,"b",function(){return I}),e.d(j,"a",function(){return H});var T;(function(z){z[z.Left=1]="Left",z[z.Center=2]="Center",z[z.Right=4]="Right",z[z.Full=7]="Full"})(T||(T={}));var re;(function(z){z[z.Inline=1]="Inline",z[z.Gutter=2]="Gutter"})(re||(re={}));var J=function(){function z(O){this.tabSize=Math.max(1,O.tabSize|0),this.indentSize=O.tabSize|0,this.insertSpaces=Boolean(O.insertSpaces),this.defaultEOL=O.defaultEOL|0,this.trimAutoWhitespace=Boolean(O.trimAutoWhitespace)}return z.prototype.equals=function(O){return this.tabSize===O.tabSize&&this.indentSize===O.indentSize&&this.insertSpaces===O.insertSpaces&&this.defaultEOL===O.defaultEOL&&this.trimAutoWhitespace===O.trimAutoWhitespace},z.prototype.createChangeEvent=function(O){return{tabSize:this.tabSize!==O.tabSize,indentSize:this.indentSize!==O.indentSize,insertSpaces:this.insertSpaces!==O.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==O.trimAutoWhitespace}},z}(),I=function(){function z(O,U){this.range=O,this.matches=U}return z}(),H=function(){function z(O,U,x){this.reverseEdits=O,this.changes=U,this.trimAutoWhitespaceLineNumbers=x}return z}()},MD5Z:function(Lt,j,e){"use strict";e.d(j,"a",function(){return O}),e.d(j,"Tb",function(){return u}),e.d(j,"W",function(){return y}),e.d(j,"U",function(){return _}),e.d(j,"V",function(){return f}),e.d(j,"e",function(){return v}),e.d(j,"b",function(){return w}),e.d(j,"ec",function(){return p}),e.d(j,"dc",function(){return c}),e.d(j,"hc",function(){return s}),e.d(j,"Z",function(){return l}),e.d(j,"bb",function(){return d}),e.d(j,"ab",function(){return m}),e.d(j,"Y",function(){return E}),e.d(j,"X",function(){return L}),e.d(j,"fb",function(){return A}),e.d(j,"hb",function(){return k}),e.d(j,"gb",function(){return R}),e.d(j,"ib",function(){return $}),e.d(j,"kb",function(){return ie}),e.d(j,"jb",function(){return W}),e.d(j,"cb",function(){return B}),e.d(j,"eb",function(){return le}),e.d(j,"db",function(){return Ce}),e.d(j,"Ob",function(){return Fe}),e.d(j,"Nb",function(){return He}),e.d(j,"c",function(){return Pe}),e.d(j,"d",function(){return ne}),e.d(j,"Vb",function(){return ee}),e.d(j,"Xb",function(){return ae}),e.d(j,"Yb",function(){return q}),e.d(j,"Wb",function(){return ue}),e.d(j,"Sb",function(){return X}),e.d(j,"q",function(){return he}),e.d(j,"p",function(){return je}),e.d(j,"P",function(){return Xe}),e.d(j,"O",function(){return me}),e.d(j,"H",function(){return ge}),e.d(j,"G",function(){return we}),e.d(j,"z",function(){return Re}),e.d(j,"y",function(){return Ee}),e.d(j,"o",function(){return ve}),e.d(j,"x",function(){return Q}),e.d(j,"Q",function(){return C}),e.d(j,"S",function(){return F}),e.d(j,"R",function(){return se}),e.d(j,"T",function(){return oe}),e.d(j,"K",function(){return be}),e.d(j,"L",function(){return De}),e.d(j,"F",function(){return Se}),e.d(j,"M",function(){return Ve}),e.d(j,"N",function(){return Qe}),e.d(j,"r",function(){return it}),e.d(j,"t",function(){return pt}),e.d(j,"v",function(){return Rt}),e.d(j,"s",function(){return Mt}),e.d(j,"u",function(){return zt}),e.d(j,"w",function(){return uo}),e.d(j,"D",function(){return ao}),e.d(j,"A",function(){return so}),e.d(j,"C",function(){return Pt}),e.d(j,"B",function(){return ft}),e.d(j,"E",function(){return vt}),e.d(j,"n",function(){return At}),e.d(j,"J",function(){return at}),e.d(j,"I",function(){return tt}),e.d(j,"g",function(){return ut}),e.d(j,"h",function(){return Ct}),e.d(j,"j",function(){return gt}),e.d(j,"l",function(){return bt}),e.d(j,"k",function(){return Gt}),e.d(j,"m",function(){return Nt}),e.d(j,"i",function(){return Et}),e.d(j,"rb",function(){return Je}),e.d(j,"sb",function(){return $e}),e.d(j,"lb",function(){return ze}),e.d(j,"mb",function(){return Ke}),e.d(j,"xb",function(){return fe}),e.d(j,"yb",function(){return G}),e.d(j,"wb",function(){return te}),e.d(j,"ub",function(){return Y}),e.d(j,"vb",function(){return de}),e.d(j,"nb",function(){return ke}),e.d(j,"tb",function(){return lt}),e.d(j,"ob",function(){return Tt}),e.d(j,"qb",function(){return Jt}),e.d(j,"pb",function(){return eo}),e.d(j,"gc",function(){return po}),e.d(j,"Ab",function(){return co}),e.d(j,"Bb",function(){return Eo}),e.d(j,"zb",function(){return Oo}),e.d(j,"Eb",function(){return Ao}),e.d(j,"Cb",function(){return Zo}),e.d(j,"Db",function(){return Co}),e.d(j,"Fb",function(){return Wo}),e.d(j,"bc",function(){return Go}),e.d(j,"cc",function(){return Bo}),e.d(j,"Zb",function(){return Mo}),e.d(j,"ac",function(){return Qo}),e.d(j,"Lb",function(){return fn}),e.d(j,"Mb",function(){return Vo}),e.d(j,"Hb",function(){return mn}),e.d(j,"Ib",function(){return yn}),e.d(j,"Gb",function(){return dn}),e.d(j,"Jb",function(){return rn}),e.d(j,"Pb",function(){return pn}),e.d(j,"Rb",function(){return zo}),e.d(j,"Qb",function(){return Uo}),e.d(j,"f",function(){return St}),e.d(j,"fc",function(){return nt}),e.d(j,"Kb",function(){return Dt}),e.d(j,"Ub",function(){return M});var T=e("ic2d"),re=e("zrhQ"),J=e("MI8n"),I=e("3/fG"),H=e("3Rsk"),z=e("X+cX"),O={ColorContribution:"base.contributions.colors"},U=function(){function xe(){this._onDidChangeSchema=new J.a,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}return xe.prototype.registerColor=function(Ne,dt,ht,xt,Bt){xt===void 0&&(xt=!1);var Ut={id:Ne,description:ht,defaults:dt,needsTransparency:xt,deprecationMessage:Bt};this.colorsById[Ne]=Ut;var Ht={type:"string",description:ht,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return Bt&&(Ht.deprecationMessage=Bt),this.colorSchema.properties[Ne]=Ht,this.colorReferenceSchema.enum.push(Ne),this.colorReferenceSchema.enumDescriptions.push(ht),this._onDidChangeSchema.fire(),Ne},xe.prototype.resolveDefaultColor=function(Ne,dt){var ht=this.colorsById[Ne];if(ht&&ht.defaults){var xt=ht.defaults[dt.type];return M(xt,dt)}return},xe.prototype.getColorSchema=function(){return this.colorSchema},xe.prototype.toString=function(){var Ne=this,dt=function(xt,Bt){var Ut=xt.indexOf(".")===-1?0:1,Ht=Bt.indexOf(".")===-1?0:1;return Ut!==Ht?Ut-Ht:xt.localeCompare(Bt)};return Object.keys(this.colorsById).sort(dt).map(function(ht){return"- `"+ht+"`: "+Ne.colorsById[ht].description}).join(` +`)},xe}(),x=new U;T.a.add(O.ColorContribution,x);function u(xe,Ne,dt,ht,xt){return x.registerColor(xe,Ne,dt,ht,xt)}var y=u("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},I.a("foreground","Overall foreground color. This color is only used if not overridden by a component.")),_=u("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},I.a("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),f=u("focusBorder",{dark:re.a.fromHex("#0E639C").transparent(.8),light:re.a.fromHex("#007ACC").transparent(.4),hc:"#F38518"},I.a("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),v=u("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},I.a("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),w=u("contrastActiveBorder",{light:null,dark:null,hc:f},I.a("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),p=u("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},I.a("textLinkForeground","Foreground color for links in text.")),c=u("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:re.a.black},I.a("textCodeBlockBackground","Background color for code blocks in text.")),s=u("widget.shadow",{dark:"#000000",light:"#A8A8A8",hc:null},I.a("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),l=u("input.background",{dark:"#3C3C3C",light:re.a.white,hc:re.a.black},I.a("inputBoxBackground","Input box background.")),d=u("input.foreground",{dark:y,light:y,hc:y},I.a("inputBoxForeground","Input box foreground.")),m=u("input.border",{dark:null,light:null,hc:v},I.a("inputBoxBorder","Input box border.")),E=u("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:v},I.a("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),L=u("inputOption.activeBackground",{dark:nt(f,.5),light:nt(f,.3),hc:null},I.a("inputOption.activeBackground","Background color of activated options in input fields.")),A=u("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:re.a.black},I.a("inputValidationInfoBackground","Input validation background color for information severity.")),k=u("inputValidation.infoForeground",{dark:null,light:null,hc:null},I.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),R=u("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:v},I.a("inputValidationInfoBorder","Input validation border color for information severity.")),$=u("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:re.a.black},I.a("inputValidationWarningBackground","Input validation background color for warning severity.")),ie=u("inputValidation.warningForeground",{dark:null,light:null,hc:null},I.a("inputValidationWarningForeground","Input validation foreground color for warning severity.")),W=u("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:v},I.a("inputValidationWarningBorder","Input validation border color for warning severity.")),B=u("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:re.a.black},I.a("inputValidationErrorBackground","Input validation background color for error severity.")),le=u("inputValidation.errorForeground",{dark:null,light:null,hc:null},I.a("inputValidationErrorForeground","Input validation foreground color for error severity.")),Ce=u("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:v},I.a("inputValidationErrorBorder","Input validation border color for error severity.")),Me=u("dropdown.background",{dark:"#3C3C3C",light:re.a.white,hc:re.a.black},I.a("dropdownBackground","Dropdown background.")),Te=u("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:re.a.white},I.a("dropdownForeground","Dropdown foreground.")),Fe=u("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:re.a.white},I.a("pickerGroupForeground","Quick picker color for grouping labels.")),He=u("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:re.a.white},I.a("pickerGroupBorder","Quick picker color for grouping borders.")),Pe=u("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:re.a.black},I.a("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),ne=u("badge.foreground",{dark:re.a.white,light:"#333",hc:re.a.white},I.a("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),ee=u("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},I.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),ae=u("scrollbarSlider.background",{dark:re.a.fromHex("#797979").transparent(.4),light:re.a.fromHex("#646464").transparent(.4),hc:nt(v,.6)},I.a("scrollbarSliderBackground","Scrollbar slider background color.")),q=u("scrollbarSlider.hoverBackground",{dark:re.a.fromHex("#646464").transparent(.7),light:re.a.fromHex("#646464").transparent(.7),hc:nt(v,.8)},I.a("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),ue=u("scrollbarSlider.activeBackground",{dark:re.a.fromHex("#BFBFBF").transparent(.4),light:re.a.fromHex("#000000").transparent(.6),hc:v},I.a("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),X=u("progressBar.background",{dark:re.a.fromHex("#0E70C0"),light:re.a.fromHex("#0E70C0"),hc:v},I.a("progressBarBackground","Background color of the progress bar that can show for long running operations.")),he=u("editorError.foreground",{dark:"#F48771",light:"#E51400",hc:null},I.a("editorError.foreground","Foreground color of error squigglies in the editor.")),je=u("editorError.border",{dark:null,light:null,hc:re.a.fromHex("#E47777").transparent(.8)},I.a("errorBorder","Border color of error boxes in the editor.")),Xe=u("editorWarning.foreground",{dark:"#CCA700",light:"#E9A700",hc:null},I.a("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),me=u("editorWarning.border",{dark:null,light:null,hc:re.a.fromHex("#FFCC00").transparent(.8)},I.a("warningBorder","Border color of warning boxes in the editor.")),ge=u("editorInfo.foreground",{dark:"#75BEFF",light:"#75BEFF",hc:null},I.a("editorInfo.foreground","Foreground color of info squigglies in the editor.")),we=u("editorInfo.border",{dark:null,light:null,hc:re.a.fromHex("#75BEFF").transparent(.8)},I.a("infoBorder","Border color of info boxes in the editor.")),Re=u("editorHint.foreground",{dark:re.a.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},I.a("editorHint.foreground","Foreground color of hint squigglies in the editor.")),Ee=u("editorHint.border",{dark:null,light:null,hc:re.a.fromHex("#eeeeee").transparent(.8)},I.a("hintBorder","Border color of hint boxes in the editor.")),ve=u("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:re.a.black},I.a("editorBackground","Editor background color.")),Q=u("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:re.a.white},I.a("editorForeground","Editor default foreground color.")),C=u("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},I.a("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),F=u("editorWidget.foreground",{dark:y,light:y,hc:y},I.a("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),se=u("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:v},I.a("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),oe=u("editorWidget.resizeBorder",{light:null,dark:null,hc:null},I.a("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),be=u("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},I.a("editorSelectionBackground","Color of the editor selection.")),De=u("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},I.a("editorSelectionForeground","Color of the selected text for high contrast.")),Se=u("editor.inactiveSelectionBackground",{light:nt(be,.5),dark:nt(be,.5),hc:nt(be,.5)},I.a("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),Ve=u("editor.selectionHighlightBackground",{light:_e(be,ve,.3,.6),dark:_e(be,ve,.3,.6),hc:null},I.a("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),Qe=u("editor.selectionHighlightBorder",{light:null,dark:null,hc:w},I.a("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),it=u("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},I.a("editorFindMatch","Color of the current search match.")),pt=u("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},I.a("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),Rt=u("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},I.a("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),Mt=u("editor.findMatchBorder",{light:null,dark:null,hc:w},I.a("editorFindMatchBorder","Border color of the current search match.")),zt=u("editor.findMatchHighlightBorder",{light:null,dark:null,hc:w},I.a("findMatchHighlightBorder","Border color of the other search matches.")),uo=u("editor.findRangeHighlightBorder",{dark:null,light:null,hc:nt(w,.4)},I.a("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),ao=u("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},I.a("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),so=u("editorHoverWidget.background",{light:C,dark:C,hc:C},I.a("hoverBackground","Background color of the editor hover.")),Pt=u("editorHoverWidget.foreground",{light:F,dark:F,hc:F},I.a("hoverForeground","Foreground color of the editor hover.")),ft=u("editorHoverWidget.border",{light:se,dark:se,hc:se},I.a("hoverBorder","Border color of the editor hover.")),vt=u("editorHoverWidget.statusBarBackground",{dark:ot(so,.2),light:St(so,.05),hc:C},I.a("statusBarBackground","Background color of the editor hover status bar.")),At=u("editorLink.activeForeground",{dark:"#4E94CE",light:re.a.blue,hc:re.a.cyan},I.a("activeLinkForeground","Color of active links.")),at=u("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},I.a("editorLightBulbForeground","The color used for the lightbulb actions icon.")),tt=u("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},I.a("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),ut=new re.a(new re.c(155,185,85,.2)),Ct=new re.a(new re.c(255,0,0,.2)),gt=u("diffEditor.insertedTextBackground",{dark:ut,light:ut,hc:null},I.a("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),bt=u("diffEditor.removedTextBackground",{dark:Ct,light:Ct,hc:null},I.a("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),Gt=u("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},I.a("diffEditorInsertedOutline","Outline color for the text that got inserted.")),Nt=u("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},I.a("diffEditorRemovedOutline","Outline color for text that got removed.")),Et=u("diffEditor.border",{dark:null,light:null,hc:v},I.a("diffEditorBorder","Border color between the two text editors.")),Je=u("list.focusBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},I.a("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),$e=u("list.focusForeground",{dark:null,light:null,hc:null},I.a("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),ze=u("list.activeSelectionBackground",{dark:"#094771",light:"#0074E8",hc:null},I.a("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ke=u("list.activeSelectionForeground",{dark:re.a.white,light:re.a.white,hc:null},I.a("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),fe=u("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},I.a("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),G=u("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},I.a("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),te=u("list.inactiveFocusBackground",{dark:null,light:null,hc:null},I.a("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Y=u("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},I.a("listHoverBackground","List/Tree background when hovering over items using the mouse.")),de=u("list.hoverForeground",{dark:null,light:null,hc:null},I.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),ke=u("list.dropBackground",{dark:Je,light:Je,hc:null},I.a("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),lt=u("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:f},I.a("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),Tt=u("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:re.a.black},I.a("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),Jt=u("listFilterWidget.outline",{dark:re.a.transparent,light:re.a.transparent,hc:"#f38518"},I.a("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),eo=u("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:v},I.a("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),po=u("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},I.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),co=u("menu.border",{dark:null,light:null,hc:v},I.a("menuBorder","Border color of menus.")),Eo=u("menu.foreground",{dark:Te,light:y,hc:Te},I.a("menuForeground","Foreground color of menu items.")),Oo=u("menu.background",{dark:Me,light:Me,hc:Me},I.a("menuBackground","Background color of menu items.")),Ao=u("menu.selectionForeground",{dark:Ke,light:Ke,hc:Ke},I.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),Zo=u("menu.selectionBackground",{dark:ze,light:ze,hc:ze},I.a("menuSelectionBackground","Background color of the selected menu item in menus.")),Co=u("menu.selectionBorder",{dark:null,light:null,hc:w},I.a("menuSelectionBorder","Border color of the selected menu item in menus.")),Wo=u("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:v},I.a("menuSeparatorBackground","Color of a separator menu item in menus.")),Go=u("editor.snippetTabstopHighlightBackground",{dark:new re.a(new re.c(124,124,124,.3)),light:new re.a(new re.c(10,50,100,.2)),hc:new re.a(new re.c(124,124,124,.3))},I.a("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),Bo=u("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},I.a("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),Mo=u("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},I.a("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),Qo=u("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new re.a(new re.c(10,50,100,.5)),hc:"#525252"},I.a("snippetFinalTabstopHighlightBorder","Highlight border color of the final stabstop of a snippet.")),fn=u("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},I.a("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),Vo=u("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},I.a("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),mn=u("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},I.a("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),yn=u("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},I.a("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),dn=u("minimap.errorHighlight",{dark:new re.a(new re.c(255,18,18,.7)),light:new re.a(new re.c(255,18,18,.7)),hc:new re.a(new re.c(255,50,50,1))},I.a("minimapError","Minimap marker color for errors.")),rn=u("minimap.warningHighlight",{dark:Xe,light:Xe,hc:me},I.a("overviewRuleWarning","Minimap marker color for warnings.")),pn=u("problemsErrorIcon.foreground",{dark:he,light:he,hc:he},I.a("problemsErrorIconForeground","The color used for the problems error icon.")),zo=u("problemsWarningIcon.foreground",{dark:Xe,light:Xe,hc:Xe},I.a("problemsWarningIconForeground","The color used for the problems warning icon.")),Uo=u("problemsInfoIcon.foreground",{dark:ge,light:ge,hc:ge},I.a("problemsInfoIconForeground","The color used for the problems info icon."));function St(xe,Ne){return function(dt){var ht=M(xe,dt);return ht?ht.darken(Ne):void 0}}function ot(xe,Ne){return function(dt){var ht=M(xe,dt);return ht?ht.lighten(Ne):void 0}}function nt(xe,Ne){return function(dt){var ht=M(xe,dt);return ht?ht.transparent(Ne):void 0}}function Dt(){for(var xe=[],Ne=0;Ne1)&&ue.fire(je),q=0},Fe)})},onLastListenerRemove:function(){ne.dispose()}});return ue.event}v.debounce=L;function A(Me){var Te=new Date().getTime();return p(w(Me),function(Fe){return new Date().getTime()-Te})}v.stopwatch=A;function k(Me){var Te=!0,Fe;return s(Me,function(He){var Pe=Te||He!==Fe;return Te=!1,Fe=He,Pe})}v.latch=k;function R(Me,Te,Fe){Te===void 0&&(Te=!1),Fe===void 0&&(Fe=[]);var He=Fe.slice(),Pe=Me(function(ae){He?He.push(ae):ee.fire(ae)}),ne=function(){He&&He.forEach(function(q){return ee.fire(q)}),He=null},ee=new x({onFirstListenerAdd:function(){Pe||(Pe=Me(function(q){return ee.fire(q)}))},onFirstListenerDidAdd:function(){He&&(Te?setTimeout(ne):ne())},onLastListenerRemove:function(){Pe&&Pe.dispose(),Pe=null}});return ee.event}v.buffer=R;var $=function(){function Me(Te){this.event=Te}return Me.prototype.map=function(Te){return new Me(p(this.event,Te))},Me.prototype.forEach=function(Te){return new Me(c(this.event,Te))},Me.prototype.filter=function(Te){return new Me(s(this.event,Te))},Me.prototype.reduce=function(Te,Fe){return new Me(m(this.event,Te,Fe))},Me.prototype.latch=function(){return new Me(k(this.event))},Me.prototype.debounce=function(Te,Fe,He,Pe){return Fe===void 0&&(Fe=100),He===void 0&&(He=!1),new Me(L(this.event,Te,Fe,He,Pe))},Me.prototype.on=function(Te,Fe,He){return this.event(Te,Fe,He)},Me.prototype.once=function(Te,Fe,He){return w(this.event)(Te,Fe,He)},Me}();function ie(Me){return new $(Me)}v.chain=ie;function W(Me,Te,Fe){Fe===void 0&&(Fe=function(q){return q});var He=function(){for(var q=[],ue=0;ue0?new H(this._options&&this._options.leakWarningThreshold):void 0}return Object.defineProperty(v.prototype,"event",{get:function(){var p=this;return this._event||(this._event=function(c,s,l){p._listeners||(p._listeners=new I.a);var d=p._listeners.isEmpty();d&&p._options&&p._options.onFirstListenerAdd&&p._options.onFirstListenerAdd(p);var m=p._listeners.push(s?[c,s]:c);d&&p._options&&p._options.onFirstListenerDidAdd&&p._options.onFirstListenerDidAdd(p),p._options&&p._options.onListenerDidAdd&&p._options.onListenerDidAdd(p,c,s);var E;p._leakageMon&&(E=p._leakageMon.check(p._listeners.size));var L;return L={dispose:function(){if(E&&E(),L.dispose=v._noop,!p._disposed&&(m(),p._options&&p._options.onLastListenerRemove)){var k=p._listeners&&!p._listeners.isEmpty();k||p._options.onLastListenerRemove(p)}}},l instanceof J.b?l.add(L):Array.isArray(l)&&l.push(L),L}),this._event},enumerable:!0,configurable:!0}),v.prototype.fire=function(w){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new I.a);for(var p=this._listeners.iterator(),c=p.next();!c.done;c=p.next())this._deliveryQueue.push([c.value,w]);for(;this._deliveryQueue.size>0;){var s=this._deliveryQueue.shift(),l=s[0],d=s[1];try{typeof l=="function"?l.call(void 0,d):l[0].call(l[1],d)}catch(m){Object(T.e)(m)}}}},v.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},v._noop=function(){},v}(),u=function(v){U(w,v);function w(p){var c=v.call(this,p)||this;return c._isPaused=0,c._eventQueue=new I.a,c._mergeFn=p&&p.merge,c}return w.prototype.pause=function(){this._isPaused++},w.prototype.resume=function(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){var p=this._eventQueue.toArray();this._eventQueue.clear(),v.prototype.fire.call(this,this._mergeFn(p))}else for(;!this._isPaused&&this._eventQueue.size!==0;)v.prototype.fire.call(this,this._eventQueue.shift())},w.prototype.fire=function(p){this._listeners&&(this._isPaused!==0?this._eventQueue.push(p):v.prototype.fire.call(this,p))},w}(x),y=function(){function v(){var w=this;this.hasListeners=!1,this.events=[],this.emitter=new x({onFirstListenerAdd:function(){return w.onFirstListenerAdd()},onLastListenerRemove:function(){return w.onLastListenerRemove()}})}return Object.defineProperty(v.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),v.prototype.add=function(w){var p=this,c={event:w,listener:null};this.events.push(c),this.hasListeners&&this.hook(c);var s=function(){p.hasListeners&&p.unhook(c);var d=p.events.indexOf(c);p.events.splice(d,1)};return Object(J.h)(Object(re.a)(s))},v.prototype.onFirstListenerAdd=function(){var w=this;this.hasListeners=!0,this.events.forEach(function(p){return w.hook(p)})},v.prototype.onLastListenerRemove=function(){var w=this;this.hasListeners=!1,this.events.forEach(function(p){return w.unhook(p)})},v.prototype.hook=function(w){var p=this;w.listener=w.event(function(c){return p.emitter.fire(c)})},v.prototype.unhook=function(w){w.listener&&w.listener.dispose(),w.listener=null},v.prototype.dispose=function(){this.emitter.dispose()},v}(),_=function(){function v(){this.buffers=[]}return v.prototype.wrapEvent=function(w){var p=this;return function(c,s,l){return w(function(d){var m=p.buffers[p.buffers.length-1];m?m.push(function(){return c.call(s,d)}):c.call(s,d)},void 0,l)}},v.prototype.bufferEvents=function(w){var p=[];this.buffers.push(p);var c=w();return this.buffers.pop(),p.forEach(function(s){return s()}),c},v}(),f=function(){function v(){var w=this;this.listening=!1,this.inputEvent=z.None,this.inputEventListener=J.a.None,this.emitter=new x({onFirstListenerDidAdd:function(){w.listening=!0,w.inputEventListener=w.inputEvent(w.emitter.fire,w.emitter)},onLastListenerRemove:function(){w.listening=!1,w.inputEventListener.dispose()}}),this.event=this.emitter.event}return Object.defineProperty(v.prototype,"input",{set:function(p){this.inputEvent=p,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=p(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),v.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()},v}()},MNXI:function(Lt,j,e){},MNsG:function(Lt,j,e){"use strict";(function(T,re){e.d(j,"h",function(){return l}),e.d(j,"e",function(){return d}),e.d(j,"d",function(){return m}),e.d(j,"f",function(){return E}),e.d(j,"g",function(){return L}),e.d(j,"c",function(){return A}),e.d(j,"b",function(){return R}),e.d(j,"i",function(){return $}),e.d(j,"a",function(){return ie});var J="en",I=!1,U=!1,z=!1,O=!1,H=!1,x=!1,u=void 0,y=J,_=void 0,f=void 0,v=typeof T!="undefined"&&typeof T.versions!="undefined"&&typeof T.versions.electron!="undefined"&&T.type==="renderer";if(typeof navigator=="object"&&!v)f=navigator.userAgent,I=f.indexOf("Windows")>=0,U=f.indexOf("Macintosh")>=0,x=f.indexOf("Macintosh")>=0&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,z=f.indexOf("Linux")>=0,H=!0,u=navigator.language,y=u;else if(typeof T=="object"){I=T.platform==="win32",U=T.platform==="darwin",z=T.platform==="linux",u=J,y=J;var w=Object({NODE_ENV:"production"}).VSCODE_NLS_CONFIG;if(w)try{var p=JSON.parse(w),c=p.availableLanguages["*"];u=p.locale,y=c||J,_=p._translationsConfigFile}catch(W){}O=!0}var s=0;U?s=1:I?s=3:z&&(s=2);var l=I,d=U,m=z,E=O,L=H,A=x,k=typeof self=="object"?self:typeof re=="object"?re:{},R=k,$=function(){if(R.setImmediate)return R.setImmediate.bind(R);if(typeof R.postMessage=="function"&&!R.importScripts){var B=[];R.addEventListener("message",function(Me){if(Me.data&&Me.data.vscodeSetImmediateId)for(var Te=0,Fe=B.length;Te=0&&U<256?this._asciiMap[U]=O:this._map.set(U,O)},I.prototype.get=function(U){return U>=0&&U<256?this._asciiMap[U]:this._map.get(U)||this._defaultValue},I}(),J=function(){function I(){this._actual=new re(0)}return I.prototype.add=function(U){this._actual.set(U,1)},I.prototype.has=function(U){return this._actual.get(U)===1},I}()},Md8J:function(Lt,j,e){"use strict";e.d(j,"c",function(){return re}),e.d(j,"b",function(){return J}),e.d(j,"a",function(){return I});var T=e("EffR");function re(u,y){y===void 0&&(y={});var _=I(y);return _.textContent=u,_}function J(u,y){y===void 0&&(y={});var _=I(y);return z(_,O(u),y.actionHandler),_}function I(u){var y=u.inline?"span":"div",_=document.createElement(y);return u.className&&(_.className=u.className),_}var U=function(){function u(y){this.source=y,this.index=0}return u.prototype.eos=function(){return this.index>=this.source.length},u.prototype.next=function(){var y=this.peek();return this.advance(),y},u.prototype.peek=function(){return this.source[this.index]},u.prototype.advance=function(){this.index++},u}();function z(u,y,_){var f;if(y.type===2)f=document.createTextNode(y.content||"");else if(y.type===3)f=document.createElement("b");else if(y.type===4)f=document.createElement("i");else if(y.type===5&&_){var v=document.createElement("a");v.href="#",_.disposeables.add(T.o(v,"click",function(w){_.callback(String(y.index),w)})),f=v}else y.type===7?f=document.createElement("br"):y.type===1&&(f=u);f&&u!==f&&u.appendChild(f),f&&Array.isArray(y.children)&&y.children.forEach(function(w){z(f,w,_)})}function O(u){for(var y={type:1,children:[]},_=0,f=y,v=[],w=new U(u);!w.eos();){var p=w.next(),c=p==="\\"&&x(w.peek())!==0;if(c&&(p=w.next()),!c&&H(p)&&p===w.peek()){w.advance(),f.type===2&&(f=v.pop());var s=x(p);if(f.type===s||f.type===5&&s===6)f=v.pop();else{var l={type:s,children:[]};s===5&&(l.index=_,_++),f.children.push(l),v.push(f),f=l}}else if(p===` -`)f.type===2&&(f=v.pop()),f.children.push({type:7});else if(f.type!==2){var d={type:2,content:p};f.children.push(d),v.push(f),f=d}else f.content+=p}return f.type===2&&(f=v.pop()),v.length,y}function H(u){return x(u)!==0}function x(u){switch(u){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}},MqQJ:function(Lt,j,e){"use strict";e.d(j,"a",function(){return H}),e.d(j,"c",function(){return x}),e.d(j,"b",function(){return u});var T=e("3/fG"),re=e("MI8n"),J=e("twdY"),I=e("cMvZ"),U=e("ic2d"),z={ModesRegistry:"editor.modesRegistry"},O=function(){function y(){this._onDidChangeLanguages=new re.a,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}return y.prototype.registerLanguage=function(_){this._languages.push(_),this._onDidChangeLanguages.fire(void 0)},y.prototype.getLanguages=function(){return[].concat(this._languages).concat(this._dynamicLanguages)},y}(),H=new O;U.a.add(z.ModesRegistry,H);var x="plaintext",u=new J.r(x,1);H.registerLanguage({id:x,extensions:[".txt",".gitignore"],aliases:[T.a("plainText.alias","Plain Text"),"text"],mimetypes:["text/plain"]}),I.a.register(u,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],folding:{offSide:!0}})},MrjW:function(Lt,j,e){"use strict";e.r(j),e.d(j,"win32",function(){return l}),e.d(j,"posix",function(){return d}),e.d(j,"normalize",function(){return m}),e.d(j,"join",function(){return E}),e.d(j,"relative",function(){return L}),e.d(j,"dirname",function(){return A}),e.d(j,"basename",function(){return k}),e.d(j,"extname",function(){return R}),e.d(j,"sep",function(){return $});var T=e("wxcJ"),re=function(){var ie=function(B,le){return ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ce,Me){Ce.__proto__=Me}||function(Ce,Me){for(var Te in Me)Me.hasOwnProperty(Te)&&(Ce[Te]=Me[Te])},ie(B,le)};return function(W,B){ie(W,B);function le(){this.constructor=W}W.prototype=B===null?Object.create(B):(le.prototype=B.prototype,new le)}}(),J=65,I=97,U=90,z=122,O=46,H=47,x=92,u=58,y=63,_=function(ie){re(W,ie);function W(B,le,Ce){var Me=this,Te;typeof le=="string"&&le.indexOf("not ")===0?(Te="must not be",le=le.replace(/^not /,"")):Te="must be";var Fe=B.indexOf(".")!==-1?"property":"argument",Ue='The "'+B+'" '+Fe+" "+Te+" of type "+le;return Ue+=". Received type "+typeof Ce,Me=ie.call(this,Ue)||this,Me.code="ERR_INVALID_ARG_TYPE",Me}return W}(Error);function f(ie,W){if(typeof ie!="string")throw new _(W,"string",ie)}function v(ie){return ie===H||ie===x}function w(ie){return ie===H}function p(ie){return ie>=J&&ie<=U||ie>=I&&ie<=z}function c(ie,W,B,le){for(var Ce="",Me=0,Te=-1,Fe=0,Ue,Pe=0;Pe<=ie.length;++Pe){if(Pe2){var ne=Ce.lastIndexOf(B);ne===-1?(Ce="",Me=0):(Ce=Ce.slice(0,ne),Me=Ce.length-1-Ce.lastIndexOf(B)),Te=Pe,Fe=0;continue}else if(Ce.length===2||Ce.length===1){Ce="",Me=0,Te=Pe,Fe=0;continue}}W&&(Ce.length>0?Ce+=B+"..":Ce="..",Me=2)}else Ce.length>0?Ce+=B+ie.slice(Te+1,Pe):Ce=ie.slice(Te+1,Pe),Me=Pe-Te-1;Te=Pe,Fe=0}else Ue===O&&Fe!==-1?++Fe:Fe=-1}return Ce}function s(ie,W){var B=W.dir||W.root,le=W.base||(W.name||"")+(W.ext||"");return B?B===W.root?B+le:B+ie+le:le}var l={resolve:function(){for(var W=[],B=0;B=-1;Te--){var Fe=void 0;if(Te>=0?Fe=W[Te]:le?(Fe=T.b["="+le]||T.a(),(Fe===void 0||Fe.slice(0,3).toLowerCase()!==le.toLowerCase()+"\\")&&(Fe=le+"\\")):Fe=T.a(),f(Fe,"path"),Fe.length===0)continue;var Ue=Fe.length,Pe=0,ne="",ee=!1,ae=Fe.charCodeAt(0);if(Ue>1)if(v(ae))if(ee=!0,v(Fe.charCodeAt(1))){for(var q=2,ue=q;q2&&(v(Fe.charCodeAt(2))&&(ee=!0,Pe=3))));else v(ae)&&(Pe=1,ee=!0);if(ne.length>0&&le.length>0&&ne.toLowerCase()!==le.toLowerCase())continue;if(le.length===0&&ne.length>0&&(le=ne),Me||(Ce=Fe.slice(Pe)+"\\"+Ce,Me=ee),le.length>0&&Me)break}return Ce=c(Ce,!Me,"\\",v),le+(Me?"\\":"")+Ce||"."},normalize:function(W){f(W,"path");var B=W.length;if(B===0)return".";var le=0,Ce,Me=!1,Te=W.charCodeAt(0);if(B>1)if(v(Te))if(Me=!0,v(W.charCodeAt(1))){for(var Fe=2,Ue=Fe;Fe2&&(v(W.charCodeAt(2))&&(Me=!0,le=3))));else if(v(Te))return"\\";var ne;return le0&&v(W.charCodeAt(B-1))&&(ne+="\\"),Ce===void 0?Me?ne.length>0?"\\"+ne:"\\":ne.length>0?ne:"":Me?ne.length>0?Ce+"\\"+ne:Ce+"\\":ne.length>0?Ce+ne:Ce},isAbsolute:function(W){f(W,"path");var B=W.length;if(B===0)return!1;var le=W.charCodeAt(0);return v(le)?!0:!!(p(le)&&(B>2&&W.charCodeAt(1)===u&&v(W.charCodeAt(2))))},join:function(){for(var W=[],B=0;B0&&(le===void 0?le=Ce=Te:le+="\\"+Te)}if(le===void 0)return".";var Fe=!0,Ue=0;if(typeof Ce=="string"&&v(Ce.charCodeAt(0))){++Ue;var Pe=Ce.length;Pe>1&&(v(Ce.charCodeAt(1))&&(++Ue,Pe>2&&(v(Ce.charCodeAt(2))?++Ue:Fe=!1)))}if(Fe){for(;Ue=2&&(le="\\"+le.slice(Ue))}return l.normalize(le)},relative:function(W,B){if(f(W,"from"),f(B,"to"),W===B)return"";var le=l.resolve(W),Ce=l.resolve(B);if(le===Ce)return"";if(W=le.toLowerCase(),B=Ce.toLowerCase(),W===B)return"";for(var Me=0;MeMe&&!(W.charCodeAt(Te-1)!==x);--Te);for(var Fe=Te-Me,Ue=0;UeUe&&!(B.charCodeAt(Pe-1)!==x);--Pe);for(var ne=Pe-Ue,ee=Feee){if(B.charCodeAt(Ue+q)===x)return Ce.slice(Ue+q+1);if(q===2)return Ce.slice(Ue+q)}Fe>ee&&(W.charCodeAt(Me+q)===x?ae=q:q===2&&(ae=3));break}var ue=W.charCodeAt(Me+q),X=B.charCodeAt(Ue+q);if(ue!==X)break;ue===x&&(ae=q)}if(q!==ee&&ae===-1)return Ce;var he="";for(ae===-1&&(ae=0),q=Me+ae+1;q<=Te;++q)(q===Te||W.charCodeAt(q)===x)&&(he.length===0?he+="..":he+="\\..");return he.length>0?he+Ce.slice(Ue+ae,Pe):(Ue+=ae,Ce.charCodeAt(Ue)===x&&++Ue,Ce.slice(Ue,Pe))},toNamespacedPath:function(W){if(typeof W!="string")return W;if(W.length===0)return"";var B=l.resolve(W);if(B.length>=3){if(B.charCodeAt(0)===x){if(B.charCodeAt(1)===x){var le=B.charCodeAt(2);if(le!==y&&le!==O)return"\\\\?\\UNC\\"+B.slice(2)}}else if(p(B.charCodeAt(0))&&(B.charCodeAt(1)===u&&B.charCodeAt(2)===x))return"\\\\?\\"+B}return W},dirname:function(W){f(W,"path");var B=W.length;if(B===0)return".";var le=-1,Ce=-1,Me=!0,Te=0,Fe=W.charCodeAt(0);if(B>1)if(v(Fe)){if(le=Te=1,v(W.charCodeAt(1))){for(var Ue=2,Pe=Ue;Ue2&&(v(W.charCodeAt(2))&&(le=Te=3))));else if(v(Fe))return W;for(var ne=B-1;ne>=Te;--ne)if(v(W.charCodeAt(ne))){if(!Me){Ce=ne;break}}else Me=!1;if(Ce===-1){if(le===-1)return".";Ce=le}return W.slice(0,Ce)},basename:function(W,B){B!==void 0&&f(B,"ext"),f(W,"path");var le=0,Ce=-1,Me=!0,Te;if(W.length>=2){var Fe=W.charCodeAt(0);p(Fe)&&(W.charCodeAt(1)===u&&(le=2))}if(B!==void 0&&B.length>0&&B.length<=W.length){if(B.length===W.length&&B===W)return"";var Ue=B.length-1,Pe=-1;for(Te=W.length-1;Te>=le;--Te){var ne=W.charCodeAt(Te);if(v(ne)){if(!Me){le=Te+1;break}}else Pe===-1&&(Me=!1,Pe=Te+1),Ue>=0&&(ne===B.charCodeAt(Ue)?--Ue===-1&&(Ce=Te):(Ue=-1,Ce=Pe))}return le===Ce?Ce=Pe:Ce===-1&&(Ce=W.length),W.slice(le,Ce)}else{for(Te=W.length-1;Te>=le;--Te)if(v(W.charCodeAt(Te))){if(!Me){le=Te+1;break}}else Ce===-1&&(Me=!1,Ce=Te+1);return Ce===-1?"":W.slice(le,Ce)}},extname:function(W){f(W,"path");var B=0,le=-1,Ce=0,Me=-1,Te=!0,Fe=0;W.length>=2&&W.charCodeAt(1)===u&&p(W.charCodeAt(0))&&(B=Ce=2);for(var Ue=W.length-1;Ue>=B;--Ue){var Pe=W.charCodeAt(Ue);if(v(Pe)){if(!Te){Ce=Ue+1;break}continue}Me===-1&&(Te=!1,Me=Ue+1),Pe===O?le===-1?le=Ue:Fe!==1&&(Fe=1):le!==-1&&(Fe=-1)}return le===-1||Me===-1||Fe===0||Fe===1&&le===Me-1&&le===Ce+1?"":W.slice(le,Me)},format:function(W){if(W===null||typeof W!="object")throw new _("pathObject","Object",W);return s("\\",W)},parse:function(W){f(W,"path");var B={root:"",dir:"",base:"",ext:"",name:""};if(W.length===0)return B;var le=W.length,Ce=0,Me=W.charCodeAt(0);if(le>1){if(v(Me)){if(Ce=1,v(W.charCodeAt(1))){for(var Te=2,Fe=Te;Te2){if(v(W.charCodeAt(2))){if(le===3)return B.root=B.dir=W,B;Ce=3}}else return B.root=B.dir=W,B}else if(v(Me))return B.root=B.dir=W,B;Ce>0&&(B.root=W.slice(0,Ce));for(var Ue=-1,Pe=Ce,ne=-1,ee=!0,ae=W.length-1,q=0;ae>=Ce;--ae){if(Me=W.charCodeAt(ae),v(Me)){if(!ee){Pe=ae+1;break}continue}ne===-1&&(ee=!1,ne=ae+1),Me===O?Ue===-1?Ue=ae:q!==1&&(q=1):Ue!==-1&&(q=-1)}return Ue===-1||ne===-1||q===0||q===1&&Ue===ne-1&&Ue===Pe+1?ne!==-1&&(B.base=B.name=W.slice(Pe,ne)):(B.name=W.slice(Pe,Ue),B.base=W.slice(Pe,ne),B.ext=W.slice(Ue,ne)),Pe>0&&Pe!==Ce?B.dir=W.slice(0,Pe-1):B.dir=B.root,B},sep:"\\",delimiter:";",win32:null,posix:null},d={resolve:function(){for(var W=[],B=0;B=-1&&!Ce;Me--){var Te=void 0;if(Me>=0?Te=W[Me]:Te=T.a(),f(Te,"path"),Te.length===0)continue;le=Te+"/"+le,Ce=Te.charCodeAt(0)===H}return le=c(le,!Ce,"/",w),Ce?le.length>0?"/"+le:"/":le.length>0?le:"."},normalize:function(W){if(f(W,"path"),W.length===0)return".";var B=W.charCodeAt(0)===H,le=W.charCodeAt(W.length-1)===H;return W=c(W,!B,"/",w),W.length===0&&!B&&(W="."),W.length>0&&le&&(W+="/"),B?"/"+W:W},isAbsolute:function(W){return f(W,"path"),W.length>0&&W.charCodeAt(0)===H},join:function(){for(var W=[],B=0;B0&&(le===void 0?le=Me:le+="/"+Me)}return le===void 0?".":d.normalize(le)},relative:function(W,B){if(f(W,"from"),f(B,"to"),W===B)return"";if(W=d.resolve(W),B=d.resolve(B),W===B)return"";for(var le=1;lePe){if(B.charCodeAt(Te+ee)===H)return B.slice(Te+ee+1);if(ee===0)return B.slice(Te+ee)}else Me>Pe&&(W.charCodeAt(le+ee)===H?ne=ee:ee===0&&(ne=0));break}var ae=W.charCodeAt(le+ee),q=B.charCodeAt(Te+ee);if(ae!==q)break;ae===H&&(ne=ee)}var ue="";for(ee=le+ne+1;ee<=Ce;++ee)(ee===Ce||W.charCodeAt(ee)===H)&&(ue.length===0?ue+="..":ue+="/..");return ue.length>0?ue+B.slice(Te+ne):(Te+=ne,B.charCodeAt(Te)===H&&++Te,B.slice(Te))},toNamespacedPath:function(W){return W},dirname:function(W){if(f(W,"path"),W.length===0)return".";for(var B=W.charCodeAt(0)===H,le=-1,Ce=!0,Me=W.length-1;Me>=1;--Me)if(W.charCodeAt(Me)===H){if(!Ce){le=Me;break}}else Ce=!1;return le===-1?B?"/":".":B&&le===1?"//":W.slice(0,le)},basename:function(W,B){B!==void 0&&f(B,"ext"),f(W,"path");var le=0,Ce=-1,Me=!0,Te;if(B!==void 0&&B.length>0&&B.length<=W.length){if(B.length===W.length&&B===W)return"";var Fe=B.length-1,Ue=-1;for(Te=W.length-1;Te>=0;--Te){var Pe=W.charCodeAt(Te);if(Pe===H){if(!Me){le=Te+1;break}}else Ue===-1&&(Me=!1,Ue=Te+1),Fe>=0&&(Pe===B.charCodeAt(Fe)?--Fe===-1&&(Ce=Te):(Fe=-1,Ce=Ue))}return le===Ce?Ce=Ue:Ce===-1&&(Ce=W.length),W.slice(le,Ce)}else{for(Te=W.length-1;Te>=0;--Te)if(W.charCodeAt(Te)===H){if(!Me){le=Te+1;break}}else Ce===-1&&(Me=!1,Ce=Te+1);return Ce===-1?"":W.slice(le,Ce)}},extname:function(W){f(W,"path");for(var B=-1,le=0,Ce=-1,Me=!0,Te=0,Fe=W.length-1;Fe>=0;--Fe){var Ue=W.charCodeAt(Fe);if(Ue===H){if(!Me){le=Fe+1;break}continue}Ce===-1&&(Me=!1,Ce=Fe+1),Ue===O?B===-1?B=Fe:Te!==1&&(Te=1):B!==-1&&(Te=-1)}return B===-1||Ce===-1||Te===0||Te===1&&B===Ce-1&&B===le+1?"":W.slice(B,Ce)},format:function(W){if(W===null||typeof W!="object")throw new _("pathObject","Object",W);return s("/",W)},parse:function(W){f(W,"path");var B={root:"",dir:"",base:"",ext:"",name:""};if(W.length===0)return B;var le=W.charCodeAt(0)===H,Ce;le?(B.root="/",Ce=1):Ce=0;for(var Me=-1,Te=0,Fe=-1,Ue=!0,Pe=W.length-1,ne=0;Pe>=Ce;--Pe){var ee=W.charCodeAt(Pe);if(ee===H){if(!Ue){Te=Pe+1;break}continue}Fe===-1&&(Ue=!1,Fe=Pe+1),ee===O?Me===-1?Me=Pe:ne!==1&&(ne=1):Me!==-1&&(ne=-1)}return Me===-1||Fe===-1||ne===0||ne===1&&Me===Fe-1&&Me===Te+1?Fe!==-1&&(Te===0&&le?B.base=B.name=W.slice(1,Fe):B.base=B.name=W.slice(Te,Fe)):(Te===0&&le?(B.name=W.slice(1,Me),B.base=W.slice(1,Fe)):(B.name=W.slice(Te,Me),B.base=W.slice(Te,Fe)),B.ext=W.slice(Me,Fe)),Te>0?B.dir=W.slice(0,Te-1):le&&(B.dir="/"),B},sep:"/",delimiter:":",win32:null,posix:null};d.win32=l.win32=l,d.posix=l.posix=d;var m=T.c==="win32"?l.normalize:d.normalize,E=T.c==="win32"?l.join:d.join,L=T.c==="win32"?l.relative:d.relative,A=T.c==="win32"?l.dirname:d.dirname,k=T.c==="win32"?l.basename:d.basename,R=T.c==="win32"?l.extname:d.extname,$=T.c==="win32"?l.sep:d.sep},Msxo:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"r",extensions:[".r",".rhistory",".rprofile",".rt"],aliases:["R","r"],loader:function(){return e.e(308).then(e.bind(null,"Qx4d"))}})},MvK1:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re}),e.d(j,"b",function(){return J});var T=function(){function I(U,z,O){this.from=U|0,this.to=z|0,this.colorId=O|0}return I.compare=function(U,z){return U.colorId===z.colorId?U.from===z.from?U.to-z.to:U.from-z.from:U.colorId-z.colorId},I}(),re=function(){function I(U,z,O){this.startLineNumber=U,this.endLineNumber=z,this.color=O,this._colorZone=null}return I.compare=function(U,z){return U.color===z.color?U.startLineNumber===z.startLineNumber?U.endLineNumber-z.endLineNumber:U.startLineNumber-z.startLineNumber:U.colorO&&(s=O-l);var d=v.color,m=this._color2Id[d];m||(m=++this._lastAssignedId,this._color2Id[d]=m,this._id2Color[m]=d);var E=new T(s-l,s+l,m);v.setColorZone(E),y.push(E)}return this._colorZonesInvalid=!1,y.sort(T.compare),y},I}()},Mzro:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:function(){return e.e(318).then(e.bind(null,"l/4i"))}})},N0LK:function(Lt,j,e){"use strict";e.d(j,"x",function(){return T}),e.d(j,"F",function(){return re}),e.d(j,"r",function(){return I}),e.d(j,"o",function(){return U}),e.d(j,"p",function(){return z}),e.d(j,"Q",function(){return O}),e.d(j,"K",function(){return x}),e.d(j,"k",function(){return u}),e.d(j,"N",function(){return y}),e.d(j,"m",function(){return _}),e.d(j,"l",function(){return f}),e.d(j,"I",function(){return v}),e.d(j,"H",function(){return w}),e.d(j,"q",function(){return p}),e.d(j,"t",function(){return c}),e.d(j,"D",function(){return s}),e.d(j,"e",function(){return l}),e.d(j,"f",function(){return d}),e.d(j,"B",function(){return m}),e.d(j,"C",function(){return E}),e.d(j,"n",function(){return A}),e.d(j,"O",function(){return R}),e.d(j,"c",function(){return $}),e.d(j,"d",function(){return ie}),e.d(j,"z",function(){return W}),e.d(j,"A",function(){return B}),e.d(j,"u",function(){return le}),e.d(j,"E",function(){return Me}),e.d(j,"G",function(){return Te}),e.d(j,"i",function(){return Ue}),e.d(j,"g",function(){return ne}),e.d(j,"v",function(){return ae}),e.d(j,"h",function(){return q}),e.d(j,"y",function(){return ue}),e.d(j,"w",function(){return X}),e.d(j,"a",function(){return he}),e.d(j,"P",function(){return je}),e.d(j,"L",function(){return Xe}),e.d(j,"J",function(){return me}),e.d(j,"j",function(){return ge}),e.d(j,"M",function(){return we}),e.d(j,"s",function(){return Re}),e.d(j,"b",function(){return Ee});function T(C){return!C||typeof C!="string"?!0:C.trim().length===0}function re(C,F,se){se===void 0&&(se="0");for(var oe=""+C,be=[oe],De=oe.length;De=F.length?oe:F[De]})}function U(C){return C.replace(/[<>&]/g,function(F){switch(F){case"<":return"<";case">":return">";case"&":return"&";default:return F}})}function z(C){return C.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function O(C,F){F===void 0&&(F=" ");var se=H(C,F);return x(se,F)}function H(C,F){if(!C||!F)return C;var se=F.length;if(se===0||C.length===0)return C;for(var oe=0;C.indexOf(F,oe)===oe;)oe=oe+se;return C.substring(oe)}function x(C,F){if(!C||!F)return C;var se=F.length,oe=C.length;if(se===0||oe===0)return C;for(var be=oe,De=-1;!(De=C.lastIndexOf(F,be-1),De===-1||De+se!==be);){if(De===0)return"";be=De}return C.substring(0,be)}function u(C){return C.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function y(C,F){if(C.length0?C.indexOf(F,se)===se:se===0?C===F:!1}function f(C,F,se){if(se===void 0&&(se={}),!C)throw new Error("Cannot create regex from empty string");F||(C=z(C)),se.wholeWord&&(/\B/.test(C.charAt(0))||(C="\\b"+C),/\B/.test(C.charAt(C.length-1))||(C=C+"\\b"));var oe="";return se.global&&(oe+="g"),se.matchCase||(oe+="i"),se.multiline&&(oe+="m"),se.unicode&&(oe+="u"),new RegExp(C,oe)}function v(C){if(C.source==="^"||C.source==="^$"||C.source==="$"||C.source==="^\\s*$")return!1;var F=C.exec("");return!!(F&&C.lastIndex===0)}function w(C){return(C.global?"g":"")+(C.ignoreCase?"i":"")+(C.multiline?"m":"")+(C.unicode?"u":"")}function p(C){for(var F=0,se=C.length;F=0;se--){var oe=C.charCodeAt(se);if(oe!==32&&oe!==9)return se}return-1}function l(C,F){return CF?1:0}function d(C,F){for(var se=Math.min(C.length,F.length),oe=0;oeF.length?1:0}function m(C){return C>=97&&C<=122}function E(C){return C>=65&&C<=90}function L(C){return m(C)||E(C)}function A(C,F){return C.length===F.length&&k(C,F)}function k(C,F,se){se===void 0&&(se=C.length);for(var oe=0;oeC.length?!1:k(C,F,se)}function $(C,F){var se,oe=Math.min(C.length,F.length);for(se=0;se1){var oe=C.charCodeAt(F-2);if(W(oe))return(oe-55296<<10)+(se-56320)+65536}return se}function Me(C,F){var se=ve.getInstance(),oe=F,be=C.length,De=le(C,be,F);F+=De>=65536?2:1;for(var Se=se.getGraphemeBreakType(De);F=65536?2:1,Se=Qe}return F-oe}function Te(C,F){var se=ve.getInstance(),oe=F,be=Ce(C,F);F-=be>=65536?2:1;for(var De=se.getGraphemeBreakType(be);F>0;){var Se=Ce(C,F),Ve=se.getGraphemeBreakType(Se);if(Ee(Ve,De))break;F-=Se>=65536?2:1,De=Ve}return oe-F}var Fe=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function Ue(C){return Fe.test(C)}var Pe=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function ne(C){return Pe.test(C)}var ee=/^[\t\n\r\x20-\x7E]*$/;function ae(C){return ee.test(C)}function q(C){for(var F=0,se=C.length;F=11904&&C<=55215||C>=63744&&C<=64255||C>=65281&&C<=65374}function X(C){return C>=127462&&C<=127487||C>=9728&&C<=10175||C>=127744&&C<=128591||C>=128640&&C<=128764||C>=128992&&C<=129003||C>=129280&&C<=129535||C>=129648&&C<=129651||C>=129656&&C<=129666||C>=129680&&C<=129685}var he=String.fromCharCode(65279);function je(C){return!!(C&&C.length>0&&C.charCodeAt(0)===65279)}function Xe(C){return btoa(encodeURIComponent(C))}function me(C,F){for(var se="",oe=0;oese[3*be+1])be=2*be+1;else return se[3*be+2];return 0},C._INSTANCE=null,C}();function Q(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}},NR8r:function(Lt,j,e){"use strict";e.d(j,"a",function(){return w});var T=e("synD"),re=e.n(T),J=e("3/fG"),I=e("X+cX"),U=e("pmY6"),z=e("OBOq"),O=e("aokT"),H=e("sswD"),x=e("T8No"),u=e("t9D7"),y=e("MD5Z"),_=function(){var s=function(d,m){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,L){E.__proto__=L}||function(E,L){for(var A in L)L.hasOwnProperty(A)&&(E[A]=L[A])},s(d,m)};return function(l,d){s(l,d);function m(){this.constructor=l}l.prototype=d===null?Object.create(d):(m.prototype=d.prototype,new m)}}(),f=function(s,l,d,m){var E=arguments.length,L=E<3?l:m===null?m=Object.getOwnPropertyDescriptor(l,d):m,A;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")L=Reflect.decorate(s,l,d,m);else for(var k=s.length-1;k>=0;k--)(A=s[k])&&(L=(E<3?A(L):E>3?A(l,d,L):A(l,d))||L);return E>3&&L&&Object.defineProperty(l,d,L),L},v=function(s,l){return function(d,m){l(d,m,s)}},w=function(s){_(l,s);function l(d,m){var E=s.call(this)||this;return E.closeTimeout=3e3,E._messageWidget=E._register(new U.d),E._messageListeners=E._register(new U.b),E._editor=d,E._visible=l.MESSAGE_VISIBLE.bindTo(m),E._register(E._editor.onDidAttemptReadOnlyEdit(function(){return E._onDidAttemptReadOnlyEdit()})),E}return l.get=function(d){return d.getContribution(l.ID)},l.prototype.dispose=function(){s.prototype.dispose.call(this),this._visible.reset()},l.prototype.showMessage=function(d,m){var E=this;Object(z.a)(d),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new c(this._editor,m,d),this._messageListeners.add(this._editor.onDidBlurEditorText(function(){return E.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeCursorPosition(function(){return E.closeMessage()})),this._messageListeners.add(this._editor.onDidDispose(function(){return E.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeModel(function(){return E.closeMessage()})),this._messageListeners.add(new I.e(function(){return E.closeMessage()},this.closeTimeout));var L;this._messageListeners.add(this._editor.onMouseMove(function(A){if(!A.target.position)return;L?L.containsPosition(A.target.position)||E.closeMessage():L=new O.a(m.lineNumber-3,1,A.target.position.lineNumber+3,1)}))},l.prototype.closeMessage=function(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(c.fadeOut(this._messageWidget.value))},l.prototype._onDidAttemptReadOnlyEdit=function(){this._editor.hasModel()&&this.showMessage(J.a("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())},l.ID="editor.contrib.messageController",l.MESSAGE_VISIBLE=new x.d("messageVisible",!1),l=f([v(1,x.c)],l),l}(U.a),p=H.c.bindToContribution(w.get);Object(H.g)(new p({id:"leaveEditorMessage",precondition:w.MESSAGE_VISIBLE,handler:function(l){return l.closeMessage()},kbOpts:{weight:100+30,primary:9}}));var c=function(){function s(l,d,m){var E=d.lineNumber,L=d.column;this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=l,this._editor.revealLinesInCenterIfOutsideViewport(E,E,0),this._position={lineNumber:E,column:L-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");var A=document.createElement("div");A.classList.add("message"),A.textContent=m,this._domNode.appendChild(A);var k=document.createElement("div");k.classList.add("anchor"),this._domNode.appendChild(k),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}return s.fadeOut=function(l){var d,m=function E(){l.dispose(),clearTimeout(d),l.getDomNode().removeEventListener("animationend",E)};return d=setTimeout(m,110),l.getDomNode().addEventListener("animationend",m),l.getDomNode().classList.add("fadeOut"),{dispose:m}},s.prototype.dispose=function(){this._editor.removeContentWidget(this)},s.prototype.getId=function(){return"messageoverlay"},s.prototype.getDomNode=function(){return this._domNode},s.prototype.getPosition=function(){return{position:this._position,preference:[1,2]}},s}();Object(H.h)(w.ID,w),Object(u.e)(function(s,l){var d=s.getColor(y.gb);if(d){var m=s.type===u.b?2:1;l.addRule(".monaco-editor .monaco-editor-overlaymessage .anchor { border-top-color: "+d+"; }"),l.addRule(".monaco-editor .monaco-editor-overlaymessage .message { border: "+m+"px solid "+d+"; }")}var E=s.getColor(y.fb);E&&l.addRule(".monaco-editor .monaco-editor-overlaymessage .message { background-color: "+E+"; }");var L=s.getColor(y.hb);L&&l.addRule(".monaco-editor .monaco-editor-overlaymessage .message { color: "+L+"; }")})},OBOq:function(Lt,j,e){"use strict";e.d(j,"b",function(){return x}),e.d(j,"a",function(){return u}),e.d(j,"c",function(){return y});var T=e("UCkY"),re=e.n(T),J=e("3/fG"),I=e("MNsG"),U=e("EffR"),z,O,H;function x(w){z=document.createElement("div"),z.className="monaco-aria-container",O=document.createElement("div"),O.className="monaco-alert",O.setAttribute("role","alert"),O.setAttribute("aria-atomic","true"),z.appendChild(O),H=document.createElement("div"),H.className="monaco-status",H.setAttribute("role","status"),H.setAttribute("aria-atomic","true"),z.appendChild(H),w.appendChild(z)}function u(w,p){v(O,w,p)}function y(w,p){I.e?u(w,p):v(H,w,p)}var _=0,f=void 0;function v(w,p,c){if(!z)return;if(!c){f===p?_++:(f=p,_=0);switch(_){case 0:break;case 1:p=J.a("repeated","{0} (occurred again)",p);break;default:p=J.a("repeatedNtimes","{0} (occurred {1} times)",p,_);break}}U.t(w),w.textContent=p,w.style.visibility="hidden",w.style.visibility="visible"}},OKK6:function(Lt,j,e){},OOlL:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return e.e(274).then(e.bind(null,"NlLO"))}})},OhnE:function(Lt,j,e){},PTeM:function(Lt,j,e){"use strict";e.d(j,"c",function(){return J}),e.d(j,"a",function(){return I}),e.d(j,"b",function(){return U});var T=e("N0LK"),re=e("MrjW");function J(z){return z.replace(/[\\/]/g,re.posix.sep)}function I(z,O,H,x){if(x===void 0&&(x=re.sep),z===O)return!0;if(!z||!O)return!1;if(O.length>z.length)return!1;if(H){var u=Object(T.O)(z,O);if(!u)return!1;if(O.length===z.length)return!0;var y=O.length;return O.charAt(O.length-1)===x&&y--,z.charAt(y)===x}return O.charAt(O.length-1)!==x&&(O+=x),z.indexOf(O)===0}function U(z){return z>=65&&z<=90||z>=97&&z<=122}},Q4rV:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("bY76");function re(I){var U=JSON.parse(I);return U=J(U),U}function J(I,U){if(U===void 0&&(U=0),!I||U>200)return I;if(typeof I=="object"){switch(I.$mid){case 1:return T.a.revive(I);case 2:return new RegExp(I.source,I.flags)}for(var z in I)Object.hasOwnProperty.call(I,z)&&(I[z]=J(I[z],U+1))}return I}},Q631:function(Lt,j,e){"use strict";e.r(j),e.d(j,"rename",function(){return q}),e.d(j,"RenameAction",function(){return X});var T=e("3/fG"),re=e("/cxE"),J=e("T8No"),I=e("tTk5"),U=e("sswD"),z=e("wQH0"),O=e("BjKj"),H=e("pmY6"),x=e("cGHE"),u=e("aokT"),y=e("MD5Z"),_=e("t9D7"),f=e("bexQ"),v=e("EffR"),w=function(je,Xe,me,ge){var we=arguments.length,Re=we<3?Xe:ge===null?ge=Object.getOwnPropertyDescriptor(Xe,me):ge,Ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Re=Reflect.decorate(je,Xe,me,ge);else for(var ve=je.length-1;ve>=0;ve--)(Ee=je[ve])&&(Re=(we<3?Ee(Re):we>3?Ee(Xe,me,Re):Ee(Xe,me))||Re);return we>3&&Re&&Object.defineProperty(Xe,me,Re),Re},p=function(je,Xe){return function(me,ge){Xe(me,ge,je)}},c=new J.d("renameInputVisible",!1),s=function(){function je(Xe,me,ge,we,Re){var Ee=this;this._editor=Xe,this._acceptKeybindings=me,this._themeService=ge,this._keybindingService=we,this._disposables=new H.b,this.allowEditorOverflow=!0,this._visibleContextKey=c.bindTo(Re),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration(function(ve){ve.hasChanged(34)&&Ee._updateFont()})),this._disposables.add(ge.onThemeChange(this._updateStyles,this))}return je.prototype.dispose=function(){this._disposables.dispose(),this._editor.removeContentWidget(this)},je.prototype.getId=function(){return"__renameInputWidget"},je.prototype.getDomNode=function(){var Xe=this;if(!this._domNode){this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",Object(T.a)("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label);var me=function(){var we,Re,Ee=Xe._acceptKeybindings,ve=Ee[0],Q=Ee[1];Xe._keybindingService.lookupKeybinding(ve),Xe._label.innerText=Object(T.a)("label","{0} to Rename, {1} to Preview",(we=Xe._keybindingService.lookupKeybinding(ve))===null||we===void 0?void 0:we.getLabel(),(Re=Xe._keybindingService.lookupKeybinding(Q))===null||Re===void 0?void 0:Re.getLabel())};me(),this._disposables.add(this._keybindingService.onDidUpdateKeybindings(me)),this._updateFont(),this._updateStyles(this._themeService.getTheme())}return this._domNode},je.prototype._updateStyles=function(Xe){var me,ge,we,Re;if(!this._input||!this._domNode)return;var Ee=Xe.getColor(y.hc);this._domNode.style.backgroundColor=String((me=Xe.getColor(y.Q))!==null&&me!==void 0?me:""),this._domNode.style.boxShadow=Ee?" 0 2px 8px "+Ee:"",this._domNode.style.color=String((ge=Xe.getColor(y.bb))!==null&&ge!==void 0?ge:""),this._input.style.backgroundColor=String((we=Xe.getColor(y.Z))!==null&&we!==void 0?we:"");var ve=Xe.getColor(y.ab);this._input.style.borderWidth=ve?"1px":"0px",this._input.style.borderStyle=ve?"solid":"none",this._input.style.borderColor=(Re=ve==null?void 0:ve.toString())!==null&&Re!==void 0?Re:"none"},je.prototype._updateFont=function(){if(!this._input||!this._label)return;var Xe=this._editor.getOption(34);this._input.style.fontFamily=Xe.fontFamily,this._input.style.fontWeight=Xe.fontWeight,this._input.style.fontSize=Xe.fontSize+"px",this._label.style.fontSize=Xe.fontSize*.8+"px"},je.prototype.getPosition=function(){return this._visible?{position:this._position,preference:[2,1]}:null},je.prototype.acceptInput=function(Xe){this._currentAcceptInput&&this._currentAcceptInput(Xe)},je.prototype.cancelInput=function(Xe){this._currentCancelInput&&this._currentCancelInput(Xe)},je.prototype.getInput=function(Xe,me,ge,we,Re){var Ee=this;Object(v.Y)(this._domNode,"preview",Re),this._position=new x.a(Xe.startLineNumber,Xe.startColumn),this._input.value=me,this._input.setAttribute("selectionStart",ge.toString()),this._input.setAttribute("selectionEnd",we.toString()),this._input.size=Math.max((Xe.endColumn-Xe.startColumn)*1.1,20);var ve=new H.b;return new Promise(function(Q){Ee._currentCancelInput=function(F){return Ee._currentAcceptInput=void 0,Ee._currentCancelInput=void 0,Q(F),!0},Ee._currentAcceptInput=function(F){if(Ee._input.value.trim().length===0||Ee._input.value===me){Ee.cancelInput(!0);return}Ee._currentAcceptInput=void 0,Ee._currentCancelInput=void 0,Q({newName:Ee._input.value,wantsPreview:Re&&F})};var C=function(){var se=Ee._editor.getPosition();(!se||!u.a.containsPosition(Xe,se))&&Ee.cancelInput(!0)};ve.add(Ee._editor.onDidChangeCursorSelection(C)),ve.add(Ee._editor.onDidBlurEditorWidget(function(){return Ee.cancelInput(!1)})),Ee._show()}).finally(function(){ve.dispose(),Ee._hide()})},je.prototype._show=function(){var Xe=this;this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(function(){Xe._input.focus(),Xe._input.setSelectionRange(parseInt(Xe._input.getAttribute("selectionStart")),parseInt(Xe._input.getAttribute("selectionEnd")))},100)},je.prototype._hide=function(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)},je=w([p(2,_.c),p(3,f.a),p(4,J.c)],je),je}(),l=e("twdY"),d=e("OBOq"),m=e("NR8r"),E=e("vATl"),L=e("sM1p"),A=e("x/UI"),k=e("bY76"),R=e("Vxe3"),$=e("JQT/"),ie=e("X+cX"),W=e("746U"),B=e("09fa"),le=e("Cg/j"),Ce=e("ic2d"),Me=e("CRAX"),Te=e("e0rL"),Fe=function(){var je=function(me,ge){return je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(we,Re){we.__proto__=Re}||function(we,Re){for(var Ee in Re)Re.hasOwnProperty(Ee)&&(we[Ee]=Re[Ee])},je(me,ge)};return function(Xe,me){je(Xe,me);function ge(){this.constructor=Xe}Xe.prototype=me===null?Object.create(me):(ge.prototype=me.prototype,new ge)}}(),Ue=function(je,Xe,me,ge){var we=arguments.length,Re=we<3?Xe:ge===null?ge=Object.getOwnPropertyDescriptor(Xe,me):ge,Ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Re=Reflect.decorate(je,Xe,me,ge);else for(var ve=je.length-1;ve>=0;ve--)(Ee=je[ve])&&(Re=(we<3?Ee(Re):we>3?Ee(Xe,me,Re):Ee(Xe,me))||Re);return we>3&&Re&&Object.defineProperty(Xe,me,Re),Re},Pe=function(je,Xe){return function(me,ge){Xe(me,ge,je)}},ne=function(je,Xe,me,ge){function we(Re){return Re instanceof me?Re:new me(function(Ee){Ee(Re)})}return new(me||(me=Promise))(function(Re,Ee){function ve(F){try{C(ge.next(F))}catch(se){Ee(se)}}function Q(F){try{C(ge.throw(F))}catch(se){Ee(se)}}function C(F){F.done?Re(F.value):we(F.value).then(ve,Q)}C((ge=ge.apply(je,Xe||[])).next())})},ee=function(je,Xe){var me={label:0,sent:function(){if(Re[0]&1)throw Re[1];return Re[1]},trys:[],ops:[]},ge,we,Re,Ee;return Ee={next:ve(0),throw:ve(1),return:ve(2)},typeof Symbol=="function"&&(Ee[Symbol.iterator]=function(){return this}),Ee;function ve(C){return function(F){return Q([C,F])}}function Q(C){if(ge)throw new TypeError("Generator is already executing.");for(;me;)try{if(ge=1,we&&(Re=C[0]&2?we.return:C[0]?we.throw||((Re=we.return)&&Re.call(we),0):we.next)&&!(Re=Re.call(we,C[1])).done)return Re;(we=0,Re)&&(C=[C[0]&2,Re.value]);switch(C[0]){case 0:case 1:Re=C;break;case 4:return me.label++,{value:C[1],done:!1};case 5:me.label++,we=C[1],C=[0];continue;case 7:C=me.ops.pop(),me.trys.pop();continue;default:if(!(Re=me.trys,Re=Re.length>0&&Re[Re.length-1])&&(C[0]===6||C[0]===2)){me=0;continue}if(C[0]===3&&(!Re||C[1]>Re[0]&&C[1]0},je.prototype.resolveRenameLocation=function(Xe){return ne(this,void 0,void 0,function(){var me,ge,we,Re;return ee(this,function(Ee){switch(Ee.label){case 0:return me=this._providers[0],me?me.resolveRenameLocation?(we=W.n,[4,me.resolveRenameLocation(this.model,this.position,Xe)]):[3,2]:[2,void 0];case 1:ge=we.apply(void 0,[Ee.sent()]),Ee.label=2;case 2:return!ge&&(Re=this.model.getWordAtPosition(this.position),Re)?[2,{range:new u.a(this.position.lineNumber,Re.startColumn,this.position.lineNumber,Re.endColumn),text:Re.word}]:[2,ge]}})})},je.prototype.provideRenameEdits=function(Xe,me,ge,we){return ne(this,void 0,void 0,function(){var Re,Ee;return ee(this,function(ve){switch(ve.label){case 0:return Re=this._providers[me],Re?[4,Re.provideRenameEdits(this.model,this.position,Xe,we)]:[2,{edits:[],rejectReason:ge.join(` -`)}];case 1:if(Ee=ve.sent(),Ee){if(Ee.rejectReason)return[2,this.provideRenameEdits(Xe,me+1,ge.concat(Ee.rejectReason),we)]}else return[2,this.provideRenameEdits(Xe,me+1,ge.concat(T.a("no result","No result.")),we)];return[2,Ee]}})})},je}();function q(je,Xe,me){return ne(this,void 0,void 0,function(){return ee(this,function(ge){return[2,new ae(je,Xe).provideRenameEdits(me,0,[],$.a.None)]})})}var ue=function(){function je(Xe,me,ge,we,Re,Ee,ve){var Q=this;this.editor=Xe,this._instaService=me,this._notificationService=ge,this._bulkEditService=we,this._progressService=Re,this._logService=Ee,this._configService=ve,this._dispoableStore=new H.b,this._cts=new $.b,this._renameInputField=this._dispoableStore.add(new ie.b(function(){return Q._dispoableStore.add(Q._instaService.createInstance(s,Q.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))}))}return je.get=function(Xe){return Xe.getContribution(je.ID)},je.prototype.dispose=function(){this._dispoableStore.dispose(),this._cts.dispose(!0)},je.prototype.run=function(){return ne(this,void 0,void 0,function(){var Xe,me,ge,we,Re,Ee,ve,Q,C,F,se,oe=this;return ee(this,function(be){switch(be.label){case 0:if(this._cts.dispose(!0),!this.editor.hasModel())return[2,void 0];if(Xe=this.editor.getPosition(),me=new ae(this.editor.getModel(),Xe),!me.hasProvider())return[2,void 0];this._cts=new E.b(this.editor,4|1),be.label=1;case 1:return be.trys.push([1,3,,4]),we=me.resolveRenameLocation(this._cts.token),this._progressService.showWhile(we,250),[4,we];case 2:return ge=be.sent(),[3,4];case 3:return Re=be.sent(),m.a.get(this.editor).showMessage(Re||T.a("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),Xe),[2,void 0];case 4:return ge?ge.rejectReason?(m.a.get(this.editor).showMessage(ge.rejectReason,Xe),[2,void 0]):this._cts.token.isCancellationRequested?[2,void 0]:(Ee=this.editor.getSelection(),ve=0,Q=ge.text.length,!u.a.isEmpty(Ee)&&!u.a.spansMultipleLines(Ee)&&u.a.containsRange(ge.range,Ee)&&(ve=Math.max(0,Ee.startColumn-ge.range.startColumn),Q=Math.min(ge.range.endColumn,Ee.endColumn)-ge.range.startColumn),C=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),[4,this._renameInputField.getValue().getInput(ge.range,ge.text,ve,Q,C)]):[2,void 0];case 5:return F=be.sent(),typeof F=="boolean"?(F&&this.editor.focus(),[2,void 0]):(this.editor.focus(),se=Object(ie.j)(me.provideRenameEdits(F.newName,0,[],this._cts.token),this._cts.token).then(function(De){return ne(oe,void 0,void 0,function(){var Se=this;return ee(this,function(Ve){return!De||!this.editor.hasModel()?[2]:De.rejectReason?(this._notificationService.info(De.rejectReason),[2]):(this._bulkEditService.apply(De,{editor:this.editor,showPreview:F.wantsPreview,label:T.a("label","Renaming '{0}'",ge==null?void 0:ge.text)}).then(function(Qe){Qe.ariaSummary&&Object(d.a)(T.a("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",ge.text,F.newName,Qe.ariaSummary))}).catch(function(Qe){Se._notificationService.error(T.a("rename.failedApply","Rename failed to apply edits")),Se._logService.error(Qe)}),[2])})})},function(De){oe._notificationService.error(T.a("rename.failed","Rename failed to compute edits")),oe._logService.error(De)}),this._progressService.showWhile(se,250),[2,se])}})})},je.prototype.acceptRenameInput=function(Xe){this._renameInputField.getValue().acceptInput(Xe)},je.prototype.cancelRenameInput=function(){this._renameInputField.getValue().cancelInput(!0)},je.ID="editor.contrib.renameController",je=Ue([Pe(1,le.a),Pe(2,L.a),Pe(3,A.a),Pe(4,I.a),Pe(5,B.a),Pe(6,Te.a)],je),je}(),X=function(je){Fe(Xe,je);function Xe(){return je.call(this,{id:"editor.action.rename",label:T.a("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:J.a.and(z.a.writable,z.a.hasRenameProvider),kbOpts:{kbExpr:z.a.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})||this}return Xe.prototype.runCommand=function(me,ge){var we=this,Re=me.get(R.a),Ee=Array.isArray(ge)&&ge||[void 0,void 0],ve=Ee[0],Q=Ee[1];return k.a.isUri(ve)&&x.a.isIPosition(Q)?Re.openCodeEditor({resource:ve},Re.getActiveCodeEditor()).then(function(C){if(!C)return;C.setPosition(Q),C.invokeWithinContext(function(F){return we.reportTelemetry(F,C),we.run(F,C)})},re.e):je.prototype.runCommand.call(this,me,ge)},Xe.prototype.run=function(me,ge){var we=ue.get(ge);return we?we.run():Promise.resolve()},Xe}(U.b);Object(U.h)(ue.ID,ue),Object(U.f)(X);var he=U.c.bindToContribution(ue.get);Object(U.g)(new he({id:"acceptRenameInput",precondition:c,handler:function(Xe){return Xe.acceptRenameInput(!1)},kbOpts:{weight:100+99,kbExpr:z.a.focus,primary:3}})),Object(U.g)(new he({id:"acceptRenameInputWithPreview",precondition:J.a.and(c,J.a.has("config.editor.rename.enablePreview")),handler:function(Xe){return Xe.acceptRenameInput(!0)},kbOpts:{weight:100+99,kbExpr:z.a.focus,primary:1024+3}})),Object(U.g)(new he({id:"cancelRenameInput",precondition:c,handler:function(Xe){return Xe.cancelRenameInput()},kbOpts:{weight:100+99,kbExpr:z.a.focus,primary:9,secondary:[1024|9]}})),Object(U.e)("_executeDocumentRenameProvider",function(je,Xe,me){var ge=me.newName;if(typeof ge!="string")throw Object(re.b)("newName");return q(je,Xe,ge)}),Ce.a.as(Me.a.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:T.a("enablePreview","Enable/disable the ability to preview changes before renaming"),default:!0,type:"boolean"}}})},QDVR:function(Lt,j,e){"use strict";e.d(j,"e",function(){return re}),e.d(j,"d",function(){return J}),e.d(j,"c",function(){return O}),e.d(j,"b",function(){return H}),e.d(j,"a",function(){return u});var T=function(){var y=function(f,v){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,p){w.__proto__=p}||function(w,p){for(var c in p)p.hasOwnProperty(c)&&(w[c]=p[c])},y(f,v)};return function(_,f){y(_,f);function v(){this.constructor=_}_.prototype=f===null?Object.create(f):(v.prototype=f.prototype,new v)}}();function re(y){var _=[];return y.forEach(function(f){return _.push(f)}),_}function J(y){var _=[];return y.forEach(function(f,v){return _.push(v)}),_}var I=function(){function y(){this._value="",this._pos=0}return y.prototype.reset=function(_){return this._value=_,this._pos=0,this},y.prototype.next=function(){return this._pos+=1,this},y.prototype.hasNext=function(){return this._pos0)w.left||(w.left=new z,w.left.segment=v.value()),w=w.left;else if(p<0)w.right||(w.right=new z,w.right.segment=v.value()),w=w.right;else if(v.hasNext())v.next(),w.mid||(w.mid=new z,w.mid.segment=v.value()),w=w.mid;else break}var c=w.value;return w.value=f,w.key=_,c},y.prototype.get=function(_){for(var f=this._iter.reset(_),v=this._root;v;){var w=f.cmp(v.segment);if(w>0)v=v.left;else if(w<0)v=v.right;else if(f.hasNext())f.next(),v=v.mid;else break}return v?v.value:void 0},y.prototype.findSubstr=function(_){for(var f=this._iter.reset(_),v=this._root,w=void 0;v;){var p=f.cmp(v.segment);if(p>0)v=v.left;else if(p<0)v=v.right;else if(f.hasNext())f.next(),w=v.value||w,v=v.mid;else break}return v&&v.value||w},y.prototype.forEach=function(_){this._forEach(this._root,_)},y.prototype._forEach=function(_,f){_&&(this._forEach(_.left,f),_.value&&f(_.value,_.key),this._forEach(_.mid,f),this._forEach(_.right,f))},y}(),H=function(){function y(){this.map=new Map,this.ignoreCase=!1}return y.prototype.set=function(_,f){this.map.set(this.toKey(_),f)},y.prototype.get=function(_){return this.map.get(this.toKey(_))},y.prototype.toKey=function(_){var f=_.toString();return this.ignoreCase&&(f=f.toLowerCase()),f},y}(),x=function(){function y(){this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0}return y.prototype.clear=function(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0},Object.defineProperty(y.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),y.prototype.get=function(_,f){f===void 0&&(f=0);var v=this._map.get(_);return v?(f!==0&&this.touch(v,f),v.value):void 0},y.prototype.set=function(_,f,v){v===void 0&&(v=0);var w=this._map.get(_);if(w)w.value=f,v!==0&&this.touch(w,v);else{w={key:_,value:f,next:void 0,previous:void 0};switch(v){case 0:this.addItemLast(w);break;case 1:this.addItemFirst(w);break;case 2:this.addItemLast(w);break;default:this.addItemLast(w);break}this._map.set(_,w),this._size++}},y.prototype.delete=function(_){return!!this.remove(_)},y.prototype.remove=function(_){var f=this._map.get(_);return f?(this._map.delete(_),this.removeItem(f),this._size--,f.value):void 0},y.prototype.forEach=function(_,f){for(var v=this._head;v;)f?_.bind(f)(v.value,v.key,this):_(v.value,v.key,this),v=v.next},y.prototype.trimOld=function(_){if(_>=this.size)return;if(_===0){this.clear();return}for(var f=this._head,v=this.size;f&&v>_;)this._map.delete(f.key),f=f.next,v--;this._head=f,this._size=v,f&&(f.previous=void 0)},y.prototype.addItemFirst=function(_){if(!this._head&&!this._tail)this._tail=_;else if(this._head)_.next=this._head,this._head.previous=_;else throw new Error("Invalid list");this._head=_},y.prototype.addItemLast=function(_){if(!this._head&&!this._tail)this._head=_;else if(this._tail)_.previous=this._tail,this._tail.next=_;else throw new Error("Invalid list");this._tail=_},y.prototype.removeItem=function(_){if(_===this._head&&_===this._tail)this._head=void 0,this._tail=void 0;else if(_===this._head){if(!_.next)throw new Error("Invalid list");_.next.previous=void 0,this._head=_.next}else if(_===this._tail){if(!_.previous)throw new Error("Invalid list");_.previous.next=void 0,this._tail=_.previous}else{var f=_.next,v=_.previous;if(!f||!v)throw new Error("Invalid list");f.previous=v,v.next=f}_.next=void 0,_.previous=void 0},y.prototype.touch=function(_,f){if(!this._head||!this._tail)throw new Error("Invalid list");if(f!==1&&f!==2)return;if(f===1){if(_===this._head)return;var v=_.next,w=_.previous;_===this._tail?(w.next=void 0,this._tail=w):(v.previous=w,w.next=v),_.previous=void 0,_.next=this._head,this._head.previous=_,this._head=_}else if(f===2){if(_===this._tail)return;var v=_.next,w=_.previous;_===this._head?(v.previous=void 0,this._head=v):(v.previous=w,w.next=v),_.next=void 0,_.previous=this._tail,this._tail.next=_,this._tail=_}},y.prototype.toJSON=function(){var _=[];return this.forEach(function(f,v){_.push([v,f])}),_},y}(),u=function(y){T(_,y);function _(f,v){v===void 0&&(v=1);var w=y.call(this)||this;return w._limit=f,w._ratio=Math.min(Math.max(0,v),1),w}return _.prototype.get=function(f){return y.prototype.get.call(this,f,2)},_.prototype.peek=function(f){return y.prototype.get.call(this,f,0)},_.prototype.set=function(f,v){y.prototype.set.call(this,f,v,2),this.checkTrim()},_.prototype.checkTrim=function(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))},_}(x)},QFiB:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return e.e(293).then(e.bind(null,"PhST"))}})},QRHv:function(Lt,j,e){"use strict";e.d(j,"f",function(){return U}),e.d(j,"b",function(){return H}),e.d(j,"c",function(){return x}),e.d(j,"a",function(){return y}),e.d(j,"e",function(){return v}),e.d(j,"d",function(){return w});var T=e("6OMU"),re=e("4bUh"),J=e("cGHE"),I=e("twdY");function U(p){for(var c=0,s=0,l=0,d=0,m=p.length;d>>0}var O=new Uint32Array(0).buffer,H=function(){function p(){this.tokens=[]}return p.prototype.add=function(c,s){if(this.tokens.length>0){var l=this.tokens[this.tokens.length-1],d=l.startLineNumber+l.tokens.length-1;if(d+1===c){l.tokens.push(s);return}}this.tokens.push(new _(c,[s]))},p}(),x=function(){function p(c){this._tokens=c,this._tokenCount=c.length/4}return p.prototype.getMaxDeltaLine=function(){var c=this.getTokenCount();return c===0?-1:this.getDeltaLine(c-1)},p.prototype.getTokenCount=function(){return this._tokenCount},p.prototype.getDeltaLine=function(c){return this._tokens[4*c]},p.prototype.getStartCharacter=function(c){return this._tokens[4*c+1]},p.prototype.getEndCharacter=function(c){return this._tokens[4*c+2]},p.prototype.getMetadata=function(c){return this._tokens[4*c+3]},p.prototype.clear=function(){this._tokenCount=0},p.prototype.acceptDeleteRange=function(c,s,l,d,m){for(var E=this._tokens,L=this._tokenCount,A=d-s,k=0,R=!1,$=0;$m?le-=m-l:le=l;else if(W===s&&B===l)if(W===d&&le>m)le-=m-l;else{R=!0;continue}else if(Wm)W===s?(B=l,le=B+(le-m)):(B=0,le=B+(le-m));else{R=!0;continue}else if(W>d){if(A===0&&!R){k=L;break}W-=A}else if(W===d&&B>=m)c&&W===0&&(B+=c,le+=c),W-=A,B-=m-l,le-=m-l;else throw new Error("Not possible!");var Me=4*k;E[Me]=W,E[Me+1]=B,E[Me+2]=le,E[Me+3]=Ce,k++}this._tokenCount=k},p.prototype.acceptInsertText=function(c,s,l,d,m,E){for(var L=l===0&&d===1&&(E>=48&&E<=57||E>=65&&E<=90||E>=97&&E<=122),A=this._tokens,k=this._tokenCount,R=0;Rs)d=m-1;else{for(var L=m;L>l&&c.getDeltaLine(L-1)===s;)L--;for(var A=m;A0?s.charCodeAt(0):0)},p.prototype.acceptEdit=function(c,s,l,d,m){this._acceptDeleteRange(c),this._acceptInsertText(new J.a(c.startLineNumber,c.startColumn),s,l,d,m),this._updateEndLineNumber()},p.prototype._acceptDeleteRange=function(c){if(c.startLineNumber===c.endLineNumber&&c.startColumn===c.endColumn)return;var s=c.startLineNumber-this.startLineNumber,l=c.endLineNumber-this.startLineNumber;if(l<0){var d=l-s;this.startLineNumber-=d;return}var m=this.tokens.getMaxDeltaLine();if(s>=m+1)return;if(s<0&&l>=m+1){this.startLineNumber=0,this.tokens.clear();return}if(s<0){var E=-s;this.startLineNumber-=E,this.tokens.acceptDeleteRange(c.startColumn-1,0,0,l,c.endColumn-1)}else this.tokens.acceptDeleteRange(0,s,c.startColumn-1,l,c.endColumn-1)},p.prototype._acceptInsertText=function(c,s,l,d,m){if(s===0&&l===0)return;var E=c.lineNumber-this.startLineNumber;if(E<0){this.startLineNumber+=s;return}var L=this.tokens.getMaxDeltaLine();if(E>=L+1)return;this.tokens.acceptInsertText(E,c.column-1,s,l,d,m)},p}(),_=function(){function p(c,s){this.startLineNumber=c,this.tokens=s}return p}();function f(p){return p instanceof Uint32Array?p:new Uint32Array(p)}var v=function(){function p(){this._pieces=[]}return p.prototype.flush=function(){this._pieces=[]},p.prototype.set=function(c){this._pieces=c||[]},p.prototype.addSemanticTokens=function(c,s){var l=this._pieces;if(l.length===0)return s;var d=p._findFirstPieceWithLine(l,c),m=this._pieces[d].getLineTokens(c);if(!m)return s;for(var E=s.getCount(),L=m.getCount(),A=0,k=[],R=0,$=0;$>>0,Ce=~le>>>0;As)d=m-1;else{for(;m>l&&c[m-1].startLineNumber<=s&&s<=c[m-1].endLineNumber;)m--;return m}}return l},p.prototype.acceptEdit=function(c,s,l,d,m){for(var E=0,L=this._pieces;E1&&(m=I.A.getLanguageId(d[1])!==c),!m)return O}if(!d||d.length===0){var E=new Uint32Array(2);return E[0]=s,E[1]=z(c),E.buffer}return d[d.length-2]=s,d.byteOffset===0&&d.byteLength===d.buffer.byteLength?d.buffer:d},p.prototype._ensureLine=function(c){for(;c>=this._len;)this._lineTokens[this._len]=null,this._len++},p.prototype._deleteLines=function(c,s){if(s===0)return;c+s>this._len&&(s=this._len-c),this._lineTokens.splice(c,s),this._len-=s},p.prototype._insertLines=function(c,s){if(s===0)return;for(var l=[],d=0;d=this._len)return;if(c.startLineNumber===c.endLineNumber){if(c.startColumn===c.endColumn)return;this._lineTokens[s]=p._delete(this._lineTokens[s],c.startColumn-1,c.endColumn-1);return}this._lineTokens[s]=p._deleteEnding(this._lineTokens[s],c.startColumn-1);var l=c.endLineNumber-1,d=null;l=this._len)return;if(s===0){this._lineTokens[d]=p._insert(this._lineTokens[d],c.column-1,l);return}this._lineTokens[d]=p._deleteEnding(this._lineTokens[d],c.column-1),this._lineTokens[d]=p._insert(this._lineTokens[d],c.column-1,l),this._insertLines(c.lineNumber,s)},p._deleteBeginning=function(c,s){return c===null||c===O?c:p._delete(c,0,s)},p._deleteEnding=function(c,s){if(c===null||c===O)return c;var l=f(c),d=l[l.length-2];return p._delete(c,s,d)},p._delete=function(c,s,l){if(c===null||c===O||s===l)return c;var d=f(c),m=d.length>>>1;if(s===0&&d[d.length-2]===l)return O;var E=re.a.findIndexInTokensArray(d,s),L=E>0?d[E-1<<1]:0,A=d[E<<1];if(lie&&(d[$++]=le,d[$++]=d[(B<<1)+1],ie=le)}if($===d.length)return c;var Ce=new Uint32Array($);return Ce.set(d.subarray(0,$),0),Ce.buffer},p._append=function(c,s){if(s===O)return c;if(c===O)return s;if(c===null)return c;if(s===null)return null;var l=f(c),d=f(s),m=d.length>>>1,E=new Uint32Array(l.length+d.length);E.set(l,0);for(var L=l.length,A=l[l.length-2],k=0;k>>1,E=re.a.findIndexInTokensArray(d,s);if(E>0){var L=d[E-1<<1];L===s&&E--}for(var A=E;A0&&Ce[Ce.length-1])&&(Ue[0]===6||Ue[0]===2)){W=0;continue}if(Ue[0]===3&&(!Ce||Ue[1]>Ce[0]&&Ue[1]0&&!W.providerFilter.has(ue)?void 0:Promise.resolve(ue.provideCompletionItems($,ie,B,le)).then(function(X){var he=Ue.length;if(X){for(var je=0,Xe=X.suggestions||[];jeie.sortTextLow)return 1}return $.completion.labelie.completion.label?1:$.completion.kind-ie.completion.kind}function m($,ie){if($.completion.kind!==ie.completion.kind){if($.completion.kind===25)return-1;if(ie.completion.kind===25)return 1}return d($,ie)}function E($,ie){if($.completion.kind!==ie.completion.kind){if($.completion.kind===25)return 1;if(ie.completion.kind===25)return-1}return d($,ie)}var L=new Map;L.set(0,m),L.set(2,E),L.set(1,d);function A($){return L.get($)}Object(I.e)("_executeCompletionItemProvider",function($,ie,W){return _(void 0,void 0,void 0,function(){var B,le,Ce,Me,Te,Fe,Ue,Pe;return f(this,function(ne){switch(ne.label){case 0:return B={incomplete:!1,suggestions:[]},le=new y.b,Ce=[],Me=W.maxItemsToResolve||0,[4,l($,ie)];case 1:for(Te=ne.sent(),Fe=0,Ue=Te;Fe=0;Y--)(te=Je[Y])&&(G=(fe<3?te(G):fe>3?te($e,ze,G):te($e,ze))||G);return fe>3&&G&&Object.defineProperty($e,ze,G),G},Fe=function(Je,$e){return function(ze,Ke){$e(ze,Ke,Je)}},Ue=function(){function Je($e){this._resolverService=$e}return Je.prototype.hasChildren=function($e){return $e instanceof x.c?!0:$e instanceof x.a&&!$e.failure},Je.prototype.getChildren=function($e){if($e instanceof x.c)return $e.groups;if($e instanceof x.a)return $e.resolve(this._resolverService).then(function(ze){return ze.children});throw new Error("bad tree")},Je=Te([Fe(0,l.a)],Je),Je}(),Pe=function(){function Je(){}return Je.prototype.getHeight=function(){return 23},Je.prototype.getTemplateId=function($e){return $e instanceof x.a?q.id:X.id},Je}(),ne=function(){function Je($e){this._keybindingService=$e}return Je.prototype.getKeyboardNavigationLabel=function($e){if($e instanceof x.b){var ze=$e.parent.preview,Ke=ze&&ze.preview($e.range);if(Ke)return Ke.value}return Object(w.b)($e.uri)},Je=Te([Fe(0,B.a)],Je),Je}(),ee=function(){function Je(){}return Je.prototype.getId=function($e){return $e instanceof x.b?$e.id:$e.uri},Je}(),ae=function(Je){Me($e,Je);function $e(ze,Ke,fe){var G=Je.call(this)||this;G._uriLabel=Ke;var te=document.createElement("div");return y.f(te,"reference-file"),G.file=G._register(new d.a(te,{supportHighlights:!0})),G.badge=new k(y.q(te,y.a(".count"))),G._register(Object(ie.a)(G.badge,fe)),ze.appendChild(te),G}return $e.prototype.set=function(ze,Ke){var fe=Object(w.d)(ze.uri);this.file.setLabel(Object(W.a)(ze.uri),this._uriLabel.getUriLabel(fe,{relative:!0}),{title:this._uriLabel.getUriLabel(ze.uri),matches:Ke});var G=ze.children.length;this.badge.setCount(G),ze.failure?this.badge.setTitleFormat(Object(T.a)("referencesFailre","Failed to resolve file.")):G>1?this.badge.setTitleFormat(Object(T.a)("referencesCount","{0} references",G)):this.badge.setTitleFormat(Object(T.a)("referenceCount","{0} reference",G))},$e=Te([Fe(1,R.a),Fe(2,$.c)],$e),$e}(J.a),q=function(){function Je($e){this._instantiationService=$e,this.templateId=Je.id}return Je.prototype.renderTemplate=function($e){return this._instantiationService.createInstance(ae,$e)},Je.prototype.renderElement=function($e,ze,Ke){Ke.set($e.element,Object(le.c)($e.filterData))},Je.prototype.disposeTemplate=function($e){$e.dispose()},Je.id="FileReferencesRenderer",Je=Te([Fe(0,U.a)],Je),Je}(),ue=function(){function Je($e){this.label=new Ce.a($e,!1)}return Je.prototype.set=function($e,ze){var Ke=$e.parent.preview,fe=Ke&&Ke.preview($e.range);if(!fe)this.label.set(Object(w.b)($e.uri)+":"+($e.range.startLineNumber+1)+":"+($e.range.startColumn+1));else{var G=fe.value,te=fe.highlight;ze&&!le.a.isDefault(ze)?(y.Y(this.label.element,"referenceMatch",!1),this.label.set(G,Object(le.c)(ze))):(y.Y(this.label.element,"referenceMatch",!0),this.label.set(G,[te]))}},Je}(),X=function(){function Je(){this.templateId=Je.id}return Je.prototype.renderTemplate=function($e){return new ue($e)},Je.prototype.renderElement=function($e,ze,Ke){Ke.set($e.element,$e.filterData)},Je.prototype.disposeTemplate=function(){},Je.id="OneReferenceRenderer",Je}(),he=function(){function Je(){}return Je.prototype.getAriaLabel=function($e){return $e.ariaMessage},Je}(),je=e("k9mg"),Xe=e("MD5Z"),me=e("iNS8"),ge=e("51B1"),we=e("746U"),Re=e("Sdnv"),Ee=e("6OMU"),ve=e("cMOf"),Q=e("4y0V"),C=function(){var Je=function(ze,Ke){return Je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,G){fe.__proto__=G}||function(fe,G){for(var te in G)G.hasOwnProperty(te)&&(fe[te]=G[te])},Je(ze,Ke)};return function($e,ze){Je($e,ze);function Ke(){this.constructor=$e}$e.prototype=ze===null?Object.create(ze):(Ke.prototype=ze.prototype,new Ke)}}(),F=function(){for(var Je=0,$e=0,ze=arguments.length;$e0&&(this.proportions=this.viewItems.map(function(Ke){return Ke.size/ze.contentSize}))},$e.prototype.onSashStart=function(ze){for(var Ke=this,fe=ze.sash,G=ze.start,te=ze.alt,Y=0,de=this.viewItems;Y=this.viewItems.length)return;Ke=typeof Ke=="number"?Ke:ze.size,Ke=Object(Re.a)(Ke,ze.minimumSize,ze.maximumSize),this.inverseAltBehavior&&fe>0?(this.resize(fe-1,Math.floor((ze.size-Ke)/2)),this.distributeEmptySpace(),this.layoutViews()):(ze.size=Ke,this.relayout([fe],void 0))},$e.prototype.resizeView=function(ze,Ke){var fe=this;if(this.state!==Se.Idle)throw new Error("Cant modify splitview");if(this.state=Se.Busy,ze<0||ze>=this.viewItems.length)return;var G=Object(Ee.u)(this.viewItems.length).filter(function(ke){return ke!==ze}),te=F(G.filter(function(ke){return fe.viewItems[ke].priority===1}),[ze]),Y=G.filter(function(ke){return fe.viewItems[ke].priority===2}),de=this.viewItems[ze];Ke=Math.round(Ke),Ke=Object(Re.a)(Ke,de.minimumSize,Math.min(de.maximumSize,this.size)),de.size=Ke,this.relayout(te,Y),this.state=Se.Idle},$e.prototype.distributeViewSizes=function(){for(var ze=this,Ke=[],fe=0,G=0,te=this.viewItems;G0&&(Ke.push(Y),fe+=Y.size)}for(var de=Math.floor(fe/Ke.length),ke=0,lt=Ke;ke=this.viewItems.length?-1:this.viewItems[ze].size},$e.prototype.doAddView=function(ze,Ke,fe,G){var te=this;if(fe===void 0&&(fe=this.viewItems.length),this.state!==Se.Idle)throw new Error("Cant modify splitview");this.state=Se.Busy;var Y=y.a(".split-view-view");fe===this.viewItems.length?this.viewContainer.appendChild(Y):this.viewContainer.insertBefore(Y,this.viewContainer.children.item(fe));var de=ze.onDidChange(function(Vo){return te.onViewChange(Jt,Vo)}),ke=Object(J.h)(function(){return te.viewContainer.removeChild(Y)}),lt=Object(J.e)(de,ke),Tt;typeof Ke=="number"?Tt=Ke:Ke.type==="split"?Tt=this.getViewSize(Ke.index)/2:Ke.type==="invisible"?Tt={cachedVisibleSize:Ke.cachedVisibleSize}:Tt=ze.minimumSize;var Jt=this.orientation===0?new be(Y,ze,Tt,lt):new De(Y,ze,Tt,lt);if(this.viewItems.splice(fe,0,Jt),this.viewItems.length>1){var eo=this.orientation===0?1:0,po=this.orientation===0?{getHorizontalSashTop:function(mn){return te.getSashPosition(mn)}}:{getVerticalSashLeft:function(mn){return te.getSashPosition(mn)}},co=new ve.a(this.sashContainer,po,{orientation:eo,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}),Eo=this.orientation===0?function(Vo){return{sash:co,start:Vo.startY,current:Vo.currentY,alt:Vo.altKey}}:function(Vo){return{sash:co,start:Vo.startX,current:Vo.currentX,alt:Vo.altKey}},Oo=f.b.map(co.onDidStart,Eo),Ao=Oo(this.onSashStart,this),Zo=f.b.map(co.onDidChange,Eo),Co=Zo(this.onSashChange,this),Wo=f.b.map(co.onDidEnd,function(){return Object(Ee.k)(te.sashItems,function(Vo){return Vo.sash===co})}),Go=Wo(this.onSashEnd,this),Bo=co.onDidReset(function(){var Vo=Object(Ee.k)(te.sashItems,function(pn){return pn.sash===co}),mn=Object(Ee.u)(Vo,-1),yn=Object(Ee.u)(Vo+1,te.viewItems.length),dn=te.findFirstSnapIndex(mn),rn=te.findFirstSnapIndex(yn);if(typeof dn=="number"&&!te.viewItems[dn].visible)return;if(typeof rn=="number"&&!te.viewItems[rn].visible)return;te._onDidSashReset.fire(Vo)}),Mo=Object(J.e)(Ao,Co,Go,Bo,co),Qo={sash:co,disposable:Mo};this.sashItems.splice(fe-1,0,Qo)}Y.appendChild(ze.element);var fn;typeof Ke!="number"&&Ke.type==="split"&&(fn=[Ke.index]),G||this.relayout([fe],fn),this.state=Se.Idle,!G&&typeof Ke!="number"&&Ke.type==="distribute"&&this.distributeViewSizes()},$e.prototype.relayout=function(ze,Ke){var fe=this.viewItems.reduce(function(G,te){return G+te.size},0);this.resize(this.viewItems.length-1,this.size-fe,void 0,ze,Ke),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()},$e.prototype.resize=function(ze,Ke,fe,G,te,Y,de,ke,lt){var Tt=this;if(fe===void 0&&(fe=this.viewItems.map(function(_e){return _e.size})),Y===void 0&&(Y=Number.NEGATIVE_INFINITY),de===void 0&&(de=Number.POSITIVE_INFINITY),ze<0||ze>=this.viewItems.length)return 0;var Jt=Object(Ee.u)(ze,-1),eo=Object(Ee.u)(ze+1,this.viewItems.length);if(te)for(var po=0,co=te;po=ke.limitDelta;dn=pn!==rn.visible,rn.setVisible(pn,ke.size)}if(!dn&<){var rn=this.viewItems[lt.index],pn=Ke0||ze});ze=!1;var fe=this.viewItems.map(function(Co){return ze=Co.maximumSize-Co.size>0||ze}),G=F(this.viewItems).reverse();ze=!1;var te=G.map(function(Co){return ze=Co.size-Co.minimumSize>0||ze}).reverse();ze=!1;for(var Y=G.map(function(Co){return ze=Co.maximumSize-Co.size>0||ze}).reverse(),de=0,ke=0;ke0||this.startSnappingEnabled)?lt.state=1:Zo&&Ke[ke]&&(de0)return;if(!te.visible&&te.snap)return G}return},$e.prototype.dispose=function(){Je.prototype.dispose.call(this),this.viewItems.forEach(function(ze){return ze.dispose()}),this.viewItems=[],this.sashItems.forEach(function(ze){return ze.disposable.dispose()}),this.sashItems=[]},$e}(J.a),it=function(){var Je=function(ze,Ke){return Je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,G){fe.__proto__=G}||function(fe,G){for(var te in G)G.hasOwnProperty(te)&&(fe[te]=G[te])},Je(ze,Ke)};return function($e,ze){Je($e,ze);function Ke(){this.constructor=$e}$e.prototype=ze===null?Object.create(ze):(Ke.prototype=ze.prototype,new Ke)}}(),pt=function(Je,$e,ze,Ke){var fe=arguments.length,G=fe<3?$e:Ke===null?Ke=Object.getOwnPropertyDescriptor($e,ze):Ke,te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")G=Reflect.decorate(Je,$e,ze,Ke);else for(var Y=Je.length-1;Y>=0;Y--)(te=Je[Y])&&(G=(fe<3?te(G):fe>3?te($e,ze,G):te($e,ze))||G);return fe>3&&G&&Object.defineProperty($e,ze,G),G},Rt=function(Je,$e){return function(ze,Ke){$e(ze,Ke,Je)}},Mt=function(Je,$e,ze,Ke){function fe(G){return G instanceof ze?G:new ze(function(te){te(G)})}return new(ze||(ze=Promise))(function(G,te){function Y(lt){try{ke(Ke.next(lt))}catch(Tt){te(Tt)}}function de(lt){try{ke(Ke.throw(lt))}catch(Tt){te(Tt)}}function ke(lt){lt.done?G(lt.value):fe(lt.value).then(Y,de)}ke((Ke=Ke.apply(Je,$e||[])).next())})},zt=function(Je,$e){var ze={label:0,sent:function(){if(G[0]&1)throw G[1];return G[1]},trys:[],ops:[]},Ke,fe,G,te;return te={next:Y(0),throw:Y(1),return:Y(2)},typeof Symbol=="function"&&(te[Symbol.iterator]=function(){return this}),te;function Y(ke){return function(lt){return de([ke,lt])}}function de(ke){if(Ke)throw new TypeError("Generator is already executing.");for(;ze;)try{if(Ke=1,fe&&(G=ke[0]&2?fe.return:ke[0]?fe.throw||((G=fe.return)&&G.call(fe),0):fe.next)&&!(G=G.call(fe,ke[1])).done)return G;(fe=0,G)&&(ke=[ke[0]&2,G.value]);switch(ke[0]){case 0:case 1:G=ke;break;case 4:return ze.label++,{value:ke[1],done:!1};case 5:ze.label++,fe=ke[1],ke=[0];continue;case 7:ke=ze.ops.pop(),ze.trys.pop();continue;default:if(!(G=ze.trys,G=G.length>0&&G[G.length-1])&&(ke[0]===6||ke[0]===2)){ze=0;continue}if(ke[0]===3&&(!G||ke[1]>G[0]&&ke[1]0?ze.children[0]:void 0},$e.prototype._revealReference=function(ze,Ke){return Mt(this,void 0,void 0,function(){var fe,G,te,Y,de;return zt(this,function(ke){switch(ke.label){case 0:return this._revealedReference===ze?[2]:(this._revealedReference=ze,ze.uri.scheme!==v.b.inMemory?this.setTitle(Object(w.c)(ze.uri),this._uriLabel.getUriLabel(Object(w.d)(ze.uri))):this.setTitle(T.a("peekView.alternateTitle","References")),fe=this._textModelResolverService.createModelReference(ze.uri),this._tree.getInput()===ze.parent?(this._tree.reveal(ze),[3,3]):[3,1]);case 1:return Ke&&this._tree.reveal(ze.parent),[4,this._tree.expand(ze.parent)];case 2:ke.sent(),this._tree.reveal(ze),ke.label=3;case 3:return[4,fe];case 4:return G=ke.sent(),this._model?(Object(J.f)(this._previewModelReference),te=G.object,te?(Y=this._preview.getModel()===te.textEditorModel?0:1,de=c.a.lift(ze.range).collapseToStart(),this._previewModelReference=G,this._preview.setModel(te.textEditorModel),this._preview.setSelection(de),this._preview.revealRangeInCenter(de,Y)):(this._preview.setModel(this._previewNotAvailableMessage),G.dispose()),[2]):(G.dispose(),[2])}})})},$e=pt([Rt(3,$.c),Rt(4,l.a),Rt(5,U.a),Rt(6,me.a),Rt(7,R.a)],$e),$e}(me.c);Object($.e)(function(Je,$e){var ze=Je.getColor(me.m);ze&&$e.addRule(".monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { background-color: "+ze+"; }");var Ke=Je.getColor(me.h);Ke&&$e.addRule(".monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: "+Ke+"; }");var fe=Je.getColor(me.i);fe&&$e.addRule(".monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid "+fe+"; box-sizing: border-box; }");var G=Je.getColor(Xe.b);G&&$e.addRule(".monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { border: 1px dotted "+G+"; box-sizing: border-box; }");var te=Je.getColor(me.j);te&&$e.addRule(".monaco-editor .reference-zone-widget .ref-tree { background-color: "+te+"; }");var Y=Je.getColor(me.l);Y&&$e.addRule(".monaco-editor .reference-zone-widget .ref-tree { color: "+Y+"; }");var de=Je.getColor(me.k);de&&$e.addRule(".monaco-editor .reference-zone-widget .ref-tree .reference-file { color: "+de+"; }");var ke=Je.getColor(me.n);ke&&$e.addRule(".monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: "+ke+"; }");var lt=Je.getColor(me.o);lt&&$e.addRule(".monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: "+lt+" !important; }");var Tt=Je.getColor(me.f);Tt&&$e.addRule(".monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {"+(" background-color: "+Tt+";")+"}");var Jt=Je.getColor(me.g);Jt&&$e.addRule(".monaco-editor .reference-zone-widget .preview .monaco-editor .margin {"+(" background-color: "+Jt+";")+"}")});var Pt=e("cGHE"),ft=e("sM1p"),vt=e("X+cX"),At=e("nrhi"),at=e("/kV6"),tt=e("nnTU"),ut=function(Je,$e,ze,Ke){var fe=arguments.length,G=fe<3?$e:Ke===null?Ke=Object.getOwnPropertyDescriptor($e,ze):Ke,te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")G=Reflect.decorate(Je,$e,ze,Ke);else for(var Y=Je.length-1;Y>=0;Y--)(te=Je[Y])&&(G=(fe<3?te(G):fe>3?te($e,ze,G):te($e,ze))||G);return fe>3&&G&&Object.defineProperty($e,ze,G),G},Ct=function(Je,$e){return function(ze,Ke){$e(ze,Ke,Je)}},gt=function(Je,$e,ze,Ke){function fe(G){return G instanceof ze?G:new ze(function(te){te(G)})}return new(ze||(ze=Promise))(function(G,te){function Y(lt){try{ke(Ke.next(lt))}catch(Tt){te(Tt)}}function de(lt){try{ke(Ke.throw(lt))}catch(Tt){te(Tt)}}function ke(lt){lt.done?G(lt.value):fe(lt.value).then(Y,de)}ke((Ke=Ke.apply(Je,$e||[])).next())})},bt=function(Je,$e){var ze={label:0,sent:function(){if(G[0]&1)throw G[1];return G[1]},trys:[],ops:[]},Ke,fe,G,te;return te={next:Y(0),throw:Y(1),return:Y(2)},typeof Symbol=="function"&&(te[Symbol.iterator]=function(){return this}),te;function Y(ke){return function(lt){return de([ke,lt])}}function de(ke){if(Ke)throw new TypeError("Generator is already executing.");for(;ze;)try{if(Ke=1,fe&&(G=ke[0]&2?fe.return:ke[0]?fe.throw||((G=fe.return)&&G.call(fe),0):fe.next)&&!(G=G.call(fe,ke[1])).done)return G;(fe=0,G)&&(ke=[ke[0]&2,G.value]);switch(ke[0]){case 0:case 1:G=ke;break;case 4:return ze.label++,{value:ke[1],done:!1};case 5:ze.label++,fe=ke[1],ke=[0];continue;case 7:ke=ze.ops.pop(),ze.trys.pop();continue;default:if(!(G=ze.trys,G=G.length>0&&G[G.length-1])&&(ke[0]===6||ke[0]===2)){ze=0;continue}if(ke[0]===3&&(!G||ke[1]>G[0]&&ke[1]v&&(w=v-f),w<0&&(w=0),p<0&&(p=0),s+p>c&&(s=c-p),s<0&&(s=0),this.width=f,this.scrollWidth=v,this.scrollLeft=w,this.height=p,this.scrollHeight=c,this.scrollTop=s}return _.prototype.equals=function(f){return this.width===f.width&&this.scrollWidth===f.scrollWidth&&this.scrollLeft===f.scrollLeft&&this.height===f.height&&this.scrollHeight===f.scrollHeight&&this.scrollTop===f.scrollTop},_.prototype.withScrollDimensions=function(f){return new _(typeof f.width!="undefined"?f.width:this.width,typeof f.scrollWidth!="undefined"?f.scrollWidth:this.scrollWidth,this.scrollLeft,typeof f.height!="undefined"?f.height:this.height,typeof f.scrollHeight!="undefined"?f.scrollHeight:this.scrollHeight,this.scrollTop)},_.prototype.withScrollPosition=function(f){return new _(this.width,this.scrollWidth,typeof f.scrollLeft!="undefined"?f.scrollLeft:this.scrollLeft,this.height,this.scrollHeight,typeof f.scrollTop!="undefined"?f.scrollTop:this.scrollTop)},_.prototype.createScrollEvent=function(f){var v=this.width!==f.width,w=this.scrollWidth!==f.scrollWidth,p=this.scrollLeft!==f.scrollLeft,c=this.height!==f.height,s=this.scrollHeight!==f.scrollHeight,l=this.scrollTop!==f.scrollTop;return{width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:v,scrollWidthChanged:w,scrollLeftChanged:p,heightChanged:c,scrollHeightChanged:s,scrollTopChanged:l}},_}(),U=function(_){J(f,_);function f(v,w){var p=_.call(this)||this;return p._onScroll=p._register(new T.a),p.onScroll=p._onScroll.event,p._smoothScrollDuration=v,p._scheduleAtNextAnimationFrame=w,p._state=new I(0,0,0,0,0,0),p._smoothScrolling=null,p}return f.prototype.dispose=function(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),_.prototype.dispose.call(this)},f.prototype.setSmoothScrollDuration=function(v){this._smoothScrollDuration=v},f.prototype.validateScrollPosition=function(v){return this._state.withScrollPosition(v)},f.prototype.getScrollDimensions=function(){return this._state},f.prototype.setScrollDimensions=function(v){var w=this._state.withScrollDimensions(v);this._setState(w),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)},f.prototype.getFutureScrollPosition=function(){return this._smoothScrolling?this._smoothScrolling.to:this._state},f.prototype.getCurrentScrollPosition=function(){return this._state},f.prototype.setScrollPositionNow=function(v){var w=this._state.withScrollPosition(v);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(w)},f.prototype.setScrollPositionSmooth=function(v){var w=this;if(this._smoothScrollDuration===0)return this.setScrollPositionNow(v);if(this._smoothScrolling){v={scrollLeft:typeof v.scrollLeft=="undefined"?this._smoothScrolling.to.scrollLeft:v.scrollLeft,scrollTop:typeof v.scrollTop=="undefined"?this._smoothScrolling.to.scrollTop:v.scrollTop};var p=this._state.withScrollPosition(v);if(this._smoothScrolling.to.scrollLeft===p.scrollLeft&&this._smoothScrolling.to.scrollTop===p.scrollTop)return;var c=this._smoothScrolling.combine(this._state,p,this._smoothScrollDuration);this._smoothScrolling.dispose(),this._smoothScrolling=c}else{var p=this._state.withScrollPosition(v);this._smoothScrolling=x.start(this._state,p,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(function(){if(!w._smoothScrolling)return;w._smoothScrolling.animationFrameDisposable=null,w._performSmoothScrolling()})},f.prototype._performSmoothScrolling=function(){var v=this;if(!this._smoothScrolling)return;var w=this._smoothScrolling.tick(),p=this._state.withScrollPosition(w);if(this._setState(p),w.isDone){this._smoothScrolling.dispose(),this._smoothScrolling=null;return}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(function(){if(!v._smoothScrolling)return;v._smoothScrolling.animationFrameDisposable=null,v._performSmoothScrolling()})},f.prototype._setState=function(v){var w=this._state;if(w.equals(v))return;this._state=v,this._onScroll.fire(this._state.createScrollEvent(w))},f}(re.a),z=function(){function _(f,v,w){this.scrollLeft=f,this.scrollTop=v,this.isDone=w}return _}();function O(_,f){var v=f-_;return function(w){return _+v*y(w)}}function H(_,f,v){return function(w){return w2.5*w){var c=void 0,s=void 0;return f0?R.actionBar.push(ie,{icon:!0,label:!1}):!R.actionBar.isEmpty()&&(!ie||ie.length===0)&&R.actionBar.clear(),A instanceof c&&A.getGroupLabel()?z.f(R.container,"has-group-label"):z.P(R.container,"has-group-label"),A instanceof c){var W=A,B=R;W.showBorder()?(z.f(B.container,"results-group-separator"),$.pickerGroupBorder&&(B.container.style.borderTopColor=$.pickerGroupBorder.toString())):(z.P(B.container,"results-group-separator"),B.container.style.borderTopColor="");var le=W.getGroupLabel()||"";B.group&&(B.group.textContent=le,$.pickerGroupForeground&&(B.group.style.color=$.pickerGroupForeground.toString()))}if(A instanceof p){var Ce=A.getHighlights(),Me=Ce[0],Te=Ce[1],Fe=Ce[2],Ue=A.getIcon()?"quick-open-entry-icon "+A.getIcon():"";R.icon.className=Ue;var Pe=A.getLabelOptions()||Object.create(null);Pe.matches=Me||[],Pe.title=A.getTooltip(),Pe.descriptionTitle=A.getDescriptionTooltip()||A.getDescription(),Pe.descriptionMatches=Te||[],R.label.setLabel(A.getLabel()||"",A.getDescription(),Pe),R.detail.set(A.getDetail(),Fe),R.keybinding.set(A.getKeybinding())}},L.prototype.disposeTemplate=function(A,k){k.actionBar.dispose(),k.actionBar=null,k.container=null,k.entry=null,k.keybinding=null,k.detail=null,k.group=null,k.icon=null,k.label.dispose(),k.label=null},L}(),E=function(){function L(A,k){A===void 0&&(A=[]),k===void 0&&(k=new s),this._entries=A,this._dataSource=this,this._renderer=new m(k),this._filter=this,this._runner=this,this._accessibilityProvider=this}return Object.defineProperty(L.prototype,"entries",{get:function(){return this._entries},set:function(k){this._entries=k},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"dataSource",{get:function(){return this._dataSource},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"renderer",{get:function(){return this._renderer},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"runner",{get:function(){return this._runner},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"accessibilityProvider",{get:function(){return this._accessibilityProvider},enumerable:!0,configurable:!0}),L.prototype.getId=function(A){return A.getId()},L.prototype.getLabel=function(A){return re.o(A.getLabel())},L.prototype.getAriaLabel=function(A){var k=A.getAriaLabel();return k?T.a("quickOpenAriaLabelEntry","{0}, picker",A.getAriaLabel()):T.a("quickOpenAriaLabel","picker")},L.prototype.isVisible=function(A){return!A.isHidden()},L.prototype.run=function(A,k,R){return A.run(k,R)},L}()},S3by:function(Lt,j,e){"use strict";var T=e("3/fG"),re=e("N0LK"),J;(function(I){I[I.Ignore=0]="Ignore",I[I.Info=1]="Info",I[I.Warning=2]="Warning",I[I.Error=3]="Error"})(J||(J={})),function(I){var U="error",z="warning",O="warn",H="info",x=Object.create(null);x[I.Error]=T.a("sev.error","Error"),x[I.Warning]=T.a("sev.warning","Warning"),x[I.Info]=T.a("sev.info","Info");function u(y){return y?re.n(U,y)?I.Error:re.n(z,y)||re.n(O,y)?I.Warning:re.n(H,y)?I.Info:I.Ignore:I.Ignore}I.fromValue=u}(J||(J={})),j.a=J},SBYE:function(Lt,j,e){"use strict";e.r(j);var T=e("QaAZ"),re=e.n(T),J=e("D3Dy"),I=e("EffR"),U=e("ZlPH"),z=e("Md8J"),O=e("OBOq"),H=e("G300"),x=e("pmY6"),u=e("MNsG"),y=e("N0LK"),_=e("bY76"),f=e("sswD"),v=e("wQH0"),w=e("k7pc"),p=e("T8No"),c=e("Cg/j"),s=e("bexQ"),l=e("W9cx"),d=e("MD5Z"),m=e("t9D7"),E=e("A9l+"),L=function(){var Ce=function(Te,Fe){return Ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ue,Pe){Ue.__proto__=Pe}||function(Ue,Pe){for(var ne in Pe)Pe.hasOwnProperty(ne)&&(Ue[ne]=Pe[ne])},Ce(Te,Fe)};return function(Me,Te){Ce(Me,Te);function Fe(){this.constructor=Me}Me.prototype=Te===null?Object.create(Te):(Fe.prototype=Te.prototype,new Fe)}}(),A=function(Ce,Me,Te,Fe){var Ue=arguments.length,Pe=Ue<3?Me:Fe===null?Fe=Object.getOwnPropertyDescriptor(Me,Te):Fe,ne;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Pe=Reflect.decorate(Ce,Me,Te,Fe);else for(var ee=Ce.length-1;ee>=0;ee--)(ne=Ce[ee])&&(Pe=(Ue<3?ne(Pe):Ue>3?ne(Me,Te,Pe):ne(Me,Te))||Pe);return Ue>3&&Pe&&Object.defineProperty(Me,Te,Pe),Pe},k=function(Ce,Me){return function(Te,Fe){Me(Te,Fe,Ce)}},R=new p.d("accessibilityHelpWidgetVisible",!1),$=function(Ce){L(Me,Ce);function Me(Te,Fe){var Ue=Ce.call(this)||this;return Ue._editor=Te,Ue._widget=Ue._register(Fe.createInstance(W,Ue._editor)),Ue}return Me.get=function(Te){return Te.getContribution(Me.ID)},Me.prototype.show=function(){this._widget.show()},Me.prototype.hide=function(){this._widget.hide()},Me.ID="editor.contrib.accessibilityHelpController",Me=A([k(1,c.a)],Me),Me}(x.a);function ie(Ce,Me){return!Ce||Ce.length===0?E.a.noSelection:Ce.length===1?Me?y.r(E.a.singleSelectionRange,Ce[0].positionLineNumber,Ce[0].positionColumn,Me):y.r(E.a.singleSelection,Ce[0].positionLineNumber,Ce[0].positionColumn):Me?y.r(E.a.multiSelectionRange,Ce.length,Me):Ce.length>0?y.r(E.a.multiSelection,Ce.length):""}var W=function(Ce){L(Me,Ce);function Me(Te,Fe,Ue,Pe){var ne=Ce.call(this)||this;return ne._contextKeyService=Fe,ne._keybindingService=Ue,ne._openerService=Pe,ne._editor=Te,ne._isVisibleKey=R.bindTo(ne._contextKeyService),ne._domNode=Object(U.b)(document.createElement("div")),ne._domNode.setClassName("accessibilityHelpWidget"),ne._domNode.setDisplay("none"),ne._domNode.setAttribute("role","dialog"),ne._domNode.setAttribute("aria-hidden","true"),ne._contentDomNode=Object(U.b)(document.createElement("div")),ne._contentDomNode.setAttribute("role","document"),ne._domNode.appendChild(ne._contentDomNode),ne._isVisible=!1,ne._register(ne._editor.onDidLayoutChange(function(){ne._isVisible&&ne._layout()})),ne._register(I.o(ne._contentDomNode.domNode,"keydown",function(ee){if(!ne._isVisible)return;if(ee.equals(2048|35)&&(Object(O.a)(E.a.emergencyConfOn),ne._editor.updateOptions({accessibilitySupport:"on"}),I.t(ne._contentDomNode.domNode),ne._buildContent(),ne._contentDomNode.domNode.focus(),ee.preventDefault(),ee.stopPropagation()),ee.equals(2048|38)){Object(O.a)(E.a.openingDocs);var ae=ne._editor.getRawOptions().accessibilityHelpUrl;typeof ae=="undefined"&&(ae="https://go.microsoft.com/fwlink/?linkid=852450"),ne._openerService.open(_.a.parse(ae)),ee.preventDefault(),ee.stopPropagation()}})),ne.onblur(ne._contentDomNode.domNode,function(){ne.hide()}),ne._editor.addOverlayWidget(ne),ne}return Me.prototype.dispose=function(){this._editor.removeOverlayWidget(this),Ce.prototype.dispose.call(this)},Me.prototype.getId=function(){return Me.ID},Me.prototype.getDomNode=function(){return this._domNode.domNode},Me.prototype.getPosition=function(){return{preference:null}},Me.prototype.show=function(){if(this._isVisible)return;this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus()},Me.prototype._descriptionForCommand=function(Te,Fe,Ue){var Pe=this._keybindingService.lookupKeybinding(Te);return Pe?y.r(Fe,Pe.getAriaLabel()):y.r(Ue,Te)},Me.prototype._buildContent=function(){var Te=this._editor.getOptions(),Fe=this._editor.getSelections(),Ue=0;if(Fe){var Pe=this._editor.getModel();Pe&&Fe.forEach(function(q){Ue+=Pe.getValueLengthInRange(q)})}var ne=ie(Fe,Ue);Te.get(45)?Te.get(68)?ne+=E.a.readonlyDiffEditor:ne+=E.a.editableDiffEditor:Te.get(68)?ne+=E.a.readonlyEditor:ne+=E.a.editableEditor;var ee=u.e?E.a.changeConfigToOnMac:E.a.changeConfigToOnWinLinux;switch(Te.get(2)){case 0:ne+=` +`),l=this._stacks.get(s)||0;if(this._stacks.set(s,l+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=c*.5;var d,m=0;this._stacks.forEach(function(E,L){(!d||m0?new U(this._options&&this._options.leakWarningThreshold):void 0}return Object.defineProperty(v.prototype,"event",{get:function(){var p=this;return this._event||(this._event=function(c,s,l){p._listeners||(p._listeners=new I.a);var d=p._listeners.isEmpty();d&&p._options&&p._options.onFirstListenerAdd&&p._options.onFirstListenerAdd(p);var m=p._listeners.push(s?[c,s]:c);d&&p._options&&p._options.onFirstListenerDidAdd&&p._options.onFirstListenerDidAdd(p),p._options&&p._options.onListenerDidAdd&&p._options.onListenerDidAdd(p,c,s);var E;p._leakageMon&&(E=p._leakageMon.check(p._listeners.size));var L;return L={dispose:function(){if(E&&E(),L.dispose=v._noop,!p._disposed&&(m(),p._options&&p._options.onLastListenerRemove)){var k=p._listeners&&!p._listeners.isEmpty();k||p._options.onLastListenerRemove(p)}}},l instanceof J.b?l.add(L):Array.isArray(l)&&l.push(L),L}),this._event},enumerable:!0,configurable:!0}),v.prototype.fire=function(w){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new I.a);for(var p=this._listeners.iterator(),c=p.next();!c.done;c=p.next())this._deliveryQueue.push([c.value,w]);for(;this._deliveryQueue.size>0;){var s=this._deliveryQueue.shift(),l=s[0],d=s[1];try{typeof l=="function"?l.call(void 0,d):l[0].call(l[1],d)}catch(m){Object(T.e)(m)}}}},v.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},v._noop=function(){},v}(),u=function(v){H(w,v);function w(p){var c=v.call(this,p)||this;return c._isPaused=0,c._eventQueue=new I.a,c._mergeFn=p&&p.merge,c}return w.prototype.pause=function(){this._isPaused++},w.prototype.resume=function(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){var p=this._eventQueue.toArray();this._eventQueue.clear(),v.prototype.fire.call(this,this._mergeFn(p))}else for(;!this._isPaused&&this._eventQueue.size!==0;)v.prototype.fire.call(this,this._eventQueue.shift())},w.prototype.fire=function(p){this._listeners&&(this._isPaused!==0?this._eventQueue.push(p):v.prototype.fire.call(this,p))},w}(x),y=function(){function v(){var w=this;this.hasListeners=!1,this.events=[],this.emitter=new x({onFirstListenerAdd:function(){return w.onFirstListenerAdd()},onLastListenerRemove:function(){return w.onLastListenerRemove()}})}return Object.defineProperty(v.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),v.prototype.add=function(w){var p=this,c={event:w,listener:null};this.events.push(c),this.hasListeners&&this.hook(c);var s=function(){p.hasListeners&&p.unhook(c);var d=p.events.indexOf(c);p.events.splice(d,1)};return Object(J.h)(Object(re.a)(s))},v.prototype.onFirstListenerAdd=function(){var w=this;this.hasListeners=!0,this.events.forEach(function(p){return w.hook(p)})},v.prototype.onLastListenerRemove=function(){var w=this;this.hasListeners=!1,this.events.forEach(function(p){return w.unhook(p)})},v.prototype.hook=function(w){var p=this;w.listener=w.event(function(c){return p.emitter.fire(c)})},v.prototype.unhook=function(w){w.listener&&w.listener.dispose(),w.listener=null},v.prototype.dispose=function(){this.emitter.dispose()},v}(),_=function(){function v(){this.buffers=[]}return v.prototype.wrapEvent=function(w){var p=this;return function(c,s,l){return w(function(d){var m=p.buffers[p.buffers.length-1];m?m.push(function(){return c.call(s,d)}):c.call(s,d)},void 0,l)}},v.prototype.bufferEvents=function(w){var p=[];this.buffers.push(p);var c=w();return this.buffers.pop(),p.forEach(function(s){return s()}),c},v}(),f=function(){function v(){var w=this;this.listening=!1,this.inputEvent=z.None,this.inputEventListener=J.a.None,this.emitter=new x({onFirstListenerDidAdd:function(){w.listening=!0,w.inputEventListener=w.inputEvent(w.emitter.fire,w.emitter)},onLastListenerRemove:function(){w.listening=!1,w.inputEventListener.dispose()}}),this.event=this.emitter.event}return Object.defineProperty(v.prototype,"input",{set:function(p){this.inputEvent=p,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=p(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),v.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()},v}()},MNXI:function(Lt,j,e){},MNsG:function(Lt,j,e){"use strict";(function(T,re){e.d(j,"h",function(){return l}),e.d(j,"e",function(){return d}),e.d(j,"d",function(){return m}),e.d(j,"f",function(){return E}),e.d(j,"g",function(){return L}),e.d(j,"c",function(){return A}),e.d(j,"b",function(){return R}),e.d(j,"i",function(){return $}),e.d(j,"a",function(){return ie});var J="en",I=!1,H=!1,z=!1,O=!1,U=!1,x=!1,u=void 0,y=J,_=void 0,f=void 0,v=typeof T!="undefined"&&typeof T.versions!="undefined"&&typeof T.versions.electron!="undefined"&&T.type==="renderer";if(typeof navigator=="object"&&!v)f=navigator.userAgent,I=f.indexOf("Windows")>=0,H=f.indexOf("Macintosh")>=0,x=f.indexOf("Macintosh")>=0&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,z=f.indexOf("Linux")>=0,U=!0,u=navigator.language,y=u;else if(typeof T=="object"){I=T.platform==="win32",H=T.platform==="darwin",z=T.platform==="linux",u=J,y=J;var w=Object({NODE_ENV:"production"}).VSCODE_NLS_CONFIG;if(w)try{var p=JSON.parse(w),c=p.availableLanguages["*"];u=p.locale,y=c||J,_=p._translationsConfigFile}catch(W){}O=!0}var s=0;H?s=1:I?s=3:z&&(s=2);var l=I,d=H,m=z,E=O,L=U,A=x,k=typeof self=="object"?self:typeof re=="object"?re:{},R=k,$=function(){if(R.setImmediate)return R.setImmediate.bind(R);if(typeof R.postMessage=="function"&&!R.importScripts){var B=[];R.addEventListener("message",function(Me){if(Me.data&&Me.data.vscodeSetImmediateId)for(var Te=0,Fe=B.length;Te=0&&H<256?this._asciiMap[H]=O:this._map.set(H,O)},I.prototype.get=function(H){return H>=0&&H<256?this._asciiMap[H]:this._map.get(H)||this._defaultValue},I}(),J=function(){function I(){this._actual=new re(0)}return I.prototype.add=function(H){this._actual.set(H,1)},I.prototype.has=function(H){return this._actual.get(H)===1},I}()},Md8J:function(Lt,j,e){"use strict";e.d(j,"c",function(){return re}),e.d(j,"b",function(){return J}),e.d(j,"a",function(){return I});var T=e("EffR");function re(u,y){y===void 0&&(y={});var _=I(y);return _.textContent=u,_}function J(u,y){y===void 0&&(y={});var _=I(y);return z(_,O(u),y.actionHandler),_}function I(u){var y=u.inline?"span":"div",_=document.createElement(y);return u.className&&(_.className=u.className),_}var H=function(){function u(y){this.source=y,this.index=0}return u.prototype.eos=function(){return this.index>=this.source.length},u.prototype.next=function(){var y=this.peek();return this.advance(),y},u.prototype.peek=function(){return this.source[this.index]},u.prototype.advance=function(){this.index++},u}();function z(u,y,_){var f;if(y.type===2)f=document.createTextNode(y.content||"");else if(y.type===3)f=document.createElement("b");else if(y.type===4)f=document.createElement("i");else if(y.type===5&&_){var v=document.createElement("a");v.href="#",_.disposeables.add(T.o(v,"click",function(w){_.callback(String(y.index),w)})),f=v}else y.type===7?f=document.createElement("br"):y.type===1&&(f=u);f&&u!==f&&u.appendChild(f),f&&Array.isArray(y.children)&&y.children.forEach(function(w){z(f,w,_)})}function O(u){for(var y={type:1,children:[]},_=0,f=y,v=[],w=new H(u);!w.eos();){var p=w.next(),c=p==="\\"&&x(w.peek())!==0;if(c&&(p=w.next()),!c&&U(p)&&p===w.peek()){w.advance(),f.type===2&&(f=v.pop());var s=x(p);if(f.type===s||f.type===5&&s===6)f=v.pop();else{var l={type:s,children:[]};s===5&&(l.index=_,_++),f.children.push(l),v.push(f),f=l}}else if(p===` +`)f.type===2&&(f=v.pop()),f.children.push({type:7});else if(f.type!==2){var d={type:2,content:p};f.children.push(d),v.push(f),f=d}else f.content+=p}return f.type===2&&(f=v.pop()),v.length,y}function U(u){return x(u)!==0}function x(u){switch(u){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}},MqQJ:function(Lt,j,e){"use strict";e.d(j,"a",function(){return U}),e.d(j,"c",function(){return x}),e.d(j,"b",function(){return u});var T=e("3/fG"),re=e("MI8n"),J=e("twdY"),I=e("cMvZ"),H=e("ic2d"),z={ModesRegistry:"editor.modesRegistry"},O=function(){function y(){this._onDidChangeLanguages=new re.a,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}return y.prototype.registerLanguage=function(_){this._languages.push(_),this._onDidChangeLanguages.fire(void 0)},y.prototype.getLanguages=function(){return[].concat(this._languages).concat(this._dynamicLanguages)},y}(),U=new O;H.a.add(z.ModesRegistry,U);var x="plaintext",u=new J.r(x,1);U.registerLanguage({id:x,extensions:[".txt",".gitignore"],aliases:[T.a("plainText.alias","Plain Text"),"text"],mimetypes:["text/plain"]}),I.a.register(u,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],folding:{offSide:!0}})},MrjW:function(Lt,j,e){"use strict";e.r(j),e.d(j,"win32",function(){return l}),e.d(j,"posix",function(){return d}),e.d(j,"normalize",function(){return m}),e.d(j,"join",function(){return E}),e.d(j,"relative",function(){return L}),e.d(j,"dirname",function(){return A}),e.d(j,"basename",function(){return k}),e.d(j,"extname",function(){return R}),e.d(j,"sep",function(){return $});var T=e("wxcJ"),re=function(){var ie=function(B,le){return ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ce,Me){Ce.__proto__=Me}||function(Ce,Me){for(var Te in Me)Me.hasOwnProperty(Te)&&(Ce[Te]=Me[Te])},ie(B,le)};return function(W,B){ie(W,B);function le(){this.constructor=W}W.prototype=B===null?Object.create(B):(le.prototype=B.prototype,new le)}}(),J=65,I=97,H=90,z=122,O=46,U=47,x=92,u=58,y=63,_=function(ie){re(W,ie);function W(B,le,Ce){var Me=this,Te;typeof le=="string"&&le.indexOf("not ")===0?(Te="must not be",le=le.replace(/^not /,"")):Te="must be";var Fe=B.indexOf(".")!==-1?"property":"argument",He='The "'+B+'" '+Fe+" "+Te+" of type "+le;return He+=". Received type "+typeof Ce,Me=ie.call(this,He)||this,Me.code="ERR_INVALID_ARG_TYPE",Me}return W}(Error);function f(ie,W){if(typeof ie!="string")throw new _(W,"string",ie)}function v(ie){return ie===U||ie===x}function w(ie){return ie===U}function p(ie){return ie>=J&&ie<=H||ie>=I&&ie<=z}function c(ie,W,B,le){for(var Ce="",Me=0,Te=-1,Fe=0,He,Pe=0;Pe<=ie.length;++Pe){if(Pe2){var ne=Ce.lastIndexOf(B);ne===-1?(Ce="",Me=0):(Ce=Ce.slice(0,ne),Me=Ce.length-1-Ce.lastIndexOf(B)),Te=Pe,Fe=0;continue}else if(Ce.length===2||Ce.length===1){Ce="",Me=0,Te=Pe,Fe=0;continue}}W&&(Ce.length>0?Ce+=B+"..":Ce="..",Me=2)}else Ce.length>0?Ce+=B+ie.slice(Te+1,Pe):Ce=ie.slice(Te+1,Pe),Me=Pe-Te-1;Te=Pe,Fe=0}else He===O&&Fe!==-1?++Fe:Fe=-1}return Ce}function s(ie,W){var B=W.dir||W.root,le=W.base||(W.name||"")+(W.ext||"");return B?B===W.root?B+le:B+ie+le:le}var l={resolve:function(){for(var W=[],B=0;B=-1;Te--){var Fe=void 0;if(Te>=0?Fe=W[Te]:le?(Fe=T.b["="+le]||T.a(),(Fe===void 0||Fe.slice(0,3).toLowerCase()!==le.toLowerCase()+"\\")&&(Fe=le+"\\")):Fe=T.a(),f(Fe,"path"),Fe.length===0)continue;var He=Fe.length,Pe=0,ne="",ee=!1,ae=Fe.charCodeAt(0);if(He>1)if(v(ae))if(ee=!0,v(Fe.charCodeAt(1))){for(var q=2,ue=q;q2&&(v(Fe.charCodeAt(2))&&(ee=!0,Pe=3))));else v(ae)&&(Pe=1,ee=!0);if(ne.length>0&&le.length>0&&ne.toLowerCase()!==le.toLowerCase())continue;if(le.length===0&&ne.length>0&&(le=ne),Me||(Ce=Fe.slice(Pe)+"\\"+Ce,Me=ee),le.length>0&&Me)break}return Ce=c(Ce,!Me,"\\",v),le+(Me?"\\":"")+Ce||"."},normalize:function(W){f(W,"path");var B=W.length;if(B===0)return".";var le=0,Ce,Me=!1,Te=W.charCodeAt(0);if(B>1)if(v(Te))if(Me=!0,v(W.charCodeAt(1))){for(var Fe=2,He=Fe;Fe2&&(v(W.charCodeAt(2))&&(Me=!0,le=3))));else if(v(Te))return"\\";var ne;return le0&&v(W.charCodeAt(B-1))&&(ne+="\\"),Ce===void 0?Me?ne.length>0?"\\"+ne:"\\":ne.length>0?ne:"":Me?ne.length>0?Ce+"\\"+ne:Ce+"\\":ne.length>0?Ce+ne:Ce},isAbsolute:function(W){f(W,"path");var B=W.length;if(B===0)return!1;var le=W.charCodeAt(0);return v(le)?!0:!!(p(le)&&(B>2&&W.charCodeAt(1)===u&&v(W.charCodeAt(2))))},join:function(){for(var W=[],B=0;B0&&(le===void 0?le=Ce=Te:le+="\\"+Te)}if(le===void 0)return".";var Fe=!0,He=0;if(typeof Ce=="string"&&v(Ce.charCodeAt(0))){++He;var Pe=Ce.length;Pe>1&&(v(Ce.charCodeAt(1))&&(++He,Pe>2&&(v(Ce.charCodeAt(2))?++He:Fe=!1)))}if(Fe){for(;He=2&&(le="\\"+le.slice(He))}return l.normalize(le)},relative:function(W,B){if(f(W,"from"),f(B,"to"),W===B)return"";var le=l.resolve(W),Ce=l.resolve(B);if(le===Ce)return"";if(W=le.toLowerCase(),B=Ce.toLowerCase(),W===B)return"";for(var Me=0;MeMe&&!(W.charCodeAt(Te-1)!==x);--Te);for(var Fe=Te-Me,He=0;HeHe&&!(B.charCodeAt(Pe-1)!==x);--Pe);for(var ne=Pe-He,ee=Feee){if(B.charCodeAt(He+q)===x)return Ce.slice(He+q+1);if(q===2)return Ce.slice(He+q)}Fe>ee&&(W.charCodeAt(Me+q)===x?ae=q:q===2&&(ae=3));break}var ue=W.charCodeAt(Me+q),X=B.charCodeAt(He+q);if(ue!==X)break;ue===x&&(ae=q)}if(q!==ee&&ae===-1)return Ce;var he="";for(ae===-1&&(ae=0),q=Me+ae+1;q<=Te;++q)(q===Te||W.charCodeAt(q)===x)&&(he.length===0?he+="..":he+="\\..");return he.length>0?he+Ce.slice(He+ae,Pe):(He+=ae,Ce.charCodeAt(He)===x&&++He,Ce.slice(He,Pe))},toNamespacedPath:function(W){if(typeof W!="string")return W;if(W.length===0)return"";var B=l.resolve(W);if(B.length>=3){if(B.charCodeAt(0)===x){if(B.charCodeAt(1)===x){var le=B.charCodeAt(2);if(le!==y&&le!==O)return"\\\\?\\UNC\\"+B.slice(2)}}else if(p(B.charCodeAt(0))&&(B.charCodeAt(1)===u&&B.charCodeAt(2)===x))return"\\\\?\\"+B}return W},dirname:function(W){f(W,"path");var B=W.length;if(B===0)return".";var le=-1,Ce=-1,Me=!0,Te=0,Fe=W.charCodeAt(0);if(B>1)if(v(Fe)){if(le=Te=1,v(W.charCodeAt(1))){for(var He=2,Pe=He;He2&&(v(W.charCodeAt(2))&&(le=Te=3))));else if(v(Fe))return W;for(var ne=B-1;ne>=Te;--ne)if(v(W.charCodeAt(ne))){if(!Me){Ce=ne;break}}else Me=!1;if(Ce===-1){if(le===-1)return".";Ce=le}return W.slice(0,Ce)},basename:function(W,B){B!==void 0&&f(B,"ext"),f(W,"path");var le=0,Ce=-1,Me=!0,Te;if(W.length>=2){var Fe=W.charCodeAt(0);p(Fe)&&(W.charCodeAt(1)===u&&(le=2))}if(B!==void 0&&B.length>0&&B.length<=W.length){if(B.length===W.length&&B===W)return"";var He=B.length-1,Pe=-1;for(Te=W.length-1;Te>=le;--Te){var ne=W.charCodeAt(Te);if(v(ne)){if(!Me){le=Te+1;break}}else Pe===-1&&(Me=!1,Pe=Te+1),He>=0&&(ne===B.charCodeAt(He)?--He===-1&&(Ce=Te):(He=-1,Ce=Pe))}return le===Ce?Ce=Pe:Ce===-1&&(Ce=W.length),W.slice(le,Ce)}else{for(Te=W.length-1;Te>=le;--Te)if(v(W.charCodeAt(Te))){if(!Me){le=Te+1;break}}else Ce===-1&&(Me=!1,Ce=Te+1);return Ce===-1?"":W.slice(le,Ce)}},extname:function(W){f(W,"path");var B=0,le=-1,Ce=0,Me=-1,Te=!0,Fe=0;W.length>=2&&W.charCodeAt(1)===u&&p(W.charCodeAt(0))&&(B=Ce=2);for(var He=W.length-1;He>=B;--He){var Pe=W.charCodeAt(He);if(v(Pe)){if(!Te){Ce=He+1;break}continue}Me===-1&&(Te=!1,Me=He+1),Pe===O?le===-1?le=He:Fe!==1&&(Fe=1):le!==-1&&(Fe=-1)}return le===-1||Me===-1||Fe===0||Fe===1&&le===Me-1&&le===Ce+1?"":W.slice(le,Me)},format:function(W){if(W===null||typeof W!="object")throw new _("pathObject","Object",W);return s("\\",W)},parse:function(W){f(W,"path");var B={root:"",dir:"",base:"",ext:"",name:""};if(W.length===0)return B;var le=W.length,Ce=0,Me=W.charCodeAt(0);if(le>1){if(v(Me)){if(Ce=1,v(W.charCodeAt(1))){for(var Te=2,Fe=Te;Te2){if(v(W.charCodeAt(2))){if(le===3)return B.root=B.dir=W,B;Ce=3}}else return B.root=B.dir=W,B}else if(v(Me))return B.root=B.dir=W,B;Ce>0&&(B.root=W.slice(0,Ce));for(var He=-1,Pe=Ce,ne=-1,ee=!0,ae=W.length-1,q=0;ae>=Ce;--ae){if(Me=W.charCodeAt(ae),v(Me)){if(!ee){Pe=ae+1;break}continue}ne===-1&&(ee=!1,ne=ae+1),Me===O?He===-1?He=ae:q!==1&&(q=1):He!==-1&&(q=-1)}return He===-1||ne===-1||q===0||q===1&&He===ne-1&&He===Pe+1?ne!==-1&&(B.base=B.name=W.slice(Pe,ne)):(B.name=W.slice(Pe,He),B.base=W.slice(Pe,ne),B.ext=W.slice(He,ne)),Pe>0&&Pe!==Ce?B.dir=W.slice(0,Pe-1):B.dir=B.root,B},sep:"\\",delimiter:";",win32:null,posix:null},d={resolve:function(){for(var W=[],B=0;B=-1&&!Ce;Me--){var Te=void 0;if(Me>=0?Te=W[Me]:Te=T.a(),f(Te,"path"),Te.length===0)continue;le=Te+"/"+le,Ce=Te.charCodeAt(0)===U}return le=c(le,!Ce,"/",w),Ce?le.length>0?"/"+le:"/":le.length>0?le:"."},normalize:function(W){if(f(W,"path"),W.length===0)return".";var B=W.charCodeAt(0)===U,le=W.charCodeAt(W.length-1)===U;return W=c(W,!B,"/",w),W.length===0&&!B&&(W="."),W.length>0&&le&&(W+="/"),B?"/"+W:W},isAbsolute:function(W){return f(W,"path"),W.length>0&&W.charCodeAt(0)===U},join:function(){for(var W=[],B=0;B0&&(le===void 0?le=Me:le+="/"+Me)}return le===void 0?".":d.normalize(le)},relative:function(W,B){if(f(W,"from"),f(B,"to"),W===B)return"";if(W=d.resolve(W),B=d.resolve(B),W===B)return"";for(var le=1;lePe){if(B.charCodeAt(Te+ee)===U)return B.slice(Te+ee+1);if(ee===0)return B.slice(Te+ee)}else Me>Pe&&(W.charCodeAt(le+ee)===U?ne=ee:ee===0&&(ne=0));break}var ae=W.charCodeAt(le+ee),q=B.charCodeAt(Te+ee);if(ae!==q)break;ae===U&&(ne=ee)}var ue="";for(ee=le+ne+1;ee<=Ce;++ee)(ee===Ce||W.charCodeAt(ee)===U)&&(ue.length===0?ue+="..":ue+="/..");return ue.length>0?ue+B.slice(Te+ne):(Te+=ne,B.charCodeAt(Te)===U&&++Te,B.slice(Te))},toNamespacedPath:function(W){return W},dirname:function(W){if(f(W,"path"),W.length===0)return".";for(var B=W.charCodeAt(0)===U,le=-1,Ce=!0,Me=W.length-1;Me>=1;--Me)if(W.charCodeAt(Me)===U){if(!Ce){le=Me;break}}else Ce=!1;return le===-1?B?"/":".":B&&le===1?"//":W.slice(0,le)},basename:function(W,B){B!==void 0&&f(B,"ext"),f(W,"path");var le=0,Ce=-1,Me=!0,Te;if(B!==void 0&&B.length>0&&B.length<=W.length){if(B.length===W.length&&B===W)return"";var Fe=B.length-1,He=-1;for(Te=W.length-1;Te>=0;--Te){var Pe=W.charCodeAt(Te);if(Pe===U){if(!Me){le=Te+1;break}}else He===-1&&(Me=!1,He=Te+1),Fe>=0&&(Pe===B.charCodeAt(Fe)?--Fe===-1&&(Ce=Te):(Fe=-1,Ce=He))}return le===Ce?Ce=He:Ce===-1&&(Ce=W.length),W.slice(le,Ce)}else{for(Te=W.length-1;Te>=0;--Te)if(W.charCodeAt(Te)===U){if(!Me){le=Te+1;break}}else Ce===-1&&(Me=!1,Ce=Te+1);return Ce===-1?"":W.slice(le,Ce)}},extname:function(W){f(W,"path");for(var B=-1,le=0,Ce=-1,Me=!0,Te=0,Fe=W.length-1;Fe>=0;--Fe){var He=W.charCodeAt(Fe);if(He===U){if(!Me){le=Fe+1;break}continue}Ce===-1&&(Me=!1,Ce=Fe+1),He===O?B===-1?B=Fe:Te!==1&&(Te=1):B!==-1&&(Te=-1)}return B===-1||Ce===-1||Te===0||Te===1&&B===Ce-1&&B===le+1?"":W.slice(B,Ce)},format:function(W){if(W===null||typeof W!="object")throw new _("pathObject","Object",W);return s("/",W)},parse:function(W){f(W,"path");var B={root:"",dir:"",base:"",ext:"",name:""};if(W.length===0)return B;var le=W.charCodeAt(0)===U,Ce;le?(B.root="/",Ce=1):Ce=0;for(var Me=-1,Te=0,Fe=-1,He=!0,Pe=W.length-1,ne=0;Pe>=Ce;--Pe){var ee=W.charCodeAt(Pe);if(ee===U){if(!He){Te=Pe+1;break}continue}Fe===-1&&(He=!1,Fe=Pe+1),ee===O?Me===-1?Me=Pe:ne!==1&&(ne=1):Me!==-1&&(ne=-1)}return Me===-1||Fe===-1||ne===0||ne===1&&Me===Fe-1&&Me===Te+1?Fe!==-1&&(Te===0&&le?B.base=B.name=W.slice(1,Fe):B.base=B.name=W.slice(Te,Fe)):(Te===0&&le?(B.name=W.slice(1,Me),B.base=W.slice(1,Fe)):(B.name=W.slice(Te,Me),B.base=W.slice(Te,Fe)),B.ext=W.slice(Me,Fe)),Te>0?B.dir=W.slice(0,Te-1):le&&(B.dir="/"),B},sep:"/",delimiter:":",win32:null,posix:null};d.win32=l.win32=l,d.posix=l.posix=d;var m=T.c==="win32"?l.normalize:d.normalize,E=T.c==="win32"?l.join:d.join,L=T.c==="win32"?l.relative:d.relative,A=T.c==="win32"?l.dirname:d.dirname,k=T.c==="win32"?l.basename:d.basename,R=T.c==="win32"?l.extname:d.extname,$=T.c==="win32"?l.sep:d.sep},Msxo:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"r",extensions:[".r",".rhistory",".rprofile",".rt"],aliases:["R","r"],loader:function(){return e.e(308).then(e.bind(null,"Qx4d"))}})},MvK1:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re}),e.d(j,"b",function(){return J});var T=function(){function I(H,z,O){this.from=H|0,this.to=z|0,this.colorId=O|0}return I.compare=function(H,z){return H.colorId===z.colorId?H.from===z.from?H.to-z.to:H.from-z.from:H.colorId-z.colorId},I}(),re=function(){function I(H,z,O){this.startLineNumber=H,this.endLineNumber=z,this.color=O,this._colorZone=null}return I.compare=function(H,z){return H.color===z.color?H.startLineNumber===z.startLineNumber?H.endLineNumber-z.endLineNumber:H.startLineNumber-z.startLineNumber:H.colorO&&(s=O-l);var d=v.color,m=this._color2Id[d];m||(m=++this._lastAssignedId,this._color2Id[d]=m,this._id2Color[m]=d);var E=new T(s-l,s+l,m);v.setColorZone(E),y.push(E)}return this._colorZonesInvalid=!1,y.sort(T.compare),y},I}()},Mzro:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:function(){return e.e(318).then(e.bind(null,"l/4i"))}})},N0LK:function(Lt,j,e){"use strict";e.d(j,"x",function(){return T}),e.d(j,"F",function(){return re}),e.d(j,"r",function(){return I}),e.d(j,"o",function(){return H}),e.d(j,"p",function(){return z}),e.d(j,"Q",function(){return O}),e.d(j,"K",function(){return x}),e.d(j,"k",function(){return u}),e.d(j,"N",function(){return y}),e.d(j,"m",function(){return _}),e.d(j,"l",function(){return f}),e.d(j,"I",function(){return v}),e.d(j,"H",function(){return w}),e.d(j,"q",function(){return p}),e.d(j,"t",function(){return c}),e.d(j,"D",function(){return s}),e.d(j,"e",function(){return l}),e.d(j,"f",function(){return d}),e.d(j,"B",function(){return m}),e.d(j,"C",function(){return E}),e.d(j,"n",function(){return A}),e.d(j,"O",function(){return R}),e.d(j,"c",function(){return $}),e.d(j,"d",function(){return ie}),e.d(j,"z",function(){return W}),e.d(j,"A",function(){return B}),e.d(j,"u",function(){return le}),e.d(j,"E",function(){return Me}),e.d(j,"G",function(){return Te}),e.d(j,"i",function(){return He}),e.d(j,"g",function(){return ne}),e.d(j,"v",function(){return ae}),e.d(j,"h",function(){return q}),e.d(j,"y",function(){return ue}),e.d(j,"w",function(){return X}),e.d(j,"a",function(){return he}),e.d(j,"P",function(){return je}),e.d(j,"L",function(){return Xe}),e.d(j,"J",function(){return me}),e.d(j,"j",function(){return ge}),e.d(j,"M",function(){return we}),e.d(j,"s",function(){return Re}),e.d(j,"b",function(){return Ee});function T(C){return!C||typeof C!="string"?!0:C.trim().length===0}function re(C,F,se){se===void 0&&(se="0");for(var oe=""+C,be=[oe],De=oe.length;De=F.length?oe:F[De]})}function H(C){return C.replace(/[<>&]/g,function(F){switch(F){case"<":return"<";case">":return">";case"&":return"&";default:return F}})}function z(C){return C.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function O(C,F){F===void 0&&(F=" ");var se=U(C,F);return x(se,F)}function U(C,F){if(!C||!F)return C;var se=F.length;if(se===0||C.length===0)return C;for(var oe=0;C.indexOf(F,oe)===oe;)oe=oe+se;return C.substring(oe)}function x(C,F){if(!C||!F)return C;var se=F.length,oe=C.length;if(se===0||oe===0)return C;for(var be=oe,De=-1;!(De=C.lastIndexOf(F,be-1),De===-1||De+se!==be);){if(De===0)return"";be=De}return C.substring(0,be)}function u(C){return C.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function y(C,F){if(C.length0?C.indexOf(F,se)===se:se===0?C===F:!1}function f(C,F,se){if(se===void 0&&(se={}),!C)throw new Error("Cannot create regex from empty string");F||(C=z(C)),se.wholeWord&&(/\B/.test(C.charAt(0))||(C="\\b"+C),/\B/.test(C.charAt(C.length-1))||(C=C+"\\b"));var oe="";return se.global&&(oe+="g"),se.matchCase||(oe+="i"),se.multiline&&(oe+="m"),se.unicode&&(oe+="u"),new RegExp(C,oe)}function v(C){if(C.source==="^"||C.source==="^$"||C.source==="$"||C.source==="^\\s*$")return!1;var F=C.exec("");return!!(F&&C.lastIndex===0)}function w(C){return(C.global?"g":"")+(C.ignoreCase?"i":"")+(C.multiline?"m":"")+(C.unicode?"u":"")}function p(C){for(var F=0,se=C.length;F=0;se--){var oe=C.charCodeAt(se);if(oe!==32&&oe!==9)return se}return-1}function l(C,F){return CF?1:0}function d(C,F){for(var se=Math.min(C.length,F.length),oe=0;oeF.length?1:0}function m(C){return C>=97&&C<=122}function E(C){return C>=65&&C<=90}function L(C){return m(C)||E(C)}function A(C,F){return C.length===F.length&&k(C,F)}function k(C,F,se){se===void 0&&(se=C.length);for(var oe=0;oeC.length?!1:k(C,F,se)}function $(C,F){var se,oe=Math.min(C.length,F.length);for(se=0;se1){var oe=C.charCodeAt(F-2);if(W(oe))return(oe-55296<<10)+(se-56320)+65536}return se}function Me(C,F){var se=ve.getInstance(),oe=F,be=C.length,De=le(C,be,F);F+=De>=65536?2:1;for(var Se=se.getGraphemeBreakType(De);F=65536?2:1,Se=Qe}return F-oe}function Te(C,F){var se=ve.getInstance(),oe=F,be=Ce(C,F);F-=be>=65536?2:1;for(var De=se.getGraphemeBreakType(be);F>0;){var Se=Ce(C,F),Ve=se.getGraphemeBreakType(Se);if(Ee(Ve,De))break;F-=Se>=65536?2:1,De=Ve}return oe-F}var Fe=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function He(C){return Fe.test(C)}var Pe=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function ne(C){return Pe.test(C)}var ee=/^[\t\n\r\x20-\x7E]*$/;function ae(C){return ee.test(C)}function q(C){for(var F=0,se=C.length;F=11904&&C<=55215||C>=63744&&C<=64255||C>=65281&&C<=65374}function X(C){return C>=127462&&C<=127487||C>=9728&&C<=10175||C>=127744&&C<=128591||C>=128640&&C<=128764||C>=128992&&C<=129003||C>=129280&&C<=129535||C>=129648&&C<=129651||C>=129656&&C<=129666||C>=129680&&C<=129685}var he=String.fromCharCode(65279);function je(C){return!!(C&&C.length>0&&C.charCodeAt(0)===65279)}function Xe(C){return btoa(encodeURIComponent(C))}function me(C,F){for(var se="",oe=0;oese[3*be+1])be=2*be+1;else return se[3*be+2];return 0},C._INSTANCE=null,C}();function Q(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}},NR8r:function(Lt,j,e){"use strict";e.d(j,"a",function(){return w});var T=e("synD"),re=e.n(T),J=e("3/fG"),I=e("X+cX"),H=e("pmY6"),z=e("OBOq"),O=e("aokT"),U=e("sswD"),x=e("T8No"),u=e("t9D7"),y=e("MD5Z"),_=function(){var s=function(d,m){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,L){E.__proto__=L}||function(E,L){for(var A in L)L.hasOwnProperty(A)&&(E[A]=L[A])},s(d,m)};return function(l,d){s(l,d);function m(){this.constructor=l}l.prototype=d===null?Object.create(d):(m.prototype=d.prototype,new m)}}(),f=function(s,l,d,m){var E=arguments.length,L=E<3?l:m===null?m=Object.getOwnPropertyDescriptor(l,d):m,A;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")L=Reflect.decorate(s,l,d,m);else for(var k=s.length-1;k>=0;k--)(A=s[k])&&(L=(E<3?A(L):E>3?A(l,d,L):A(l,d))||L);return E>3&&L&&Object.defineProperty(l,d,L),L},v=function(s,l){return function(d,m){l(d,m,s)}},w=function(s){_(l,s);function l(d,m){var E=s.call(this)||this;return E.closeTimeout=3e3,E._messageWidget=E._register(new H.d),E._messageListeners=E._register(new H.b),E._editor=d,E._visible=l.MESSAGE_VISIBLE.bindTo(m),E._register(E._editor.onDidAttemptReadOnlyEdit(function(){return E._onDidAttemptReadOnlyEdit()})),E}return l.get=function(d){return d.getContribution(l.ID)},l.prototype.dispose=function(){s.prototype.dispose.call(this),this._visible.reset()},l.prototype.showMessage=function(d,m){var E=this;Object(z.a)(d),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new c(this._editor,m,d),this._messageListeners.add(this._editor.onDidBlurEditorText(function(){return E.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeCursorPosition(function(){return E.closeMessage()})),this._messageListeners.add(this._editor.onDidDispose(function(){return E.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeModel(function(){return E.closeMessage()})),this._messageListeners.add(new I.e(function(){return E.closeMessage()},this.closeTimeout));var L;this._messageListeners.add(this._editor.onMouseMove(function(A){if(!A.target.position)return;L?L.containsPosition(A.target.position)||E.closeMessage():L=new O.a(m.lineNumber-3,1,A.target.position.lineNumber+3,1)}))},l.prototype.closeMessage=function(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(c.fadeOut(this._messageWidget.value))},l.prototype._onDidAttemptReadOnlyEdit=function(){this._editor.hasModel()&&this.showMessage(J.a("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())},l.ID="editor.contrib.messageController",l.MESSAGE_VISIBLE=new x.d("messageVisible",!1),l=f([v(1,x.c)],l),l}(H.a),p=U.c.bindToContribution(w.get);Object(U.g)(new p({id:"leaveEditorMessage",precondition:w.MESSAGE_VISIBLE,handler:function(l){return l.closeMessage()},kbOpts:{weight:100+30,primary:9}}));var c=function(){function s(l,d,m){var E=d.lineNumber,L=d.column;this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=l,this._editor.revealLinesInCenterIfOutsideViewport(E,E,0),this._position={lineNumber:E,column:L-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");var A=document.createElement("div");A.classList.add("message"),A.textContent=m,this._domNode.appendChild(A);var k=document.createElement("div");k.classList.add("anchor"),this._domNode.appendChild(k),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}return s.fadeOut=function(l){var d,m=function E(){l.dispose(),clearTimeout(d),l.getDomNode().removeEventListener("animationend",E)};return d=setTimeout(m,110),l.getDomNode().addEventListener("animationend",m),l.getDomNode().classList.add("fadeOut"),{dispose:m}},s.prototype.dispose=function(){this._editor.removeContentWidget(this)},s.prototype.getId=function(){return"messageoverlay"},s.prototype.getDomNode=function(){return this._domNode},s.prototype.getPosition=function(){return{position:this._position,preference:[1,2]}},s}();Object(U.h)(w.ID,w),Object(u.e)(function(s,l){var d=s.getColor(y.gb);if(d){var m=s.type===u.b?2:1;l.addRule(".monaco-editor .monaco-editor-overlaymessage .anchor { border-top-color: "+d+"; }"),l.addRule(".monaco-editor .monaco-editor-overlaymessage .message { border: "+m+"px solid "+d+"; }")}var E=s.getColor(y.fb);E&&l.addRule(".monaco-editor .monaco-editor-overlaymessage .message { background-color: "+E+"; }");var L=s.getColor(y.hb);L&&l.addRule(".monaco-editor .monaco-editor-overlaymessage .message { color: "+L+"; }")})},OBOq:function(Lt,j,e){"use strict";e.d(j,"b",function(){return x}),e.d(j,"a",function(){return u}),e.d(j,"c",function(){return y});var T=e("UCkY"),re=e.n(T),J=e("3/fG"),I=e("MNsG"),H=e("EffR"),z,O,U;function x(w){z=document.createElement("div"),z.className="monaco-aria-container",O=document.createElement("div"),O.className="monaco-alert",O.setAttribute("role","alert"),O.setAttribute("aria-atomic","true"),z.appendChild(O),U=document.createElement("div"),U.className="monaco-status",U.setAttribute("role","status"),U.setAttribute("aria-atomic","true"),z.appendChild(U),w.appendChild(z)}function u(w,p){v(O,w,p)}function y(w,p){I.e?u(w,p):v(U,w,p)}var _=0,f=void 0;function v(w,p,c){if(!z)return;if(!c){f===p?_++:(f=p,_=0);switch(_){case 0:break;case 1:p=J.a("repeated","{0} (occurred again)",p);break;default:p=J.a("repeatedNtimes","{0} (occurred {1} times)",p,_);break}}H.t(w),w.textContent=p,w.style.visibility="hidden",w.style.visibility="visible"}},OKK6:function(Lt,j,e){},OOlL:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return e.e(274).then(e.bind(null,"NlLO"))}})},OhnE:function(Lt,j,e){},PTeM:function(Lt,j,e){"use strict";e.d(j,"c",function(){return J}),e.d(j,"a",function(){return I}),e.d(j,"b",function(){return H});var T=e("N0LK"),re=e("MrjW");function J(z){return z.replace(/[\\/]/g,re.posix.sep)}function I(z,O,U,x){if(x===void 0&&(x=re.sep),z===O)return!0;if(!z||!O)return!1;if(O.length>z.length)return!1;if(U){var u=Object(T.O)(z,O);if(!u)return!1;if(O.length===z.length)return!0;var y=O.length;return O.charAt(O.length-1)===x&&y--,z.charAt(y)===x}return O.charAt(O.length-1)!==x&&(O+=x),z.indexOf(O)===0}function H(z){return z>=65&&z<=90||z>=97&&z<=122}},Q4rV:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("bY76");function re(I){var H=JSON.parse(I);return H=J(H),H}function J(I,H){if(H===void 0&&(H=0),!I||H>200)return I;if(typeof I=="object"){switch(I.$mid){case 1:return T.a.revive(I);case 2:return new RegExp(I.source,I.flags)}for(var z in I)Object.hasOwnProperty.call(I,z)&&(I[z]=J(I[z],H+1))}return I}},Q631:function(Lt,j,e){"use strict";e.r(j),e.d(j,"rename",function(){return q}),e.d(j,"RenameAction",function(){return X});var T=e("3/fG"),re=e("/cxE"),J=e("T8No"),I=e("tTk5"),H=e("sswD"),z=e("wQH0"),O=e("BjKj"),U=e("pmY6"),x=e("cGHE"),u=e("aokT"),y=e("MD5Z"),_=e("t9D7"),f=e("bexQ"),v=e("EffR"),w=function(je,Xe,me,ge){var we=arguments.length,Re=we<3?Xe:ge===null?ge=Object.getOwnPropertyDescriptor(Xe,me):ge,Ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Re=Reflect.decorate(je,Xe,me,ge);else for(var ve=je.length-1;ve>=0;ve--)(Ee=je[ve])&&(Re=(we<3?Ee(Re):we>3?Ee(Xe,me,Re):Ee(Xe,me))||Re);return we>3&&Re&&Object.defineProperty(Xe,me,Re),Re},p=function(je,Xe){return function(me,ge){Xe(me,ge,je)}},c=new J.d("renameInputVisible",!1),s=function(){function je(Xe,me,ge,we,Re){var Ee=this;this._editor=Xe,this._acceptKeybindings=me,this._themeService=ge,this._keybindingService=we,this._disposables=new U.b,this.allowEditorOverflow=!0,this._visibleContextKey=c.bindTo(Re),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration(function(ve){ve.hasChanged(34)&&Ee._updateFont()})),this._disposables.add(ge.onThemeChange(this._updateStyles,this))}return je.prototype.dispose=function(){this._disposables.dispose(),this._editor.removeContentWidget(this)},je.prototype.getId=function(){return"__renameInputWidget"},je.prototype.getDomNode=function(){var Xe=this;if(!this._domNode){this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",Object(T.a)("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label);var me=function(){var we,Re,Ee=Xe._acceptKeybindings,ve=Ee[0],Q=Ee[1];Xe._keybindingService.lookupKeybinding(ve),Xe._label.innerText=Object(T.a)("label","{0} to Rename, {1} to Preview",(we=Xe._keybindingService.lookupKeybinding(ve))===null||we===void 0?void 0:we.getLabel(),(Re=Xe._keybindingService.lookupKeybinding(Q))===null||Re===void 0?void 0:Re.getLabel())};me(),this._disposables.add(this._keybindingService.onDidUpdateKeybindings(me)),this._updateFont(),this._updateStyles(this._themeService.getTheme())}return this._domNode},je.prototype._updateStyles=function(Xe){var me,ge,we,Re;if(!this._input||!this._domNode)return;var Ee=Xe.getColor(y.hc);this._domNode.style.backgroundColor=String((me=Xe.getColor(y.Q))!==null&&me!==void 0?me:""),this._domNode.style.boxShadow=Ee?" 0 2px 8px "+Ee:"",this._domNode.style.color=String((ge=Xe.getColor(y.bb))!==null&&ge!==void 0?ge:""),this._input.style.backgroundColor=String((we=Xe.getColor(y.Z))!==null&&we!==void 0?we:"");var ve=Xe.getColor(y.ab);this._input.style.borderWidth=ve?"1px":"0px",this._input.style.borderStyle=ve?"solid":"none",this._input.style.borderColor=(Re=ve==null?void 0:ve.toString())!==null&&Re!==void 0?Re:"none"},je.prototype._updateFont=function(){if(!this._input||!this._label)return;var Xe=this._editor.getOption(34);this._input.style.fontFamily=Xe.fontFamily,this._input.style.fontWeight=Xe.fontWeight,this._input.style.fontSize=Xe.fontSize+"px",this._label.style.fontSize=Xe.fontSize*.8+"px"},je.prototype.getPosition=function(){return this._visible?{position:this._position,preference:[2,1]}:null},je.prototype.acceptInput=function(Xe){this._currentAcceptInput&&this._currentAcceptInput(Xe)},je.prototype.cancelInput=function(Xe){this._currentCancelInput&&this._currentCancelInput(Xe)},je.prototype.getInput=function(Xe,me,ge,we,Re){var Ee=this;Object(v.Y)(this._domNode,"preview",Re),this._position=new x.a(Xe.startLineNumber,Xe.startColumn),this._input.value=me,this._input.setAttribute("selectionStart",ge.toString()),this._input.setAttribute("selectionEnd",we.toString()),this._input.size=Math.max((Xe.endColumn-Xe.startColumn)*1.1,20);var ve=new U.b;return new Promise(function(Q){Ee._currentCancelInput=function(F){return Ee._currentAcceptInput=void 0,Ee._currentCancelInput=void 0,Q(F),!0},Ee._currentAcceptInput=function(F){if(Ee._input.value.trim().length===0||Ee._input.value===me){Ee.cancelInput(!0);return}Ee._currentAcceptInput=void 0,Ee._currentCancelInput=void 0,Q({newName:Ee._input.value,wantsPreview:Re&&F})};var C=function(){var se=Ee._editor.getPosition();(!se||!u.a.containsPosition(Xe,se))&&Ee.cancelInput(!0)};ve.add(Ee._editor.onDidChangeCursorSelection(C)),ve.add(Ee._editor.onDidBlurEditorWidget(function(){return Ee.cancelInput(!1)})),Ee._show()}).finally(function(){ve.dispose(),Ee._hide()})},je.prototype._show=function(){var Xe=this;this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(function(){Xe._input.focus(),Xe._input.setSelectionRange(parseInt(Xe._input.getAttribute("selectionStart")),parseInt(Xe._input.getAttribute("selectionEnd")))},100)},je.prototype._hide=function(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)},je=w([p(2,_.c),p(3,f.a),p(4,J.c)],je),je}(),l=e("twdY"),d=e("OBOq"),m=e("NR8r"),E=e("vATl"),L=e("sM1p"),A=e("x/UI"),k=e("bY76"),R=e("Vxe3"),$=e("JQT/"),ie=e("X+cX"),W=e("746U"),B=e("09fa"),le=e("Cg/j"),Ce=e("ic2d"),Me=e("CRAX"),Te=e("e0rL"),Fe=function(){var je=function(me,ge){return je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(we,Re){we.__proto__=Re}||function(we,Re){for(var Ee in Re)Re.hasOwnProperty(Ee)&&(we[Ee]=Re[Ee])},je(me,ge)};return function(Xe,me){je(Xe,me);function ge(){this.constructor=Xe}Xe.prototype=me===null?Object.create(me):(ge.prototype=me.prototype,new ge)}}(),He=function(je,Xe,me,ge){var we=arguments.length,Re=we<3?Xe:ge===null?ge=Object.getOwnPropertyDescriptor(Xe,me):ge,Ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Re=Reflect.decorate(je,Xe,me,ge);else for(var ve=je.length-1;ve>=0;ve--)(Ee=je[ve])&&(Re=(we<3?Ee(Re):we>3?Ee(Xe,me,Re):Ee(Xe,me))||Re);return we>3&&Re&&Object.defineProperty(Xe,me,Re),Re},Pe=function(je,Xe){return function(me,ge){Xe(me,ge,je)}},ne=function(je,Xe,me,ge){function we(Re){return Re instanceof me?Re:new me(function(Ee){Ee(Re)})}return new(me||(me=Promise))(function(Re,Ee){function ve(F){try{C(ge.next(F))}catch(se){Ee(se)}}function Q(F){try{C(ge.throw(F))}catch(se){Ee(se)}}function C(F){F.done?Re(F.value):we(F.value).then(ve,Q)}C((ge=ge.apply(je,Xe||[])).next())})},ee=function(je,Xe){var me={label:0,sent:function(){if(Re[0]&1)throw Re[1];return Re[1]},trys:[],ops:[]},ge,we,Re,Ee;return Ee={next:ve(0),throw:ve(1),return:ve(2)},typeof Symbol=="function"&&(Ee[Symbol.iterator]=function(){return this}),Ee;function ve(C){return function(F){return Q([C,F])}}function Q(C){if(ge)throw new TypeError("Generator is already executing.");for(;me;)try{if(ge=1,we&&(Re=C[0]&2?we.return:C[0]?we.throw||((Re=we.return)&&Re.call(we),0):we.next)&&!(Re=Re.call(we,C[1])).done)return Re;(we=0,Re)&&(C=[C[0]&2,Re.value]);switch(C[0]){case 0:case 1:Re=C;break;case 4:return me.label++,{value:C[1],done:!1};case 5:me.label++,we=C[1],C=[0];continue;case 7:C=me.ops.pop(),me.trys.pop();continue;default:if(!(Re=me.trys,Re=Re.length>0&&Re[Re.length-1])&&(C[0]===6||C[0]===2)){me=0;continue}if(C[0]===3&&(!Re||C[1]>Re[0]&&C[1]0},je.prototype.resolveRenameLocation=function(Xe){return ne(this,void 0,void 0,function(){var me,ge,we,Re;return ee(this,function(Ee){switch(Ee.label){case 0:return me=this._providers[0],me?me.resolveRenameLocation?(we=W.n,[4,me.resolveRenameLocation(this.model,this.position,Xe)]):[3,2]:[2,void 0];case 1:ge=we.apply(void 0,[Ee.sent()]),Ee.label=2;case 2:return!ge&&(Re=this.model.getWordAtPosition(this.position),Re)?[2,{range:new u.a(this.position.lineNumber,Re.startColumn,this.position.lineNumber,Re.endColumn),text:Re.word}]:[2,ge]}})})},je.prototype.provideRenameEdits=function(Xe,me,ge,we){return ne(this,void 0,void 0,function(){var Re,Ee;return ee(this,function(ve){switch(ve.label){case 0:return Re=this._providers[me],Re?[4,Re.provideRenameEdits(this.model,this.position,Xe,we)]:[2,{edits:[],rejectReason:ge.join(` +`)}];case 1:if(Ee=ve.sent(),Ee){if(Ee.rejectReason)return[2,this.provideRenameEdits(Xe,me+1,ge.concat(Ee.rejectReason),we)]}else return[2,this.provideRenameEdits(Xe,me+1,ge.concat(T.a("no result","No result.")),we)];return[2,Ee]}})})},je}();function q(je,Xe,me){return ne(this,void 0,void 0,function(){return ee(this,function(ge){return[2,new ae(je,Xe).provideRenameEdits(me,0,[],$.a.None)]})})}var ue=function(){function je(Xe,me,ge,we,Re,Ee,ve){var Q=this;this.editor=Xe,this._instaService=me,this._notificationService=ge,this._bulkEditService=we,this._progressService=Re,this._logService=Ee,this._configService=ve,this._dispoableStore=new U.b,this._cts=new $.b,this._renameInputField=this._dispoableStore.add(new ie.b(function(){return Q._dispoableStore.add(Q._instaService.createInstance(s,Q.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))}))}return je.get=function(Xe){return Xe.getContribution(je.ID)},je.prototype.dispose=function(){this._dispoableStore.dispose(),this._cts.dispose(!0)},je.prototype.run=function(){return ne(this,void 0,void 0,function(){var Xe,me,ge,we,Re,Ee,ve,Q,C,F,se,oe=this;return ee(this,function(be){switch(be.label){case 0:if(this._cts.dispose(!0),!this.editor.hasModel())return[2,void 0];if(Xe=this.editor.getPosition(),me=new ae(this.editor.getModel(),Xe),!me.hasProvider())return[2,void 0];this._cts=new E.b(this.editor,4|1),be.label=1;case 1:return be.trys.push([1,3,,4]),we=me.resolveRenameLocation(this._cts.token),this._progressService.showWhile(we,250),[4,we];case 2:return ge=be.sent(),[3,4];case 3:return Re=be.sent(),m.a.get(this.editor).showMessage(Re||T.a("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),Xe),[2,void 0];case 4:return ge?ge.rejectReason?(m.a.get(this.editor).showMessage(ge.rejectReason,Xe),[2,void 0]):this._cts.token.isCancellationRequested?[2,void 0]:(Ee=this.editor.getSelection(),ve=0,Q=ge.text.length,!u.a.isEmpty(Ee)&&!u.a.spansMultipleLines(Ee)&&u.a.containsRange(ge.range,Ee)&&(ve=Math.max(0,Ee.startColumn-ge.range.startColumn),Q=Math.min(ge.range.endColumn,Ee.endColumn)-ge.range.startColumn),C=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),[4,this._renameInputField.getValue().getInput(ge.range,ge.text,ve,Q,C)]):[2,void 0];case 5:return F=be.sent(),typeof F=="boolean"?(F&&this.editor.focus(),[2,void 0]):(this.editor.focus(),se=Object(ie.j)(me.provideRenameEdits(F.newName,0,[],this._cts.token),this._cts.token).then(function(De){return ne(oe,void 0,void 0,function(){var Se=this;return ee(this,function(Ve){return!De||!this.editor.hasModel()?[2]:De.rejectReason?(this._notificationService.info(De.rejectReason),[2]):(this._bulkEditService.apply(De,{editor:this.editor,showPreview:F.wantsPreview,label:T.a("label","Renaming '{0}'",ge==null?void 0:ge.text)}).then(function(Qe){Qe.ariaSummary&&Object(d.a)(T.a("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",ge.text,F.newName,Qe.ariaSummary))}).catch(function(Qe){Se._notificationService.error(T.a("rename.failedApply","Rename failed to apply edits")),Se._logService.error(Qe)}),[2])})})},function(De){oe._notificationService.error(T.a("rename.failed","Rename failed to compute edits")),oe._logService.error(De)}),this._progressService.showWhile(se,250),[2,se])}})})},je.prototype.acceptRenameInput=function(Xe){this._renameInputField.getValue().acceptInput(Xe)},je.prototype.cancelRenameInput=function(){this._renameInputField.getValue().cancelInput(!0)},je.ID="editor.contrib.renameController",je=He([Pe(1,le.a),Pe(2,L.a),Pe(3,A.a),Pe(4,I.a),Pe(5,B.a),Pe(6,Te.a)],je),je}(),X=function(je){Fe(Xe,je);function Xe(){return je.call(this,{id:"editor.action.rename",label:T.a("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:J.a.and(z.a.writable,z.a.hasRenameProvider),kbOpts:{kbExpr:z.a.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})||this}return Xe.prototype.runCommand=function(me,ge){var we=this,Re=me.get(R.a),Ee=Array.isArray(ge)&&ge||[void 0,void 0],ve=Ee[0],Q=Ee[1];return k.a.isUri(ve)&&x.a.isIPosition(Q)?Re.openCodeEditor({resource:ve},Re.getActiveCodeEditor()).then(function(C){if(!C)return;C.setPosition(Q),C.invokeWithinContext(function(F){return we.reportTelemetry(F,C),we.run(F,C)})},re.e):je.prototype.runCommand.call(this,me,ge)},Xe.prototype.run=function(me,ge){var we=ue.get(ge);return we?we.run():Promise.resolve()},Xe}(H.b);Object(H.h)(ue.ID,ue),Object(H.f)(X);var he=H.c.bindToContribution(ue.get);Object(H.g)(new he({id:"acceptRenameInput",precondition:c,handler:function(Xe){return Xe.acceptRenameInput(!1)},kbOpts:{weight:100+99,kbExpr:z.a.focus,primary:3}})),Object(H.g)(new he({id:"acceptRenameInputWithPreview",precondition:J.a.and(c,J.a.has("config.editor.rename.enablePreview")),handler:function(Xe){return Xe.acceptRenameInput(!0)},kbOpts:{weight:100+99,kbExpr:z.a.focus,primary:1024+3}})),Object(H.g)(new he({id:"cancelRenameInput",precondition:c,handler:function(Xe){return Xe.cancelRenameInput()},kbOpts:{weight:100+99,kbExpr:z.a.focus,primary:9,secondary:[1024|9]}})),Object(H.e)("_executeDocumentRenameProvider",function(je,Xe,me){var ge=me.newName;if(typeof ge!="string")throw Object(re.b)("newName");return q(je,Xe,ge)}),Ce.a.as(Me.a.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:T.a("enablePreview","Enable/disable the ability to preview changes before renaming"),default:!0,type:"boolean"}}})},QDVR:function(Lt,j,e){"use strict";e.d(j,"e",function(){return re}),e.d(j,"d",function(){return J}),e.d(j,"c",function(){return O}),e.d(j,"b",function(){return U}),e.d(j,"a",function(){return u});var T=function(){var y=function(f,v){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,p){w.__proto__=p}||function(w,p){for(var c in p)p.hasOwnProperty(c)&&(w[c]=p[c])},y(f,v)};return function(_,f){y(_,f);function v(){this.constructor=_}_.prototype=f===null?Object.create(f):(v.prototype=f.prototype,new v)}}();function re(y){var _=[];return y.forEach(function(f){return _.push(f)}),_}function J(y){var _=[];return y.forEach(function(f,v){return _.push(v)}),_}var I=function(){function y(){this._value="",this._pos=0}return y.prototype.reset=function(_){return this._value=_,this._pos=0,this},y.prototype.next=function(){return this._pos+=1,this},y.prototype.hasNext=function(){return this._pos0)w.left||(w.left=new z,w.left.segment=v.value()),w=w.left;else if(p<0)w.right||(w.right=new z,w.right.segment=v.value()),w=w.right;else if(v.hasNext())v.next(),w.mid||(w.mid=new z,w.mid.segment=v.value()),w=w.mid;else break}var c=w.value;return w.value=f,w.key=_,c},y.prototype.get=function(_){for(var f=this._iter.reset(_),v=this._root;v;){var w=f.cmp(v.segment);if(w>0)v=v.left;else if(w<0)v=v.right;else if(f.hasNext())f.next(),v=v.mid;else break}return v?v.value:void 0},y.prototype.findSubstr=function(_){for(var f=this._iter.reset(_),v=this._root,w=void 0;v;){var p=f.cmp(v.segment);if(p>0)v=v.left;else if(p<0)v=v.right;else if(f.hasNext())f.next(),w=v.value||w,v=v.mid;else break}return v&&v.value||w},y.prototype.forEach=function(_){this._forEach(this._root,_)},y.prototype._forEach=function(_,f){_&&(this._forEach(_.left,f),_.value&&f(_.value,_.key),this._forEach(_.mid,f),this._forEach(_.right,f))},y}(),U=function(){function y(){this.map=new Map,this.ignoreCase=!1}return y.prototype.set=function(_,f){this.map.set(this.toKey(_),f)},y.prototype.get=function(_){return this.map.get(this.toKey(_))},y.prototype.toKey=function(_){var f=_.toString();return this.ignoreCase&&(f=f.toLowerCase()),f},y}(),x=function(){function y(){this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0}return y.prototype.clear=function(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0},Object.defineProperty(y.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),y.prototype.get=function(_,f){f===void 0&&(f=0);var v=this._map.get(_);return v?(f!==0&&this.touch(v,f),v.value):void 0},y.prototype.set=function(_,f,v){v===void 0&&(v=0);var w=this._map.get(_);if(w)w.value=f,v!==0&&this.touch(w,v);else{w={key:_,value:f,next:void 0,previous:void 0};switch(v){case 0:this.addItemLast(w);break;case 1:this.addItemFirst(w);break;case 2:this.addItemLast(w);break;default:this.addItemLast(w);break}this._map.set(_,w),this._size++}},y.prototype.delete=function(_){return!!this.remove(_)},y.prototype.remove=function(_){var f=this._map.get(_);return f?(this._map.delete(_),this.removeItem(f),this._size--,f.value):void 0},y.prototype.forEach=function(_,f){for(var v=this._head;v;)f?_.bind(f)(v.value,v.key,this):_(v.value,v.key,this),v=v.next},y.prototype.trimOld=function(_){if(_>=this.size)return;if(_===0){this.clear();return}for(var f=this._head,v=this.size;f&&v>_;)this._map.delete(f.key),f=f.next,v--;this._head=f,this._size=v,f&&(f.previous=void 0)},y.prototype.addItemFirst=function(_){if(!this._head&&!this._tail)this._tail=_;else if(this._head)_.next=this._head,this._head.previous=_;else throw new Error("Invalid list");this._head=_},y.prototype.addItemLast=function(_){if(!this._head&&!this._tail)this._head=_;else if(this._tail)_.previous=this._tail,this._tail.next=_;else throw new Error("Invalid list");this._tail=_},y.prototype.removeItem=function(_){if(_===this._head&&_===this._tail)this._head=void 0,this._tail=void 0;else if(_===this._head){if(!_.next)throw new Error("Invalid list");_.next.previous=void 0,this._head=_.next}else if(_===this._tail){if(!_.previous)throw new Error("Invalid list");_.previous.next=void 0,this._tail=_.previous}else{var f=_.next,v=_.previous;if(!f||!v)throw new Error("Invalid list");f.previous=v,v.next=f}_.next=void 0,_.previous=void 0},y.prototype.touch=function(_,f){if(!this._head||!this._tail)throw new Error("Invalid list");if(f!==1&&f!==2)return;if(f===1){if(_===this._head)return;var v=_.next,w=_.previous;_===this._tail?(w.next=void 0,this._tail=w):(v.previous=w,w.next=v),_.previous=void 0,_.next=this._head,this._head.previous=_,this._head=_}else if(f===2){if(_===this._tail)return;var v=_.next,w=_.previous;_===this._head?(v.previous=void 0,this._head=v):(v.previous=w,w.next=v),_.next=void 0,_.previous=this._tail,this._tail.next=_,this._tail=_}},y.prototype.toJSON=function(){var _=[];return this.forEach(function(f,v){_.push([v,f])}),_},y}(),u=function(y){T(_,y);function _(f,v){v===void 0&&(v=1);var w=y.call(this)||this;return w._limit=f,w._ratio=Math.min(Math.max(0,v),1),w}return _.prototype.get=function(f){return y.prototype.get.call(this,f,2)},_.prototype.peek=function(f){return y.prototype.get.call(this,f,0)},_.prototype.set=function(f,v){y.prototype.set.call(this,f,v,2),this.checkTrim()},_.prototype.checkTrim=function(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))},_}(x)},QFiB:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return e.e(293).then(e.bind(null,"PhST"))}})},QRHv:function(Lt,j,e){"use strict";e.d(j,"f",function(){return H}),e.d(j,"b",function(){return U}),e.d(j,"c",function(){return x}),e.d(j,"a",function(){return y}),e.d(j,"e",function(){return v}),e.d(j,"d",function(){return w});var T=e("6OMU"),re=e("4bUh"),J=e("cGHE"),I=e("twdY");function H(p){for(var c=0,s=0,l=0,d=0,m=p.length;d>>0}var O=new Uint32Array(0).buffer,U=function(){function p(){this.tokens=[]}return p.prototype.add=function(c,s){if(this.tokens.length>0){var l=this.tokens[this.tokens.length-1],d=l.startLineNumber+l.tokens.length-1;if(d+1===c){l.tokens.push(s);return}}this.tokens.push(new _(c,[s]))},p}(),x=function(){function p(c){this._tokens=c,this._tokenCount=c.length/4}return p.prototype.getMaxDeltaLine=function(){var c=this.getTokenCount();return c===0?-1:this.getDeltaLine(c-1)},p.prototype.getTokenCount=function(){return this._tokenCount},p.prototype.getDeltaLine=function(c){return this._tokens[4*c]},p.prototype.getStartCharacter=function(c){return this._tokens[4*c+1]},p.prototype.getEndCharacter=function(c){return this._tokens[4*c+2]},p.prototype.getMetadata=function(c){return this._tokens[4*c+3]},p.prototype.clear=function(){this._tokenCount=0},p.prototype.acceptDeleteRange=function(c,s,l,d,m){for(var E=this._tokens,L=this._tokenCount,A=d-s,k=0,R=!1,$=0;$m?le-=m-l:le=l;else if(W===s&&B===l)if(W===d&&le>m)le-=m-l;else{R=!0;continue}else if(Wm)W===s?(B=l,le=B+(le-m)):(B=0,le=B+(le-m));else{R=!0;continue}else if(W>d){if(A===0&&!R){k=L;break}W-=A}else if(W===d&&B>=m)c&&W===0&&(B+=c,le+=c),W-=A,B-=m-l,le-=m-l;else throw new Error("Not possible!");var Me=4*k;E[Me]=W,E[Me+1]=B,E[Me+2]=le,E[Me+3]=Ce,k++}this._tokenCount=k},p.prototype.acceptInsertText=function(c,s,l,d,m,E){for(var L=l===0&&d===1&&(E>=48&&E<=57||E>=65&&E<=90||E>=97&&E<=122),A=this._tokens,k=this._tokenCount,R=0;Rs)d=m-1;else{for(var L=m;L>l&&c.getDeltaLine(L-1)===s;)L--;for(var A=m;A0?s.charCodeAt(0):0)},p.prototype.acceptEdit=function(c,s,l,d,m){this._acceptDeleteRange(c),this._acceptInsertText(new J.a(c.startLineNumber,c.startColumn),s,l,d,m),this._updateEndLineNumber()},p.prototype._acceptDeleteRange=function(c){if(c.startLineNumber===c.endLineNumber&&c.startColumn===c.endColumn)return;var s=c.startLineNumber-this.startLineNumber,l=c.endLineNumber-this.startLineNumber;if(l<0){var d=l-s;this.startLineNumber-=d;return}var m=this.tokens.getMaxDeltaLine();if(s>=m+1)return;if(s<0&&l>=m+1){this.startLineNumber=0,this.tokens.clear();return}if(s<0){var E=-s;this.startLineNumber-=E,this.tokens.acceptDeleteRange(c.startColumn-1,0,0,l,c.endColumn-1)}else this.tokens.acceptDeleteRange(0,s,c.startColumn-1,l,c.endColumn-1)},p.prototype._acceptInsertText=function(c,s,l,d,m){if(s===0&&l===0)return;var E=c.lineNumber-this.startLineNumber;if(E<0){this.startLineNumber+=s;return}var L=this.tokens.getMaxDeltaLine();if(E>=L+1)return;this.tokens.acceptInsertText(E,c.column-1,s,l,d,m)},p}(),_=function(){function p(c,s){this.startLineNumber=c,this.tokens=s}return p}();function f(p){return p instanceof Uint32Array?p:new Uint32Array(p)}var v=function(){function p(){this._pieces=[]}return p.prototype.flush=function(){this._pieces=[]},p.prototype.set=function(c){this._pieces=c||[]},p.prototype.addSemanticTokens=function(c,s){var l=this._pieces;if(l.length===0)return s;var d=p._findFirstPieceWithLine(l,c),m=this._pieces[d].getLineTokens(c);if(!m)return s;for(var E=s.getCount(),L=m.getCount(),A=0,k=[],R=0,$=0;$>>0,Ce=~le>>>0;As)d=m-1;else{for(;m>l&&c[m-1].startLineNumber<=s&&s<=c[m-1].endLineNumber;)m--;return m}}return l},p.prototype.acceptEdit=function(c,s,l,d,m){for(var E=0,L=this._pieces;E1&&(m=I.A.getLanguageId(d[1])!==c),!m)return O}if(!d||d.length===0){var E=new Uint32Array(2);return E[0]=s,E[1]=z(c),E.buffer}return d[d.length-2]=s,d.byteOffset===0&&d.byteLength===d.buffer.byteLength?d.buffer:d},p.prototype._ensureLine=function(c){for(;c>=this._len;)this._lineTokens[this._len]=null,this._len++},p.prototype._deleteLines=function(c,s){if(s===0)return;c+s>this._len&&(s=this._len-c),this._lineTokens.splice(c,s),this._len-=s},p.prototype._insertLines=function(c,s){if(s===0)return;for(var l=[],d=0;d=this._len)return;if(c.startLineNumber===c.endLineNumber){if(c.startColumn===c.endColumn)return;this._lineTokens[s]=p._delete(this._lineTokens[s],c.startColumn-1,c.endColumn-1);return}this._lineTokens[s]=p._deleteEnding(this._lineTokens[s],c.startColumn-1);var l=c.endLineNumber-1,d=null;l=this._len)return;if(s===0){this._lineTokens[d]=p._insert(this._lineTokens[d],c.column-1,l);return}this._lineTokens[d]=p._deleteEnding(this._lineTokens[d],c.column-1),this._lineTokens[d]=p._insert(this._lineTokens[d],c.column-1,l),this._insertLines(c.lineNumber,s)},p._deleteBeginning=function(c,s){return c===null||c===O?c:p._delete(c,0,s)},p._deleteEnding=function(c,s){if(c===null||c===O)return c;var l=f(c),d=l[l.length-2];return p._delete(c,s,d)},p._delete=function(c,s,l){if(c===null||c===O||s===l)return c;var d=f(c),m=d.length>>>1;if(s===0&&d[d.length-2]===l)return O;var E=re.a.findIndexInTokensArray(d,s),L=E>0?d[E-1<<1]:0,A=d[E<<1];if(lie&&(d[$++]=le,d[$++]=d[(B<<1)+1],ie=le)}if($===d.length)return c;var Ce=new Uint32Array($);return Ce.set(d.subarray(0,$),0),Ce.buffer},p._append=function(c,s){if(s===O)return c;if(c===O)return s;if(c===null)return c;if(s===null)return null;var l=f(c),d=f(s),m=d.length>>>1,E=new Uint32Array(l.length+d.length);E.set(l,0);for(var L=l.length,A=l[l.length-2],k=0;k>>1,E=re.a.findIndexInTokensArray(d,s);if(E>0){var L=d[E-1<<1];L===s&&E--}for(var A=E;A0&&Ce[Ce.length-1])&&(He[0]===6||He[0]===2)){W=0;continue}if(He[0]===3&&(!Ce||He[1]>Ce[0]&&He[1]0&&!W.providerFilter.has(ue)?void 0:Promise.resolve(ue.provideCompletionItems($,ie,B,le)).then(function(X){var he=He.length;if(X){for(var je=0,Xe=X.suggestions||[];jeie.sortTextLow)return 1}return $.completion.labelie.completion.label?1:$.completion.kind-ie.completion.kind}function m($,ie){if($.completion.kind!==ie.completion.kind){if($.completion.kind===25)return-1;if(ie.completion.kind===25)return 1}return d($,ie)}function E($,ie){if($.completion.kind!==ie.completion.kind){if($.completion.kind===25)return 1;if(ie.completion.kind===25)return-1}return d($,ie)}var L=new Map;L.set(0,m),L.set(2,E),L.set(1,d);function A($){return L.get($)}Object(I.e)("_executeCompletionItemProvider",function($,ie,W){return _(void 0,void 0,void 0,function(){var B,le,Ce,Me,Te,Fe,He,Pe;return f(this,function(ne){switch(ne.label){case 0:return B={incomplete:!1,suggestions:[]},le=new y.b,Ce=[],Me=W.maxItemsToResolve||0,[4,l($,ie)];case 1:for(Te=ne.sent(),Fe=0,He=Te;Fe=0;Y--)(te=Je[Y])&&(G=(fe<3?te(G):fe>3?te($e,ze,G):te($e,ze))||G);return fe>3&&G&&Object.defineProperty($e,ze,G),G},Fe=function(Je,$e){return function(ze,Ke){$e(ze,Ke,Je)}},He=function(){function Je($e){this._resolverService=$e}return Je.prototype.hasChildren=function($e){return $e instanceof x.c?!0:$e instanceof x.a&&!$e.failure},Je.prototype.getChildren=function($e){if($e instanceof x.c)return $e.groups;if($e instanceof x.a)return $e.resolve(this._resolverService).then(function(ze){return ze.children});throw new Error("bad tree")},Je=Te([Fe(0,l.a)],Je),Je}(),Pe=function(){function Je(){}return Je.prototype.getHeight=function(){return 23},Je.prototype.getTemplateId=function($e){return $e instanceof x.a?q.id:X.id},Je}(),ne=function(){function Je($e){this._keybindingService=$e}return Je.prototype.getKeyboardNavigationLabel=function($e){if($e instanceof x.b){var ze=$e.parent.preview,Ke=ze&&ze.preview($e.range);if(Ke)return Ke.value}return Object(w.b)($e.uri)},Je=Te([Fe(0,B.a)],Je),Je}(),ee=function(){function Je(){}return Je.prototype.getId=function($e){return $e instanceof x.b?$e.id:$e.uri},Je}(),ae=function(Je){Me($e,Je);function $e(ze,Ke,fe){var G=Je.call(this)||this;G._uriLabel=Ke;var te=document.createElement("div");return y.f(te,"reference-file"),G.file=G._register(new d.a(te,{supportHighlights:!0})),G.badge=new k(y.q(te,y.a(".count"))),G._register(Object(ie.a)(G.badge,fe)),ze.appendChild(te),G}return $e.prototype.set=function(ze,Ke){var fe=Object(w.d)(ze.uri);this.file.setLabel(Object(W.a)(ze.uri),this._uriLabel.getUriLabel(fe,{relative:!0}),{title:this._uriLabel.getUriLabel(ze.uri),matches:Ke});var G=ze.children.length;this.badge.setCount(G),ze.failure?this.badge.setTitleFormat(Object(T.a)("referencesFailre","Failed to resolve file.")):G>1?this.badge.setTitleFormat(Object(T.a)("referencesCount","{0} references",G)):this.badge.setTitleFormat(Object(T.a)("referenceCount","{0} reference",G))},$e=Te([Fe(1,R.a),Fe(2,$.c)],$e),$e}(J.a),q=function(){function Je($e){this._instantiationService=$e,this.templateId=Je.id}return Je.prototype.renderTemplate=function($e){return this._instantiationService.createInstance(ae,$e)},Je.prototype.renderElement=function($e,ze,Ke){Ke.set($e.element,Object(le.c)($e.filterData))},Je.prototype.disposeTemplate=function($e){$e.dispose()},Je.id="FileReferencesRenderer",Je=Te([Fe(0,H.a)],Je),Je}(),ue=function(){function Je($e){this.label=new Ce.a($e,!1)}return Je.prototype.set=function($e,ze){var Ke=$e.parent.preview,fe=Ke&&Ke.preview($e.range);if(!fe)this.label.set(Object(w.b)($e.uri)+":"+($e.range.startLineNumber+1)+":"+($e.range.startColumn+1));else{var G=fe.value,te=fe.highlight;ze&&!le.a.isDefault(ze)?(y.Y(this.label.element,"referenceMatch",!1),this.label.set(G,Object(le.c)(ze))):(y.Y(this.label.element,"referenceMatch",!0),this.label.set(G,[te]))}},Je}(),X=function(){function Je(){this.templateId=Je.id}return Je.prototype.renderTemplate=function($e){return new ue($e)},Je.prototype.renderElement=function($e,ze,Ke){Ke.set($e.element,$e.filterData)},Je.prototype.disposeTemplate=function(){},Je.id="OneReferenceRenderer",Je}(),he=function(){function Je(){}return Je.prototype.getAriaLabel=function($e){return $e.ariaMessage},Je}(),je=e("k9mg"),Xe=e("MD5Z"),me=e("iNS8"),ge=e("51B1"),we=e("746U"),Re=e("Sdnv"),Ee=e("6OMU"),ve=e("cMOf"),Q=e("4y0V"),C=function(){var Je=function(ze,Ke){return Je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,G){fe.__proto__=G}||function(fe,G){for(var te in G)G.hasOwnProperty(te)&&(fe[te]=G[te])},Je(ze,Ke)};return function($e,ze){Je($e,ze);function Ke(){this.constructor=$e}$e.prototype=ze===null?Object.create(ze):(Ke.prototype=ze.prototype,new Ke)}}(),F=function(){for(var Je=0,$e=0,ze=arguments.length;$e0&&(this.proportions=this.viewItems.map(function(Ke){return Ke.size/ze.contentSize}))},$e.prototype.onSashStart=function(ze){for(var Ke=this,fe=ze.sash,G=ze.start,te=ze.alt,Y=0,de=this.viewItems;Y=this.viewItems.length)return;Ke=typeof Ke=="number"?Ke:ze.size,Ke=Object(Re.a)(Ke,ze.minimumSize,ze.maximumSize),this.inverseAltBehavior&&fe>0?(this.resize(fe-1,Math.floor((ze.size-Ke)/2)),this.distributeEmptySpace(),this.layoutViews()):(ze.size=Ke,this.relayout([fe],void 0))},$e.prototype.resizeView=function(ze,Ke){var fe=this;if(this.state!==Se.Idle)throw new Error("Cant modify splitview");if(this.state=Se.Busy,ze<0||ze>=this.viewItems.length)return;var G=Object(Ee.u)(this.viewItems.length).filter(function(ke){return ke!==ze}),te=F(G.filter(function(ke){return fe.viewItems[ke].priority===1}),[ze]),Y=G.filter(function(ke){return fe.viewItems[ke].priority===2}),de=this.viewItems[ze];Ke=Math.round(Ke),Ke=Object(Re.a)(Ke,de.minimumSize,Math.min(de.maximumSize,this.size)),de.size=Ke,this.relayout(te,Y),this.state=Se.Idle},$e.prototype.distributeViewSizes=function(){for(var ze=this,Ke=[],fe=0,G=0,te=this.viewItems;G0&&(Ke.push(Y),fe+=Y.size)}for(var de=Math.floor(fe/Ke.length),ke=0,lt=Ke;ke=this.viewItems.length?-1:this.viewItems[ze].size},$e.prototype.doAddView=function(ze,Ke,fe,G){var te=this;if(fe===void 0&&(fe=this.viewItems.length),this.state!==Se.Idle)throw new Error("Cant modify splitview");this.state=Se.Busy;var Y=y.a(".split-view-view");fe===this.viewItems.length?this.viewContainer.appendChild(Y):this.viewContainer.insertBefore(Y,this.viewContainer.children.item(fe));var de=ze.onDidChange(function(Vo){return te.onViewChange(Jt,Vo)}),ke=Object(J.h)(function(){return te.viewContainer.removeChild(Y)}),lt=Object(J.e)(de,ke),Tt;typeof Ke=="number"?Tt=Ke:Ke.type==="split"?Tt=this.getViewSize(Ke.index)/2:Ke.type==="invisible"?Tt={cachedVisibleSize:Ke.cachedVisibleSize}:Tt=ze.minimumSize;var Jt=this.orientation===0?new be(Y,ze,Tt,lt):new De(Y,ze,Tt,lt);if(this.viewItems.splice(fe,0,Jt),this.viewItems.length>1){var eo=this.orientation===0?1:0,po=this.orientation===0?{getHorizontalSashTop:function(mn){return te.getSashPosition(mn)}}:{getVerticalSashLeft:function(mn){return te.getSashPosition(mn)}},co=new ve.a(this.sashContainer,po,{orientation:eo,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}),Eo=this.orientation===0?function(Vo){return{sash:co,start:Vo.startY,current:Vo.currentY,alt:Vo.altKey}}:function(Vo){return{sash:co,start:Vo.startX,current:Vo.currentX,alt:Vo.altKey}},Oo=f.b.map(co.onDidStart,Eo),Ao=Oo(this.onSashStart,this),Zo=f.b.map(co.onDidChange,Eo),Co=Zo(this.onSashChange,this),Wo=f.b.map(co.onDidEnd,function(){return Object(Ee.k)(te.sashItems,function(Vo){return Vo.sash===co})}),Go=Wo(this.onSashEnd,this),Bo=co.onDidReset(function(){var Vo=Object(Ee.k)(te.sashItems,function(pn){return pn.sash===co}),mn=Object(Ee.u)(Vo,-1),yn=Object(Ee.u)(Vo+1,te.viewItems.length),dn=te.findFirstSnapIndex(mn),rn=te.findFirstSnapIndex(yn);if(typeof dn=="number"&&!te.viewItems[dn].visible)return;if(typeof rn=="number"&&!te.viewItems[rn].visible)return;te._onDidSashReset.fire(Vo)}),Mo=Object(J.e)(Ao,Co,Go,Bo,co),Qo={sash:co,disposable:Mo};this.sashItems.splice(fe-1,0,Qo)}Y.appendChild(ze.element);var fn;typeof Ke!="number"&&Ke.type==="split"&&(fn=[Ke.index]),G||this.relayout([fe],fn),this.state=Se.Idle,!G&&typeof Ke!="number"&&Ke.type==="distribute"&&this.distributeViewSizes()},$e.prototype.relayout=function(ze,Ke){var fe=this.viewItems.reduce(function(G,te){return G+te.size},0);this.resize(this.viewItems.length-1,this.size-fe,void 0,ze,Ke),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()},$e.prototype.resize=function(ze,Ke,fe,G,te,Y,de,ke,lt){var Tt=this;if(fe===void 0&&(fe=this.viewItems.map(function(_e){return _e.size})),Y===void 0&&(Y=Number.NEGATIVE_INFINITY),de===void 0&&(de=Number.POSITIVE_INFINITY),ze<0||ze>=this.viewItems.length)return 0;var Jt=Object(Ee.u)(ze,-1),eo=Object(Ee.u)(ze+1,this.viewItems.length);if(te)for(var po=0,co=te;po=ke.limitDelta;dn=pn!==rn.visible,rn.setVisible(pn,ke.size)}if(!dn&<){var rn=this.viewItems[lt.index],pn=Ke0||ze});ze=!1;var fe=this.viewItems.map(function(Co){return ze=Co.maximumSize-Co.size>0||ze}),G=F(this.viewItems).reverse();ze=!1;var te=G.map(function(Co){return ze=Co.size-Co.minimumSize>0||ze}).reverse();ze=!1;for(var Y=G.map(function(Co){return ze=Co.maximumSize-Co.size>0||ze}).reverse(),de=0,ke=0;ke0||this.startSnappingEnabled)?lt.state=1:Zo&&Ke[ke]&&(de0)return;if(!te.visible&&te.snap)return G}return},$e.prototype.dispose=function(){Je.prototype.dispose.call(this),this.viewItems.forEach(function(ze){return ze.dispose()}),this.viewItems=[],this.sashItems.forEach(function(ze){return ze.disposable.dispose()}),this.sashItems=[]},$e}(J.a),it=function(){var Je=function(ze,Ke){return Je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,G){fe.__proto__=G}||function(fe,G){for(var te in G)G.hasOwnProperty(te)&&(fe[te]=G[te])},Je(ze,Ke)};return function($e,ze){Je($e,ze);function Ke(){this.constructor=$e}$e.prototype=ze===null?Object.create(ze):(Ke.prototype=ze.prototype,new Ke)}}(),pt=function(Je,$e,ze,Ke){var fe=arguments.length,G=fe<3?$e:Ke===null?Ke=Object.getOwnPropertyDescriptor($e,ze):Ke,te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")G=Reflect.decorate(Je,$e,ze,Ke);else for(var Y=Je.length-1;Y>=0;Y--)(te=Je[Y])&&(G=(fe<3?te(G):fe>3?te($e,ze,G):te($e,ze))||G);return fe>3&&G&&Object.defineProperty($e,ze,G),G},Rt=function(Je,$e){return function(ze,Ke){$e(ze,Ke,Je)}},Mt=function(Je,$e,ze,Ke){function fe(G){return G instanceof ze?G:new ze(function(te){te(G)})}return new(ze||(ze=Promise))(function(G,te){function Y(lt){try{ke(Ke.next(lt))}catch(Tt){te(Tt)}}function de(lt){try{ke(Ke.throw(lt))}catch(Tt){te(Tt)}}function ke(lt){lt.done?G(lt.value):fe(lt.value).then(Y,de)}ke((Ke=Ke.apply(Je,$e||[])).next())})},zt=function(Je,$e){var ze={label:0,sent:function(){if(G[0]&1)throw G[1];return G[1]},trys:[],ops:[]},Ke,fe,G,te;return te={next:Y(0),throw:Y(1),return:Y(2)},typeof Symbol=="function"&&(te[Symbol.iterator]=function(){return this}),te;function Y(ke){return function(lt){return de([ke,lt])}}function de(ke){if(Ke)throw new TypeError("Generator is already executing.");for(;ze;)try{if(Ke=1,fe&&(G=ke[0]&2?fe.return:ke[0]?fe.throw||((G=fe.return)&&G.call(fe),0):fe.next)&&!(G=G.call(fe,ke[1])).done)return G;(fe=0,G)&&(ke=[ke[0]&2,G.value]);switch(ke[0]){case 0:case 1:G=ke;break;case 4:return ze.label++,{value:ke[1],done:!1};case 5:ze.label++,fe=ke[1],ke=[0];continue;case 7:ke=ze.ops.pop(),ze.trys.pop();continue;default:if(!(G=ze.trys,G=G.length>0&&G[G.length-1])&&(ke[0]===6||ke[0]===2)){ze=0;continue}if(ke[0]===3&&(!G||ke[1]>G[0]&&ke[1]0?ze.children[0]:void 0},$e.prototype._revealReference=function(ze,Ke){return Mt(this,void 0,void 0,function(){var fe,G,te,Y,de;return zt(this,function(ke){switch(ke.label){case 0:return this._revealedReference===ze?[2]:(this._revealedReference=ze,ze.uri.scheme!==v.b.inMemory?this.setTitle(Object(w.c)(ze.uri),this._uriLabel.getUriLabel(Object(w.d)(ze.uri))):this.setTitle(T.a("peekView.alternateTitle","References")),fe=this._textModelResolverService.createModelReference(ze.uri),this._tree.getInput()===ze.parent?(this._tree.reveal(ze),[3,3]):[3,1]);case 1:return Ke&&this._tree.reveal(ze.parent),[4,this._tree.expand(ze.parent)];case 2:ke.sent(),this._tree.reveal(ze),ke.label=3;case 3:return[4,fe];case 4:return G=ke.sent(),this._model?(Object(J.f)(this._previewModelReference),te=G.object,te?(Y=this._preview.getModel()===te.textEditorModel?0:1,de=c.a.lift(ze.range).collapseToStart(),this._previewModelReference=G,this._preview.setModel(te.textEditorModel),this._preview.setSelection(de),this._preview.revealRangeInCenter(de,Y)):(this._preview.setModel(this._previewNotAvailableMessage),G.dispose()),[2]):(G.dispose(),[2])}})})},$e=pt([Rt(3,$.c),Rt(4,l.a),Rt(5,H.a),Rt(6,me.a),Rt(7,R.a)],$e),$e}(me.c);Object($.e)(function(Je,$e){var ze=Je.getColor(me.m);ze&&$e.addRule(".monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { background-color: "+ze+"; }");var Ke=Je.getColor(me.h);Ke&&$e.addRule(".monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: "+Ke+"; }");var fe=Je.getColor(me.i);fe&&$e.addRule(".monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid "+fe+"; box-sizing: border-box; }");var G=Je.getColor(Xe.b);G&&$e.addRule(".monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { border: 1px dotted "+G+"; box-sizing: border-box; }");var te=Je.getColor(me.j);te&&$e.addRule(".monaco-editor .reference-zone-widget .ref-tree { background-color: "+te+"; }");var Y=Je.getColor(me.l);Y&&$e.addRule(".monaco-editor .reference-zone-widget .ref-tree { color: "+Y+"; }");var de=Je.getColor(me.k);de&&$e.addRule(".monaco-editor .reference-zone-widget .ref-tree .reference-file { color: "+de+"; }");var ke=Je.getColor(me.n);ke&&$e.addRule(".monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: "+ke+"; }");var lt=Je.getColor(me.o);lt&&$e.addRule(".monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: "+lt+" !important; }");var Tt=Je.getColor(me.f);Tt&&$e.addRule(".monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {"+(" background-color: "+Tt+";")+"}");var Jt=Je.getColor(me.g);Jt&&$e.addRule(".monaco-editor .reference-zone-widget .preview .monaco-editor .margin {"+(" background-color: "+Jt+";")+"}")});var Pt=e("cGHE"),ft=e("sM1p"),vt=e("X+cX"),At=e("nrhi"),at=e("/kV6"),tt=e("nnTU"),ut=function(Je,$e,ze,Ke){var fe=arguments.length,G=fe<3?$e:Ke===null?Ke=Object.getOwnPropertyDescriptor($e,ze):Ke,te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")G=Reflect.decorate(Je,$e,ze,Ke);else for(var Y=Je.length-1;Y>=0;Y--)(te=Je[Y])&&(G=(fe<3?te(G):fe>3?te($e,ze,G):te($e,ze))||G);return fe>3&&G&&Object.defineProperty($e,ze,G),G},Ct=function(Je,$e){return function(ze,Ke){$e(ze,Ke,Je)}},gt=function(Je,$e,ze,Ke){function fe(G){return G instanceof ze?G:new ze(function(te){te(G)})}return new(ze||(ze=Promise))(function(G,te){function Y(lt){try{ke(Ke.next(lt))}catch(Tt){te(Tt)}}function de(lt){try{ke(Ke.throw(lt))}catch(Tt){te(Tt)}}function ke(lt){lt.done?G(lt.value):fe(lt.value).then(Y,de)}ke((Ke=Ke.apply(Je,$e||[])).next())})},bt=function(Je,$e){var ze={label:0,sent:function(){if(G[0]&1)throw G[1];return G[1]},trys:[],ops:[]},Ke,fe,G,te;return te={next:Y(0),throw:Y(1),return:Y(2)},typeof Symbol=="function"&&(te[Symbol.iterator]=function(){return this}),te;function Y(ke){return function(lt){return de([ke,lt])}}function de(ke){if(Ke)throw new TypeError("Generator is already executing.");for(;ze;)try{if(Ke=1,fe&&(G=ke[0]&2?fe.return:ke[0]?fe.throw||((G=fe.return)&&G.call(fe),0):fe.next)&&!(G=G.call(fe,ke[1])).done)return G;(fe=0,G)&&(ke=[ke[0]&2,G.value]);switch(ke[0]){case 0:case 1:G=ke;break;case 4:return ze.label++,{value:ke[1],done:!1};case 5:ze.label++,fe=ke[1],ke=[0];continue;case 7:ke=ze.ops.pop(),ze.trys.pop();continue;default:if(!(G=ze.trys,G=G.length>0&&G[G.length-1])&&(ke[0]===6||ke[0]===2)){ze=0;continue}if(ke[0]===3&&(!G||ke[1]>G[0]&&ke[1]v&&(w=v-f),w<0&&(w=0),p<0&&(p=0),s+p>c&&(s=c-p),s<0&&(s=0),this.width=f,this.scrollWidth=v,this.scrollLeft=w,this.height=p,this.scrollHeight=c,this.scrollTop=s}return _.prototype.equals=function(f){return this.width===f.width&&this.scrollWidth===f.scrollWidth&&this.scrollLeft===f.scrollLeft&&this.height===f.height&&this.scrollHeight===f.scrollHeight&&this.scrollTop===f.scrollTop},_.prototype.withScrollDimensions=function(f){return new _(typeof f.width!="undefined"?f.width:this.width,typeof f.scrollWidth!="undefined"?f.scrollWidth:this.scrollWidth,this.scrollLeft,typeof f.height!="undefined"?f.height:this.height,typeof f.scrollHeight!="undefined"?f.scrollHeight:this.scrollHeight,this.scrollTop)},_.prototype.withScrollPosition=function(f){return new _(this.width,this.scrollWidth,typeof f.scrollLeft!="undefined"?f.scrollLeft:this.scrollLeft,this.height,this.scrollHeight,typeof f.scrollTop!="undefined"?f.scrollTop:this.scrollTop)},_.prototype.createScrollEvent=function(f){var v=this.width!==f.width,w=this.scrollWidth!==f.scrollWidth,p=this.scrollLeft!==f.scrollLeft,c=this.height!==f.height,s=this.scrollHeight!==f.scrollHeight,l=this.scrollTop!==f.scrollTop;return{width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:v,scrollWidthChanged:w,scrollLeftChanged:p,heightChanged:c,scrollHeightChanged:s,scrollTopChanged:l}},_}(),H=function(_){J(f,_);function f(v,w){var p=_.call(this)||this;return p._onScroll=p._register(new T.a),p.onScroll=p._onScroll.event,p._smoothScrollDuration=v,p._scheduleAtNextAnimationFrame=w,p._state=new I(0,0,0,0,0,0),p._smoothScrolling=null,p}return f.prototype.dispose=function(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),_.prototype.dispose.call(this)},f.prototype.setSmoothScrollDuration=function(v){this._smoothScrollDuration=v},f.prototype.validateScrollPosition=function(v){return this._state.withScrollPosition(v)},f.prototype.getScrollDimensions=function(){return this._state},f.prototype.setScrollDimensions=function(v){var w=this._state.withScrollDimensions(v);this._setState(w),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)},f.prototype.getFutureScrollPosition=function(){return this._smoothScrolling?this._smoothScrolling.to:this._state},f.prototype.getCurrentScrollPosition=function(){return this._state},f.prototype.setScrollPositionNow=function(v){var w=this._state.withScrollPosition(v);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(w)},f.prototype.setScrollPositionSmooth=function(v){var w=this;if(this._smoothScrollDuration===0)return this.setScrollPositionNow(v);if(this._smoothScrolling){v={scrollLeft:typeof v.scrollLeft=="undefined"?this._smoothScrolling.to.scrollLeft:v.scrollLeft,scrollTop:typeof v.scrollTop=="undefined"?this._smoothScrolling.to.scrollTop:v.scrollTop};var p=this._state.withScrollPosition(v);if(this._smoothScrolling.to.scrollLeft===p.scrollLeft&&this._smoothScrolling.to.scrollTop===p.scrollTop)return;var c=this._smoothScrolling.combine(this._state,p,this._smoothScrollDuration);this._smoothScrolling.dispose(),this._smoothScrolling=c}else{var p=this._state.withScrollPosition(v);this._smoothScrolling=x.start(this._state,p,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(function(){if(!w._smoothScrolling)return;w._smoothScrolling.animationFrameDisposable=null,w._performSmoothScrolling()})},f.prototype._performSmoothScrolling=function(){var v=this;if(!this._smoothScrolling)return;var w=this._smoothScrolling.tick(),p=this._state.withScrollPosition(w);if(this._setState(p),w.isDone){this._smoothScrolling.dispose(),this._smoothScrolling=null;return}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(function(){if(!v._smoothScrolling)return;v._smoothScrolling.animationFrameDisposable=null,v._performSmoothScrolling()})},f.prototype._setState=function(v){var w=this._state;if(w.equals(v))return;this._state=v,this._onScroll.fire(this._state.createScrollEvent(w))},f}(re.a),z=function(){function _(f,v,w){this.scrollLeft=f,this.scrollTop=v,this.isDone=w}return _}();function O(_,f){var v=f-_;return function(w){return _+v*y(w)}}function U(_,f,v){return function(w){return w2.5*w){var c=void 0,s=void 0;return f0?R.actionBar.push(ie,{icon:!0,label:!1}):!R.actionBar.isEmpty()&&(!ie||ie.length===0)&&R.actionBar.clear(),A instanceof c&&A.getGroupLabel()?z.f(R.container,"has-group-label"):z.P(R.container,"has-group-label"),A instanceof c){var W=A,B=R;W.showBorder()?(z.f(B.container,"results-group-separator"),$.pickerGroupBorder&&(B.container.style.borderTopColor=$.pickerGroupBorder.toString())):(z.P(B.container,"results-group-separator"),B.container.style.borderTopColor="");var le=W.getGroupLabel()||"";B.group&&(B.group.textContent=le,$.pickerGroupForeground&&(B.group.style.color=$.pickerGroupForeground.toString()))}if(A instanceof p){var Ce=A.getHighlights(),Me=Ce[0],Te=Ce[1],Fe=Ce[2],He=A.getIcon()?"quick-open-entry-icon "+A.getIcon():"";R.icon.className=He;var Pe=A.getLabelOptions()||Object.create(null);Pe.matches=Me||[],Pe.title=A.getTooltip(),Pe.descriptionTitle=A.getDescriptionTooltip()||A.getDescription(),Pe.descriptionMatches=Te||[],R.label.setLabel(A.getLabel()||"",A.getDescription(),Pe),R.detail.set(A.getDetail(),Fe),R.keybinding.set(A.getKeybinding())}},L.prototype.disposeTemplate=function(A,k){k.actionBar.dispose(),k.actionBar=null,k.container=null,k.entry=null,k.keybinding=null,k.detail=null,k.group=null,k.icon=null,k.label.dispose(),k.label=null},L}(),E=function(){function L(A,k){A===void 0&&(A=[]),k===void 0&&(k=new s),this._entries=A,this._dataSource=this,this._renderer=new m(k),this._filter=this,this._runner=this,this._accessibilityProvider=this}return Object.defineProperty(L.prototype,"entries",{get:function(){return this._entries},set:function(k){this._entries=k},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"dataSource",{get:function(){return this._dataSource},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"renderer",{get:function(){return this._renderer},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"runner",{get:function(){return this._runner},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"accessibilityProvider",{get:function(){return this._accessibilityProvider},enumerable:!0,configurable:!0}),L.prototype.getId=function(A){return A.getId()},L.prototype.getLabel=function(A){return re.o(A.getLabel())},L.prototype.getAriaLabel=function(A){var k=A.getAriaLabel();return k?T.a("quickOpenAriaLabelEntry","{0}, picker",A.getAriaLabel()):T.a("quickOpenAriaLabel","picker")},L.prototype.isVisible=function(A){return!A.isHidden()},L.prototype.run=function(A,k,R){return A.run(k,R)},L}()},S3by:function(Lt,j,e){"use strict";var T=e("3/fG"),re=e("N0LK"),J;(function(I){I[I.Ignore=0]="Ignore",I[I.Info=1]="Info",I[I.Warning=2]="Warning",I[I.Error=3]="Error"})(J||(J={})),function(I){var H="error",z="warning",O="warn",U="info",x=Object.create(null);x[I.Error]=T.a("sev.error","Error"),x[I.Warning]=T.a("sev.warning","Warning"),x[I.Info]=T.a("sev.info","Info");function u(y){return y?re.n(H,y)?I.Error:re.n(z,y)||re.n(O,y)?I.Warning:re.n(U,y)?I.Info:I.Ignore:I.Ignore}I.fromValue=u}(J||(J={})),j.a=J},SBYE:function(Lt,j,e){"use strict";e.r(j);var T=e("QaAZ"),re=e.n(T),J=e("D3Dy"),I=e("EffR"),H=e("ZlPH"),z=e("Md8J"),O=e("OBOq"),U=e("G300"),x=e("pmY6"),u=e("MNsG"),y=e("N0LK"),_=e("bY76"),f=e("sswD"),v=e("wQH0"),w=e("k7pc"),p=e("T8No"),c=e("Cg/j"),s=e("bexQ"),l=e("W9cx"),d=e("MD5Z"),m=e("t9D7"),E=e("A9l+"),L=function(){var Ce=function(Te,Fe){return Ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(He,Pe){He.__proto__=Pe}||function(He,Pe){for(var ne in Pe)Pe.hasOwnProperty(ne)&&(He[ne]=Pe[ne])},Ce(Te,Fe)};return function(Me,Te){Ce(Me,Te);function Fe(){this.constructor=Me}Me.prototype=Te===null?Object.create(Te):(Fe.prototype=Te.prototype,new Fe)}}(),A=function(Ce,Me,Te,Fe){var He=arguments.length,Pe=He<3?Me:Fe===null?Fe=Object.getOwnPropertyDescriptor(Me,Te):Fe,ne;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Pe=Reflect.decorate(Ce,Me,Te,Fe);else for(var ee=Ce.length-1;ee>=0;ee--)(ne=Ce[ee])&&(Pe=(He<3?ne(Pe):He>3?ne(Me,Te,Pe):ne(Me,Te))||Pe);return He>3&&Pe&&Object.defineProperty(Me,Te,Pe),Pe},k=function(Ce,Me){return function(Te,Fe){Me(Te,Fe,Ce)}},R=new p.d("accessibilityHelpWidgetVisible",!1),$=function(Ce){L(Me,Ce);function Me(Te,Fe){var He=Ce.call(this)||this;return He._editor=Te,He._widget=He._register(Fe.createInstance(W,He._editor)),He}return Me.get=function(Te){return Te.getContribution(Me.ID)},Me.prototype.show=function(){this._widget.show()},Me.prototype.hide=function(){this._widget.hide()},Me.ID="editor.contrib.accessibilityHelpController",Me=A([k(1,c.a)],Me),Me}(x.a);function ie(Ce,Me){return!Ce||Ce.length===0?E.a.noSelection:Ce.length===1?Me?y.r(E.a.singleSelectionRange,Ce[0].positionLineNumber,Ce[0].positionColumn,Me):y.r(E.a.singleSelection,Ce[0].positionLineNumber,Ce[0].positionColumn):Me?y.r(E.a.multiSelectionRange,Ce.length,Me):Ce.length>0?y.r(E.a.multiSelection,Ce.length):""}var W=function(Ce){L(Me,Ce);function Me(Te,Fe,He,Pe){var ne=Ce.call(this)||this;return ne._contextKeyService=Fe,ne._keybindingService=He,ne._openerService=Pe,ne._editor=Te,ne._isVisibleKey=R.bindTo(ne._contextKeyService),ne._domNode=Object(H.b)(document.createElement("div")),ne._domNode.setClassName("accessibilityHelpWidget"),ne._domNode.setDisplay("none"),ne._domNode.setAttribute("role","dialog"),ne._domNode.setAttribute("aria-hidden","true"),ne._contentDomNode=Object(H.b)(document.createElement("div")),ne._contentDomNode.setAttribute("role","document"),ne._domNode.appendChild(ne._contentDomNode),ne._isVisible=!1,ne._register(ne._editor.onDidLayoutChange(function(){ne._isVisible&&ne._layout()})),ne._register(I.o(ne._contentDomNode.domNode,"keydown",function(ee){if(!ne._isVisible)return;if(ee.equals(2048|35)&&(Object(O.a)(E.a.emergencyConfOn),ne._editor.updateOptions({accessibilitySupport:"on"}),I.t(ne._contentDomNode.domNode),ne._buildContent(),ne._contentDomNode.domNode.focus(),ee.preventDefault(),ee.stopPropagation()),ee.equals(2048|38)){Object(O.a)(E.a.openingDocs);var ae=ne._editor.getRawOptions().accessibilityHelpUrl;typeof ae=="undefined"&&(ae="https://go.microsoft.com/fwlink/?linkid=852450"),ne._openerService.open(_.a.parse(ae)),ee.preventDefault(),ee.stopPropagation()}})),ne.onblur(ne._contentDomNode.domNode,function(){ne.hide()}),ne._editor.addOverlayWidget(ne),ne}return Me.prototype.dispose=function(){this._editor.removeOverlayWidget(this),Ce.prototype.dispose.call(this)},Me.prototype.getId=function(){return Me.ID},Me.prototype.getDomNode=function(){return this._domNode.domNode},Me.prototype.getPosition=function(){return{preference:null}},Me.prototype.show=function(){if(this._isVisible)return;this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus()},Me.prototype._descriptionForCommand=function(Te,Fe,He){var Pe=this._keybindingService.lookupKeybinding(Te);return Pe?y.r(Fe,Pe.getAriaLabel()):y.r(He,Te)},Me.prototype._buildContent=function(){var Te=this._editor.getOptions(),Fe=this._editor.getSelections(),He=0;if(Fe){var Pe=this._editor.getModel();Pe&&Fe.forEach(function(q){He+=Pe.getValueLengthInRange(q)})}var ne=ie(Fe,He);Te.get(45)?Te.get(68)?ne+=E.a.readonlyDiffEditor:ne+=E.a.editableDiffEditor:Te.get(68)?ne+=E.a.readonlyEditor:ne+=E.a.editableEditor;var ee=u.e?E.a.changeConfigToOnMac:E.a.changeConfigToOnWinLinux;switch(Te.get(2)){case 0:ne+=` - `+ee;break;case 2:ne+=` @@ -83,11 +83,11 @@ Please report this to https://github.com/markedjs/marked.`,(Ve||De.defaults).sil - `+ae,ne+=` -`+E.a.outroMsg,this._contentDomNode.domNode.appendChild(Object(z.b)(ne)),this._contentDomNode.domNode.setAttribute("aria-label",ne)},Me.prototype.hide=function(){if(!this._isVisible)return;this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,I.t(this._contentDomNode.domNode),this._editor.focus()},Me.prototype._layout=function(){var Te=this._editor.getLayoutInfo(),Fe=Math.max(5,Math.min(Me.WIDTH,Te.width-40)),Ue=Math.max(5,Math.min(Me.HEIGHT,Te.height-40));this._domNode.setWidth(Fe),this._domNode.setHeight(Ue);var Pe=Math.round((Te.height-Ue)/2);this._domNode.setTop(Pe);var ne=Math.round((Te.width-Fe)/2);this._domNode.setLeft(ne)},Me.ID="editor.contrib.accessibilityHelpWidget",Me.WIDTH=500,Me.HEIGHT=300,Me=A([k(1,p.c),k(2,s.a),k(3,l.a)],Me),Me}(H.a),B=function(Ce){L(Me,Ce);function Me(){return Ce.call(this,{id:"editor.action.showAccessibilityHelp",label:E.a.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:void 0,kbOpts:{kbExpr:v.a.focus,primary:J.i?2048|59:512|59,weight:100}})||this}return Me.prototype.run=function(Te,Fe){var Ue=$.get(Fe);Ue&&Ue.show()},Me}(f.b);Object(f.h)($.ID,$),Object(f.f)(B);var le=f.c.bindToContribution($.get);Object(f.g)(new le({id:"closeAccessibilityHelp",precondition:R,handler:function(Me){return Me.hide()},kbOpts:{weight:100+100,kbExpr:v.a.focus,primary:9,secondary:[1024|9]}})),Object(m.e)(function(Ce,Me){var Te=Ce.getColor(d.Q);Te&&Me.addRule(".monaco-editor .accessibilityHelpWidget { background-color: "+Te+"; }");var Fe=Ce.getColor(d.S);Fe&&Me.addRule(".monaco-editor .accessibilityHelpWidget { color: "+Fe+"; }");var Ue=Ce.getColor(d.hc);Ue&&Me.addRule(".monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px "+Ue+"; }");var Pe=Ce.getColor(d.e);Pe&&Me.addRule(".monaco-editor .accessibilityHelpWidget { border: 2px solid "+Pe+"; }")})},Sdnv:function(Lt,j,e){"use strict";e.d(j,"a",function(){return T});function T(re,J,I){return Math.min(Math.max(re,J),I)}},SvYn:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return e.e(282).then(e.bind(null,"Dsrv"))}})},T8No:function(Lt,j,e){"use strict";e.d(j,"a",function(){return I}),e.d(j,"b",function(){return f}),e.d(j,"d",function(){return v}),e.d(j,"c",function(){return w}),e.d(j,"e",function(){return p});var T=e("N0LK"),re=e("Cg/j"),J=function(){var c=function(l,d){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,E){m.__proto__=E}||function(m,E){for(var L in E)E.hasOwnProperty(L)&&(m[L]=E[L])},c(l,d)};return function(s,l){c(s,l);function d(){this.constructor=s}s.prototype=l===null?Object.create(l):(d.prototype=l.prototype,new d)}}(),I=function(){function c(){}return c.has=function(s){return z.create(s)},c.equals=function(s,l){return O.create(s,l)},c.regex=function(s,l){return u.create(s,l)},c.not=function(s){return x.create(s)},c.and=function(){for(var s=[],l=0;l=0){var d=s.split("!=");return H.create(d[0].trim(),this._deserializeValue(d[1],l))}if(s.indexOf("==")>=0){var d=s.split("==");return O.create(d[0].trim(),this._deserializeValue(d[1],l))}if(s.indexOf("=~")>=0){var d=s.split("=~");return u.create(d[0].trim(),this._deserializeRegexValue(d[1],l))}return/^\!\s*/.test(s)?x.create(s.substr(1).trim()):z.create(s)},c._deserializeValue=function(s,l){if(s=s.trim(),s==="true")return!0;if(s==="false")return!1;var d=/^'([^']*)'$/.exec(s);return d?d[1].trim():s},c._deserializeRegexValue=function(s,l){if(Object(T.x)(s)){if(l)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}var d=s.indexOf("/"),m=s.lastIndexOf("/");if(d===m||d<0){if(l)throw new Error("bad regexp-value '"+s+"', missing /-enclosure");return console.warn("bad regexp-value '"+s+"', missing /-enclosure"),null}var E=s.slice(d+1,m),L=s[m+1]==="i"?"i":"";try{return new RegExp(E,L)}catch(A){if(l)throw new Error("bad regexp-value '"+s+"', parse error: "+A);return console.warn("bad regexp-value '"+s+"', parse error: "+A),null}},c}();function U(c,s){var l=c.getType(),d=s.getType();if(l!==d)return l-d;switch(l){case 1:return c.cmp(s);case 2:return c.cmp(s);case 3:return c.cmp(s);case 4:return c.cmp(s);case 6:return c.cmp(s);case 7:return c.cmp(s);case 5:return c.cmp(s);default:throw new Error("Unknown ContextKeyExpr!")}}var z=function(){function c(s){this.key=s}return c.create=function(s){return new c(s)},c.prototype.getType=function(){return 1},c.prototype.cmp=function(s){return this.keys.key?1:0},c.prototype.equals=function(s){return s instanceof c?this.key===s.key:!1},c.prototype.evaluate=function(s){return!!s.getValue(this.key)},c.prototype.keys=function(){return[this.key]},c.prototype.negate=function(){return x.create(this.key)},c}(),O=function(){function c(s,l){this.key=s,this.value=l}return c.create=function(s,l){return typeof l=="boolean"?l?z.create(s):x.create(s):new c(s,l)},c.prototype.getType=function(){return 3},c.prototype.cmp=function(s){return this.keys.key?1:this.values.value?1:0},c.prototype.equals=function(s){return s instanceof c?this.key===s.key&&this.value===s.value:!1},c.prototype.evaluate=function(s){return s.getValue(this.key)==this.value},c.prototype.keys=function(){return[this.key]},c.prototype.negate=function(){return H.create(this.key,this.value)},c}(),H=function(){function c(s,l){this.key=s,this.value=l}return c.create=function(s,l){return typeof l=="boolean"?l?x.create(s):z.create(s):new c(s,l)},c.prototype.getType=function(){return 4},c.prototype.cmp=function(s){return this.keys.key?1:this.values.value?1:0},c.prototype.equals=function(s){return s instanceof c?this.key===s.key&&this.value===s.value:!1},c.prototype.evaluate=function(s){return s.getValue(this.key)!=this.value},c.prototype.keys=function(){return[this.key]},c.prototype.negate=function(){return O.create(this.key,this.value)},c}(),x=function(){function c(s){this.key=s}return c.create=function(s){return new c(s)},c.prototype.getType=function(){return 2},c.prototype.cmp=function(s){return this.keys.key?1:0},c.prototype.equals=function(s){return s instanceof c?this.key===s.key:!1},c.prototype.evaluate=function(s){return!s.getValue(this.key)},c.prototype.keys=function(){return[this.key]},c.prototype.negate=function(){return z.create(this.key)},c}(),u=function(){function c(s,l){this.key=s,this.regexp=l}return c.create=function(s,l){return new c(s,l)},c.prototype.getType=function(){return 6},c.prototype.cmp=function(s){if(this.keys.key)return 1;var l=this.regexp?this.regexp.source:"",d=s.regexp?s.regexp.source:"";return ld?1:0},c.prototype.equals=function(s){if(s instanceof c){var l=this.regexp?this.regexp.source:"",d=s.regexp?s.regexp.source:"";return this.key===s.key&&l===d}return!1},c.prototype.evaluate=function(s){var l=s.getValue(this.key);return this.regexp?this.regexp.test(l):!1},c.prototype.keys=function(){return[this.key]},c.prototype.negate=function(){return y.create(this)},c}(),y=function(){function c(s){this._actual=s}return c.create=function(s){return new c(s)},c.prototype.getType=function(){return 7},c.prototype.cmp=function(s){return this._actual.cmp(s._actual)},c.prototype.equals=function(s){return s instanceof c?this._actual.equals(s._actual):!1},c.prototype.evaluate=function(s){return!this._actual.evaluate(s)},c.prototype.keys=function(){return this._actual.keys()},c.prototype.negate=function(){return this._actual},c}(),_=function(){function c(s){this.expr=s}return c.create=function(s){var l=c._normalizeArr(s);return l.length===0?void 0:l.length===1?l[0]:new c(l)},c.prototype.getType=function(){return 5},c.prototype.cmp=function(s){if(this.expr.lengths.expr.length)return 1;for(var l=0,d=this.expr.length;l1;){for(var L=s.shift(),A=s.shift(),k=[],R=0,$=E(L);R<$.length;R++)for(var ie=$[R],W=0,B=E(A);W0;)m+=v?" ":" ",L--;break;case 60:m+="<";break;case 62:m+=">";break;case 38:m+="&";break;case 0:m+="�";break;case 65279:case 8232:m+="\uFFFD";break;case 13:m+="​";break;case 32:m+=v?" ":" ";break;default:m+=String.fromCharCode(E)}}if(w+=''+m+"",d>_||p>=_)break}return w+="",w}function O(H,x){for(var u='
',y=H.split(/\r\n|\r|\n/),_=x.getInitialState(),f=0,v=y.length;f0&&(u+="
");var p=x.tokenize2(w,_,0);re.a.convertToEndOffset(p.tokens,w.length);for(var c=new re.a(p.tokens,w),s=c.inflate(),l=0,d=0,m=s.getCount();d'+T.o(w.substring(l,L))+"",l=L}_=p.endState}return u+="
",u}},TT2d:function(Lt,j,e){},Tcc1:function(Lt,j,e){"use strict";e.d(j,"a",function(){return T}),e.d(j,"b",function(){return re}),e.d(j,"c",function(){return J});var T=function(){function I(U,z,O){this.offset=U|0,this.type=z,this.language=O}return I.prototype.toString=function(){return"("+this.offset+", "+this.type+")"},I}(),re=function(){function I(U,z){this.tokens=U,this.endState=z}return I}(),J=function(){function I(U,z){this.tokens=U,this.endState=z}return I}()},UCkY:function(Lt,j,e){},URDS:function(Lt,j,e){(function(T){/*! +`+E.a.outroMsg,this._contentDomNode.domNode.appendChild(Object(z.b)(ne)),this._contentDomNode.domNode.setAttribute("aria-label",ne)},Me.prototype.hide=function(){if(!this._isVisible)return;this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,I.t(this._contentDomNode.domNode),this._editor.focus()},Me.prototype._layout=function(){var Te=this._editor.getLayoutInfo(),Fe=Math.max(5,Math.min(Me.WIDTH,Te.width-40)),He=Math.max(5,Math.min(Me.HEIGHT,Te.height-40));this._domNode.setWidth(Fe),this._domNode.setHeight(He);var Pe=Math.round((Te.height-He)/2);this._domNode.setTop(Pe);var ne=Math.round((Te.width-Fe)/2);this._domNode.setLeft(ne)},Me.ID="editor.contrib.accessibilityHelpWidget",Me.WIDTH=500,Me.HEIGHT=300,Me=A([k(1,p.c),k(2,s.a),k(3,l.a)],Me),Me}(U.a),B=function(Ce){L(Me,Ce);function Me(){return Ce.call(this,{id:"editor.action.showAccessibilityHelp",label:E.a.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:void 0,kbOpts:{kbExpr:v.a.focus,primary:J.i?2048|59:512|59,weight:100}})||this}return Me.prototype.run=function(Te,Fe){var He=$.get(Fe);He&&He.show()},Me}(f.b);Object(f.h)($.ID,$),Object(f.f)(B);var le=f.c.bindToContribution($.get);Object(f.g)(new le({id:"closeAccessibilityHelp",precondition:R,handler:function(Me){return Me.hide()},kbOpts:{weight:100+100,kbExpr:v.a.focus,primary:9,secondary:[1024|9]}})),Object(m.e)(function(Ce,Me){var Te=Ce.getColor(d.Q);Te&&Me.addRule(".monaco-editor .accessibilityHelpWidget { background-color: "+Te+"; }");var Fe=Ce.getColor(d.S);Fe&&Me.addRule(".monaco-editor .accessibilityHelpWidget { color: "+Fe+"; }");var He=Ce.getColor(d.hc);He&&Me.addRule(".monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px "+He+"; }");var Pe=Ce.getColor(d.e);Pe&&Me.addRule(".monaco-editor .accessibilityHelpWidget { border: 2px solid "+Pe+"; }")})},Sdnv:function(Lt,j,e){"use strict";e.d(j,"a",function(){return T});function T(re,J,I){return Math.min(Math.max(re,J),I)}},SvYn:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return e.e(282).then(e.bind(null,"Dsrv"))}})},T8No:function(Lt,j,e){"use strict";e.d(j,"a",function(){return I}),e.d(j,"b",function(){return f}),e.d(j,"d",function(){return v}),e.d(j,"c",function(){return w}),e.d(j,"e",function(){return p});var T=e("N0LK"),re=e("Cg/j"),J=function(){var c=function(l,d){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,E){m.__proto__=E}||function(m,E){for(var L in E)E.hasOwnProperty(L)&&(m[L]=E[L])},c(l,d)};return function(s,l){c(s,l);function d(){this.constructor=s}s.prototype=l===null?Object.create(l):(d.prototype=l.prototype,new d)}}(),I=function(){function c(){}return c.has=function(s){return z.create(s)},c.equals=function(s,l){return O.create(s,l)},c.regex=function(s,l){return u.create(s,l)},c.not=function(s){return x.create(s)},c.and=function(){for(var s=[],l=0;l=0){var d=s.split("!=");return U.create(d[0].trim(),this._deserializeValue(d[1],l))}if(s.indexOf("==")>=0){var d=s.split("==");return O.create(d[0].trim(),this._deserializeValue(d[1],l))}if(s.indexOf("=~")>=0){var d=s.split("=~");return u.create(d[0].trim(),this._deserializeRegexValue(d[1],l))}return/^\!\s*/.test(s)?x.create(s.substr(1).trim()):z.create(s)},c._deserializeValue=function(s,l){if(s=s.trim(),s==="true")return!0;if(s==="false")return!1;var d=/^'([^']*)'$/.exec(s);return d?d[1].trim():s},c._deserializeRegexValue=function(s,l){if(Object(T.x)(s)){if(l)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}var d=s.indexOf("/"),m=s.lastIndexOf("/");if(d===m||d<0){if(l)throw new Error("bad regexp-value '"+s+"', missing /-enclosure");return console.warn("bad regexp-value '"+s+"', missing /-enclosure"),null}var E=s.slice(d+1,m),L=s[m+1]==="i"?"i":"";try{return new RegExp(E,L)}catch(A){if(l)throw new Error("bad regexp-value '"+s+"', parse error: "+A);return console.warn("bad regexp-value '"+s+"', parse error: "+A),null}},c}();function H(c,s){var l=c.getType(),d=s.getType();if(l!==d)return l-d;switch(l){case 1:return c.cmp(s);case 2:return c.cmp(s);case 3:return c.cmp(s);case 4:return c.cmp(s);case 6:return c.cmp(s);case 7:return c.cmp(s);case 5:return c.cmp(s);default:throw new Error("Unknown ContextKeyExpr!")}}var z=function(){function c(s){this.key=s}return c.create=function(s){return new c(s)},c.prototype.getType=function(){return 1},c.prototype.cmp=function(s){return this.keys.key?1:0},c.prototype.equals=function(s){return s instanceof c?this.key===s.key:!1},c.prototype.evaluate=function(s){return!!s.getValue(this.key)},c.prototype.keys=function(){return[this.key]},c.prototype.negate=function(){return x.create(this.key)},c}(),O=function(){function c(s,l){this.key=s,this.value=l}return c.create=function(s,l){return typeof l=="boolean"?l?z.create(s):x.create(s):new c(s,l)},c.prototype.getType=function(){return 3},c.prototype.cmp=function(s){return this.keys.key?1:this.values.value?1:0},c.prototype.equals=function(s){return s instanceof c?this.key===s.key&&this.value===s.value:!1},c.prototype.evaluate=function(s){return s.getValue(this.key)==this.value},c.prototype.keys=function(){return[this.key]},c.prototype.negate=function(){return U.create(this.key,this.value)},c}(),U=function(){function c(s,l){this.key=s,this.value=l}return c.create=function(s,l){return typeof l=="boolean"?l?x.create(s):z.create(s):new c(s,l)},c.prototype.getType=function(){return 4},c.prototype.cmp=function(s){return this.keys.key?1:this.values.value?1:0},c.prototype.equals=function(s){return s instanceof c?this.key===s.key&&this.value===s.value:!1},c.prototype.evaluate=function(s){return s.getValue(this.key)!=this.value},c.prototype.keys=function(){return[this.key]},c.prototype.negate=function(){return O.create(this.key,this.value)},c}(),x=function(){function c(s){this.key=s}return c.create=function(s){return new c(s)},c.prototype.getType=function(){return 2},c.prototype.cmp=function(s){return this.keys.key?1:0},c.prototype.equals=function(s){return s instanceof c?this.key===s.key:!1},c.prototype.evaluate=function(s){return!s.getValue(this.key)},c.prototype.keys=function(){return[this.key]},c.prototype.negate=function(){return z.create(this.key)},c}(),u=function(){function c(s,l){this.key=s,this.regexp=l}return c.create=function(s,l){return new c(s,l)},c.prototype.getType=function(){return 6},c.prototype.cmp=function(s){if(this.keys.key)return 1;var l=this.regexp?this.regexp.source:"",d=s.regexp?s.regexp.source:"";return ld?1:0},c.prototype.equals=function(s){if(s instanceof c){var l=this.regexp?this.regexp.source:"",d=s.regexp?s.regexp.source:"";return this.key===s.key&&l===d}return!1},c.prototype.evaluate=function(s){var l=s.getValue(this.key);return this.regexp?this.regexp.test(l):!1},c.prototype.keys=function(){return[this.key]},c.prototype.negate=function(){return y.create(this)},c}(),y=function(){function c(s){this._actual=s}return c.create=function(s){return new c(s)},c.prototype.getType=function(){return 7},c.prototype.cmp=function(s){return this._actual.cmp(s._actual)},c.prototype.equals=function(s){return s instanceof c?this._actual.equals(s._actual):!1},c.prototype.evaluate=function(s){return!this._actual.evaluate(s)},c.prototype.keys=function(){return this._actual.keys()},c.prototype.negate=function(){return this._actual},c}(),_=function(){function c(s){this.expr=s}return c.create=function(s){var l=c._normalizeArr(s);return l.length===0?void 0:l.length===1?l[0]:new c(l)},c.prototype.getType=function(){return 5},c.prototype.cmp=function(s){if(this.expr.lengths.expr.length)return 1;for(var l=0,d=this.expr.length;l1;){for(var L=s.shift(),A=s.shift(),k=[],R=0,$=E(L);R<$.length;R++)for(var ie=$[R],W=0,B=E(A);W0;)m+=v?" ":" ",L--;break;case 60:m+="<";break;case 62:m+=">";break;case 38:m+="&";break;case 0:m+="�";break;case 65279:case 8232:m+="\uFFFD";break;case 13:m+="​";break;case 32:m+=v?" ":" ";break;default:m+=String.fromCharCode(E)}}if(w+=''+m+"",d>_||p>=_)break}return w+="",w}function O(U,x){for(var u='
',y=U.split(/\r\n|\r|\n/),_=x.getInitialState(),f=0,v=y.length;f0&&(u+="
");var p=x.tokenize2(w,_,0);re.a.convertToEndOffset(p.tokens,w.length);for(var c=new re.a(p.tokens,w),s=c.inflate(),l=0,d=0,m=s.getCount();d'+T.o(w.substring(l,L))+"",l=L}_=p.endState}return u+="
",u}},TT2d:function(Lt,j,e){},Tcc1:function(Lt,j,e){"use strict";e.d(j,"a",function(){return T}),e.d(j,"b",function(){return re}),e.d(j,"c",function(){return J});var T=function(){function I(H,z,O){this.offset=H|0,this.type=z,this.language=O}return I.prototype.toString=function(){return"("+this.offset+", "+this.type+")"},I}(),re=function(){function I(H,z){this.tokens=H,this.endState=z}return I}(),J=function(){function I(H,z){this.tokens=H,this.endState=z}return I}()},UCkY:function(Lt,j,e){},URDS:function(Lt,j,e){(function(T){/*! Copyright (c) 2014 Taylor Hakes Copyright (c) 2014 Forbes Lindesay - */(function(re,J){J()})(this,function(){"use strict";function re(v){var w=this.constructor;return this.then(function(p){return w.resolve(v()).then(function(){return p})},function(p){return w.resolve(v()).then(function(){return w.reject(p)})})}var J=setTimeout;function I(){}function U(v,w){return function(){v.apply(w,arguments)}}function z(v){if(!(this instanceof z))throw new TypeError("Promises must be constructed via new");if(typeof v!="function")throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],_(v,this)}function O(v,w){for(;v._state===3;)v=v._value;if(v._state===0){v._deferreds.push(w);return}v._handled=!0,z._immediateFn(function(){var p=v._state===1?w.onFulfilled:w.onRejected;if(p===null){(v._state===1?H:x)(w.promise,v._value);return}var c;try{c=p(v._value)}catch(s){x(w.promise,s);return}H(w.promise,c)})}function H(v,w){try{if(w===v)throw new TypeError("A promise cannot be resolved with itself.");if(w&&(typeof w=="object"||typeof w=="function")){var p=w.then;if(w instanceof z){v._state=3,v._value=w,u(v);return}else if(typeof p=="function"){_(U(p,w),v);return}}v._state=1,v._value=w,u(v)}catch(c){x(v,c)}}function x(v,w){v._state=2,v._value=w,u(v)}function u(v){v._state===2&&v._deferreds.length===0&&z._immediateFn(function(){v._handled||z._unhandledRejectionFn(v._value)});for(var w=0,p=v._deferreds.length;w'})}},Vtyv:function(Lt,j,e){},VvMK:function(Lt,j,e){},Vxe3:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("codeEditorService")},W9cx:function(Lt,j,e){"use strict";e.d(j,"a",function(){return O}),e.d(j,"b",function(){return H}),e.d(j,"c",function(){return x});var T=e("bY76"),re=e("Cg/j"),J=e("pmY6"),I=e("N0LK"),U=function(u,y,_,f){function v(w){return w instanceof _?w:new _(function(p){p(w)})}return new(_||(_=Promise))(function(w,p){function c(d){try{l(f.next(d))}catch(m){p(m)}}function s(d){try{l(f.throw(d))}catch(m){p(m)}}function l(d){d.done?w(d.value):v(d.value).then(c,s)}l((f=f.apply(u,y||[])).next())})},z=function(u,y){var _={label:0,sent:function(){if(w[0]&1)throw w[1];return w[1]},trys:[],ops:[]},f,v,w,p;return p={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function c(l){return function(d){return s([l,d])}}function s(l){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,v&&(w=l[0]&2?v.return:l[0]?v.throw||((w=v.return)&&w.call(v),0):v.next)&&!(w=w.call(v,l[1])).done)return w;(v=0,w)&&(l=[l[0]&2,w.value]);switch(l[0]){case 0:case 1:w=l;break;case 4:return _.label++,{value:l[1],done:!1};case 5:_.label++,v=l[1],l=[0];continue;case 7:l=_.ops.pop(),_.trys.pop();continue;default:if(!(w=_.trys,w=w.length>0&&w[w.length-1])&&(l[0]===6||l[0]===2)){_=0;continue}if(l[0]===3&&(!w||l[1]>w[0]&&l[1]0&&X[X.length-1])&&(me[0]===6||me[0]===2)){ae=0;continue}if(me[0]===3&&(!X||me[1]>X[0]&&me[1]0&&ue.indexOf(Fe)===0){for(var ve=null,Q=null,C=0,F=0;F0)):C++}Q&&Q.setGroupLabel(this.typeToLabel(ve||"",C))}else he.length>0&&he[0].setGroupLabel(z.r(Me.e._symbols_,he.length));return he},ee.prototype.typeToLabel=function(ae,q){switch(ae){case"module":return z.r(Me.e._modules_,q);case"class":return z.r(Me.e._class_,q);case"interface":return z.r(Me.e._interface_,q);case"method":return z.r(Me.e._method_,q);case"function":return z.r(Me.e._function_,q);case"property":return z.r(Me.e._property_,q);case"variable":return z.r(Me.e._variable_,q);case"var":return z.r(Me.e._variable2_,q);case"constructor":return z.r(Me.e._constructor_,q);case"call":return z.r(Me.e._call_,q)}return ae},ee.prototype.sortNormal=function(ae,q,ue){var X=q.getLabel().toLowerCase(),he=ue.getLabel().toLowerCase(),je=X.localeCompare(he);if(je!==0)return je;var Xe=q.getRange(),me=ue.getRange();return Xe.startLineNumber-me.startLineNumber},ee.prototype.sortScoped=function(ae,q,ue){ae=ae.substr(Fe.length);var X=q.getType(),he=ue.getType(),je=X.localeCompare(he);if(je!==0)return je;if(ae){var Xe=q.getLabel().toLowerCase(),me=ue.getLabel().toLowerCase(),ge=Xe.localeCompare(me);if(ge!==0)return ge}var we=q.getRange(),Re=ue.getRange();return we.startLineNumber-Re.startLineNumber},ee}(Ce.a);Object(H.f)(Pe)},WqXY:function(Lt,j,e){"use strict";e.d(j,"c",function(){return w}),e.d(j,"d",function(){return p}),e.d(j,"b",function(){return c}),e.d(j,"a",function(){return l});var T=e("yEoX"),re=e.n(T),J=e("MNsG"),I=e("3/fG"),U=e("pmY6"),z=e("8HAY"),O=e("EffR"),H=e("746U"),x=e("pg8w"),u=e("uDWl"),y=e("MI8n"),_=e("ZQ78"),f=e("D3Dy"),v=function(){var d=function(E,L){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,k){A.__proto__=k}||function(A,k){for(var R in k)k.hasOwnProperty(R)&&(A[R]=k[R])},d(E,L)};return function(m,E){d(m,E);function L(){this.constructor=m}m.prototype=E===null?Object.create(E):(L.prototype=E.prototype,new L)}}(),w=function(d){v(m,d);function m(E,L,A){var k=d.call(this)||this;return k.options=A,k._context=E||k,k._action=L,L instanceof z.a&&k._register(L.onDidChange(function(R){if(!k.element)return;k.handleActionChangeEvent(R)})),k}return m.prototype.handleActionChangeEvent=function(E){E.enabled!==void 0&&this.updateEnabled(),E.checked!==void 0&&this.updateChecked(),E.class!==void 0&&this.updateClass(),E.label!==void 0&&(this.updateLabel(),this.updateTooltip()),E.tooltip!==void 0&&this.updateTooltip()},Object.defineProperty(m.prototype,"actionRunner",{get:function(){return this._actionRunner||(this._actionRunner=this._register(new z.b)),this._actionRunner},set:function(L){this._actionRunner=L},enumerable:!0,configurable:!0}),m.prototype.getAction=function(){return this._action},m.prototype.isEnabled=function(){return this._action.enabled},m.prototype.setActionContext=function(E){this._context=E},m.prototype.render=function(E){var L=this,A=this.element=E;this._register(x.b.addTarget(E));var k=this.options&&this.options.draggable;k&&(E.draggable=!0,f.h&&this._register(O.j(E,O.d.DRAG_START,function(R){var $;return($=R.dataTransfer)===null||$===void 0?void 0:$.setData(_.a.TEXT,L._action.label)}))),this._register(O.j(A,x.a.Tap,function(R){return L.onClick(R)})),this._register(O.j(A,O.d.MOUSE_DOWN,function(R){k||O.c.stop(R,!0),L._action.enabled&&R.button===0&&O.f(A,"active")})),this._register(O.j(A,O.d.CLICK,function(R){O.c.stop(R,!0),L.options&&L.options.isMenu?L.onClick(R):J.i(function(){return L.onClick(R)})})),this._register(O.j(A,O.d.DBLCLICK,function(R){O.c.stop(R,!0)})),[O.d.MOUSE_UP,O.d.MOUSE_OUT].forEach(function(R){L._register(O.j(A,R,function($){O.c.stop($),O.P(A,"active")}))})},m.prototype.onClick=function(E){O.c.stop(E,!0);var L;H.l(this._context)?L=E:(L=this._context,H.i(L)&&(L.event=E)),this.actionRunner.run(this._action,L)},m.prototype.focus=function(){this.element&&(this.element.focus(),O.f(this.element,"focused"))},m.prototype.blur=function(){this.element&&(this.element.blur(),O.P(this.element,"focused"))},m.prototype.updateEnabled=function(){},m.prototype.updateLabel=function(){},m.prototype.updateTooltip=function(){},m.prototype.updateClass=function(){},m.prototype.updateChecked=function(){},m.prototype.dispose=function(){this.element&&(O.R(this.element),this.element=void 0),d.prototype.dispose.call(this)},m}(U.a),p=function(d){v(m,d);function m(E){var L=d.call(this,m.ID,E,E?"separator text":"separator")||this;return L.checked=!1,L.enabled=!1,L}return m.ID="vs.actions.separator",m}(z.a),c=function(d){v(m,d);function m(E,L,A){A===void 0&&(A={});var k=d.call(this,E,L,A)||this;return k.options=A,k.options.icon=A.icon!==void 0?A.icon:!1,k.options.label=A.label!==void 0?A.label:!0,k.cssClass="",k}return m.prototype.render=function(E){d.prototype.render.call(this,E),this.element&&(this.label=O.q(this.element,O.a("a.action-label"))),this.label&&(this._action.id===p.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&(O.q(this.element,O.a("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()},m.prototype.focus=function(){d.prototype.focus.call(this),this.label&&this.label.focus()},m.prototype.updateLabel=function(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)},m.prototype.updateTooltip=function(){var E=null;this.getAction().tooltip?E=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(E=this.getAction().label,this.options.keybinding&&(E=I.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",E,this.options.keybinding))),E&&this.label&&(this.label.title=E)},m.prototype.updateClass=function(){this.cssClass&&this.label&&O.Q(this.label,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(O.f(this.label,"codicon"),this.cssClass&&O.g(this.label,this.cssClass)),this.updateEnabled()):this.label&&O.P(this.label,"codicon")},m.prototype.updateEnabled=function(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),O.P(this.label,"disabled"),this.label.tabIndex=0),this.element&&O.P(this.element,"disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),O.f(this.label,"disabled"),O.S(this.label)),this.element&&O.f(this.element,"disabled"))},m.prototype.updateChecked=function(){this.label&&(this.getAction().checked?O.f(this.label,"checked"):O.P(this.label,"checked"))},m}(w),s={orientation:0,context:null,triggerKeys:{keys:[3,10],keyDown:!1}},l=function(d){v(m,d);function m(E,L){L===void 0&&(L=s);var A=d.call(this)||this;A._onDidBlur=A._register(new y.a),A.onDidBlur=A._onDidBlur.event,A._onDidCancel=A._register(new y.a),A.onDidCancel=A._onDidCancel.event,A._onDidRun=A._register(new y.a),A.onDidRun=A._onDidRun.event,A._onDidBeforeRun=A._register(new y.a),A.onDidBeforeRun=A._onDidBeforeRun.event,A.options=L,A._context=L.context,A.options.triggerKeys||(A.options.triggerKeys=s.triggerKeys),A.options.actionRunner?A._actionRunner=A.options.actionRunner:(A._actionRunner=new z.b,A._register(A._actionRunner)),A._register(A._actionRunner.onDidRun(function($){return A._onDidRun.fire($)})),A._register(A._actionRunner.onDidBeforeRun(function($){return A._onDidBeforeRun.fire($)})),A.viewItems=[],A.focusedItem=void 0,A.domNode=document.createElement("div"),A.domNode.className="monaco-action-bar",L.animated!==!1&&O.f(A.domNode,"animated");var k,R;switch(A.options.orientation){case 0:k=15,R=17;break;case 1:k=17,R=15,A.domNode.className+=" reverse";break;case 2:k=16,R=18,A.domNode.className+=" vertical";break;case 3:k=18,R=16,A.domNode.className+=" vertical reverse";break}return A._register(O.j(A.domNode,O.d.KEY_DOWN,function($){var ie=new u.a($),W=!0;ie.equals(k)?A.focusPrevious():ie.equals(R)?A.focusNext():ie.equals(9)?A.cancel():A.isTriggerKeyEvent(ie)?A.options.triggerKeys&&A.options.triggerKeys.keyDown&&A.doTrigger(ie):W=!1,W&&(ie.preventDefault(),ie.stopPropagation())})),A._register(O.j(A.domNode,O.d.KEY_UP,function($){var ie=new u.a($);A.isTriggerKeyEvent(ie)?(A.options.triggerKeys&&!A.options.triggerKeys.keyDown&&A.doTrigger(ie),ie.preventDefault(),ie.stopPropagation()):(ie.equals(2)||ie.equals(1024|2))&&A.updateFocusedItem()})),A.focusTracker=A._register(O.Z(A.domNode)),A._register(A.focusTracker.onDidBlur(function(){(document.activeElement===A.domNode||!O.K(document.activeElement,A.domNode))&&(A._onDidBlur.fire(),A.focusedItem=void 0)})),A._register(A.focusTracker.onDidFocus(function(){return A.updateFocusedItem()})),A.actionsList=document.createElement("ul"),A.actionsList.className="actions-container",A.actionsList.setAttribute("role","toolbar"),A.options.ariaLabel&&A.actionsList.setAttribute("aria-label",A.options.ariaLabel),A.domNode.appendChild(A.actionsList),E.appendChild(A.domNode),A}return m.prototype.isTriggerKeyEvent=function(E){var L=!1;return this.options.triggerKeys&&this.options.triggerKeys.keys.forEach(function(A){L=L||E.equals(A)}),L},m.prototype.updateFocusedItem=function(){for(var E=0;E=A.actionsList.children.length?(A.actionsList.appendChild(ie),A.viewItems.push(W)):(A.actionsList.insertBefore(ie,A.actionsList.children[R]),A.viewItems.splice(R,0,W),R++)})},m.prototype.clear=function(){this.viewItems=Object(U.f)(this.viewItems),O.t(this.actionsList)},m.prototype.isEmpty=function(){return this.viewItems.length===0},m.prototype.focus=function(E){var L=!1,A=void 0;E===void 0?L=!0:typeof E=="number"?A=E:typeof E=="boolean"&&(L=E),L&&typeof this.focusedItem=="undefined"?(this.focusedItem=this.viewItems.length-1,this.focusNext()):(A!==void 0&&(this.focusedItem=A),this.updateFocus())},m.prototype.focusNext=function(){typeof this.focusedItem=="undefined"&&(this.focusedItem=this.viewItems.length-1);var E=this.focusedItem,L;do this.focusedItem=(this.focusedItem+1)%this.viewItems.length,L=this.viewItems[this.focusedItem];while(this.focusedItem!==E&&!L.isEnabled());this.focusedItem===E&&!L.isEnabled()&&(this.focusedItem=void 0),this.updateFocus()},m.prototype.focusPrevious=function(){typeof this.focusedItem=="undefined"&&(this.focusedItem=0);var E=this.focusedItem,L;do this.focusedItem=this.focusedItem-1,this.focusedItem<0&&(this.focusedItem=this.viewItems.length-1),L=this.viewItems[this.focusedItem];while(this.focusedItem!==E&&!L.isEnabled());this.focusedItem===E&&!L.isEnabled()&&(this.focusedItem=void 0),this.updateFocus(!0)},m.prototype.updateFocus=function(E,L){typeof this.focusedItem=="undefined"&&this.actionsList.focus({preventScroll:L});for(var A=0;A0&&ve[ve.length-1])&&(se[0]===6||se[0]===2)){we=0;continue}if(se[0]===3&&(!ve||se[1]>ve[0]&&se[1]0&&ve[ve.length-1])&&(se[0]===6||se[0]===2)){we=0;continue}if(se[0]===3&&(!ve||se[1]>ve[0]&&se[1]=0;C--)(Q=me[C])&&(ve=(Ee<3?Q(ve):Ee>3?Q(ge,we,ve):Q(ge,we))||ve);return Ee>3&&ve&&Object.defineProperty(ge,we,ve),ve},Pe=function(me,ge){return function(we,Re){ge(we,Re,me)}},ne=O.a,ee=function(me){Fe(ge,me);function ge(we,Re,Ee,ve){var Q=me.call(this)||this;return Q.editor=we,Q.renderDisposeables=Q._register(new re.b),Q.visible=!1,Q.announcedLabel=null,Q.allowEditorOverflow=!0,Q.markdownRenderer=Q._register(new v.a(we,ve,Ee)),Q.model=Q._register(new Ce(we)),Q.keyVisible=m.Visible.bindTo(Re),Q.keyMultipleSignatures=m.MultipleSignatures.bindTo(Re),Q._register(Q.model.onChangedHints(function(C){C?(Q.show(),Q.render(C)):Q.hide()})),Q}return ge.prototype.createParamaterHintDOMNodes=function(){var we=this,Re=ne(".editor-widget.parameter-hints-widget"),Ee=O.q(Re,ne(".wrapper"));Ee.tabIndex=-1;var ve=O.q(Ee,ne(".controls")),Q=O.q(ve,ne(".button.codicon.codicon-chevron-up")),C=O.q(ve,ne(".overloads")),F=O.q(ve,ne(".button.codicon.codicon-chevron-down")),se=Object(H.b)(Object(H.a)(Q,"click"));this._register(se(this.previous,this));var oe=Object(H.b)(Object(H.a)(F,"click"));this._register(oe(this.next,this));var be=ne(".body"),De=new u.a(be,{});this._register(De),Ee.appendChild(De.getDomNode());var Se=O.q(be,ne(".signature")),Ve=O.q(be,ne(".docs"));Re.style.userSelect="text",this.domNodes={element:Re,signature:Se,overloads:C,docs:Ve,scrollbar:De},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(function(it){we.visible&&we.editor.layoutContentWidget(we)}));var Qe=function(){if(!we.domNodes)return;var pt=we.editor.getOption(34);we.domNodes.element.style.fontSize=pt.fontSize+"px"};Qe(),this._register(y.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(function(it){return it.hasChanged(34)}).on(Qe,null)),this._register(this.editor.onDidLayoutChange(function(it){return we.updateMaxHeight()})),this.updateMaxHeight()},ge.prototype.show=function(){var we=this;if(this.visible)return;this.domNodes||this.createParamaterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(function(){we.domNodes&&O.f(we.domNodes.element,"visible")},100),this.editor.layoutContentWidget(this)},ge.prototype.hide=function(){if(!this.visible)return;this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,this.domNodes&&O.P(this.domNodes.element,"visible"),this.editor.layoutContentWidget(this)},ge.prototype.getPosition=function(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null},ge.prototype.render=function(we){if(!this.domNodes)return;var Re=we.signatures.length>1;O.Y(this.domNodes.element,"multiple",Re),this.keyMultipleSignatures.set(Re),this.domNodes.signature.innerHTML="",this.domNodes.docs.innerHTML="";var Ee=we.signatures[we.activeSignature];if(!Ee)return;var ve=O.q(this.domNodes.signature,ne(".code")),Q=Ee.parameters.length>0,C=this.editor.getOption(34);if(ve.style.fontSize=C.fontSize+"px",ve.style.fontFamily=C.fontFamily,Q)this.renderParameters(ve,Ee,we.activeParameter);else{var F=O.q(ve,ne("span"));F.textContent=Ee.label}this.renderDisposeables.clear();var se=Ee.parameters[we.activeParameter];if(se&&se.documentation){var oe=ne("span.documentation");if(typeof se.documentation=="string")oe.textContent=se.documentation;else{var be=this.markdownRenderer.render(se.documentation);O.f(be.element,"markdown-docs"),this.renderDisposeables.add(be),oe.appendChild(be.element)}O.q(this.domNodes.docs,ne("p",{},oe))}if(!(Ee.documentation===void 0))if(typeof Ee.documentation=="string")O.q(this.domNodes.docs,ne("p",{},Ee.documentation));else{var be=this.markdownRenderer.render(Ee.documentation);O.f(be.element,"markdown-docs"),this.renderDisposeables.add(be),O.q(this.domNodes.docs,be.element)}var De=this.hasDocs(Ee,se);if(O.Y(this.domNodes.signature,"has-docs",De),O.Y(this.domNodes.docs,"empty",!De),this.domNodes.overloads.textContent=Object(Te.F)(we.activeSignature+1,we.signatures.length.toString().length)+"/"+we.signatures.length,se){var Se=this.getParameterLabel(Ee,we.activeParameter);this.announcedLabel!==Se&&(x.a(T.a("hint","{0}, hint",Se)),this.announcedLabel=Se)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()},ge.prototype.hasDocs=function(we,Re){return Re&&typeof Re.documentation=="string"&&Re.documentation.length>0||(Re&&typeof Re.documentation=="object"&&Re.documentation.value.length>0||typeof we.documentation=="string"&&we.documentation.length>0)?!0:typeof we.documentation=="object"&&we.documentation.value.length>0},ge.prototype.renderParameters=function(we,Re,Ee){var ve=this.getParameterLabelOffsets(Re,Ee),Q=ve[0],C=ve[1],F=document.createElement("span");F.textContent=Re.label.substring(0,Q);var se=document.createElement("span");se.textContent=Re.label.substring(Q,C),se.className="parameter active";var oe=document.createElement("span");oe.textContent=Re.label.substring(C),O.q(we,F,se,oe)},ge.prototype.getParameterLabel=function(we,Re){var Ee=we.parameters[Re];return typeof Ee.label=="string"?Ee.label:we.label.substring(Ee.label[0],Ee.label[1])},ge.prototype.getParameterLabelOffsets=function(we,Re){var Ee=we.parameters[Re];if(Ee){if(Array.isArray(Ee.label))return Ee.label;var ve=we.label.lastIndexOf(Ee.label);return ve>=0?[ve,ve+Ee.label.length]:[0,0]}else return[0,0]},ge.prototype.next=function(){this.editor.focus(),this.model.next()},ge.prototype.previous=function(){this.editor.focus(),this.model.previous()},ge.prototype.cancel=function(){this.model.cancel()},ge.prototype.getDomNode=function(){return this.domNodes||this.createParamaterHintDOMNodes(),this.domNodes.element},ge.prototype.getId=function(){return ge.ID},ge.prototype.trigger=function(we){this.model.trigger(we,0)},ge.prototype.updateMaxHeight=function(){if(!this.domNodes)return;var we=Math.max(this.editor.getLayoutInfo().height/4,250),Re=we+"px";this.domNodes.element.style.maxHeight=Re;var Ee=this.domNodes.element.getElementsByClassName("wrapper");Ee.length&&(Ee[0].style.maxHeight=Re)},ge.ID="editor.widget.parameterHintsWidget",ge=Ue([Pe(1,U.c),Pe(2,L.a),Pe(3,f.a)],ge),ge}(re.a);Object(k.e)(function(me,ge){var we=me.getColor(A.B);if(we){var Re=me.type===k.b?2:1;ge.addRule(".monaco-editor .parameter-hints-widget { border: "+Re+"px solid "+we+"; }"),ge.addRule(".monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid "+we.transparent(.5)+"; }"),ge.addRule(".monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid "+we.transparent(.5)+"; }")}var Ee=me.getColor(A.A);Ee&&ge.addRule(".monaco-editor .parameter-hints-widget { background-color: "+Ee+"; }");var ve=me.getColor(A.ec);ve&&ge.addRule(".monaco-editor .parameter-hints-widget a { color: "+ve+"; }");var Q=me.getColor(A.C);Q&&ge.addRule(".monaco-editor .parameter-hints-widget { color: "+Q+"; }");var C=me.getColor(A.dc);C&&ge.addRule(".monaco-editor .parameter-hints-widget code { background-color: "+C+"; }")});var ae=function(){var me=function(we,Re){return me=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ee,ve){Ee.__proto__=ve}||function(Ee,ve){for(var Q in ve)ve.hasOwnProperty(Q)&&(Ee[Q]=ve[Q])},me(we,Re)};return function(ge,we){me(ge,we);function Re(){this.constructor=ge}ge.prototype=we===null?Object.create(we):(Re.prototype=we.prototype,new Re)}}(),q=function(me,ge,we,Re){var Ee=arguments.length,ve=Ee<3?ge:Re===null?Re=Object.getOwnPropertyDescriptor(ge,we):Re,Q;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ve=Reflect.decorate(me,ge,we,Re);else for(var C=me.length-1;C>=0;C--)(Q=me[C])&&(ve=(Ee<3?Q(ve):Ee>3?Q(ge,we,ve):Q(ge,we))||ve);return Ee>3&&ve&&Object.defineProperty(ge,we,ve),ve},ue=function(me,ge){return function(we,Re){ge(we,Re,me)}},X=function(me){ae(ge,me);function ge(we,Re){var Ee=me.call(this)||this;return Ee.editor=we,Ee.widget=Ee._register(Re.createInstance(ee,Ee.editor)),Ee}return ge.get=function(we){return we.getContribution(ge.ID)},ge.prototype.cancel=function(){this.widget.cancel()},ge.prototype.previous=function(){this.widget.previous()},ge.prototype.next=function(){this.widget.next()},ge.prototype.trigger=function(we){this.widget.trigger(we)},ge.ID="editor.controller.parameterHints",ge=q([ue(1,J.a)],ge),ge}(re.a),he=function(me){ae(ge,me);function ge(){return me.call(this,{id:"editor.action.triggerParameterHints",label:T.a("parameterHints.trigger.label","Trigger Parameter Hints"),alias:"Trigger Parameter Hints",precondition:I.a.hasSignatureHelpProvider,kbOpts:{kbExpr:I.a.editorTextFocus,primary:2048|1024|10,weight:100}})||this}return ge.prototype.run=function(we,Re){var Ee=X.get(Re);Ee&&Ee.trigger({triggerKind:c.y.Invoke})},ge}(z.b);Object(z.h)(X.ID,X),Object(z.f)(he);var je=100+75,Xe=z.c.bindToContribution(X.get);Object(z.g)(new Xe({id:"closeParameterHints",precondition:m.Visible,handler:function(ge){return ge.cancel()},kbOpts:{weight:je,kbExpr:I.a.focus,primary:9,secondary:[1024|9]}})),Object(z.g)(new Xe({id:"showPrevParameterHint",precondition:U.a.and(m.Visible,m.MultipleSignatures),handler:function(ge){return ge.previous()},kbOpts:{weight:je,kbExpr:I.a.focus,primary:16,secondary:[512|16],mac:{primary:16,secondary:[512|16,256|46]}}})),Object(z.g)(new Xe({id:"showNextParameterHint",precondition:U.a.and(m.Visible,m.MultipleSignatures),handler:function(ge){return ge.next()},kbOpts:{weight:je,kbExpr:I.a.focus,primary:18,secondary:[512|18],mac:{primary:18,secondary:[512|18,256|44]}}}))},"X+cX":function(Lt,j,e){"use strict";e.d(j,"i",function(){return I}),e.d(j,"f",function(){return U}),e.d(j,"j",function(){return z}),e.d(j,"a",function(){return O}),e.d(j,"l",function(){return H}),e.d(j,"g",function(){return x}),e.d(j,"h",function(){return u}),e.d(j,"e",function(){return y}),e.d(j,"c",function(){return _}),e.d(j,"d",function(){return f}),e.d(j,"k",function(){return v}),e.d(j,"b",function(){return w});var T=e("JQT/"),re=e("/cxE"),J=e("pmY6");function I(p){return p&&typeof p.then=="function"}function U(p){var c=new T.b,s=p(c.token),l=new Promise(function(d,m){c.token.onCancellationRequested(function(){m(re.a())}),Promise.resolve(s).then(function(E){c.dispose(),d(E)},function(E){c.dispose(),m(E)})});return new(function(){function d(){}return d.prototype.cancel=function(){c.cancel()},d.prototype.then=function(m,E){return l.then(m,E)},d.prototype.catch=function(m){return this.then(void 0,m)},d.prototype.finally=function(m){return l.finally(m)},d}())}function z(p,c,s){return Promise.race([p,new Promise(function(l){return c.onCancellationRequested(function(){return l(s)})})])}var O=function(){function p(c){this.defaultDelay=c,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}return p.prototype.trigger=function(c,s){var l=this;return s===void 0&&(s=this.defaultDelay),this.task=c,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise(function(d,m){l.doResolve=d,l.doReject=m}).then(function(){if(l.completionPromise=null,l.doResolve=null,l.task){var d=l.task;return l.task=null,d()}return})),this.timeout=setTimeout(function(){l.timeout=null,l.doResolve&&l.doResolve(null)},s),this.completionPromise},p.prototype.isTriggered=function(){return this.timeout!==null},p.prototype.cancel=function(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(re.a()),this.completionPromise=null)},p.prototype.cancelTimeout=function(){this.timeout!==null&&(clearTimeout(this.timeout),this.timeout=null)},p.prototype.dispose=function(){this.cancelTimeout()},p}();function H(p,c){return c?new Promise(function(s,l){var d=setTimeout(s,p);c.onCancellationRequested(function(){clearTimeout(d),l(re.a())})}):U(function(s){return H(p,s)})}function x(p,c){c===void 0&&(c=0);var s=setTimeout(p,c);return Object(J.h)(function(){return clearTimeout(s)})}function u(p,c,s){c===void 0&&(c=function(L){return!!L}),s===void 0&&(s=null);var l=0,d=p.length,m=function E(){if(l>=d)return Promise.resolve(s);var L=p[l++],A=Promise.resolve(L());return A.then(function(k){return c(k)?Promise.resolve(k):E()})};return m()}var y=function(){function p(c,s){this._token=-1,typeof c=="function"&&typeof s=="number"&&this.setIfNotSet(c,s)}return p.prototype.dispose=function(){this.cancel()},p.prototype.cancel=function(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)},p.prototype.cancelAndSet=function(c,s){var l=this;this.cancel(),this._token=setTimeout(function(){l._token=-1,c()},s)},p.prototype.setIfNotSet=function(c,s){var l=this;if(this._token!==-1)return;this._token=setTimeout(function(){l._token=-1,c()},s)},p}(),_=function(){function p(){this._token=-1}return p.prototype.dispose=function(){this.cancel()},p.prototype.cancel=function(){this._token!==-1&&(clearInterval(this._token),this._token=-1)},p.prototype.cancelAndSet=function(c,s){this.cancel(),this._token=setInterval(function(){c()},s)},p}(),f=function(){function p(c,s){this.timeoutToken=-1,this.runner=c,this.timeout=s,this.timeoutHandler=this.onTimeout.bind(this)}return p.prototype.dispose=function(){this.cancel(),this.runner=null},p.prototype.cancel=function(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)},p.prototype.schedule=function(c){c===void 0&&(c=this.timeout),this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,c)},p.prototype.isScheduled=function(){return this.timeoutToken!==-1},p.prototype.onTimeout=function(){this.timeoutToken=-1,this.runner&&this.doRun()},p.prototype.doRun=function(){this.runner&&this.runner()},p}(),v;(function(){if(typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"){var p=Object.freeze({didTimeout:!0,timeRemaining:function(){return 15}});v=function(s){var l=setTimeout(function(){return s(p)}),d=!1;return{dispose:function(){if(d)return;d=!0,clearTimeout(l)}}}}else v=function(s,l){var d=requestIdleCallback(s,typeof l=="number"?{timeout:l}:void 0),m=!1;return{dispose:function(){if(m)return;m=!0,cancelIdleCallback(d)}}}})();var w=function(){function p(c){var s=this;this._didRun=!1,this._executor=function(){try{s._value=c()}catch(l){s._error=l}finally{s._didRun=!0}},this._handle=v(function(){return s._executor()})}return p.prototype.dispose=function(){this._handle.dispose()},p.prototype.getValue=function(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value},p}()},XNtB:function(Lt,j,e){},XQgg:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return e.e(314).then(e.bind(null,"/0xJ"))}})},XSiN:function(Lt,j,e){"use strict";e.d(j,"b",function(){return U}),e.d(j,"a",function(){return z}),e.d(j,"c",function(){return O});var T=e("D3Dy"),re=e("51f4"),J=e("MNsG"),I=function(){var H=function(u,y){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,f){_.__proto__=f}||function(_,f){for(var v in f)f.hasOwnProperty(v)&&(_[v]=f[v])},H(u,y)};return function(x,u){H(x,u);function y(){this.constructor=x}x.prototype=u===null?Object.create(u):(y.prototype=u.prototype,new y)}}(),U=function(){function H(x){this.timestamp=Date.now(),this.browserEvent=x,this.leftButton=x.button===0,this.middleButton=x.button===1,this.rightButton=x.button===2,this.buttons=x.buttons,this.target=x.target,this.detail=x.detail||1,x.type==="dblclick"&&(this.detail=2),this.ctrlKey=x.ctrlKey,this.shiftKey=x.shiftKey,this.altKey=x.altKey,this.metaKey=x.metaKey,typeof x.pageX=="number"?(this.posx=x.pageX,this.posy=x.pageY):(this.posx=x.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=x.clientY+document.body.scrollTop+document.documentElement.scrollTop);var u=re.a.getPositionOfChildWindowRelativeToAncestorWindow(self,x.view);this.posx-=u.left,this.posy-=u.top}return H.prototype.preventDefault=function(){this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},H.prototype.stopPropagation=function(){this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},H}(),z=function(H){I(x,H);function x(u){var y=H.call(this,u)||this;return y.dataTransfer=u.dataTransfer,y}return x}(U),O=function(){function H(x,u,y){if(u===void 0&&(u=0),y===void 0&&(y=0),this.browserEvent=x||null,this.target=x?x.target||x.targetNode||x.srcElement:null,this.deltaY=y,this.deltaX=u,x){var _=x,f=x;if(typeof _.wheelDeltaY!="undefined")this.deltaY=_.wheelDeltaY/120;else if(typeof f.VERTICAL_AXIS!="undefined"&&f.axis===f.VERTICAL_AXIS)this.deltaY=-f.detail/3;else if(x.type==="wheel"){var v=x;v.deltaMode===v.DOM_DELTA_LINE?this.deltaY=-x.deltaY:this.deltaY=-x.deltaY/40}if(typeof _.wheelDeltaX!="undefined")T.k&&J.h?this.deltaX=-(_.wheelDeltaX/120):this.deltaX=_.wheelDeltaX/120;else if(typeof f.HORIZONTAL_AXIS!="undefined"&&f.axis===f.HORIZONTAL_AXIS)this.deltaX=-x.detail/3;else if(x.type==="wheel"){var v=x;v.deltaMode===v.DOM_DELTA_LINE?this.deltaX=-x.deltaX:this.deltaX=-x.deltaX/40}this.deltaY===0&&this.deltaX===0&&x.wheelDelta&&(this.deltaY=x.wheelDelta/120)}}return H.prototype.preventDefault=function(){this.browserEvent&&(this.browserEvent.preventDefault&&this.browserEvent.preventDefault())},H.prototype.stopPropagation=function(){this.browserEvent&&(this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation())},H}()},XXBq:function(Lt,j,e){},XXUj:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("telemetryService")},XtJs:function(Lt,j,e){"use strict";e.r(j),e.d(j,"getOccurrencesAtPosition",function(){return R});var T=e("3/fG"),re=e("6OMU"),J=e("X+cX"),I=e("JQT/"),U=e("/cxE"),z=e("pmY6"),O=e("sswD"),H=e("aokT"),x=e("wQH0"),u=e("M1Kb"),y=e("tX9W"),_=e("twdY"),f=e("T8No"),v=e("MD5Z"),w=e("t9D7"),p=function(){var Pe=function(ee,ae){return Pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(q,ue){q.__proto__=ue}||function(q,ue){for(var X in ue)ue.hasOwnProperty(X)&&(q[X]=ue[X])},Pe(ee,ae)};return function(ne,ee){Pe(ne,ee);function ae(){this.constructor=ne}ne.prototype=ee===null?Object.create(ee):(ae.prototype=ee.prototype,new ae)}}(),c=function(Pe,ne,ee,ae){var q=arguments.length,ue=q<3?ne:ae===null?ae=Object.getOwnPropertyDescriptor(ne,ee):ae,X;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ue=Reflect.decorate(Pe,ne,ee,ae);else for(var he=Pe.length-1;he>=0;he--)(X=Pe[he])&&(ue=(q<3?X(ue):q>3?X(ne,ee,ue):X(ne,ee))||ue);return q>3&&ue&&Object.defineProperty(ne,ee,ue),ue},s=function(Pe,ne){return function(ee,ae){ne(ee,ae,Pe)}},l=Object(v.Tb)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hc:null},T.a("wordHighlight","Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations."),!0),d=Object(v.Tb)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hc:null},T.a("wordHighlightStrong","Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations."),!0),m=Object(v.Tb)("editor.wordHighlightBorder",{light:null,dark:null,hc:v.b},T.a("wordHighlightBorder","Border color of a symbol during read-access, like reading a variable.")),E=Object(v.Tb)("editor.wordHighlightStrongBorder",{light:null,dark:null,hc:v.b},T.a("wordHighlightStrongBorder","Border color of a symbol during write-access, like writing to a variable.")),L=Object(v.Tb)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},T.a("overviewRulerWordHighlightForeground","Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),A=Object(v.Tb)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hc:"#C0A0C0CC"},T.a("overviewRulerWordHighlightStrongForeground","Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),k=new f.d("hasWordHighlights",!1);function R(Pe,ne,ee){var ae=_.i.ordered(Pe);return Object(J.h)(ae.map(function(q){return function(){return Promise.resolve(q.provideDocumentHighlights(Pe,ne,ee)).then(void 0,U.f)}}),re.q)}var $=function(){function Pe(ne,ee,ae){var q=this;this._wordRange=this._getCurrentWordRange(ne,ee),this.result=Object(J.f)(function(ue){return q._compute(ne,ee,ae,ue)})}return Pe.prototype._getCurrentWordRange=function(ne,ee){var ae=ne.getWordAtPosition(ee.getPosition());return ae?new H.a(ee.startLineNumber,ae.startColumn,ee.startLineNumber,ae.endColumn):null},Pe.prototype.isValid=function(ne,ee,ae){for(var q=ee.startLineNumber,ue=ee.startColumn,X=ee.endColumn,he=this._getCurrentWordRange(ne,ee),je=Boolean(this._wordRange&&this._wordRange.equalsRange(he)),Xe=0,me=ae.length;!je&&Xe=X&&(je=!0))}return je},Pe.prototype.cancel=function(){this.result.cancel()},Pe}(),ie=function(Pe){p(ne,Pe);function ne(){return Pe!==null&&Pe.apply(this,arguments)||this}return ne.prototype._compute=function(ee,ae,q,ue){return R(ee,ae.getPosition(),ue).then(function(X){return X||[]})},ne}($),W=function(Pe){p(ne,Pe);function ne(ee,ae,q){var ue=Pe.call(this,ee,ae,q)||this;return ue._selectionIsEmpty=ae.isEmpty(),ue}return ne.prototype._compute=function(ee,ae,q,ue){return Object(J.l)(250,ue).then(function(){if(!ae.isEmpty())return[];var X=ee.getWordAtPosition(ae.getPosition());if(!X)return[];var he=ee.findMatches(X.word,!0,!1,!0,q,!1);return he.map(function(je){return{range:je.range,kind:_.h.Text}})})},ne.prototype.isValid=function(ee,ae,q){var ue=ae.isEmpty();return this._selectionIsEmpty!==ue?!1:Pe.prototype.isValid.call(this,ee,ae,q)},ne}($);function B(Pe,ne,ee){return _.i.has(Pe)?new ie(Pe,ne,ee):new W(Pe,ne,ee)}Object(O.k)("_executeDocumentHighlights",function(Pe,ne){return R(Pe,ne,I.a.None)});var le=function(){function Pe(ne,ee){var ae=this;this.toUnhook=new z.b,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=ne,this._hasWordHighlights=k.bindTo(ee),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(61),this.model=this.editor.getModel(),this.toUnhook.add(ne.onDidChangeCursorPosition(function(q){if(ae._ignorePositionChangeEvent)return;if(!ae.occurrencesHighlight)return;ae._onPositionChanged(q)})),this.toUnhook.add(ne.onDidChangeModelContent(function(q){ae._stopAll()})),this.toUnhook.add(ne.onDidChangeConfiguration(function(q){var ue=ae.editor.getOption(61);ae.occurrencesHighlight!==ue&&(ae.occurrencesHighlight=ue,ae._stopAll())})),this._decorationIds=[],this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}return Pe.prototype.hasDecorations=function(){return this._decorationIds.length>0},Pe.prototype.restore=function(){if(!this.occurrencesHighlight)return;this._run()},Pe.prototype._getSortedHighlights=function(){var ne=this;return re.d(this._decorationIds.map(function(ee){return ne.model.getDecorationRange(ee)}).sort(H.a.compareRangesUsingStarts))},Pe.prototype.moveNext=function(){var ne=this,ee=this._getSortedHighlights(),ae=re.k(ee,function(X){return X.containsPosition(ne.editor.getPosition())}),q=(ae+1)%ee.length,ue=ee[q];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(ue.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(ue)}finally{this._ignorePositionChangeEvent=!1}},Pe.prototype.moveBack=function(){var ne=this,ee=this._getSortedHighlights(),ae=re.k(ee,function(X){return X.containsPosition(ne.editor.getPosition())}),q=(ae-1+ee.length)%ee.length,ue=ee[q];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(ue.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(ue)}finally{this._ignorePositionChangeEvent=!1}},Pe.prototype._removeDecorations=function(){this._decorationIds.length>0&&(this._decorationIds=this.editor.deltaDecorations(this._decorationIds,[]),this._hasWordHighlights.set(!1))},Pe.prototype._stopAll=function(){this._removeDecorations(),this.renderDecorationsTimer!==-1&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),this.workerRequest!==null&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)},Pe.prototype._onPositionChanged=function(ne){if(!this.occurrencesHighlight){this._stopAll();return}if(ne.reason!==3){this._stopAll();return}this._run()},Pe.prototype._run=function(){var ne=this,ee=this.editor.getSelection();if(ee.startLineNumber!==ee.endLineNumber){this._stopAll();return}var ae=ee.startLineNumber,q=ee.startColumn,ue=ee.endColumn,X=this.model.getWordAtPosition({lineNumber:ae,column:q});if(!X||X.startColumn>q||X.endColumn=ae?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(function(){ne.renderDecorations()},ae-ee)},Pe.prototype.renderDecorations=function(){this.renderDecorationsTimer=-1;for(var ne=[],ee=0,ae=this.workerRequestValue.length;ee0&&_[_.length-1])&&(p[0]===6||p[0]===2)){x=0;continue}if(p[0]===3&&(!_||p[1]>_[0]&&p[1]<_[3])){x.label=p[1];break}if(p[0]===6&&x.label<_[1]){x.label=_[1],_=p;break}if(_&&x.label<_[2]){x.label=_[2],x.ops.push(p);break}_[2]&&x.ops.pop(),x.trys.pop();continue}p=H.call(O,x)}catch(c){p=[6,c],y=0}finally{u=_=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},z=function(){function O(){}return O.prototype.provideSelectionRanges=function(H,x){return I(this,void 0,void 0,function(){var u,y,_,f,v;return U(this,function(w){switch(w.label){case 0:u=[],y=function(c){var s,l;return U(this,function(d){switch(d.label){case 0:return s=[],u.push(s),l=new Map,[4,new Promise(function(m){return O._bracketsRightYield(m,0,H,c,l)})];case 1:return d.sent(),[4,new Promise(function(m){return O._bracketsLeftYield(m,0,H,c,l,s)})];case 2:return d.sent(),[2]}})},_=0,f=x,w.label=1;case 1:return _=O._maxRounds){H();break}if(!y){H();break}var w=u.findNextBracket(y);if(!w){H();break}var p=Date.now()-v;if(p>O._maxDuration){setTimeout(function(){return O._bracketsRightYield(H,x+1,u,y,_)});break}var c=w.close[0];if(w.isOpen){var s=f.has(c)?f.get(c):0;f.set(c,s+1)}else{var s=f.has(c)?f.get(c):0;if(s-=1,f.set(c,Math.max(0,s)),s<0){var l=_.get(c);l||(l=new J.a,_.set(c,l)),l.push(w.range)}}y=w.range.getEndPosition()}},O._bracketsLeftYield=function(H,x,u,y,_,f){for(var v=new Map,w=Date.now();;){if(x>=O._maxRounds&&_.size===0){H();break}if(!y){H();break}var p=u.findPrevBracket(y);if(!p){H();break}var c=Date.now()-w;if(c>O._maxDuration){setTimeout(function(){return O._bracketsLeftYield(H,x+1,u,y,_,f)});break}var s=p.close[0];if(p.isOpen){var l=v.has(s)?v.get(s):0;if(l-=1,v.set(s,Math.max(0,l)),l<0){var d=_.get(s);if(d){var m=d.shift();d.size===0&&_.delete(s);var E=re.a.fromPositions(p.range.getEndPosition(),m.getStartPosition()),L=re.a.fromPositions(p.range.getStartPosition(),m.getEndPosition());f.push({range:E}),f.push({range:L}),O._addBracketLeading(u,L,f)}}}else{var l=v.has(s)?v.get(s):0;v.set(s,l+1)}y=p.range.getStartPosition()}},O._addBracketLeading=function(H,x,u){if(x.startLineNumber===x.endLineNumber)return;var y=x.startLineNumber,_=H.getLineFirstNonWhitespaceColumn(y);_!==0&&_!==x.startColumn&&(u.push({range:re.a.fromPositions(new T.a(y,_),x.getEndPosition())}),u.push({range:re.a.fromPositions(new T.a(y,1),x.getEndPosition())}));var f=y-1;if(f>0){var v=H.getLineFirstNonWhitespaceColumn(f);v===x.startColumn&&v!==H.getLineLastNonWhitespaceColumn(f)&&(u.push({range:re.a.fromPositions(new T.a(f,v),x.getEndPosition())}),u.push({range:re.a.fromPositions(new T.a(f,1),x.getEndPosition())}))}},O._maxDuration=30,O._maxRounds=2,O}()},ZCR3:function(Lt,j,e){"use strict";e.d(j,"a",function(){return J});var T=0;function re(){var I="$memoize"+T++,U=void 0,z=function(H,x,u){var y=null,_=null;if(typeof u.value=="function"?(y="value",_=u.value,_.length!==0&&console.warn("Memoize should only be used in functions with zero parameters")):typeof u.get=="function"&&(y="get",_=u.get),!_)throw new Error("not supported");var f=I+":"+x;u[y]=function(){for(var v=[],w=0;wz||I===z&&U>O?(this.startLineNumber=z,this.startColumn=O,this.endLineNumber=I,this.endColumn=U):(this.startLineNumber=I,this.startColumn=U,this.endLineNumber=z,this.endColumn=O)}return J.prototype.isEmpty=function(){return J.isEmpty(this)},J.isEmpty=function(I){return I.startLineNumber===I.endLineNumber&&I.startColumn===I.endColumn},J.prototype.containsPosition=function(I){return J.containsPosition(this,I)},J.containsPosition=function(I,U){return U.lineNumberI.endLineNumber||U.lineNumber===I.startLineNumber&&U.columnI.endColumn)},J.prototype.containsRange=function(I){return J.containsRange(this,I)},J.containsRange=function(I,U){return U.startLineNumberI.endLineNumber||U.endLineNumber>I.endLineNumber||U.startLineNumber===I.startLineNumber&&U.startColumnI.endColumn)},J.prototype.strictContainsRange=function(I){return J.strictContainsRange(this,I)},J.strictContainsRange=function(I,U){return U.startLineNumberI.endLineNumber||U.endLineNumber>I.endLineNumber||U.startLineNumber===I.startLineNumber&&U.startColumn<=I.startColumn)?!1:!(U.endLineNumber===I.endLineNumber&&U.endColumn>=I.endColumn)},J.prototype.plusRange=function(I){return J.plusRange(this,I)},J.plusRange=function(I,U){var z,O,H,x;return U.startLineNumberI.endLineNumber?(H=U.endLineNumber,x=U.endColumn):U.endLineNumber===I.endLineNumber?(H=U.endLineNumber,x=Math.max(U.endColumn,I.endColumn)):(H=I.endLineNumber,x=I.endColumn),new J(z,O,H,x)},J.prototype.intersectRanges=function(I){return J.intersectRanges(this,I)},J.intersectRanges=function(I,U){var z=I.startLineNumber,O=I.startColumn,H=I.endLineNumber,x=I.endColumn,u=U.startLineNumber,y=U.startColumn,_=U.endLineNumber,f=U.endColumn;return z_?(H=_,x=f):H===_&&(x=Math.min(x,f)),z>H||z===H&&O>x?null:new J(z,O,H,x)},J.prototype.equalsRange=function(I){return J.equalsRange(this,I)},J.equalsRange=function(I,U){return!!I&&!!U&&I.startLineNumber===U.startLineNumber&&I.startColumn===U.startColumn&&I.endLineNumber===U.endLineNumber&&I.endColumn===U.endColumn},J.prototype.getEndPosition=function(){return new T.a(this.endLineNumber,this.endColumn)},J.prototype.getStartPosition=function(){return new T.a(this.startLineNumber,this.startColumn)},J.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},J.prototype.setEndPosition=function(I,U){return new J(this.startLineNumber,this.startColumn,I,U)},J.prototype.setStartPosition=function(I,U){return new J(I,U,this.endLineNumber,this.endColumn)},J.prototype.collapseToStart=function(){return J.collapseToStart(this)},J.collapseToStart=function(I){return new J(I.startLineNumber,I.startColumn,I.startLineNumber,I.startColumn)},J.fromPositions=function(I,U){return U===void 0&&(U=I),new J(I.lineNumber,I.column,U.lineNumber,U.column)},J.lift=function(I){return I?new J(I.startLineNumber,I.startColumn,I.endLineNumber,I.endColumn):null},J.isIRange=function(I){return I&&typeof I.startLineNumber=="number"&&typeof I.startColumn=="number"&&typeof I.endLineNumber=="number"&&typeof I.endColumn=="number"},J.areIntersectingOrTouching=function(I,U){return I.endLineNumberI.startLineNumber},J}()},bY76:function(Lt,j,e){"use strict";e.d(j,"a",function(){return f});var T=e("MNsG"),re=function(){var A=function(R,$){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,W){ie.__proto__=W}||function(ie,W){for(var B in W)W.hasOwnProperty(B)&&(ie[B]=W[B])},A(R,$)};return function(k,R){A(k,R);function $(){this.constructor=k}k.prototype=R===null?Object.create(R):($.prototype=R.prototype,new $)}}(),J,I=/^\w[\w\d+.-]*$/,U=/^\//,z=/^\/\//;function O(A,k){if(!A.scheme&&k)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+A.authority+'", path: "'+A.path+'", query: "'+A.query+'", fragment: "'+A.fragment+'"}');if(A.scheme&&!I.test(A.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(A.path){if(A.authority){if(!U.test(A.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(z.test(A.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function H(A,k){return!A&&!k?"file":A}function x(A,k){switch(A){case"https":case"http":case"file":k?k[0]!==y&&(k=y+k):k=y;break}return k}var u="",y="/",_=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,f=function(){function A(k,R,$,ie,W,B){B===void 0&&(B=!1),typeof k=="object"?(this.scheme=k.scheme||u,this.authority=k.authority||u,this.path=k.path||u,this.query=k.query||u,this.fragment=k.fragment||u):(this.scheme=H(k,B),this.authority=R||u,this.path=x(this.scheme,$||u),this.query=ie||u,this.fragment=W||u,O(this,B))}return A.isUri=function(k){return k instanceof A?!0:k?typeof k.authority=="string"&&typeof k.fragment=="string"&&typeof k.path=="string"&&typeof k.query=="string"&&typeof k.scheme=="string"&&typeof k.fsPath=="function"&&typeof k.with=="function"&&typeof k.toString=="function":!1},Object.defineProperty(A.prototype,"fsPath",{get:function(){return l(this)},enumerable:!0,configurable:!0}),A.prototype.with=function(k){if(!k)return this;var R=k.scheme,$=k.authority,ie=k.path,W=k.query,B=k.fragment;return R===void 0?R=this.scheme:R===null&&(R=u),$===void 0?$=this.authority:$===null&&($=u),ie===void 0?ie=this.path:ie===null&&(ie=u),W===void 0?W=this.query:W===null&&(W=u),B===void 0?B=this.fragment:B===null&&(B=u),R===this.scheme&&$===this.authority&&ie===this.path&&W===this.query&&B===this.fragment?this:new w(R,$,ie,W,B)},A.parse=function(k,R){R===void 0&&(R=!1);var $=_.exec(k);return $?new w($[2]||u,L($[4]||u),L($[5]||u),L($[7]||u),L($[9]||u),R):new w(u,u,u,u,u)},A.file=function(k){var R=u;if(T.h&&(k=k.replace(/\\/g,y)),k[0]===y&&k[1]===y){var $=k.indexOf(y,2);$===-1?(R=k.substring(2),k=y):(R=k.substring(2,$),k=k.substring($)||y)}return new w("file",R,k,u,u)},A.from=function(k){return new w(k.scheme,k.authority,k.path,k.query,k.fragment)},A.prototype.toString=function(k){return k===void 0&&(k=!1),d(this,k)},A.prototype.toJSON=function(){return this},A.revive=function(k){if(k){if(k instanceof A)return k;var R=new w(k);return R._formatted=k.external,R._fsPath=k._sep===v?k.fsPath:null,R}else return k},A}(),v=T.h?1:void 0,w=function(A){re(k,A);function k(){var R=A!==null&&A.apply(this,arguments)||this;return R._formatted=null,R._fsPath=null,R}return Object.defineProperty(k.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=l(this)),this._fsPath},enumerable:!0,configurable:!0}),k.prototype.toString=function(R){return R===void 0&&(R=!1),R?d(this,!0):(this._formatted||(this._formatted=d(this,!1)),this._formatted)},k.prototype.toJSON=function(){var R={$mid:1};return this._fsPath&&(R.fsPath=this._fsPath,R._sep=v),this._formatted&&(R.external=this._formatted),this.path&&(R.path=this.path),this.scheme&&(R.scheme=this.scheme),this.authority&&(R.authority=this.authority),this.query&&(R.query=this.query),this.fragment&&(R.fragment=this.fragment),R},k}(f),p=(J={},J[58]="%3A",J[47]="%2F",J[63]="%3F",J[35]="%23",J[91]="%5B",J[93]="%5D",J[64]="%40",J[33]="%21",J[36]="%24",J[38]="%26",J[39]="%27",J[40]="%28",J[41]="%29",J[42]="%2A",J[43]="%2B",J[44]="%2C",J[59]="%3B",J[61]="%3D",J[32]="%20",J);function c(A,k){for(var R=void 0,$=-1,ie=0;ie=97&&W<=122||W>=65&&W<=90||W>=48&&W<=57||W===45||W===46||W===95||W===126||k&&W===47)$!==-1&&(R+=encodeURIComponent(A.substring($,ie)),$=-1),R!==void 0&&(R+=A.charAt(ie));else{R===void 0&&(R=A.substr(0,ie));var B=p[W];B!==void 0?($!==-1&&(R+=encodeURIComponent(A.substring($,ie)),$=-1),R+=B):$===-1&&($=ie)}}return $!==-1&&(R+=encodeURIComponent(A.substring($))),R!==void 0?R:A}function s(A){for(var k=void 0,R=0;R1&&A.scheme==="file"?k="//"+A.authority+A.path:A.path.charCodeAt(0)===47&&(A.path.charCodeAt(1)>=65&&A.path.charCodeAt(1)<=90||A.path.charCodeAt(1)>=97&&A.path.charCodeAt(1)<=122)&&A.path.charCodeAt(2)===58?k=A.path[1].toLowerCase()+A.path.substr(2):k=A.path,T.h&&(k=k.replace(/\//g,"\\")),k}function d(A,k){var R=k?s:c,$="",ie=A.scheme,W=A.authority,B=A.path,le=A.query,Ce=A.fragment;if(ie&&($+=ie,$+=":"),(W||ie==="file")&&($+=y,$+=y),W){var Me=W.indexOf("@");if(Me!==-1){var Te=W.substr(0,Me);W=W.substr(Me+1),Me=Te.indexOf(":"),Me===-1?$+=R(Te,!1):($+=R(Te.substr(0,Me),!1),$+=":",$+=R(Te.substr(Me+1),!1)),$+="@"}W=W.toLowerCase(),Me=W.indexOf(":"),Me===-1?$+=R(W,!1):($+=R(W.substr(0,Me),!1),$+=W.substr(Me))}if(B){if(B.length>=3&&B.charCodeAt(0)===47&&B.charCodeAt(2)===58){var Fe=B.charCodeAt(1);Fe>=65&&Fe<=90&&(B="/"+String.fromCharCode(Fe+32)+":"+B.substr(3))}else if(B.length>=2&&B.charCodeAt(1)===58){var Fe=B.charCodeAt(0);Fe>=65&&Fe<=90&&(B=String.fromCharCode(Fe+32)+":"+B.substr(2))}$+=R(B,!0)}return le&&($+="?",$+=R(le,!1)),Ce&&($+="#",$+=k?Ce:c(Ce,!1)),$}function m(A){try{return decodeURIComponent(A)}catch(k){return A.length>3?A.substr(0,3)+m(A.substr(3)):A}}var E=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function L(A){return A.match(E)?A.replace(E,function(k){return m(k)}):A}},ba9Q:function(Lt,j,e){"use strict";e.r(j);var T=e("3/fG"),re=e("sswD"),J=e("LCkn"),I=e("aokT"),U=e("wQH0"),z=e("+Fos"),O=function(){var x=function(y,_){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,v){f.__proto__=v}||function(f,v){for(var w in v)v.hasOwnProperty(w)&&(f[w]=v[w])},x(y,_)};return function(u,y){x(u,y);function _(){this.constructor=u}u.prototype=y===null?Object.create(y):(_.prototype=y.prototype,new _)}}(),H=function(x){O(u,x);function u(){return x.call(this,{id:"editor.action.transposeLetters",label:T.a("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:U.a.writable,kbOpts:{kbExpr:U.a.textInputFocus,primary:0,mac:{primary:256|50},weight:100}})||this}return u.prototype.run=function(y,_){if(!_.hasModel())return;for(var f=_.getModel(),v=[],w=_.getSelections(),p=0,c=w;p0&&(_.pushUndoStop(),_.executeCommands(this.id,v),_.pushUndoStop())},u}(re.b);Object(re.f)(H)},baJR:function(Lt,j,e){"use strict";e.d(j,"b",function(){return U}),e.d(j,"c",function(){return z}),e.d(j,"a",function(){return O}),e.d(j,"d",function(){return x}),e.d(j,"e",function(){return y});var T=e("N0LK"),re=e("erNZ"),J=e("dBaI"),I=function(){function l(d,m){this.endIndex=d,this.type=m}return l}(),U=function(){function l(d,m){this.startOffset=d,this.endOffset=m}return l.prototype.equals=function(d){return this.startOffset===d.startOffset&&this.endOffset===d.endOffset},l}(),z=function(){function l(d,m,E,L,A,k,R,$,ie,W,B,le,Ce,Me,Te,Fe,Ue,Pe){this.useMonospaceOptimizations=d,this.canUseHalfwidthRightwardsArrow=m,this.lineContent=E,this.continuesWithWrappedLine=L,this.isBasicASCII=A,this.containsRTL=k,this.fauxIndentLength=R,this.lineTokens=$,this.lineDecorations=ie,this.tabSize=W,this.startVisibleColumn=B,this.spaceWidth=le,this.middotWidth=Ce,this.stopRenderingLineAfter=Me,this.renderWhitespace=Te==="all"?3:Te==="boundary"?1:Te==="selection"?2:0,this.renderControlCharacters=Fe,this.fontLigatures=Ue,this.selectionsOnLine=Pe&&Pe.sort(function(ne,ee){return ne.startOffset>>16},l.getCharIndex=function(d){return(d&65535)>>>0},l.prototype.setPartData=function(d,m,E,L){var A=(m<<16|E<<0)>>>0;this._data[d]=A,this._absoluteOffsets[d]=L+E},l.prototype.getAbsoluteOffsets=function(){return this._absoluteOffsets},l.prototype.charOffsetToPartData=function(d){return this.length===0?0:d<0?this._data[0]:d>=this.length?this._data[this.length-1]:this._data[d]},l.prototype.partDataToCharOffset=function(d,m,E){if(this.length===0)return 0;for(var L=(d<<16|E<<0)>>>0,A=0,k=this.length-1;A+1>>1,$=this._data[R];if($===L)return R;$>L?k=R:A=R}if(A===k)return A;var ie=this._data[A],W=this._data[k];if(ie===L)return A;if(W===L)return k;var B=l.getPartIndex(ie),le=l.getCharIndex(ie),Ce=l.getPartIndex(W),Me;B!==Ce?Me=m:Me=l.getCharIndex(W);var Te=E-le,Fe=Me-E;return Te<=Fe?A:k},l}(),H=function(){function l(d,m,E){this.characterMapping=d,this.containsRTL=m,this.containsForeignElements=E}return l}();function x(l,d){if(l.lineContent.length===0){var m=0,E="\xA0";if(l.lineDecorations.length>0){for(var L=[],A=[],k=0,R=l.lineDecorations.length;k0?'':"",W=A.length>0?'':"";E=""+ie+W+""}}return d.appendASCIIString(E),new H(new O(0,0),!1,m)}return s(f(l),d)}var u=function(){function l(d,m,E,L){this.characterMapping=d,this.html=m,this.containsRTL=E,this.containsForeignElements=L}return l}();function y(l){var d=Object(re.a)(1e4),m=x(l,d);return new u(m.characterMapping,d.build(),m.containsRTL,m.containsForeignElements)}var _=function(){function l(d,m,E,L,A,k,R,$,ie,W,B,le,Ce,Me,Te){this.fontIsMonospace=d,this.canUseHalfwidthRightwardsArrow=m,this.lineContent=E,this.len=L,this.isOverflowing=A,this.parts=k,this.containsForeignElements=R,this.fauxIndentLength=$,this.tabSize=ie,this.startVisibleColumn=W,this.containsRTL=B,this.spaceWidth=le,this.middotWidth=Ce,this.renderWhitespace=Me,this.renderControlCharacters=Te}return l}();function f(l){var d=l.useMonospaceOptimizations,m=l.lineContent,E,L;l.stopRenderingLineAfter!==-1&&l.stopRenderingLineAfter0){for(var R=0,$=l.lineDecorations.length;R<$;R++){var ie=l.lineDecorations[R];ie.type===3||ie.type===1?k|=1:ie.type===2&&(k|=2)}A=c(m,L,A,l.lineDecorations)}return l.containsRTL||(A=w(m,A,!l.isBasicASCII||l.fontLigatures)),new _(d,l.canUseHalfwidthRightwardsArrow,m,L,E,A,k,l.fauxIndentLength,l.tabSize,l.startVisibleColumn,l.containsRTL,l.spaceWidth,l.middotWidth,l.renderWhitespace,l.renderControlCharacters)}function v(l,d,m){var E=[],L=0;d>0&&(E[L++]=new I(d,""));for(var A=0,k=l.getCount();A=m){E[L++]=new I(m,$);break}E[L++]=new I(R,$)}return E}function w(l,d,m){var E=0,L=[],A=0;if(m)for(var k=0,R=d.length;k=50&&(L[A++]=new I(B+1,W),le=B+1,B=-1);le!==ie&&(L[A++]=new I(ie,W))}else L[A++]=$;E=ie}else for(var k=0,R=d.length;k50){for(var W=$.type,Te=Math.ceil(Me/50),Ce=1;Ce=ee.endOffset&&(ne++,ee=$&&$[ne]);var X=void 0;if(qUe)X=!0;else if(ue===9)X=!0;else if(ue===32)if(ie)if(Pe)X=!0;else{var he=q+1q),Pe?(!X||!R&&ae>=A)&&(W[B++]=new I(q,"vs-whitespace"),ae=ae%A):(q===Me||X&&q>L)&&(W[B++]=new I(q,Ce),ae=ae%A),ue===9?ae=A:T.y(ue)?ae+=2:ae++,Pe=X,q===Me&&(le++,le0?l.charCodeAt(d-1):0,me=d>1?l.charCodeAt(d-2):0,ge=Xe===32&&me!==32&&me!==9;ge||(je=!0)}else je=!0;return W[B++]=new I(d,je?"vs-whitespace":Ce),W}function c(l,d,m,E){E.sort(J.a.compare);for(var L=J.b.normalize(l,E),A=L.length,k=0,R=[],$=0,ie=0,W=0,B=m.length;Wie&&(ie=Te.startOffset,R[$++]=new I(ie,Me)),Te.endOffset+1<=Ce)ie=Te.endOffset+1,R[$++]=new I(ie,Me+" "+Te.className),k++;else{ie=Ce,R[$++]=new I(ie,Me+" "+Te.className);break}}Ce>ie&&(ie=Ce,R[$++]=new I(ie,Me))}var Fe=m[m.length-1].endIndex;if(kCe?11825:183,Pe=new O(k+1,$.length),ne=0,ee=B,ae=0,q=0,ue=0;d.appendASCIIString("");for(var X=0,he=$.length;X=0;if(ae=0,d.appendASCIIString('1?d.write1(8594):d.write1(65515);for(var F=2;F<=Q;F++)d.write1(160)}else Q=1,d.write1(Ue);ae+=Q,ne>=ie&&(ee+=Q)}q=we}else{var we=0;for(le&&d.appendASCIIString(' dir="ltr"'),d.appendASCII(62);ne=ie&&(ee+=Q)}q=we}d.appendASCIIString("")}return Pe.setPartData(k,$.length-1,ae,ue),R&&d.appendASCIIString(""),d.appendASCIIString(""),new H(Pe,le,L)}},bexQ:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("keybindingService")},bfR1:function(Lt,j,e){"use strict";e.r(j);var T=e("3/fG"),re=e("sswD"),J=e("Yr1X"),I=function(){var H=function(u,y){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,f){_.__proto__=f}||function(_,f){for(var v in f)f.hasOwnProperty(v)&&(_[v]=f[v])},H(u,y)};return function(x,u){H(x,u);function y(){this.constructor=x}x.prototype=u===null?Object.create(u):(y.prototype=u.prototype,new y)}}(),U=function(H){I(x,H);function x(){return H.call(this,{id:"editor.action.fontZoomIn",label:T.a("EditorFontZoomIn.label","Editor Font Zoom In"),alias:"Editor Font Zoom In",precondition:void 0})||this}return x.prototype.run=function(u,y){J.a.setZoomLevel(J.a.getZoomLevel()+1)},x}(re.b),z=function(H){I(x,H);function x(){return H.call(this,{id:"editor.action.fontZoomOut",label:T.a("EditorFontZoomOut.label","Editor Font Zoom Out"),alias:"Editor Font Zoom Out",precondition:void 0})||this}return x.prototype.run=function(u,y){J.a.setZoomLevel(J.a.getZoomLevel()-1)},x}(re.b),O=function(H){I(x,H);function x(){return H.call(this,{id:"editor.action.fontZoomReset",label:T.a("EditorFontZoomReset.label","Editor Font Zoom Reset"),alias:"Editor Font Zoom Reset",precondition:void 0})||this}return x.prototype.run=function(u,y){J.a.setZoomLevel(0)},x}(re.b);Object(re.f)(U),Object(re.f)(z),Object(re.f)(O)},bk7F:function(Lt,j,e){"use strict";e.r(j),e.d(j,"BracketMatchingController",function(){return E});var T=e("8ATB"),re=e.n(T),J=e("3/fG"),I=e("X+cX"),U=e("pmY6"),z=e("sswD"),O=e("cGHE"),H=e("aokT"),x=e("gCVg"),u=e("wQH0"),y=e("M1Kb"),_=e("tX9W"),f=e("kYye"),v=e("MD5Z"),w=e("t9D7"),p=e("fjLI"),c=function(){var L=function(k,R){return L=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function($,ie){$.__proto__=ie}||function($,ie){for(var W in ie)ie.hasOwnProperty(W)&&($[W]=ie[W])},L(k,R)};return function(A,k){L(A,k);function R(){this.constructor=A}A.prototype=k===null?Object.create(k):(R.prototype=k.prototype,new R)}}(),s=Object(v.Tb)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},J.a("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets.")),l=function(L){c(A,L);function A(){return L.call(this,{id:"editor.action.jumpToBracket",label:J.a("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:u.a.editorTextFocus,primary:2048|1024|88,weight:100}})||this}return A.prototype.run=function(k,R){var $=E.get(R);if(!$)return;$.jumpToBracket()},A}(z.b),d=function(L){c(A,L);function A(){return L.call(this,{id:"editor.action.selectToBracket",label:J.a("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})||this}return A.prototype.run=function(k,R,$){var ie=E.get(R);if(!ie)return;var W=!0;$&&$.selectBrackets===!1&&(W=!1),ie.selectToBracket(W)},A}(z.b),m=function(){function L(A,k,R){this.position=A,this.brackets=k,this.options=R}return L}(),E=function(L){c(A,L);function A(k){var R=L.call(this)||this;return R._editor=k,R._lastBracketsData=[],R._lastVersionId=0,R._decorations=[],R._updateBracketsSoon=R._register(new I.d(function(){return R._updateBrackets()},50)),R._matchBrackets=R._editor.getOption(53),R._updateBracketsSoon.schedule(),R._register(k.onDidChangeCursorPosition(function($){if(R._matchBrackets==="never")return;R._updateBracketsSoon.schedule()})),R._register(k.onDidChangeModelContent(function($){R._updateBracketsSoon.schedule()})),R._register(k.onDidChangeModel(function($){R._lastBracketsData=[],R._decorations=[],R._updateBracketsSoon.schedule()})),R._register(k.onDidChangeModelLanguageConfiguration(function($){R._lastBracketsData=[],R._updateBracketsSoon.schedule()})),R._register(k.onDidChangeConfiguration(function($){$.hasChanged(53)&&(R._matchBrackets=R._editor.getOption(53),R._decorations=R._editor.deltaDecorations(R._decorations,[]),R._lastBracketsData=[],R._lastVersionId=0,R._updateBracketsSoon.schedule())})),R}return A.get=function(k){return k.getContribution(A.ID)},A.prototype.jumpToBracket=function(){if(!this._editor.hasModel())return;var k=this._editor.getModel(),R=this._editor.getSelections().map(function($){var ie=$.getStartPosition(),W=k.matchBracket(ie),B=null;if(W)W[0].containsPosition(ie)?B=W[1].getStartPosition():W[1].containsPosition(ie)&&(B=W[0].getStartPosition());else{var le=k.findEnclosingBrackets(ie);if(le)B=le[0].getStartPosition();else{var Ce=k.findNextBracket(ie);Ce&&Ce.range&&(B=Ce.range.getStartPosition())}}return B?new x.a(B.lineNumber,B.column,B.lineNumber,B.column):new x.a(ie.lineNumber,ie.column,ie.lineNumber,ie.column)});this._editor.setSelections(R),this._editor.revealRange(R[0])},A.prototype.selectToBracket=function(k){if(!this._editor.hasModel())return;var R=this._editor.getModel(),$=[];this._editor.getSelections().forEach(function(ie){var W=ie.getStartPosition(),B=R.matchBracket(W);if(!B&&(B=R.findEnclosingBrackets(W),!B)){var le=R.findNextBracket(W);le&&le.range&&(B=R.matchBracket(le.range.getStartPosition()))}var Ce=null,Me=null;if(B){B.sort(H.a.compareRangesUsingStarts);var Te=B[0],Fe=B[1];Ce=k?Te.getStartPosition():Te.getEndPosition(),Me=k?Fe.getEndPosition():Fe.getStartPosition()}Ce&&Me&&$.push(new x.a(Ce.lineNumber,Ce.column,Me.lineNumber,Me.column))}),$.length>0&&(this._editor.setSelections($),this._editor.revealRange($[0]))},A.prototype._updateBrackets=function(){if(this._matchBrackets==="never")return;this._recomputeBrackets();for(var k=[],R=0,$=0,ie=this._lastBracketsData;$100){this._lastBracketsData=[],this._lastVersionId=0;return}var R=this._editor.getModel(),$=R.getVersionId(),ie=[];this._lastVersionId===$&&(ie=this._lastBracketsData);for(var W=[],B=0,le=0,Ce=k.length;le1&&W.sort(O.a.compare);for(var Te=[],Fe=0,Ue=0,Pe=ie.length,le=0,Ce=W.length;le0&&F[F.length-1])&&(De[0]===6||De[0]===2)){ve=0;continue}if(De[0]===3&&(!F||De[1]>F[0]&&De[1]=0;oe--)(se=Re[oe])&&(F=(C<3?se(F):C>3?se(Ee,ve,F):se(Ee,ve))||F);return C>3&&F&&Object.defineProperty(Ee,ve,F),F},X=function(Re,Ee){return function(ve,Q){Ee(ve,Q,Re)}},he=function(Re,Ee,ve,Q){function C(F){return F instanceof ve?F:new ve(function(se){se(F)})}return new(ve||(ve=Promise))(function(F,se){function oe(Se){try{De(Q.next(Se))}catch(Ve){se(Ve)}}function be(Se){try{De(Q.throw(Se))}catch(Ve){se(Ve)}}function De(Se){Se.done?F(Se.value):C(Se.value).then(oe,be)}De((Q=Q.apply(Re,Ee||[])).next())})},je=function(Re,Ee){var ve={label:0,sent:function(){if(F[0]&1)throw F[1];return F[1]},trys:[],ops:[]},Q,C,F,se;return se={next:oe(0),throw:oe(1),return:oe(2)},typeof Symbol=="function"&&(se[Symbol.iterator]=function(){return this}),se;function oe(De){return function(Se){return be([De,Se])}}function be(De){if(Q)throw new TypeError("Generator is already executing.");for(;ve;)try{if(Q=1,C&&(F=De[0]&2?C.return:De[0]?C.throw||((F=C.return)&&F.call(C),0):C.next)&&!(F=F.call(C,De[1])).done)return F;(C=0,F)&&(De=[De[0]&2,F.value]);switch(De[0]){case 0:case 1:F=De;break;case 4:return ve.label++,{value:De[1],done:!1};case 5:ve.label++,C=De[1],De=[0];continue;case 7:De=ve.ops.pop(),ve.trys.pop();continue;default:if(!(F=ve.trys,F=F.length>0&&F[F.length-1])&&(De[0]===6||De[0]===2)){ve=0;continue}if(De[0]===3&&(!F||De[1]>F[0]&&De[1]1)return;var Q=this._editor.getModel(),C=this._editor.getPosition(),F=!1,se=this._editor.onDidChangeModelContent(function(oe){if(oe.isFlush){F=!0,se.dispose();return}for(var be=0,De=oe.changes.length;be1)return;this._instantiationService.invokeFunction(Me,this.editor,Ee,2,re.a.None).catch(f.e)},Re.ID="editor.contrib.formatOnPaste",Re=ue([X(1,A.a)],Re),Re}(),ge=function(Re){q(Ee,Re);function Ee(){return Re.call(this,{id:"editor.action.formatDocument",label:E.a("formatDocument.label","Format Document"),alias:"Format Document",precondition:ae.a.and(x.a.writable,x.a.hasDocumentFormattingProvider),kbOpts:{kbExpr:ae.a.and(x.a.editorTextFocus,x.a.hasDocumentFormattingProvider),primary:1024|512|36,linux:{primary:2048|1024|39},weight:100},contextMenuOpts:{when:x.a.hasDocumentFormattingProvider,group:"1_modification",order:1.3}})||this}return Ee.prototype.run=function(ve,Q){return he(this,void 0,void 0,function(){var C;return je(this,function(F){switch(F.label){case 0:return Q.hasModel()?(C=ve.get(A.a),[4,C.invokeFunction(Fe,Q,1,re.a.None)]):[3,2];case 1:F.sent(),F.label=2;case 2:return[2]}})})},Ee}(U.b),we=function(Re){q(Ee,Re);function Ee(){return Re.call(this,{id:"editor.action.formatSelection",label:E.a("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:ae.a.and(x.a.writable,x.a.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:ae.a.and(x.a.editorTextFocus,x.a.hasDocumentSelectionFormattingProvider),primary:Object(J.a)(2048|41,2048|36),weight:100},contextMenuOpts:{when:ae.a.and(x.a.hasDocumentSelectionFormattingProvider,x.a.hasNonEmptySelection),group:"1_modification",order:1.31}})||this}return Ee.prototype.run=function(ve,Q){return he(this,void 0,void 0,function(){var C,F,se;return je(this,function(oe){switch(oe.label){case 0:return Q.hasModel()?(C=ve.get(A.a),F=Q.getModel(),se=Q.getSelection(),se.isEmpty()&&(se=new H.a(se.startLineNumber,1,se.startLineNumber,F.getLineMaxColumn(se.startLineNumber))),[4,C.invokeFunction(Me,Q,se,1,re.a.None)]):[2];case 1:return oe.sent(),[2]}})})},Ee}(U.b);Object(U.h)(Xe.ID,Xe),Object(U.h)(me.ID,me),Object(U.f)(ge),Object(U.f)(we),R.a.registerCommand("editor.action.format",function(Re){return he(void 0,void 0,void 0,function(){var Ee,ve;return je(this,function(Q){switch(Q.label){case 0:return Ee=Re.get(z.a).getFocusedCodeEditor(),!Ee||!Ee.hasModel()?[2]:(ve=Re.get(R.b),Ee.getSelection().isEmpty()?[4,ve.executeCommand("editor.action.formatDocument")]:[3,2]);case 1:return Q.sent(),[3,4];case 2:return[4,ve.executeCommand("editor.action.formatSelection")];case 3:Q.sent(),Q.label=4;case 4:return[2]}})})})},cMOf:function(Lt,j,e){"use strict";e.d(j,"a",function(){return w});var T=e("undH"),re=e.n(T),J=e("pmY6"),I=e("D3Dy"),U=e("MNsG"),z=e("746U"),O=e("pg8w"),H=e("XSiN"),x=e("MI8n"),u=e("EffR"),y=e("4y0V"),_=function(){var p=function(s,l){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,m){d.__proto__=m}||function(d,m){for(var E in m)m.hasOwnProperty(E)&&(d[E]=m[E])},p(s,l)};return function(c,s){p(c,s);function l(){this.constructor=c}c.prototype=s===null?Object.create(s):(l.prototype=s.prototype,new l)}}(),f=function(){for(var p=0,c=0,s=arguments.length;c=this.el.clientHeight-4)return this.orthogonalEndSash}else{if(s.offsetX<=4)return this.orthogonalStartSash;if(s.offsetX>=this.el.clientWidth-4)return this.orthogonalEndSash}return},c.prototype.dispose=function(){p.prototype.dispose.call(this),this.el.remove()},c}(J.a)},cMvZ:function(Lt,j,e){"use strict";e.d(j,"a",function(){return p});var T=e("MI8n"),re=e("pmY6"),J=e("N0LK"),I=e("0JNc"),U=e("KDc4"),z=e("BFtn"),O=function(){function c(s){if(s.autoClosingPairs?this._autoClosingPairs=s.autoClosingPairs.map(function(d){return new U.b(d)}):s.brackets?this._autoClosingPairs=s.brackets.map(function(d){return new U.b({open:d[0],close:d[1]})}):this._autoClosingPairs=[],s.__electricCharacterSupport&&s.__electricCharacterSupport.docComment){var l=s.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new U.b({open:l.open,close:l.close||""}))}this._autoCloseBefore=typeof s.autoCloseBefore=="string"?s.autoCloseBefore:c.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=s.surroundingPairs||this._autoClosingPairs}return c.prototype.getAutoClosingPairs=function(){return this._autoClosingPairs},c.prototype.getAutoCloseBeforeSet=function(){return this._autoCloseBefore},c.shouldAutoClosePair=function(s,l,d){if(l.getTokenCount()===0)return!0;var m=l.findTokenIndexAtOffset(d-2),E=l.getStandardTokenType(m);return s.isOK(E)},c.prototype.getSurroundingPairs=function(){return this._surroundingPairs},c.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=`;:.,=}])> - `,c}(),H=e("EIAu"),x=function(){function c(s){this._richEditBrackets=s}return c.prototype.getElectricCharacters=function(){var s=[];if(this._richEditBrackets)for(var l=0,d=this._richEditBrackets.brackets;l=3)for(var E=0,L=this._regExpRules.length;E=2&&(d.length>0&&m.length>0))for(var E=0,L=this._brackets.length;E=2&&d.length>0)for(var E=0,L=this._brackets.length;E1){var E=void 0,L=-1;for(E=l-1;E>=1;E--){if(s.getLanguageIdAtPosition(E,0)!==m)return L;var A=s.getLineContent(E);if(d.shouldIgnore(A)||/^\s+$/.test(A)||A===""){L=E;continue}return E}}return-1},c.prototype.getInheritIndentForLine=function(s,l,d,m){if(m===void 0&&(m=!0),s<4)return null;var E=this.getIndentRulesSupport(l.getLanguageIdentifier().id);if(!E)return null;if(d<=1)return{indentation:"",action:null};var L=this.getPrecedingValidLine(l,d,E);if(L<0)return null;if(L<1)return{indentation:"",action:null};var A=l.getLineContent(L);if(E.shouldIncrease(A)||E.shouldIndentNextLine(A))return{indentation:J.t(A),action:U.a.Indent,line:L};if(E.shouldDecrease(A))return{indentation:J.t(A),action:null,line:L};if(L===1)return{indentation:J.t(l.getLineContent(L)),action:null,line:L};var k=L-1,R=E.getIndentMetadata(l.getLineContent(k));if(!(R&(1|2))&&R&4){for(var $=0,ie=k-1;ie>0;ie--){if(E.shouldIndentNextLine(l.getLineContent(ie)))continue;$=ie;break}return{indentation:J.t(l.getLineContent($+1)),action:null,line:$+1}}if(m)return{indentation:J.t(l.getLineContent(L)),action:null,line:L};for(var ie=L;ie>0;ie--){var W=l.getLineContent(ie);if(E.shouldIncrease(W))return{indentation:J.t(W),action:U.a.Indent,line:ie};if(E.shouldIndentNextLine(W)){for(var $=0,B=ie-1;B>0;B--){if(E.shouldIndentNextLine(l.getLineContent(ie)))continue;$=B;break}return{indentation:J.t(l.getLineContent($+1)),action:null,line:$+1}}else if(E.shouldDecrease(W))return{indentation:J.t(W),action:null,line:ie}}return{indentation:J.t(l.getLineContent(1)),action:null,line:1}},c.prototype.getGoodIndentForLine=function(s,l,d,m,E){if(s<4)return null;var L=this._getRichEditSupport(d);if(!L)return null;var A=this.getIndentRulesSupport(d);if(!A)return null;var k=this.getInheritIndentForLine(s,l,m),R=l.getLineContent(m);if(k){var $=k.line;if($!==void 0){var ie=L.onEnter(s,"",l.getLineContent($),"");if(ie){var W=J.t(l.getLineContent($));return ie.removeText&&(W=W.substring(0,W.length-ie.removeText)),ie.indentAction===U.a.Indent||ie.indentAction===U.a.IndentOutdent?W=E.shiftIndent(W):ie.indentAction===U.a.Outdent&&(W=E.unshiftIndent(W)),A.shouldDecrease(R)&&(W=E.unshiftIndent(W)),ie.appendText&&(W+=ie.appendText),J.t(W)}}return A.shouldDecrease(R)?k.action===U.a.Indent?k.indentation:E.unshiftIndent(k.indentation):k.action===U.a.Indent?E.shiftIndent(k.indentation):k.indentation}return null},c.prototype.getIndentForEnter=function(s,l,d,m){if(s<4)return null;l.forceTokenization(d.startLineNumber);var E=l.getLineTokens(d.startLineNumber),L=Object(z.a)(E,d.startColumn-1),A=L.getLineContent(),k=!1,R;L.firstCharOffset>0&&E.getLanguageId(0)!==L.languageId?(k=!0,R=A.substr(0,d.startColumn-1-L.firstCharOffset)):R=E.getLineContent().substring(0,d.startColumn-1);var $;if(d.isEmpty())$=A.substr(d.startColumn-1-L.firstCharOffset);else{var ie=this.getScopedLineTokens(l,d.endLineNumber,d.endColumn);$=ie.getLineContent().substr(d.endColumn-1-L.firstCharOffset)}var W=this.getIndentRulesSupport(L.languageId);if(!W)return null;var B=R,le=J.t(R),Ce={getLineTokens:function(ne){return l.getLineTokens(ne)},getLanguageIdentifier:function(){return l.getLanguageIdentifier()},getLanguageIdAtPosition:function(ne,ee){return l.getLanguageIdAtPosition(ne,ee)},getLineContent:function(ne){return ne===d.startLineNumber?B:l.getLineContent(ne)}},Me=J.t(E.getLineContent()),Te=this.getInheritIndentForLine(s,Ce,d.startLineNumber+1);if(!Te){var Fe=k?Me:le;return{beforeEnter:Fe,afterEnter:Fe}}var Ue=k?Me:Te.indentation;return Te.action===U.a.Indent&&(Ue=m.shiftIndent(Ue)),W.shouldDecrease($)&&(Ue=m.unshiftIndent(Ue)),{beforeEnter:k?Me:le,afterEnter:Ue}},c.prototype.getIndentActionForType=function(s,l,d,m,E){if(s<4)return null;var L=this.getScopedLineTokens(l,d.startLineNumber,d.startColumn),A=this.getIndentRulesSupport(L.languageId);if(!A)return null;var k=L.getLineContent(),R=k.substr(0,d.startColumn-1-L.firstCharOffset),$;if(d.isEmpty())$=k.substr(d.startColumn-1-L.firstCharOffset);else{var ie=this.getScopedLineTokens(l,d.endLineNumber,d.endColumn);$=ie.getLineContent().substr(d.endColumn-1-L.firstCharOffset)}if(!A.shouldDecrease(R+$)&&A.shouldDecrease(R+m+$)){var W=this.getInheritIndentForLine(s,l,d.startLineNumber,!1);if(!W)return null;var B=W.indentation;return W.action!==U.a.Indent&&(B=E.unshiftIndent(B)),B}return null},c.prototype.getIndentMetadata=function(s,l){var d=this.getIndentRulesSupport(s.getLanguageIdentifier().id);return d?l<1||l>s.getLineCount()?null:d.getIndentMetadata(s.getLineContent(l)):null},c.prototype.getEnterAction=function(s,l,d){var m=this.getScopedLineTokens(l,d.startLineNumber,d.startColumn),E=this._getRichEditSupport(m.languageId);if(!E)return null;var L=m.getLineContent(),A=L.substr(0,d.startColumn-1-m.firstCharOffset),k;if(d.isEmpty())k=L.substr(d.startColumn-1-m.firstCharOffset);else{var R=this.getScopedLineTokens(l,d.endLineNumber,d.endColumn);k=R.getLineContent().substr(d.endColumn-1-m.firstCharOffset)}var $="";if(d.startLineNumber>1&&m.firstCharOffset===0){var ie=this.getScopedLineTokens(l,d.startLineNumber-1);ie.languageId===m.languageId&&($=ie.getLineContent())}var W=E.onEnter(s,$,A,k);if(!W)return null;var B=W.indentAction,le=W.appendText,Ce=W.removeText||0;le||(B===U.a.Indent||B===U.a.IndentOutdent?le=" ":le="");var Me=this.getIndentationAtPosition(l,d.startLineNumber,d.startColumn);return Ce&&(Me=Me.substring(0,Me.length-Ce)),{indentAction:B,appendText:le,removeText:Ce,indentation:Me}},c.prototype.getIndentationAtPosition=function(s,l,d){var m=s.getLineContent(l),E=J.t(m);return E.length>d-1&&(E=E.substring(0,d-1)),E},c.prototype.getScopedLineTokens=function(s,l,d){s.forceTokenization(l);var m=s.getLineTokens(l),E=typeof d=="undefined"?s.getLineMaxColumn(l)-1:d-1;return Object(z.a)(m,E)},c.prototype.getBracketsSupport=function(s){var l=this._getRichEditSupport(s);return l&&l.brackets||null},c}(),p=new w},"ci+S":function(Lt,j,e){},cl4r:function(Lt,j,e){},cldp:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"javascript",extensions:[".js",".es6",".jsx"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return e.e(267).then(e.bind(null,"7Xl7"))}})},cqdO:function(Lt,j,e){"use strict";e.d(j,"a",function(){return Me}),e.d(j,"f",function(){return Ue}),e.d(j,"e",function(){return Pe}),e.d(j,"d",function(){return q}),e.d(j,"b",function(){return ue}),e.d(j,"c",function(){return ve});var T=e("4rho"),re=e("3/fG"),J=e("pmY6"),I=e("746U"),U=e("6OMU"),z=e("ZCR3"),O=e("EffR"),H=e("MNsG"),x=e("pg8w"),u=e("uDWl"),y=e("MI8n"),_=e("4y0V"),f=function(){var Q=function(F,se){return Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,be){oe.__proto__=be}||function(oe,be){for(var De in be)be.hasOwnProperty(De)&&(oe[De]=be[De])},Q(F,se)};return function(C,F){Q(C,F);function se(){this.constructor=C}C.prototype=F===null?Object.create(F):(se.prototype=F.prototype,new se)}}(),v;(function(Q){Q.TREE="tree",Q.FORM="form"})(v||(v={}));var w=function(Q){f(C,Q);function C(F,se){return Q.call(this,"ListError ["+F+"] "+se)||this}return C}(Error),p=e("feEw"),c=e("zrhQ"),s=e("qj0h"),l=function(){function Q(C){this.spliceables=C}return Q.prototype.splice=function(C,F,se){this.spliceables.forEach(function(oe){return oe.splice(C,F,se)})},Q}(),d=e("Sdnv"),m=e("fpMC"),E=function(){var Q=function(F,se){return Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,be){oe.__proto__=be}||function(oe,be){for(var De in be)be.hasOwnProperty(De)&&(oe[De]=be[De])},Q(F,se)};return function(C,F){Q(C,F);function se(){this.constructor=C}C.prototype=F===null?Object.create(F):(se.prototype=F.prototype,new se)}}(),L=function(){return L=Object.assign||function(Q){for(var C,F=1,se=arguments.length;F=0;Se--)(De=Q[Se])&&(be=(oe<3?De(be):oe>3?De(C,F,be):De(C,F))||be);return oe>3&&be&&Object.defineProperty(C,F,be),be},k=function(){for(var Q=0,C=0,F=arguments.length;C=0){var be=this.renderedElements[oe];this.trait.unrender(se),be.index=F}else{var be={index:F,templateData:se};this.renderedElements.push(be)}this.trait.renderIndex(F,se)},Q.prototype.splice=function(C,F,se){for(var oe=[],be=0,De=this.renderedElements;be=C+F&&oe.push({index:Se.index+se-F,templateData:Se.templateData})}this.renderedElements=oe},Q.prototype.renderIndexes=function(C){for(var F=0,se=this.renderedElements;F-1&&this.trait.renderIndex(be,De)}},Q.prototype.disposeTemplate=function(C){var F=Object(U.k)(this.renderedElements,function(se){return se.templateData===C});if(F<0)return;this.renderedElements.splice(F,1)},Q}(),$=function(){function Q(C){this._trait=C,this.indexes=[],this.sortedIndexes=[],this._onChange=new y.a,this.onChange=this._onChange.event}return Object.defineProperty(Q.prototype,"trait",{get:function(){return this._trait},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"renderer",{get:function(){return new R(this)},enumerable:!0,configurable:!0}),Q.prototype.splice=function(C,F,se){var oe=se.length-F,be=C+F,De=k(this.sortedIndexes.filter(function(Se){return Se=be}).map(function(Se){return Se+oe}));this.renderer.splice(C,F,se.length),this._set(De,De)},Q.prototype.renderIndex=function(C,F){O.Y(F,this._trait,this.contains(C))},Q.prototype.unrender=function(C){O.P(C,this._trait)},Q.prototype.set=function(C,F){return this._set(C,k(C).sort(ge),F)},Q.prototype._set=function(C,F,se){var oe=this.indexes,be=this.sortedIndexes;this.indexes=C,this.sortedIndexes=F;var De=Xe(be,C);return this.renderer.renderIndexes(De),this._onChange.fire({indexes:C,browserEvent:se}),oe},Q.prototype.get=function(){return this.indexes},Q.prototype.contains=function(C){return Object(U.c)(this.sortedIndexes,C,ge)>=0},Q.prototype.dispose=function(){Object(J.f)(this._onChange)},A([z.a],Q.prototype,"renderer",null),Q}(),ie=function(Q){E(C,Q);function C(){return Q.call(this,"focused")||this}return C.prototype.renderIndex=function(F,se){Q.prototype.renderIndex.call(this,F,se),this.contains(F)?se.setAttribute("aria-selected","true"):se.removeAttribute("aria-selected")},C}($),W=function(){function Q(C,F,se){this.trait=C,this.view=F,this.identityProvider=se}return Q.prototype.splice=function(C,F,se){var oe=this;if(!this.identityProvider)return this.trait.splice(C,F,se.map(function(){return!1}));var be=this.trait.get().map(function(Se){return oe.identityProvider.getId(oe.view.element(Se)).toString()}),De=se.map(function(Se){return be.indexOf(oe.identityProvider.getId(Se).toString())>-1});this.trait.splice(C,F,De)},Q}();function B(Q){return Q.tagName==="INPUT"||Q.tagName==="TEXTAREA"}var le=function(){function Q(C,F,se){this.list=C,this.view=F,this.disposables=new J.b;var oe=se.multipleSelectionSupport!==!1;this.openController=se.openController||ae;var be=y.b.chain(Object(_.a)(F.domNode,"keydown")).filter(function(De){return!B(De.target)}).map(function(De){return new u.a(De)});be.filter(function(De){return De.keyCode===3}).on(this.onEnter,this,this.disposables),be.filter(function(De){return De.keyCode===16}).on(this.onUpArrow,this,this.disposables),be.filter(function(De){return De.keyCode===18}).on(this.onDownArrow,this,this.disposables),be.filter(function(De){return De.keyCode===11}).on(this.onPageUpArrow,this,this.disposables),be.filter(function(De){return De.keyCode===12}).on(this.onPageDownArrow,this,this.disposables),be.filter(function(De){return De.keyCode===9}).on(this.onEscape,this,this.disposables),oe&&be.filter(function(De){return(H.e?De.metaKey:De.ctrlKey)&&De.keyCode===31}).on(this.onCtrlA,this,this.disposables)}return Q.prototype.onEnter=function(C){C.preventDefault(),C.stopPropagation(),this.list.setSelection(this.list.getFocus(),C.browserEvent),this.openController.shouldOpen(C.browserEvent)&&this.list.open(this.list.getFocus(),C.browserEvent)},Q.prototype.onUpArrow=function(C){C.preventDefault(),C.stopPropagation(),this.list.focusPrevious(1,!1,C.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},Q.prototype.onDownArrow=function(C){C.preventDefault(),C.stopPropagation(),this.list.focusNext(1,!1,C.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},Q.prototype.onPageUpArrow=function(C){C.preventDefault(),C.stopPropagation(),this.list.focusPreviousPage(C.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},Q.prototype.onPageDownArrow=function(C){C.preventDefault(),C.stopPropagation(),this.list.focusNextPage(C.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},Q.prototype.onCtrlA=function(C){C.preventDefault(),C.stopPropagation(),this.list.setSelection(Object(U.u)(this.list.length),C.browserEvent),this.view.domNode.focus()},Q.prototype.onEscape=function(C){C.preventDefault(),C.stopPropagation(),this.list.setSelection([],C.browserEvent),this.view.domNode.focus()},Q.prototype.dispose=function(){this.disposables.dispose()},Q}(),Ce;(function(Q){Q[Q.Idle=0]="Idle",Q[Q.Typing=1]="Typing"})(Ce||(Ce={}));var Me=new(function(){function Q(){}return Q.prototype.mightProducePrintableCharacter=function(C){return C.ctrlKey||C.metaKey||C.altKey?!1:C.keyCode>=31&&C.keyCode<=56||C.keyCode>=21&&C.keyCode<=30||C.keyCode>=93&&C.keyCode<=102||C.keyCode>=80&&C.keyCode<=90},Q}()),Te=function(){function Q(C,F,se,oe){this.list=C,this.view=F,this.keyboardNavigationLabelProvider=se,this.delegate=oe,this.enabled=!1,this.state=Ce.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.enabledDisposables=new J.b,this.disposables=new J.b,this.updateOptions(C.options)}return Q.prototype.updateOptions=function(C){var F=typeof C.enableKeyboardNavigation=="undefined"?!0:!!C.enableKeyboardNavigation;F?this.enable():this.disable(),typeof C.automaticKeyboardNavigation!="undefined"&&(this.automaticKeyboardNavigation=C.automaticKeyboardNavigation)},Q.prototype.enable=function(){var C=this;if(this.enabled)return;var F=y.b.chain(Object(_.a)(this.view.domNode,"keydown")).filter(function(be){return!B(be.target)}).filter(function(){return C.automaticKeyboardNavigation||C.triggered}).map(function(be){return new u.a(be)}).filter(function(be){return C.delegate.mightProducePrintableCharacter(be)}).forEach(function(be){be.stopPropagation(),be.preventDefault()}).map(function(be){return be.browserEvent.key}).event,se=y.b.debounce(F,function(){return null},800),oe=y.b.reduce(y.b.any(F,se),function(be,De){return De===null?null:(be||"")+De});oe(this.onInput,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1},Q.prototype.disable=function(){if(!this.enabled)return;this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1},Q.prototype.onInput=function(C){if(!C){this.state=Ce.Idle,this.triggered=!1;return}var F=this.list.getFocus(),se=F.length>0?F[0]:0,oe=this.state===Ce.Idle?1:0;this.state=Ce.Typing;for(var be=0;be'})}},Vtyv:function(Lt,j,e){},VvMK:function(Lt,j,e){},Vxe3:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("codeEditorService")},W9cx:function(Lt,j,e){"use strict";e.d(j,"a",function(){return O}),e.d(j,"b",function(){return U}),e.d(j,"c",function(){return x});var T=e("bY76"),re=e("Cg/j"),J=e("pmY6"),I=e("N0LK"),H=function(u,y,_,f){function v(w){return w instanceof _?w:new _(function(p){p(w)})}return new(_||(_=Promise))(function(w,p){function c(d){try{l(f.next(d))}catch(m){p(m)}}function s(d){try{l(f.throw(d))}catch(m){p(m)}}function l(d){d.done?w(d.value):v(d.value).then(c,s)}l((f=f.apply(u,y||[])).next())})},z=function(u,y){var _={label:0,sent:function(){if(w[0]&1)throw w[1];return w[1]},trys:[],ops:[]},f,v,w,p;return p={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function c(l){return function(d){return s([l,d])}}function s(l){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,v&&(w=l[0]&2?v.return:l[0]?v.throw||((w=v.return)&&w.call(v),0):v.next)&&!(w=w.call(v,l[1])).done)return w;(v=0,w)&&(l=[l[0]&2,w.value]);switch(l[0]){case 0:case 1:w=l;break;case 4:return _.label++,{value:l[1],done:!1};case 5:_.label++,v=l[1],l=[0];continue;case 7:l=_.ops.pop(),_.trys.pop();continue;default:if(!(w=_.trys,w=w.length>0&&w[w.length-1])&&(l[0]===6||l[0]===2)){_=0;continue}if(l[0]===3&&(!w||l[1]>w[0]&&l[1]0&&X[X.length-1])&&(me[0]===6||me[0]===2)){ae=0;continue}if(me[0]===3&&(!X||me[1]>X[0]&&me[1]0&&ue.indexOf(Fe)===0){for(var ve=null,Q=null,C=0,F=0;F0)):C++}Q&&Q.setGroupLabel(this.typeToLabel(ve||"",C))}else he.length>0&&he[0].setGroupLabel(z.r(Me.e._symbols_,he.length));return he},ee.prototype.typeToLabel=function(ae,q){switch(ae){case"module":return z.r(Me.e._modules_,q);case"class":return z.r(Me.e._class_,q);case"interface":return z.r(Me.e._interface_,q);case"method":return z.r(Me.e._method_,q);case"function":return z.r(Me.e._function_,q);case"property":return z.r(Me.e._property_,q);case"variable":return z.r(Me.e._variable_,q);case"var":return z.r(Me.e._variable2_,q);case"constructor":return z.r(Me.e._constructor_,q);case"call":return z.r(Me.e._call_,q)}return ae},ee.prototype.sortNormal=function(ae,q,ue){var X=q.getLabel().toLowerCase(),he=ue.getLabel().toLowerCase(),je=X.localeCompare(he);if(je!==0)return je;var Xe=q.getRange(),me=ue.getRange();return Xe.startLineNumber-me.startLineNumber},ee.prototype.sortScoped=function(ae,q,ue){ae=ae.substr(Fe.length);var X=q.getType(),he=ue.getType(),je=X.localeCompare(he);if(je!==0)return je;if(ae){var Xe=q.getLabel().toLowerCase(),me=ue.getLabel().toLowerCase(),ge=Xe.localeCompare(me);if(ge!==0)return ge}var we=q.getRange(),Re=ue.getRange();return we.startLineNumber-Re.startLineNumber},ee}(Ce.a);Object(U.f)(Pe)},WqXY:function(Lt,j,e){"use strict";e.d(j,"c",function(){return w}),e.d(j,"d",function(){return p}),e.d(j,"b",function(){return c}),e.d(j,"a",function(){return l});var T=e("yEoX"),re=e.n(T),J=e("MNsG"),I=e("3/fG"),H=e("pmY6"),z=e("8HAY"),O=e("EffR"),U=e("746U"),x=e("pg8w"),u=e("uDWl"),y=e("MI8n"),_=e("ZQ78"),f=e("D3Dy"),v=function(){var d=function(E,L){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,k){A.__proto__=k}||function(A,k){for(var R in k)k.hasOwnProperty(R)&&(A[R]=k[R])},d(E,L)};return function(m,E){d(m,E);function L(){this.constructor=m}m.prototype=E===null?Object.create(E):(L.prototype=E.prototype,new L)}}(),w=function(d){v(m,d);function m(E,L,A){var k=d.call(this)||this;return k.options=A,k._context=E||k,k._action=L,L instanceof z.a&&k._register(L.onDidChange(function(R){if(!k.element)return;k.handleActionChangeEvent(R)})),k}return m.prototype.handleActionChangeEvent=function(E){E.enabled!==void 0&&this.updateEnabled(),E.checked!==void 0&&this.updateChecked(),E.class!==void 0&&this.updateClass(),E.label!==void 0&&(this.updateLabel(),this.updateTooltip()),E.tooltip!==void 0&&this.updateTooltip()},Object.defineProperty(m.prototype,"actionRunner",{get:function(){return this._actionRunner||(this._actionRunner=this._register(new z.b)),this._actionRunner},set:function(L){this._actionRunner=L},enumerable:!0,configurable:!0}),m.prototype.getAction=function(){return this._action},m.prototype.isEnabled=function(){return this._action.enabled},m.prototype.setActionContext=function(E){this._context=E},m.prototype.render=function(E){var L=this,A=this.element=E;this._register(x.b.addTarget(E));var k=this.options&&this.options.draggable;k&&(E.draggable=!0,f.h&&this._register(O.j(E,O.d.DRAG_START,function(R){var $;return($=R.dataTransfer)===null||$===void 0?void 0:$.setData(_.a.TEXT,L._action.label)}))),this._register(O.j(A,x.a.Tap,function(R){return L.onClick(R)})),this._register(O.j(A,O.d.MOUSE_DOWN,function(R){k||O.c.stop(R,!0),L._action.enabled&&R.button===0&&O.f(A,"active")})),this._register(O.j(A,O.d.CLICK,function(R){O.c.stop(R,!0),L.options&&L.options.isMenu?L.onClick(R):J.i(function(){return L.onClick(R)})})),this._register(O.j(A,O.d.DBLCLICK,function(R){O.c.stop(R,!0)})),[O.d.MOUSE_UP,O.d.MOUSE_OUT].forEach(function(R){L._register(O.j(A,R,function($){O.c.stop($),O.P(A,"active")}))})},m.prototype.onClick=function(E){O.c.stop(E,!0);var L;U.l(this._context)?L=E:(L=this._context,U.i(L)&&(L.event=E)),this.actionRunner.run(this._action,L)},m.prototype.focus=function(){this.element&&(this.element.focus(),O.f(this.element,"focused"))},m.prototype.blur=function(){this.element&&(this.element.blur(),O.P(this.element,"focused"))},m.prototype.updateEnabled=function(){},m.prototype.updateLabel=function(){},m.prototype.updateTooltip=function(){},m.prototype.updateClass=function(){},m.prototype.updateChecked=function(){},m.prototype.dispose=function(){this.element&&(O.R(this.element),this.element=void 0),d.prototype.dispose.call(this)},m}(H.a),p=function(d){v(m,d);function m(E){var L=d.call(this,m.ID,E,E?"separator text":"separator")||this;return L.checked=!1,L.enabled=!1,L}return m.ID="vs.actions.separator",m}(z.a),c=function(d){v(m,d);function m(E,L,A){A===void 0&&(A={});var k=d.call(this,E,L,A)||this;return k.options=A,k.options.icon=A.icon!==void 0?A.icon:!1,k.options.label=A.label!==void 0?A.label:!0,k.cssClass="",k}return m.prototype.render=function(E){d.prototype.render.call(this,E),this.element&&(this.label=O.q(this.element,O.a("a.action-label"))),this.label&&(this._action.id===p.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&(O.q(this.element,O.a("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()},m.prototype.focus=function(){d.prototype.focus.call(this),this.label&&this.label.focus()},m.prototype.updateLabel=function(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)},m.prototype.updateTooltip=function(){var E=null;this.getAction().tooltip?E=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(E=this.getAction().label,this.options.keybinding&&(E=I.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",E,this.options.keybinding))),E&&this.label&&(this.label.title=E)},m.prototype.updateClass=function(){this.cssClass&&this.label&&O.Q(this.label,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(O.f(this.label,"codicon"),this.cssClass&&O.g(this.label,this.cssClass)),this.updateEnabled()):this.label&&O.P(this.label,"codicon")},m.prototype.updateEnabled=function(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),O.P(this.label,"disabled"),this.label.tabIndex=0),this.element&&O.P(this.element,"disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),O.f(this.label,"disabled"),O.S(this.label)),this.element&&O.f(this.element,"disabled"))},m.prototype.updateChecked=function(){this.label&&(this.getAction().checked?O.f(this.label,"checked"):O.P(this.label,"checked"))},m}(w),s={orientation:0,context:null,triggerKeys:{keys:[3,10],keyDown:!1}},l=function(d){v(m,d);function m(E,L){L===void 0&&(L=s);var A=d.call(this)||this;A._onDidBlur=A._register(new y.a),A.onDidBlur=A._onDidBlur.event,A._onDidCancel=A._register(new y.a),A.onDidCancel=A._onDidCancel.event,A._onDidRun=A._register(new y.a),A.onDidRun=A._onDidRun.event,A._onDidBeforeRun=A._register(new y.a),A.onDidBeforeRun=A._onDidBeforeRun.event,A.options=L,A._context=L.context,A.options.triggerKeys||(A.options.triggerKeys=s.triggerKeys),A.options.actionRunner?A._actionRunner=A.options.actionRunner:(A._actionRunner=new z.b,A._register(A._actionRunner)),A._register(A._actionRunner.onDidRun(function($){return A._onDidRun.fire($)})),A._register(A._actionRunner.onDidBeforeRun(function($){return A._onDidBeforeRun.fire($)})),A.viewItems=[],A.focusedItem=void 0,A.domNode=document.createElement("div"),A.domNode.className="monaco-action-bar",L.animated!==!1&&O.f(A.domNode,"animated");var k,R;switch(A.options.orientation){case 0:k=15,R=17;break;case 1:k=17,R=15,A.domNode.className+=" reverse";break;case 2:k=16,R=18,A.domNode.className+=" vertical";break;case 3:k=18,R=16,A.domNode.className+=" vertical reverse";break}return A._register(O.j(A.domNode,O.d.KEY_DOWN,function($){var ie=new u.a($),W=!0;ie.equals(k)?A.focusPrevious():ie.equals(R)?A.focusNext():ie.equals(9)?A.cancel():A.isTriggerKeyEvent(ie)?A.options.triggerKeys&&A.options.triggerKeys.keyDown&&A.doTrigger(ie):W=!1,W&&(ie.preventDefault(),ie.stopPropagation())})),A._register(O.j(A.domNode,O.d.KEY_UP,function($){var ie=new u.a($);A.isTriggerKeyEvent(ie)?(A.options.triggerKeys&&!A.options.triggerKeys.keyDown&&A.doTrigger(ie),ie.preventDefault(),ie.stopPropagation()):(ie.equals(2)||ie.equals(1024|2))&&A.updateFocusedItem()})),A.focusTracker=A._register(O.Z(A.domNode)),A._register(A.focusTracker.onDidBlur(function(){(document.activeElement===A.domNode||!O.K(document.activeElement,A.domNode))&&(A._onDidBlur.fire(),A.focusedItem=void 0)})),A._register(A.focusTracker.onDidFocus(function(){return A.updateFocusedItem()})),A.actionsList=document.createElement("ul"),A.actionsList.className="actions-container",A.actionsList.setAttribute("role","toolbar"),A.options.ariaLabel&&A.actionsList.setAttribute("aria-label",A.options.ariaLabel),A.domNode.appendChild(A.actionsList),E.appendChild(A.domNode),A}return m.prototype.isTriggerKeyEvent=function(E){var L=!1;return this.options.triggerKeys&&this.options.triggerKeys.keys.forEach(function(A){L=L||E.equals(A)}),L},m.prototype.updateFocusedItem=function(){for(var E=0;E=A.actionsList.children.length?(A.actionsList.appendChild(ie),A.viewItems.push(W)):(A.actionsList.insertBefore(ie,A.actionsList.children[R]),A.viewItems.splice(R,0,W),R++)})},m.prototype.clear=function(){this.viewItems=Object(H.f)(this.viewItems),O.t(this.actionsList)},m.prototype.isEmpty=function(){return this.viewItems.length===0},m.prototype.focus=function(E){var L=!1,A=void 0;E===void 0?L=!0:typeof E=="number"?A=E:typeof E=="boolean"&&(L=E),L&&typeof this.focusedItem=="undefined"?(this.focusedItem=this.viewItems.length-1,this.focusNext()):(A!==void 0&&(this.focusedItem=A),this.updateFocus())},m.prototype.focusNext=function(){typeof this.focusedItem=="undefined"&&(this.focusedItem=this.viewItems.length-1);var E=this.focusedItem,L;do this.focusedItem=(this.focusedItem+1)%this.viewItems.length,L=this.viewItems[this.focusedItem];while(this.focusedItem!==E&&!L.isEnabled());this.focusedItem===E&&!L.isEnabled()&&(this.focusedItem=void 0),this.updateFocus()},m.prototype.focusPrevious=function(){typeof this.focusedItem=="undefined"&&(this.focusedItem=0);var E=this.focusedItem,L;do this.focusedItem=this.focusedItem-1,this.focusedItem<0&&(this.focusedItem=this.viewItems.length-1),L=this.viewItems[this.focusedItem];while(this.focusedItem!==E&&!L.isEnabled());this.focusedItem===E&&!L.isEnabled()&&(this.focusedItem=void 0),this.updateFocus(!0)},m.prototype.updateFocus=function(E,L){typeof this.focusedItem=="undefined"&&this.actionsList.focus({preventScroll:L});for(var A=0;A0&&ve[ve.length-1])&&(se[0]===6||se[0]===2)){we=0;continue}if(se[0]===3&&(!ve||se[1]>ve[0]&&se[1]0&&ve[ve.length-1])&&(se[0]===6||se[0]===2)){we=0;continue}if(se[0]===3&&(!ve||se[1]>ve[0]&&se[1]=0;C--)(Q=me[C])&&(ve=(Ee<3?Q(ve):Ee>3?Q(ge,we,ve):Q(ge,we))||ve);return Ee>3&&ve&&Object.defineProperty(ge,we,ve),ve},Pe=function(me,ge){return function(we,Re){ge(we,Re,me)}},ne=O.a,ee=function(me){Fe(ge,me);function ge(we,Re,Ee,ve){var Q=me.call(this)||this;return Q.editor=we,Q.renderDisposeables=Q._register(new re.b),Q.visible=!1,Q.announcedLabel=null,Q.allowEditorOverflow=!0,Q.markdownRenderer=Q._register(new v.a(we,ve,Ee)),Q.model=Q._register(new Ce(we)),Q.keyVisible=m.Visible.bindTo(Re),Q.keyMultipleSignatures=m.MultipleSignatures.bindTo(Re),Q._register(Q.model.onChangedHints(function(C){C?(Q.show(),Q.render(C)):Q.hide()})),Q}return ge.prototype.createParamaterHintDOMNodes=function(){var we=this,Re=ne(".editor-widget.parameter-hints-widget"),Ee=O.q(Re,ne(".wrapper"));Ee.tabIndex=-1;var ve=O.q(Ee,ne(".controls")),Q=O.q(ve,ne(".button.codicon.codicon-chevron-up")),C=O.q(ve,ne(".overloads")),F=O.q(ve,ne(".button.codicon.codicon-chevron-down")),se=Object(U.b)(Object(U.a)(Q,"click"));this._register(se(this.previous,this));var oe=Object(U.b)(Object(U.a)(F,"click"));this._register(oe(this.next,this));var be=ne(".body"),De=new u.a(be,{});this._register(De),Ee.appendChild(De.getDomNode());var Se=O.q(be,ne(".signature")),Ve=O.q(be,ne(".docs"));Re.style.userSelect="text",this.domNodes={element:Re,signature:Se,overloads:C,docs:Ve,scrollbar:De},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(function(it){we.visible&&we.editor.layoutContentWidget(we)}));var Qe=function(){if(!we.domNodes)return;var pt=we.editor.getOption(34);we.domNodes.element.style.fontSize=pt.fontSize+"px"};Qe(),this._register(y.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(function(it){return it.hasChanged(34)}).on(Qe,null)),this._register(this.editor.onDidLayoutChange(function(it){return we.updateMaxHeight()})),this.updateMaxHeight()},ge.prototype.show=function(){var we=this;if(this.visible)return;this.domNodes||this.createParamaterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(function(){we.domNodes&&O.f(we.domNodes.element,"visible")},100),this.editor.layoutContentWidget(this)},ge.prototype.hide=function(){if(!this.visible)return;this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,this.domNodes&&O.P(this.domNodes.element,"visible"),this.editor.layoutContentWidget(this)},ge.prototype.getPosition=function(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null},ge.prototype.render=function(we){if(!this.domNodes)return;var Re=we.signatures.length>1;O.Y(this.domNodes.element,"multiple",Re),this.keyMultipleSignatures.set(Re),this.domNodes.signature.innerHTML="",this.domNodes.docs.innerHTML="";var Ee=we.signatures[we.activeSignature];if(!Ee)return;var ve=O.q(this.domNodes.signature,ne(".code")),Q=Ee.parameters.length>0,C=this.editor.getOption(34);if(ve.style.fontSize=C.fontSize+"px",ve.style.fontFamily=C.fontFamily,Q)this.renderParameters(ve,Ee,we.activeParameter);else{var F=O.q(ve,ne("span"));F.textContent=Ee.label}this.renderDisposeables.clear();var se=Ee.parameters[we.activeParameter];if(se&&se.documentation){var oe=ne("span.documentation");if(typeof se.documentation=="string")oe.textContent=se.documentation;else{var be=this.markdownRenderer.render(se.documentation);O.f(be.element,"markdown-docs"),this.renderDisposeables.add(be),oe.appendChild(be.element)}O.q(this.domNodes.docs,ne("p",{},oe))}if(!(Ee.documentation===void 0))if(typeof Ee.documentation=="string")O.q(this.domNodes.docs,ne("p",{},Ee.documentation));else{var be=this.markdownRenderer.render(Ee.documentation);O.f(be.element,"markdown-docs"),this.renderDisposeables.add(be),O.q(this.domNodes.docs,be.element)}var De=this.hasDocs(Ee,se);if(O.Y(this.domNodes.signature,"has-docs",De),O.Y(this.domNodes.docs,"empty",!De),this.domNodes.overloads.textContent=Object(Te.F)(we.activeSignature+1,we.signatures.length.toString().length)+"/"+we.signatures.length,se){var Se=this.getParameterLabel(Ee,we.activeParameter);this.announcedLabel!==Se&&(x.a(T.a("hint","{0}, hint",Se)),this.announcedLabel=Se)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()},ge.prototype.hasDocs=function(we,Re){return Re&&typeof Re.documentation=="string"&&Re.documentation.length>0||(Re&&typeof Re.documentation=="object"&&Re.documentation.value.length>0||typeof we.documentation=="string"&&we.documentation.length>0)?!0:typeof we.documentation=="object"&&we.documentation.value.length>0},ge.prototype.renderParameters=function(we,Re,Ee){var ve=this.getParameterLabelOffsets(Re,Ee),Q=ve[0],C=ve[1],F=document.createElement("span");F.textContent=Re.label.substring(0,Q);var se=document.createElement("span");se.textContent=Re.label.substring(Q,C),se.className="parameter active";var oe=document.createElement("span");oe.textContent=Re.label.substring(C),O.q(we,F,se,oe)},ge.prototype.getParameterLabel=function(we,Re){var Ee=we.parameters[Re];return typeof Ee.label=="string"?Ee.label:we.label.substring(Ee.label[0],Ee.label[1])},ge.prototype.getParameterLabelOffsets=function(we,Re){var Ee=we.parameters[Re];if(Ee){if(Array.isArray(Ee.label))return Ee.label;var ve=we.label.lastIndexOf(Ee.label);return ve>=0?[ve,ve+Ee.label.length]:[0,0]}else return[0,0]},ge.prototype.next=function(){this.editor.focus(),this.model.next()},ge.prototype.previous=function(){this.editor.focus(),this.model.previous()},ge.prototype.cancel=function(){this.model.cancel()},ge.prototype.getDomNode=function(){return this.domNodes||this.createParamaterHintDOMNodes(),this.domNodes.element},ge.prototype.getId=function(){return ge.ID},ge.prototype.trigger=function(we){this.model.trigger(we,0)},ge.prototype.updateMaxHeight=function(){if(!this.domNodes)return;var we=Math.max(this.editor.getLayoutInfo().height/4,250),Re=we+"px";this.domNodes.element.style.maxHeight=Re;var Ee=this.domNodes.element.getElementsByClassName("wrapper");Ee.length&&(Ee[0].style.maxHeight=Re)},ge.ID="editor.widget.parameterHintsWidget",ge=He([Pe(1,H.c),Pe(2,L.a),Pe(3,f.a)],ge),ge}(re.a);Object(k.e)(function(me,ge){var we=me.getColor(A.B);if(we){var Re=me.type===k.b?2:1;ge.addRule(".monaco-editor .parameter-hints-widget { border: "+Re+"px solid "+we+"; }"),ge.addRule(".monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid "+we.transparent(.5)+"; }"),ge.addRule(".monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid "+we.transparent(.5)+"; }")}var Ee=me.getColor(A.A);Ee&&ge.addRule(".monaco-editor .parameter-hints-widget { background-color: "+Ee+"; }");var ve=me.getColor(A.ec);ve&&ge.addRule(".monaco-editor .parameter-hints-widget a { color: "+ve+"; }");var Q=me.getColor(A.C);Q&&ge.addRule(".monaco-editor .parameter-hints-widget { color: "+Q+"; }");var C=me.getColor(A.dc);C&&ge.addRule(".monaco-editor .parameter-hints-widget code { background-color: "+C+"; }")});var ae=function(){var me=function(we,Re){return me=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ee,ve){Ee.__proto__=ve}||function(Ee,ve){for(var Q in ve)ve.hasOwnProperty(Q)&&(Ee[Q]=ve[Q])},me(we,Re)};return function(ge,we){me(ge,we);function Re(){this.constructor=ge}ge.prototype=we===null?Object.create(we):(Re.prototype=we.prototype,new Re)}}(),q=function(me,ge,we,Re){var Ee=arguments.length,ve=Ee<3?ge:Re===null?Re=Object.getOwnPropertyDescriptor(ge,we):Re,Q;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ve=Reflect.decorate(me,ge,we,Re);else for(var C=me.length-1;C>=0;C--)(Q=me[C])&&(ve=(Ee<3?Q(ve):Ee>3?Q(ge,we,ve):Q(ge,we))||ve);return Ee>3&&ve&&Object.defineProperty(ge,we,ve),ve},ue=function(me,ge){return function(we,Re){ge(we,Re,me)}},X=function(me){ae(ge,me);function ge(we,Re){var Ee=me.call(this)||this;return Ee.editor=we,Ee.widget=Ee._register(Re.createInstance(ee,Ee.editor)),Ee}return ge.get=function(we){return we.getContribution(ge.ID)},ge.prototype.cancel=function(){this.widget.cancel()},ge.prototype.previous=function(){this.widget.previous()},ge.prototype.next=function(){this.widget.next()},ge.prototype.trigger=function(we){this.widget.trigger(we)},ge.ID="editor.controller.parameterHints",ge=q([ue(1,J.a)],ge),ge}(re.a),he=function(me){ae(ge,me);function ge(){return me.call(this,{id:"editor.action.triggerParameterHints",label:T.a("parameterHints.trigger.label","Trigger Parameter Hints"),alias:"Trigger Parameter Hints",precondition:I.a.hasSignatureHelpProvider,kbOpts:{kbExpr:I.a.editorTextFocus,primary:2048|1024|10,weight:100}})||this}return ge.prototype.run=function(we,Re){var Ee=X.get(Re);Ee&&Ee.trigger({triggerKind:c.y.Invoke})},ge}(z.b);Object(z.h)(X.ID,X),Object(z.f)(he);var je=100+75,Xe=z.c.bindToContribution(X.get);Object(z.g)(new Xe({id:"closeParameterHints",precondition:m.Visible,handler:function(ge){return ge.cancel()},kbOpts:{weight:je,kbExpr:I.a.focus,primary:9,secondary:[1024|9]}})),Object(z.g)(new Xe({id:"showPrevParameterHint",precondition:H.a.and(m.Visible,m.MultipleSignatures),handler:function(ge){return ge.previous()},kbOpts:{weight:je,kbExpr:I.a.focus,primary:16,secondary:[512|16],mac:{primary:16,secondary:[512|16,256|46]}}})),Object(z.g)(new Xe({id:"showNextParameterHint",precondition:H.a.and(m.Visible,m.MultipleSignatures),handler:function(ge){return ge.next()},kbOpts:{weight:je,kbExpr:I.a.focus,primary:18,secondary:[512|18],mac:{primary:18,secondary:[512|18,256|44]}}}))},"X+cX":function(Lt,j,e){"use strict";e.d(j,"i",function(){return I}),e.d(j,"f",function(){return H}),e.d(j,"j",function(){return z}),e.d(j,"a",function(){return O}),e.d(j,"l",function(){return U}),e.d(j,"g",function(){return x}),e.d(j,"h",function(){return u}),e.d(j,"e",function(){return y}),e.d(j,"c",function(){return _}),e.d(j,"d",function(){return f}),e.d(j,"k",function(){return v}),e.d(j,"b",function(){return w});var T=e("JQT/"),re=e("/cxE"),J=e("pmY6");function I(p){return p&&typeof p.then=="function"}function H(p){var c=new T.b,s=p(c.token),l=new Promise(function(d,m){c.token.onCancellationRequested(function(){m(re.a())}),Promise.resolve(s).then(function(E){c.dispose(),d(E)},function(E){c.dispose(),m(E)})});return new(function(){function d(){}return d.prototype.cancel=function(){c.cancel()},d.prototype.then=function(m,E){return l.then(m,E)},d.prototype.catch=function(m){return this.then(void 0,m)},d.prototype.finally=function(m){return l.finally(m)},d}())}function z(p,c,s){return Promise.race([p,new Promise(function(l){return c.onCancellationRequested(function(){return l(s)})})])}var O=function(){function p(c){this.defaultDelay=c,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}return p.prototype.trigger=function(c,s){var l=this;return s===void 0&&(s=this.defaultDelay),this.task=c,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise(function(d,m){l.doResolve=d,l.doReject=m}).then(function(){if(l.completionPromise=null,l.doResolve=null,l.task){var d=l.task;return l.task=null,d()}return})),this.timeout=setTimeout(function(){l.timeout=null,l.doResolve&&l.doResolve(null)},s),this.completionPromise},p.prototype.isTriggered=function(){return this.timeout!==null},p.prototype.cancel=function(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(re.a()),this.completionPromise=null)},p.prototype.cancelTimeout=function(){this.timeout!==null&&(clearTimeout(this.timeout),this.timeout=null)},p.prototype.dispose=function(){this.cancelTimeout()},p}();function U(p,c){return c?new Promise(function(s,l){var d=setTimeout(s,p);c.onCancellationRequested(function(){clearTimeout(d),l(re.a())})}):H(function(s){return U(p,s)})}function x(p,c){c===void 0&&(c=0);var s=setTimeout(p,c);return Object(J.h)(function(){return clearTimeout(s)})}function u(p,c,s){c===void 0&&(c=function(L){return!!L}),s===void 0&&(s=null);var l=0,d=p.length,m=function E(){if(l>=d)return Promise.resolve(s);var L=p[l++],A=Promise.resolve(L());return A.then(function(k){return c(k)?Promise.resolve(k):E()})};return m()}var y=function(){function p(c,s){this._token=-1,typeof c=="function"&&typeof s=="number"&&this.setIfNotSet(c,s)}return p.prototype.dispose=function(){this.cancel()},p.prototype.cancel=function(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)},p.prototype.cancelAndSet=function(c,s){var l=this;this.cancel(),this._token=setTimeout(function(){l._token=-1,c()},s)},p.prototype.setIfNotSet=function(c,s){var l=this;if(this._token!==-1)return;this._token=setTimeout(function(){l._token=-1,c()},s)},p}(),_=function(){function p(){this._token=-1}return p.prototype.dispose=function(){this.cancel()},p.prototype.cancel=function(){this._token!==-1&&(clearInterval(this._token),this._token=-1)},p.prototype.cancelAndSet=function(c,s){this.cancel(),this._token=setInterval(function(){c()},s)},p}(),f=function(){function p(c,s){this.timeoutToken=-1,this.runner=c,this.timeout=s,this.timeoutHandler=this.onTimeout.bind(this)}return p.prototype.dispose=function(){this.cancel(),this.runner=null},p.prototype.cancel=function(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)},p.prototype.schedule=function(c){c===void 0&&(c=this.timeout),this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,c)},p.prototype.isScheduled=function(){return this.timeoutToken!==-1},p.prototype.onTimeout=function(){this.timeoutToken=-1,this.runner&&this.doRun()},p.prototype.doRun=function(){this.runner&&this.runner()},p}(),v;(function(){if(typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"){var p=Object.freeze({didTimeout:!0,timeRemaining:function(){return 15}});v=function(s){var l=setTimeout(function(){return s(p)}),d=!1;return{dispose:function(){if(d)return;d=!0,clearTimeout(l)}}}}else v=function(s,l){var d=requestIdleCallback(s,typeof l=="number"?{timeout:l}:void 0),m=!1;return{dispose:function(){if(m)return;m=!0,cancelIdleCallback(d)}}}})();var w=function(){function p(c){var s=this;this._didRun=!1,this._executor=function(){try{s._value=c()}catch(l){s._error=l}finally{s._didRun=!0}},this._handle=v(function(){return s._executor()})}return p.prototype.dispose=function(){this._handle.dispose()},p.prototype.getValue=function(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value},p}()},XNtB:function(Lt,j,e){},XQgg:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return e.e(314).then(e.bind(null,"/0xJ"))}})},XSiN:function(Lt,j,e){"use strict";e.d(j,"b",function(){return H}),e.d(j,"a",function(){return z}),e.d(j,"c",function(){return O});var T=e("D3Dy"),re=e("51f4"),J=e("MNsG"),I=function(){var U=function(u,y){return U=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,f){_.__proto__=f}||function(_,f){for(var v in f)f.hasOwnProperty(v)&&(_[v]=f[v])},U(u,y)};return function(x,u){U(x,u);function y(){this.constructor=x}x.prototype=u===null?Object.create(u):(y.prototype=u.prototype,new y)}}(),H=function(){function U(x){this.timestamp=Date.now(),this.browserEvent=x,this.leftButton=x.button===0,this.middleButton=x.button===1,this.rightButton=x.button===2,this.buttons=x.buttons,this.target=x.target,this.detail=x.detail||1,x.type==="dblclick"&&(this.detail=2),this.ctrlKey=x.ctrlKey,this.shiftKey=x.shiftKey,this.altKey=x.altKey,this.metaKey=x.metaKey,typeof x.pageX=="number"?(this.posx=x.pageX,this.posy=x.pageY):(this.posx=x.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=x.clientY+document.body.scrollTop+document.documentElement.scrollTop);var u=re.a.getPositionOfChildWindowRelativeToAncestorWindow(self,x.view);this.posx-=u.left,this.posy-=u.top}return U.prototype.preventDefault=function(){this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},U.prototype.stopPropagation=function(){this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},U}(),z=function(U){I(x,U);function x(u){var y=U.call(this,u)||this;return y.dataTransfer=u.dataTransfer,y}return x}(H),O=function(){function U(x,u,y){if(u===void 0&&(u=0),y===void 0&&(y=0),this.browserEvent=x||null,this.target=x?x.target||x.targetNode||x.srcElement:null,this.deltaY=y,this.deltaX=u,x){var _=x,f=x;if(typeof _.wheelDeltaY!="undefined")this.deltaY=_.wheelDeltaY/120;else if(typeof f.VERTICAL_AXIS!="undefined"&&f.axis===f.VERTICAL_AXIS)this.deltaY=-f.detail/3;else if(x.type==="wheel"){var v=x;v.deltaMode===v.DOM_DELTA_LINE?this.deltaY=-x.deltaY:this.deltaY=-x.deltaY/40}if(typeof _.wheelDeltaX!="undefined")T.k&&J.h?this.deltaX=-(_.wheelDeltaX/120):this.deltaX=_.wheelDeltaX/120;else if(typeof f.HORIZONTAL_AXIS!="undefined"&&f.axis===f.HORIZONTAL_AXIS)this.deltaX=-x.detail/3;else if(x.type==="wheel"){var v=x;v.deltaMode===v.DOM_DELTA_LINE?this.deltaX=-x.deltaX:this.deltaX=-x.deltaX/40}this.deltaY===0&&this.deltaX===0&&x.wheelDelta&&(this.deltaY=x.wheelDelta/120)}}return U.prototype.preventDefault=function(){this.browserEvent&&(this.browserEvent.preventDefault&&this.browserEvent.preventDefault())},U.prototype.stopPropagation=function(){this.browserEvent&&(this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation())},U}()},XXBq:function(Lt,j,e){},XXUj:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("telemetryService")},XtJs:function(Lt,j,e){"use strict";e.r(j),e.d(j,"getOccurrencesAtPosition",function(){return R});var T=e("3/fG"),re=e("6OMU"),J=e("X+cX"),I=e("JQT/"),H=e("/cxE"),z=e("pmY6"),O=e("sswD"),U=e("aokT"),x=e("wQH0"),u=e("M1Kb"),y=e("tX9W"),_=e("twdY"),f=e("T8No"),v=e("MD5Z"),w=e("t9D7"),p=function(){var Pe=function(ee,ae){return Pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(q,ue){q.__proto__=ue}||function(q,ue){for(var X in ue)ue.hasOwnProperty(X)&&(q[X]=ue[X])},Pe(ee,ae)};return function(ne,ee){Pe(ne,ee);function ae(){this.constructor=ne}ne.prototype=ee===null?Object.create(ee):(ae.prototype=ee.prototype,new ae)}}(),c=function(Pe,ne,ee,ae){var q=arguments.length,ue=q<3?ne:ae===null?ae=Object.getOwnPropertyDescriptor(ne,ee):ae,X;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ue=Reflect.decorate(Pe,ne,ee,ae);else for(var he=Pe.length-1;he>=0;he--)(X=Pe[he])&&(ue=(q<3?X(ue):q>3?X(ne,ee,ue):X(ne,ee))||ue);return q>3&&ue&&Object.defineProperty(ne,ee,ue),ue},s=function(Pe,ne){return function(ee,ae){ne(ee,ae,Pe)}},l=Object(v.Tb)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hc:null},T.a("wordHighlight","Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations."),!0),d=Object(v.Tb)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hc:null},T.a("wordHighlightStrong","Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations."),!0),m=Object(v.Tb)("editor.wordHighlightBorder",{light:null,dark:null,hc:v.b},T.a("wordHighlightBorder","Border color of a symbol during read-access, like reading a variable.")),E=Object(v.Tb)("editor.wordHighlightStrongBorder",{light:null,dark:null,hc:v.b},T.a("wordHighlightStrongBorder","Border color of a symbol during write-access, like writing to a variable.")),L=Object(v.Tb)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},T.a("overviewRulerWordHighlightForeground","Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),A=Object(v.Tb)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hc:"#C0A0C0CC"},T.a("overviewRulerWordHighlightStrongForeground","Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),k=new f.d("hasWordHighlights",!1);function R(Pe,ne,ee){var ae=_.i.ordered(Pe);return Object(J.h)(ae.map(function(q){return function(){return Promise.resolve(q.provideDocumentHighlights(Pe,ne,ee)).then(void 0,H.f)}}),re.q)}var $=function(){function Pe(ne,ee,ae){var q=this;this._wordRange=this._getCurrentWordRange(ne,ee),this.result=Object(J.f)(function(ue){return q._compute(ne,ee,ae,ue)})}return Pe.prototype._getCurrentWordRange=function(ne,ee){var ae=ne.getWordAtPosition(ee.getPosition());return ae?new U.a(ee.startLineNumber,ae.startColumn,ee.startLineNumber,ae.endColumn):null},Pe.prototype.isValid=function(ne,ee,ae){for(var q=ee.startLineNumber,ue=ee.startColumn,X=ee.endColumn,he=this._getCurrentWordRange(ne,ee),je=Boolean(this._wordRange&&this._wordRange.equalsRange(he)),Xe=0,me=ae.length;!je&&Xe=X&&(je=!0))}return je},Pe.prototype.cancel=function(){this.result.cancel()},Pe}(),ie=function(Pe){p(ne,Pe);function ne(){return Pe!==null&&Pe.apply(this,arguments)||this}return ne.prototype._compute=function(ee,ae,q,ue){return R(ee,ae.getPosition(),ue).then(function(X){return X||[]})},ne}($),W=function(Pe){p(ne,Pe);function ne(ee,ae,q){var ue=Pe.call(this,ee,ae,q)||this;return ue._selectionIsEmpty=ae.isEmpty(),ue}return ne.prototype._compute=function(ee,ae,q,ue){return Object(J.l)(250,ue).then(function(){if(!ae.isEmpty())return[];var X=ee.getWordAtPosition(ae.getPosition());if(!X)return[];var he=ee.findMatches(X.word,!0,!1,!0,q,!1);return he.map(function(je){return{range:je.range,kind:_.h.Text}})})},ne.prototype.isValid=function(ee,ae,q){var ue=ae.isEmpty();return this._selectionIsEmpty!==ue?!1:Pe.prototype.isValid.call(this,ee,ae,q)},ne}($);function B(Pe,ne,ee){return _.i.has(Pe)?new ie(Pe,ne,ee):new W(Pe,ne,ee)}Object(O.k)("_executeDocumentHighlights",function(Pe,ne){return R(Pe,ne,I.a.None)});var le=function(){function Pe(ne,ee){var ae=this;this.toUnhook=new z.b,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=ne,this._hasWordHighlights=k.bindTo(ee),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(61),this.model=this.editor.getModel(),this.toUnhook.add(ne.onDidChangeCursorPosition(function(q){if(ae._ignorePositionChangeEvent)return;if(!ae.occurrencesHighlight)return;ae._onPositionChanged(q)})),this.toUnhook.add(ne.onDidChangeModelContent(function(q){ae._stopAll()})),this.toUnhook.add(ne.onDidChangeConfiguration(function(q){var ue=ae.editor.getOption(61);ae.occurrencesHighlight!==ue&&(ae.occurrencesHighlight=ue,ae._stopAll())})),this._decorationIds=[],this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}return Pe.prototype.hasDecorations=function(){return this._decorationIds.length>0},Pe.prototype.restore=function(){if(!this.occurrencesHighlight)return;this._run()},Pe.prototype._getSortedHighlights=function(){var ne=this;return re.d(this._decorationIds.map(function(ee){return ne.model.getDecorationRange(ee)}).sort(U.a.compareRangesUsingStarts))},Pe.prototype.moveNext=function(){var ne=this,ee=this._getSortedHighlights(),ae=re.k(ee,function(X){return X.containsPosition(ne.editor.getPosition())}),q=(ae+1)%ee.length,ue=ee[q];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(ue.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(ue)}finally{this._ignorePositionChangeEvent=!1}},Pe.prototype.moveBack=function(){var ne=this,ee=this._getSortedHighlights(),ae=re.k(ee,function(X){return X.containsPosition(ne.editor.getPosition())}),q=(ae-1+ee.length)%ee.length,ue=ee[q];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(ue.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(ue)}finally{this._ignorePositionChangeEvent=!1}},Pe.prototype._removeDecorations=function(){this._decorationIds.length>0&&(this._decorationIds=this.editor.deltaDecorations(this._decorationIds,[]),this._hasWordHighlights.set(!1))},Pe.prototype._stopAll=function(){this._removeDecorations(),this.renderDecorationsTimer!==-1&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),this.workerRequest!==null&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)},Pe.prototype._onPositionChanged=function(ne){if(!this.occurrencesHighlight){this._stopAll();return}if(ne.reason!==3){this._stopAll();return}this._run()},Pe.prototype._run=function(){var ne=this,ee=this.editor.getSelection();if(ee.startLineNumber!==ee.endLineNumber){this._stopAll();return}var ae=ee.startLineNumber,q=ee.startColumn,ue=ee.endColumn,X=this.model.getWordAtPosition({lineNumber:ae,column:q});if(!X||X.startColumn>q||X.endColumn=ae?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(function(){ne.renderDecorations()},ae-ee)},Pe.prototype.renderDecorations=function(){this.renderDecorationsTimer=-1;for(var ne=[],ee=0,ae=this.workerRequestValue.length;ee0&&_[_.length-1])&&(p[0]===6||p[0]===2)){x=0;continue}if(p[0]===3&&(!_||p[1]>_[0]&&p[1]<_[3])){x.label=p[1];break}if(p[0]===6&&x.label<_[1]){x.label=_[1],_=p;break}if(_&&x.label<_[2]){x.label=_[2],x.ops.push(p);break}_[2]&&x.ops.pop(),x.trys.pop();continue}p=U.call(O,x)}catch(c){p=[6,c],y=0}finally{u=_=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},z=function(){function O(){}return O.prototype.provideSelectionRanges=function(U,x){return I(this,void 0,void 0,function(){var u,y,_,f,v;return H(this,function(w){switch(w.label){case 0:u=[],y=function(c){var s,l;return H(this,function(d){switch(d.label){case 0:return s=[],u.push(s),l=new Map,[4,new Promise(function(m){return O._bracketsRightYield(m,0,U,c,l)})];case 1:return d.sent(),[4,new Promise(function(m){return O._bracketsLeftYield(m,0,U,c,l,s)})];case 2:return d.sent(),[2]}})},_=0,f=x,w.label=1;case 1:return _=O._maxRounds){U();break}if(!y){U();break}var w=u.findNextBracket(y);if(!w){U();break}var p=Date.now()-v;if(p>O._maxDuration){setTimeout(function(){return O._bracketsRightYield(U,x+1,u,y,_)});break}var c=w.close[0];if(w.isOpen){var s=f.has(c)?f.get(c):0;f.set(c,s+1)}else{var s=f.has(c)?f.get(c):0;if(s-=1,f.set(c,Math.max(0,s)),s<0){var l=_.get(c);l||(l=new J.a,_.set(c,l)),l.push(w.range)}}y=w.range.getEndPosition()}},O._bracketsLeftYield=function(U,x,u,y,_,f){for(var v=new Map,w=Date.now();;){if(x>=O._maxRounds&&_.size===0){U();break}if(!y){U();break}var p=u.findPrevBracket(y);if(!p){U();break}var c=Date.now()-w;if(c>O._maxDuration){setTimeout(function(){return O._bracketsLeftYield(U,x+1,u,y,_,f)});break}var s=p.close[0];if(p.isOpen){var l=v.has(s)?v.get(s):0;if(l-=1,v.set(s,Math.max(0,l)),l<0){var d=_.get(s);if(d){var m=d.shift();d.size===0&&_.delete(s);var E=re.a.fromPositions(p.range.getEndPosition(),m.getStartPosition()),L=re.a.fromPositions(p.range.getStartPosition(),m.getEndPosition());f.push({range:E}),f.push({range:L}),O._addBracketLeading(u,L,f)}}}else{var l=v.has(s)?v.get(s):0;v.set(s,l+1)}y=p.range.getStartPosition()}},O._addBracketLeading=function(U,x,u){if(x.startLineNumber===x.endLineNumber)return;var y=x.startLineNumber,_=U.getLineFirstNonWhitespaceColumn(y);_!==0&&_!==x.startColumn&&(u.push({range:re.a.fromPositions(new T.a(y,_),x.getEndPosition())}),u.push({range:re.a.fromPositions(new T.a(y,1),x.getEndPosition())}));var f=y-1;if(f>0){var v=U.getLineFirstNonWhitespaceColumn(f);v===x.startColumn&&v!==U.getLineLastNonWhitespaceColumn(f)&&(u.push({range:re.a.fromPositions(new T.a(f,v),x.getEndPosition())}),u.push({range:re.a.fromPositions(new T.a(f,1),x.getEndPosition())}))}},O._maxDuration=30,O._maxRounds=2,O}()},ZCR3:function(Lt,j,e){"use strict";e.d(j,"a",function(){return J});var T=0;function re(){var I="$memoize"+T++,H=void 0,z=function(U,x,u){var y=null,_=null;if(typeof u.value=="function"?(y="value",_=u.value,_.length!==0&&console.warn("Memoize should only be used in functions with zero parameters")):typeof u.get=="function"&&(y="get",_=u.get),!_)throw new Error("not supported");var f=I+":"+x;u[y]=function(){for(var v=[],w=0;wz||I===z&&H>O?(this.startLineNumber=z,this.startColumn=O,this.endLineNumber=I,this.endColumn=H):(this.startLineNumber=I,this.startColumn=H,this.endLineNumber=z,this.endColumn=O)}return J.prototype.isEmpty=function(){return J.isEmpty(this)},J.isEmpty=function(I){return I.startLineNumber===I.endLineNumber&&I.startColumn===I.endColumn},J.prototype.containsPosition=function(I){return J.containsPosition(this,I)},J.containsPosition=function(I,H){return H.lineNumberI.endLineNumber||H.lineNumber===I.startLineNumber&&H.columnI.endColumn)},J.prototype.containsRange=function(I){return J.containsRange(this,I)},J.containsRange=function(I,H){return H.startLineNumberI.endLineNumber||H.endLineNumber>I.endLineNumber||H.startLineNumber===I.startLineNumber&&H.startColumnI.endColumn)},J.prototype.strictContainsRange=function(I){return J.strictContainsRange(this,I)},J.strictContainsRange=function(I,H){return H.startLineNumberI.endLineNumber||H.endLineNumber>I.endLineNumber||H.startLineNumber===I.startLineNumber&&H.startColumn<=I.startColumn)?!1:!(H.endLineNumber===I.endLineNumber&&H.endColumn>=I.endColumn)},J.prototype.plusRange=function(I){return J.plusRange(this,I)},J.plusRange=function(I,H){var z,O,U,x;return H.startLineNumberI.endLineNumber?(U=H.endLineNumber,x=H.endColumn):H.endLineNumber===I.endLineNumber?(U=H.endLineNumber,x=Math.max(H.endColumn,I.endColumn)):(U=I.endLineNumber,x=I.endColumn),new J(z,O,U,x)},J.prototype.intersectRanges=function(I){return J.intersectRanges(this,I)},J.intersectRanges=function(I,H){var z=I.startLineNumber,O=I.startColumn,U=I.endLineNumber,x=I.endColumn,u=H.startLineNumber,y=H.startColumn,_=H.endLineNumber,f=H.endColumn;return z_?(U=_,x=f):U===_&&(x=Math.min(x,f)),z>U||z===U&&O>x?null:new J(z,O,U,x)},J.prototype.equalsRange=function(I){return J.equalsRange(this,I)},J.equalsRange=function(I,H){return!!I&&!!H&&I.startLineNumber===H.startLineNumber&&I.startColumn===H.startColumn&&I.endLineNumber===H.endLineNumber&&I.endColumn===H.endColumn},J.prototype.getEndPosition=function(){return new T.a(this.endLineNumber,this.endColumn)},J.prototype.getStartPosition=function(){return new T.a(this.startLineNumber,this.startColumn)},J.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},J.prototype.setEndPosition=function(I,H){return new J(this.startLineNumber,this.startColumn,I,H)},J.prototype.setStartPosition=function(I,H){return new J(I,H,this.endLineNumber,this.endColumn)},J.prototype.collapseToStart=function(){return J.collapseToStart(this)},J.collapseToStart=function(I){return new J(I.startLineNumber,I.startColumn,I.startLineNumber,I.startColumn)},J.fromPositions=function(I,H){return H===void 0&&(H=I),new J(I.lineNumber,I.column,H.lineNumber,H.column)},J.lift=function(I){return I?new J(I.startLineNumber,I.startColumn,I.endLineNumber,I.endColumn):null},J.isIRange=function(I){return I&&typeof I.startLineNumber=="number"&&typeof I.startColumn=="number"&&typeof I.endLineNumber=="number"&&typeof I.endColumn=="number"},J.areIntersectingOrTouching=function(I,H){return I.endLineNumberI.startLineNumber},J}()},bY76:function(Lt,j,e){"use strict";e.d(j,"a",function(){return f});var T=e("MNsG"),re=function(){var A=function(R,$){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,W){ie.__proto__=W}||function(ie,W){for(var B in W)W.hasOwnProperty(B)&&(ie[B]=W[B])},A(R,$)};return function(k,R){A(k,R);function $(){this.constructor=k}k.prototype=R===null?Object.create(R):($.prototype=R.prototype,new $)}}(),J,I=/^\w[\w\d+.-]*$/,H=/^\//,z=/^\/\//;function O(A,k){if(!A.scheme&&k)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+A.authority+'", path: "'+A.path+'", query: "'+A.query+'", fragment: "'+A.fragment+'"}');if(A.scheme&&!I.test(A.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(A.path){if(A.authority){if(!H.test(A.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(z.test(A.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function U(A,k){return!A&&!k?"file":A}function x(A,k){switch(A){case"https":case"http":case"file":k?k[0]!==y&&(k=y+k):k=y;break}return k}var u="",y="/",_=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,f=function(){function A(k,R,$,ie,W,B){B===void 0&&(B=!1),typeof k=="object"?(this.scheme=k.scheme||u,this.authority=k.authority||u,this.path=k.path||u,this.query=k.query||u,this.fragment=k.fragment||u):(this.scheme=U(k,B),this.authority=R||u,this.path=x(this.scheme,$||u),this.query=ie||u,this.fragment=W||u,O(this,B))}return A.isUri=function(k){return k instanceof A?!0:k?typeof k.authority=="string"&&typeof k.fragment=="string"&&typeof k.path=="string"&&typeof k.query=="string"&&typeof k.scheme=="string"&&typeof k.fsPath=="function"&&typeof k.with=="function"&&typeof k.toString=="function":!1},Object.defineProperty(A.prototype,"fsPath",{get:function(){return l(this)},enumerable:!0,configurable:!0}),A.prototype.with=function(k){if(!k)return this;var R=k.scheme,$=k.authority,ie=k.path,W=k.query,B=k.fragment;return R===void 0?R=this.scheme:R===null&&(R=u),$===void 0?$=this.authority:$===null&&($=u),ie===void 0?ie=this.path:ie===null&&(ie=u),W===void 0?W=this.query:W===null&&(W=u),B===void 0?B=this.fragment:B===null&&(B=u),R===this.scheme&&$===this.authority&&ie===this.path&&W===this.query&&B===this.fragment?this:new w(R,$,ie,W,B)},A.parse=function(k,R){R===void 0&&(R=!1);var $=_.exec(k);return $?new w($[2]||u,L($[4]||u),L($[5]||u),L($[7]||u),L($[9]||u),R):new w(u,u,u,u,u)},A.file=function(k){var R=u;if(T.h&&(k=k.replace(/\\/g,y)),k[0]===y&&k[1]===y){var $=k.indexOf(y,2);$===-1?(R=k.substring(2),k=y):(R=k.substring(2,$),k=k.substring($)||y)}return new w("file",R,k,u,u)},A.from=function(k){return new w(k.scheme,k.authority,k.path,k.query,k.fragment)},A.prototype.toString=function(k){return k===void 0&&(k=!1),d(this,k)},A.prototype.toJSON=function(){return this},A.revive=function(k){if(k){if(k instanceof A)return k;var R=new w(k);return R._formatted=k.external,R._fsPath=k._sep===v?k.fsPath:null,R}else return k},A}(),v=T.h?1:void 0,w=function(A){re(k,A);function k(){var R=A!==null&&A.apply(this,arguments)||this;return R._formatted=null,R._fsPath=null,R}return Object.defineProperty(k.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=l(this)),this._fsPath},enumerable:!0,configurable:!0}),k.prototype.toString=function(R){return R===void 0&&(R=!1),R?d(this,!0):(this._formatted||(this._formatted=d(this,!1)),this._formatted)},k.prototype.toJSON=function(){var R={$mid:1};return this._fsPath&&(R.fsPath=this._fsPath,R._sep=v),this._formatted&&(R.external=this._formatted),this.path&&(R.path=this.path),this.scheme&&(R.scheme=this.scheme),this.authority&&(R.authority=this.authority),this.query&&(R.query=this.query),this.fragment&&(R.fragment=this.fragment),R},k}(f),p=(J={},J[58]="%3A",J[47]="%2F",J[63]="%3F",J[35]="%23",J[91]="%5B",J[93]="%5D",J[64]="%40",J[33]="%21",J[36]="%24",J[38]="%26",J[39]="%27",J[40]="%28",J[41]="%29",J[42]="%2A",J[43]="%2B",J[44]="%2C",J[59]="%3B",J[61]="%3D",J[32]="%20",J);function c(A,k){for(var R=void 0,$=-1,ie=0;ie=97&&W<=122||W>=65&&W<=90||W>=48&&W<=57||W===45||W===46||W===95||W===126||k&&W===47)$!==-1&&(R+=encodeURIComponent(A.substring($,ie)),$=-1),R!==void 0&&(R+=A.charAt(ie));else{R===void 0&&(R=A.substr(0,ie));var B=p[W];B!==void 0?($!==-1&&(R+=encodeURIComponent(A.substring($,ie)),$=-1),R+=B):$===-1&&($=ie)}}return $!==-1&&(R+=encodeURIComponent(A.substring($))),R!==void 0?R:A}function s(A){for(var k=void 0,R=0;R1&&A.scheme==="file"?k="//"+A.authority+A.path:A.path.charCodeAt(0)===47&&(A.path.charCodeAt(1)>=65&&A.path.charCodeAt(1)<=90||A.path.charCodeAt(1)>=97&&A.path.charCodeAt(1)<=122)&&A.path.charCodeAt(2)===58?k=A.path[1].toLowerCase()+A.path.substr(2):k=A.path,T.h&&(k=k.replace(/\//g,"\\")),k}function d(A,k){var R=k?s:c,$="",ie=A.scheme,W=A.authority,B=A.path,le=A.query,Ce=A.fragment;if(ie&&($+=ie,$+=":"),(W||ie==="file")&&($+=y,$+=y),W){var Me=W.indexOf("@");if(Me!==-1){var Te=W.substr(0,Me);W=W.substr(Me+1),Me=Te.indexOf(":"),Me===-1?$+=R(Te,!1):($+=R(Te.substr(0,Me),!1),$+=":",$+=R(Te.substr(Me+1),!1)),$+="@"}W=W.toLowerCase(),Me=W.indexOf(":"),Me===-1?$+=R(W,!1):($+=R(W.substr(0,Me),!1),$+=W.substr(Me))}if(B){if(B.length>=3&&B.charCodeAt(0)===47&&B.charCodeAt(2)===58){var Fe=B.charCodeAt(1);Fe>=65&&Fe<=90&&(B="/"+String.fromCharCode(Fe+32)+":"+B.substr(3))}else if(B.length>=2&&B.charCodeAt(1)===58){var Fe=B.charCodeAt(0);Fe>=65&&Fe<=90&&(B=String.fromCharCode(Fe+32)+":"+B.substr(2))}$+=R(B,!0)}return le&&($+="?",$+=R(le,!1)),Ce&&($+="#",$+=k?Ce:c(Ce,!1)),$}function m(A){try{return decodeURIComponent(A)}catch(k){return A.length>3?A.substr(0,3)+m(A.substr(3)):A}}var E=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function L(A){return A.match(E)?A.replace(E,function(k){return m(k)}):A}},ba9Q:function(Lt,j,e){"use strict";e.r(j);var T=e("3/fG"),re=e("sswD"),J=e("LCkn"),I=e("aokT"),H=e("wQH0"),z=e("+Fos"),O=function(){var x=function(y,_){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,v){f.__proto__=v}||function(f,v){for(var w in v)v.hasOwnProperty(w)&&(f[w]=v[w])},x(y,_)};return function(u,y){x(u,y);function _(){this.constructor=u}u.prototype=y===null?Object.create(y):(_.prototype=y.prototype,new _)}}(),U=function(x){O(u,x);function u(){return x.call(this,{id:"editor.action.transposeLetters",label:T.a("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:256|50},weight:100}})||this}return u.prototype.run=function(y,_){if(!_.hasModel())return;for(var f=_.getModel(),v=[],w=_.getSelections(),p=0,c=w;p0&&(_.pushUndoStop(),_.executeCommands(this.id,v),_.pushUndoStop())},u}(re.b);Object(re.f)(U)},baJR:function(Lt,j,e){"use strict";e.d(j,"b",function(){return H}),e.d(j,"c",function(){return z}),e.d(j,"a",function(){return O}),e.d(j,"d",function(){return x}),e.d(j,"e",function(){return y});var T=e("N0LK"),re=e("erNZ"),J=e("dBaI"),I=function(){function l(d,m){this.endIndex=d,this.type=m}return l}(),H=function(){function l(d,m){this.startOffset=d,this.endOffset=m}return l.prototype.equals=function(d){return this.startOffset===d.startOffset&&this.endOffset===d.endOffset},l}(),z=function(){function l(d,m,E,L,A,k,R,$,ie,W,B,le,Ce,Me,Te,Fe,He,Pe){this.useMonospaceOptimizations=d,this.canUseHalfwidthRightwardsArrow=m,this.lineContent=E,this.continuesWithWrappedLine=L,this.isBasicASCII=A,this.containsRTL=k,this.fauxIndentLength=R,this.lineTokens=$,this.lineDecorations=ie,this.tabSize=W,this.startVisibleColumn=B,this.spaceWidth=le,this.middotWidth=Ce,this.stopRenderingLineAfter=Me,this.renderWhitespace=Te==="all"?3:Te==="boundary"?1:Te==="selection"?2:0,this.renderControlCharacters=Fe,this.fontLigatures=He,this.selectionsOnLine=Pe&&Pe.sort(function(ne,ee){return ne.startOffset>>16},l.getCharIndex=function(d){return(d&65535)>>>0},l.prototype.setPartData=function(d,m,E,L){var A=(m<<16|E<<0)>>>0;this._data[d]=A,this._absoluteOffsets[d]=L+E},l.prototype.getAbsoluteOffsets=function(){return this._absoluteOffsets},l.prototype.charOffsetToPartData=function(d){return this.length===0?0:d<0?this._data[0]:d>=this.length?this._data[this.length-1]:this._data[d]},l.prototype.partDataToCharOffset=function(d,m,E){if(this.length===0)return 0;for(var L=(d<<16|E<<0)>>>0,A=0,k=this.length-1;A+1>>1,$=this._data[R];if($===L)return R;$>L?k=R:A=R}if(A===k)return A;var ie=this._data[A],W=this._data[k];if(ie===L)return A;if(W===L)return k;var B=l.getPartIndex(ie),le=l.getCharIndex(ie),Ce=l.getPartIndex(W),Me;B!==Ce?Me=m:Me=l.getCharIndex(W);var Te=E-le,Fe=Me-E;return Te<=Fe?A:k},l}(),U=function(){function l(d,m,E){this.characterMapping=d,this.containsRTL=m,this.containsForeignElements=E}return l}();function x(l,d){if(l.lineContent.length===0){var m=0,E="\xA0";if(l.lineDecorations.length>0){for(var L=[],A=[],k=0,R=l.lineDecorations.length;k0?'':"",W=A.length>0?'':"";E=""+ie+W+""}}return d.appendASCIIString(E),new U(new O(0,0),!1,m)}return s(f(l),d)}var u=function(){function l(d,m,E,L){this.characterMapping=d,this.html=m,this.containsRTL=E,this.containsForeignElements=L}return l}();function y(l){var d=Object(re.a)(1e4),m=x(l,d);return new u(m.characterMapping,d.build(),m.containsRTL,m.containsForeignElements)}var _=function(){function l(d,m,E,L,A,k,R,$,ie,W,B,le,Ce,Me,Te){this.fontIsMonospace=d,this.canUseHalfwidthRightwardsArrow=m,this.lineContent=E,this.len=L,this.isOverflowing=A,this.parts=k,this.containsForeignElements=R,this.fauxIndentLength=$,this.tabSize=ie,this.startVisibleColumn=W,this.containsRTL=B,this.spaceWidth=le,this.middotWidth=Ce,this.renderWhitespace=Me,this.renderControlCharacters=Te}return l}();function f(l){var d=l.useMonospaceOptimizations,m=l.lineContent,E,L;l.stopRenderingLineAfter!==-1&&l.stopRenderingLineAfter0){for(var R=0,$=l.lineDecorations.length;R<$;R++){var ie=l.lineDecorations[R];ie.type===3||ie.type===1?k|=1:ie.type===2&&(k|=2)}A=c(m,L,A,l.lineDecorations)}return l.containsRTL||(A=w(m,A,!l.isBasicASCII||l.fontLigatures)),new _(d,l.canUseHalfwidthRightwardsArrow,m,L,E,A,k,l.fauxIndentLength,l.tabSize,l.startVisibleColumn,l.containsRTL,l.spaceWidth,l.middotWidth,l.renderWhitespace,l.renderControlCharacters)}function v(l,d,m){var E=[],L=0;d>0&&(E[L++]=new I(d,""));for(var A=0,k=l.getCount();A=m){E[L++]=new I(m,$);break}E[L++]=new I(R,$)}return E}function w(l,d,m){var E=0,L=[],A=0;if(m)for(var k=0,R=d.length;k=50&&(L[A++]=new I(B+1,W),le=B+1,B=-1);le!==ie&&(L[A++]=new I(ie,W))}else L[A++]=$;E=ie}else for(var k=0,R=d.length;k50){for(var W=$.type,Te=Math.ceil(Me/50),Ce=1;Ce=ee.endOffset&&(ne++,ee=$&&$[ne]);var X=void 0;if(qHe)X=!0;else if(ue===9)X=!0;else if(ue===32)if(ie)if(Pe)X=!0;else{var he=q+1q),Pe?(!X||!R&&ae>=A)&&(W[B++]=new I(q,"vs-whitespace"),ae=ae%A):(q===Me||X&&q>L)&&(W[B++]=new I(q,Ce),ae=ae%A),ue===9?ae=A:T.y(ue)?ae+=2:ae++,Pe=X,q===Me&&(le++,le0?l.charCodeAt(d-1):0,me=d>1?l.charCodeAt(d-2):0,ge=Xe===32&&me!==32&&me!==9;ge||(je=!0)}else je=!0;return W[B++]=new I(d,je?"vs-whitespace":Ce),W}function c(l,d,m,E){E.sort(J.a.compare);for(var L=J.b.normalize(l,E),A=L.length,k=0,R=[],$=0,ie=0,W=0,B=m.length;Wie&&(ie=Te.startOffset,R[$++]=new I(ie,Me)),Te.endOffset+1<=Ce)ie=Te.endOffset+1,R[$++]=new I(ie,Me+" "+Te.className),k++;else{ie=Ce,R[$++]=new I(ie,Me+" "+Te.className);break}}Ce>ie&&(ie=Ce,R[$++]=new I(ie,Me))}var Fe=m[m.length-1].endIndex;if(kCe?11825:183,Pe=new O(k+1,$.length),ne=0,ee=B,ae=0,q=0,ue=0;d.appendASCIIString("");for(var X=0,he=$.length;X=0;if(ae=0,d.appendASCIIString('1?d.write1(8594):d.write1(65515);for(var F=2;F<=Q;F++)d.write1(160)}else Q=1,d.write1(He);ae+=Q,ne>=ie&&(ee+=Q)}q=we}else{var we=0;for(le&&d.appendASCIIString(' dir="ltr"'),d.appendASCII(62);ne=ie&&(ee+=Q)}q=we}d.appendASCIIString("")}return Pe.setPartData(k,$.length-1,ae,ue),R&&d.appendASCIIString(""),d.appendASCIIString(""),new U(Pe,le,L)}},bexQ:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("keybindingService")},bfR1:function(Lt,j,e){"use strict";e.r(j);var T=e("3/fG"),re=e("sswD"),J=e("Yr1X"),I=function(){var U=function(u,y){return U=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,f){_.__proto__=f}||function(_,f){for(var v in f)f.hasOwnProperty(v)&&(_[v]=f[v])},U(u,y)};return function(x,u){U(x,u);function y(){this.constructor=x}x.prototype=u===null?Object.create(u):(y.prototype=u.prototype,new y)}}(),H=function(U){I(x,U);function x(){return U.call(this,{id:"editor.action.fontZoomIn",label:T.a("EditorFontZoomIn.label","Editor Font Zoom In"),alias:"Editor Font Zoom In",precondition:void 0})||this}return x.prototype.run=function(u,y){J.a.setZoomLevel(J.a.getZoomLevel()+1)},x}(re.b),z=function(U){I(x,U);function x(){return U.call(this,{id:"editor.action.fontZoomOut",label:T.a("EditorFontZoomOut.label","Editor Font Zoom Out"),alias:"Editor Font Zoom Out",precondition:void 0})||this}return x.prototype.run=function(u,y){J.a.setZoomLevel(J.a.getZoomLevel()-1)},x}(re.b),O=function(U){I(x,U);function x(){return U.call(this,{id:"editor.action.fontZoomReset",label:T.a("EditorFontZoomReset.label","Editor Font Zoom Reset"),alias:"Editor Font Zoom Reset",precondition:void 0})||this}return x.prototype.run=function(u,y){J.a.setZoomLevel(0)},x}(re.b);Object(re.f)(H),Object(re.f)(z),Object(re.f)(O)},bk7F:function(Lt,j,e){"use strict";e.r(j),e.d(j,"BracketMatchingController",function(){return E});var T=e("8ATB"),re=e.n(T),J=e("3/fG"),I=e("X+cX"),H=e("pmY6"),z=e("sswD"),O=e("cGHE"),U=e("aokT"),x=e("gCVg"),u=e("wQH0"),y=e("M1Kb"),_=e("tX9W"),f=e("kYye"),v=e("MD5Z"),w=e("t9D7"),p=e("fjLI"),c=function(){var L=function(k,R){return L=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function($,ie){$.__proto__=ie}||function($,ie){for(var W in ie)ie.hasOwnProperty(W)&&($[W]=ie[W])},L(k,R)};return function(A,k){L(A,k);function R(){this.constructor=A}A.prototype=k===null?Object.create(k):(R.prototype=k.prototype,new R)}}(),s=Object(v.Tb)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},J.a("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets.")),l=function(L){c(A,L);function A(){return L.call(this,{id:"editor.action.jumpToBracket",label:J.a("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:u.a.editorTextFocus,primary:2048|1024|88,weight:100}})||this}return A.prototype.run=function(k,R){var $=E.get(R);if(!$)return;$.jumpToBracket()},A}(z.b),d=function(L){c(A,L);function A(){return L.call(this,{id:"editor.action.selectToBracket",label:J.a("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})||this}return A.prototype.run=function(k,R,$){var ie=E.get(R);if(!ie)return;var W=!0;$&&$.selectBrackets===!1&&(W=!1),ie.selectToBracket(W)},A}(z.b),m=function(){function L(A,k,R){this.position=A,this.brackets=k,this.options=R}return L}(),E=function(L){c(A,L);function A(k){var R=L.call(this)||this;return R._editor=k,R._lastBracketsData=[],R._lastVersionId=0,R._decorations=[],R._updateBracketsSoon=R._register(new I.d(function(){return R._updateBrackets()},50)),R._matchBrackets=R._editor.getOption(53),R._updateBracketsSoon.schedule(),R._register(k.onDidChangeCursorPosition(function($){if(R._matchBrackets==="never")return;R._updateBracketsSoon.schedule()})),R._register(k.onDidChangeModelContent(function($){R._updateBracketsSoon.schedule()})),R._register(k.onDidChangeModel(function($){R._lastBracketsData=[],R._decorations=[],R._updateBracketsSoon.schedule()})),R._register(k.onDidChangeModelLanguageConfiguration(function($){R._lastBracketsData=[],R._updateBracketsSoon.schedule()})),R._register(k.onDidChangeConfiguration(function($){$.hasChanged(53)&&(R._matchBrackets=R._editor.getOption(53),R._decorations=R._editor.deltaDecorations(R._decorations,[]),R._lastBracketsData=[],R._lastVersionId=0,R._updateBracketsSoon.schedule())})),R}return A.get=function(k){return k.getContribution(A.ID)},A.prototype.jumpToBracket=function(){if(!this._editor.hasModel())return;var k=this._editor.getModel(),R=this._editor.getSelections().map(function($){var ie=$.getStartPosition(),W=k.matchBracket(ie),B=null;if(W)W[0].containsPosition(ie)?B=W[1].getStartPosition():W[1].containsPosition(ie)&&(B=W[0].getStartPosition());else{var le=k.findEnclosingBrackets(ie);if(le)B=le[0].getStartPosition();else{var Ce=k.findNextBracket(ie);Ce&&Ce.range&&(B=Ce.range.getStartPosition())}}return B?new x.a(B.lineNumber,B.column,B.lineNumber,B.column):new x.a(ie.lineNumber,ie.column,ie.lineNumber,ie.column)});this._editor.setSelections(R),this._editor.revealRange(R[0])},A.prototype.selectToBracket=function(k){if(!this._editor.hasModel())return;var R=this._editor.getModel(),$=[];this._editor.getSelections().forEach(function(ie){var W=ie.getStartPosition(),B=R.matchBracket(W);if(!B&&(B=R.findEnclosingBrackets(W),!B)){var le=R.findNextBracket(W);le&&le.range&&(B=R.matchBracket(le.range.getStartPosition()))}var Ce=null,Me=null;if(B){B.sort(U.a.compareRangesUsingStarts);var Te=B[0],Fe=B[1];Ce=k?Te.getStartPosition():Te.getEndPosition(),Me=k?Fe.getEndPosition():Fe.getStartPosition()}Ce&&Me&&$.push(new x.a(Ce.lineNumber,Ce.column,Me.lineNumber,Me.column))}),$.length>0&&(this._editor.setSelections($),this._editor.revealRange($[0]))},A.prototype._updateBrackets=function(){if(this._matchBrackets==="never")return;this._recomputeBrackets();for(var k=[],R=0,$=0,ie=this._lastBracketsData;$100){this._lastBracketsData=[],this._lastVersionId=0;return}var R=this._editor.getModel(),$=R.getVersionId(),ie=[];this._lastVersionId===$&&(ie=this._lastBracketsData);for(var W=[],B=0,le=0,Ce=k.length;le1&&W.sort(O.a.compare);for(var Te=[],Fe=0,He=0,Pe=ie.length,le=0,Ce=W.length;le0&&F[F.length-1])&&(De[0]===6||De[0]===2)){ve=0;continue}if(De[0]===3&&(!F||De[1]>F[0]&&De[1]=0;oe--)(se=Re[oe])&&(F=(C<3?se(F):C>3?se(Ee,ve,F):se(Ee,ve))||F);return C>3&&F&&Object.defineProperty(Ee,ve,F),F},X=function(Re,Ee){return function(ve,Q){Ee(ve,Q,Re)}},he=function(Re,Ee,ve,Q){function C(F){return F instanceof ve?F:new ve(function(se){se(F)})}return new(ve||(ve=Promise))(function(F,se){function oe(Se){try{De(Q.next(Se))}catch(Ve){se(Ve)}}function be(Se){try{De(Q.throw(Se))}catch(Ve){se(Ve)}}function De(Se){Se.done?F(Se.value):C(Se.value).then(oe,be)}De((Q=Q.apply(Re,Ee||[])).next())})},je=function(Re,Ee){var ve={label:0,sent:function(){if(F[0]&1)throw F[1];return F[1]},trys:[],ops:[]},Q,C,F,se;return se={next:oe(0),throw:oe(1),return:oe(2)},typeof Symbol=="function"&&(se[Symbol.iterator]=function(){return this}),se;function oe(De){return function(Se){return be([De,Se])}}function be(De){if(Q)throw new TypeError("Generator is already executing.");for(;ve;)try{if(Q=1,C&&(F=De[0]&2?C.return:De[0]?C.throw||((F=C.return)&&F.call(C),0):C.next)&&!(F=F.call(C,De[1])).done)return F;(C=0,F)&&(De=[De[0]&2,F.value]);switch(De[0]){case 0:case 1:F=De;break;case 4:return ve.label++,{value:De[1],done:!1};case 5:ve.label++,C=De[1],De=[0];continue;case 7:De=ve.ops.pop(),ve.trys.pop();continue;default:if(!(F=ve.trys,F=F.length>0&&F[F.length-1])&&(De[0]===6||De[0]===2)){ve=0;continue}if(De[0]===3&&(!F||De[1]>F[0]&&De[1]1)return;var Q=this._editor.getModel(),C=this._editor.getPosition(),F=!1,se=this._editor.onDidChangeModelContent(function(oe){if(oe.isFlush){F=!0,se.dispose();return}for(var be=0,De=oe.changes.length;be1)return;this._instantiationService.invokeFunction(Me,this.editor,Ee,2,re.a.None).catch(f.e)},Re.ID="editor.contrib.formatOnPaste",Re=ue([X(1,A.a)],Re),Re}(),ge=function(Re){q(Ee,Re);function Ee(){return Re.call(this,{id:"editor.action.formatDocument",label:E.a("formatDocument.label","Format Document"),alias:"Format Document",precondition:ae.a.and(x.a.writable,x.a.hasDocumentFormattingProvider),kbOpts:{kbExpr:ae.a.and(x.a.editorTextFocus,x.a.hasDocumentFormattingProvider),primary:1024|512|36,linux:{primary:2048|1024|39},weight:100},contextMenuOpts:{when:x.a.hasDocumentFormattingProvider,group:"1_modification",order:1.3}})||this}return Ee.prototype.run=function(ve,Q){return he(this,void 0,void 0,function(){var C;return je(this,function(F){switch(F.label){case 0:return Q.hasModel()?(C=ve.get(A.a),[4,C.invokeFunction(Fe,Q,1,re.a.None)]):[3,2];case 1:F.sent(),F.label=2;case 2:return[2]}})})},Ee}(H.b),we=function(Re){q(Ee,Re);function Ee(){return Re.call(this,{id:"editor.action.formatSelection",label:E.a("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:ae.a.and(x.a.writable,x.a.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:ae.a.and(x.a.editorTextFocus,x.a.hasDocumentSelectionFormattingProvider),primary:Object(J.a)(2048|41,2048|36),weight:100},contextMenuOpts:{when:ae.a.and(x.a.hasDocumentSelectionFormattingProvider,x.a.hasNonEmptySelection),group:"1_modification",order:1.31}})||this}return Ee.prototype.run=function(ve,Q){return he(this,void 0,void 0,function(){var C,F,se;return je(this,function(oe){switch(oe.label){case 0:return Q.hasModel()?(C=ve.get(A.a),F=Q.getModel(),se=Q.getSelection(),se.isEmpty()&&(se=new U.a(se.startLineNumber,1,se.startLineNumber,F.getLineMaxColumn(se.startLineNumber))),[4,C.invokeFunction(Me,Q,se,1,re.a.None)]):[2];case 1:return oe.sent(),[2]}})})},Ee}(H.b);Object(H.h)(Xe.ID,Xe),Object(H.h)(me.ID,me),Object(H.f)(ge),Object(H.f)(we),R.a.registerCommand("editor.action.format",function(Re){return he(void 0,void 0,void 0,function(){var Ee,ve;return je(this,function(Q){switch(Q.label){case 0:return Ee=Re.get(z.a).getFocusedCodeEditor(),!Ee||!Ee.hasModel()?[2]:(ve=Re.get(R.b),Ee.getSelection().isEmpty()?[4,ve.executeCommand("editor.action.formatDocument")]:[3,2]);case 1:return Q.sent(),[3,4];case 2:return[4,ve.executeCommand("editor.action.formatSelection")];case 3:Q.sent(),Q.label=4;case 4:return[2]}})})})},cMOf:function(Lt,j,e){"use strict";e.d(j,"a",function(){return w});var T=e("undH"),re=e.n(T),J=e("pmY6"),I=e("D3Dy"),H=e("MNsG"),z=e("746U"),O=e("pg8w"),U=e("XSiN"),x=e("MI8n"),u=e("EffR"),y=e("4y0V"),_=function(){var p=function(s,l){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,m){d.__proto__=m}||function(d,m){for(var E in m)m.hasOwnProperty(E)&&(d[E]=m[E])},p(s,l)};return function(c,s){p(c,s);function l(){this.constructor=c}c.prototype=s===null?Object.create(s):(l.prototype=s.prototype,new l)}}(),f=function(){for(var p=0,c=0,s=arguments.length;c=this.el.clientHeight-4)return this.orthogonalEndSash}else{if(s.offsetX<=4)return this.orthogonalStartSash;if(s.offsetX>=this.el.clientWidth-4)return this.orthogonalEndSash}return},c.prototype.dispose=function(){p.prototype.dispose.call(this),this.el.remove()},c}(J.a)},cMvZ:function(Lt,j,e){"use strict";e.d(j,"a",function(){return p});var T=e("MI8n"),re=e("pmY6"),J=e("N0LK"),I=e("0JNc"),H=e("KDc4"),z=e("BFtn"),O=function(){function c(s){if(s.autoClosingPairs?this._autoClosingPairs=s.autoClosingPairs.map(function(d){return new H.b(d)}):s.brackets?this._autoClosingPairs=s.brackets.map(function(d){return new H.b({open:d[0],close:d[1]})}):this._autoClosingPairs=[],s.__electricCharacterSupport&&s.__electricCharacterSupport.docComment){var l=s.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new H.b({open:l.open,close:l.close||""}))}this._autoCloseBefore=typeof s.autoCloseBefore=="string"?s.autoCloseBefore:c.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=s.surroundingPairs||this._autoClosingPairs}return c.prototype.getAutoClosingPairs=function(){return this._autoClosingPairs},c.prototype.getAutoCloseBeforeSet=function(){return this._autoCloseBefore},c.shouldAutoClosePair=function(s,l,d){if(l.getTokenCount()===0)return!0;var m=l.findTokenIndexAtOffset(d-2),E=l.getStandardTokenType(m);return s.isOK(E)},c.prototype.getSurroundingPairs=function(){return this._surroundingPairs},c.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=`;:.,=}])> + `,c}(),U=e("EIAu"),x=function(){function c(s){this._richEditBrackets=s}return c.prototype.getElectricCharacters=function(){var s=[];if(this._richEditBrackets)for(var l=0,d=this._richEditBrackets.brackets;l=3)for(var E=0,L=this._regExpRules.length;E=2&&(d.length>0&&m.length>0))for(var E=0,L=this._brackets.length;E=2&&d.length>0)for(var E=0,L=this._brackets.length;E1){var E=void 0,L=-1;for(E=l-1;E>=1;E--){if(s.getLanguageIdAtPosition(E,0)!==m)return L;var A=s.getLineContent(E);if(d.shouldIgnore(A)||/^\s+$/.test(A)||A===""){L=E;continue}return E}}return-1},c.prototype.getInheritIndentForLine=function(s,l,d,m){if(m===void 0&&(m=!0),s<4)return null;var E=this.getIndentRulesSupport(l.getLanguageIdentifier().id);if(!E)return null;if(d<=1)return{indentation:"",action:null};var L=this.getPrecedingValidLine(l,d,E);if(L<0)return null;if(L<1)return{indentation:"",action:null};var A=l.getLineContent(L);if(E.shouldIncrease(A)||E.shouldIndentNextLine(A))return{indentation:J.t(A),action:H.a.Indent,line:L};if(E.shouldDecrease(A))return{indentation:J.t(A),action:null,line:L};if(L===1)return{indentation:J.t(l.getLineContent(L)),action:null,line:L};var k=L-1,R=E.getIndentMetadata(l.getLineContent(k));if(!(R&(1|2))&&R&4){for(var $=0,ie=k-1;ie>0;ie--){if(E.shouldIndentNextLine(l.getLineContent(ie)))continue;$=ie;break}return{indentation:J.t(l.getLineContent($+1)),action:null,line:$+1}}if(m)return{indentation:J.t(l.getLineContent(L)),action:null,line:L};for(var ie=L;ie>0;ie--){var W=l.getLineContent(ie);if(E.shouldIncrease(W))return{indentation:J.t(W),action:H.a.Indent,line:ie};if(E.shouldIndentNextLine(W)){for(var $=0,B=ie-1;B>0;B--){if(E.shouldIndentNextLine(l.getLineContent(ie)))continue;$=B;break}return{indentation:J.t(l.getLineContent($+1)),action:null,line:$+1}}else if(E.shouldDecrease(W))return{indentation:J.t(W),action:null,line:ie}}return{indentation:J.t(l.getLineContent(1)),action:null,line:1}},c.prototype.getGoodIndentForLine=function(s,l,d,m,E){if(s<4)return null;var L=this._getRichEditSupport(d);if(!L)return null;var A=this.getIndentRulesSupport(d);if(!A)return null;var k=this.getInheritIndentForLine(s,l,m),R=l.getLineContent(m);if(k){var $=k.line;if($!==void 0){var ie=L.onEnter(s,"",l.getLineContent($),"");if(ie){var W=J.t(l.getLineContent($));return ie.removeText&&(W=W.substring(0,W.length-ie.removeText)),ie.indentAction===H.a.Indent||ie.indentAction===H.a.IndentOutdent?W=E.shiftIndent(W):ie.indentAction===H.a.Outdent&&(W=E.unshiftIndent(W)),A.shouldDecrease(R)&&(W=E.unshiftIndent(W)),ie.appendText&&(W+=ie.appendText),J.t(W)}}return A.shouldDecrease(R)?k.action===H.a.Indent?k.indentation:E.unshiftIndent(k.indentation):k.action===H.a.Indent?E.shiftIndent(k.indentation):k.indentation}return null},c.prototype.getIndentForEnter=function(s,l,d,m){if(s<4)return null;l.forceTokenization(d.startLineNumber);var E=l.getLineTokens(d.startLineNumber),L=Object(z.a)(E,d.startColumn-1),A=L.getLineContent(),k=!1,R;L.firstCharOffset>0&&E.getLanguageId(0)!==L.languageId?(k=!0,R=A.substr(0,d.startColumn-1-L.firstCharOffset)):R=E.getLineContent().substring(0,d.startColumn-1);var $;if(d.isEmpty())$=A.substr(d.startColumn-1-L.firstCharOffset);else{var ie=this.getScopedLineTokens(l,d.endLineNumber,d.endColumn);$=ie.getLineContent().substr(d.endColumn-1-L.firstCharOffset)}var W=this.getIndentRulesSupport(L.languageId);if(!W)return null;var B=R,le=J.t(R),Ce={getLineTokens:function(ne){return l.getLineTokens(ne)},getLanguageIdentifier:function(){return l.getLanguageIdentifier()},getLanguageIdAtPosition:function(ne,ee){return l.getLanguageIdAtPosition(ne,ee)},getLineContent:function(ne){return ne===d.startLineNumber?B:l.getLineContent(ne)}},Me=J.t(E.getLineContent()),Te=this.getInheritIndentForLine(s,Ce,d.startLineNumber+1);if(!Te){var Fe=k?Me:le;return{beforeEnter:Fe,afterEnter:Fe}}var He=k?Me:Te.indentation;return Te.action===H.a.Indent&&(He=m.shiftIndent(He)),W.shouldDecrease($)&&(He=m.unshiftIndent(He)),{beforeEnter:k?Me:le,afterEnter:He}},c.prototype.getIndentActionForType=function(s,l,d,m,E){if(s<4)return null;var L=this.getScopedLineTokens(l,d.startLineNumber,d.startColumn),A=this.getIndentRulesSupport(L.languageId);if(!A)return null;var k=L.getLineContent(),R=k.substr(0,d.startColumn-1-L.firstCharOffset),$;if(d.isEmpty())$=k.substr(d.startColumn-1-L.firstCharOffset);else{var ie=this.getScopedLineTokens(l,d.endLineNumber,d.endColumn);$=ie.getLineContent().substr(d.endColumn-1-L.firstCharOffset)}if(!A.shouldDecrease(R+$)&&A.shouldDecrease(R+m+$)){var W=this.getInheritIndentForLine(s,l,d.startLineNumber,!1);if(!W)return null;var B=W.indentation;return W.action!==H.a.Indent&&(B=E.unshiftIndent(B)),B}return null},c.prototype.getIndentMetadata=function(s,l){var d=this.getIndentRulesSupport(s.getLanguageIdentifier().id);return d?l<1||l>s.getLineCount()?null:d.getIndentMetadata(s.getLineContent(l)):null},c.prototype.getEnterAction=function(s,l,d){var m=this.getScopedLineTokens(l,d.startLineNumber,d.startColumn),E=this._getRichEditSupport(m.languageId);if(!E)return null;var L=m.getLineContent(),A=L.substr(0,d.startColumn-1-m.firstCharOffset),k;if(d.isEmpty())k=L.substr(d.startColumn-1-m.firstCharOffset);else{var R=this.getScopedLineTokens(l,d.endLineNumber,d.endColumn);k=R.getLineContent().substr(d.endColumn-1-m.firstCharOffset)}var $="";if(d.startLineNumber>1&&m.firstCharOffset===0){var ie=this.getScopedLineTokens(l,d.startLineNumber-1);ie.languageId===m.languageId&&($=ie.getLineContent())}var W=E.onEnter(s,$,A,k);if(!W)return null;var B=W.indentAction,le=W.appendText,Ce=W.removeText||0;le||(B===H.a.Indent||B===H.a.IndentOutdent?le=" ":le="");var Me=this.getIndentationAtPosition(l,d.startLineNumber,d.startColumn);return Ce&&(Me=Me.substring(0,Me.length-Ce)),{indentAction:B,appendText:le,removeText:Ce,indentation:Me}},c.prototype.getIndentationAtPosition=function(s,l,d){var m=s.getLineContent(l),E=J.t(m);return E.length>d-1&&(E=E.substring(0,d-1)),E},c.prototype.getScopedLineTokens=function(s,l,d){s.forceTokenization(l);var m=s.getLineTokens(l),E=typeof d=="undefined"?s.getLineMaxColumn(l)-1:d-1;return Object(z.a)(m,E)},c.prototype.getBracketsSupport=function(s){var l=this._getRichEditSupport(s);return l&&l.brackets||null},c}(),p=new w},"ci+S":function(Lt,j,e){},cl4r:function(Lt,j,e){},cldp:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"javascript",extensions:[".js",".es6",".jsx"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return e.e(267).then(e.bind(null,"7Xl7"))}})},cqdO:function(Lt,j,e){"use strict";e.d(j,"a",function(){return Me}),e.d(j,"f",function(){return He}),e.d(j,"e",function(){return Pe}),e.d(j,"d",function(){return q}),e.d(j,"b",function(){return ue}),e.d(j,"c",function(){return ve});var T=e("4rho"),re=e("3/fG"),J=e("pmY6"),I=e("746U"),H=e("6OMU"),z=e("ZCR3"),O=e("EffR"),U=e("MNsG"),x=e("pg8w"),u=e("uDWl"),y=e("MI8n"),_=e("4y0V"),f=function(){var Q=function(F,se){return Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,be){oe.__proto__=be}||function(oe,be){for(var De in be)be.hasOwnProperty(De)&&(oe[De]=be[De])},Q(F,se)};return function(C,F){Q(C,F);function se(){this.constructor=C}C.prototype=F===null?Object.create(F):(se.prototype=F.prototype,new se)}}(),v;(function(Q){Q.TREE="tree",Q.FORM="form"})(v||(v={}));var w=function(Q){f(C,Q);function C(F,se){return Q.call(this,"ListError ["+F+"] "+se)||this}return C}(Error),p=e("feEw"),c=e("zrhQ"),s=e("qj0h"),l=function(){function Q(C){this.spliceables=C}return Q.prototype.splice=function(C,F,se){this.spliceables.forEach(function(oe){return oe.splice(C,F,se)})},Q}(),d=e("Sdnv"),m=e("fpMC"),E=function(){var Q=function(F,se){return Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,be){oe.__proto__=be}||function(oe,be){for(var De in be)be.hasOwnProperty(De)&&(oe[De]=be[De])},Q(F,se)};return function(C,F){Q(C,F);function se(){this.constructor=C}C.prototype=F===null?Object.create(F):(se.prototype=F.prototype,new se)}}(),L=function(){return L=Object.assign||function(Q){for(var C,F=1,se=arguments.length;F=0;Se--)(De=Q[Se])&&(be=(oe<3?De(be):oe>3?De(C,F,be):De(C,F))||be);return oe>3&&be&&Object.defineProperty(C,F,be),be},k=function(){for(var Q=0,C=0,F=arguments.length;C=0){var be=this.renderedElements[oe];this.trait.unrender(se),be.index=F}else{var be={index:F,templateData:se};this.renderedElements.push(be)}this.trait.renderIndex(F,se)},Q.prototype.splice=function(C,F,se){for(var oe=[],be=0,De=this.renderedElements;be=C+F&&oe.push({index:Se.index+se-F,templateData:Se.templateData})}this.renderedElements=oe},Q.prototype.renderIndexes=function(C){for(var F=0,se=this.renderedElements;F-1&&this.trait.renderIndex(be,De)}},Q.prototype.disposeTemplate=function(C){var F=Object(H.k)(this.renderedElements,function(se){return se.templateData===C});if(F<0)return;this.renderedElements.splice(F,1)},Q}(),$=function(){function Q(C){this._trait=C,this.indexes=[],this.sortedIndexes=[],this._onChange=new y.a,this.onChange=this._onChange.event}return Object.defineProperty(Q.prototype,"trait",{get:function(){return this._trait},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"renderer",{get:function(){return new R(this)},enumerable:!0,configurable:!0}),Q.prototype.splice=function(C,F,se){var oe=se.length-F,be=C+F,De=k(this.sortedIndexes.filter(function(Se){return Se=be}).map(function(Se){return Se+oe}));this.renderer.splice(C,F,se.length),this._set(De,De)},Q.prototype.renderIndex=function(C,F){O.Y(F,this._trait,this.contains(C))},Q.prototype.unrender=function(C){O.P(C,this._trait)},Q.prototype.set=function(C,F){return this._set(C,k(C).sort(ge),F)},Q.prototype._set=function(C,F,se){var oe=this.indexes,be=this.sortedIndexes;this.indexes=C,this.sortedIndexes=F;var De=Xe(be,C);return this.renderer.renderIndexes(De),this._onChange.fire({indexes:C,browserEvent:se}),oe},Q.prototype.get=function(){return this.indexes},Q.prototype.contains=function(C){return Object(H.c)(this.sortedIndexes,C,ge)>=0},Q.prototype.dispose=function(){Object(J.f)(this._onChange)},A([z.a],Q.prototype,"renderer",null),Q}(),ie=function(Q){E(C,Q);function C(){return Q.call(this,"focused")||this}return C.prototype.renderIndex=function(F,se){Q.prototype.renderIndex.call(this,F,se),this.contains(F)?se.setAttribute("aria-selected","true"):se.removeAttribute("aria-selected")},C}($),W=function(){function Q(C,F,se){this.trait=C,this.view=F,this.identityProvider=se}return Q.prototype.splice=function(C,F,se){var oe=this;if(!this.identityProvider)return this.trait.splice(C,F,se.map(function(){return!1}));var be=this.trait.get().map(function(Se){return oe.identityProvider.getId(oe.view.element(Se)).toString()}),De=se.map(function(Se){return be.indexOf(oe.identityProvider.getId(Se).toString())>-1});this.trait.splice(C,F,De)},Q}();function B(Q){return Q.tagName==="INPUT"||Q.tagName==="TEXTAREA"}var le=function(){function Q(C,F,se){this.list=C,this.view=F,this.disposables=new J.b;var oe=se.multipleSelectionSupport!==!1;this.openController=se.openController||ae;var be=y.b.chain(Object(_.a)(F.domNode,"keydown")).filter(function(De){return!B(De.target)}).map(function(De){return new u.a(De)});be.filter(function(De){return De.keyCode===3}).on(this.onEnter,this,this.disposables),be.filter(function(De){return De.keyCode===16}).on(this.onUpArrow,this,this.disposables),be.filter(function(De){return De.keyCode===18}).on(this.onDownArrow,this,this.disposables),be.filter(function(De){return De.keyCode===11}).on(this.onPageUpArrow,this,this.disposables),be.filter(function(De){return De.keyCode===12}).on(this.onPageDownArrow,this,this.disposables),be.filter(function(De){return De.keyCode===9}).on(this.onEscape,this,this.disposables),oe&&be.filter(function(De){return(U.e?De.metaKey:De.ctrlKey)&&De.keyCode===31}).on(this.onCtrlA,this,this.disposables)}return Q.prototype.onEnter=function(C){C.preventDefault(),C.stopPropagation(),this.list.setSelection(this.list.getFocus(),C.browserEvent),this.openController.shouldOpen(C.browserEvent)&&this.list.open(this.list.getFocus(),C.browserEvent)},Q.prototype.onUpArrow=function(C){C.preventDefault(),C.stopPropagation(),this.list.focusPrevious(1,!1,C.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},Q.prototype.onDownArrow=function(C){C.preventDefault(),C.stopPropagation(),this.list.focusNext(1,!1,C.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},Q.prototype.onPageUpArrow=function(C){C.preventDefault(),C.stopPropagation(),this.list.focusPreviousPage(C.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},Q.prototype.onPageDownArrow=function(C){C.preventDefault(),C.stopPropagation(),this.list.focusNextPage(C.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},Q.prototype.onCtrlA=function(C){C.preventDefault(),C.stopPropagation(),this.list.setSelection(Object(H.u)(this.list.length),C.browserEvent),this.view.domNode.focus()},Q.prototype.onEscape=function(C){C.preventDefault(),C.stopPropagation(),this.list.setSelection([],C.browserEvent),this.view.domNode.focus()},Q.prototype.dispose=function(){this.disposables.dispose()},Q}(),Ce;(function(Q){Q[Q.Idle=0]="Idle",Q[Q.Typing=1]="Typing"})(Ce||(Ce={}));var Me=new(function(){function Q(){}return Q.prototype.mightProducePrintableCharacter=function(C){return C.ctrlKey||C.metaKey||C.altKey?!1:C.keyCode>=31&&C.keyCode<=56||C.keyCode>=21&&C.keyCode<=30||C.keyCode>=93&&C.keyCode<=102||C.keyCode>=80&&C.keyCode<=90},Q}()),Te=function(){function Q(C,F,se,oe){this.list=C,this.view=F,this.keyboardNavigationLabelProvider=se,this.delegate=oe,this.enabled=!1,this.state=Ce.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.enabledDisposables=new J.b,this.disposables=new J.b,this.updateOptions(C.options)}return Q.prototype.updateOptions=function(C){var F=typeof C.enableKeyboardNavigation=="undefined"?!0:!!C.enableKeyboardNavigation;F?this.enable():this.disable(),typeof C.automaticKeyboardNavigation!="undefined"&&(this.automaticKeyboardNavigation=C.automaticKeyboardNavigation)},Q.prototype.enable=function(){var C=this;if(this.enabled)return;var F=y.b.chain(Object(_.a)(this.view.domNode,"keydown")).filter(function(be){return!B(be.target)}).filter(function(){return C.automaticKeyboardNavigation||C.triggered}).map(function(be){return new u.a(be)}).filter(function(be){return C.delegate.mightProducePrintableCharacter(be)}).forEach(function(be){be.stopPropagation(),be.preventDefault()}).map(function(be){return be.browserEvent.key}).event,se=y.b.debounce(F,function(){return null},800),oe=y.b.reduce(y.b.any(F,se),function(be,De){return De===null?null:(be||"")+De});oe(this.onInput,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1},Q.prototype.disable=function(){if(!this.enabled)return;this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1},Q.prototype.onInput=function(C){if(!C){this.state=Ce.Idle,this.triggered=!1;return}var F=this.list.getFocus(),se=F.length>0?F[0]:0,oe=this.state===Ce.Idle?1:0;this.state=Ce.Typing;for(var be=0;be=0&&Q[oe]===C-(F-oe);)se.push(Q[oe--]);for(se.reverse(),oe=F;oe=Q.length)F.push(C[oe++]);else if(oe>=C.length)F.push(Q[se++]);else if(Q[se]===C[oe]){F.push(Q[se]),se++,oe++;continue}else Q[se]=Q.length)F.push(C[oe++]);else if(oe>=C.length)F.push(Q[se++]);else if(Q[se]===C[oe]){se++,oe++;continue}else Q[se]-1?F:[C];return se},Q.prototype.getDragURI=function(C){return this.dnd.getDragURI(C)},Q.prototype.getDragLabel=function(C,F){return this.dnd.getDragLabel?this.dnd.getDragLabel(C,F):void 0},Q.prototype.onDragStart=function(C,F){this.dnd.onDragStart&&this.dnd.onDragStart(C,F)},Q.prototype.onDragOver=function(C,F,se,oe){return this.dnd.onDragOver(C,F,se,oe)},Q.prototype.onDragEnd=function(C){this.dnd.onDragEnd&&this.dnd.onDragEnd(C)},Q.prototype.drop=function(C,F,se,oe){this.dnd.drop(C,F,se,oe)},Q}(),ve=function(){function Q(C,F,se,oe,be){be===void 0&&(be=he),this.user=C,this._options=be,this.eventBufferer=new y.c,this.disposables=new J.b,this._onDidOpen=new y.a,this.onDidOpen=this._onDidOpen.event,this._onDidPin=new y.a,this.didJustPressContextMenuKey=!1,this._onDidDispose=new y.a,this.onDidDispose=this._onDidDispose.event,this.focus=new ie,this.selection=new $("selected"),Object(s.g)(be,X,!1);var De=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=be.accessibilityProvider,this.accessibilityProvider&&(De.push(new Re(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),oe=oe.map(function(pt){return new we(pt.templateId,k(De,[pt]))});var Se=L(L({},be),{dnd:be.dnd&&new Ee(this,be.dnd)});if(this.view=new p.b(F,se,oe,Se),typeof be.ariaRole!="string"?this.view.domNode.setAttribute("role",v.TREE):this.view.domNode.setAttribute("role",be.ariaRole),be.styleController)this.styleController=be.styleController(this.view.domId);else{var Ve=O.w(this.view.domNode);this.styleController=new ue(Ve,this.view.domId)}if(this.spliceable=new l([new W(this.focus,this.view,be.identityProvider),new W(this.selection,this.view,be.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.onDidFocus=y.b.map(Object(_.a)(this.view.domNode,"focus",!0),function(){return null}),this.onDidBlur=y.b.map(Object(_.a)(this.view.domNode,"blur",!0),function(){return null}),this.disposables.add(new Fe(this,this.view)),typeof be.keyboardSupport!="boolean"||be.keyboardSupport){var Qe=new le(this,this.view,be);this.disposables.add(Qe)}if(be.keyboardNavigationLabelProvider){var it=be.keyboardNavigationDelegate||Me;this.typeLabelController=new Te(this,this.view,be.keyboardNavigationLabelProvider,it),this.disposables.add(this.typeLabelController)}this.disposables.add(this.createMouseController(be)),this.onFocusChange(this._onFocusChange,this,this.disposables),this.onSelectionChange(this._onSelectionChange,this,this.disposables),be.ariaLabel&&this.view.domNode.setAttribute("aria-label",Object(re.a)("aria list","{0}. Use the navigation keys to navigate.",be.ariaLabel))}return Object.defineProperty(Q.prototype,"onFocusChange",{get:function(){var F=this;return y.b.map(this.eventBufferer.wrapEvent(this.focus.onChange),function(se){return F.toListEvent(se)})},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onSelectionChange",{get:function(){var F=this;return y.b.map(this.eventBufferer.wrapEvent(this.selection.onChange),function(se){return F.toListEvent(se)})},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"domId",{get:function(){return this.view.domId},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onMouseClick",{get:function(){return this.view.onMouseClick},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onMouseDblClick",{get:function(){return this.view.onMouseDblClick},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onMouseMiddleClick",{get:function(){return this.view.onMouseMiddleClick},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onMouseDown",{get:function(){return this.view.onMouseDown},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onTouchStart",{get:function(){return this.view.onTouchStart},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onTap",{get:function(){return this.view.onTap},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onContextMenu",{get:function(){var F=this,se=y.b.chain(Object(_.a)(this.view.domNode,"keydown")).map(function(De){return new u.a(De)}).filter(function(De){return F.didJustPressContextMenuKey=De.keyCode===58||De.shiftKey&&De.keyCode===68}).filter(function(De){return De.preventDefault(),De.stopPropagation(),!1}).event,oe=y.b.chain(Object(_.a)(this.view.domNode,"keyup")).filter(function(){var De=F.didJustPressContextMenuKey;return F.didJustPressContextMenuKey=!1,De}).filter(function(){return F.getFocus().length>0&&!!F.view.domElement(F.getFocus()[0])}).map(function(De){var Se=F.getFocus()[0],Ve=F.view.element(Se),Qe=F.view.domElement(Se);return{index:Se,element:Ve,anchor:Qe,browserEvent:De}}).event,be=y.b.chain(this.view.onContextMenu).filter(function(){return!F.didJustPressContextMenuKey}).map(function(De){var Se=De.element,Ve=De.index,Qe=De.browserEvent;return{element:Se,index:Ve,anchor:{x:Qe.clientX+1,y:Qe.clientY},browserEvent:Qe}}).event;return y.b.any(se,oe,be)},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onKeyDown",{get:function(){return Object(_.a)(this.view.domNode,"keydown")},enumerable:!0,configurable:!0}),Q.prototype.createMouseController=function(C){return new q(this)},Q.prototype.updateOptions=function(C){C===void 0&&(C={}),this._options=L(L({},this._options),C),this.typeLabelController&&this.typeLabelController.updateOptions(this._options)},Object.defineProperty(Q.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),Q.prototype.splice=function(C,F,se){var oe=this;if(se===void 0&&(se=[]),C<0||C>this.view.length)throw new w(this.user,"Invalid start index: "+C);if(F<0)throw new w(this.user,"Invalid delete count: "+F);if(F===0&&se.length===0)return;this.eventBufferer.bufferEvents(function(){return oe.spliceable.splice(C,F,se)})},Q.prototype.rerender=function(){this.view.rerender()},Q.prototype.element=function(C){return this.view.element(C)},Object.defineProperty(Q.prototype,"length",{get:function(){return this.view.length},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"contentHeight",{get:function(){return this.view.contentHeight},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"scrollTop",{get:function(){return this.view.getScrollTop()},set:function(F){this.view.setScrollTop(F)},enumerable:!0,configurable:!0}),Q.prototype.domFocus=function(){this.view.domNode.focus()},Q.prototype.layout=function(C,F){this.view.layout(C,F)},Q.prototype.setSelection=function(C,F){for(var se=0,oe=C;se=this.length)throw new w(this.user,"Invalid index "+be)}this.selection.set(C,F)},Q.prototype.getSelection=function(){return this.selection.get()},Q.prototype.getSelectedElements=function(){var C=this;return this.getSelection().map(function(F){return C.view.element(F)})},Q.prototype.setFocus=function(C,F){for(var se=0,oe=C;se=this.length)throw new w(this.user,"Invalid index "+be)}this.focus.set(C,F)},Q.prototype.focusNext=function(C,F,se,oe){if(C===void 0&&(C=1),F===void 0&&(F=!1),this.length===0)return;var be=this.focus.get(),De=this.findNextIndex(be.length>0?be[0]+C:0,F,oe);De>-1&&this.setFocus([De],se)},Q.prototype.focusPrevious=function(C,F,se,oe){if(C===void 0&&(C=1),F===void 0&&(F=!1),this.length===0)return;var be=this.focus.get(),De=this.findPreviousIndex(be.length>0?be[0]-C:0,F,oe);De>-1&&this.setFocus([De],se)},Q.prototype.focusNextPage=function(C,F){var se=this,oe=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);oe=oe===0?0:oe-1;var be=this.view.element(oe),De=this.getFocusedElements()[0];if(De!==be){var Se=this.findPreviousIndex(oe,!1,F);Se>-1&&De!==this.view.element(Se)?this.setFocus([Se],C):this.setFocus([oe],C)}else{var Ve=this.view.getScrollTop();this.view.setScrollTop(Ve+this.view.renderHeight-this.view.elementHeight(oe)),this.view.getScrollTop()!==Ve&&setTimeout(function(){return se.focusNextPage(C,F)},0)}},Q.prototype.focusPreviousPage=function(C,F){var se=this,oe,be=this.view.getScrollTop();be===0?oe=this.view.indexAt(be):oe=this.view.indexAfter(be-1);var De=this.view.element(oe),Se=this.getFocusedElements()[0];if(Se!==De){var Ve=this.findNextIndex(oe,!1,F);Ve>-1&&Se!==this.view.element(Ve)?this.setFocus([Ve],C):this.setFocus([oe],C)}else{var Qe=be;this.view.setScrollTop(be-this.view.renderHeight),this.view.getScrollTop()!==Qe&&setTimeout(function(){return se.focusPreviousPage(C,F)},0)}},Q.prototype.focusLast=function(C,F){if(this.length===0)return;var se=this.findPreviousIndex(this.length-1,!1,F);se>-1&&this.setFocus([se],C)},Q.prototype.focusFirst=function(C,F){if(this.length===0)return;var se=this.findNextIndex(0,!1,F);se>-1&&this.setFocus([se],C)},Q.prototype.findNextIndex=function(C,F,se){F===void 0&&(F=!1);for(var oe=0;oe=this.length&&!F)return-1;if(C=C%this.length,!se||se(this.element(C)))return C;C++}return-1},Q.prototype.findPreviousIndex=function(C,F,se){F===void 0&&(F=!1);for(var oe=0;oe=this.length)throw new w(this.user,"Invalid index "+C);var se=this.view.getScrollTop(),oe=this.view.elementTop(C),be=this.view.elementHeight(C);if(Object(I.h)(F)){var De=be-this.view.renderHeight;this.view.setScrollTop(De*Object(d.a)(F,0,1)+oe)}else{var Se=oe+be,Ve=se+this.view.renderHeight;oe=Ve||(oe=Ve&&this.view.setScrollTop(Se-this.view.renderHeight))}},Q.prototype.getRelativeTop=function(C){if(C<0||C>=this.length)throw new w(this.user,"Invalid index "+C);var F=this.view.getScrollTop(),se=this.view.elementTop(C),oe=this.view.elementHeight(C);if(seF+this.view.renderHeight)return null;var be=oe-this.view.renderHeight;return Math.abs((F-se)/be)},Q.prototype.getHTMLElement=function(){return this.view.domNode},Q.prototype.open=function(C,F){for(var se=this,oe=0,be=C;oe=this.length)throw new w(this.user,"Invalid index "+De)}this._onDidOpen.fire({indexes:C,elements:C.map(function(Se){return se.view.element(Se)}),browserEvent:F})},Q.prototype.pin=function(C,F){for(var se=this,oe=0,be=C;oe=this.length)throw new w(this.user,"Invalid index "+De)}this._onDidPin.fire({indexes:C,elements:C.map(function(Se){return se.view.element(Se)}),browserEvent:F})},Q.prototype.style=function(C){this.styleController.style(C)},Q.prototype.toListEvent=function(C){var F=this,se=C.indexes,oe=C.browserEvent;return{indexes:se,elements:se.map(function(be){return F.view.element(be)}),browserEvent:oe}},Q.prototype._onFocusChange=function(){var C=this.focus.get();O.Y(this.view.domNode,"element-focused",C.length>0),this.onDidChangeActiveDescendant()},Q.prototype.onDidChangeActiveDescendant=function(){var C,F=this.focus.get();if(F.length>0){var se=void 0;((C=this.accessibilityProvider)===null||C===void 0?void 0:C.getActiveDescendantId)&&(se=this.accessibilityProvider.getActiveDescendantId(this.view.element(F[0]))),this.view.domNode.setAttribute("aria-activedescendant",se||this.view.getElementDomId(F[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")},Q.prototype._onSelectionChange=function(){var C=this.selection.get();O.Y(this.view.domNode,"selection-none",C.length===0),O.Y(this.view.domNode,"selection-single",C.length===1),O.Y(this.view.domNode,"selection-multiple",C.length>1)},Q.prototype.dispose=function(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidOpen.dispose(),this._onDidPin.dispose(),this._onDidDispose.dispose()},A([z.a],Q.prototype,"onFocusChange",null),A([z.a],Q.prototype,"onSelectionChange",null),A([z.a],Q.prototype,"onContextMenu",null),Q}()},d6R0:function(Lt,j,e){"use strict";e.r(j),e.d(j,"CodeLensContribution",function(){return ue});var T=e("X+cX"),re=e("/cxE"),J=e("pmY6"),I=e("vATl"),U=e("sswD"),z=e("twdY"),O=e("6OMU"),H=e("JQT/"),x=e("bY76"),u=e("G2kB"),y=function(){function X(){this.lenses=[],this._disposables=new J.b}return X.prototype.dispose=function(){this._disposables.dispose()},X.prototype.add=function(he,je){this._disposables.add(he);for(var Xe=0,me=he.lenses;XeRe.symbol.range.startLineNumber?1:Xe.get(we.provider)Xe.get(Re.provider)?1:we.symbol.range.startColumnRe.symbol.range.startColumn?1:0}),me})}Object(U.j)("_executeCodeLensProvider",function(X,he){var je=he.resource,Xe=he.itemResolveCount;if(!(je instanceof x.a))throw Object(re.b)();var me=X.get(u.a).getModel(je);if(!me)throw Object(re.b)();var ge=[],we=new J.b;return _(me,H.a.None).then(function(Re){we.add(Re);for(var Ee=[],ve=function(oe){typeof Xe=="undefined"||Boolean(oe.symbol.command)?ge.push(oe.symbol):Xe-- >0&&oe.provider.resolveCodeLens&&Ee.push(Promise.resolve(oe.provider.resolveCodeLens(me,oe.symbol,H.a.None)).then(function(be){return ge.push(be||oe.symbol)}))},Q=0,C=Re.lenses;Q"+Re+"",this._commands.set(String(ge),we.command)):Xe+=""+Re+"",ge+1 | ")}}me?(Xe||(Xe=" "),this._domNode.innerHTML=Xe,this._isEmpty&&je&&v.f(this._domNode,"fadein"),this._isEmpty=!1):this._domNode.innerHTML="no commands"},X.prototype.getCommand=function(he){return he.parentElement===this._domNode?this._commands.get(he.id):void 0},X.prototype.getId=function(){return this._id},X.prototype.getDomNode=function(){return this._domNode},X.prototype.updatePosition=function(he){var je=this._editor.getModel().getLineFirstNonWhitespaceColumn(he);this._widgetPosition={position:{lineNumber:he,column:je},preference:[1]}},X.prototype.getPosition=function(){return this._widgetPosition||null},X._idPool=0,X}(),A=function(){function X(){this._removeDecorations=[],this._addDecorations=[],this._addDecorationsCallbacks=[]}return X.prototype.addDecoration=function(he,je){this._addDecorations.push(he),this._addDecorationsCallbacks.push(je)},X.prototype.removeDecoration=function(he){this._removeDecorations.push(he)},X.prototype.commit=function(he){for(var je=he.deltaDecorations(this._removeDecorations,this._addDecorations),Xe=0,me=je.length;Xe0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(ve,!1))}return X.prototype._createContentWidgetIfNecessary=function(){this._contentWidget||(this._contentWidget=new L(this._editor,this._className,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))},X.prototype.dispose=function(he,je){this._decorationIds.forEach(he.removeDecoration,he),this._decorationIds=[],je&&je.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0},X.prototype.isDisposed=function(){return this._isDisposed},X.prototype.isValid=function(){var he=this;return this._decorationIds.some(function(je,Xe){var me=he._editor.getModel().getDecorationRange(je),ge=he._data[Xe].symbol;return!!(me&&c.a.isEmpty(ge.range)===me.isEmpty())})},X.prototype.updateCodeLensSymbols=function(he,je){var Xe=this;this._decorationIds.forEach(je.removeDecoration,je),this._decorationIds=[],this._data=he,this._data.forEach(function(me,ge){je.addDecoration({range:me.symbol.range,options:s.a.EMPTY},function(we){return Xe._decorationIds[ge]=we})})},X.prototype.computeIfNecessary=function(he){if(!this._viewZone.domNode.hasAttribute("monaco-visible-view-zone"))return null;for(var je=0;je a:hover { color: "+Xe+" !important; }"),he.addRule(".monaco-editor .codelens-decoration > a:hover .codicon { color: "+Xe+" !important; }"))});var R=e("nnTU"),$=e("sM1p"),ie=e("Cg/j"),W=e("9fML"),B=e("QDVR"),le=e("A+jI"),Ce=e("C/vA"),Me=function(X,he,je,Xe){var me=arguments.length,ge=me<3?he:Xe===null?Xe=Object.getOwnPropertyDescriptor(he,je):Xe,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ge=Reflect.decorate(X,he,je,Xe);else for(var Re=X.length-1;Re>=0;Re--)(we=X[Re])&&(ge=(me<3?we(ge):me>3?we(he,je,ge):we(he,je))||ge);return me>3&&ge&&Object.defineProperty(he,je,ge),ge},Te=function(X,he){return function(je,Xe){he(je,Xe,X)}},Fe=Object(ie.c)("ICodeLensCache"),Ue=function(){function X(he,je){this.lineCount=he,this.data=je}return X}(),Pe=function(){function X(he){var je=this;this._fakeProvider=new(function(){function we(){}return we.prototype.provideCodeLenses=function(){throw new Error("not supported")},we}()),this._cache=new B.a(20,.75);var Xe="codelens/cache";Object(T.k)(function(){return he.remove(Xe,1)});var me="codelens/cache2",ge=he.get(me,1,"{}");this._deserialize(ge),Object(Ce.a)(he.onWillSaveState)(function(we){we.reason===le.c.SHUTDOWN&&he.store(me,je._serialize(),1)})}return X.prototype.put=function(he,je){var Xe=je.lenses.map(function(we){var Re;return{range:we.symbol.range,command:we.symbol.command&&{id:"",title:(Re=we.symbol.command)===null||Re===void 0?void 0:Re.title}}}),me=new y;me.add({lenses:Xe,dispose:function(){}},this._fakeProvider);var ge=new Ue(he.getLineCount(),me);this._cache.set(he.uri.toString(),ge)},X.prototype.get=function(he){var je=this._cache.get(he.uri.toString());return je&&je.lineCount===he.getLineCount()?je.data:void 0},X.prototype.delete=function(he){this._cache.delete(he.uri.toString())},X.prototype._serialize=function(){var he=Object.create(null);return this._cache.forEach(function(je,Xe){for(var me=new Set,ge=0,we=je.data.lenses;ge=0;Re--)(we=X[Re])&&(ge=(me<3?we(ge):me>3?we(he,je,ge):we(he,je))||ge);return me>3&&ge&&Object.defineProperty(he,je,ge),ge},ae=function(X,he){return function(je,Xe){he(je,Xe,X)}},q=function(){for(var X=0,he=0,je=arguments.length;he=0&&Q[oe]===C-(F-oe);)se.push(Q[oe--]);for(se.reverse(),oe=F;oe=Q.length)F.push(C[oe++]);else if(oe>=C.length)F.push(Q[se++]);else if(Q[se]===C[oe]){F.push(Q[se]),se++,oe++;continue}else Q[se]=Q.length)F.push(C[oe++]);else if(oe>=C.length)F.push(Q[se++]);else if(Q[se]===C[oe]){se++,oe++;continue}else Q[se]-1?F:[C];return se},Q.prototype.getDragURI=function(C){return this.dnd.getDragURI(C)},Q.prototype.getDragLabel=function(C,F){return this.dnd.getDragLabel?this.dnd.getDragLabel(C,F):void 0},Q.prototype.onDragStart=function(C,F){this.dnd.onDragStart&&this.dnd.onDragStart(C,F)},Q.prototype.onDragOver=function(C,F,se,oe){return this.dnd.onDragOver(C,F,se,oe)},Q.prototype.onDragEnd=function(C){this.dnd.onDragEnd&&this.dnd.onDragEnd(C)},Q.prototype.drop=function(C,F,se,oe){this.dnd.drop(C,F,se,oe)},Q}(),ve=function(){function Q(C,F,se,oe,be){be===void 0&&(be=he),this.user=C,this._options=be,this.eventBufferer=new y.c,this.disposables=new J.b,this._onDidOpen=new y.a,this.onDidOpen=this._onDidOpen.event,this._onDidPin=new y.a,this.didJustPressContextMenuKey=!1,this._onDidDispose=new y.a,this.onDidDispose=this._onDidDispose.event,this.focus=new ie,this.selection=new $("selected"),Object(s.g)(be,X,!1);var De=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=be.accessibilityProvider,this.accessibilityProvider&&(De.push(new Re(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),oe=oe.map(function(pt){return new we(pt.templateId,k(De,[pt]))});var Se=L(L({},be),{dnd:be.dnd&&new Ee(this,be.dnd)});if(this.view=new p.b(F,se,oe,Se),typeof be.ariaRole!="string"?this.view.domNode.setAttribute("role",v.TREE):this.view.domNode.setAttribute("role",be.ariaRole),be.styleController)this.styleController=be.styleController(this.view.domId);else{var Ve=O.w(this.view.domNode);this.styleController=new ue(Ve,this.view.domId)}if(this.spliceable=new l([new W(this.focus,this.view,be.identityProvider),new W(this.selection,this.view,be.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.onDidFocus=y.b.map(Object(_.a)(this.view.domNode,"focus",!0),function(){return null}),this.onDidBlur=y.b.map(Object(_.a)(this.view.domNode,"blur",!0),function(){return null}),this.disposables.add(new Fe(this,this.view)),typeof be.keyboardSupport!="boolean"||be.keyboardSupport){var Qe=new le(this,this.view,be);this.disposables.add(Qe)}if(be.keyboardNavigationLabelProvider){var it=be.keyboardNavigationDelegate||Me;this.typeLabelController=new Te(this,this.view,be.keyboardNavigationLabelProvider,it),this.disposables.add(this.typeLabelController)}this.disposables.add(this.createMouseController(be)),this.onFocusChange(this._onFocusChange,this,this.disposables),this.onSelectionChange(this._onSelectionChange,this,this.disposables),be.ariaLabel&&this.view.domNode.setAttribute("aria-label",Object(re.a)("aria list","{0}. Use the navigation keys to navigate.",be.ariaLabel))}return Object.defineProperty(Q.prototype,"onFocusChange",{get:function(){var F=this;return y.b.map(this.eventBufferer.wrapEvent(this.focus.onChange),function(se){return F.toListEvent(se)})},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onSelectionChange",{get:function(){var F=this;return y.b.map(this.eventBufferer.wrapEvent(this.selection.onChange),function(se){return F.toListEvent(se)})},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"domId",{get:function(){return this.view.domId},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onMouseClick",{get:function(){return this.view.onMouseClick},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onMouseDblClick",{get:function(){return this.view.onMouseDblClick},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onMouseMiddleClick",{get:function(){return this.view.onMouseMiddleClick},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onMouseDown",{get:function(){return this.view.onMouseDown},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onTouchStart",{get:function(){return this.view.onTouchStart},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onTap",{get:function(){return this.view.onTap},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onContextMenu",{get:function(){var F=this,se=y.b.chain(Object(_.a)(this.view.domNode,"keydown")).map(function(De){return new u.a(De)}).filter(function(De){return F.didJustPressContextMenuKey=De.keyCode===58||De.shiftKey&&De.keyCode===68}).filter(function(De){return De.preventDefault(),De.stopPropagation(),!1}).event,oe=y.b.chain(Object(_.a)(this.view.domNode,"keyup")).filter(function(){var De=F.didJustPressContextMenuKey;return F.didJustPressContextMenuKey=!1,De}).filter(function(){return F.getFocus().length>0&&!!F.view.domElement(F.getFocus()[0])}).map(function(De){var Se=F.getFocus()[0],Ve=F.view.element(Se),Qe=F.view.domElement(Se);return{index:Se,element:Ve,anchor:Qe,browserEvent:De}}).event,be=y.b.chain(this.view.onContextMenu).filter(function(){return!F.didJustPressContextMenuKey}).map(function(De){var Se=De.element,Ve=De.index,Qe=De.browserEvent;return{element:Se,index:Ve,anchor:{x:Qe.clientX+1,y:Qe.clientY},browserEvent:Qe}}).event;return y.b.any(se,oe,be)},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"onKeyDown",{get:function(){return Object(_.a)(this.view.domNode,"keydown")},enumerable:!0,configurable:!0}),Q.prototype.createMouseController=function(C){return new q(this)},Q.prototype.updateOptions=function(C){C===void 0&&(C={}),this._options=L(L({},this._options),C),this.typeLabelController&&this.typeLabelController.updateOptions(this._options)},Object.defineProperty(Q.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),Q.prototype.splice=function(C,F,se){var oe=this;if(se===void 0&&(se=[]),C<0||C>this.view.length)throw new w(this.user,"Invalid start index: "+C);if(F<0)throw new w(this.user,"Invalid delete count: "+F);if(F===0&&se.length===0)return;this.eventBufferer.bufferEvents(function(){return oe.spliceable.splice(C,F,se)})},Q.prototype.rerender=function(){this.view.rerender()},Q.prototype.element=function(C){return this.view.element(C)},Object.defineProperty(Q.prototype,"length",{get:function(){return this.view.length},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"contentHeight",{get:function(){return this.view.contentHeight},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"scrollTop",{get:function(){return this.view.getScrollTop()},set:function(F){this.view.setScrollTop(F)},enumerable:!0,configurable:!0}),Q.prototype.domFocus=function(){this.view.domNode.focus()},Q.prototype.layout=function(C,F){this.view.layout(C,F)},Q.prototype.setSelection=function(C,F){for(var se=0,oe=C;se=this.length)throw new w(this.user,"Invalid index "+be)}this.selection.set(C,F)},Q.prototype.getSelection=function(){return this.selection.get()},Q.prototype.getSelectedElements=function(){var C=this;return this.getSelection().map(function(F){return C.view.element(F)})},Q.prototype.setFocus=function(C,F){for(var se=0,oe=C;se=this.length)throw new w(this.user,"Invalid index "+be)}this.focus.set(C,F)},Q.prototype.focusNext=function(C,F,se,oe){if(C===void 0&&(C=1),F===void 0&&(F=!1),this.length===0)return;var be=this.focus.get(),De=this.findNextIndex(be.length>0?be[0]+C:0,F,oe);De>-1&&this.setFocus([De],se)},Q.prototype.focusPrevious=function(C,F,se,oe){if(C===void 0&&(C=1),F===void 0&&(F=!1),this.length===0)return;var be=this.focus.get(),De=this.findPreviousIndex(be.length>0?be[0]-C:0,F,oe);De>-1&&this.setFocus([De],se)},Q.prototype.focusNextPage=function(C,F){var se=this,oe=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);oe=oe===0?0:oe-1;var be=this.view.element(oe),De=this.getFocusedElements()[0];if(De!==be){var Se=this.findPreviousIndex(oe,!1,F);Se>-1&&De!==this.view.element(Se)?this.setFocus([Se],C):this.setFocus([oe],C)}else{var Ve=this.view.getScrollTop();this.view.setScrollTop(Ve+this.view.renderHeight-this.view.elementHeight(oe)),this.view.getScrollTop()!==Ve&&setTimeout(function(){return se.focusNextPage(C,F)},0)}},Q.prototype.focusPreviousPage=function(C,F){var se=this,oe,be=this.view.getScrollTop();be===0?oe=this.view.indexAt(be):oe=this.view.indexAfter(be-1);var De=this.view.element(oe),Se=this.getFocusedElements()[0];if(Se!==De){var Ve=this.findNextIndex(oe,!1,F);Ve>-1&&Se!==this.view.element(Ve)?this.setFocus([Ve],C):this.setFocus([oe],C)}else{var Qe=be;this.view.setScrollTop(be-this.view.renderHeight),this.view.getScrollTop()!==Qe&&setTimeout(function(){return se.focusPreviousPage(C,F)},0)}},Q.prototype.focusLast=function(C,F){if(this.length===0)return;var se=this.findPreviousIndex(this.length-1,!1,F);se>-1&&this.setFocus([se],C)},Q.prototype.focusFirst=function(C,F){if(this.length===0)return;var se=this.findNextIndex(0,!1,F);se>-1&&this.setFocus([se],C)},Q.prototype.findNextIndex=function(C,F,se){F===void 0&&(F=!1);for(var oe=0;oe=this.length&&!F)return-1;if(C=C%this.length,!se||se(this.element(C)))return C;C++}return-1},Q.prototype.findPreviousIndex=function(C,F,se){F===void 0&&(F=!1);for(var oe=0;oe=this.length)throw new w(this.user,"Invalid index "+C);var se=this.view.getScrollTop(),oe=this.view.elementTop(C),be=this.view.elementHeight(C);if(Object(I.h)(F)){var De=be-this.view.renderHeight;this.view.setScrollTop(De*Object(d.a)(F,0,1)+oe)}else{var Se=oe+be,Ve=se+this.view.renderHeight;oe=Ve||(oe=Ve&&this.view.setScrollTop(Se-this.view.renderHeight))}},Q.prototype.getRelativeTop=function(C){if(C<0||C>=this.length)throw new w(this.user,"Invalid index "+C);var F=this.view.getScrollTop(),se=this.view.elementTop(C),oe=this.view.elementHeight(C);if(seF+this.view.renderHeight)return null;var be=oe-this.view.renderHeight;return Math.abs((F-se)/be)},Q.prototype.getHTMLElement=function(){return this.view.domNode},Q.prototype.open=function(C,F){for(var se=this,oe=0,be=C;oe=this.length)throw new w(this.user,"Invalid index "+De)}this._onDidOpen.fire({indexes:C,elements:C.map(function(Se){return se.view.element(Se)}),browserEvent:F})},Q.prototype.pin=function(C,F){for(var se=this,oe=0,be=C;oe=this.length)throw new w(this.user,"Invalid index "+De)}this._onDidPin.fire({indexes:C,elements:C.map(function(Se){return se.view.element(Se)}),browserEvent:F})},Q.prototype.style=function(C){this.styleController.style(C)},Q.prototype.toListEvent=function(C){var F=this,se=C.indexes,oe=C.browserEvent;return{indexes:se,elements:se.map(function(be){return F.view.element(be)}),browserEvent:oe}},Q.prototype._onFocusChange=function(){var C=this.focus.get();O.Y(this.view.domNode,"element-focused",C.length>0),this.onDidChangeActiveDescendant()},Q.prototype.onDidChangeActiveDescendant=function(){var C,F=this.focus.get();if(F.length>0){var se=void 0;((C=this.accessibilityProvider)===null||C===void 0?void 0:C.getActiveDescendantId)&&(se=this.accessibilityProvider.getActiveDescendantId(this.view.element(F[0]))),this.view.domNode.setAttribute("aria-activedescendant",se||this.view.getElementDomId(F[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")},Q.prototype._onSelectionChange=function(){var C=this.selection.get();O.Y(this.view.domNode,"selection-none",C.length===0),O.Y(this.view.domNode,"selection-single",C.length===1),O.Y(this.view.domNode,"selection-multiple",C.length>1)},Q.prototype.dispose=function(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidOpen.dispose(),this._onDidPin.dispose(),this._onDidDispose.dispose()},A([z.a],Q.prototype,"onFocusChange",null),A([z.a],Q.prototype,"onSelectionChange",null),A([z.a],Q.prototype,"onContextMenu",null),Q}()},d6R0:function(Lt,j,e){"use strict";e.r(j),e.d(j,"CodeLensContribution",function(){return ue});var T=e("X+cX"),re=e("/cxE"),J=e("pmY6"),I=e("vATl"),H=e("sswD"),z=e("twdY"),O=e("6OMU"),U=e("JQT/"),x=e("bY76"),u=e("G2kB"),y=function(){function X(){this.lenses=[],this._disposables=new J.b}return X.prototype.dispose=function(){this._disposables.dispose()},X.prototype.add=function(he,je){this._disposables.add(he);for(var Xe=0,me=he.lenses;XeRe.symbol.range.startLineNumber?1:Xe.get(we.provider)Xe.get(Re.provider)?1:we.symbol.range.startColumnRe.symbol.range.startColumn?1:0}),me})}Object(H.j)("_executeCodeLensProvider",function(X,he){var je=he.resource,Xe=he.itemResolveCount;if(!(je instanceof x.a))throw Object(re.b)();var me=X.get(u.a).getModel(je);if(!me)throw Object(re.b)();var ge=[],we=new J.b;return _(me,U.a.None).then(function(Re){we.add(Re);for(var Ee=[],ve=function(oe){typeof Xe=="undefined"||Boolean(oe.symbol.command)?ge.push(oe.symbol):Xe-- >0&&oe.provider.resolveCodeLens&&Ee.push(Promise.resolve(oe.provider.resolveCodeLens(me,oe.symbol,U.a.None)).then(function(be){return ge.push(be||oe.symbol)}))},Q=0,C=Re.lenses;Q"+Re+"",this._commands.set(String(ge),we.command)):Xe+=""+Re+"",ge+1 | ")}}me?(Xe||(Xe=" "),this._domNode.innerHTML=Xe,this._isEmpty&&je&&v.f(this._domNode,"fadein"),this._isEmpty=!1):this._domNode.innerHTML="no commands"},X.prototype.getCommand=function(he){return he.parentElement===this._domNode?this._commands.get(he.id):void 0},X.prototype.getId=function(){return this._id},X.prototype.getDomNode=function(){return this._domNode},X.prototype.updatePosition=function(he){var je=this._editor.getModel().getLineFirstNonWhitespaceColumn(he);this._widgetPosition={position:{lineNumber:he,column:je},preference:[1]}},X.prototype.getPosition=function(){return this._widgetPosition||null},X._idPool=0,X}(),A=function(){function X(){this._removeDecorations=[],this._addDecorations=[],this._addDecorationsCallbacks=[]}return X.prototype.addDecoration=function(he,je){this._addDecorations.push(he),this._addDecorationsCallbacks.push(je)},X.prototype.removeDecoration=function(he){this._removeDecorations.push(he)},X.prototype.commit=function(he){for(var je=he.deltaDecorations(this._removeDecorations,this._addDecorations),Xe=0,me=je.length;Xe0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(ve,!1))}return X.prototype._createContentWidgetIfNecessary=function(){this._contentWidget||(this._contentWidget=new L(this._editor,this._className,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))},X.prototype.dispose=function(he,je){this._decorationIds.forEach(he.removeDecoration,he),this._decorationIds=[],je&&je.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0},X.prototype.isDisposed=function(){return this._isDisposed},X.prototype.isValid=function(){var he=this;return this._decorationIds.some(function(je,Xe){var me=he._editor.getModel().getDecorationRange(je),ge=he._data[Xe].symbol;return!!(me&&c.a.isEmpty(ge.range)===me.isEmpty())})},X.prototype.updateCodeLensSymbols=function(he,je){var Xe=this;this._decorationIds.forEach(je.removeDecoration,je),this._decorationIds=[],this._data=he,this._data.forEach(function(me,ge){je.addDecoration({range:me.symbol.range,options:s.a.EMPTY},function(we){return Xe._decorationIds[ge]=we})})},X.prototype.computeIfNecessary=function(he){if(!this._viewZone.domNode.hasAttribute("monaco-visible-view-zone"))return null;for(var je=0;je a:hover { color: "+Xe+" !important; }"),he.addRule(".monaco-editor .codelens-decoration > a:hover .codicon { color: "+Xe+" !important; }"))});var R=e("nnTU"),$=e("sM1p"),ie=e("Cg/j"),W=e("9fML"),B=e("QDVR"),le=e("A+jI"),Ce=e("C/vA"),Me=function(X,he,je,Xe){var me=arguments.length,ge=me<3?he:Xe===null?Xe=Object.getOwnPropertyDescriptor(he,je):Xe,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ge=Reflect.decorate(X,he,je,Xe);else for(var Re=X.length-1;Re>=0;Re--)(we=X[Re])&&(ge=(me<3?we(ge):me>3?we(he,je,ge):we(he,je))||ge);return me>3&&ge&&Object.defineProperty(he,je,ge),ge},Te=function(X,he){return function(je,Xe){he(je,Xe,X)}},Fe=Object(ie.c)("ICodeLensCache"),He=function(){function X(he,je){this.lineCount=he,this.data=je}return X}(),Pe=function(){function X(he){var je=this;this._fakeProvider=new(function(){function we(){}return we.prototype.provideCodeLenses=function(){throw new Error("not supported")},we}()),this._cache=new B.a(20,.75);var Xe="codelens/cache";Object(T.k)(function(){return he.remove(Xe,1)});var me="codelens/cache2",ge=he.get(me,1,"{}");this._deserialize(ge),Object(Ce.a)(he.onWillSaveState)(function(we){we.reason===le.c.SHUTDOWN&&he.store(me,je._serialize(),1)})}return X.prototype.put=function(he,je){var Xe=je.lenses.map(function(we){var Re;return{range:we.symbol.range,command:we.symbol.command&&{id:"",title:(Re=we.symbol.command)===null||Re===void 0?void 0:Re.title}}}),me=new y;me.add({lenses:Xe,dispose:function(){}},this._fakeProvider);var ge=new He(he.getLineCount(),me);this._cache.set(he.uri.toString(),ge)},X.prototype.get=function(he){var je=this._cache.get(he.uri.toString());return je&&je.lineCount===he.getLineCount()?je.data:void 0},X.prototype.delete=function(he){this._cache.delete(he.uri.toString())},X.prototype._serialize=function(){var he=Object.create(null);return this._cache.forEach(function(je,Xe){for(var me=new Set,ge=0,we=je.data.lenses;ge=0;Re--)(we=X[Re])&&(ge=(me<3?we(ge):me>3?we(he,je,ge):we(he,je))||ge);return me>3&&ge&&Object.defineProperty(he,je,ge),ge},ae=function(X,he){return function(je,Xe){he(je,Xe,X)}},q=function(){for(var X=0,he=0,je=arguments.length;he a > .codicon { line-height: "+Xe+"px; font-size: "+ge+`px; } - `;this._styleElement.innerHTML=we},X.prototype._localDispose=function(){this._currentFindCodeLensSymbolsPromise&&(this._currentFindCodeLensSymbolsPromise.cancel(),this._currentFindCodeLensSymbolsPromise=void 0,this._modelChangeCounter++),this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise.cancel(),this._currentResolveCodeLensSymbolsPromise=void 0),this._localToDispose.clear(),this._oldCodeLensModels.clear(),Object(J.f)(this._currentCodeLensModel)},X.prototype._onModelChange=function(){var he=this;this._localDispose();var je=this._editor.getModel();if(!je)return;if(!this._isEnabled)return;var Xe=this._codeLensCache.get(je);if(Xe&&this._renderCodeLensSymbols(Xe),!z.b.has(je)){Xe&&this._localToDispose.add(Object(T.g)(function(){var Q=he._codeLensCache.get(je);Xe===Q&&(he._codeLensCache.delete(je),he._onModelChange())},30*1e3));return}for(var me=0,ge=z.b.all(je);me0&&Ee.schedule()})),this._localToDispose.add(this._editor.onDidLayoutChange(function(){Ee.schedule()})),this._localToDispose.add(Object(J.h)(function(){if(he._editor.getModel()){var Q=I.c.capture(he._editor);he._editor.changeDecorations(function(C){he._editor.changeViewZones(function(F){he._disposeAllLenses(C,F)})}),Q.restore(he._editor)}else he._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseUp(function(Q){var C;if(Q.target.type!==9)return;var F=Q.target.element;if((F==null?void 0:F.tagName)==="SPAN"&&(F=F.parentElement),(F==null?void 0:F.tagName)==="A")for(var se=0,oe=he._lenses;seXe)continue;ge&&ge[ge.length-1].symbol.range.startLineNumber===ve?ge.push(Ee):(ge=[Ee],me.push(ge))}var Q=I.c.capture(this._editor);this._editor.changeDecorations(function(C){je._editor.changeViewZones(function(F){for(var se=new A,oe=0,be=0;beH)continue;if(p.isEmpty()&&(w.type===0||w.type===3))continue;var c=p.startLineNumber===H?p.startColumn:x,s=p.endLineNumber===H?p.endColumn:u;y[_++]=new z(c,s,w.inlineClassName,w.type)}return y},z.compare=function(O,H){return O.startColumn===H.startColumn?O.endColumn===H.endColumn?O.classNameH.className?1:0:O.endColumn-H.endColumn:O.startColumn-H.startColumn},z}(),J=function(){function z(O,H,x){this.startOffset=O,this.endOffset=H,this.className=x}return z}(),I=function(){function z(){this.stopOffsets=[],this.classNames=[],this.count=0}return z.prototype.consumeLowerThan=function(O,H,x){for(;this.count>0&&this.stopOffsets[0]0&&H=O){this.stopOffsets.splice(x,0,O),this.classNames.splice(x,0,H);break}this.count++;return},z}(),U=function(){function z(){}return z.normalize=function(O,H){if(H.length===0)return[];for(var x=[],u=new I,y=0,_=0,f=H.length;_1){var s=O.charCodeAt(w-2);T.z(s)&&w--}if(p>1){var s=O.charCodeAt(p-2);T.z(s)&&p--}var l=w-1,d=p-2;y=u.consumeLowerThan(l,y,x),u.count===0&&(y=l),u.insert(d,c)}return u.consumeLowerThan(1073741824,y,x),x},z}()},dFcq:function(Lt,j,e){},"dH+W":function(Lt,j,e){"use strict";e.r(j),e.d(j,"DuplicateSelectionAction",function(){return W}),e.d(j,"AbstractSortLinesAction",function(){return Me}),e.d(j,"SortLinesAscendingAction",function(){return Te}),e.d(j,"SortLinesDescendingAction",function(){return Fe}),e.d(j,"TrimTrailingWhitespaceAction",function(){return Ue}),e.d(j,"DeleteLinesAction",function(){return Pe}),e.d(j,"IndentLinesAction",function(){return ne}),e.d(j,"InsertLineBeforeAction",function(){return ae}),e.d(j,"InsertLineAfterAction",function(){return q}),e.d(j,"AbstractDeleteAllToBoundaryAction",function(){return ue}),e.d(j,"DeleteAllLeftAction",function(){return X}),e.d(j,"DeleteAllRightAction",function(){return he}),e.d(j,"JoinLinesAction",function(){return je}),e.d(j,"TransposeAction",function(){return Xe}),e.d(j,"AbstractCaseAction",function(){return me}),e.d(j,"UpperCaseAction",function(){return ge}),e.d(j,"LowerCaseAction",function(){return we}),e.d(j,"TitleCaseAction",function(){return Re});var T=e("3/fG"),re=e("/kV6"),J=e("1YUG"),I=e("sswD"),U=e("LCkn"),z=e("N0LK"),O=e("0/Sa"),H=e("aokT"),x=function(){function Ee(ve,Q){this._selection=ve,this._cursors=Q,this._selectionId=null}return Ee.prototype.getEditOperations=function(ve,Q){for(var C=u(ve,this._cursors),F=0,se=C.length;F=0;Q--)ve[Q].lineNumber===ve[Q+1].lineNumber&&ve.splice(Q,1);for(var C=[],F=0,se=0,oe=ve.length,be=1,De=Ee.getLineCount();be<=De;be++){var Se=Ee.getLineContent(be),Ve=Se.length+1,Qe=0;if(se=F.startLineNumber+1&&Ct<=F.endLineNumber+1?ve.getLineContent(Ct-1):ve.getLineContent(Ct)};var At=s.a.getGoodIndentForLine(this._autoIndent,Ve,ve.getLanguageIdAtPosition(pt,1),F.startLineNumber+1,Se);if(At!==null){var uo=z.t(ve.getLineContent(F.startLineNumber)),ao=l(At,oe),ft=l(uo,oe);if(ao!==ft){var at=ao-ft;this.getIndentEditsOfMovingBlock(ve,Q,F,oe,De,at)}}}}else Q.addEditOperation(new H.a(F.startLineNumber,1,F.startLineNumber,1),Mt+` -`)}else if(pt=F.startLineNumber-1,Rt=ve.getLineContent(pt),Q.addEditOperation(new H.a(pt,1,pt+1,1),null),Q.addEditOperation(new H.a(F.endLineNumber,ve.getLineMaxColumn(F.endLineNumber),F.endLineNumber,ve.getLineMaxColumn(F.endLineNumber)),` -`+Rt),this.shouldAutoIndent(ve,F)){Ve.getLineContent=function(gt){return gt===pt?ve.getLineContent(F.startLineNumber):ve.getLineContent(gt)};var vt=this.matchEnterRule(ve,Se,oe,F.startLineNumber,F.startLineNumber-2);if(vt!==null)vt!==0&&this.getIndentEditsOfMovingBlock(ve,Q,F,oe,De,vt);else{var tt=s.a.getGoodIndentForLine(this._autoIndent,Ve,ve.getLanguageIdAtPosition(F.startLineNumber,1),pt,Se);if(tt!==null){var ut=z.t(ve.getLineContent(F.startLineNumber)),ao=l(tt,oe),ft=l(ut,oe);if(ao!==ft){var at=ao-ft;this.getIndentEditsOfMovingBlock(ve,Q,F,oe,De,at)}}}}}this._selectionId=Q.trackSelection(F)},Ee.prototype.buildIndentConverter=function(ve,Q,C){return{shiftIndent:function(se){return p.a.shiftIndent(se,se.length+1,ve,Q,C)},unshiftIndent:function(se){return p.a.unshiftIndent(se,se.length+1,ve,Q,C)}}},Ee.prototype.matchEnterRule=function(ve,Q,C,F,se,oe){for(var be=se;be>=1;){var De=void 0;be===se&&oe!==void 0?De=oe:De=ve.getLineContent(be);var Se=z.D(De);if(Se>=0)break;be--}if(be<1||F>ve.getLineCount())return null;var Ve=ve.getLineMaxColumn(be),Qe=s.a.getEnterAction(this._autoIndent,ve,new H.a(be,Ve,be,Ve));if(Qe){var it=Qe.indentation;Qe.indentAction===c.a.None||Qe.indentAction===c.a.Indent?it=Qe.indentation+Qe.appendText:Qe.indentAction===c.a.IndentOutdent?it=Qe.indentation:Qe.indentAction===c.a.Outdent&&(it=Q.unshiftIndent(Qe.indentation)+Qe.appendText);var pt=ve.getLineContent(F);if(this.trimLeft(pt).indexOf(this.trimLeft(it))>=0){var Rt=z.t(ve.getLineContent(F)),Mt=z.t(it),zt=s.a.getIndentMetadata(ve,F);zt!==null&&zt&2&&(Mt=Q.unshiftIndent(Mt));var uo=l(Mt,C),ao=l(Rt,C);return uo-ao}}return null},Ee.prototype.trimLeft=function(ve){return ve.replace(/^\s+/,"")},Ee.prototype.shouldAutoIndent=function(ve,Q){if(this._autoIndent<4)return!1;if(!ve.isCheapToTokenize(Q.startLineNumber))return!1;var C=ve.getLanguageIdAtPosition(Q.startLineNumber,1),F=ve.getLanguageIdAtPosition(Q.endLineNumber,1);return C!==F?!1:!(s.a.getIndentRulesSupport(C)===null)},Ee.prototype.getIndentEditsOfMovingBlock=function(ve,Q,C,F,se,oe){for(var be=C.startLineNumber;be<=C.endLineNumber;be++){var De=ve.getLineContent(be),Se=z.t(De),Ve=l(Se,F),Qe=Ve+oe,it=d(Qe,F,se);it!==Se&&(Q.addEditOperation(new H.a(be,1,be,Se.length+1),it),be===C.endLineNumber&&C.endColumn<=Se.length+1&&it===""&&(this._moveEndLineSelectionShrink=!0))}},Ee.prototype.computeCursorState=function(ve,Q){var C=Q.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(C=C.setEndPosition(C.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&C.startLineNumber=F)return null;for(var se=[],oe=C;oe<=F;oe++)se.push(Ee.getLineContent(oe));var be=se.slice(0);return be.sort(E.getCollator().compare),Q===!0&&(be=be.reverse()),{startLineNumber:C,endLineNumber:F,before:se,after:be}}function A(Ee,ve,Q){var C=L(Ee,ve,Q);return C?O.a.replace(new H.a(C.startLineNumber,1,C.endLineNumber,Ee.getLineMaxColumn(C.endLineNumber)),C.after.join(` -`)):null}var k=function(){var Ee=function(Q,C){return Ee=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,se){F.__proto__=se}||function(F,se){for(var oe in se)se.hasOwnProperty(oe)&&(F[oe]=se[oe])},Ee(Q,C)};return function(ve,Q){Ee(ve,Q);function C(){this.constructor=ve}ve.prototype=Q===null?Object.create(Q):(C.prototype=Q.prototype,new C)}}(),R=function(Ee){k(ve,Ee);function ve(Q,C){var F=Ee.call(this,C)||this;return F.down=Q,F}return ve.prototype.run=function(Q,C){for(var F=[],se=C.getSelections()||[],oe=0,be=se;oe1&&(it-=1,Rt=se.getLineMaxColumn(it)),be.push(O.a.replace(new f.a(it,Rt,pt,Mt),"")),De.push(new f.a(it-oe,Qe.positionColumn,it-oe,Qe.positionColumn)),oe+=Qe.endLineNumber-Qe.startLineNumber+1}C.pushUndoStop(),C.executeEdits(this.id,be,De),C.pushUndoStop()},ve.prototype._getLinesToRemove=function(Q){var C=Q.getSelections().map(function(be){var De=be.endLineNumber;return be.startLineNumber=C[oe].startLineNumber?se.endLineNumber=C[oe].endLineNumber:(F.push(se),se=C[oe]);return F.push(se),F},ve}(I.b),ne=function(Ee){k(ve,Ee);function ve(){return Ee.call(this,{id:"editor.action.indentLines",label:T.a("lines.indent","Indent Line"),alias:"Indent Line",precondition:v.a.writable,kbOpts:{kbExpr:v.a.editorTextFocus,primary:2048|89,weight:100}})||this}return ve.prototype.run=function(Q,C){var F=C._getCursors();if(!F)return;C.pushUndoStop(),C.executeCommands(this.id,y.a.indent(F.context.config,C.getModel(),C.getSelections())),C.pushUndoStop()},ve}(I.b),ee=function(Ee){k(ve,Ee);function ve(){return Ee.call(this,{id:"editor.action.outdentLines",label:T.a("lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:v.a.writable,kbOpts:{kbExpr:v.a.editorTextFocus,primary:2048|87,weight:100}})||this}return ve.prototype.run=function(Q,C){J.CoreEditingCommands.Outdent.runEditorCommand(Q,C,null)},ve}(I.b),ae=function(Ee){k(ve,Ee);function ve(){return Ee.call(this,{id:"editor.action.insertLineBefore",label:T.a("lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:v.a.writable,kbOpts:{kbExpr:v.a.editorTextFocus,primary:2048|1024|3,weight:100}})||this}return ve.prototype.run=function(Q,C){var F=C._getCursors();if(!F)return;C.pushUndoStop(),C.executeCommands(this.id,y.a.lineInsertBefore(F.context.config,C.getModel(),C.getSelections()))},ve}(I.b),q=function(Ee){k(ve,Ee);function ve(){return Ee.call(this,{id:"editor.action.insertLineAfter",label:T.a("lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:v.a.writable,kbOpts:{kbExpr:v.a.editorTextFocus,primary:2048|3,weight:100}})||this}return ve.prototype.run=function(Q,C){var F=C._getCursors();if(!F)return;C.pushUndoStop(),C.executeCommands(this.id,y.a.lineInsertAfter(F.context.config,C.getModel(),C.getSelections()))},ve}(I.b),ue=function(Ee){k(ve,Ee);function ve(){return Ee!==null&&Ee.apply(this,arguments)||this}return ve.prototype.run=function(Q,C){if(!C.hasModel())return;for(var F=C.getSelection(),se=this._getRangesToDelete(C),oe=[],be=0,De=se.length-1;be0){var Se=be.startLineNumber-oe;De=new f.a(Se,be.startColumn,Se,be.startColumn)}else De=new f.a(be.startLineNumber,be.startColumn,be.startLineNumber,be.startColumn);oe+=be.endLineNumber-be.startLineNumber,be.intersectRanges(Q)?F=De:se.push(De)}),F&&se.unshift(F),se},ve.prototype._getRangesToDelete=function(Q){var C=Q.getSelections();if(C===null)return[];var F=C,se=Q.getModel();return se===null?[]:(F.sort(H.a.compareRangesUsingStarts),F=F.map(function(oe){if(oe.isEmpty())if(oe.startColumn===1){var be=Math.max(1,oe.startLineNumber-1),De=oe.startLineNumber===1?1:se.getLineContent(be).length+1;return new H.a(be,De,oe.startLineNumber,1)}else return new H.a(oe.startLineNumber,1,oe.startLineNumber,oe.startColumn);else return new H.a(oe.startLineNumber,1,oe.endLineNumber,oe.endColumn)}),F)},ve}(ue),he=function(Ee){k(ve,Ee);function ve(){return Ee.call(this,{id:"deleteAllRight",label:T.a("lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:v.a.writable,kbOpts:{kbExpr:v.a.textInputFocus,primary:0,mac:{primary:256|41,secondary:[2048|20]},weight:100}})||this}return ve.prototype._getEndCursorState=function(Q,C){for(var F=null,se=[],oe=0,be=C.length,De=0;oeNt.endLineNumber+1?(oe.push(Nt),Et):new f.a(Nt.startLineNumber,Nt.startColumn,Et.endLineNumber,Et.endColumn):Et.startLineNumber>Nt.endLineNumber?(oe.push(Nt),Et):new f.a(Nt.startLineNumber,Nt.startColumn,Et.endLineNumber,Et.endColumn)});oe.push(be);var De=C.getModel();if(De===null)return;for(var Se=[],Ve=[],Qe=se,it=0,pt=0,Rt=oe.length;pt=1){var Ct=!0;At===""&&(Ct=!1),Ct&&(At.charAt(At.length-1)===" "||At.charAt(At.length-1)===" ")&&(Ct=!1,At=At.replace(/[\s\uFEFF\xA0]+$/g," "));var gt=tt.substr(ut-1);At+=(Ct?" ":"")+gt,Ct?ao=gt.length+1:ao=gt.length}else ao=0}var bt=new H.a(zt,uo,so,Pt);if(!bt.isEmpty()){var Gt=void 0;Mt.isEmpty()?(Se.push(O.a.replace(bt,At)),Gt=new f.a(bt.startLineNumber-it,At.length-ao+1,zt-it,At.length-ao+1)):Mt.startLineNumber===Mt.endLineNumber?(Se.push(O.a.replace(bt,At)),Gt=new f.a(Mt.startLineNumber-it,Mt.startColumn,Mt.endLineNumber-it,Mt.endColumn)):(Se.push(O.a.replace(bt,At)),Gt=new f.a(Mt.startLineNumber-it,Mt.startColumn,Mt.startLineNumber-it,At.length-ft)),H.a.intersectRanges(bt,se)!==null?Qe=Gt:Ve.push(Gt)}it+=bt.endLineNumber-bt.startLineNumber}Ve.unshift(Qe),C.pushUndoStop(),C.executeEdits(this.id,Se,Ve),C.pushUndoStop()},ve}(I.b),Xe=function(Ee){k(ve,Ee);function ve(){return Ee.call(this,{id:"editor.action.transpose",label:T.a("editor.transpose","Transpose characters around the cursor"),alias:"Transpose characters around the cursor",precondition:v.a.writable})||this}return ve.prototype.run=function(Q,C){var F=C.getSelections();if(F===null)return;var se=C.getModel();if(se===null)return;for(var oe=[],be=0,De=F.length;be=Qe){if(Ve.lineNumber===se.getLineCount())continue;var it=new H.a(Ve.lineNumber,Math.max(1,Ve.column-1),Ve.lineNumber+1,1),pt=se.getValueInRange(it).split("").reverse().join("");oe.push(new U.a(new f.a(Ve.lineNumber,Math.max(1,Ve.column-1),Ve.lineNumber+1,1),pt))}else{var it=new H.a(Ve.lineNumber,Math.max(1,Ve.column-1),Ve.lineNumber,Ve.column+1),pt=se.getValueInRange(it).split("").reverse().join("");oe.push(new U.b(it,pt,new f.a(Ve.lineNumber,Ve.column+1,Ve.lineNumber,Ve.column+1)))}}C.pushUndoStop(),C.executeCommands(this.id,oe),C.pushUndoStop()},ve}(I.b),me=function(Ee){k(ve,Ee);function ve(){return Ee!==null&&Ee.apply(this,arguments)||this}return ve.prototype.run=function(Q,C){var F=C.getSelections();if(F===null)return;var se=C.getModel();if(se===null)return;for(var oe=C.getOption(96),be=[],De=0,Se=F.length;De=0?(be=!0,oe+=Se):be?(be=!1,oe+=Se.toLocaleUpperCase()):oe+=Se.toLocaleLowerCase()}return oe},ve}(me);Object(I.f)($),Object(I.f)(ie),Object(I.f)(W),Object(I.f)(le),Object(I.f)(Ce),Object(I.f)(Te),Object(I.f)(Fe),Object(I.f)(Ue),Object(I.f)(Pe),Object(I.f)(ne),Object(I.f)(ee),Object(I.f)(ae),Object(I.f)(q),Object(I.f)(X),Object(I.f)(he),Object(I.f)(je),Object(I.f)(Xe),Object(I.f)(ge),Object(I.f)(we),Object(I.f)(Re)},dgXF:function(Lt,j,e){"use strict";e.r(j),e.d(j,"FoldingController",function(){return F}),e.d(j,"foldBackgroundBackground",function(){return so});var T=e("CjOT"),re=e("3/fG"),J=e("746U"),I=e("N0LK"),U=e("X+cX"),z=e("/kV6"),O=e("pmY6"),H=e("sswD"),x=e("MI8n"),u=65535,y=16777215,_=4278190080,f=function(){function Pt(ft,vt,At){if(ft.length!==vt.length||ft.length>u)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=ft,this._endIndexes=vt,this._collapseStates=new Uint32Array(Math.ceil(ft.length/32)),this._types=At,this._parentsComputed=!1}return Pt.prototype.ensureParentIndices=function(){var ft=this;if(!this._parentsComputed){this._parentsComputed=!0;for(var vt=[],At=function(Gt,Nt){var Et=vt[vt.length-1];return ft.getStartLineNumber(Et)<=Gt&&ft.getEndLineNumber(Et)>=Nt},at=0,tt=this._startIndexes.length;aty||Ct>y)throw new Error("startLineNumber or endLineNumber must not exceed "+y);for(;vt.length>0&&!At(ut,Ct);)vt.pop();var gt=vt.length>0?vt[vt.length-1]:-1;vt.push(at),this._startIndexes[at]=ut+((gt&255)<<24),this._endIndexes[at]=Ct+((gt&65280)<<16)}}},Object.defineProperty(Pt.prototype,"length",{get:function(){return this._startIndexes.length},enumerable:!0,configurable:!0}),Pt.prototype.getStartLineNumber=function(ft){return this._startIndexes[ft]&y},Pt.prototype.getEndLineNumber=function(ft){return this._endIndexes[ft]&y},Pt.prototype.getType=function(ft){return this._types?this._types[ft]:void 0},Pt.prototype.hasTypes=function(){return!!this._types},Pt.prototype.isCollapsed=function(ft){var vt=ft/32|0,At=ft%32;return(this._collapseStates[vt]&1<>>24)+((this._endIndexes[ft]&_)>>>16);return vt===u?-1:vt},Pt.prototype.contains=function(ft,vt){return this.getStartLineNumber(ft)<=vt&&this.getEndLineNumber(ft)>=vt},Pt.prototype.findIndex=function(ft){var vt=0,At=this._startIndexes.length;if(At===0)return-1;for(;vt=0){var At=this.getEndLineNumber(vt);if(At>=ft)return vt;for(vt=this.getParentIndex(vt);vt!==-1;){if(this.contains(vt,ft))return vt;vt=this.getParentIndex(vt)}}return-1},Pt.prototype.toString=function(){for(var ft=[],vt=0;vt=this.endLineNumber},Pt.prototype.containsLine=function(ft){return this.startLineNumber<=ft&&ft<=this.endLineNumber},Pt}(),w=function(){function Pt(ft,vt){this._updateEventEmitter=new x.a,this.onDidChange=this._updateEventEmitter.event,this._textModel=ft,this._decorationProvider=vt,this._regions=new f(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[],this._isInitialized=!1}return Object.defineProperty(Pt.prototype,"regions",{get:function(){return this._regions},enumerable:!0,configurable:!0}),Object.defineProperty(Pt.prototype,"textModel",{get:function(){return this._textModel},enumerable:!0,configurable:!0}),Object.defineProperty(Pt.prototype,"isInitialized",{get:function(){return this._isInitialized},enumerable:!0,configurable:!0}),Pt.prototype.toggleCollapseState=function(ft){var vt=this;if(!ft.length)return;var At={};this._decorationProvider.changeDecorations(function(at){for(var tt=0,ut=ft;tt=Je)ut(bt,Et===Je),bt++;else break}}Gt=gt()}for(;bt0?ft:void 0},Pt.prototype.applyMemento=function(ft){if(!Array.isArray(ft))return;for(var vt=[],At=0,at=ft;At=0;){var ut=this._regions.toRegion(at);(!vt||vt(ut,tt))&&At.push(ut),tt++,at=ut.parentIndex}return At},Pt.prototype.getRegionAtLine=function(ft){if(this._regions){var vt=this._regions.findRange(ft);if(vt>=0)return this._regions.toRegion(vt)}return null},Pt.prototype.getRegionsInside=function(ft,vt){var At=[],at=ft?ft.regionIndex+1:0,tt=ft?ft.endLineNumber:Number.MAX_VALUE;if(vt&&vt.length===2)for(var ut=[],Ct=at,gt=this._regions.length;Ct0&&!bt.containedBy(ut[ut.length-1]);)ut.pop();ut.push(bt),vt(bt,ut.length)&&At.push(bt)}else break}else for(var Ct=at,gt=this._regions.length;Ct1){var Et=Pt.getRegionsInside(Gt,function(Je,$e){return Je.isCollapsed!==Nt&&$e0)for(var tt=0,ut=At;tt1)){var bt=Pt.getRegionsInside(gt,function(Gt,Nt){return Gt.isCollapsed!==ft&&Nt0&&At.push(Ct[0])}Pt.toggleCollapseState(At)}function d(Pt,ft,vt,At){var at=function(Ct,gt){return gt===ft&&Ct.isCollapsed!==vt&&!At.some(function(bt){return Ct.containsLine(bt)})},tt=Pt.getRegionsInside(null,at);Pt.toggleCollapseState(tt)}function m(Pt,ft,vt){for(var At=Pt.textModel,at=Pt.regions,tt=[],ut=at.length-1;ut>=0;ut--)if(vt!==at.isCollapsed(ut)){var Ct=at.getStartLineNumber(ut);ft.test(At.getLineContent(Ct))&&tt.push(at.toRegion(ut))}Pt.toggleCollapseState(tt)}function E(Pt,ft,vt){for(var At=Pt.regions,at=[],tt=At.length-1;tt>=0;tt--)vt!==At.isCollapsed(tt)&&ft===At.getType(tt)&&at.push(At.toRegion(tt));Pt.toggleCollapseState(at)}var L=e("tX9W"),A=function(){function Pt(ft){this.editor=ft,this.autoHideFoldingControls=!0,this.showFoldingHighlights=!0}return Pt.prototype.getDecorationOption=function(ft){return ft?this.showFoldingHighlights?Pt.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:Pt.COLLAPSED_VISUAL_DECORATION:this.autoHideFoldingControls?Pt.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:Pt.EXPANDED_VISUAL_DECORATION},Pt.prototype.deltaDecorations=function(ft,vt){return this.editor.deltaDecorations(ft,vt)},Pt.prototype.changeDecorations=function(ft){return this.editor.changeDecorations(ft)},Pt.COLLAPSED_VISUAL_DECORATION=L.a.register({stickiness:1,afterContentClassName:"inline-folded",linesDecorationsClassName:"codicon codicon-chevron-right"}),Pt.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=L.a.register({stickiness:1,afterContentClassName:"inline-folded",className:"folded-background",isWholeLine:!0,linesDecorationsClassName:"codicon codicon-chevron-right"}),Pt.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=L.a.register({stickiness:1,linesDecorationsClassName:"codicon codicon-chevron-down"}),Pt.EXPANDED_VISUAL_DECORATION=L.a.register({stickiness:1,linesDecorationsClassName:"codicon codicon-chevron-down alwaysShowFoldIcons"}),Pt}(),k=e("wQH0"),R=e("aokT"),$=e("6OMU"),ie=function(){function Pt(ft){var vt=this;this._updateEventEmitter=new x.a,this._foldingModel=ft,this._foldingModelListener=ft.onDidChange(function(At){return vt.updateHiddenRanges()}),this._hiddenRanges=[],ft.regions.length&&this.updateHiddenRanges()}return Object.defineProperty(Pt.prototype,"onDidChange",{get:function(){return this._updateEventEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(Pt.prototype,"hiddenRanges",{get:function(){return this._hiddenRanges},enumerable:!0,configurable:!0}),Pt.prototype.updateHiddenRanges=function(){for(var ft=!1,vt=[],At=0,at=0,tt=Number.MAX_VALUE,ut=-1,Ct=this._foldingModel.regions;At0},Pt.prototype.isHidden=function(ft){return B(this._hiddenRanges,ft)!==null},Pt.prototype.adjustSelections=function(ft){for(var vt=this,At=!1,at=this._foldingModel.textModel,tt=null,ut=function(Je){return(!tt||!W(Je,tt))&&(tt=B(vt._hiddenRanges,Je)),tt?tt.startLineNumber-1:null},Ct=0,gt=ft.length;Ct0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)},Pt}();function W(Pt,ft){return Pt>=ft.startLineNumber&&Pt<=ft.endLineNumber}function B(Pt,ft){var vt=Object($.i)(Pt,function(At){return ft=0&&Pt[vt].endLineNumber>=ft?Pt[vt]:null}var le=e("cMvZ"),Ce=5e3,Me="indent",Te=function(){function Pt(ft){this.editorModel=ft,this.id=Me}return Pt.prototype.dispose=function(){},Pt.prototype.compute=function(ft){var vt=le.a.getFoldingRules(this.editorModel.getLanguageIdentifier().id),At=vt&&!!vt.offSide,at=vt&&vt.markers;return Promise.resolve(Ue(this.editorModel,At,at))},Pt}(),Fe=function(){function Pt(ft){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=ft}return Pt.prototype.insertFirst=function(ft,vt,At){if(ft>y||vt>y)return;var at=this._length;this._startIndexes[at]=ft,this._endIndexes[at]=vt,this._length++,At<1e3&&(this._indentOccurrences[At]=(this._indentOccurrences[At]||0)+1)},Pt.prototype.toIndentRanges=function(ft){if(this._length<=this._foldingRangesLimit){for(var vt=new Uint32Array(this._length),At=new Uint32Array(this._length),at=this._length-1,tt=0;at>=0;at--,tt++)vt[tt]=this._startIndexes[at],At[tt]=this._endIndexes[at];return new f(vt,At)}else{for(var ut=0,Ct=this._indentOccurrences.length,at=0;atthis._foldingRangesLimit){Ct=at;break}ut+=gt}}for(var bt=ft.getOptions().tabSize,vt=new Uint32Array(this._foldingRangesLimit),At=new Uint32Array(this._foldingRangesLimit),at=this._length-1,tt=0;at>=0;at--){var Gt=this._startIndexes[at],Nt=ft.getLineContent(Gt),Et=L.b.computeIndentLevel(Nt,bt);(Et0;bt--){var Gt=Pt.getLineContent(bt),Nt=L.b.computeIndentLevel(Gt,at),Et=Ct[Ct.length-1];if(Nt===-1){ft&&(Et.endAbove=bt);continue}var Je=void 0;if(ut&&(Je=Gt.match(ut)))if(Je[1]){for(var $e=Ct.length-1;$e>0&&Ct[$e].indent!==-2;)$e--;if($e>0){Ct.length=$e+1,Et=Ct[$e],tt.insertFirst(bt,Et.line,Nt),Et.line=bt,Et.indent=Nt,Et.endAbove=bt;continue}}else{Ct.push({indent:-2,endAbove:bt,line:bt});continue}if(Et.indent>Nt){do Ct.pop(),Et=Ct[Ct.length-1];while(Et.indent>Nt);var ze=Et.endAbove-1;ze-bt>=1&&tt.insertFirst(bt,ze,Nt)}Et.indent===Nt?Et.endAbove=bt:Ct.push({indent:Nt,endAbove:bt,line:bt})}return tt.toIndentRanges(Pt)}var Pe=e("twdY"),ne=e("/cxE"),ee=5e3,ae={},q="syntax",ue=function(){function Pt(ft,vt,At){At===void 0&&(At=ee),this.editorModel=ft,this.providers=vt,this.limit=At,this.id=q}return Pt.prototype.compute=function(ft){var vt=this;return X(this.providers,this.editorModel,ft).then(function(At){if(At){var at=je(At,vt.limit);return at}return null})},Pt.prototype.dispose=function(){},Pt}();function X(Pt,ft,vt){var At=null,at=Pt.map(function(tt,ut){return Promise.resolve(tt.provideFoldingRanges(ft,ae,vt)).then(function(Ct){if(vt.isCancellationRequested)return;if(Array.isArray(Ct)){Array.isArray(At)||(At=[]);for(var gt=ft.getLineCount(),bt=0,Gt=Ct;bt0&&Nt.end>Nt.start&&Nt.end<=gt&&At.push({start:Nt.start,end:Nt.end,rank:ut,kind:Nt.kind})}}},ne.f)});return Promise.all(at).then(function(tt){return At})}var he=function(){function Pt(ft){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=ft}return Pt.prototype.add=function(ft,vt,At,at){if(ft>y||vt>y)return;var tt=this._length;this._startIndexes[tt]=ft,this._endIndexes[tt]=vt,this._nestingLevels[tt]=at,this._types[tt]=At,this._length++,at<30&&(this._nestingLevelCounts[at]=(this._nestingLevelCounts[at]||0)+1)},Pt.prototype.toIndentRanges=function(){if(this._length<=this._foldingRangesLimit){for(var ft=new Uint32Array(this._length),vt=new Uint32Array(this._length),At=0;Atthis._foldingRangesLimit){tt=At;break}at+=ut}}for(var ft=new Uint32Array(this._foldingRangesLimit),vt=new Uint32Array(this._foldingRangesLimit),Ct=[],At=0,gt=0;Atat.start)if(gt.end<=at.end)tt.push(at),at=gt,At.add(gt.start,gt.end,gt.kind&>.kind.value,tt.length);else{if(gt.start>at.end){do at=tt.pop();while(at&>.start>at.end);at&&tt.push(at),at=gt}At.add(gt.start,gt.end,gt.kind&>.kind.value,tt.length)}}return At.toIndentRanges()}var Xe="init",me=function(){function Pt(ft,vt,At,at){if(this.editorModel=ft,this.id=Xe,vt.length){var tt=function(Ct){return{range:{startLineNumber:Ct.startLineNumber,startColumn:0,endLineNumber:Ct.endLineNumber,endColumn:ft.getLineLength(Ct.endLineNumber)},options:{stickiness:1}}};this.decorationIds=ft.deltaDecorations([],vt.map(tt)),this.timeout=setTimeout(At,at)}}return Pt.prototype.dispose=function(){this.decorationIds&&(this.editorModel.deltaDecorations(this.decorationIds,[]),this.decorationIds=void 0),typeof this.timeout=="number"&&(clearTimeout(this.timeout),this.timeout=void 0)},Pt.prototype.compute=function(ft){var vt=[];if(this.decorationIds)for(var At=0,at=this.decorationIds;At=0;Ct--)(ut=Pt[Ct])&&(tt=(at<3?ut(tt):at>3?ut(ft,vt,tt):ut(ft,vt))||tt);return at>3&&tt&&Object.defineProperty(ft,vt,tt),tt},Q=function(Pt,ft){return function(vt,At){ft(vt,At,Pt)}},C=new ge.d("foldingEnabled",!1),F=function(Pt){Ee(ft,Pt);function ft(vt,At){var at=Pt.call(this)||this;at.contextKeyService=At,at.localToDispose=at._register(new O.b),at.editor=vt;var tt=at.editor.getOptions();return at._isEnabled=tt.get(30),at._useFoldingProviders=tt.get(31)!=="indentation",at.foldingModel=null,at.hiddenRangeModel=null,at.rangeProvider=null,at.foldingRegionPromise=null,at.foldingStateMemento=null,at.foldingModelPromise=null,at.updateScheduler=null,at.cursorChangedScheduler=null,at.mouseDownInfo=null,at.foldingDecorationProvider=new A(vt),at.foldingDecorationProvider.autoHideFoldingControls=tt.get(84)==="mouseover",at.foldingDecorationProvider.showFoldingHighlights=tt.get(32),at.foldingEnabled=C.bindTo(at.contextKeyService),at.foldingEnabled.set(at._isEnabled),at._register(at.editor.onDidChangeModel(function(){return at.onModelChanged()})),at._register(at.editor.onDidChangeConfiguration(function(ut){if(ut.hasChanged(30)){var Ct=at.editor.getOptions();at._isEnabled=Ct.get(30),at.foldingEnabled.set(at._isEnabled),at.onModelChanged()}if(ut.hasChanged(84)||ut.hasChanged(32)){var gt=at.editor.getOptions();at.foldingDecorationProvider.autoHideFoldingControls=gt.get(84)==="mouseover",at.foldingDecorationProvider.showFoldingHighlights=gt.get(32),at.onModelContentChanged()}if(ut.hasChanged(31)){var bt=at.editor.getOptions();at._useFoldingProviders=bt.get(31)!=="indentation",at.onFoldingStrategyChanged()}})),at.onModelChanged(),at}return ft.get=function(vt){return vt.getContribution(ft.ID)},ft.prototype.saveViewState=function(){var vt=this.editor.getModel();if(!vt||!this._isEnabled||vt.isTooLargeForTokenization())return{};if(this.foldingModel){var At=this.foldingModel.isInitialized?this.foldingModel.getMemento():this.hiddenRangeModel.getMemento(),at=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:At,lineCount:vt.getLineCount(),provider:at}}return},ft.prototype.restoreViewState=function(vt){var At=this.editor.getModel();if(!At||!this._isEnabled||At.isTooLargeForTokenization()||!this.hiddenRangeModel)return;if(!vt||!vt.collapsedRegions||vt.lineCount!==At.getLineCount())return;(vt.provider===q||vt.provider===Xe)&&(this.foldingStateMemento=vt);var at=vt.collapsedRegions;if(this.hiddenRangeModel.applyMemento(at)){var tt=this.getFoldingModel();tt&&tt.then(function(ut){ut&&ut.applyMemento(at)}).then(void 0,ne.e)}},ft.prototype.onModelChanged=function(){var vt=this;this.localToDispose.clear();var At=this.editor.getModel();if(!this._isEnabled||!At||At.isTooLargeForTokenization())return;this.foldingModel=new w(At,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new ie(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(function(at){return vt.onHiddenRangesChanges(at)})),this.updateScheduler=new U.a(200),this.cursorChangedScheduler=new U.d(function(){return vt.revealCursor()},200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(Pe.o.onDidChange(function(){return vt.onFoldingStrategyChanged()})),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(function(){return vt.onFoldingStrategyChanged()})),this.localToDispose.add(this.editor.onDidChangeModelContent(function(){return vt.onModelContentChanged()})),this.localToDispose.add(this.editor.onDidChangeCursorPosition(function(){return vt.onCursorPositionChanged()})),this.localToDispose.add(this.editor.onMouseDown(function(at){return vt.onEditorMouseDown(at)})),this.localToDispose.add(this.editor.onMouseUp(function(at){return vt.onEditorMouseUp(at)})),this.localToDispose.add({dispose:function(){vt.foldingRegionPromise&&(vt.foldingRegionPromise.cancel(),vt.foldingRegionPromise=null),vt.updateScheduler&&vt.updateScheduler.cancel(),vt.updateScheduler=null,vt.foldingModel=null,vt.foldingModelPromise=null,vt.hiddenRangeModel=null,vt.cursorChangedScheduler=null,vt.foldingStateMemento=null,vt.rangeProvider&&vt.rangeProvider.dispose(),vt.rangeProvider=null}}),this.onModelContentChanged()},ft.prototype.onFoldingStrategyChanged=function(){this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null,this.onModelContentChanged()},ft.prototype.getRangeProvider=function(vt){var At=this;if(this.rangeProvider)return this.rangeProvider;if(this.rangeProvider=new Te(vt),this._useFoldingProviders&&this.foldingModel){var at=Pe.o.ordered(this.foldingModel.textModel);if(at.length===0&&this.foldingStateMemento&&this.foldingStateMemento.collapsedRegions){var tt=this.rangeProvider=new me(vt,this.foldingStateMemento.collapsedRegions,function(){At.foldingStateMemento=null,At.onFoldingStrategyChanged()},3e4);return tt}else at.length>0&&(this.rangeProvider=new ue(vt,at))}return this.foldingStateMemento=null,this.rangeProvider},ft.prototype.getFoldingModel=function(){return this.foldingModelPromise},ft.prototype.onModelContentChanged=function(){var vt=this;this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(function(){var At=vt.foldingModel;if(!At)return null;var at=vt.foldingRegionPromise=Object(U.f)(function(tt){return vt.getRangeProvider(At.textModel).compute(tt)});return at.then(function(tt){if(tt&&at===vt.foldingRegionPromise){var ut=vt.editor.getSelections(),Ct=ut?ut.map(function(gt){return gt.startLineNumber}):[];At.update(tt,Ct)}return At})}).then(void 0,function(At){return Object(ne.e)(At),null}))},ft.prototype.onHiddenRangesChanges=function(vt){if(this.hiddenRangeModel&&vt.length){var At=this.editor.getSelections();At&&(this.hiddenRangeModel.adjustSelections(At)&&this.editor.setSelections(At))}this.editor.setHiddenAreas(vt)},ft.prototype.onCursorPositionChanged=function(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()},ft.prototype.revealCursor=function(){var vt=this,At=this.getFoldingModel();if(!At)return;At.then(function(at){if(at){var tt=vt.editor.getSelections();if(tt&&tt.length>0){for(var ut=[],Ct=function(Et){var Je=Et.selectionStartLineNumber;vt.hiddenRangeModel&&vt.hiddenRangeModel.isHidden(Je)&&ut.push.apply(ut,at.getAllRegionsAtLine(Je,function($e){return $e.isCollapsed&&Je>$e.startLineNumber}))},gt=0,bt=tt;gt0&&Ee.schedule()})),this._localToDispose.add(this._editor.onDidLayoutChange(function(){Ee.schedule()})),this._localToDispose.add(Object(J.h)(function(){if(he._editor.getModel()){var Q=I.c.capture(he._editor);he._editor.changeDecorations(function(C){he._editor.changeViewZones(function(F){he._disposeAllLenses(C,F)})}),Q.restore(he._editor)}else he._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseUp(function(Q){var C;if(Q.target.type!==9)return;var F=Q.target.element;if((F==null?void 0:F.tagName)==="SPAN"&&(F=F.parentElement),(F==null?void 0:F.tagName)==="A")for(var se=0,oe=he._lenses;seXe)continue;ge&&ge[ge.length-1].symbol.range.startLineNumber===ve?ge.push(Ee):(ge=[Ee],me.push(ge))}var Q=I.c.capture(this._editor);this._editor.changeDecorations(function(C){je._editor.changeViewZones(function(F){for(var se=new A,oe=0,be=0;beU)continue;if(p.isEmpty()&&(w.type===0||w.type===3))continue;var c=p.startLineNumber===U?p.startColumn:x,s=p.endLineNumber===U?p.endColumn:u;y[_++]=new z(c,s,w.inlineClassName,w.type)}return y},z.compare=function(O,U){return O.startColumn===U.startColumn?O.endColumn===U.endColumn?O.classNameU.className?1:0:O.endColumn-U.endColumn:O.startColumn-U.startColumn},z}(),J=function(){function z(O,U,x){this.startOffset=O,this.endOffset=U,this.className=x}return z}(),I=function(){function z(){this.stopOffsets=[],this.classNames=[],this.count=0}return z.prototype.consumeLowerThan=function(O,U,x){for(;this.count>0&&this.stopOffsets[0]0&&U=O){this.stopOffsets.splice(x,0,O),this.classNames.splice(x,0,U);break}this.count++;return},z}(),H=function(){function z(){}return z.normalize=function(O,U){if(U.length===0)return[];for(var x=[],u=new I,y=0,_=0,f=U.length;_1){var s=O.charCodeAt(w-2);T.z(s)&&w--}if(p>1){var s=O.charCodeAt(p-2);T.z(s)&&p--}var l=w-1,d=p-2;y=u.consumeLowerThan(l,y,x),u.count===0&&(y=l),u.insert(d,c)}return u.consumeLowerThan(1073741824,y,x),x},z}()},dFcq:function(Lt,j,e){},"dH+W":function(Lt,j,e){"use strict";e.r(j),e.d(j,"DuplicateSelectionAction",function(){return W}),e.d(j,"AbstractSortLinesAction",function(){return Me}),e.d(j,"SortLinesAscendingAction",function(){return Te}),e.d(j,"SortLinesDescendingAction",function(){return Fe}),e.d(j,"TrimTrailingWhitespaceAction",function(){return He}),e.d(j,"DeleteLinesAction",function(){return Pe}),e.d(j,"IndentLinesAction",function(){return ne}),e.d(j,"InsertLineBeforeAction",function(){return ae}),e.d(j,"InsertLineAfterAction",function(){return q}),e.d(j,"AbstractDeleteAllToBoundaryAction",function(){return ue}),e.d(j,"DeleteAllLeftAction",function(){return X}),e.d(j,"DeleteAllRightAction",function(){return he}),e.d(j,"JoinLinesAction",function(){return je}),e.d(j,"TransposeAction",function(){return Xe}),e.d(j,"AbstractCaseAction",function(){return me}),e.d(j,"UpperCaseAction",function(){return ge}),e.d(j,"LowerCaseAction",function(){return we}),e.d(j,"TitleCaseAction",function(){return Re});var T=e("3/fG"),re=e("/kV6"),J=e("1YUG"),I=e("sswD"),H=e("LCkn"),z=e("N0LK"),O=e("0/Sa"),U=e("aokT"),x=function(){function Ee(ve,Q){this._selection=ve,this._cursors=Q,this._selectionId=null}return Ee.prototype.getEditOperations=function(ve,Q){for(var C=u(ve,this._cursors),F=0,se=C.length;F=0;Q--)ve[Q].lineNumber===ve[Q+1].lineNumber&&ve.splice(Q,1);for(var C=[],F=0,se=0,oe=ve.length,be=1,De=Ee.getLineCount();be<=De;be++){var Se=Ee.getLineContent(be),Ve=Se.length+1,Qe=0;if(se=F.startLineNumber+1&&Ct<=F.endLineNumber+1?ve.getLineContent(Ct-1):ve.getLineContent(Ct)};var At=s.a.getGoodIndentForLine(this._autoIndent,Ve,ve.getLanguageIdAtPosition(pt,1),F.startLineNumber+1,Se);if(At!==null){var uo=z.t(ve.getLineContent(F.startLineNumber)),ao=l(At,oe),ft=l(uo,oe);if(ao!==ft){var at=ao-ft;this.getIndentEditsOfMovingBlock(ve,Q,F,oe,De,at)}}}}else Q.addEditOperation(new U.a(F.startLineNumber,1,F.startLineNumber,1),Mt+` +`)}else if(pt=F.startLineNumber-1,Rt=ve.getLineContent(pt),Q.addEditOperation(new U.a(pt,1,pt+1,1),null),Q.addEditOperation(new U.a(F.endLineNumber,ve.getLineMaxColumn(F.endLineNumber),F.endLineNumber,ve.getLineMaxColumn(F.endLineNumber)),` +`+Rt),this.shouldAutoIndent(ve,F)){Ve.getLineContent=function(gt){return gt===pt?ve.getLineContent(F.startLineNumber):ve.getLineContent(gt)};var vt=this.matchEnterRule(ve,Se,oe,F.startLineNumber,F.startLineNumber-2);if(vt!==null)vt!==0&&this.getIndentEditsOfMovingBlock(ve,Q,F,oe,De,vt);else{var tt=s.a.getGoodIndentForLine(this._autoIndent,Ve,ve.getLanguageIdAtPosition(F.startLineNumber,1),pt,Se);if(tt!==null){var ut=z.t(ve.getLineContent(F.startLineNumber)),ao=l(tt,oe),ft=l(ut,oe);if(ao!==ft){var at=ao-ft;this.getIndentEditsOfMovingBlock(ve,Q,F,oe,De,at)}}}}}this._selectionId=Q.trackSelection(F)},Ee.prototype.buildIndentConverter=function(ve,Q,C){return{shiftIndent:function(se){return p.a.shiftIndent(se,se.length+1,ve,Q,C)},unshiftIndent:function(se){return p.a.unshiftIndent(se,se.length+1,ve,Q,C)}}},Ee.prototype.matchEnterRule=function(ve,Q,C,F,se,oe){for(var be=se;be>=1;){var De=void 0;be===se&&oe!==void 0?De=oe:De=ve.getLineContent(be);var Se=z.D(De);if(Se>=0)break;be--}if(be<1||F>ve.getLineCount())return null;var Ve=ve.getLineMaxColumn(be),Qe=s.a.getEnterAction(this._autoIndent,ve,new U.a(be,Ve,be,Ve));if(Qe){var it=Qe.indentation;Qe.indentAction===c.a.None||Qe.indentAction===c.a.Indent?it=Qe.indentation+Qe.appendText:Qe.indentAction===c.a.IndentOutdent?it=Qe.indentation:Qe.indentAction===c.a.Outdent&&(it=Q.unshiftIndent(Qe.indentation)+Qe.appendText);var pt=ve.getLineContent(F);if(this.trimLeft(pt).indexOf(this.trimLeft(it))>=0){var Rt=z.t(ve.getLineContent(F)),Mt=z.t(it),zt=s.a.getIndentMetadata(ve,F);zt!==null&&zt&2&&(Mt=Q.unshiftIndent(Mt));var uo=l(Mt,C),ao=l(Rt,C);return uo-ao}}return null},Ee.prototype.trimLeft=function(ve){return ve.replace(/^\s+/,"")},Ee.prototype.shouldAutoIndent=function(ve,Q){if(this._autoIndent<4)return!1;if(!ve.isCheapToTokenize(Q.startLineNumber))return!1;var C=ve.getLanguageIdAtPosition(Q.startLineNumber,1),F=ve.getLanguageIdAtPosition(Q.endLineNumber,1);return C!==F?!1:!(s.a.getIndentRulesSupport(C)===null)},Ee.prototype.getIndentEditsOfMovingBlock=function(ve,Q,C,F,se,oe){for(var be=C.startLineNumber;be<=C.endLineNumber;be++){var De=ve.getLineContent(be),Se=z.t(De),Ve=l(Se,F),Qe=Ve+oe,it=d(Qe,F,se);it!==Se&&(Q.addEditOperation(new U.a(be,1,be,Se.length+1),it),be===C.endLineNumber&&C.endColumn<=Se.length+1&&it===""&&(this._moveEndLineSelectionShrink=!0))}},Ee.prototype.computeCursorState=function(ve,Q){var C=Q.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(C=C.setEndPosition(C.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&C.startLineNumber=F)return null;for(var se=[],oe=C;oe<=F;oe++)se.push(Ee.getLineContent(oe));var be=se.slice(0);return be.sort(E.getCollator().compare),Q===!0&&(be=be.reverse()),{startLineNumber:C,endLineNumber:F,before:se,after:be}}function A(Ee,ve,Q){var C=L(Ee,ve,Q);return C?O.a.replace(new U.a(C.startLineNumber,1,C.endLineNumber,Ee.getLineMaxColumn(C.endLineNumber)),C.after.join(` +`)):null}var k=function(){var Ee=function(Q,C){return Ee=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,se){F.__proto__=se}||function(F,se){for(var oe in se)se.hasOwnProperty(oe)&&(F[oe]=se[oe])},Ee(Q,C)};return function(ve,Q){Ee(ve,Q);function C(){this.constructor=ve}ve.prototype=Q===null?Object.create(Q):(C.prototype=Q.prototype,new C)}}(),R=function(Ee){k(ve,Ee);function ve(Q,C){var F=Ee.call(this,C)||this;return F.down=Q,F}return ve.prototype.run=function(Q,C){for(var F=[],se=C.getSelections()||[],oe=0,be=se;oe1&&(it-=1,Rt=se.getLineMaxColumn(it)),be.push(O.a.replace(new f.a(it,Rt,pt,Mt),"")),De.push(new f.a(it-oe,Qe.positionColumn,it-oe,Qe.positionColumn)),oe+=Qe.endLineNumber-Qe.startLineNumber+1}C.pushUndoStop(),C.executeEdits(this.id,be,De),C.pushUndoStop()},ve.prototype._getLinesToRemove=function(Q){var C=Q.getSelections().map(function(be){var De=be.endLineNumber;return be.startLineNumber=C[oe].startLineNumber?se.endLineNumber=C[oe].endLineNumber:(F.push(se),se=C[oe]);return F.push(se),F},ve}(I.b),ne=function(Ee){k(ve,Ee);function ve(){return Ee.call(this,{id:"editor.action.indentLines",label:T.a("lines.indent","Indent Line"),alias:"Indent Line",precondition:v.a.writable,kbOpts:{kbExpr:v.a.editorTextFocus,primary:2048|89,weight:100}})||this}return ve.prototype.run=function(Q,C){var F=C._getCursors();if(!F)return;C.pushUndoStop(),C.executeCommands(this.id,y.a.indent(F.context.config,C.getModel(),C.getSelections())),C.pushUndoStop()},ve}(I.b),ee=function(Ee){k(ve,Ee);function ve(){return Ee.call(this,{id:"editor.action.outdentLines",label:T.a("lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:v.a.writable,kbOpts:{kbExpr:v.a.editorTextFocus,primary:2048|87,weight:100}})||this}return ve.prototype.run=function(Q,C){J.CoreEditingCommands.Outdent.runEditorCommand(Q,C,null)},ve}(I.b),ae=function(Ee){k(ve,Ee);function ve(){return Ee.call(this,{id:"editor.action.insertLineBefore",label:T.a("lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:v.a.writable,kbOpts:{kbExpr:v.a.editorTextFocus,primary:2048|1024|3,weight:100}})||this}return ve.prototype.run=function(Q,C){var F=C._getCursors();if(!F)return;C.pushUndoStop(),C.executeCommands(this.id,y.a.lineInsertBefore(F.context.config,C.getModel(),C.getSelections()))},ve}(I.b),q=function(Ee){k(ve,Ee);function ve(){return Ee.call(this,{id:"editor.action.insertLineAfter",label:T.a("lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:v.a.writable,kbOpts:{kbExpr:v.a.editorTextFocus,primary:2048|3,weight:100}})||this}return ve.prototype.run=function(Q,C){var F=C._getCursors();if(!F)return;C.pushUndoStop(),C.executeCommands(this.id,y.a.lineInsertAfter(F.context.config,C.getModel(),C.getSelections()))},ve}(I.b),ue=function(Ee){k(ve,Ee);function ve(){return Ee!==null&&Ee.apply(this,arguments)||this}return ve.prototype.run=function(Q,C){if(!C.hasModel())return;for(var F=C.getSelection(),se=this._getRangesToDelete(C),oe=[],be=0,De=se.length-1;be0){var Se=be.startLineNumber-oe;De=new f.a(Se,be.startColumn,Se,be.startColumn)}else De=new f.a(be.startLineNumber,be.startColumn,be.startLineNumber,be.startColumn);oe+=be.endLineNumber-be.startLineNumber,be.intersectRanges(Q)?F=De:se.push(De)}),F&&se.unshift(F),se},ve.prototype._getRangesToDelete=function(Q){var C=Q.getSelections();if(C===null)return[];var F=C,se=Q.getModel();return se===null?[]:(F.sort(U.a.compareRangesUsingStarts),F=F.map(function(oe){if(oe.isEmpty())if(oe.startColumn===1){var be=Math.max(1,oe.startLineNumber-1),De=oe.startLineNumber===1?1:se.getLineContent(be).length+1;return new U.a(be,De,oe.startLineNumber,1)}else return new U.a(oe.startLineNumber,1,oe.startLineNumber,oe.startColumn);else return new U.a(oe.startLineNumber,1,oe.endLineNumber,oe.endColumn)}),F)},ve}(ue),he=function(Ee){k(ve,Ee);function ve(){return Ee.call(this,{id:"deleteAllRight",label:T.a("lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:v.a.writable,kbOpts:{kbExpr:v.a.textInputFocus,primary:0,mac:{primary:256|41,secondary:[2048|20]},weight:100}})||this}return ve.prototype._getEndCursorState=function(Q,C){for(var F=null,se=[],oe=0,be=C.length,De=0;oeNt.endLineNumber+1?(oe.push(Nt),Et):new f.a(Nt.startLineNumber,Nt.startColumn,Et.endLineNumber,Et.endColumn):Et.startLineNumber>Nt.endLineNumber?(oe.push(Nt),Et):new f.a(Nt.startLineNumber,Nt.startColumn,Et.endLineNumber,Et.endColumn)});oe.push(be);var De=C.getModel();if(De===null)return;for(var Se=[],Ve=[],Qe=se,it=0,pt=0,Rt=oe.length;pt=1){var Ct=!0;At===""&&(Ct=!1),Ct&&(At.charAt(At.length-1)===" "||At.charAt(At.length-1)===" ")&&(Ct=!1,At=At.replace(/[\s\uFEFF\xA0]+$/g," "));var gt=tt.substr(ut-1);At+=(Ct?" ":"")+gt,Ct?ao=gt.length+1:ao=gt.length}else ao=0}var bt=new U.a(zt,uo,so,Pt);if(!bt.isEmpty()){var Gt=void 0;Mt.isEmpty()?(Se.push(O.a.replace(bt,At)),Gt=new f.a(bt.startLineNumber-it,At.length-ao+1,zt-it,At.length-ao+1)):Mt.startLineNumber===Mt.endLineNumber?(Se.push(O.a.replace(bt,At)),Gt=new f.a(Mt.startLineNumber-it,Mt.startColumn,Mt.endLineNumber-it,Mt.endColumn)):(Se.push(O.a.replace(bt,At)),Gt=new f.a(Mt.startLineNumber-it,Mt.startColumn,Mt.startLineNumber-it,At.length-ft)),U.a.intersectRanges(bt,se)!==null?Qe=Gt:Ve.push(Gt)}it+=bt.endLineNumber-bt.startLineNumber}Ve.unshift(Qe),C.pushUndoStop(),C.executeEdits(this.id,Se,Ve),C.pushUndoStop()},ve}(I.b),Xe=function(Ee){k(ve,Ee);function ve(){return Ee.call(this,{id:"editor.action.transpose",label:T.a("editor.transpose","Transpose characters around the cursor"),alias:"Transpose characters around the cursor",precondition:v.a.writable})||this}return ve.prototype.run=function(Q,C){var F=C.getSelections();if(F===null)return;var se=C.getModel();if(se===null)return;for(var oe=[],be=0,De=F.length;be=Qe){if(Ve.lineNumber===se.getLineCount())continue;var it=new U.a(Ve.lineNumber,Math.max(1,Ve.column-1),Ve.lineNumber+1,1),pt=se.getValueInRange(it).split("").reverse().join("");oe.push(new H.a(new f.a(Ve.lineNumber,Math.max(1,Ve.column-1),Ve.lineNumber+1,1),pt))}else{var it=new U.a(Ve.lineNumber,Math.max(1,Ve.column-1),Ve.lineNumber,Ve.column+1),pt=se.getValueInRange(it).split("").reverse().join("");oe.push(new H.b(it,pt,new f.a(Ve.lineNumber,Ve.column+1,Ve.lineNumber,Ve.column+1)))}}C.pushUndoStop(),C.executeCommands(this.id,oe),C.pushUndoStop()},ve}(I.b),me=function(Ee){k(ve,Ee);function ve(){return Ee!==null&&Ee.apply(this,arguments)||this}return ve.prototype.run=function(Q,C){var F=C.getSelections();if(F===null)return;var se=C.getModel();if(se===null)return;for(var oe=C.getOption(96),be=[],De=0,Se=F.length;De=0?(be=!0,oe+=Se):be?(be=!1,oe+=Se.toLocaleUpperCase()):oe+=Se.toLocaleLowerCase()}return oe},ve}(me);Object(I.f)($),Object(I.f)(ie),Object(I.f)(W),Object(I.f)(le),Object(I.f)(Ce),Object(I.f)(Te),Object(I.f)(Fe),Object(I.f)(He),Object(I.f)(Pe),Object(I.f)(ne),Object(I.f)(ee),Object(I.f)(ae),Object(I.f)(q),Object(I.f)(X),Object(I.f)(he),Object(I.f)(je),Object(I.f)(Xe),Object(I.f)(ge),Object(I.f)(we),Object(I.f)(Re)},dgXF:function(Lt,j,e){"use strict";e.r(j),e.d(j,"FoldingController",function(){return F}),e.d(j,"foldBackgroundBackground",function(){return so});var T=e("CjOT"),re=e("3/fG"),J=e("746U"),I=e("N0LK"),H=e("X+cX"),z=e("/kV6"),O=e("pmY6"),U=e("sswD"),x=e("MI8n"),u=65535,y=16777215,_=4278190080,f=function(){function Pt(ft,vt,At){if(ft.length!==vt.length||ft.length>u)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=ft,this._endIndexes=vt,this._collapseStates=new Uint32Array(Math.ceil(ft.length/32)),this._types=At,this._parentsComputed=!1}return Pt.prototype.ensureParentIndices=function(){var ft=this;if(!this._parentsComputed){this._parentsComputed=!0;for(var vt=[],At=function(Gt,Nt){var Et=vt[vt.length-1];return ft.getStartLineNumber(Et)<=Gt&&ft.getEndLineNumber(Et)>=Nt},at=0,tt=this._startIndexes.length;aty||Ct>y)throw new Error("startLineNumber or endLineNumber must not exceed "+y);for(;vt.length>0&&!At(ut,Ct);)vt.pop();var gt=vt.length>0?vt[vt.length-1]:-1;vt.push(at),this._startIndexes[at]=ut+((gt&255)<<24),this._endIndexes[at]=Ct+((gt&65280)<<16)}}},Object.defineProperty(Pt.prototype,"length",{get:function(){return this._startIndexes.length},enumerable:!0,configurable:!0}),Pt.prototype.getStartLineNumber=function(ft){return this._startIndexes[ft]&y},Pt.prototype.getEndLineNumber=function(ft){return this._endIndexes[ft]&y},Pt.prototype.getType=function(ft){return this._types?this._types[ft]:void 0},Pt.prototype.hasTypes=function(){return!!this._types},Pt.prototype.isCollapsed=function(ft){var vt=ft/32|0,At=ft%32;return(this._collapseStates[vt]&1<>>24)+((this._endIndexes[ft]&_)>>>16);return vt===u?-1:vt},Pt.prototype.contains=function(ft,vt){return this.getStartLineNumber(ft)<=vt&&this.getEndLineNumber(ft)>=vt},Pt.prototype.findIndex=function(ft){var vt=0,At=this._startIndexes.length;if(At===0)return-1;for(;vt=0){var At=this.getEndLineNumber(vt);if(At>=ft)return vt;for(vt=this.getParentIndex(vt);vt!==-1;){if(this.contains(vt,ft))return vt;vt=this.getParentIndex(vt)}}return-1},Pt.prototype.toString=function(){for(var ft=[],vt=0;vt=this.endLineNumber},Pt.prototype.containsLine=function(ft){return this.startLineNumber<=ft&&ft<=this.endLineNumber},Pt}(),w=function(){function Pt(ft,vt){this._updateEventEmitter=new x.a,this.onDidChange=this._updateEventEmitter.event,this._textModel=ft,this._decorationProvider=vt,this._regions=new f(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[],this._isInitialized=!1}return Object.defineProperty(Pt.prototype,"regions",{get:function(){return this._regions},enumerable:!0,configurable:!0}),Object.defineProperty(Pt.prototype,"textModel",{get:function(){return this._textModel},enumerable:!0,configurable:!0}),Object.defineProperty(Pt.prototype,"isInitialized",{get:function(){return this._isInitialized},enumerable:!0,configurable:!0}),Pt.prototype.toggleCollapseState=function(ft){var vt=this;if(!ft.length)return;var At={};this._decorationProvider.changeDecorations(function(at){for(var tt=0,ut=ft;tt=Je)ut(bt,Et===Je),bt++;else break}}Gt=gt()}for(;bt0?ft:void 0},Pt.prototype.applyMemento=function(ft){if(!Array.isArray(ft))return;for(var vt=[],At=0,at=ft;At=0;){var ut=this._regions.toRegion(at);(!vt||vt(ut,tt))&&At.push(ut),tt++,at=ut.parentIndex}return At},Pt.prototype.getRegionAtLine=function(ft){if(this._regions){var vt=this._regions.findRange(ft);if(vt>=0)return this._regions.toRegion(vt)}return null},Pt.prototype.getRegionsInside=function(ft,vt){var At=[],at=ft?ft.regionIndex+1:0,tt=ft?ft.endLineNumber:Number.MAX_VALUE;if(vt&&vt.length===2)for(var ut=[],Ct=at,gt=this._regions.length;Ct0&&!bt.containedBy(ut[ut.length-1]);)ut.pop();ut.push(bt),vt(bt,ut.length)&&At.push(bt)}else break}else for(var Ct=at,gt=this._regions.length;Ct1){var Et=Pt.getRegionsInside(Gt,function(Je,$e){return Je.isCollapsed!==Nt&&$e0)for(var tt=0,ut=At;tt1)){var bt=Pt.getRegionsInside(gt,function(Gt,Nt){return Gt.isCollapsed!==ft&&Nt0&&At.push(Ct[0])}Pt.toggleCollapseState(At)}function d(Pt,ft,vt,At){var at=function(Ct,gt){return gt===ft&&Ct.isCollapsed!==vt&&!At.some(function(bt){return Ct.containsLine(bt)})},tt=Pt.getRegionsInside(null,at);Pt.toggleCollapseState(tt)}function m(Pt,ft,vt){for(var At=Pt.textModel,at=Pt.regions,tt=[],ut=at.length-1;ut>=0;ut--)if(vt!==at.isCollapsed(ut)){var Ct=at.getStartLineNumber(ut);ft.test(At.getLineContent(Ct))&&tt.push(at.toRegion(ut))}Pt.toggleCollapseState(tt)}function E(Pt,ft,vt){for(var At=Pt.regions,at=[],tt=At.length-1;tt>=0;tt--)vt!==At.isCollapsed(tt)&&ft===At.getType(tt)&&at.push(At.toRegion(tt));Pt.toggleCollapseState(at)}var L=e("tX9W"),A=function(){function Pt(ft){this.editor=ft,this.autoHideFoldingControls=!0,this.showFoldingHighlights=!0}return Pt.prototype.getDecorationOption=function(ft){return ft?this.showFoldingHighlights?Pt.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:Pt.COLLAPSED_VISUAL_DECORATION:this.autoHideFoldingControls?Pt.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:Pt.EXPANDED_VISUAL_DECORATION},Pt.prototype.deltaDecorations=function(ft,vt){return this.editor.deltaDecorations(ft,vt)},Pt.prototype.changeDecorations=function(ft){return this.editor.changeDecorations(ft)},Pt.COLLAPSED_VISUAL_DECORATION=L.a.register({stickiness:1,afterContentClassName:"inline-folded",linesDecorationsClassName:"codicon codicon-chevron-right"}),Pt.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=L.a.register({stickiness:1,afterContentClassName:"inline-folded",className:"folded-background",isWholeLine:!0,linesDecorationsClassName:"codicon codicon-chevron-right"}),Pt.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=L.a.register({stickiness:1,linesDecorationsClassName:"codicon codicon-chevron-down"}),Pt.EXPANDED_VISUAL_DECORATION=L.a.register({stickiness:1,linesDecorationsClassName:"codicon codicon-chevron-down alwaysShowFoldIcons"}),Pt}(),k=e("wQH0"),R=e("aokT"),$=e("6OMU"),ie=function(){function Pt(ft){var vt=this;this._updateEventEmitter=new x.a,this._foldingModel=ft,this._foldingModelListener=ft.onDidChange(function(At){return vt.updateHiddenRanges()}),this._hiddenRanges=[],ft.regions.length&&this.updateHiddenRanges()}return Object.defineProperty(Pt.prototype,"onDidChange",{get:function(){return this._updateEventEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(Pt.prototype,"hiddenRanges",{get:function(){return this._hiddenRanges},enumerable:!0,configurable:!0}),Pt.prototype.updateHiddenRanges=function(){for(var ft=!1,vt=[],At=0,at=0,tt=Number.MAX_VALUE,ut=-1,Ct=this._foldingModel.regions;At0},Pt.prototype.isHidden=function(ft){return B(this._hiddenRanges,ft)!==null},Pt.prototype.adjustSelections=function(ft){for(var vt=this,At=!1,at=this._foldingModel.textModel,tt=null,ut=function(Je){return(!tt||!W(Je,tt))&&(tt=B(vt._hiddenRanges,Je)),tt?tt.startLineNumber-1:null},Ct=0,gt=ft.length;Ct0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)},Pt}();function W(Pt,ft){return Pt>=ft.startLineNumber&&Pt<=ft.endLineNumber}function B(Pt,ft){var vt=Object($.i)(Pt,function(At){return ft=0&&Pt[vt].endLineNumber>=ft?Pt[vt]:null}var le=e("cMvZ"),Ce=5e3,Me="indent",Te=function(){function Pt(ft){this.editorModel=ft,this.id=Me}return Pt.prototype.dispose=function(){},Pt.prototype.compute=function(ft){var vt=le.a.getFoldingRules(this.editorModel.getLanguageIdentifier().id),At=vt&&!!vt.offSide,at=vt&&vt.markers;return Promise.resolve(He(this.editorModel,At,at))},Pt}(),Fe=function(){function Pt(ft){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=ft}return Pt.prototype.insertFirst=function(ft,vt,At){if(ft>y||vt>y)return;var at=this._length;this._startIndexes[at]=ft,this._endIndexes[at]=vt,this._length++,At<1e3&&(this._indentOccurrences[At]=(this._indentOccurrences[At]||0)+1)},Pt.prototype.toIndentRanges=function(ft){if(this._length<=this._foldingRangesLimit){for(var vt=new Uint32Array(this._length),At=new Uint32Array(this._length),at=this._length-1,tt=0;at>=0;at--,tt++)vt[tt]=this._startIndexes[at],At[tt]=this._endIndexes[at];return new f(vt,At)}else{for(var ut=0,Ct=this._indentOccurrences.length,at=0;atthis._foldingRangesLimit){Ct=at;break}ut+=gt}}for(var bt=ft.getOptions().tabSize,vt=new Uint32Array(this._foldingRangesLimit),At=new Uint32Array(this._foldingRangesLimit),at=this._length-1,tt=0;at>=0;at--){var Gt=this._startIndexes[at],Nt=ft.getLineContent(Gt),Et=L.b.computeIndentLevel(Nt,bt);(Et0;bt--){var Gt=Pt.getLineContent(bt),Nt=L.b.computeIndentLevel(Gt,at),Et=Ct[Ct.length-1];if(Nt===-1){ft&&(Et.endAbove=bt);continue}var Je=void 0;if(ut&&(Je=Gt.match(ut)))if(Je[1]){for(var $e=Ct.length-1;$e>0&&Ct[$e].indent!==-2;)$e--;if($e>0){Ct.length=$e+1,Et=Ct[$e],tt.insertFirst(bt,Et.line,Nt),Et.line=bt,Et.indent=Nt,Et.endAbove=bt;continue}}else{Ct.push({indent:-2,endAbove:bt,line:bt});continue}if(Et.indent>Nt){do Ct.pop(),Et=Ct[Ct.length-1];while(Et.indent>Nt);var ze=Et.endAbove-1;ze-bt>=1&&tt.insertFirst(bt,ze,Nt)}Et.indent===Nt?Et.endAbove=bt:Ct.push({indent:Nt,endAbove:bt,line:bt})}return tt.toIndentRanges(Pt)}var Pe=e("twdY"),ne=e("/cxE"),ee=5e3,ae={},q="syntax",ue=function(){function Pt(ft,vt,At){At===void 0&&(At=ee),this.editorModel=ft,this.providers=vt,this.limit=At,this.id=q}return Pt.prototype.compute=function(ft){var vt=this;return X(this.providers,this.editorModel,ft).then(function(At){if(At){var at=je(At,vt.limit);return at}return null})},Pt.prototype.dispose=function(){},Pt}();function X(Pt,ft,vt){var At=null,at=Pt.map(function(tt,ut){return Promise.resolve(tt.provideFoldingRanges(ft,ae,vt)).then(function(Ct){if(vt.isCancellationRequested)return;if(Array.isArray(Ct)){Array.isArray(At)||(At=[]);for(var gt=ft.getLineCount(),bt=0,Gt=Ct;bt0&&Nt.end>Nt.start&&Nt.end<=gt&&At.push({start:Nt.start,end:Nt.end,rank:ut,kind:Nt.kind})}}},ne.f)});return Promise.all(at).then(function(tt){return At})}var he=function(){function Pt(ft){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=ft}return Pt.prototype.add=function(ft,vt,At,at){if(ft>y||vt>y)return;var tt=this._length;this._startIndexes[tt]=ft,this._endIndexes[tt]=vt,this._nestingLevels[tt]=at,this._types[tt]=At,this._length++,at<30&&(this._nestingLevelCounts[at]=(this._nestingLevelCounts[at]||0)+1)},Pt.prototype.toIndentRanges=function(){if(this._length<=this._foldingRangesLimit){for(var ft=new Uint32Array(this._length),vt=new Uint32Array(this._length),At=0;Atthis._foldingRangesLimit){tt=At;break}at+=ut}}for(var ft=new Uint32Array(this._foldingRangesLimit),vt=new Uint32Array(this._foldingRangesLimit),Ct=[],At=0,gt=0;Atat.start)if(gt.end<=at.end)tt.push(at),at=gt,At.add(gt.start,gt.end,gt.kind&>.kind.value,tt.length);else{if(gt.start>at.end){do at=tt.pop();while(at&>.start>at.end);at&&tt.push(at),at=gt}At.add(gt.start,gt.end,gt.kind&>.kind.value,tt.length)}}return At.toIndentRanges()}var Xe="init",me=function(){function Pt(ft,vt,At,at){if(this.editorModel=ft,this.id=Xe,vt.length){var tt=function(Ct){return{range:{startLineNumber:Ct.startLineNumber,startColumn:0,endLineNumber:Ct.endLineNumber,endColumn:ft.getLineLength(Ct.endLineNumber)},options:{stickiness:1}}};this.decorationIds=ft.deltaDecorations([],vt.map(tt)),this.timeout=setTimeout(At,at)}}return Pt.prototype.dispose=function(){this.decorationIds&&(this.editorModel.deltaDecorations(this.decorationIds,[]),this.decorationIds=void 0),typeof this.timeout=="number"&&(clearTimeout(this.timeout),this.timeout=void 0)},Pt.prototype.compute=function(ft){var vt=[];if(this.decorationIds)for(var At=0,at=this.decorationIds;At=0;Ct--)(ut=Pt[Ct])&&(tt=(at<3?ut(tt):at>3?ut(ft,vt,tt):ut(ft,vt))||tt);return at>3&&tt&&Object.defineProperty(ft,vt,tt),tt},Q=function(Pt,ft){return function(vt,At){ft(vt,At,Pt)}},C=new ge.d("foldingEnabled",!1),F=function(Pt){Ee(ft,Pt);function ft(vt,At){var at=Pt.call(this)||this;at.contextKeyService=At,at.localToDispose=at._register(new O.b),at.editor=vt;var tt=at.editor.getOptions();return at._isEnabled=tt.get(30),at._useFoldingProviders=tt.get(31)!=="indentation",at.foldingModel=null,at.hiddenRangeModel=null,at.rangeProvider=null,at.foldingRegionPromise=null,at.foldingStateMemento=null,at.foldingModelPromise=null,at.updateScheduler=null,at.cursorChangedScheduler=null,at.mouseDownInfo=null,at.foldingDecorationProvider=new A(vt),at.foldingDecorationProvider.autoHideFoldingControls=tt.get(84)==="mouseover",at.foldingDecorationProvider.showFoldingHighlights=tt.get(32),at.foldingEnabled=C.bindTo(at.contextKeyService),at.foldingEnabled.set(at._isEnabled),at._register(at.editor.onDidChangeModel(function(){return at.onModelChanged()})),at._register(at.editor.onDidChangeConfiguration(function(ut){if(ut.hasChanged(30)){var Ct=at.editor.getOptions();at._isEnabled=Ct.get(30),at.foldingEnabled.set(at._isEnabled),at.onModelChanged()}if(ut.hasChanged(84)||ut.hasChanged(32)){var gt=at.editor.getOptions();at.foldingDecorationProvider.autoHideFoldingControls=gt.get(84)==="mouseover",at.foldingDecorationProvider.showFoldingHighlights=gt.get(32),at.onModelContentChanged()}if(ut.hasChanged(31)){var bt=at.editor.getOptions();at._useFoldingProviders=bt.get(31)!=="indentation",at.onFoldingStrategyChanged()}})),at.onModelChanged(),at}return ft.get=function(vt){return vt.getContribution(ft.ID)},ft.prototype.saveViewState=function(){var vt=this.editor.getModel();if(!vt||!this._isEnabled||vt.isTooLargeForTokenization())return{};if(this.foldingModel){var At=this.foldingModel.isInitialized?this.foldingModel.getMemento():this.hiddenRangeModel.getMemento(),at=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:At,lineCount:vt.getLineCount(),provider:at}}return},ft.prototype.restoreViewState=function(vt){var At=this.editor.getModel();if(!At||!this._isEnabled||At.isTooLargeForTokenization()||!this.hiddenRangeModel)return;if(!vt||!vt.collapsedRegions||vt.lineCount!==At.getLineCount())return;(vt.provider===q||vt.provider===Xe)&&(this.foldingStateMemento=vt);var at=vt.collapsedRegions;if(this.hiddenRangeModel.applyMemento(at)){var tt=this.getFoldingModel();tt&&tt.then(function(ut){ut&&ut.applyMemento(at)}).then(void 0,ne.e)}},ft.prototype.onModelChanged=function(){var vt=this;this.localToDispose.clear();var At=this.editor.getModel();if(!this._isEnabled||!At||At.isTooLargeForTokenization())return;this.foldingModel=new w(At,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new ie(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(function(at){return vt.onHiddenRangesChanges(at)})),this.updateScheduler=new H.a(200),this.cursorChangedScheduler=new H.d(function(){return vt.revealCursor()},200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(Pe.o.onDidChange(function(){return vt.onFoldingStrategyChanged()})),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(function(){return vt.onFoldingStrategyChanged()})),this.localToDispose.add(this.editor.onDidChangeModelContent(function(){return vt.onModelContentChanged()})),this.localToDispose.add(this.editor.onDidChangeCursorPosition(function(){return vt.onCursorPositionChanged()})),this.localToDispose.add(this.editor.onMouseDown(function(at){return vt.onEditorMouseDown(at)})),this.localToDispose.add(this.editor.onMouseUp(function(at){return vt.onEditorMouseUp(at)})),this.localToDispose.add({dispose:function(){vt.foldingRegionPromise&&(vt.foldingRegionPromise.cancel(),vt.foldingRegionPromise=null),vt.updateScheduler&&vt.updateScheduler.cancel(),vt.updateScheduler=null,vt.foldingModel=null,vt.foldingModelPromise=null,vt.hiddenRangeModel=null,vt.cursorChangedScheduler=null,vt.foldingStateMemento=null,vt.rangeProvider&&vt.rangeProvider.dispose(),vt.rangeProvider=null}}),this.onModelContentChanged()},ft.prototype.onFoldingStrategyChanged=function(){this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null,this.onModelContentChanged()},ft.prototype.getRangeProvider=function(vt){var At=this;if(this.rangeProvider)return this.rangeProvider;if(this.rangeProvider=new Te(vt),this._useFoldingProviders&&this.foldingModel){var at=Pe.o.ordered(this.foldingModel.textModel);if(at.length===0&&this.foldingStateMemento&&this.foldingStateMemento.collapsedRegions){var tt=this.rangeProvider=new me(vt,this.foldingStateMemento.collapsedRegions,function(){At.foldingStateMemento=null,At.onFoldingStrategyChanged()},3e4);return tt}else at.length>0&&(this.rangeProvider=new ue(vt,at))}return this.foldingStateMemento=null,this.rangeProvider},ft.prototype.getFoldingModel=function(){return this.foldingModelPromise},ft.prototype.onModelContentChanged=function(){var vt=this;this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(function(){var At=vt.foldingModel;if(!At)return null;var at=vt.foldingRegionPromise=Object(H.f)(function(tt){return vt.getRangeProvider(At.textModel).compute(tt)});return at.then(function(tt){if(tt&&at===vt.foldingRegionPromise){var ut=vt.editor.getSelections(),Ct=ut?ut.map(function(gt){return gt.startLineNumber}):[];At.update(tt,Ct)}return At})}).then(void 0,function(At){return Object(ne.e)(At),null}))},ft.prototype.onHiddenRangesChanges=function(vt){if(this.hiddenRangeModel&&vt.length){var At=this.editor.getSelections();At&&(this.hiddenRangeModel.adjustSelections(At)&&this.editor.setSelections(At))}this.editor.setHiddenAreas(vt)},ft.prototype.onCursorPositionChanged=function(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()},ft.prototype.revealCursor=function(){var vt=this,At=this.getFoldingModel();if(!At)return;At.then(function(at){if(at){var tt=vt.editor.getSelections();if(tt&&tt.length>0){for(var ut=[],Ct=function(Et){var Je=Et.selectionStartLineNumber;vt.hiddenRangeModel&&vt.hiddenRangeModel.isHidden(Je)&&ut.push.apply(ut,at.getAllRegionsAtLine(Je,function($e){return $e.isCollapsed&&Je>$e.startLineNumber}))},gt=0,bt=tt;gt=0;Z--)(P=St[Z])&&(M=(_e<3?P(M):_e>3?P(ot,nt,M):P(ot,nt))||M);return _e>3&&M&&Object.defineProperty(ot,nt,M),M},m=function(St,ot){return function(nt,Dt){ot(nt,Dt,St)}},E=function(){function St(){}return St.prototype.select=function(ot,nt,Dt){if(Dt.length===0)return 0;for(var _e=Dt[0].score[0],M=1;Mxe&&ht.type===_e[Ne].completion.kind&&ht.insertText===_e[Ne].completion.insertText&&(xe=ht.touch,Ae=Ne),_e[Ne].completion.preselect&&Z===-1)return Z=Ne}return Ae!==-1?Ae:Z!==-1?Z:0},ot.prototype.toJSON=function(){var nt=[];return this._cache.forEach(function(Dt,_e){nt.push([_e,Dt])}),nt},ot.prototype.fromJSON=function(nt){this._cache.clear();for(var Dt=0,_e=0,M=nt;_e0){this._seq=nt[0][1].touch+1;for(var Dt=0,_e=nt;Dt<_e.length;Dt++){var M=_e[Dt],P=M[0],Z=M[1];Z.type=typeof Z.type=="number"?Z.type:Object(v.E)(Z.type),this._trie.set(P,Z)}}},ot}(E),R=function(St){l(ot,St);function ot(nt,Dt){var _e=St.call(this)||this;_e._storageService=nt,_e._configService=Dt,_e._storagePrefix="suggest/memories";var M=function(){var Z=_e._configService.getValue("editor.suggestSelection"),Ae=_e._configService.getValue("editor.suggest.shareSuggestSelections");_e._update(Z,Ae,!1)};return _e._persistSoon=_e._register(new w.d(function(){return _e._saveState()},500)),_e._register(nt.onWillSaveState(function(P){P.reason===f.c.SHUTDOWN&&_e._saveState()})),_e._register(_e._configService.onDidChangeConfiguration(function(P){(P.affectsConfiguration("editor.suggestSelection")||P.affectsConfiguration("editor.suggest.shareSuggestSelections"))&&M()})),_e._register(_e._storageService.onDidChangeStorage(function(P){P.scope===0&&P.key.indexOf(_e._storagePrefix)===0&&(document.hasFocus()||_e._update(_e._mode,_e._shareMem,!0))})),M(),_e}return ot.prototype._update=function(nt,Dt,_e){if(!_e&&this._mode===nt&&this._shareMem===Dt)return;this._shareMem=Dt,this._mode=nt,this._strategy=nt==="recentlyUsedByPrefix"?new k:nt==="recentlyUsed"?new A:new L;try{var M=Dt?0:1,P=this._storageService.get(this._storagePrefix+"/"+this._mode,M);P&&this._strategy.fromJSON(JSON.parse(P))}catch(Z){}},ot.prototype.memorize=function(nt,Dt,_e){this._strategy.memorize(nt,Dt,_e),this._persistSoon.schedule()},ot.prototype.select=function(nt,Dt,_e){return this._strategy.select(nt,Dt,_e)},ot.prototype._saveState=function(){var nt=JSON.stringify(this._strategy),Dt=this._shareMem?0:1;this._storageService.store(this._storagePrefix+"/"+this._mode,nt,Dt)},ot=d([m(0,f.a),m(1,c.a)],ot),ot}(U.a),$=Object(p.c)("ISuggestMemories");Object(s.b)($,R,!0);var ie=e("3/fG"),W=e("nnTU"),B=e("T8No"),le=e("nrhi"),Ce=e("QVNv"),Me=function(St,ot,nt,Dt){var _e=arguments.length,M=_e<3?ot:Dt===null?Dt=Object.getOwnPropertyDescriptor(ot,nt):Dt,P;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")M=Reflect.decorate(St,ot,nt,Dt);else for(var Z=St.length-1;Z>=0;Z--)(P=St[Z])&&(M=(_e<3?P(M):_e>3?P(ot,nt,M):P(ot,nt))||M);return _e>3&&M&&Object.defineProperty(ot,nt,M),M},Te=function(St,ot){return function(nt,Dt){ot(nt,Dt,St)}},Fe=function(){function St(ot,nt){this._editor=ot,this._index=0,this._ckOtherSuggestions=St.OtherSuggestions.bindTo(nt)}return St.prototype.dispose=function(){this.reset()},St.prototype.reset=function(){this._ckOtherSuggestions.reset(),Object(U.f)(this._listener),this._model=void 0,this._acceptNext=void 0,this._ignore=!1},St.prototype.set=function(ot,nt){var Dt=this,_e=ot.model,M=ot.index;if(_e.items.length===0){this.reset();return}var P=St._moveIndex(!0,_e,M);if(P===M){this.reset();return}this._acceptNext=nt,this._model=_e,this._index=M,this._listener=this._editor.onDidChangeCursorPosition(function(){Dt._ignore||Dt.reset()}),this._ckOtherSuggestions.set(!0)},St._moveIndex=function(ot,nt,Dt){for(var _e=Dt;!(_e=(_e+nt.items.length+(ot?1:-1))%nt.items.length,_e===Dt);)if(!nt.items[_e].completion.additionalTextEdits)break;return _e},St.prototype.next=function(){this._move(!0)},St.prototype.prev=function(){this._move(!1)},St.prototype._move=function(ot){if(!this._model)return;try{this._ignore=!0,this._index=St._moveIndex(ot,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}},St.OtherSuggestions=new B.d("hasOtherSuggestions",!1),St=Me([Te(1,B.c)],St),St}(),Ue=e("MI8n"),Pe=e("gCVg"),ne=e("fpMC"),ee=e("N0LK"),ae=function(){function St(ot,nt){this.leadingLineContent=ot,this.characterCountDelta=nt}return St}(),q=function(){function St(ot,nt,Dt,_e,M,P){this._snippetCompareFn=St._compareCompletionItems,this._items=ot,this._column=nt,this._wordDistance=_e,this._options=M,this._refilterKind=1,this._lineContext=Dt,P==="top"?this._snippetCompareFn=St._compareCompletionItemsSnippetsUp:P==="bottom"&&(this._snippetCompareFn=St._compareCompletionItemsSnippetsDown)}return Object.defineProperty(St.prototype,"lineContext",{get:function(){return this._lineContext},set:function(nt){(this._lineContext.leadingLineContent!==nt.leadingLineContent||this._lineContext.characterCountDelta!==nt.characterCountDelta)&&(this._refilterKind=this._lineContext.characterCountDelta2e3?ne.d:ne.e,xe=0;xe=ht)Ne.score=ne.a.Default;else if(typeof Ne.completion.filterText=="string"){var Ut=Ae(_e,M,xt,Ne.completion.filterText,Ne.filterTextLow,0,!1);if(!Ut)continue;Object(ee.f)(Ne.completion.filterText,Ht)===0?Ne.score=Ut:(Ne.score=Object(ne.b)(_e,M,xt,Ht,Ne.labelLow,0),Ne.score[0]=Ut[0])}else{var Ut=Ae(_e,M,xt,Ht,Ne.labelLow,0,!1);if(!Ut)continue;Ne.score=Ut}}Ne.idx=xe,Ne.distance=this._wordDistance.distance(Ne.position,Ne.completion),Z.push(Ne),this._stats.suggestionCount++;switch(Ne.completion.kind){case 25:this._stats.snippetCount++;break;case 18:this._stats.textCount++;break}}this._filteredItems=Z.sort(this._snippetCompareFn),this._refilterKind=0},St._compareCompletionItems=function(ot,nt){return ot.score[0]>nt.score[0]?-1:ot.score[0]nt.distance?1:ot.idxnt.idx?1:0},St._compareCompletionItemsSnippetsDown=function(ot,nt){if(ot.completion.kind!==nt.completion.kind){if(ot.completion.kind===25)return 1;if(nt.completion.kind===25)return-1}return St._compareCompletionItems(ot,nt)},St._compareCompletionItemsSnippetsUp=function(ot,nt){if(ot.completion.kind!==nt.completion.kind){if(ot.completion.kind===25)return-1;if(nt.completion.kind===25)return 1}return St._compareCompletionItems(ot,nt)},St}(),ue=e("JQT/"),X=e("Z7SF"),he=function(){var St=function(nt,Dt){return St=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,M){_e.__proto__=M}||function(_e,M){for(var P in M)M.hasOwnProperty(P)&&(_e[P]=M[P])},St(nt,Dt)};return function(ot,nt){St(ot,nt);function Dt(){this.constructor=ot}ot.prototype=nt===null?Object.create(nt):(Dt.prototype=nt.prototype,new Dt)}}(),je=function(St,ot,nt,Dt){function _e(M){return M instanceof nt?M:new nt(function(P){P(M)})}return new(nt||(nt=Promise))(function(M,P){function Z(Ne){try{xe(Dt.next(Ne))}catch(dt){P(dt)}}function Ae(Ne){try{xe(Dt.throw(Ne))}catch(dt){P(dt)}}function xe(Ne){Ne.done?M(Ne.value):_e(Ne.value).then(Z,Ae)}xe((Dt=Dt.apply(St,ot||[])).next())})},Xe=function(St,ot){var nt={label:0,sent:function(){if(M[0]&1)throw M[1];return M[1]},trys:[],ops:[]},Dt,_e,M,P;return P={next:Z(0),throw:Z(1),return:Z(2)},typeof Symbol=="function"&&(P[Symbol.iterator]=function(){return this}),P;function Z(xe){return function(Ne){return Ae([xe,Ne])}}function Ae(xe){if(Dt)throw new TypeError("Generator is already executing.");for(;nt;)try{if(Dt=1,_e&&(M=xe[0]&2?_e.return:xe[0]?_e.throw||((M=_e.return)&&M.call(_e),0):_e.next)&&!(M=M.call(_e,xe[1])).done)return M;(_e=0,M)&&(xe=[xe[0]&2,M.value]);switch(xe[0]){case 0:case 1:M=xe;break;case 4:return nt.label++,{value:xe[1],done:!1};case 5:nt.label++,_e=xe[1],xe=[0];continue;case 7:xe=nt.ops.pop(),nt.trys.pop();continue;default:if(!(M=nt.trys,M=M.length>0&&M[M.length-1])&&(xe[0]===6||xe[0]===2)){nt=0;continue}if(xe[0]===3&&(!M||xe[1]>M[0]&&xe[1]=0?xt[Bt]:xt[Math.max(0,~Bt-1)],Ut=M.length,oo=0,Zt=M[0];oo0?xe={triggerKind:2}:xe={triggerKind:0},this._requestToken=new ue.b;var Ne=this._editor.getOption(86),dt=1;switch(Ne){case"top":dt=0;break;case"bottom":dt=2;break}var ht=St._createItemKindFilter(this._editor),xt=me.create(this._editorWorker,this._editor),Bt=Object(Ce.e)(P,this._editor.getPosition(),new Ce.a(dt,ht,Dt),xe,this._requestToken.token);Promise.all([Bt,xt]).then(function(Ht){var Ut=Ht[0],oo=Ht[1];if(Object(U.f)(M._requestToken),M._state===0)return;if(!M._editor.hasModel())return;var Zt=M._editor.getModel();if(Object(re.q)(_e)){var fo=Object(Ce.d)(dt);Ut=Ut.concat(_e).sort(fo)}var yt=new ge(Zt,M._editor.getPosition(),Z,ot.shy);M._completionModel=new q(Ut,M._context.column,{leadingLineContent:yt.leadingLineContent,characterCountDelta:yt.column-M._context.column},oo,M._editor.getOption(89),M._editor.getOption(86));for(var He=0,Oe=Ut;Hethis._context.column&&this._completionModel.incomplete.size>0&&ot.leadingWord.word.length!==0){var nt=this._completionModel.incomplete,Dt=this._completionModel.adopt(nt);this.trigger({auto:this._state===2,shy:!1},!0,nt,Dt)}else{var _e=this._completionModel.lineContext,M=!1;if(this._completionModel.lineContext={leadingLineContent:ot.leadingLineContent,characterCountDelta:ot.column-this._context.column},this._completionModel.items.length===0){if(ge.shouldAutoTrigger(this._editor)&&this._context.leadingWord.endColumn0,M&&ot.leadingWord.word.length===0){this.cancel();return}}this._onDidSuggest.fire({completionModel:this._completionModel,auto:this._context.auto,shy:this._context.shy,isFrozen:M})}},St}(),Re=e("CClx"),Ee=e("nn6Y"),ve=e("k76M"),Q=e("jqj9"),C=e("EffR"),F=e("cqdO"),se=e("GJhM"),oe=e("bexQ"),be=e("XXUj"),De=e("ptcw"),Se=e("t9D7"),Ve=e("MD5Z"),Qe=e("3qCu"),it=e("WBhO"),pt=e("W9cx"),Rt=e("xONI"),Mt=e("tYmi"),zt=e("gslv"),uo=e("MqQJ"),ao;(function(St){St[St.FILE=0]="FILE",St[St.FOLDER=1]="FOLDER",St[St.ROOT_FOLDER=2]="ROOT_FOLDER"})(ao||(ao={}));function so(St,ot,nt,Dt){var _e=Dt===ao.ROOT_FOLDER?["rootfolder-icon"]:Dt===ao.FOLDER?["folder-icon"]:["file-icon"];if(nt){var M;if(nt.scheme===Mt.b.data){var P=zt.a.parseMetaData(nt);M=P.get(zt.a.META_DATA_LABEL)}else M=ft(Object(zt.c)(nt).toLowerCase());if(Dt===ao.FOLDER)_e.push(M+"-name-folder-icon");else{if(M){_e.push(M+"-name-file-icon");for(var Z=M.split("."),Ae=1;Ae=0;Z--)(P=St[Z])&&(M=(_e<3?P(M):_e>3?P(ot,nt,M):P(ot,nt))||M);return _e>3&&M&&Object.defineProperty(ot,nt,M),M},gt=function(St,ot){return function(nt,Dt){ot(nt,Dt,St)}},bt=function(St,ot,nt,Dt){function _e(M){return M instanceof nt?M:new nt(function(P){P(M)})}return new(nt||(nt=Promise))(function(M,P){function Z(Ne){try{xe(Dt.next(Ne))}catch(dt){P(dt)}}function Ae(Ne){try{xe(Dt.throw(Ne))}catch(dt){P(dt)}}function xe(Ne){Ne.done?M(Ne.value):_e(Ne.value).then(Z,Ae)}xe((Dt=Dt.apply(St,ot||[])).next())})},Gt=function(St,ot){var nt={label:0,sent:function(){if(M[0]&1)throw M[1];return M[1]},trys:[],ops:[]},Dt,_e,M,P;return P={next:Z(0),throw:Z(1),return:Z(2)},typeof Symbol=="function"&&(P[Symbol.iterator]=function(){return this}),P;function Z(xe){return function(Ne){return Ae([xe,Ne])}}function Ae(xe){if(Dt)throw new TypeError("Generator is already executing.");for(;nt;)try{if(Dt=1,_e&&(M=xe[0]&2?_e.return:xe[0]?_e.throw||((M=_e.return)&&M.call(_e),0):_e.next)&&!(M=M.call(_e,xe[1])).done)return M;(_e=0,M)&&(xe=[xe[0]&2,M.value]);switch(xe[0]){case 0:case 1:M=xe;break;case 4:return nt.label++,{value:xe[1],done:!1};case 5:nt.label++,_e=xe[1],xe=[0];continue;case 7:xe=nt.ops.pop(),nt.trys.pop();continue;default:if(!(M=nt.trys,M=M.length>0&&M[M.length-1])&&(xe[0]===6||xe[0]===2)){nt=0;continue}if(xe[0]===3&&(!M||xe[1]>M[0]&&xe[1]dt.length?Ne:dt}else P.kind===23&&this._themeService.getIconTheme().hasFolderIcons?(M.icon.className="icon hide",M.iconContainer.className="icon hide",Ae.extraClasses=Object(re.m)([so(this._modelService,this._modeService,At.a.from({scheme:"fake",path:Z}),ao.FOLDER),so(this._modelService,this._modeService,At.a.from({scheme:"fake",path:P.detail}),ao.FOLDER)])):(M.icon.className="icon hide",M.iconContainer.className="",Object(C.g)(M.iconContainer,"suggest-icon codicon codicon-symbol-"+Object(v.F)(P.kind)));P.tags&&P.tags.indexOf(1)>=0&&(Ae.extraClasses=(Ae.extraClasses||[]).concat(["deprecated"]),Ae.matches=[]),M.iconLabel.setLabel(Z,void 0,Ae),typeof P.label=="string"?(M.signatureLabel.textContent="",M.qualifierLabel.textContent="",M.detailsLabel.textContent=(P.detail||"").replace(/\n.*$/m,""),Object(C.P)(M.right,"always-show-details")):(M.signatureLabel.textContent=(P.label.signature||"").replace(/\n.*$/m,""),M.qualifierLabel.textContent=(P.label.qualifier||"").replace(/\n.*$/m,""),M.detailsLabel.textContent=(P.label.type||"").replace(/\n.*$/m,""),Object(C.f)(M.right,"always-show-details")),te(ot)?(Object(C.f)(M.right,"can-expand-details"),Object(C.X)(M.readMore),M.readMore.onmousedown=function(ht){ht.stopPropagation(),ht.preventDefault()},M.readMore.onclick=function(ht){ht.stopPropagation(),ht.preventDefault(),_e.widget.toggleDetails()}):(Object(C.P)(M.right,"can-expand-details"),Object(C.J)(M.readMore),M.readMore.onmousedown=null,M.readMore.onclick=null)},St.prototype.disposeTemplate=function(ot){ot.disposables.dispose()},St=Ct([gt(3,vt.a),gt(4,it.a),gt(5,Se.c)],St),St}(),ke=function(){function St(ot,nt,Dt,_e,M){var P=this;this.widget=nt,this.editor=Dt,this.markdownRenderer=_e,this.kbToggleDetails=M,this.borderWidth=1,this.disposables=new U.b,this.el=Object(C.q)(ot,Object(C.a)(".details")),this.disposables.add(Object(U.h)(function(){return ot.removeChild(P.el)})),this.body=Object(C.a)(".body"),this.scrollbar=new se.a(this.body,{}),Object(C.q)(this.el,this.scrollbar.getDomNode()),this.disposables.add(this.scrollbar),this.header=Object(C.q)(this.body,Object(C.a)(".header")),this.close=Object(C.q)(this.header,Object(C.a)("span.codicon.codicon-close")),this.close.title=ie.a("readLess","Read less...{0}",this.kbToggleDetails),this.type=Object(C.q)(this.header,Object(C.a)("p.type")),this.docs=Object(C.q)(this.body,Object(C.a)("p.docs")),this.configureFont(),Ue.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(function(Z){return Z.hasChanged(34)}).on(this.configureFont,this,this.disposables),_e.onDidRenderCodeBlock(function(){return P.scrollbar.scanDomNode()},this,this.disposables)}return Object.defineProperty(St.prototype,"element",{get:function(){return this.el},enumerable:!0,configurable:!0}),St.prototype.renderLoading=function(){this.type.textContent=ie.a("loading","Loading..."),this.docs.textContent=""},St.prototype.renderItem=function(ot,nt){var Dt=this;this.renderDisposeable=Object(U.f)(this.renderDisposeable);var _e=ot.completion,M=_e.documentation,P=_e.detail;if(nt){var Z="";Z+="score: "+ot.score[0]+(ot.word?", compared '"+(ot.completion.filterText&&ot.completion.filterText+" (filterText)"||ot.completion.label)+"' with '"+ot.word+"'":" (no prefix)")+` +`,this._value+=_,this._value+="\n```\n",this},u}();function I(u){return H(u)?!u.value:Array.isArray(u)?u.every(I):!0}function H(u){return u instanceof J?!0:u&&typeof u=="object"?typeof u.value=="string"&&(typeof u.isTrusted=="boolean"||u.isTrusted===void 0)&&(typeof u.supportThemeIcons=="boolean"||u.supportThemeIcons===void 0):!1}function z(u,y){return!u&&!y?!0:!u||!y?!1:Array.isArray(u)&&Array.isArray(y)?Object(T.g)(u,y,O):H(u)&&H(y)?O(u,y):!1}function O(u,y){return u===y?!0:!u||!y?!1:u.value===y.value&&u.isTrusted===y.isTrusted&&u.supportThemeIcons===y.supportThemeIcons}function U(u){return u&&u.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1")}function x(u){var y=[],_=u.split("|").map(function(d){return d.trim()});u=_[0];var f=_[1];if(f){var v=/height=(\d+)/.exec(f),w=/width=(\d+)/.exec(f),p=v?v[1]:"",c=w?w[1]:"",s=isFinite(parseInt(c)),l=isFinite(parseInt(p));s&&y.push('width="'+c+'"'),l&&y.push('height="'+p+'"')}return{href:u,dimensions:y}}},eizg:function(Lt,j,e){},ep4t:function(Lt,j,e){"use strict";e.r(j),e.d(j,"SuggestController",function(){return rn}),e.d(j,"TriggerSuggestAction",function(){return pn});var T=e("OBOq"),re=e("6OMU"),J=e("/cxE"),I=e("/kV6"),H=e("pmY6"),z=e("sswD"),O=e("0/Sa"),U=e("aokT"),x=e("wQH0"),u=e("tXSY"),y=e("uACm"),_=e("QDVR"),f=e("A+jI"),v=e("twdY"),w=e("X+cX"),p=e("Cg/j"),c=e("+7oY"),s=e("9fML"),l=function(){var St=function(nt,Dt){return St=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,M){_e.__proto__=M}||function(_e,M){for(var P in M)M.hasOwnProperty(P)&&(_e[P]=M[P])},St(nt,Dt)};return function(ot,nt){St(ot,nt);function Dt(){this.constructor=ot}ot.prototype=nt===null?Object.create(nt):(Dt.prototype=nt.prototype,new Dt)}}(),d=function(St,ot,nt,Dt){var _e=arguments.length,M=_e<3?ot:Dt===null?Dt=Object.getOwnPropertyDescriptor(ot,nt):Dt,P;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")M=Reflect.decorate(St,ot,nt,Dt);else for(var Z=St.length-1;Z>=0;Z--)(P=St[Z])&&(M=(_e<3?P(M):_e>3?P(ot,nt,M):P(ot,nt))||M);return _e>3&&M&&Object.defineProperty(ot,nt,M),M},m=function(St,ot){return function(nt,Dt){ot(nt,Dt,St)}},E=function(){function St(){}return St.prototype.select=function(ot,nt,Dt){if(Dt.length===0)return 0;for(var _e=Dt[0].score[0],M=1;Mxe&&ht.type===_e[Ne].completion.kind&&ht.insertText===_e[Ne].completion.insertText&&(xe=ht.touch,Ae=Ne),_e[Ne].completion.preselect&&Z===-1)return Z=Ne}return Ae!==-1?Ae:Z!==-1?Z:0},ot.prototype.toJSON=function(){var nt=[];return this._cache.forEach(function(Dt,_e){nt.push([_e,Dt])}),nt},ot.prototype.fromJSON=function(nt){this._cache.clear();for(var Dt=0,_e=0,M=nt;_e0){this._seq=nt[0][1].touch+1;for(var Dt=0,_e=nt;Dt<_e.length;Dt++){var M=_e[Dt],P=M[0],Z=M[1];Z.type=typeof Z.type=="number"?Z.type:Object(v.E)(Z.type),this._trie.set(P,Z)}}},ot}(E),R=function(St){l(ot,St);function ot(nt,Dt){var _e=St.call(this)||this;_e._storageService=nt,_e._configService=Dt,_e._storagePrefix="suggest/memories";var M=function(){var Z=_e._configService.getValue("editor.suggestSelection"),Ae=_e._configService.getValue("editor.suggest.shareSuggestSelections");_e._update(Z,Ae,!1)};return _e._persistSoon=_e._register(new w.d(function(){return _e._saveState()},500)),_e._register(nt.onWillSaveState(function(P){P.reason===f.c.SHUTDOWN&&_e._saveState()})),_e._register(_e._configService.onDidChangeConfiguration(function(P){(P.affectsConfiguration("editor.suggestSelection")||P.affectsConfiguration("editor.suggest.shareSuggestSelections"))&&M()})),_e._register(_e._storageService.onDidChangeStorage(function(P){P.scope===0&&P.key.indexOf(_e._storagePrefix)===0&&(document.hasFocus()||_e._update(_e._mode,_e._shareMem,!0))})),M(),_e}return ot.prototype._update=function(nt,Dt,_e){if(!_e&&this._mode===nt&&this._shareMem===Dt)return;this._shareMem=Dt,this._mode=nt,this._strategy=nt==="recentlyUsedByPrefix"?new k:nt==="recentlyUsed"?new A:new L;try{var M=Dt?0:1,P=this._storageService.get(this._storagePrefix+"/"+this._mode,M);P&&this._strategy.fromJSON(JSON.parse(P))}catch(Z){}},ot.prototype.memorize=function(nt,Dt,_e){this._strategy.memorize(nt,Dt,_e),this._persistSoon.schedule()},ot.prototype.select=function(nt,Dt,_e){return this._strategy.select(nt,Dt,_e)},ot.prototype._saveState=function(){var nt=JSON.stringify(this._strategy),Dt=this._shareMem?0:1;this._storageService.store(this._storagePrefix+"/"+this._mode,nt,Dt)},ot=d([m(0,f.a),m(1,c.a)],ot),ot}(H.a),$=Object(p.c)("ISuggestMemories");Object(s.b)($,R,!0);var ie=e("3/fG"),W=e("nnTU"),B=e("T8No"),le=e("nrhi"),Ce=e("QVNv"),Me=function(St,ot,nt,Dt){var _e=arguments.length,M=_e<3?ot:Dt===null?Dt=Object.getOwnPropertyDescriptor(ot,nt):Dt,P;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")M=Reflect.decorate(St,ot,nt,Dt);else for(var Z=St.length-1;Z>=0;Z--)(P=St[Z])&&(M=(_e<3?P(M):_e>3?P(ot,nt,M):P(ot,nt))||M);return _e>3&&M&&Object.defineProperty(ot,nt,M),M},Te=function(St,ot){return function(nt,Dt){ot(nt,Dt,St)}},Fe=function(){function St(ot,nt){this._editor=ot,this._index=0,this._ckOtherSuggestions=St.OtherSuggestions.bindTo(nt)}return St.prototype.dispose=function(){this.reset()},St.prototype.reset=function(){this._ckOtherSuggestions.reset(),Object(H.f)(this._listener),this._model=void 0,this._acceptNext=void 0,this._ignore=!1},St.prototype.set=function(ot,nt){var Dt=this,_e=ot.model,M=ot.index;if(_e.items.length===0){this.reset();return}var P=St._moveIndex(!0,_e,M);if(P===M){this.reset();return}this._acceptNext=nt,this._model=_e,this._index=M,this._listener=this._editor.onDidChangeCursorPosition(function(){Dt._ignore||Dt.reset()}),this._ckOtherSuggestions.set(!0)},St._moveIndex=function(ot,nt,Dt){for(var _e=Dt;!(_e=(_e+nt.items.length+(ot?1:-1))%nt.items.length,_e===Dt);)if(!nt.items[_e].completion.additionalTextEdits)break;return _e},St.prototype.next=function(){this._move(!0)},St.prototype.prev=function(){this._move(!1)},St.prototype._move=function(ot){if(!this._model)return;try{this._ignore=!0,this._index=St._moveIndex(ot,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}},St.OtherSuggestions=new B.d("hasOtherSuggestions",!1),St=Me([Te(1,B.c)],St),St}(),He=e("MI8n"),Pe=e("gCVg"),ne=e("fpMC"),ee=e("N0LK"),ae=function(){function St(ot,nt){this.leadingLineContent=ot,this.characterCountDelta=nt}return St}(),q=function(){function St(ot,nt,Dt,_e,M,P){this._snippetCompareFn=St._compareCompletionItems,this._items=ot,this._column=nt,this._wordDistance=_e,this._options=M,this._refilterKind=1,this._lineContext=Dt,P==="top"?this._snippetCompareFn=St._compareCompletionItemsSnippetsUp:P==="bottom"&&(this._snippetCompareFn=St._compareCompletionItemsSnippetsDown)}return Object.defineProperty(St.prototype,"lineContext",{get:function(){return this._lineContext},set:function(nt){(this._lineContext.leadingLineContent!==nt.leadingLineContent||this._lineContext.characterCountDelta!==nt.characterCountDelta)&&(this._refilterKind=this._lineContext.characterCountDelta2e3?ne.d:ne.e,xe=0;xe=ht)Ne.score=ne.a.Default;else if(typeof Ne.completion.filterText=="string"){var Ht=Ae(_e,M,xt,Ne.completion.filterText,Ne.filterTextLow,0,!1);if(!Ht)continue;Object(ee.f)(Ne.completion.filterText,Ut)===0?Ne.score=Ht:(Ne.score=Object(ne.b)(_e,M,xt,Ut,Ne.labelLow,0),Ne.score[0]=Ht[0])}else{var Ht=Ae(_e,M,xt,Ut,Ne.labelLow,0,!1);if(!Ht)continue;Ne.score=Ht}}Ne.idx=xe,Ne.distance=this._wordDistance.distance(Ne.position,Ne.completion),Z.push(Ne),this._stats.suggestionCount++;switch(Ne.completion.kind){case 25:this._stats.snippetCount++;break;case 18:this._stats.textCount++;break}}this._filteredItems=Z.sort(this._snippetCompareFn),this._refilterKind=0},St._compareCompletionItems=function(ot,nt){return ot.score[0]>nt.score[0]?-1:ot.score[0]nt.distance?1:ot.idxnt.idx?1:0},St._compareCompletionItemsSnippetsDown=function(ot,nt){if(ot.completion.kind!==nt.completion.kind){if(ot.completion.kind===25)return 1;if(nt.completion.kind===25)return-1}return St._compareCompletionItems(ot,nt)},St._compareCompletionItemsSnippetsUp=function(ot,nt){if(ot.completion.kind!==nt.completion.kind){if(ot.completion.kind===25)return-1;if(nt.completion.kind===25)return 1}return St._compareCompletionItems(ot,nt)},St}(),ue=e("JQT/"),X=e("Z7SF"),he=function(){var St=function(nt,Dt){return St=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,M){_e.__proto__=M}||function(_e,M){for(var P in M)M.hasOwnProperty(P)&&(_e[P]=M[P])},St(nt,Dt)};return function(ot,nt){St(ot,nt);function Dt(){this.constructor=ot}ot.prototype=nt===null?Object.create(nt):(Dt.prototype=nt.prototype,new Dt)}}(),je=function(St,ot,nt,Dt){function _e(M){return M instanceof nt?M:new nt(function(P){P(M)})}return new(nt||(nt=Promise))(function(M,P){function Z(Ne){try{xe(Dt.next(Ne))}catch(dt){P(dt)}}function Ae(Ne){try{xe(Dt.throw(Ne))}catch(dt){P(dt)}}function xe(Ne){Ne.done?M(Ne.value):_e(Ne.value).then(Z,Ae)}xe((Dt=Dt.apply(St,ot||[])).next())})},Xe=function(St,ot){var nt={label:0,sent:function(){if(M[0]&1)throw M[1];return M[1]},trys:[],ops:[]},Dt,_e,M,P;return P={next:Z(0),throw:Z(1),return:Z(2)},typeof Symbol=="function"&&(P[Symbol.iterator]=function(){return this}),P;function Z(xe){return function(Ne){return Ae([xe,Ne])}}function Ae(xe){if(Dt)throw new TypeError("Generator is already executing.");for(;nt;)try{if(Dt=1,_e&&(M=xe[0]&2?_e.return:xe[0]?_e.throw||((M=_e.return)&&M.call(_e),0):_e.next)&&!(M=M.call(_e,xe[1])).done)return M;(_e=0,M)&&(xe=[xe[0]&2,M.value]);switch(xe[0]){case 0:case 1:M=xe;break;case 4:return nt.label++,{value:xe[1],done:!1};case 5:nt.label++,_e=xe[1],xe=[0];continue;case 7:xe=nt.ops.pop(),nt.trys.pop();continue;default:if(!(M=nt.trys,M=M.length>0&&M[M.length-1])&&(xe[0]===6||xe[0]===2)){nt=0;continue}if(xe[0]===3&&(!M||xe[1]>M[0]&&xe[1]=0?xt[Bt]:xt[Math.max(0,~Bt-1)],Ht=M.length,oo=0,Zt=M[0];oo0?xe={triggerKind:2}:xe={triggerKind:0},this._requestToken=new ue.b;var Ne=this._editor.getOption(86),dt=1;switch(Ne){case"top":dt=0;break;case"bottom":dt=2;break}var ht=St._createItemKindFilter(this._editor),xt=me.create(this._editorWorker,this._editor),Bt=Object(Ce.e)(P,this._editor.getPosition(),new Ce.a(dt,ht,Dt),xe,this._requestToken.token);Promise.all([Bt,xt]).then(function(Ut){var Ht=Ut[0],oo=Ut[1];if(Object(H.f)(M._requestToken),M._state===0)return;if(!M._editor.hasModel())return;var Zt=M._editor.getModel();if(Object(re.q)(_e)){var fo=Object(Ce.d)(dt);Ht=Ht.concat(_e).sort(fo)}var yt=new ge(Zt,M._editor.getPosition(),Z,ot.shy);M._completionModel=new q(Ht,M._context.column,{leadingLineContent:yt.leadingLineContent,characterCountDelta:yt.column-M._context.column},oo,M._editor.getOption(89),M._editor.getOption(86));for(var Ue=0,Oe=Ht;Uethis._context.column&&this._completionModel.incomplete.size>0&&ot.leadingWord.word.length!==0){var nt=this._completionModel.incomplete,Dt=this._completionModel.adopt(nt);this.trigger({auto:this._state===2,shy:!1},!0,nt,Dt)}else{var _e=this._completionModel.lineContext,M=!1;if(this._completionModel.lineContext={leadingLineContent:ot.leadingLineContent,characterCountDelta:ot.column-this._context.column},this._completionModel.items.length===0){if(ge.shouldAutoTrigger(this._editor)&&this._context.leadingWord.endColumn0,M&&ot.leadingWord.word.length===0){this.cancel();return}}this._onDidSuggest.fire({completionModel:this._completionModel,auto:this._context.auto,shy:this._context.shy,isFrozen:M})}},St}(),Re=e("CClx"),Ee=e("nn6Y"),ve=e("k76M"),Q=e("jqj9"),C=e("EffR"),F=e("cqdO"),se=e("GJhM"),oe=e("bexQ"),be=e("XXUj"),De=e("ptcw"),Se=e("t9D7"),Ve=e("MD5Z"),Qe=e("3qCu"),it=e("WBhO"),pt=e("W9cx"),Rt=e("xONI"),Mt=e("tYmi"),zt=e("gslv"),uo=e("MqQJ"),ao;(function(St){St[St.FILE=0]="FILE",St[St.FOLDER=1]="FOLDER",St[St.ROOT_FOLDER=2]="ROOT_FOLDER"})(ao||(ao={}));function so(St,ot,nt,Dt){var _e=Dt===ao.ROOT_FOLDER?["rootfolder-icon"]:Dt===ao.FOLDER?["folder-icon"]:["file-icon"];if(nt){var M;if(nt.scheme===Mt.b.data){var P=zt.a.parseMetaData(nt);M=P.get(zt.a.META_DATA_LABEL)}else M=ft(Object(zt.c)(nt).toLowerCase());if(Dt===ao.FOLDER)_e.push(M+"-name-folder-icon");else{if(M){_e.push(M+"-name-file-icon");for(var Z=M.split("."),Ae=1;Ae=0;Z--)(P=St[Z])&&(M=(_e<3?P(M):_e>3?P(ot,nt,M):P(ot,nt))||M);return _e>3&&M&&Object.defineProperty(ot,nt,M),M},gt=function(St,ot){return function(nt,Dt){ot(nt,Dt,St)}},bt=function(St,ot,nt,Dt){function _e(M){return M instanceof nt?M:new nt(function(P){P(M)})}return new(nt||(nt=Promise))(function(M,P){function Z(Ne){try{xe(Dt.next(Ne))}catch(dt){P(dt)}}function Ae(Ne){try{xe(Dt.throw(Ne))}catch(dt){P(dt)}}function xe(Ne){Ne.done?M(Ne.value):_e(Ne.value).then(Z,Ae)}xe((Dt=Dt.apply(St,ot||[])).next())})},Gt=function(St,ot){var nt={label:0,sent:function(){if(M[0]&1)throw M[1];return M[1]},trys:[],ops:[]},Dt,_e,M,P;return P={next:Z(0),throw:Z(1),return:Z(2)},typeof Symbol=="function"&&(P[Symbol.iterator]=function(){return this}),P;function Z(xe){return function(Ne){return Ae([xe,Ne])}}function Ae(xe){if(Dt)throw new TypeError("Generator is already executing.");for(;nt;)try{if(Dt=1,_e&&(M=xe[0]&2?_e.return:xe[0]?_e.throw||((M=_e.return)&&M.call(_e),0):_e.next)&&!(M=M.call(_e,xe[1])).done)return M;(_e=0,M)&&(xe=[xe[0]&2,M.value]);switch(xe[0]){case 0:case 1:M=xe;break;case 4:return nt.label++,{value:xe[1],done:!1};case 5:nt.label++,_e=xe[1],xe=[0];continue;case 7:xe=nt.ops.pop(),nt.trys.pop();continue;default:if(!(M=nt.trys,M=M.length>0&&M[M.length-1])&&(xe[0]===6||xe[0]===2)){nt=0;continue}if(xe[0]===3&&(!M||xe[1]>M[0]&&xe[1]dt.length?Ne:dt}else P.kind===23&&this._themeService.getIconTheme().hasFolderIcons?(M.icon.className="icon hide",M.iconContainer.className="icon hide",Ae.extraClasses=Object(re.m)([so(this._modelService,this._modeService,At.a.from({scheme:"fake",path:Z}),ao.FOLDER),so(this._modelService,this._modeService,At.a.from({scheme:"fake",path:P.detail}),ao.FOLDER)])):(M.icon.className="icon hide",M.iconContainer.className="",Object(C.g)(M.iconContainer,"suggest-icon codicon codicon-symbol-"+Object(v.F)(P.kind)));P.tags&&P.tags.indexOf(1)>=0&&(Ae.extraClasses=(Ae.extraClasses||[]).concat(["deprecated"]),Ae.matches=[]),M.iconLabel.setLabel(Z,void 0,Ae),typeof P.label=="string"?(M.signatureLabel.textContent="",M.qualifierLabel.textContent="",M.detailsLabel.textContent=(P.detail||"").replace(/\n.*$/m,""),Object(C.P)(M.right,"always-show-details")):(M.signatureLabel.textContent=(P.label.signature||"").replace(/\n.*$/m,""),M.qualifierLabel.textContent=(P.label.qualifier||"").replace(/\n.*$/m,""),M.detailsLabel.textContent=(P.label.type||"").replace(/\n.*$/m,""),Object(C.f)(M.right,"always-show-details")),te(ot)?(Object(C.f)(M.right,"can-expand-details"),Object(C.X)(M.readMore),M.readMore.onmousedown=function(ht){ht.stopPropagation(),ht.preventDefault()},M.readMore.onclick=function(ht){ht.stopPropagation(),ht.preventDefault(),_e.widget.toggleDetails()}):(Object(C.P)(M.right,"can-expand-details"),Object(C.J)(M.readMore),M.readMore.onmousedown=null,M.readMore.onclick=null)},St.prototype.disposeTemplate=function(ot){ot.disposables.dispose()},St=Ct([gt(3,vt.a),gt(4,it.a),gt(5,Se.c)],St),St}(),ke=function(){function St(ot,nt,Dt,_e,M){var P=this;this.widget=nt,this.editor=Dt,this.markdownRenderer=_e,this.kbToggleDetails=M,this.borderWidth=1,this.disposables=new H.b,this.el=Object(C.q)(ot,Object(C.a)(".details")),this.disposables.add(Object(H.h)(function(){return ot.removeChild(P.el)})),this.body=Object(C.a)(".body"),this.scrollbar=new se.a(this.body,{}),Object(C.q)(this.el,this.scrollbar.getDomNode()),this.disposables.add(this.scrollbar),this.header=Object(C.q)(this.body,Object(C.a)(".header")),this.close=Object(C.q)(this.header,Object(C.a)("span.codicon.codicon-close")),this.close.title=ie.a("readLess","Read less...{0}",this.kbToggleDetails),this.type=Object(C.q)(this.header,Object(C.a)("p.type")),this.docs=Object(C.q)(this.body,Object(C.a)("p.docs")),this.configureFont(),He.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(function(Z){return Z.hasChanged(34)}).on(this.configureFont,this,this.disposables),_e.onDidRenderCodeBlock(function(){return P.scrollbar.scanDomNode()},this,this.disposables)}return Object.defineProperty(St.prototype,"element",{get:function(){return this.el},enumerable:!0,configurable:!0}),St.prototype.renderLoading=function(){this.type.textContent=ie.a("loading","Loading..."),this.docs.textContent=""},St.prototype.renderItem=function(ot,nt){var Dt=this;this.renderDisposeable=Object(H.f)(this.renderDisposeable);var _e=ot.completion,M=_e.documentation,P=_e.detail;if(nt){var Z="";Z+="score: "+ot.score[0]+(ot.word?", compared '"+(ot.completion.filterText&&ot.completion.filterText+" (filterText)"||ot.completion.label)+"' with '"+ot.word+"'":" (no prefix)")+` `,Z+="distance: "+ot.distance+`, see localityBonus-setting `,Z+="index: "+ot.idx+", based on "+(ot.completion.sortText&&'sortText: "'+ot.completion.sortText+'"'||"label")+` -`,M=new at.a().appendCodeblock("empty",Z),P="Provider: "+ot.provider._debugDisplayName}if(!nt&&!te(ot)){this.type.textContent="",this.docs.textContent="",Object(C.f)(this.el,"no-docs");return}if(Object(C.P)(this.el,"no-docs"),typeof M=="string")Object(C.P)(this.docs,"markdown-docs"),this.docs.textContent=M;else{Object(C.f)(this.docs,"markdown-docs"),this.docs.innerHTML="";var Ae=this.markdownRenderer.render(M);this.renderDisposeable=Ae,this.docs.appendChild(Ae.element)}P?(this.type.innerText=P,Object(C.X)(this.type)):(this.type.innerText="",Object(C.J)(this.type)),this.el.style.height=this.header.offsetHeight+this.docs.offsetHeight+this.borderWidth*2+"px",this.el.style.userSelect="text",this.el.tabIndex=-1,this.close.onmousedown=function(xe){xe.preventDefault(),xe.stopPropagation()},this.close.onclick=function(xe){xe.preventDefault(),xe.stopPropagation(),Dt.widget.toggleDetails()},this.body.scrollTop=0,this.scrollbar.scanDomNode()},St.prototype.scrollDown=function(ot){ot===void 0&&(ot=8),this.body.scrollTop+=ot},St.prototype.scrollUp=function(ot){ot===void 0&&(ot=8),this.body.scrollTop-=ot},St.prototype.scrollTop=function(){this.body.scrollTop=0},St.prototype.scrollBottom=function(){this.body.scrollTop=this.body.scrollHeight},St.prototype.pageDown=function(){this.scrollDown(80)},St.prototype.pageUp=function(){this.scrollUp(80)},St.prototype.setBorderWidth=function(ot){this.borderWidth=ot},St.prototype.configureFont=function(){var ot=this.editor.getOptions(),nt=ot.get(34),Dt=nt.fontFamily,_e=ot.get(90)||nt.fontSize,M=ot.get(91)||nt.lineHeight,P=nt.fontWeight,Z=_e+"px",Ae=M+"px";this.el.style.fontSize=Z,this.el.style.fontWeight=P,this.el.style.fontFeatureSettings=nt.fontFeatureSettings,this.type.style.fontFamily=Dt,this.close.style.height=Ae,this.close.style.width=Ae},St.prototype.dispose=function(){this.disposables.dispose(),this.renderDisposeable=Object(U.f)(this.renderDisposeable)},St}(),lt=function(){function St(ot,nt,Dt,_e,M,P,Z,Ae,xe){var Ne=this,dt,ht;this.editor=ot,this.telemetryService=nt,this.keybindingService=Dt,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.state=null,this.isAuto=!1,this.loadingTimeout=U.a.None,this.currentSuggestionDetails=null,this.ignoreFocusEvents=!1,this.completionModel=null,this.showTimeout=new w.e,this.toDispose=new U.b,this.onDidSelectEmitter=new Ue.a,this.onDidFocusEmitter=new Ue.a,this.onDidHideEmitter=new Ue.a,this.onDidShowEmitter=new Ue.a,this.onDidSelect=this.onDidSelectEmitter.event,this.onDidFocus=this.onDidFocusEmitter.event,this.onDidHide=this.onDidHideEmitter.event,this.onDidShow=this.onDidShowEmitter.event,this.maxWidgetWidth=660,this.listWidth=330,this.firstFocusInCurrentList=!1,this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.explainMode=!1,this._onDetailsKeydown=new Ue.a,this.onDetailsKeyDown=this._onDetailsKeydown.event;var xt=this.toDispose.add(new Qe.a(ot,Z,Ae)),Bt=(ht=(dt=Dt.lookupKeybinding("toggleSuggestionDetails"))===null||dt===void 0?void 0:dt.getLabel())!==null&&ht!==void 0?ht:"";this.msgDetailsLess=ie.a("detail.less","{0} for less...",Bt),this.msgDetailMore=ie.a("detail.more","{0} for more...",Bt),this.isAuto=!1,this.focusedItem=null,this.storageService=P,this.element=Object(C.a)(".editor-widget.suggest-widget"),this.toDispose.add(Object(C.j)(this.element,"click",function(Zt){Zt.target===Ne.element&&Ne.hideWidget()})),this.messageElement=Object(C.q)(this.element,Object(C.a)(".message")),this.listElement=Object(C.q)(this.element,Object(C.a)(".tree"));var Ht=function(){return Object(C.Y)(Ne.element,"with-status-bar",!Ne.editor.getOption(89).hideStatusBar)};Ht(),this.statusBarElement=Object(C.q)(this.element,Object(C.a)(".suggest-status-bar")),this.statusBarLeftSpan=Object(C.q)(this.statusBarElement,Object(C.a)("span")),this.statusBarRightSpan=Object(C.q)(this.statusBarElement,Object(C.a)("span")),this.setStatusBarLeftText(""),this.setStatusBarRightText(""),this.details=xe.createInstance(ke,this.element,this,this.editor,xt,Bt);var Ut=function(){return Object(C.Y)(Ne.element,"no-icons",!Ne.editor.getOption(89).showIcons)};Ut();var oo=xe.createInstance(de,this,this.editor,Bt);this.list=new F.c("SuggestWidget",this.listElement,this,[oo],{useShadows:!1,openController:{shouldOpen:function(){return!1}},mouseSupport:!1,accessibilityProvider:{getAriaLabel:function(fo){var yt=typeof fo.completion.label=="string"?fo.completion.label:fo.completion.label.name;if(fo.isResolved&&Ne.expandDocsSettingFromStorage()){var He=fo.completion,Oe=He.documentation,rt=He.detail,It=ee.r("{0}{1}",rt||"",Oe?typeof Oe=="string"?Oe:Oe.value:"");return ie.a("ariaCurrenttSuggestionReadDetails","Item {0}, docs: {1}",yt,It)}else return yt}}}),this.toDispose.add(Object(De.b)(this.list,M,{listInactiveFocusBackground:ze,listInactiveFocusOutline:Ve.b})),this.toDispose.add(M.onThemeChange(function(Zt){return Ne.onThemeChange(Zt)})),this.toDispose.add(ot.onDidLayoutChange(function(){return Ne.onEditorLayoutChange()})),this.toDispose.add(this.list.onMouseDown(function(Zt){return Ne.onListMouseDownOrTap(Zt)})),this.toDispose.add(this.list.onTap(function(Zt){return Ne.onListMouseDownOrTap(Zt)})),this.toDispose.add(this.list.onSelectionChange(function(Zt){return Ne.onListSelection(Zt)})),this.toDispose.add(this.list.onFocusChange(function(Zt){return Ne.onListFocus(Zt)})),this.toDispose.add(this.editor.onDidChangeCursorSelection(function(){return Ne.onCursorSelectionChanged()})),this.toDispose.add(this.editor.onDidChangeConfiguration(function(Zt){Zt.hasChanged(89)&&(Ht(),Ut())})),this.suggestWidgetVisible=Ce.b.Visible.bindTo(_e),this.suggestWidgetMultipleSuggestions=Ce.b.MultipleSuggestions.bindTo(_e),this.editor.addContentWidget(this),this.setState(0),this.onThemeChange(M.getTheme()),this.toDispose.add(Object(C.o)(this.details.element,"keydown",function(Zt){Ne._onDetailsKeydown.fire(Zt)})),this.toDispose.add(this.editor.onMouseDown(function(Zt){return Ne.onEditorMouseDown(Zt)}))}return St.prototype.onEditorMouseDown=function(ot){this.details.element.contains(ot.target.element)?this.details.element.focus():this.element.contains(ot.target.element)&&this.editor.focus()},St.prototype.onCursorSelectionChanged=function(){if(this.state===0)return;this.editor.layoutContentWidget(this)},St.prototype.onEditorLayoutChange=function(){(this.state===3||this.state===5)&&this.expandDocsSettingFromStorage()&&this.expandSideOrBelow()},St.prototype.onListMouseDownOrTap=function(ot){if(typeof ot.element=="undefined"||typeof ot.index=="undefined")return;ot.browserEvent.preventDefault(),ot.browserEvent.stopPropagation(),this.select(ot.element,ot.index)},St.prototype.onListSelection=function(ot){if(!ot.elements.length)return;this.select(ot.elements[0],ot.indexes[0])},St.prototype.select=function(ot,nt){var Dt=this.completionModel;if(!Dt)return;this.onDidSelectEmitter.fire({item:ot,index:nt,model:Dt}),this.editor.focus()},St.prototype.onThemeChange=function(ot){var nt=ot.getColor(Et);nt&&(this.listElement.style.backgroundColor=nt.toString(),this.statusBarElement.style.backgroundColor=nt.toString(),this.details.element.style.backgroundColor=nt.toString(),this.messageElement.style.backgroundColor=nt.toString());var Dt=ot.getColor(Je);Dt&&(this.listElement.style.borderColor=Dt.toString(),this.statusBarElement.style.borderColor=Dt.toString(),this.details.element.style.borderColor=Dt.toString(),this.messageElement.style.borderColor=Dt.toString(),this.detailsBorderColor=Dt.toString());var _e=ot.getColor(Ve.V);_e&&(this.detailsFocusBorderColor=_e.toString()),this.details.setBorderWidth(ot.type==="hc"?2:1)},St.prototype.onListFocus=function(ot){var nt=this,Dt,_e;if(this.ignoreFocusEvents)return;if(!ot.elements.length){this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null,this.focusedItem=null),this.editor.setAriaOptions({activeDescendant:void 0});return}if(!this.completionModel)return;var M=ot.elements[0],P=ot.indexes[0];if(this.firstFocusInCurrentList=!this.focusedItem,M!==this.focusedItem){var Z=this.editor.getOption(89).insertMode==="insert",Ae=(Dt=this.keybindingService.lookupKeybinding("acceptSelectedSuggestion"))===null||Dt===void 0?void 0:Dt.getLabel(),xe=(_e=this.keybindingService.lookupKeybinding("acceptAlternativeSelectedSuggestion"))===null||_e===void 0?void 0:_e.getLabel();tt.a.equals(M.editInsertEnd,M.editReplaceEnd)?this.setStatusBarLeftText(ie.a("accept","{0} to accept",Ae)):Z?this.setStatusBarLeftText(ie.a("insert","{0} to insert, {1} to replace",Ae,xe)):this.setStatusBarLeftText(ie.a("replace","{0} to replace, {1} to insert",Ae,xe)),this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.focusedItem=M,this.list.reveal(P),this.currentSuggestionDetails=Object(w.f)(function(Ne){return bt(nt,void 0,void 0,function(){var dt,ht,xt=this;return Gt(this,function(Bt){switch(Bt.label){case 0:return dt=Object(w.g)(function(){return xt.showDetails(!0)},250),Ne.onCancellationRequested(function(){return dt.dispose()}),[4,M.resolve(Ne)];case 1:return ht=Bt.sent(),dt.dispose(),[2,ht]}})})}),this.currentSuggestionDetails.then(function(){if(P>=nt.list.length||M!==nt.list.element(P))return;nt.ignoreFocusEvents=!0,nt.list.splice(P,1,[M]),nt.list.setFocus([P]),nt.ignoreFocusEvents=!1,nt.expandDocsSettingFromStorage()?nt.showDetails(!1):Object(C.P)(nt.element,"docs-side"),te(nt.focusedItem)?nt.expandDocsSettingFromStorage()?nt.setStatusBarRightText(nt.msgDetailsLess):nt.setStatusBarRightText(nt.msgDetailMore):nt.statusBarRightSpan.innerText="",nt.editor.setAriaOptions({activeDescendant:Y(P)})}).catch(J.e)}this.onDidFocusEmitter.fire({item:M,index:P,model:this.completionModel})},St.prototype.setState=function(ot){if(!this.element)return;var nt=this.state!==ot;this.state=ot,Object(C.Y)(this.element,"frozen",ot===4);switch(ot){case 0:Object(C.J)(this.messageElement,this.details.element,this.listElement,this.statusBarElement),this.hide(),this.listHeight=0,nt&&this.list.splice(0,this.list.length),this.focusedItem=null;break;case 1:this.messageElement.textContent=St.LOADING_MESSAGE,Object(C.J)(this.listElement,this.details.element,this.statusBarElement),Object(C.X)(this.messageElement),Object(C.P)(this.element,"docs-side"),this.show(),this.focusedItem=null;break;case 2:this.messageElement.textContent=St.NO_SUGGESTIONS_MESSAGE,Object(C.J)(this.listElement,this.details.element,this.statusBarElement),Object(C.X)(this.messageElement),Object(C.P)(this.element,"docs-side"),this.show(),this.focusedItem=null;break;case 3:Object(C.J)(this.messageElement),Object(C.X)(this.listElement,this.statusBarElement),this.show();break;case 4:Object(C.J)(this.messageElement),Object(C.X)(this.listElement),this.show();break;case 5:Object(C.J)(this.messageElement),Object(C.X)(this.details.element,this.listElement,this.statusBarElement),this.show();break}},St.prototype.showTriggered=function(ot,nt){var Dt=this;if(this.state!==0)return;this.isAuto=!!ot,this.isAuto||(this.loadingTimeout=Object(w.g)(function(){return Dt.setState(1)},nt))},St.prototype.showSuggestions=function(ot,nt,Dt,_e){if(this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.loadingTimeout.dispose(),this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.completionModel!==ot&&(this.completionModel=ot),Dt&&this.state!==2&&this.state!==0){this.setState(4);return}var M=this.completionModel.items.length,P=M===0;if(this.suggestWidgetMultipleSuggestions.set(M>1),P)_e?this.setState(0):this.setState(2),this.completionModel=null;else{if(this.state!==3){var Z=this.completionModel.stats;Z.wasAutomaticallyTriggered=!!_e,this.telemetryService.publicLog("suggestWidget",ut({},Z))}this.focusedItem=null,this.list.splice(0,this.list.length,this.completionModel.items),Dt?this.setState(4):this.setState(3),this.list.reveal(nt,0),this.list.setFocus([nt]),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)}},St.prototype.selectNextPage=function(){switch(this.state){case 0:return!1;case 5:return this.details.pageDown(),!0;case 1:return!this.isAuto;default:return this.list.focusNextPage(),!0}},St.prototype.selectNext=function(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusNext(1,!0),!0}},St.prototype.selectLast=function(){switch(this.state){case 0:return!1;case 5:return this.details.scrollBottom(),!0;case 1:return!this.isAuto;default:return this.list.focusLast(),!0}},St.prototype.selectPreviousPage=function(){switch(this.state){case 0:return!1;case 5:return this.details.pageUp(),!0;case 1:return!this.isAuto;default:return this.list.focusPreviousPage(),!0}},St.prototype.selectPrevious=function(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusPrevious(1,!0),!1}},St.prototype.selectFirst=function(){switch(this.state){case 0:return!1;case 5:return this.details.scrollTop(),!0;case 1:return!this.isAuto;default:return this.list.focusFirst(),!0}},St.prototype.getFocusedItem=function(){return this.state!==0&&this.state!==2&&this.state!==1&&this.completionModel?{item:this.list.getFocusedElements()[0],index:this.list.getFocus()[0],model:this.completionModel}:void 0},St.prototype.toggleDetailsFocus=function(){this.state===5?(this.setState(3),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)):this.state===3&&this.expandDocsSettingFromStorage()&&(this.setState(5),this.detailsFocusBorderColor&&(this.details.element.style.borderColor=this.detailsFocusBorderColor)),this.telemetryService.publicLog2("suggestWidget:toggleDetailsFocus")},St.prototype.toggleDetails=function(){if(!te(this.list.getFocusedElements()[0]))return;if(this.expandDocsSettingFromStorage())this.updateExpandDocsSetting(!1),Object(C.J)(this.details.element),Object(C.P)(this.element,"docs-side"),Object(C.P)(this.element,"docs-below"),this.editor.layoutContentWidget(this),this.setStatusBarRightText(this.msgDetailMore),this.telemetryService.publicLog2("suggestWidget:collapseDetails");else{if(this.state!==3&&this.state!==5&&this.state!==4)return;this.updateExpandDocsSetting(!0),this.showDetails(!1),this.setStatusBarRightText(this.msgDetailsLess),this.telemetryService.publicLog2("suggestWidget:expandDetails")}},St.prototype.showDetails=function(ot){ot||this.expandSideOrBelow(),Object(C.X)(this.details.element),this.details.element.style.maxHeight=this.maxWidgetHeight+"px",ot?this.details.renderLoading():this.details.renderItem(this.list.getFocusedElements()[0],this.explainMode),this.listElement.style.marginTop="0px",this.editor.layoutContentWidget(this),this.adjustDocsPosition(),this.editor.focus()},St.prototype.toggleExplainMode=function(){this.list.getFocusedElements()[0]&&this.expandDocsSettingFromStorage()&&(this.explainMode=!this.explainMode,this.showDetails(!1))},St.prototype.show=function(){var ot=this,nt=this.updateListHeight();nt!==this.listHeight&&(this.editor.layoutContentWidget(this),this.listHeight=nt),this.suggestWidgetVisible.set(!0),this.showTimeout.cancelAndSet(function(){Object(C.f)(ot.element,"visible"),ot.onDidShowEmitter.fire(ot)},100)},St.prototype.hide=function(){this.suggestWidgetVisible.reset(),this.suggestWidgetMultipleSuggestions.reset(),Object(C.P)(this.element,"visible")},St.prototype.hideWidget=function(){this.loadingTimeout.dispose(),this.setState(0),this.onDidHideEmitter.fire(this)},St.prototype.getPosition=function(){if(this.state===0)return null;var ot=[2,1];return this.preferDocPositionTop&&(ot=[1]),{position:this.editor.getPosition(),preference:ot}},St.prototype.getDomNode=function(){return this.element},St.prototype.getId=function(){return St.ID},St.prototype.isFrozen=function(){return this.state===4},St.prototype.updateListHeight=function(){var ot=0;if(this.state===2||this.state===1)ot=this.unfocusedHeight;else{var nt=this.list.contentHeight/this.unfocusedHeight,Dt=this.editor.getOption(89).maxVisibleSuggestions;ot=Math.min(nt,Dt)*this.unfocusedHeight}return this.element.style.lineHeight=this.unfocusedHeight+"px",this.listElement.style.height=ot+"px",this.statusBarElement.style.top=ot+"px",this.list.layout(ot),ot},St.prototype.adjustDocsPosition=function(){if(!this.editor.hasModel())return;var ot=this.editor.getOption(49),nt=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),Dt=Object(C.C)(this.editor.getDomNode()),_e=Dt.left+nt.left,M=Dt.top+nt.top+nt.height,P=Object(C.C)(this.element),Z=P.left,Ae=P.top;if(this.docsPositionPreviousWidgetY&&this.docsPositionPreviousWidgetYAe&&this.details.element.offsetHeight>this.listElement.offsetHeight&&(this.listElement.style.marginTop=this.details.element.offsetHeight-this.listElement.offsetHeight+"px")},St.prototype.expandSideOrBelow=function(){if(!te(this.focusedItem)&&this.firstFocusInCurrentList){Object(C.P)(this.element,"docs-side"),Object(C.P)(this.element,"docs-below");return}var ot=this.element.style.maxWidth.match(/(\d+)px/);!ot||Number(ot[1])=0;Z--)(P=St[Z])&&(M=(_e<3?P(M):_e>3?P(ot,nt,M):P(ot,nt))||M);return _e>3&&M&&Object.defineProperty(ot,nt,M),M},eo=function(St,ot){return function(nt,Dt){ot(nt,Dt,St)}},po=function(St){Tt(ot,St);function ot(nt,Dt){var _e=St.call(this)||this;return _e._editor=nt,_e._enabled=!1,_e._ckAtEnd=ot.AtEnd.bindTo(Dt),_e._register(_e._editor.onDidChangeConfiguration(function(M){return M.hasChanged(94)&&_e._update()})),_e._update(),_e}return ot.prototype.dispose=function(){St.prototype.dispose.call(this),Object(U.f)(this._selectionListener),this._ckAtEnd.reset()},ot.prototype._update=function(){var nt=this,Dt=this._editor.getOption(94)==="on";if(this._enabled===Dt)return;if(this._enabled=Dt,this._enabled){var _e=function(){if(!nt._editor.hasModel()){nt._ckAtEnd.set(!1);return}var P=nt._editor.getModel(),Z=nt._editor.getSelection(),Ae=P.getWordAtPosition(Z.getStartPosition());if(!Ae){nt._ckAtEnd.set(!1);return}nt._ckAtEnd.set(Ae.endColumn===Z.getStartPosition().column)};this._selectionListener=this._editor.onDidChangeCursorSelection(_e),_e()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)},ot.AtEnd=new B.d("atEndOfWord",!1),ot=Jt([eo(1,B.c)],ot),ot}(U.a),co=e("pAvP"),Eo=e("746U"),Oo=e("MXAL"),Ao=function(){function St(ot,nt,Dt){var _e=this;this._disposables=new U.b,this._disposables.add(nt.onDidShow(function(){return _e._onItem(nt.getFocusedItem())})),this._disposables.add(nt.onDidFocus(this._onItem,this)),this._disposables.add(nt.onDidHide(this.reset,this)),this._disposables.add(ot.onWillType(function(M){if(_e._active&&!nt.isFrozen()){var P=M.charCodeAt(M.length-1);_e._active.acceptCharacters.has(P)&&ot.getOption(0)&&Dt(_e._active.item)}}))}return St.prototype._onItem=function(ot){if(!ot||!Object(re.q)(ot.item.completion.commitCharacters)){this.reset();return}if(this._active&&this._active.item.item===ot.item)return;for(var nt=new Oo.b,Dt=0,_e=ot.item.completion.commitCharacters;Dt<_e.length;Dt++){var M=_e[Dt];M.length>0&&nt.add(M.charCodeAt(0))}this._active={acceptCharacters:nt,item:ot}},St.prototype.reset=function(){this._active=void 0},St.prototype.dispose=function(){this._disposables.dispose()},St}(),Zo=e("MNsG"),Co=e("4y0V"),Wo=function(){var St=function(nt,Dt){return St=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,M){_e.__proto__=M}||function(_e,M){for(var P in M)M.hasOwnProperty(P)&&(_e[P]=M[P])},St(nt,Dt)};return function(ot,nt){St(ot,nt);function Dt(){this.constructor=ot}ot.prototype=nt===null?Object.create(nt):(Dt.prototype=nt.prototype,new Dt)}}(),Go=function(){function St(ot){var nt=this;this._controller=ot,this._disposables=new U.b,this._decorations=[],this._disposables.add(ot.model.onDidSuggest(function(Dt){if(!Dt.shy){var _e=nt._controller.widget.getValue(),M=_e.getFocusedItem();M&&nt._highlight(M.item),nt._widgetListener||(nt._widgetListener=_e.onDidFocus(function(P){return nt._highlight(P.item)}))}})),this._disposables.add(ot.model.onDidCancel(function(){nt._reset()}))}return St.prototype.dispose=function(){this._reset(),this._disposables.dispose(),Object(U.f)(this._widgetListener),Object(U.f)(this._shiftKeyListener)},St.prototype._reset=function(){this._decorations=this._controller.editor.deltaDecorations(this._decorations,[]),this._shiftKeyListener&&(this._shiftKeyListener.dispose(),this._shiftKeyListener=void 0)},St.prototype._highlight=function(ot){var nt=this,Dt;this._currentItem=ot;var _e=this._controller.editor.getOption(89),M=[];if(_e.insertHighlight){this._shiftKeyListener||(this._shiftKeyListener=Bo.event(function(){return nt._highlight(nt._currentItem)}));var P=this._controller.getOverwriteInfo(ot,Bo.isPressed),Z=this._controller.editor.getPosition();if(_e.insertMode==="insert"&&P.overwriteAfter>0)M=[{range:new H.a(Z.lineNumber,Z.column,Z.lineNumber,Z.column+P.overwriteAfter),options:{inlineClassName:"suggest-insert-unexpected"}}];else if(_e.insertMode==="replace"&&P.overwriteAfter===0){var Ae=(Dt=this._controller.editor.getModel())===null||Dt===void 0?void 0:Dt.getWordAtPosition(Z);Ae&&Ae.endColumn>Z.column&&(M=[{range:new H.a(Z.lineNumber,Z.column,Z.lineNumber,Ae.endColumn),options:{inlineClassName:"suggest-insert-unexpected"}}])}}this._decorations=this._controller.editor.deltaDecorations(this._decorations,M)},St}(),Bo=new(function(St){Wo(ot,St);function ot(){var nt=St.call(this)||this;return nt._subscriptions=new U.b,nt._isPressed=!1,nt._subscriptions.add(Object(Co.a)(document.body,"keydown")(function(Dt){return nt.isPressed=Dt.shiftKey})),nt._subscriptions.add(Object(Co.a)(document.body,"keyup")(function(){return nt.isPressed=!1})),nt._subscriptions.add(Object(Co.a)(document.body,"mouseleave")(function(){return nt.isPressed=!1})),nt._subscriptions.add(Object(Co.a)(document.body,"blur")(function(){return nt.isPressed=!1})),nt}return Object.defineProperty(ot.prototype,"isPressed",{get:function(){return this._isPressed},set:function(Dt){this._isPressed!==Dt&&(this._isPressed=Dt,this.fire(Dt))},enumerable:!0,configurable:!0}),ot.prototype.dispose=function(){this._subscriptions.dispose(),St.prototype.dispose.call(this)},ot}(Ue.a)),Mo=function(){var St=function(nt,Dt){return St=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,M){_e.__proto__=M}||function(_e,M){for(var P in M)M.hasOwnProperty(P)&&(_e[P]=M[P])},St(nt,Dt)};return function(ot,nt){St(ot,nt);function Dt(){this.constructor=ot}ot.prototype=nt===null?Object.create(nt):(Dt.prototype=nt.prototype,new Dt)}}(),Qo=function(){return Qo=Object.assign||function(St){for(var ot,nt=1,Dt=arguments.length;nt=0;Z--)(P=St[Z])&&(M=(_e<3?P(M):_e>3?P(ot,nt,M):P(ot,nt))||M);return _e>3&&M&&Object.defineProperty(ot,nt,M),M},Vo=function(St,ot){return function(nt,Dt){ot(nt,Dt,St)}},mn=function(){for(var St=0,ot=0,nt=arguments.length;ot=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=z;return}for(var H=0;H=0;R--)(k=l[R])&&(A=(L<3?k(A):L>3?k(d,m,A):k(d,m))||A);return L>3&&A&&Object.defineProperty(d,m,A),A},p=function(l,d){return function(m,E){d(m,E,l)}},c=function(){function l(d,m,E,L,A,k){var R=this;this._contextMenuService=m,this._contextViewService=E,this._contextKeyService=L,this._keybindingService=A,this._menuService=k,this._toDispose=new I.b,this._contextMenuIsBeingShownCount=0,this._editor=d,this._toDispose.add(this._editor.onContextMenu(function($){return R._onContextMenu($)})),this._toDispose.add(this._editor.onMouseWheel(function($){R._contextMenuIsBeingShownCount>0&&R._contextViewService.hideContextView()})),this._toDispose.add(this._editor.onKeyDown(function($){$.keyCode===58&&($.preventDefault(),$.stopPropagation(),R.showContextMenu())}))}return l.get=function(d){return d.getContribution(l.ID)},l.prototype._onContextMenu=function(d){if(!this._editor.hasModel())return;if(!this._editor.getOption(14)){this._editor.focus(),d.target.position&&!this._editor.getSelection().containsPosition(d.target.position)&&this._editor.setPosition(d.target.position);return}if(d.target.type===12)return;if(d.event.preventDefault(),d.target.type!==6&&d.target.type!==7&&d.target.type!==1)return;if(this._editor.focus(),d.target.position){for(var m=!1,E=0,L=this._editor.getSelections();E0&&this._doShowContextMenu(m,d)},l.prototype._getMenuActions=function(d,m){var E=[],L=this._menuService.createMenu(m,this._contextKeyService),A=L.getActions({arg:d.uri});L.dispose();for(var k=0,R=A;k0&&(E.push(new f(Ce.label,Me)),W++)}else E.push(Ce),W++}W&&E.push(new J.d)}return E.length&&E.pop(),E},l.prototype._doShowContextMenu=function(d,m){var E=this;if(m===void 0&&(m=null),!this._editor.hasModel())return;var L=this._editor.getOption(44);if(this._editor.updateOptions({hover:{enabled:!1}}),!m){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();var A=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),k=re.C(this._editor.getDomNode()),R=k.left+A.left,$=k.top+A.top+A.height;m={x:R,y:$}}this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({getAnchor:function(){return m},getActions:function(){return d},getActionViewItem:function(W){var B=E._keybindingFor(W);if(B)return new J.b(W,W,{label:!0,keybinding:B.getLabel(),isMenu:!0});var le=W;return typeof le.getActionViewItem=="function"?le.getActionViewItem():new J.b(W,W,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:function(W){return E._keybindingFor(W)},onHide:function(W){E._contextMenuIsBeingShownCount--,E._editor.focus(),E._editor.updateOptions({hover:L})}})},l.prototype._keybindingFor=function(d){return this._keybindingService.lookupKeybinding(d.id)},l.prototype.dispose=function(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()},l.ID="editor.contrib.contextmenu",l=w([p(1,x.a),p(2,x.b),p(3,H.c),p(4,u.a),p(5,O.a)],l),l}(),s=function(l){v(d,l);function d(){return l.call(this,{id:"editor.action.showContextMenu",label:T.a("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:z.a.textInputFocus,primary:1024|68,weight:100}})||this}return d.prototype.run=function(m,E){var L=c.get(E);L.showContextMenu()},d}(U.b);Object(U.h)(c.ID,c),Object(U.f)(s)},feEw:function(Lt,j,e){"use strict";e.d(j,"a",function(){return A}),e.d(j,"b",function(){return ie});var T=e("qj0h"),re=e("pmY6"),J=e("pg8w"),I=e("EffR"),U=e("MI8n"),z=e("4y0V"),O=e("GJhM"),H=e("nuFA");function x(W,B){for(var le=[],Ce=0,Me=B;Ce=Te.range.end)continue;if(W.end=0;Ue--)(Fe=W[Ue])&&(Te=(Me<3?Fe(Te):Me>3?Fe(B,le,Te):Fe(B,le))||Te);return Me>3&&Te&&Object.defineProperty(B,le,Te),Te},E=function(){for(var W=0,B=0,le=arguments.length;B=this.items.length?(this.rangeMap=new f,this.rangeMap.splice(0,0,ue),this.items=ue,X=[]):(this.rangeMap.splice(B,le,ue),X=(Me=this.items).splice.apply(Me,E([B,le],ue)));for(var he=Ce.length-le,je=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),Xe=u(ae,he),me=H.a.intersect(je,Xe),ne=me.start;ne=-1&&neCe&&(this.scrollTop+=Math.min(14,Math.floor(.3*(le-Ce))))},W.prototype.teardownDragAndDropScrollTopAnimation=function(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},W.prototype.getItemIndexFromEventTarget=function(B){for(var le=B;le instanceof HTMLElement&&le!==this.rowsContainer;){var Ce=le.getAttribute("data-index");if(Ce){var Me=Number(Ce);if(!isNaN(Me))return Me}le=le.parentElement}return},W.prototype.getRenderRange=function(B,le){return{start:this.rangeMap.indexAt(B),end:this.rangeMap.indexAfter(B+le-1)}},W.prototype._rerender=function(B,le){var Ce=this.getRenderRange(B,le),Me,Te;B===this.elementTop(Ce.start)?(Me=Ce.start,Te=0):Ce.end-Ce.start>1&&(Me=Ce.start+1,Te=this.elementTop(Me)-B);for(var Fe=0;;){for(var Ue=this.getRenderRange(B,le),Pe=!1,ne=Ue.start;ne=0;L--)(E=p[L])&&(m=(d<3?E(m):d>3?E(c,s,m):E(c,s))||m);return d>3&&m&&Object.defineProperty(c,s,m),m},H=function(p,c){return function(s,l){c(s,l,p)}},x=function(){for(var p=0,c=0,s=arguments.length;c=0&&(d.splice(E,1),l._onDidChangeMenu.fire(c))}}},p.prototype.getMenuItems=function(c){var s=(this._menuItems.get(c)||[]).slice(0);return c===0&&this._appendImplicitItems(s),s},p.prototype._appendImplicitItems=function(c){for(var s=new Set,l=c.filter(function(k){return u(k)}),d=0,m=l;d0?[{start:0,end:C.length}]:[]:null}function z(Q,C){var F=C.toLowerCase().indexOf(Q.toLowerCase());return F===-1?null:[{start:F,end:F+Q.length}]}function O(Q,C){return H(Q.toLowerCase(),C.toLowerCase(),0,0)}function H(Q,C,F,se){if(F===Q.length)return[];if(se===C.length)return null;if(Q[F]===C[se]){var oe=null;return(oe=H(Q,C,F+1,se+1))?w({start:se,end:se+1},oe):null}return H(Q,C,F,se+1)}function x(Q){return 97<=Q&&Q<=122}function u(Q){return 65<=Q&&Q<=90}function y(Q){return 48<=Q&&Q<=57}function _(Q){return Q===32||Q===9||Q===10||Q===13}var f=new Set;"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".split("").forEach(function(Q){return f.add(Q.charCodeAt(0))});function v(Q){return x(Q)||u(Q)||y(Q)}function w(Q,C){return C.length===0?C=[Q]:Q.end===C[0].start?C[0].start=Q.start:C.unshift(Q),C}function p(Q,C){for(var F=C;F0&&!v(Q.charCodeAt(F-1)))return F}return Q.length}function c(Q,C,F,se){if(F===Q.length)return[];if(se===C.length)return null;if(Q[F]!==C[se].toLowerCase())return null;var oe=null,be=se+1;for(oe=c(Q,C,F+1,se+1);!oe&&(be=p(C,be)).6}function d(Q){var C=Q.upperPercent,F=Q.lowerPercent,se=Q.alphaPercent,oe=Q.numericPercent;return F>.2&&C<.8&&se>.6&&oe<.2}function m(Q){for(var C=0,F=0,se=0,oe=0,be=0;be60)return null;var F=s(C);if(!d(F)){if(!l(F))return null;C=C.toLowerCase()}var se=null,oe=0;for(Q=Q.toLowerCase();oe=0)Ve+=1,Se+=Math.pow(2,pt),Qe=pt+1;else if(Se!==0)break}return[Ve,Se,be]}function ie(Q){if(typeof Q=="undefined")return[];for(var C=Q[1].toString(2),F=Q[2],se=[],oe=F;oe=nt.list.length||M!==nt.list.element(P))return;nt.ignoreFocusEvents=!0,nt.list.splice(P,1,[M]),nt.list.setFocus([P]),nt.ignoreFocusEvents=!1,nt.expandDocsSettingFromStorage()?nt.showDetails(!1):Object(C.P)(nt.element,"docs-side"),te(nt.focusedItem)?nt.expandDocsSettingFromStorage()?nt.setStatusBarRightText(nt.msgDetailsLess):nt.setStatusBarRightText(nt.msgDetailMore):nt.statusBarRightSpan.innerText="",nt.editor.setAriaOptions({activeDescendant:Y(P)})}).catch(J.e)}this.onDidFocusEmitter.fire({item:M,index:P,model:this.completionModel})},St.prototype.setState=function(ot){if(!this.element)return;var nt=this.state!==ot;this.state=ot,Object(C.Y)(this.element,"frozen",ot===4);switch(ot){case 0:Object(C.J)(this.messageElement,this.details.element,this.listElement,this.statusBarElement),this.hide(),this.listHeight=0,nt&&this.list.splice(0,this.list.length),this.focusedItem=null;break;case 1:this.messageElement.textContent=St.LOADING_MESSAGE,Object(C.J)(this.listElement,this.details.element,this.statusBarElement),Object(C.X)(this.messageElement),Object(C.P)(this.element,"docs-side"),this.show(),this.focusedItem=null;break;case 2:this.messageElement.textContent=St.NO_SUGGESTIONS_MESSAGE,Object(C.J)(this.listElement,this.details.element,this.statusBarElement),Object(C.X)(this.messageElement),Object(C.P)(this.element,"docs-side"),this.show(),this.focusedItem=null;break;case 3:Object(C.J)(this.messageElement),Object(C.X)(this.listElement,this.statusBarElement),this.show();break;case 4:Object(C.J)(this.messageElement),Object(C.X)(this.listElement),this.show();break;case 5:Object(C.J)(this.messageElement),Object(C.X)(this.details.element,this.listElement,this.statusBarElement),this.show();break}},St.prototype.showTriggered=function(ot,nt){var Dt=this;if(this.state!==0)return;this.isAuto=!!ot,this.isAuto||(this.loadingTimeout=Object(w.g)(function(){return Dt.setState(1)},nt))},St.prototype.showSuggestions=function(ot,nt,Dt,_e){if(this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.loadingTimeout.dispose(),this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.completionModel!==ot&&(this.completionModel=ot),Dt&&this.state!==2&&this.state!==0){this.setState(4);return}var M=this.completionModel.items.length,P=M===0;if(this.suggestWidgetMultipleSuggestions.set(M>1),P)_e?this.setState(0):this.setState(2),this.completionModel=null;else{if(this.state!==3){var Z=this.completionModel.stats;Z.wasAutomaticallyTriggered=!!_e,this.telemetryService.publicLog("suggestWidget",ut({},Z))}this.focusedItem=null,this.list.splice(0,this.list.length,this.completionModel.items),Dt?this.setState(4):this.setState(3),this.list.reveal(nt,0),this.list.setFocus([nt]),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)}},St.prototype.selectNextPage=function(){switch(this.state){case 0:return!1;case 5:return this.details.pageDown(),!0;case 1:return!this.isAuto;default:return this.list.focusNextPage(),!0}},St.prototype.selectNext=function(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusNext(1,!0),!0}},St.prototype.selectLast=function(){switch(this.state){case 0:return!1;case 5:return this.details.scrollBottom(),!0;case 1:return!this.isAuto;default:return this.list.focusLast(),!0}},St.prototype.selectPreviousPage=function(){switch(this.state){case 0:return!1;case 5:return this.details.pageUp(),!0;case 1:return!this.isAuto;default:return this.list.focusPreviousPage(),!0}},St.prototype.selectPrevious=function(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusPrevious(1,!0),!1}},St.prototype.selectFirst=function(){switch(this.state){case 0:return!1;case 5:return this.details.scrollTop(),!0;case 1:return!this.isAuto;default:return this.list.focusFirst(),!0}},St.prototype.getFocusedItem=function(){return this.state!==0&&this.state!==2&&this.state!==1&&this.completionModel?{item:this.list.getFocusedElements()[0],index:this.list.getFocus()[0],model:this.completionModel}:void 0},St.prototype.toggleDetailsFocus=function(){this.state===5?(this.setState(3),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)):this.state===3&&this.expandDocsSettingFromStorage()&&(this.setState(5),this.detailsFocusBorderColor&&(this.details.element.style.borderColor=this.detailsFocusBorderColor)),this.telemetryService.publicLog2("suggestWidget:toggleDetailsFocus")},St.prototype.toggleDetails=function(){if(!te(this.list.getFocusedElements()[0]))return;if(this.expandDocsSettingFromStorage())this.updateExpandDocsSetting(!1),Object(C.J)(this.details.element),Object(C.P)(this.element,"docs-side"),Object(C.P)(this.element,"docs-below"),this.editor.layoutContentWidget(this),this.setStatusBarRightText(this.msgDetailMore),this.telemetryService.publicLog2("suggestWidget:collapseDetails");else{if(this.state!==3&&this.state!==5&&this.state!==4)return;this.updateExpandDocsSetting(!0),this.showDetails(!1),this.setStatusBarRightText(this.msgDetailsLess),this.telemetryService.publicLog2("suggestWidget:expandDetails")}},St.prototype.showDetails=function(ot){ot||this.expandSideOrBelow(),Object(C.X)(this.details.element),this.details.element.style.maxHeight=this.maxWidgetHeight+"px",ot?this.details.renderLoading():this.details.renderItem(this.list.getFocusedElements()[0],this.explainMode),this.listElement.style.marginTop="0px",this.editor.layoutContentWidget(this),this.adjustDocsPosition(),this.editor.focus()},St.prototype.toggleExplainMode=function(){this.list.getFocusedElements()[0]&&this.expandDocsSettingFromStorage()&&(this.explainMode=!this.explainMode,this.showDetails(!1))},St.prototype.show=function(){var ot=this,nt=this.updateListHeight();nt!==this.listHeight&&(this.editor.layoutContentWidget(this),this.listHeight=nt),this.suggestWidgetVisible.set(!0),this.showTimeout.cancelAndSet(function(){Object(C.f)(ot.element,"visible"),ot.onDidShowEmitter.fire(ot)},100)},St.prototype.hide=function(){this.suggestWidgetVisible.reset(),this.suggestWidgetMultipleSuggestions.reset(),Object(C.P)(this.element,"visible")},St.prototype.hideWidget=function(){this.loadingTimeout.dispose(),this.setState(0),this.onDidHideEmitter.fire(this)},St.prototype.getPosition=function(){if(this.state===0)return null;var ot=[2,1];return this.preferDocPositionTop&&(ot=[1]),{position:this.editor.getPosition(),preference:ot}},St.prototype.getDomNode=function(){return this.element},St.prototype.getId=function(){return St.ID},St.prototype.isFrozen=function(){return this.state===4},St.prototype.updateListHeight=function(){var ot=0;if(this.state===2||this.state===1)ot=this.unfocusedHeight;else{var nt=this.list.contentHeight/this.unfocusedHeight,Dt=this.editor.getOption(89).maxVisibleSuggestions;ot=Math.min(nt,Dt)*this.unfocusedHeight}return this.element.style.lineHeight=this.unfocusedHeight+"px",this.listElement.style.height=ot+"px",this.statusBarElement.style.top=ot+"px",this.list.layout(ot),ot},St.prototype.adjustDocsPosition=function(){if(!this.editor.hasModel())return;var ot=this.editor.getOption(49),nt=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),Dt=Object(C.C)(this.editor.getDomNode()),_e=Dt.left+nt.left,M=Dt.top+nt.top+nt.height,P=Object(C.C)(this.element),Z=P.left,Ae=P.top;if(this.docsPositionPreviousWidgetY&&this.docsPositionPreviousWidgetYAe&&this.details.element.offsetHeight>this.listElement.offsetHeight&&(this.listElement.style.marginTop=this.details.element.offsetHeight-this.listElement.offsetHeight+"px")},St.prototype.expandSideOrBelow=function(){if(!te(this.focusedItem)&&this.firstFocusInCurrentList){Object(C.P)(this.element,"docs-side"),Object(C.P)(this.element,"docs-below");return}var ot=this.element.style.maxWidth.match(/(\d+)px/);!ot||Number(ot[1])=0;Z--)(P=St[Z])&&(M=(_e<3?P(M):_e>3?P(ot,nt,M):P(ot,nt))||M);return _e>3&&M&&Object.defineProperty(ot,nt,M),M},eo=function(St,ot){return function(nt,Dt){ot(nt,Dt,St)}},po=function(St){Tt(ot,St);function ot(nt,Dt){var _e=St.call(this)||this;return _e._editor=nt,_e._enabled=!1,_e._ckAtEnd=ot.AtEnd.bindTo(Dt),_e._register(_e._editor.onDidChangeConfiguration(function(M){return M.hasChanged(94)&&_e._update()})),_e._update(),_e}return ot.prototype.dispose=function(){St.prototype.dispose.call(this),Object(H.f)(this._selectionListener),this._ckAtEnd.reset()},ot.prototype._update=function(){var nt=this,Dt=this._editor.getOption(94)==="on";if(this._enabled===Dt)return;if(this._enabled=Dt,this._enabled){var _e=function(){if(!nt._editor.hasModel()){nt._ckAtEnd.set(!1);return}var P=nt._editor.getModel(),Z=nt._editor.getSelection(),Ae=P.getWordAtPosition(Z.getStartPosition());if(!Ae){nt._ckAtEnd.set(!1);return}nt._ckAtEnd.set(Ae.endColumn===Z.getStartPosition().column)};this._selectionListener=this._editor.onDidChangeCursorSelection(_e),_e()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)},ot.AtEnd=new B.d("atEndOfWord",!1),ot=Jt([eo(1,B.c)],ot),ot}(H.a),co=e("pAvP"),Eo=e("746U"),Oo=e("MXAL"),Ao=function(){function St(ot,nt,Dt){var _e=this;this._disposables=new H.b,this._disposables.add(nt.onDidShow(function(){return _e._onItem(nt.getFocusedItem())})),this._disposables.add(nt.onDidFocus(this._onItem,this)),this._disposables.add(nt.onDidHide(this.reset,this)),this._disposables.add(ot.onWillType(function(M){if(_e._active&&!nt.isFrozen()){var P=M.charCodeAt(M.length-1);_e._active.acceptCharacters.has(P)&&ot.getOption(0)&&Dt(_e._active.item)}}))}return St.prototype._onItem=function(ot){if(!ot||!Object(re.q)(ot.item.completion.commitCharacters)){this.reset();return}if(this._active&&this._active.item.item===ot.item)return;for(var nt=new Oo.b,Dt=0,_e=ot.item.completion.commitCharacters;Dt<_e.length;Dt++){var M=_e[Dt];M.length>0&&nt.add(M.charCodeAt(0))}this._active={acceptCharacters:nt,item:ot}},St.prototype.reset=function(){this._active=void 0},St.prototype.dispose=function(){this._disposables.dispose()},St}(),Zo=e("MNsG"),Co=e("4y0V"),Wo=function(){var St=function(nt,Dt){return St=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,M){_e.__proto__=M}||function(_e,M){for(var P in M)M.hasOwnProperty(P)&&(_e[P]=M[P])},St(nt,Dt)};return function(ot,nt){St(ot,nt);function Dt(){this.constructor=ot}ot.prototype=nt===null?Object.create(nt):(Dt.prototype=nt.prototype,new Dt)}}(),Go=function(){function St(ot){var nt=this;this._controller=ot,this._disposables=new H.b,this._decorations=[],this._disposables.add(ot.model.onDidSuggest(function(Dt){if(!Dt.shy){var _e=nt._controller.widget.getValue(),M=_e.getFocusedItem();M&&nt._highlight(M.item),nt._widgetListener||(nt._widgetListener=_e.onDidFocus(function(P){return nt._highlight(P.item)}))}})),this._disposables.add(ot.model.onDidCancel(function(){nt._reset()}))}return St.prototype.dispose=function(){this._reset(),this._disposables.dispose(),Object(H.f)(this._widgetListener),Object(H.f)(this._shiftKeyListener)},St.prototype._reset=function(){this._decorations=this._controller.editor.deltaDecorations(this._decorations,[]),this._shiftKeyListener&&(this._shiftKeyListener.dispose(),this._shiftKeyListener=void 0)},St.prototype._highlight=function(ot){var nt=this,Dt;this._currentItem=ot;var _e=this._controller.editor.getOption(89),M=[];if(_e.insertHighlight){this._shiftKeyListener||(this._shiftKeyListener=Bo.event(function(){return nt._highlight(nt._currentItem)}));var P=this._controller.getOverwriteInfo(ot,Bo.isPressed),Z=this._controller.editor.getPosition();if(_e.insertMode==="insert"&&P.overwriteAfter>0)M=[{range:new U.a(Z.lineNumber,Z.column,Z.lineNumber,Z.column+P.overwriteAfter),options:{inlineClassName:"suggest-insert-unexpected"}}];else if(_e.insertMode==="replace"&&P.overwriteAfter===0){var Ae=(Dt=this._controller.editor.getModel())===null||Dt===void 0?void 0:Dt.getWordAtPosition(Z);Ae&&Ae.endColumn>Z.column&&(M=[{range:new U.a(Z.lineNumber,Z.column,Z.lineNumber,Ae.endColumn),options:{inlineClassName:"suggest-insert-unexpected"}}])}}this._decorations=this._controller.editor.deltaDecorations(this._decorations,M)},St}(),Bo=new(function(St){Wo(ot,St);function ot(){var nt=St.call(this)||this;return nt._subscriptions=new H.b,nt._isPressed=!1,nt._subscriptions.add(Object(Co.a)(document.body,"keydown")(function(Dt){return nt.isPressed=Dt.shiftKey})),nt._subscriptions.add(Object(Co.a)(document.body,"keyup")(function(){return nt.isPressed=!1})),nt._subscriptions.add(Object(Co.a)(document.body,"mouseleave")(function(){return nt.isPressed=!1})),nt._subscriptions.add(Object(Co.a)(document.body,"blur")(function(){return nt.isPressed=!1})),nt}return Object.defineProperty(ot.prototype,"isPressed",{get:function(){return this._isPressed},set:function(Dt){this._isPressed!==Dt&&(this._isPressed=Dt,this.fire(Dt))},enumerable:!0,configurable:!0}),ot.prototype.dispose=function(){this._subscriptions.dispose(),St.prototype.dispose.call(this)},ot}(He.a)),Mo=function(){var St=function(nt,Dt){return St=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,M){_e.__proto__=M}||function(_e,M){for(var P in M)M.hasOwnProperty(P)&&(_e[P]=M[P])},St(nt,Dt)};return function(ot,nt){St(ot,nt);function Dt(){this.constructor=ot}ot.prototype=nt===null?Object.create(nt):(Dt.prototype=nt.prototype,new Dt)}}(),Qo=function(){return Qo=Object.assign||function(St){for(var ot,nt=1,Dt=arguments.length;nt=0;Z--)(P=St[Z])&&(M=(_e<3?P(M):_e>3?P(ot,nt,M):P(ot,nt))||M);return _e>3&&M&&Object.defineProperty(ot,nt,M),M},Vo=function(St,ot){return function(nt,Dt){ot(nt,Dt,St)}},mn=function(){for(var St=0,ot=0,nt=arguments.length;ot=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=z;return}for(var U=0;U=0;R--)(k=l[R])&&(A=(L<3?k(A):L>3?k(d,m,A):k(d,m))||A);return L>3&&A&&Object.defineProperty(d,m,A),A},p=function(l,d){return function(m,E){d(m,E,l)}},c=function(){function l(d,m,E,L,A,k){var R=this;this._contextMenuService=m,this._contextViewService=E,this._contextKeyService=L,this._keybindingService=A,this._menuService=k,this._toDispose=new I.b,this._contextMenuIsBeingShownCount=0,this._editor=d,this._toDispose.add(this._editor.onContextMenu(function($){return R._onContextMenu($)})),this._toDispose.add(this._editor.onMouseWheel(function($){R._contextMenuIsBeingShownCount>0&&R._contextViewService.hideContextView()})),this._toDispose.add(this._editor.onKeyDown(function($){$.keyCode===58&&($.preventDefault(),$.stopPropagation(),R.showContextMenu())}))}return l.get=function(d){return d.getContribution(l.ID)},l.prototype._onContextMenu=function(d){if(!this._editor.hasModel())return;if(!this._editor.getOption(14)){this._editor.focus(),d.target.position&&!this._editor.getSelection().containsPosition(d.target.position)&&this._editor.setPosition(d.target.position);return}if(d.target.type===12)return;if(d.event.preventDefault(),d.target.type!==6&&d.target.type!==7&&d.target.type!==1)return;if(this._editor.focus(),d.target.position){for(var m=!1,E=0,L=this._editor.getSelections();E0&&this._doShowContextMenu(m,d)},l.prototype._getMenuActions=function(d,m){var E=[],L=this._menuService.createMenu(m,this._contextKeyService),A=L.getActions({arg:d.uri});L.dispose();for(var k=0,R=A;k0&&(E.push(new f(Ce.label,Me)),W++)}else E.push(Ce),W++}W&&E.push(new J.d)}return E.length&&E.pop(),E},l.prototype._doShowContextMenu=function(d,m){var E=this;if(m===void 0&&(m=null),!this._editor.hasModel())return;var L=this._editor.getOption(44);if(this._editor.updateOptions({hover:{enabled:!1}}),!m){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();var A=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),k=re.C(this._editor.getDomNode()),R=k.left+A.left,$=k.top+A.top+A.height;m={x:R,y:$}}this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({getAnchor:function(){return m},getActions:function(){return d},getActionViewItem:function(W){var B=E._keybindingFor(W);if(B)return new J.b(W,W,{label:!0,keybinding:B.getLabel(),isMenu:!0});var le=W;return typeof le.getActionViewItem=="function"?le.getActionViewItem():new J.b(W,W,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:function(W){return E._keybindingFor(W)},onHide:function(W){E._contextMenuIsBeingShownCount--,E._editor.focus(),E._editor.updateOptions({hover:L})}})},l.prototype._keybindingFor=function(d){return this._keybindingService.lookupKeybinding(d.id)},l.prototype.dispose=function(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()},l.ID="editor.contrib.contextmenu",l=w([p(1,x.a),p(2,x.b),p(3,U.c),p(4,u.a),p(5,O.a)],l),l}(),s=function(l){v(d,l);function d(){return l.call(this,{id:"editor.action.showContextMenu",label:T.a("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:z.a.textInputFocus,primary:1024|68,weight:100}})||this}return d.prototype.run=function(m,E){var L=c.get(E);L.showContextMenu()},d}(H.b);Object(H.h)(c.ID,c),Object(H.f)(s)},feEw:function(Lt,j,e){"use strict";e.d(j,"a",function(){return A}),e.d(j,"b",function(){return ie});var T=e("qj0h"),re=e("pmY6"),J=e("pg8w"),I=e("EffR"),H=e("MI8n"),z=e("4y0V"),O=e("GJhM"),U=e("nuFA");function x(W,B){for(var le=[],Ce=0,Me=B;Ce=Te.range.end)continue;if(W.end=0;He--)(Fe=W[He])&&(Te=(Me<3?Fe(Te):Me>3?Fe(B,le,Te):Fe(B,le))||Te);return Me>3&&Te&&Object.defineProperty(B,le,Te),Te},E=function(){for(var W=0,B=0,le=arguments.length;B=this.items.length?(this.rangeMap=new f,this.rangeMap.splice(0,0,ue),this.items=ue,X=[]):(this.rangeMap.splice(B,le,ue),X=(Me=this.items).splice.apply(Me,E([B,le],ue)));for(var he=Ce.length-le,je=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),Xe=u(ae,he),me=U.a.intersect(je,Xe),ne=me.start;ne=-1&&neCe&&(this.scrollTop+=Math.min(14,Math.floor(.3*(le-Ce))))},W.prototype.teardownDragAndDropScrollTopAnimation=function(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},W.prototype.getItemIndexFromEventTarget=function(B){for(var le=B;le instanceof HTMLElement&&le!==this.rowsContainer;){var Ce=le.getAttribute("data-index");if(Ce){var Me=Number(Ce);if(!isNaN(Me))return Me}le=le.parentElement}return},W.prototype.getRenderRange=function(B,le){return{start:this.rangeMap.indexAt(B),end:this.rangeMap.indexAfter(B+le-1)}},W.prototype._rerender=function(B,le){var Ce=this.getRenderRange(B,le),Me,Te;B===this.elementTop(Ce.start)?(Me=Ce.start,Te=0):Ce.end-Ce.start>1&&(Me=Ce.start+1,Te=this.elementTop(Me)-B);for(var Fe=0;;){for(var He=this.getRenderRange(B,le),Pe=!1,ne=He.start;ne=0;L--)(E=p[L])&&(m=(d<3?E(m):d>3?E(c,s,m):E(c,s))||m);return d>3&&m&&Object.defineProperty(c,s,m),m},U=function(p,c){return function(s,l){c(s,l,p)}},x=function(){for(var p=0,c=0,s=arguments.length;c=0&&(d.splice(E,1),l._onDidChangeMenu.fire(c))}}},p.prototype.getMenuItems=function(c){var s=(this._menuItems.get(c)||[]).slice(0);return c===0&&this._appendImplicitItems(s),s},p.prototype._appendImplicitItems=function(c){for(var s=new Set,l=c.filter(function(k){return u(k)}),d=0,m=l;d0?[{start:0,end:C.length}]:[]:null}function z(Q,C){var F=C.toLowerCase().indexOf(Q.toLowerCase());return F===-1?null:[{start:F,end:F+Q.length}]}function O(Q,C){return U(Q.toLowerCase(),C.toLowerCase(),0,0)}function U(Q,C,F,se){if(F===Q.length)return[];if(se===C.length)return null;if(Q[F]===C[se]){var oe=null;return(oe=U(Q,C,F+1,se+1))?w({start:se,end:se+1},oe):null}return U(Q,C,F,se+1)}function x(Q){return 97<=Q&&Q<=122}function u(Q){return 65<=Q&&Q<=90}function y(Q){return 48<=Q&&Q<=57}function _(Q){return Q===32||Q===9||Q===10||Q===13}var f=new Set;"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".split("").forEach(function(Q){return f.add(Q.charCodeAt(0))});function v(Q){return x(Q)||u(Q)||y(Q)}function w(Q,C){return C.length===0?C=[Q]:Q.end===C[0].start?C[0].start=Q.start:C.unshift(Q),C}function p(Q,C){for(var F=C;F0&&!v(Q.charCodeAt(F-1)))return F}return Q.length}function c(Q,C,F,se){if(F===Q.length)return[];if(se===C.length)return null;if(Q[F]!==C[se].toLowerCase())return null;var oe=null,be=se+1;for(oe=c(Q,C,F+1,se+1);!oe&&(be=p(C,be)).6}function d(Q){var C=Q.upperPercent,F=Q.lowerPercent,se=Q.alphaPercent,oe=Q.numericPercent;return F>.2&&C<.8&&se>.6&&oe<.2}function m(Q){for(var C=0,F=0,se=0,oe=0,be=0;be60)return null;var F=s(C);if(!d(F)){if(!l(F))return null;C=C.toLowerCase()}var se=null,oe=0;for(Q=Q.toLowerCase();oe=0)Ve+=1,Se+=Math.pow(2,pt),Qe=pt+1;else if(Se!==0)break}return[Ve,Se,be]}function ie(Q){if(typeof Q=="undefined")return[];for(var C=Q[1].toString(2),F=Q[2],se=[],oe=F;oe=Q.length)return!1;var F=Q.charCodeAt(C);switch(F){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:return!0;default:return!1}}function ne(Q,C){if(C<0||C>=Q.length)return!1;var F=Q.charCodeAt(C);switch(F){case 32:case 9:return!0;default:return!1}}function ee(Q,C,F){return C[Q]!==F[Q]}function ae(Q,C,F,se,oe,be){for(;CW?W:Q.length,Ve=se.length>W?W:se.length;if(F>=Se||be>=Ve||Se-F>Ve-be)return;if(!ae(C,F,Se,oe,be,Ve))return;var Qe=1,it=1,pt=F,Rt=be;for(Qe=1,pt=F;pt1?1:Mt),uo=le[Qe-1][it]+-1,ao=le[Qe][it-1]+-1;ao>=uo?ao>zt?(le[Qe][it]=ao,Me[Qe][it]=4):ao===zt?(le[Qe][it]=ao,Me[Qe][it]=4|2):(le[Qe][it]=zt,Me[Qe][it]=2):uo>zt?(le[Qe][it]=uo,Me[Qe][it]=1):uo===zt?(le[Qe][it]=uo,Me[Qe][it]=1|2):(le[Qe][it]=zt,Me[Qe][it]=2)}return Te&&Ue(Q,F,se,be),he=0,Xe=-100,me=be,ge=De,we(Qe-1,it-1,Se===Ve?1:0,0,!1),he===0?void 0:[Xe,je,be]}function X(Q,C,F,se,oe,be,De){return C[F]!==be[De]?-1:De===F-se||ee(De,oe,be)&&(De===0||!ee(De-1,oe,be))?Q[F]===oe[De]?7:5:Pe(be,De)&&(De===0||!Pe(be,De-1))||(Pe(be,De-1)||ne(be,De-1))?5:1}var he=0,je=0,Xe=0,me=0,ge=!1;function we(Q,C,F,se,oe){if(he>=10||F<-25)return;for(var be=0;Q>0&&C>0;){var De=Ce[Q][C],Se=Me[Q][C];if(Se===4)C-=1,oe?F-=5:se!==0&&(F-=1),oe=!1,be=0;else if(Se&2)if(Se&4&&we(Q,C-1,se!==0?F-1:F,se,oe),F+=De,Q-=1,C-=1,oe=!0,se+=Math.pow(2,C+me),De===1){if(be+=1,Q===0&&!ge)return}else F+=1+be*(De-1),be=0;else return}F-=C>=3?9:C*3,he+=1,F>Xe&&(Xe=F,je=se)}function Re(Q,C,F,se,oe,be,De){return Ee(Q,C,F,se,oe,be,!0,De)}function Ee(Q,C,F,se,oe,be,De,Se){var Ve=ue(Q,C,F,se,oe,be,Se);if(Ve&&!De)return Ve;if(Q.length>=3)for(var Qe=Math.min(7,Q.length-1),it=F+1;itVe[0])&&(Ve=Rt))}}return Ve}function ve(Q,C){if(C+1>=Q.length)return;var F=Q[C],se=Q[C+1];return F===se?void 0:Q.slice(0,C)+se+F+Q.slice(C+2)}},gCVg:function(Lt,j,e){"use strict";e.d(j,"a",function(){return I});var T=e("cGHE"),re=e("aokT"),J=function(){var U=function(O,H){return U=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,u){x.__proto__=u}||function(x,u){for(var y in u)u.hasOwnProperty(y)&&(x[y]=u[y])},U(O,H)};return function(z,O){U(z,O);function H(){this.constructor=z}z.prototype=O===null?Object.create(O):(H.prototype=O.prototype,new H)}}(),I=function(U){J(z,U);function z(O,H,x,u){var y=U.call(this,O,H,x,u)||this;return y.selectionStartLineNumber=O,y.selectionStartColumn=H,y.positionLineNumber=x,y.positionColumn=u,y}return z.prototype.toString=function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"},z.prototype.equalsSelection=function(O){return z.selectionsEqual(this,O)},z.selectionsEqual=function(O,H){return O.selectionStartLineNumber===H.selectionStartLineNumber&&O.selectionStartColumn===H.selectionStartColumn&&O.positionLineNumber===H.positionLineNumber&&O.positionColumn===H.positionColumn},z.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},z.prototype.setEndPosition=function(O,H){return this.getDirection()===0?new z(this.startLineNumber,this.startColumn,O,H):new z(O,H,this.startLineNumber,this.startColumn)},z.prototype.getPosition=function(){return new T.a(this.positionLineNumber,this.positionColumn)},z.prototype.setStartPosition=function(O,H){return this.getDirection()===0?new z(O,H,this.endLineNumber,this.endColumn):new z(this.endLineNumber,this.endColumn,O,H)},z.fromPositions=function(O,H){return H===void 0&&(H=O),new z(O.lineNumber,O.column,H.lineNumber,H.column)},z.liftSelection=function(O){return new z(O.selectionStartLineNumber,O.selectionStartColumn,O.positionLineNumber,O.positionColumn)},z.selectionsArrEqual=function(O,H){if(O&&!H||!O&&H)return!1;if(!O&&!H)return!0;if(O.length!==H.length)return!1;for(var x=0,u=O.length;x=0;W--)(ie=E[W])&&($=(R<3?ie($):R>3?ie(L,A,$):ie(L,A))||$);return R>3&&$&&Object.defineProperty(L,A,$),$},p=function(E,L){return function(A,k){L(A,k,E)}},c=function(E){v(L,E);function L(A,k,R){var $=E.call(this)||this;return $._editor=A,$._modeService=R,$._widget=null,$._register($._editor.onDidChangeModel(function(ie){return $.stop()})),$._register($._editor.onDidChangeModelLanguage(function(ie){return $.stop()})),$._register(O.B.onDidChange(function(ie){return $.stop()})),$}return L.get=function(A){return A.getContribution(L.ID)},L.prototype.dispose=function(){this.stop(),E.prototype.dispose.call(this)},L.prototype.launch=function(){if(this._widget)return;if(!this._editor.hasModel())return;this._widget=new m(this._editor,this._modeService)},L.prototype.stop=function(){this._widget&&(this._widget.dispose(),this._widget=null)},L.ID="editor.contrib.inspectTokens",L=w([p(1,u.a),p(2,x.a)],L),L}(I.a),s=function(E){v(L,E);function L(){return E.call(this,{id:"editor.action.inspectTokens",label:f.c.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})||this}return L.prototype.run=function(A,k){var R=c.get(k);R&&R.launch()},L}(z.b);function l(E){for(var L="",A=0,k=E.length;A=0;$--){var ie=k.tokens1[$];if(A.column-1>=ie.offset){R=$;break}}for(var W=0,$=k.tokens2.length>>>1;$>=0;$--)if(A.column-1>=k.tokens2[$<<1]){W=$;break}var B="",le=this._model.getLineContent(A.lineNumber),Ce="";if(R'+l(Ce)+'('+Ce.length+" "+(Ce.length===1?"char":"chars")+")",B+='
';var Fe=this._decodeMetadata(k.tokens2[(W<<1)+1]);B+='',B+='",B+='",B+='",B+='",B+='",B+="",B+='
',R'+Object(U.o)(k.tokens1[R].type)+""),this._domNode.innerHTML=B,this._editor.layoutContentWidget(this)},L.prototype._decodeMetadata=function(A){var k=O.B.getColorMap(),R=O.A.getLanguageId(A),$=O.A.getTokenType(A),ie=O.A.getFontStyle(A),W=O.A.getForeground(A),B=O.A.getBackground(A);return{languageIdentifier:this._modeService.getLanguageIdentifier(R),tokenType:$,fontStyle:ie,foreground:k[W],background:k[B]}},L.prototype._tokenTypeToString=function(A){switch(A){case 0:return"Other";case 1:return"Comment";case 2:return"String";case 4:return"RegEx"}return"??"},L.prototype._fontStyleToString=function(A){var k="";return A&1&&(k+="italic "),A&2&&(k+="bold "),A&4&&(k+="underline "),k.length===0&&(k="---"),k},L.prototype._getTokensAtLine=function(A){var k=this._getStateBeforeLine(A),R=this._tokenizationSupport.tokenize(this._model.getLineContent(A),k,0),$=this._tokenizationSupport.tokenize2(this._model.getLineContent(A),k,0);return{startState:k,tokens1:R.tokens,tokens2:$.tokens,endState:R.endState}},L.prototype._getStateBeforeLine=function(A){for(var k=this._tokenizationSupport.getInitialState(),R=1;R1&&l.scheme===U.b.file?d="//"+l.authority+m:z.h&&m.charCodeAt(0)===47&&T.b(m.charCodeAt(1))&&m.charCodeAt(2)===58?d=m.substr(1):d=m,z.h&&(d=d.replace(/\//g,"\\")),d}function c(l,d,m){if(m===void 0&&(m=H(l)),l.scheme!==d.scheme||!u(l.authority,d.authority))return;if(l.scheme===U.b.file){var E=re.relative(l.path,d.path);return z.h?T.c(E):E}var L=l.path||"/",A=d.path||"/";if(m){for(var k=0,R=Math.min(L.length,A.length);k0&&B[B.length-1])&&(Te[0]===6||Te[0]===2)){$=0;continue}if(Te[0]===3&&(!B||Te[1]>B[0]&&Te[1]>>0,new T.c(f,y===null?I:y)}},"i/Rh":function(Lt,j,e){},i04g:function(Lt,j,e){"use strict";e.d(j,"b",function(){return J}),e.d(j,"a",function(){return I});var T=e("3/fG"),re=function(){function z(O,H,x){x===void 0&&(x=H),this.modifierLabels=[null],this.modifierLabels[2]=O,this.modifierLabels[1]=H,this.modifierLabels[3]=x}return z.prototype.toLabel=function(O,H,x){if(H.length===0)return null;for(var u=[],y=0,_=H.length;y<_;y++){var f=H[y],v=x(f);if(v===null)return null;u[y]=U(f,v,this.modifierLabels[O])}return u.join(" ")},z}(),J=new re({ctrlKey:"\u2303",shiftKey:"\u21E7",altKey:"\u2325",metaKey:"\u2318",separator:""},{ctrlKey:T.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:T.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:T.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:T.a({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:T.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:T.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:T.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:T.a({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),I=new re({ctrlKey:T.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:T.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:T.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:T.a({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:T.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:T.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:T.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:T.a({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:T.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:T.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:T.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:T.a({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"});function U(z,O,H){if(O===null)return"";var x=[];return z.ctrlKey&&x.push(H.ctrlKey),z.shiftKey&&x.push(H.shiftKey),z.altKey&&x.push(H.altKey),z.metaKey&&x.push(H.metaKey),x.push(O),x.join(H.separator)}},iDAx:function(Lt,j,e){"use strict";e.d(j,"b",function(){return v}),e.d(j,"a",function(){return m}),e.d(j,"d",function(){return Me}),e.d(j,"c",function(){return Te});var T=e("3/fG"),re=e("MI8n"),J=e("pmY6"),I=e("qj0h"),U=e("6OMU"),z=e("/UlZ"),O=e("Yr1X"),H=e("+3Gp"),x=e("CRAX"),u=e("ic2d"),y=e("vl9R"),_=function(){var Fe=function(Pe,ne){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ee,ae){ee.__proto__=ae}||function(ee,ae){for(var q in ae)ae.hasOwnProperty(q)&&(ee[q]=ae[q])},Fe(Pe,ne)};return function(Ue,Pe){Fe(Ue,Pe);function ne(){this.constructor=Ue}Ue.prototype=Pe===null?Object.create(Pe):(ne.prototype=Pe.prototype,new ne)}}(),f=function(){return f=Object.assign||function(Fe){for(var Ue,Pe=1,ne=arguments.length;Pe0&&C.minimapLeft===0?C.minimapWidth:0},Q.prototype._onViewZoneTop=function(C){this.domNode.style.top=C+"px"},Q.prototype._onViewZoneHeight=function(C){if(this.domNode.style.height=C+"px",this.container){var F=C-this._decoratingElementsHeight();this.container.style.height=F+"px";var se=this.editor.getLayoutInfo();this._doLayout(F,this._getWidth(se))}this._resizeSash&&this._resizeSash.layout()},Object.defineProperty(Q.prototype,"position",{get:function(){var F=this._positionMarkerId[0];if(!F)return;var se=this.editor.getModel();if(!se)return;var oe=se.getDecorationRange(F);return oe?oe.getStartPosition():void 0},enumerable:!0,configurable:!0}),Q.prototype.show=function(C,F){var se=w.a.isIRange(C)?w.a.lift(C):w.a.fromPositions(C);this._isShowing=!0,this._showImpl(se,F),this._isShowing=!1,this._positionMarkerId=this.editor.deltaDecorations(this._positionMarkerId,[{range:se,options:p.a.EMPTY}])},Q.prototype.hide=function(){var C=this;this._viewZone&&(this.editor.changeViewZones(function(F){C._viewZone&&F.removeZone(C._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._arrow&&this._arrow.hide()},Q.prototype._decoratingElementsHeight=function(){var C=this.editor.getOption(49),F=0;if(this.options.showArrow){var se=Math.round(C/3);F+=2*se}if(this.options.showFrame){var oe=Math.round(C/9);F+=2*oe}return F},Q.prototype._showImpl=function(C,F){var se=this,oe=C.getStartPosition(),be=this.editor.getLayoutInfo(),De=this._getWidth(be);this.domNode.style.width=De+"px",this.domNode.style.left=this._getLeft(be)+"px";var Se=document.createElement("div");Se.style.overflow="hidden";var Ve=this.editor.getOption(49),Qe=this.editor.getLayoutInfo().height/Ve*.8;F>=Qe&&(F=Qe);var it=0,pt=0;if(this._arrow&&this.options.showArrow&&(it=Math.round(Ve/3),this._arrow.height=it,this._arrow.show(oe)),this.options.showFrame&&(pt=Math.round(Ve/9)),this.editor.changeViewZones(function(ao){se._viewZone&&ao.removeZone(se._viewZone.id),se._overlayWidget&&(se.editor.removeOverlayWidget(se._overlayWidget),se._overlayWidget=null),se.domNode.style.top="-1000px",se._viewZone=new d(Se,oe.lineNumber,oe.column,F,function(so){return se._onViewZoneTop(so)},function(so){return se._onViewZoneHeight(so)}),se._viewZone.id=ao.addZone(se._viewZone),se._overlayWidget=new m(l+se._viewZone.id,se.domNode),se.editor.addOverlayWidget(se._overlayWidget)}),this.container&&this.options.showFrame){var Rt=this.options.frameWidth?this.options.frameWidth:pt;this.container.style.borderTopWidth=Rt+"px",this.container.style.borderBottomWidth=Rt+"px"}var Mt=F*Ve-this._decoratingElementsHeight();this.container&&(this.container.style.top=it+"px",this.container.style.height=Mt+"px",this.container.style.overflow="hidden"),this._doLayout(Mt,De),this.options.keepEditorSelection||this.editor.setSelection(C);var zt=this.editor.getModel();if(zt){var uo=C.endLineNumber+1;uo<=zt.getLineCount()?this.revealLine(uo,!1):this.revealLine(zt.getLineCount(),!0)}},Q.prototype.revealLine=function(C,F){F?this.editor.revealLineInCenter(C,0):this.editor.revealLine(C,0)},Q.prototype.setCssClass=function(C,F){if(!this.container)return;F&&this.container.classList.remove(F),re.f(this.container,C)},Q.prototype._onWidth=function(C){},Q.prototype._doLayout=function(C,F){},Q.prototype._relayout=function(C){var F=this;this._viewZone&&this._viewZone.heightInLines!==C&&this.editor.changeViewZones(function(se){F._viewZone&&(F._viewZone.heightInLines=C,se.layoutZone(F._viewZone.id))})},Q.prototype._initSash=function(){var C=this;if(this._resizeSash)return;this._resizeSash=this._disposables.add(new _.a(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.hide(),this._resizeSash.state=0);var F;this._disposables.add(this._resizeSash.onDidStart(function(se){C._viewZone&&(F={startY:se.startY,heightInLines:C._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(function(){F=void 0})),this._disposables.add(this._resizeSash.onDidChange(function(se){if(F){var oe=(se.currentY-F.startY)/C.editor.getOption(49),be=oe<0?Math.ceil(oe):Math.floor(oe),De=F.heightInLines+be;De>5&&De<35&&C._relayout(De)}}))},Q.prototype.getHorizontalSashLeft=function(){return 0},Q.prototype.getHorizontalSashTop=function(){return(this.domNode.style.height===null?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2},Q.prototype.getHorizontalSashWidth=function(){var C=this.editor.getLayoutInfo();return C.width-C.minimapWidth},Q}(),A=e("3/fG"),k=e("T8No"),R=e("Cg/j"),$=e("9fML"),ie=e("sswD"),W=e("MD5Z"),B=function(){var Q=function(F,se){return Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,be){oe.__proto__=be}||function(oe,be){for(var De in be)be.hasOwnProperty(De)&&(oe[De]=be[De])},Q(F,se)};return function(C,F){Q(C,F);function se(){this.constructor=C}C.prototype=F===null?Object.create(F):(se.prototype=F.prototype,new se)}}(),le=function(Q,C,F,se){var oe=arguments.length,be=oe<3?C:se===null?se=Object.getOwnPropertyDescriptor(C,F):se,De;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")be=Reflect.decorate(Q,C,F,se);else for(var Se=Q.length-1;Se>=0;Se--)(De=Q[Se])&&(be=(oe<3?De(be):oe>3?De(C,F,be):De(C,F))||be);return oe>3&&be&&Object.defineProperty(C,F,be),be},Ce=function(Q,C){return function(F,se){C(F,se,Q)}},Me=Object(R.c)("IPeekViewService");Object($.b)(Me,function(){function Q(){this._widgets=new Map}return Q.prototype.addExclusiveWidget=function(C,F){var se=this,oe=this._widgets.get(C);oe&&(oe.listener.dispose(),oe.widget.dispose());var be=function(){var Se=se._widgets.get(C);Se&&Se.widget===F&&(Se.listener.dispose(),se._widgets.delete(C))};this._widgets.set(C,{widget:F,listener:F.onDidClose(be)})},Q}());var Te;(function(Q){Q.inPeekEditor=new k.d("inReferenceSearchEditor",!0),Q.notInPeekEditor=Q.inPeekEditor.toNegated()})(Te||(Te={}));var Fe=function(){function Q(C,F){C instanceof u.a&&Te.inPeekEditor.bindTo(F)}return Q.prototype.dispose=function(){},Q.ID="editor.contrib.referenceController",Q=le([Ce(1,k.c)],Q),Q}();Object(ie.h)(Fe.ID,Fe);function Ue(Q){var C=Q.get(x.a).getFocusedCodeEditor();return C instanceof u.a?C.getParentEditor():C}var Pe={headerBackgroundColor:U.a.white,primaryHeadingColor:U.a.fromHex("#333333"),secondaryHeadingColor:U.a.fromHex("#6c6c6cb3")},ne=function(Q){B(C,Q);function C(F,se){se===void 0&&(se={});var oe=Q.call(this,F,se)||this;return oe._onDidClose=new z.a,oe.onDidClose=oe._onDidClose.event,O.g(oe.options,Pe,!1),oe}return C.prototype.dispose=function(){Q.prototype.dispose.call(this),this._onDidClose.fire(this)},C.prototype.style=function(F){var se=this.options;F.headerBackgroundColor&&(se.headerBackgroundColor=F.headerBackgroundColor),F.primaryHeadingColor&&(se.primaryHeadingColor=F.primaryHeadingColor),F.secondaryHeadingColor&&(se.secondaryHeadingColor=F.secondaryHeadingColor),Q.prototype.style.call(this,F)},C.prototype._applyStyles=function(){Q.prototype._applyStyles.call(this);var F=this.options;this._headElement&&F.headerBackgroundColor&&(this._headElement.style.backgroundColor=F.headerBackgroundColor.toString()),this._primaryHeading&&F.primaryHeadingColor&&(this._primaryHeading.style.color=F.primaryHeadingColor.toString()),this._secondaryHeading&&F.secondaryHeadingColor&&(this._secondaryHeading.style.color=F.secondaryHeadingColor.toString()),this._bodyElement&&F.frameColor&&(this._bodyElement.style.borderColor=F.frameColor.toString())},C.prototype._fillContainer=function(F){this.setCssClass("peekview-widget"),this._headElement=re.a(".head"),this._bodyElement=re.a(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),F.appendChild(this._headElement),F.appendChild(this._bodyElement)},C.prototype._fillHead=function(F){var se=this,oe=re.a(".peekview-title");re.q(this._headElement,oe),re.o(oe,"click",function(Se){return se._onTitleClick(Se)}),this._fillTitleIcon(oe),this._primaryHeading=re.a("span.filename"),this._secondaryHeading=re.a("span.dirname"),this._metaHeading=re.a("span.meta"),re.q(oe,this._primaryHeading,this._secondaryHeading,this._metaHeading);var be=re.a(".peekview-actions");re.q(this._headElement,be);var De=this._getActionBarOptions();this._actionbarWidget=new J.a(be,De),this._disposables.add(this._actionbarWidget),this._actionbarWidget.push(new I.a("peekview.close",A.a("label.close","Close"),"codicon-close",!0,function(){return se.dispose(),Promise.resolve()}),{label:!1,icon:!0})},C.prototype._fillTitleIcon=function(F){},C.prototype._getActionBarOptions=function(){return{}},C.prototype._onTitleClick=function(F){},C.prototype.setTitle=function(F,se){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerHTML=H.o(F),this._primaryHeading.setAttribute("aria-label",F),se?this._secondaryHeading.innerHTML=H.o(se):re.t(this._secondaryHeading))},C.prototype.setMetaTitle=function(F){this._metaHeading&&(F?(this._metaHeading.innerHTML=H.o(F),re.X(this._metaHeading)):re.J(this._metaHeading))},C.prototype._doLayout=function(F,se){if(!this._isShowing&&F<0){this.dispose();return}var oe=Math.ceil(this.editor.getOption(49)*1.2),be=Math.round(F-(oe+2));this._doLayoutHead(oe,se),this._doLayoutBody(be,se)},C.prototype._doLayoutHead=function(F,se){this._headElement&&(this._headElement.style.height=F+"px",this._headElement.style.lineHeight=this._headElement.style.height)},C.prototype._doLayoutBody=function(F,se){this._bodyElement&&(this._bodyElement.style.height=F+"px")},C}(L),ee=Object(W.Tb)("peekViewTitle.background",{dark:"#1E1E1E",light:"#FFFFFF",hc:"#0C141F"},A.a("peekViewTitleBackground","Background color of the peek view title area.")),ae=Object(W.Tb)("peekViewTitleLabel.foreground",{dark:"#FFFFFF",light:"#333333",hc:"#FFFFFF"},A.a("peekViewTitleForeground","Color of the peek view title.")),q=Object(W.Tb)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161e6",hc:"#FFFFFF99"},A.a("peekViewTitleInfoForeground","Color of the peek view title info.")),ue=Object(W.Tb)("peekView.border",{dark:"#007acc",light:"#007acc",hc:W.e},A.a("peekViewBorder","Color of the peek view borders and arrow.")),X=Object(W.Tb)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hc:U.a.black},A.a("peekViewResultsBackground","Background color of the peek view result list.")),he=Object(W.Tb)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hc:U.a.white},A.a("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),je=Object(W.Tb)("peekViewResult.fileForeground",{dark:U.a.white,light:"#1E1E1E",hc:U.a.white},A.a("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),Xe=Object(W.Tb)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hc:null},A.a("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),me=Object(W.Tb)("peekViewResult.selectionForeground",{dark:U.a.white,light:"#6C6C6C",hc:U.a.white},A.a("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list.")),ge=Object(W.Tb)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hc:U.a.black},A.a("peekViewEditorBackground","Background color of the peek view editor.")),we=Object(W.Tb)("peekViewEditorGutter.background",{dark:ge,light:ge,hc:ge},A.a("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),Re=Object(W.Tb)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hc:null},A.a("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),Ee=Object(W.Tb)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hc:null},A.a("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),ve=Object(W.Tb)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hc:W.b},A.a("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."))},ic2d:function(Lt,j,e){"use strict";e.d(j,"a",function(){return I});var T=e("746U"),re=e("FWmy"),J=function(){function U(){this.data=new Map}return U.prototype.add=function(z,O){re.a(T.j(z)),re.a(T.i(O)),re.a(!this.data.has(z),"There is already an extension with this id"),this.data.set(z,O)},U.prototype.as=function(z){return this.data.get(z)||null},U}(),I=new J},"ij/i":function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile"],aliases:["Ruby","rb"],loader:function(){return e.e(313).then(e.bind(null,"3MdH"))}})},iuje:function(Lt,j,e){"use strict";e.d(j,"c",function(){return T}),e.d(j,"a",function(){return re}),e.d(j,"b",function(){return J});function T(I){return I&&typeof I.id=="string"}var re={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"},J={ExecuteCommand:"executeCommand",ExecuteCommands:"executeCommands",Type:"type",ReplacePreviousChar:"replacePreviousChar",CompositionStart:"compositionStart",CompositionEnd:"compositionEnd",Paste:"paste",Cut:"cut",Undo:"undo",Redo:"redo"}},j2o1:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:function(){return e.e(305).then(e.bind(null,"ppMK"))}})},"jAJ/":function(Lt,j,e){"use strict";e.d(j,"a",function(){return O}),e.d(j,"d",function(){return u}),e.d(j,"c",function(){return _}),e.d(j,"e",function(){return w}),e.d(j,"b",function(){return p});var T=e("N0LK"),re=e("5v8Y"),J=e("cGHE"),I=e("aokT"),U=e("M1Kb"),z=999,O=function(){function c(s,l,d,m){this.searchString=s,this.isRegex=l,this.matchCase=d,this.wordSeparators=m}return c.prototype.parseSearchRequest=function(){if(this.searchString==="")return null;var s;this.isRegex?s=H(this.searchString):s=this.searchString.indexOf(` -`)>=0;var l=null;try{l=T.l(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:s,global:!0,unicode:!0})}catch(m){return null}if(!l)return null;var d=!this.isRegex&&!s;return d&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(d=this.matchCase),new x(l,this.wordSeparators?Object(re.a)(this.wordSeparators):null,d?this.searchString:null)},c}();function H(c){if(!c||c.length===0)return!1;for(var s=0,l=c.length;s=l)break;var m=c.charCodeAt(s);if(m===110||m===114||m===87||m===119)return!0}}return!1}var x=function(){function c(s,l,d){this.regex=s,this.wordSeparators=l,this.simpleSearch=d}return c}();function u(c,s,l){if(!l)return new U.b(c,null);for(var d=[],m=0,E=s.length;m>0);l[E]>=s?m=E-1:l[E+1]>=s?(d=E,m=E):d=E+1}return d+1},c}(),_=function(){function c(){}return c.findMatches=function(s,l,d,m,E){var L=l.parseSearchRequest();return L?L.regex.multiline?this._doFindMatchesMultiline(s,d,new p(L.wordSeparators,L.regex),m,E):this._doFindMatchesLineByLine(s,d,L,m,E):[]},c._getMultilineMatchRange=function(s,l,d,m,E,L){var A,k=0;m?(k=m.findLineFeedCountBeforeOffset(E),A=l+E+k):A=l+E;var R;if(m){var $=m.findLineFeedCountBeforeOffset(E+L.length),ie=$-k;R=A+L.length+ie}else R=A+L.length;var W=s.getPositionAt(A),B=s.getPositionAt(R);return new I.a(W.lineNumber,W.column,B.lineNumber,B.column)},c._doFindMatchesMultiline=function(s,l,d,m,E){var L=s.getOffsetAt(l.getStartPosition()),A=s.getValueInRange(l,1),k=s.getEOL()===`\r -`?new y(A):null,R=[],$=0,ie;for(d.reset(0);ie=d.next(A);)if(R[$++]=u(this._getMultilineMatchRange(s,L,A,k,ie.index,ie[0]),ie,m),$>=E)return R;return R},c._doFindMatchesLineByLine=function(s,l,d,m,E){var L=[],A=0;if(l.startLineNumber===l.endLineNumber){var k=s.getLineContent(l.startLineNumber).substring(l.startColumn-1,l.endColumn-1);return A=this._findMatchesInLine(d,k,l.startLineNumber,l.startColumn-1,A,L,m,E),L}var R=s.getLineContent(l.startLineNumber).substring(l.startColumn-1);A=this._findMatchesInLine(d,R,l.startLineNumber,l.startColumn-1,A,L,m,E);for(var $=l.startLineNumber+1;$=k))return E;return E}var le=new p(s.wordSeparators,s.regex),Ce;le.reset(0);do if(Ce=le.next(l),Ce&&(L[E++]=u(new I.a(d,Ce.index+1+m,d,Ce.index+1+Ce[0].length+m),Ce,A),E>=k))return E;while(Ce);return E},c.findNextMatch=function(s,l,d,m){var E=l.parseSearchRequest();if(!E)return null;var L=new p(E.wordSeparators,E.regex);return E.regex.multiline?this._doFindNextMatchMultiline(s,d,L,m):this._doFindNextMatchLineByLine(s,d,L,m)},c._doFindNextMatchMultiline=function(s,l,d,m){var E=new J.a(l.lineNumber,1),L=s.getOffsetAt(E),A=s.getLineCount(),k=s.getValueInRange(new I.a(E.lineNumber,E.column,A,s.getLineMaxColumn(A)),1),R=s.getEOL()===`\r -`?new y(k):null;d.reset(l.column-1);var $=d.next(k);return $?u(this._getMultilineMatchRange(s,L,k,R,$.index,$[0]),$,m):l.lineNumber!==1||l.column!==1?this._doFindNextMatchMultiline(s,new J.a(1,1),d,m):null},c._doFindNextMatchLineByLine=function(s,l,d,m){var E=s.getLineCount(),L=l.lineNumber,A=s.getLineContent(L),k=this._findFirstMatchInLine(d,A,L,l.column,m);if(k)return k;for(var R=1;R<=E;R++){var $=(L+R-1)%E,ie=s.getLineContent($+1),W=this._findFirstMatchInLine(d,ie,$+1,1,m);if(W)return W}return null},c._findFirstMatchInLine=function(s,l,d,m,E){s.reset(m-1);var L=s.next(l);return L?u(new I.a(d,L.index+1,d,L.index+1+L[0].length),L,E):null},c.findPreviousMatch=function(s,l,d,m){var E=l.parseSearchRequest();if(!E)return null;var L=new p(E.wordSeparators,E.regex);return E.regex.multiline?this._doFindPreviousMatchMultiline(s,d,L,m):this._doFindPreviousMatchLineByLine(s,d,L,m)},c._doFindPreviousMatchMultiline=function(s,l,d,m){var E=this._doFindMatchesMultiline(s,new I.a(1,1,l.lineNumber,l.column),d,m,10*z);if(E.length>0)return E[E.length-1];var L=s.getLineCount();return l.lineNumber!==L||l.column!==s.getLineMaxColumn(L)?this._doFindPreviousMatchMultiline(s,new J.a(L,s.getLineMaxColumn(L)),d,m):null},c._doFindPreviousMatchLineByLine=function(s,l,d,m){var E=s.getLineCount(),L=l.lineNumber,A=s.getLineContent(L).substring(0,l.column-1),k=this._findLastMatchInLine(d,A,L,m);if(k)return k;for(var R=1;R<=E;R++){var $=(E+L-R-1)%E,ie=s.getLineContent($+1),W=this._findLastMatchInLine(d,ie,$+1,m);if(W)return W}return null},c._findLastMatchInLine=function(s,l,d,m){var E=null,L;for(s.reset(0);L=s.next(l);)E=u(new I.a(d,L.index+1,d,L.index+1+L[0].length),L,m);return E},c}();function f(c,s,l,d,m){if(d===0)return!0;var E=s.charCodeAt(d-1);if(c.get(E)!==0)return!0;if(E===13||E===10)return!0;if(m>0){var L=s.charCodeAt(d);if(c.get(L)!==0)return!0}return!1}function v(c,s,l,d,m){if(d+m===l)return!0;var E=s.charCodeAt(d+m);if(c.get(E)!==0)return!0;if(E===13||E===10)return!0;if(m>0){var L=s.charCodeAt(d+m-1);if(c.get(L)!==0)return!0}return!1}function w(c,s,l,d,m){return f(c,s,l,d,m)&&v(c,s,l,d,m)}var p=function(){function c(s,l){this._wordSeparators=s,this._searchRegex=l,this._prevMatchStartIndex=-1,this._prevMatchLength=0}return c.prototype.reset=function(s){this._searchRegex.lastIndex=s,this._prevMatchStartIndex=-1,this._prevMatchLength=0},c.prototype.next=function(s){var l=s.length,d;do{if(this._prevMatchStartIndex+this._prevMatchLength===l)return null;if(d=this._searchRegex.exec(s),!d)return null;var m=d.index,E=d[0].length;if(m===this._prevMatchStartIndex&&E===this._prevMatchLength){if(E===0){this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=m,this._prevMatchLength=E,!this._wordSeparators||w(this._wordSeparators,s,l,m,E))return d}while(d);return null},c}()},jVwG:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:function(){return e.e(297).then(e.bind(null,"fYNN"))}})},jqj9:function(Lt,j,e){"use strict";var T=e("yI7H"),re=e.n(T),J=e("ujyM"),I=e.n(J),U=e("3/fG"),z=e("t9D7"),O=e("MD5Z"),H=Object(O.Tb)("symbolIcon.arrayForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.arrayForeground","The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),x=Object(O.Tb)("symbolIcon.booleanForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.booleanForeground","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),u=Object(O.Tb)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(U.a)("symbolIcon.classForeground","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),y=Object(O.Tb)("symbolIcon.colorForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.colorForeground","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),_=Object(O.Tb)("symbolIcon.constantForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.constantForeground","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),f=Object(O.Tb)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(U.a)("symbolIcon.constructorForeground","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),v=Object(O.Tb)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(U.a)("symbolIcon.enumeratorForeground","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),w=Object(O.Tb)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(U.a)("symbolIcon.enumeratorMemberForeground","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),p=Object(O.Tb)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(U.a)("symbolIcon.eventForeground","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),c=Object(O.Tb)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(U.a)("symbolIcon.fieldForeground","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),s=Object(O.Tb)("symbolIcon.fileForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.fileForeground","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),l=Object(O.Tb)("symbolIcon.folderForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.folderForeground","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),d=Object(O.Tb)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(U.a)("symbolIcon.functionForeground","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),m=Object(O.Tb)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(U.a)("symbolIcon.interfaceForeground","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),E=Object(O.Tb)("symbolIcon.keyForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.keyForeground","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),L=Object(O.Tb)("symbolIcon.keywordForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.keywordForeground","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),A=Object(O.Tb)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(U.a)("symbolIcon.methodForeground","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),k=Object(O.Tb)("symbolIcon.moduleForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.moduleForeground","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),R=Object(O.Tb)("symbolIcon.namespaceForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.namespaceForeground","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),$=Object(O.Tb)("symbolIcon.nullForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.nullForeground","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ie=Object(O.Tb)("symbolIcon.numberForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.numberForeground","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),W=Object(O.Tb)("symbolIcon.objectForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.objectForeground","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),B=Object(O.Tb)("symbolIcon.operatorForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.operatorForeground","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),le=Object(O.Tb)("symbolIcon.packageForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.packageForeground","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ce=Object(O.Tb)("symbolIcon.propertyForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.propertyForeground","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Me=Object(O.Tb)("symbolIcon.referenceForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.referenceForeground","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Te=Object(O.Tb)("symbolIcon.snippetForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.snippetForeground","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Fe=Object(O.Tb)("symbolIcon.stringForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.stringForeground","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ue=Object(O.Tb)("symbolIcon.structForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.structForeground","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Pe=Object(O.Tb)("symbolIcon.textForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.textForeground","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ne=Object(O.Tb)("symbolIcon.typeParameterForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.typeParameterForeground","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ee=Object(O.Tb)("symbolIcon.unitForeground",{dark:O.W,light:O.W,hc:O.W},Object(U.a)("symbolIcon.unitForeground","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ae=Object(O.Tb)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(U.a)("symbolIcon.variableForeground","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));Object(z.e)(function(q,ue){var X=q.getColor(H);X&&ue.addRule(".codicon-symbol-array { color: "+X+" !important; }");var he=q.getColor(x);he&&ue.addRule(".codicon-symbol-boolean { color: "+he+" !important; }");var je=q.getColor(u);je&&ue.addRule(".codicon-symbol-class { color: "+je+" !important; }");var Xe=q.getColor(A);Xe&&ue.addRule(".codicon-symbol-method { color: "+Xe+" !important; }");var me=q.getColor(y);me&&ue.addRule(".codicon-symbol-color { color: "+me+" !important; }");var ge=q.getColor(_);ge&&ue.addRule(".codicon-symbol-constant { color: "+ge+" !important; }");var we=q.getColor(f);we&&ue.addRule(".codicon-symbol-constructor { color: "+we+" !important; }");var Re=q.getColor(v);Re&&ue.addRule(` - .codicon-symbol-value,.codicon-symbol-enum { color: `+Re+" !important; }");var Ee=q.getColor(w);Ee&&ue.addRule(".codicon-symbol-enum-member { color: "+Ee+" !important; }");var ve=q.getColor(p);ve&&ue.addRule(".codicon-symbol-event { color: "+ve+" !important; }");var Q=q.getColor(c);Q&&ue.addRule(".codicon-symbol-field { color: "+Q+" !important; }");var C=q.getColor(s);C&&ue.addRule(".codicon-symbol-file { color: "+C+" !important; }");var F=q.getColor(l);F&&ue.addRule(".codicon-symbol-folder { color: "+F+" !important; }");var se=q.getColor(d);se&&ue.addRule(".codicon-symbol-function { color: "+se+" !important; }");var oe=q.getColor(m);oe&&ue.addRule(".codicon-symbol-interface { color: "+oe+" !important; }");var be=q.getColor(E);be&&ue.addRule(".codicon-symbol-key { color: "+be+" !important; }");var De=q.getColor(L);De&&ue.addRule(".codicon-symbol-keyword { color: "+De+" !important; }");var Se=q.getColor(k);Se&&ue.addRule(".codicon-symbol-module { color: "+Se+" !important; }");var Ve=q.getColor(R);Ve&&ue.addRule(".codicon-symbol-namespace { color: "+Ve+" !important; }");var Qe=q.getColor($);Qe&&ue.addRule(".codicon-symbol-null { color: "+Qe+" !important; }");var it=q.getColor(ie);it&&ue.addRule(".codicon-symbol-number { color: "+it+" !important; }");var pt=q.getColor(W);pt&&ue.addRule(".codicon-symbol-object { color: "+pt+" !important; }");var Rt=q.getColor(B);Rt&&ue.addRule(".codicon-symbol-operator { color: "+Rt+" !important; }");var Mt=q.getColor(le);Mt&&ue.addRule(".codicon-symbol-package { color: "+Mt+" !important; }");var zt=q.getColor(Ce);zt&&ue.addRule(".codicon-symbol-property { color: "+zt+" !important; }");var uo=q.getColor(Me);uo&&ue.addRule(".codicon-symbol-reference { color: "+uo+" !important; }");var ao=q.getColor(Te);ao&&ue.addRule(".codicon-symbol-snippet { color: "+ao+" !important; }");var so=q.getColor(Fe);so&&ue.addRule(".codicon-symbol-string { color: "+so+" !important; }");var Pt=q.getColor(Ue);Pt&&ue.addRule(".codicon-symbol-struct { color: "+Pt+" !important; }");var ft=q.getColor(Pe);ft&&ue.addRule(".codicon-symbol-text { color: "+ft+" !important; }");var vt=q.getColor(ne);vt&&ue.addRule(".codicon-symbol-type-parameter { color: "+vt+" !important; }");var At=q.getColor(ee);At&&ue.addRule(".codicon-symbol-unit { color: "+At+" !important; }");var at=q.getColor(ae);at&&ue.addRule(".codicon-symbol-variable { color: "+at+" !important; }")})},jrbv:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:function(){return e.e(278).then(e.bind(null,"2ZXa"))}})},k76M:function(Lt,j,e){"use strict";var T=e("XNtB"),re=e.n(T),J=e("epnl"),I=e.n(J)},k7mE:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return e.e(289).then(e.bind(null,"BjZ/"))}})},k7pc:function(Lt,j,e){"use strict";e.r(j),e.d(j,"ToggleTabFocusModeAction",function(){return z});var T=e("3/fG"),re=e("OBOq"),J=e("sswD"),I=e("iDAx"),U=function(){var O=function(x,u){return O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,_){y.__proto__=_}||function(y,_){for(var f in _)_.hasOwnProperty(f)&&(y[f]=_[f])},O(x,u)};return function(H,x){O(H,x);function u(){this.constructor=H}H.prototype=x===null?Object.create(x):(u.prototype=x.prototype,new u)}}(),z=function(O){U(H,O);function H(){return O.call(this,{id:H.ID,label:T.a({key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),alias:"Toggle Tab Key Moves Focus",precondition:void 0,kbOpts:{kbExpr:null,primary:2048|43,mac:{primary:256|1024|43},weight:100}})||this}return H.prototype.run=function(x,u){var y=I.b.getTabFocusMode(),_=!y;I.b.setTabFocusMode(_),_?Object(re.a)(T.a("toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element")):Object(re.a)(T.a("toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))},H.ID="editor.action.toggleTabFocusMode",H}(J.b);Object(J.f)(z)},k9mg:function(Lt,j,e){"use strict";e.d(j,"a",function(){return fn}),e.d(j,"b",function(){return Vo}),e.d(j,"d",function(){return dn}),e.d(j,"c",function(){return yt});var T=e("EffR"),re=e("cqdO"),J=e("pmY6"),I=e("3/fG"),U=e("+7oY"),z=e("CRAX"),O=e("T8No"),H=e("Cg/j"),x=e("bexQ"),u=e("ic2d"),y=e("ptcw"),_=e("t9D7"),f="inputFocus",v=e("2V9f"),w=e("MI8n"),p=e("uDWl"),c=e("ZQ78"),s=e("6OMU"),l=e("feEw"),d=e("4y0V"),m=e("fpMC"),E=function(){var pe=function(ye,We){return pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ze,st){Ze.__proto__=st}||function(Ze,st){for(var mt in st)st.hasOwnProperty(mt)&&(Ze[mt]=st[mt])},pe(ye,We)};return function(D,ye){pe(D,ye);function We(){this.constructor=D}D.prototype=ye===null?Object.create(ye):(We.prototype=ye.prototype,new We)}}(),L=function(pe){E(D,pe);function D(ye,We){return pe.call(this,"TreeError ["+ye+"] "+We)||this}return D}(Error),A=function(){function pe(D){this.fn=D,this._map=new WeakMap}return pe.prototype.map=function(D){var ye=this._map.get(D);return ye||(ye=this.fn(D),this._map.set(D,ye)),ye},pe}(),k=e("JYp7"),R=function(){for(var pe=0,D=0,ye=arguments.length;D=0&&Do0&&st){var bi=function kn(Qn){st(Qn),Qn.children.forEach(kn)};on.forEach(bi)}this._onDidSplice.fire({insertedNodes:tn,deletedNodes:on})},pe.prototype.rerender=function(D){if(D.length===0)throw new L(this.user,"Invalid tree location");var ye=this.getTreeNodeWithListIndex(D),We=ye.node,Ze=ye.listIndex,st=ye.revealed;st&&this.list.splice(Ze,1,[We])},pe.prototype.has=function(D){return this.hasTreeNode(D)},pe.prototype.getListIndex=function(D){var ye=this.getTreeNodeWithListIndex(D),We=ye.listIndex,Ze=ye.visible,st=ye.revealed;return Ze&&st?We:-1},pe.prototype.getListRenderCount=function(D){return this.getTreeNode(D).renderNodeCount},pe.prototype.isCollapsible=function(D){return this.getTreeNode(D).collapsible},pe.prototype.setCollapsible=function(D,ye){var We=this,Ze=this.getTreeNode(D);typeof ye=="undefined"&&(ye=!Ze.collapsible);var st={collapsible:ye};return this.eventBufferer.bufferEvents(function(){return We._setCollapseState(D,st)})},pe.prototype.isCollapsed=function(D){return this.getTreeNode(D).collapsed},pe.prototype.setCollapsed=function(D,ye,We){var Ze=this,st=this.getTreeNode(D);typeof ye=="undefined"&&(ye=!st.collapsed);var mt={collapsed:ye,recursive:We||!1};return this.eventBufferer.bufferEvents(function(){return Ze._setCollapseState(D,mt)})},pe.prototype._setCollapseState=function(D,ye){var We=this.getTreeNodeWithListIndex(D),Ze=We.node,st=We.listIndex,mt=We.revealed,Kt=this._setListNodeCollapseState(Ze,st,mt,ye);if(Ze!==this.root&&this.autoExpandSingleChildren&&Kt&&!W(ye)&&Ze.collapsible&&!Ze.collapsed&&!ye.recursive){for(var Xt=-1,no=0;no-1){Xt=-1;break}else Xt=no}Xt>-1&&this._setCollapseState(R(D,[Xt]),ye)}return Kt},pe.prototype._setListNodeCollapseState=function(D,ye,We,Ze){var st=this._setNodeCollapseState(D,Ze,!1);if(!We||!D.visible||!st)return st;var mt=D.renderNodeCount,Kt=this.updateNodeAfterCollapseChange(D),Xt=mt-(ye===-1?0:1);return this.list.splice(ye+1,Xt,Kt.slice(1)),st},pe.prototype._setNodeCollapseState=function(D,ye,We){var Ze;if(D===this.root?Ze=!1:(W(ye)?(Ze=D.collapsible!==ye.collapsible,D.collapsible=ye.collapsible):D.collapsible?(Ze=D.collapsed!==ye.collapsed,D.collapsed=ye.collapsed):Ze=!1,Ze&&this._onDidChangeCollapseState.fire({node:D,deep:We})),!W(ye)&&ye.recursive)for(var st=0,mt=D.children;st0,Xt.visibleChildrenCount=wo,Xt.visible=no===2?wo>0:no===1,Xt.visible?Xt.collapsed||(Xt.renderNodeCount=_o):(Xt.renderNodeCount=0,Ze&&st.pop()),mt&&mt(Xt),Xt},pe.prototype.updateNodeAfterCollapseChange=function(D){var ye=D.renderNodeCount,We=[];return this._updateNodeAfterCollapseChange(D,We),this._updateAncestorsRenderNodeCount(D.parent,We.length-ye),We},pe.prototype._updateNodeAfterCollapseChange=function(D,ye){if(D.visible===!1)return 0;if(ye.push(D),D.renderNodeCount=1,!D.collapsed)for(var We=0,Ze=D.children;Weye.children.length?!1:this.hasTreeNode(Ze,ye.children[We])},pe.prototype.getTreeNode=function(D,ye){if(ye===void 0&&(ye=this.root),!D||D.length===0)return ye;var We=D[0],Ze=D.slice(1);if(We<0||We>ye.children.length)throw new L(this.user,"Invalid tree location");return this.getTreeNode(Ze,ye.children[We])},pe.prototype.getTreeNodeWithListIndex=function(D){if(D.length===0)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};var ye=this.getParentNodeWithListIndex(D),We=ye.parentNode,Ze=ye.listIndex,st=ye.revealed,mt=ye.visible,Kt=D[D.length-1];if(Kt<0||Kt>We.children.length)throw new L(this.user,"Invalid tree location");var Xt=We.children[Kt];return{node:Xt,listIndex:Ze,revealed:st,visible:mt&&Xt.visible}},pe.prototype.getParentNodeWithListIndex=function(D,ye,We,Ze,st){ye===void 0&&(ye=this.root),We===void 0&&(We=0),Ze===void 0&&(Ze=!0),st===void 0&&(st=!0);var mt=D[0],Kt=D.slice(1);if(mt<0||mt>ye.children.length)throw new L(this.user,"Invalid tree location");for(var Xt=0;Xt0)?(Object(T.g)(ye.twistie,"codicon","codicon-chevron-down","collapsible"),Object(T.Y)(ye.twistie,"collapsed",D.collapsed)):Object(T.Q)(ye.twistie,"codicon","codicon-chevron-down","collapsible","collapsed"),D.collapsible?ye.container.setAttribute("aria-expanded",String(!D.collapsed)):ye.container.removeAttribute("aria-expanded")},pe.prototype.renderIndentGuides=function(D,ye){var We=this;if(Object(T.t)(ye.indent),ye.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;for(var Ze=new J.b,st=this.modelProvider(),mt=D,Kt=function(){var lo=st.getNodeLocation(mt),Ro=st.getParentNodeLocation(lo);if(!Ro)return"break";var wo=st.getNode(Ro),_o=Object(T.a)(".indent-guide",{style:"width: "+Xt.indent+"px"});Xt.activeIndentNodes.has(wo)&&Object(T.f)(_o,"active"),ye.indent.childElementCount===0?ye.indent.appendChild(_o):ye.indent.insertBefore(_o,ye.indent.firstElementChild),Xt.renderedIndentGuides.add(wo,_o),Ze.add(Object(J.h)(function(){return We.renderedIndentGuides.delete(wo,_o)})),mt=wo},Xt=this;;){var no=Kt();if(no==="break")break}ye.indentGuidesDisposable=Ze},pe.prototype._onDidChangeActiveNodes=function(D){var ye=this;if(!this.shouldRenderIndentGuides)return;var We=new Set,Ze=this.modelProvider();D.forEach(function(st){var mt=Ze.getNodeLocation(st);try{var Kt=Ze.getParentNodeLocation(mt);st.collapsible&&st.children.length>0&&!st.collapsed?We.add(st):Kt&&We.add(Ze.getNode(Kt))}catch(Xt){}}),this.activeIndentNodes.forEach(function(st){We.has(st)||ye.renderedIndentGuides.forEach(st,function(mt){return Object(T.P)(mt,"active")})}),We.forEach(function(st){ye.activeIndentNodes.has(st)||ye.renderedIndentGuides.forEach(st,function(mt){return Object(T.f)(mt,"active")})}),this.activeIndentNodes=We},pe.prototype.dispose=function(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),Object(J.f)(this.disposables)},pe.DefaultIndent=8,pe}(),me=function(){function pe(D,ye,We){this.tree=D,this.keyboardNavigationLabelProvider=ye,this._filter=We,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new J.b,D.onWillRefilter(this.reset,this,this.disposables)}return Object.defineProperty(pe.prototype,"totalCount",{get:function(){return this._totalCount},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"matchCount",{get:function(){return this._matchCount},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"pattern",{set:function(ye){this._pattern=ye,this._lowercasePattern=ye.toLowerCase()},enumerable:!0,configurable:!0}),pe.prototype.filter=function(D,ye){if(this._filter){var We=this._filter.filter(D,ye);if(this.tree.options.simpleKeyboardNavigation)return We;var Ze=void 0;if(typeof We=="boolean"?Ze=We?1:0:$(We)?Ze=ie(We.visibility):Ze=We,Ze===0)return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:m.a.Default,visibility:!0};var st=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(D),mt=st&&st.toString();if(typeof mt=="undefined")return{data:m.a.Default,visibility:!0};var Kt=Object(m.d)(this._pattern,this._lowercasePattern,0,mt,mt.toLowerCase(),0,!0);return Kt?(this._matchCount++,{data:Kt,visibility:!0}):this.tree.options.filterOnType?2:{data:m.a.Default,visibility:!0}},pe.prototype.reset=function(){this._totalCount=0,this._matchCount=0},pe.prototype.dispose=function(){Object(J.f)(this.disposables)},pe}(),ge=function(){function pe(D,ye,We,Ze,st){this.tree=D,this.view=We,this.filter=Ze,this.keyboardNavigationDelegate=st,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new w.a,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new w.a,this.enabledDisposables=new J.b,this.disposables=new J.b,this.domNode=Object(T.a)(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,Object(d.a)(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=Object(T.q)(We.getHTMLElement(),Object(T.a)(".monaco-list-type-filter-message")),this.labelDomNode=Object(T.q)(this.domNode,Object(T.a)("span.label"));var mt=Object(T.q)(this.domNode,Object(T.a)(".controls"));this._filterOnType=!!D.options.filterOnType,this.filterOnTypeDomNode=Object(T.q)(mt,Object(T.a)("input.filter.codicon.codicon-list-selection")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitle(),Object(d.a)(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=Object(T.q)(mt,Object(T.a)("button.clear.codicon.codicon-close")),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=Object(I.a)("clear","Clear"),this.keyboardNavigationEventFilter=D.options.keyboardNavigationEventFilter,ye.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(D.options)}return Object.defineProperty(pe.prototype,"enabled",{get:function(){return this._enabled},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"pattern",{get:function(){return this._pattern},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"filterOnType",{get:function(){return this._filterOnType},enumerable:!0,configurable:!0}),pe.prototype.updateOptions=function(D){D.simpleKeyboardNavigation?this.disable():this.enable(),typeof D.filterOnType!="undefined"&&(this._filterOnType=!!D.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType),typeof D.automaticKeyboardNavigation!="undefined"&&(this.automaticKeyboardNavigation=D.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")},pe.prototype.enable=function(){var D=this;if(this._enabled)return;var ye=w.b.chain(Object(d.a)(this.view.getHTMLElement(),"keydown")).filter(function(Ze){return!we(Ze.target)||Ze.target===D.filterOnTypeDomNode}).filter(function(Ze){return Ze.key!=="Dead"&&!/^Media/.test(Ze.key)}).map(function(Ze){return new p.a(Ze)}).filter(this.keyboardNavigationEventFilter||function(){return!0}).filter(function(){return D.automaticKeyboardNavigation||D.triggered}).filter(function(Ze){return D.keyboardNavigationDelegate.mightProducePrintableCharacter(Ze)||(D.pattern.length>0||D.triggered)&&(Ze.keyCode===9||Ze.keyCode===1)&&!Ze.altKey&&!Ze.ctrlKey&&!Ze.metaKey||Ze.keyCode===1&&(Ce.e?Ze.altKey&&!Ze.metaKey:Ze.ctrlKey)&&!Ze.shiftKey}).forEach(function(Ze){Ze.stopPropagation(),Ze.preventDefault()}).event,We=Object(d.a)(this.clearDomNode,"click");w.b.chain(w.b.any(ye,We)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1},pe.prototype.disable=function(){if(!this._enabled)return;this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1},pe.prototype.onEventOrInput=function(D){typeof D=="string"?this.onInput(D):D instanceof MouseEvent||D.keyCode===9||D.keyCode===1&&(Ce.e?D.altKey:D.ctrlKey)?this.onInput(""):D.keyCode===1?this.onInput(this.pattern.length===0?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+D.browserEvent.key)},pe.prototype.onInput=function(D){var ye=this.view.getHTMLElement();D&&!this.domNode.parentElement?ye.append(this.domNode):!D&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=D,this._onDidChangePattern.fire(D),this.filter.pattern=D,this.tree.refilter(),D&&this.tree.focusNext(0,!0,void 0,function(st){return!m.a.isDefault(st.filterData)});var We=this.tree.getFocus();if(We.length>0){var Ze=We[0];this.tree.getRelativeTop(Ze)===null&&this.tree.reveal(Ze,.5)}this.render(),D||(this.triggered=!1)},pe.prototype.onDragStart=function(){var D=this,ye=this.view.getHTMLElement(),We=Object(T.C)(ye).left,Ze=ye.clientWidth,st=Ze/2,mt=this.domNode.clientWidth,Kt=new J.b,Xt=this.positionClassName,no=function(){switch(Xt){case"nw":D.domNode.style.top="4px",D.domNode.style.left="4px";break;case"ne":D.domNode.style.top="4px",D.domNode.style.left=Ze-mt-6+"px";break}},vo=function(wo){wo.preventDefault();var _o=wo.screenX-We;wo.dataTransfer&&(wo.dataTransfer.dropEffect="none"),_o0&&this.filter.matchCount===0;this.pattern&&this.tree.options.filterOnType&&D?(this.messageDomNode.textContent=Object(I.a)("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerHTML="",this._empty=!1),Object(T.Y)(this.domNode,"no-matches",D),this.domNode.title=Object(I.a)("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"\u2026"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)},pe.prototype.shouldAllowFocus=function(D){return!this.enabled||!this.pattern||this.filterOnType||this.filter.totalCount>0&&this.filter.matchCount<=1?!0:!m.a.isDefault(D.filterData)},pe.prototype.dispose=function(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),Object(J.f)(this.disposables)},pe}();function we(pe){return pe.tagName==="INPUT"||pe.tagName==="TEXTAREA"}function Re(pe){return{elements:pe.elements.map(function(D){return D.element}),browserEvent:pe.browserEvent}}function Ee(pe,D){D(pe),pe.children.forEach(function(ye){return Ee(ye,D)})}var ve=function(){function pe(D){this.identityProvider=D,this.nodes=[],this._onDidChange=new w.a,this.onDidChange=this._onDidChange.event}return Object.defineProperty(pe.prototype,"nodeSet",{get:function(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet},enumerable:!0,configurable:!0}),pe.prototype.set=function(D,ye){if(Object(s.g)(this.nodes,D))return;this._set(D,!1,ye)},pe.prototype._set=function(D,ye,We){if(this.nodes=ne(D),this.elements=void 0,this._nodeSet=void 0,!ye){var Ze=this;this._onDidChange.fire({get elements(){return Ze.get()},browserEvent:We})}},pe.prototype.get=function(){return this.elements||(this.elements=this.nodes.map(function(D){return D.element})),ne(this.elements)},pe.prototype.getNodes=function(){return this.nodes},pe.prototype.has=function(D){return this.nodeSet.has(D)},pe.prototype.onDidModelSplice=function(D){var ye=this,We=D.insertedNodes,Ze=D.deletedNodes;if(!this.identityProvider){var st=this.createNodeSet(),mt=function(tn){return st.delete(tn)};Ze.forEach(function(xo){return Ee(xo,mt)}),this.set(Object(Me.e)(st));return}var Kt=new Set,Xt=function(tn){return Kt.add(ye.identityProvider.getId(tn.element).toString())};Ze.forEach(function(xo){return Ee(xo,Xt)});var no=new Map,vo=function(tn){return no.set(ye.identityProvider.getId(tn.element).toString(),tn)};We.forEach(function(xo){return Ee(xo,vo)});for(var lo=[],Ro=0,wo=this.nodes;Ro0&&pe.prototype.setFocus.call(this,Object(s.f)(ne(pe.prototype.getFocus.call(this),mt))),Kt.length>0&&pe.prototype.setSelection.call(this,Object(s.f)(ne(pe.prototype.getSelection.call(this),Kt)))},D.prototype.setFocus=function(ye,We,Ze){var st=this;Ze===void 0&&(Ze=!1),pe.prototype.setFocus.call(this,ye,We),Ze||this.focusTrait.set(ye.map(function(mt){return st.element(mt)}),We)},D.prototype.setSelection=function(ye,We,Ze){var st=this;Ze===void 0&&(Ze=!1),pe.prototype.setSelection.call(this,ye,We),Ze||this.selectionTrait.set(ye.map(function(mt){return st.element(mt)}),We)},D}(re.c),F=function(){function pe(D,ye,We,Ze,st){var mt=this;st===void 0&&(st={}),this._options=st,this.eventBufferer=new w.c,this.disposables=new J.b,this._onWillRefilter=new w.a,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new w.a;var Kt=new X(We),Xt=new w.f,no=new w.f,vo=new je(no.event);this.renderers=Ze.map(function(xo){return new Xe(xo,function(){return mt.model},Xt.event,vo,st)});for(var lo=0,Ro=this.renderers;lo .indent-guide, .monaco-list"+ye+".always .monaco-tl-indent > .indent-guide { border-color: "+D.treeIndentGuidesStroke.transparent(.4)+"; }"),We.push(".monaco-list"+ye+" .monaco-tl-indent > .indent-guide.active { border-color: "+D.treeIndentGuidesStroke+"; }"));var Ze=We.join(` -`);Ze!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=Ze),this.view.style(D)},pe.prototype.collapse=function(D,ye){return ye===void 0&&(ye=!1),this.model.setCollapsed(D,!0,ye)},pe.prototype.expand=function(D,ye){return ye===void 0&&(ye=!1),this.model.setCollapsed(D,!1,ye)},pe.prototype.isCollapsible=function(D){return this.model.isCollapsible(D)},pe.prototype.setCollapsible=function(D,ye){return this.model.setCollapsible(D,ye)},pe.prototype.isCollapsed=function(D){return this.model.isCollapsed(D)},pe.prototype.refilter=function(){this._onWillRefilter.fire(void 0),this.model.refilter()},pe.prototype.setSelection=function(D,ye){var We=this,Ze=D.map(function(mt){return We.model.getNode(mt)});this.selection.set(Ze,ye);var st=D.map(function(mt){return We.model.getListIndex(mt)}).filter(function(mt){return mt>-1});this.view.setSelection(st,ye,!0)},pe.prototype.getSelection=function(){return this.selection.get()},pe.prototype.setFocus=function(D,ye){var We=this,Ze=D.map(function(mt){return We.model.getNode(mt)});this.focus.set(Ze,ye);var st=D.map(function(mt){return We.model.getListIndex(mt)}).filter(function(mt){return mt>-1});this.view.setFocus(st,ye,!0)},pe.prototype.focusNext=function(D,ye,We,Ze){D===void 0&&(D=1),ye===void 0&&(ye=!1),Ze===void 0&&(Ze=this.focusNavigationFilter),this.view.focusNext(D,ye,We,Ze)},pe.prototype.getFocus=function(){return this.focus.get()},pe.prototype.reveal=function(D,ye){this.model.expandTo(D);var We=this.model.getListIndex(D);if(We===-1)return;this.view.reveal(We,ye)},pe.prototype.getRelativeTop=function(D){var ye=this.model.getListIndex(D);return ye===-1?null:this.view.getRelativeTop(ye)},pe.prototype.onLeftArrow=function(D){D.preventDefault(),D.stopPropagation();var ye=this.view.getFocusedElements();if(ye.length===0)return;var We=ye[0],Ze=this.model.getNodeLocation(We),st=this.model.setCollapsed(Ze,!0);if(!st){var mt=this.model.getParentNodeLocation(Ze);if(!mt)return;var Kt=this.model.getListIndex(mt);this.view.reveal(Kt),this.view.setFocus([Kt])}},pe.prototype.onRightArrow=function(D){D.preventDefault(),D.stopPropagation();var ye=this.view.getFocusedElements();if(ye.length===0)return;var We=ye[0],Ze=this.model.getNodeLocation(We),st=this.model.setCollapsed(Ze,!1);if(!st){if(!We.children.some(function(Xt){return Xt.visible}))return;var mt=this.view.getFocus()[0],Kt=mt+1;this.view.reveal(Kt),this.view.setFocus([Kt])}},pe.prototype.onSpace=function(D){D.preventDefault(),D.stopPropagation();var ye=this.view.getFocusedElements();if(ye.length===0)return;var We=ye[0],Ze=this.model.getNodeLocation(We),st=D.browserEvent.altKey;this.model.setCollapsed(Ze,void 0,st)},pe.prototype.dispose=function(){Object(J.f)(this.disposables),this.view.dispose()},pe}(),se=function(){return se=Object.assign||function(pe){for(var D,ye=1,We=arguments.length;ye=0;Kt--)(mt=pe[Kt])&&(st=(Ze<3?mt(st):Ze>3?mt(D,ye,st):mt(D,ye))||st);return Ze>3&&st&&Object.defineProperty(D,ye,st),st},at=function(pe){ft(D,pe);function D(ye,We,Ze,st,mt){return mt===void 0&&(mt={}),pe.call(this,ye,We,Ze,st,mt)||this}return Object.defineProperty(D.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),D.prototype.setChildren=function(ye,We){this.model.setChildren(ye,We)},D.prototype.rerender=function(ye){if(ye===void 0){this.view.rerender();return}this.model.rerender(ye)},D.prototype.hasElement=function(ye){return this.model.has(ye)},D.prototype.createModel=function(ye,We,Ze){return new be(ye,We,Ze)},D}(F),tt=function(){function pe(D,ye){this._compressedTreeNodeProvider=D,this.renderer=ye,this.templateId=ye.templateId,ye.onDidChangeTwistieState&&(this.onDidChangeTwistieState=ye.onDidChangeTwistieState)}return Object.defineProperty(pe.prototype,"compressedTreeNodeProvider",{get:function(){return this._compressedTreeNodeProvider()},enumerable:!0,configurable:!0}),pe.prototype.renderTemplate=function(D){var ye=this.renderer.renderTemplate(D);return{compressedTreeNode:void 0,data:ye}},pe.prototype.renderElement=function(D,ye,We,Ze){var st=this.compressedTreeNodeProvider.getCompressedTreeNode(D.element);st.element.elements.length===1?(We.compressedTreeNode=void 0,this.renderer.renderElement(D,ye,We.data,Ze)):(We.compressedTreeNode=st,this.renderer.renderCompressedElements(st,ye,We.data,Ze))},pe.prototype.disposeElement=function(D,ye,We,Ze){We.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(We.compressedTreeNode,ye,We.data,Ze):this.renderer.disposeElement&&this.renderer.disposeElement(D,ye,We.data,Ze)},pe.prototype.disposeTemplate=function(D){this.renderer.disposeTemplate(D.data)},pe.prototype.renderTwistie=function(D,ye){this.renderer.renderTwistie&&this.renderer.renderTwistie(D,ye)},At([Pt.a],pe.prototype,"compressedTreeNodeProvider",null),pe}();function ut(pe,D){return D&&vt(vt({},D),{keyboardNavigationLabelProvider:D.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel:function(We){var Ze;try{Ze=pe().getCompressedTreeNode(We)}catch(st){return D.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(We)}return Ze.element.elements.length===1?D.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(We):D.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(Ze.element.elements)}}})}var Ct=function(pe){ft(D,pe);function D(ye,We,Ze,st,mt){mt===void 0&&(mt={});var Kt=this,Xt=function(){return Kt},no=st.map(function(vo){return new tt(Xt,vo)});return Kt=pe.call(this,ye,We,Ze,no,ut(Xt,mt))||this,Kt}return D.prototype.setChildren=function(ye,We){this.model.setChildren(ye,We)},D.prototype.createModel=function(ye,We,Ze){return new so(ye,We,Ze)},D.prototype.updateOptions=function(ye){ye===void 0&&(ye={}),pe.prototype.updateOptions.call(this,ye),typeof ye.compressionEnabled!="undefined"&&this.model.setCompressionEnabled(ye.compressionEnabled)},D.prototype.getCompressedTreeNode=function(ye){return ye===void 0&&(ye=null),this.model.getCompressedTreeNode(ye)},D}(at),gt=e("/cxE"),bt=function(){var pe=function(ye,We){return pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ze,st){Ze.__proto__=st}||function(Ze,st){for(var mt in st)st.hasOwnProperty(mt)&&(Ze[mt]=st[mt])},pe(ye,We)};return function(D,ye){pe(D,ye);function We(){this.constructor=D}D.prototype=ye===null?Object.create(ye):(We.prototype=ye.prototype,new We)}}(),Gt=function(){return Gt=Object.assign||function(pe){for(var D,ye=1,We=arguments.length;ye0&&st[st.length-1])&&(no[0]===6||no[0]===2)){ye=0;continue}if(no[0]===3&&(!st||no[1]>st[0]&&no[1]-1&&Ze.focus.push(Rn),Ze&&Ze.viewState.selection&&Ze.viewState.selection.indexOf(On)>-1&&Ze.selection.push(Rn),Ze&&Ze.viewState.expanded&&Ze.viewState.expanded.indexOf(On)>-1?wo.push(Rn):En&&mt.collapseByDefault&&!mt.collapseByDefault(gn)&&(Rn.collapsedByDefault=!1,wo.push(Rn)),Rn}),jo=0,Uo=Object(Me.e)(Kt);jo-1?Ze=!1:Ze=D.collapsedByDefault,D.collapsedByDefault=void 0,{element:D,children:D.hasChildren?k.d.map(k.d.fromArray(D.children),function(st){return We.asTreeElement(st,ye)}):[],collapsible:D.hasChildren,collapsed:Ze}},pe.prototype.processChildren=function(D){return this.sorter&&D.sort(this.sorter.compare.bind(this.sorter)),D},pe.prototype.dispose=function(){this.disposables.dispose()},pe}(),eo=function(){function pe(D){this.node=D}return Object.defineProperty(pe.prototype,"element",{get:function(){return{elements:this.node.element.elements.map(function(ye){return ye.element}),incompressible:this.node.element.incompressible}},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"children",{get:function(){return this.node.children.map(function(ye){return new pe(ye)})},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"depth",{get:function(){return this.node.depth},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"visibleChildrenCount",{get:function(){return this.node.visibleChildrenCount},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"visibleChildIndex",{get:function(){return this.node.visibleChildIndex},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"collapsible",{get:function(){return this.node.collapsible},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"collapsed",{get:function(){return this.node.collapsed},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"visible",{get:function(){return this.node.visible},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"filterData",{get:function(){return this.node.filterData},enumerable:!0,configurable:!0}),pe}(),po=function(){function pe(D,ye,We,Ze){this.renderer=D,this.nodeMapper=ye,this.compressibleNodeMapperProvider=We,this.onDidChangeTwistieState=Ze,this.renderedNodes=new Map,this.disposables=[],this.templateId=D.templateId}return pe.prototype.renderTemplate=function(D){var ye=this.renderer.renderTemplate(D);return{templateData:ye}},pe.prototype.renderElement=function(D,ye,We,Ze){this.renderer.renderElement(this.nodeMapper.map(D),ye,We.templateData,Ze)},pe.prototype.renderCompressedElements=function(D,ye,We,Ze){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(D),ye,We.templateData,Ze)},pe.prototype.renderTwistie=function(D,ye){return Object(T.Y)(ye,"codicon-loading",D.slow),!1},pe.prototype.disposeElement=function(D,ye,We,Ze){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(D),ye,We.templateData,Ze)},pe.prototype.disposeCompressedElements=function(D,ye,We,Ze){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(D),ye,We.templateData,Ze)},pe.prototype.disposeTemplate=function(D){this.renderer.disposeTemplate(D.templateData)},pe.prototype.dispose=function(){this.renderedNodes.clear(),this.disposables=Object(J.f)(this.disposables)},pe}();function co(pe){var D=pe&<(pe);return D&&Gt(Gt({},D),{keyboardNavigationLabelProvider:D.keyboardNavigationLabelProvider&&Gt(Gt({},D.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:function(We){return pe.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(We.map(function(Ze){return Ze.element}))}})})}var Eo=function(pe){bt(D,pe);function D(ye,We,Ze,st,mt,Kt,Xt){Xt===void 0&&(Xt={});var no=pe.call(this,ye,We,Ze,mt,Kt,Xt)||this;return no.compressionDelegate=st,no.compressibleNodeMapper=new A(function(vo){return new eo(vo)}),no.filter=Xt.filter,no}return D.prototype.createTree=function(ye,We,Ze,st,mt){var Kt=this,Xt=new X(Ze),no=st.map(function(lo){return new po(lo,Kt.nodeMapper,function(){return Kt.compressibleNodeMapper},Kt._onDidChangeNodeSlowState.event)}),vo=co(mt)||{};return new Ct(ye,We,Xt,no,vo)},D.prototype.asTreeElement=function(ye,We){return Gt({incompressible:this.compressionDelegate.isIncompressible(ye.element)},pe.prototype.asTreeElement.call(this,ye,We))},D.prototype.updateOptions=function(ye){ye===void 0&&(ye={}),this.tree.updateOptions(ye)},D.prototype.render=function(ye,We){var Ze=this;if(!this.identityProvider)return pe.prototype.render.call(this,ye,We);var st=function(jo){return Ze.identityProvider.getId(jo).toString()},mt=function(jo){for(var Uo=new Set,Do=0,xo=jo;Do=0;Kt--)(mt=pe[Kt])&&(st=(Ze<3?mt(st):Ze>3?mt(D,ye,st):mt(D,ye))||st);return Ze>3&&st&&Object.defineProperty(D,ye,st),st},Mo=function(pe,D){return function(ye,We){D(ye,We,pe)}},Qo,fn=Object(H.c)("listService"),Vo=function(){function pe(D){this._themeService=D,this.disposables=new J.b,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}return Object.defineProperty(pe.prototype,"lastFocusedList",{get:function(){return this._lastFocusedWidget},enumerable:!0,configurable:!0}),pe.prototype.register=function(D,ye){var We=this;if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;var Ze=new re.b(Object(T.w)(),"");this.disposables.add(Object(y.b)(Ze,this._themeService))}if(this.lists.some(function(mt){return mt.widget===D}))throw new Error("Cannot register the same widget multiple times");var st={widget:D,extraContextKeys:ye};return this.lists.push(st),D.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=D),Object(J.e)(D.onDidFocus(function(){return We._lastFocusedWidget=D}),Object(J.h)(function(){return We.lists.splice(We.lists.indexOf(st),1)}),D.onDidDispose(function(){We.lists=We.lists.filter(function(mt){return mt!==st}),We._lastFocusedWidget===D&&(We._lastFocusedWidget=void 0)}))},pe.prototype.dispose=function(){this.disposables.dispose()},pe=Bo([Mo(0,_.c)],pe),pe}(),mn=new O.d("listFocus",!0),yn=new O.d("listSupportsMultiselect",!0),dn=O.a.and(mn,O.a.not(f)),rn=new O.d("listHasSelectionOrFocus",!1),pn=new O.d("listDoubleSelection",!1),zo=new O.d("listMultiSelection",!1),Ho=new O.d("listSupportsKeyboardNavigation",!0),St="listAutomaticKeyboardNavigation",ot=new O.d(St,!0),nt=!1;function Dt(pe,D){var ye=pe.createScoped(D.getHTMLElement());return mn.bindTo(ye),ye}var _e="workbench.list.multiSelectModifier",M="workbench.list.openMode",P="workbench.list.horizontalScrolling",Z="workbench.list.keyboardNavigation",Ae="workbench.list.automaticKeyboardNavigation",xe="workbench.tree.indent",Ne="workbench.tree.renderIndentGuides";function dt(pe){return Object(U.f)(pe,P,"workbench.tree.horizontalScrolling")}function ht(pe){return pe.getValue(_e)==="alt"}function xt(pe){return pe.getValue(M)!=="doubleClick"}var Bt=function(pe){Wo(D,pe);function D(ye){var We=pe.call(this)||this;return We.configurationService=ye,We.useAltAsMultipleSelectionModifier=ht(ye),We.registerListeners(),We}return D.prototype.registerListeners=function(){var ye=this;this._register(this.configurationService.onDidChangeConfiguration(function(We){We.affectsConfiguration(_e)&&(ye.useAltAsMultipleSelectionModifier=ht(ye.configurationService))}))},D.prototype.isSelectionSingleChangeEvent=function(ye){return this.useAltAsMultipleSelectionModifier?ye.browserEvent.altKey:Object(re.f)(ye)},D.prototype.isSelectionRangeChangeEvent=function(ye){return Object(re.e)(ye)},D}(J.a),Ht=function(pe){Wo(D,pe);function D(ye,We){var Ze=pe.call(this)||this;return Ze.configurationService=ye,Ze.existingOpenController=We,Ze.openOnSingleClick=xt(ye),Ze.registerListeners(),Ze}return D.prototype.registerListeners=function(){var ye=this;this._register(this.configurationService.onDidChangeConfiguration(function(We){We.affectsConfiguration(M)&&(ye.openOnSingleClick=xt(ye.configurationService))}))},D.prototype.shouldOpen=function(ye){if(ye instanceof MouseEvent){var We=ye.button===0,Ze=ye.detail===2;return We&&!this.openOnSingleClick&&!Ze?!1:We||ye.button===1?this.existingOpenController?this.existingOpenController.shouldOpen(ye):!0:!1}return this.existingOpenController?this.existingOpenController.shouldOpen(ye):!0},D}(J.a);function Ut(pe,D,ye){var We=new J.b,Ze=Go({},pe);if(pe.multipleSelectionSupport!==!1&&!pe.multipleSelectionController){var st=new Bt(D);Ze.multipleSelectionController=st,We.add(st)}var mt=new Ht(D,pe.openController);return Ze.openController=mt,We.add(mt),Ze.keyboardNavigationDelegate={mightProducePrintableCharacter:function(Xt){return ye.mightProducePrintableCharacter(Xt)}},[Ze,We]}function oo(pe,D){var ye=!1;return function(We){if(ye)return ye=!1,!1;var Ze=D.softDispatch(We,pe);return Ze&&Ze.enterChord?(ye=!0,!1):(ye=!1,!0)}}var Zt=function(pe){Wo(D,pe);function D(ye,We,Ze,st,mt,Kt,Xt,no,vo,lo,Ro){var wo=this,_o=Oe(We,mt,Kt,vo,lo,Ro),jo=_o.options,Uo=_o.getAutomaticKeyboardNavigation,Do=_o.disposable;return wo=pe.call(this,ye,We,Ze,st,jo)||this,wo.disposables.add(Do),wo.internals=new rt(wo,jo,Uo,mt.overrideStyles,Kt,Xt,no,vo,Ro),wo.disposables.add(wo.internals),wo}return D=Bo([Mo(5,O.c),Mo(6,fn),Mo(7,_.c),Mo(8,U.a),Mo(9,x.a),Mo(10,Co.b)],D),D}(at),fo=function(pe){Wo(D,pe);function D(ye,We,Ze,st,mt,Kt,Xt,no,vo,lo,Ro,wo){var _o=this,jo=Oe(We,Kt,Xt,lo,Ro,wo),Uo=jo.options,Do=jo.getAutomaticKeyboardNavigation,xo=jo.disposable;return _o=pe.call(this,ye,We,Ze,st,mt,Uo)||this,_o.disposables.add(xo),_o.internals=new rt(_o,Uo,Do,Kt.overrideStyles,Xt,no,vo,lo,wo),_o.disposables.add(_o.internals),_o}return D.prototype.updateOptions=function(ye){ye===void 0&&(ye={}),pe.prototype.updateOptions.call(this,ye),ye.overrideStyles&&this.internals.updateStyleOverrides(ye.overrideStyles)},D=Bo([Mo(6,O.c),Mo(7,fn),Mo(8,_.c),Mo(9,U.a),Mo(10,x.a),Mo(11,Co.b)],D),D}(Zo),yt=function(pe){Wo(D,pe);function D(ye,We,Ze,st,mt,Kt,Xt,no,vo,lo,Ro,wo){var _o=this,jo=Oe(We,Kt,Xt,lo,Ro,wo),Uo=jo.options,Do=jo.getAutomaticKeyboardNavigation,xo=jo.disposable;return _o=pe.call(this,ye,We,Ze,st,mt,Uo)||this,_o.disposables.add(xo),_o.internals=new rt(_o,Uo,Do,Kt.overrideStyles,Xt,no,vo,lo,wo),_o.disposables.add(_o.internals),_o}return D.prototype.updateOptions=function(ye){ye===void 0&&(ye={}),pe.prototype.updateOptions.call(this,ye),ye.overrideStyles&&this.internals.updateStyleOverrides(ye.overrideStyles)},D=Bo([Mo(6,O.c),Mo(7,fn),Mo(8,_.c),Mo(9,U.a),Mo(10,x.a),Mo(11,Co.b)],D),D}(Jt),He=function(pe){Wo(D,pe);function D(ye,We,Ze,st,mt,Kt,Xt,no,vo,lo,Ro,wo,_o){var jo=this,Uo=Oe(We,Xt,no,Ro,wo,_o),Do=Uo.options,xo=Uo.getAutomaticKeyboardNavigation,tn=Uo.disposable;return jo=pe.call(this,ye,We,Ze,st,mt,Kt,Do)||this,jo.disposables.add(tn),jo.internals=new rt(jo,Do,xo,Xt.overrideStyles,no,vo,lo,Ro,_o),jo.disposables.add(jo.internals),jo}return D=Bo([Mo(7,O.c),Mo(8,fn),Mo(9,_.c),Mo(10,U.a),Mo(11,x.a),Mo(12,Co.b)],D),D}(Eo);function Oe(pe,D,ye,We,Ze,st){Ho.bindTo(ye),nt||(ot.bindTo(ye),nt=!0);var mt=function(){var Uo=ye.getContextKeyValue(St);return Uo&&(Uo=We.getValue(Ae)),Uo},Kt=st.isScreenReaderOptimized(),Xt=Kt?"simple":We.getValue(Z),no=typeof D.horizontalScrolling!="undefined"?D.horizontalScrolling:dt(We),vo=xt(We),lo=Ut(D,We,Ze),Ro=lo[0],wo=lo[1],_o=D.additionalScrollHeight;return{getAutomaticKeyboardNavigation:mt,disposable:wo,options:Go(Go({keyboardSupport:!1},Ro),{indent:We.getValue(xe),renderIndentGuides:We.getValue(Ne),automaticKeyboardNavigation:mt(),simpleKeyboardNavigation:Xt==="simple",filterOnType:Xt==="filter",horizontalScrolling:no,openOnSingleClick:vo,keyboardNavigationEventFilter:oo(pe,Ze),additionalScrollHeight:_o,hideTwistiesOfChildlessElements:D.hideTwistiesOfChildlessElements})}}var rt=function(){function pe(D,ye,We,Ze,st,mt,Kt,Xt,no){var vo=this;this.tree=D,this.themeService=Kt,this.disposables=[],this.contextKeyService=Dt(st,D);var lo=yn.bindTo(this.contextKeyService);lo.set(!(ye.multipleSelectionSupport===!1)),this.hasSelectionOrFocus=rn.bindTo(this.contextKeyService),this.hasDoubleSelection=pn.bindTo(this.contextKeyService),this.hasMultiSelection=zo.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=ht(Xt);var Ro=new Set;Ro.add(St);var wo=function(){var jo=no.isScreenReaderOptimized(),Uo=jo?"simple":Xt.getValue(Z);D.updateOptions({simpleKeyboardNavigation:Uo==="simple",filterOnType:Uo==="filter"})};this.updateStyleOverrides(Ze),this.disposables.push(this.contextKeyService,mt.register(D),D.onDidChangeSelection(function(){var _o=D.getSelection(),jo=D.getFocus();vo.hasSelectionOrFocus.set(_o.length>0||jo.length>0),vo.hasMultiSelection.set(_o.length>1),vo.hasDoubleSelection.set(_o.length===2)}),D.onDidChangeFocus(function(){var _o=D.getSelection(),jo=D.getFocus();vo.hasSelectionOrFocus.set(_o.length>0||jo.length>0)}),Xt.onDidChangeConfiguration(function(_o){if(_o.affectsConfiguration(M)&&D.updateOptions({openOnSingleClick:xt(Xt)}),_o.affectsConfiguration(_e)&&(vo._useAltAsMultipleSelectionModifier=ht(Xt)),_o.affectsConfiguration(xe)){var jo=Xt.getValue(xe);D.updateOptions({indent:jo})}if(_o.affectsConfiguration(Ne)){var Uo=Xt.getValue(Ne);D.updateOptions({renderIndentGuides:Uo})}_o.affectsConfiguration(Z)&&wo(),_o.affectsConfiguration(Ae)&&D.updateOptions({automaticKeyboardNavigation:We()})}),this.contextKeyService.onDidChangeContext(function(_o){_o.affectsSome(Ro)&&D.updateOptions({automaticKeyboardNavigation:We()})}),no.onDidChangeScreenReaderOptimized(function(){return wo()}))}return pe.prototype.updateStyleOverrides=function(D){Object(J.f)(this.styler),this.styler=D?Object(y.b)(this.tree,this.themeService,D):J.a.None},pe.prototype.dispose=function(){this.disposables=Object(J.f)(this.disposables),this.styler=Object(J.f)(this.styler)},pe=Bo([Mo(4,O.c),Mo(5,fn),Mo(6,_.c),Mo(7,U.a),Mo(8,Co.b)],pe),pe}(),It=u.a.as(z.a.Configuration);It.registerConfiguration({id:"workbench",order:7,title:Object(I.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:(Qo={},Qo[_e]={type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(I.a)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(I.a)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(I.a)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},Qo[M]={type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(I.a)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable. ")},Qo[P]={type:"boolean",default:!1,description:Object(I.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench.")},Qo["workbench.tree.horizontalScrolling"]={type:"boolean",default:!1,description:Object(I.a)("tree horizontalScrolling setting","Controls whether trees support horizontal scrolling in the workbench."),deprecationMessage:Object(I.a)("deprecated","This setting is deprecated, please use '{0}' instead.",P)},Qo[xe]={type:"number",default:8,minimum:0,maximum:40,description:Object(I.a)("tree indent setting","Controls tree indentation in pixels.")},Qo[Ne]={type:"string",enum:["none","onHover","always"],default:"onHover",description:Object(I.a)("render tree indent guides","Controls whether the tree should render indent guides.")},Qo[Z]={type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(I.a)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(I.a)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object(I.a)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object(I.a)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},Qo[Ae]={type:"boolean",default:!0,markdownDescription:Object(I.a)("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")},Qo)})},kYye:function(Lt,j,e){"use strict";e.d(j,"i",function(){return U}),e.d(j,"j",function(){return z}),e.d(j,"g",function(){return y}),e.d(j,"f",function(){return _}),e.d(j,"h",function(){return v}),e.d(j,"a",function(){return w}),e.d(j,"k",function(){return p}),e.d(j,"b",function(){return s}),e.d(j,"m",function(){return l}),e.d(j,"e",function(){return d}),e.d(j,"c",function(){return m}),e.d(j,"d",function(){return E}),e.d(j,"l",function(){return L}),e.d(j,"n",function(){return k}),e.d(j,"o",function(){return R}),e.d(j,"p",function(){return $}),e.d(j,"r",function(){return ie}),e.d(j,"q",function(){return W});var T=e("3/fG"),re=e("zrhQ"),J=e("MD5Z"),I=e("t9D7"),U=Object(J.Tb)("editor.lineHighlightBackground",{dark:null,light:null,hc:null},T.a("lineHighlight","Background color for the highlight of line at the cursor position.")),z=Object(J.Tb)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},T.a("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),O=Object(J.Tb)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},T.a("rangeHighlight","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."),!0),H=Object(J.Tb)("editor.rangeHighlightBorder",{dark:null,light:null,hc:J.b},T.a("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),x=Object(J.Tb)("editor.symbolHighlightBackground",{dark:J.t,light:J.t,hc:null},T.a("symbolHighlight","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."),!0),u=Object(J.Tb)("editor.symbolHighlightBorder",{dark:null,light:null,hc:J.b},T.a("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),y=Object(J.Tb)("editorCursor.foreground",{dark:"#AEAFAD",light:re.a.black,hc:re.a.white},T.a("caret","Color of the editor cursor.")),_=Object(J.Tb)("editorCursor.background",null,T.a("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),f=Object(J.Tb)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},T.a("editorWhitespaces","Color of whitespace characters in the editor.")),v=Object(J.Tb)("editorIndentGuide.background",{dark:f,light:f,hc:f},T.a("editorIndentGuides","Color of the editor indentation guides.")),w=Object(J.Tb)("editorIndentGuide.activeBackground",{dark:f,light:f,hc:f},T.a("editorActiveIndentGuide","Color of the active editor indentation guides.")),p=Object(J.Tb)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:re.a.white},T.a("editorLineNumbers","Color of editor line numbers.")),c=Object(J.Tb)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:J.b},T.a("editorActiveLineNumber","Color of editor active line number"),!1,T.a("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),s=Object(J.Tb)("editorLineNumber.activeForeground",{dark:c,light:c,hc:c},T.a("editorActiveLineNumber","Color of editor active line number")),l=Object(J.Tb)("editorRuler.foreground",{dark:"#5A5A5A",light:re.a.lightgrey,hc:re.a.white},T.a("editorRuler","Color of the editor rulers.")),d=Object(J.Tb)("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},T.a("editorCodeLensForeground","Foreground color of editor code lenses")),m=Object(J.Tb)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},T.a("editorBracketMatchBackground","Background color behind matching brackets")),E=Object(J.Tb)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:J.e},T.a("editorBracketMatchBorder","Color for matching brackets boxes")),L=Object(J.Tb)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},T.a("editorOverviewRulerBorder","Color of the overview ruler border.")),A=Object(J.Tb)("editorGutter.background",{dark:J.o,light:J.o,hc:J.o},T.a("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),k=Object(J.Tb)("editorUnnecessaryCode.border",{dark:null,light:null,hc:re.a.fromHex("#fff").transparent(.8)},T.a("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),R=Object(J.Tb)("editorUnnecessaryCode.opacity",{dark:re.a.fromHex("#000a"),light:re.a.fromHex("#0007"),hc:null},T.a("unnecessaryCodeOpacity",`Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.`)),$=Object(J.Tb)("editorOverviewRuler.errorForeground",{dark:new re.a(new re.c(255,18,18,.7)),light:new re.a(new re.c(255,18,18,.7)),hc:new re.a(new re.c(255,50,50,1))},T.a("overviewRuleError","Overview ruler marker color for errors.")),ie=Object(J.Tb)("editorOverviewRuler.warningForeground",{dark:J.P,light:J.P,hc:J.O},T.a("overviewRuleWarning","Overview ruler marker color for warnings.")),W=Object(J.Tb)("editorOverviewRuler.infoForeground",{dark:J.H,light:J.H,hc:J.G},T.a("overviewRuleInfo","Overview ruler marker color for infos."));Object(I.e)(function(B,le){var Ce=B.getColor(J.o);Ce&&le.addRule(".monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: "+Ce+"; }");var Me=B.getColor(J.x);Me&&le.addRule(".monaco-editor, .monaco-editor .inputarea.ime-input { color: "+Me+"; }");var Te=B.getColor(A);Te&&le.addRule(".monaco-editor .margin { background-color: "+Te+"; }");var Fe=B.getColor(O);Fe&&le.addRule(".monaco-editor .rangeHighlight { background-color: "+Fe+"; }");var Ue=B.getColor(H);Ue&&le.addRule(".monaco-editor .rangeHighlight { border: 1px "+(B.type==="hc"?"dotted":"solid")+" "+Ue+"; }");var Pe=B.getColor(x);Pe&&le.addRule(".monaco-editor .symbolHighlight { background-color: "+Pe+"; }");var ne=B.getColor(u);ne&&le.addRule(".monaco-editor .symbolHighlight { border: 1px "+(B.type==="hc"?"dotted":"solid")+" "+ne+"; }");var ee=B.getColor(f);ee&&le.addRule(".vs-whitespace { color: "+ee+" !important; }")})},kdPm:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:function(){return e.e(276).then(e.bind(null,"3VBA"))}})},kqbb:function(Lt,j,e){"use strict";e.r(j),e.d(j,"ColorDetector",function(){return c});var T=e("X+cX"),re=e("zrhQ"),J=e("/cxE"),I=e("7afs"),U=e("pmY6"),z=e("sswD"),O=e("Vxe3"),H=e("aokT"),x=e("tX9W"),u=e("twdY"),y=e("ZIMw"),_=e("+7oY"),f=function(){var s=function(d,m){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,L){E.__proto__=L}||function(E,L){for(var A in L)L.hasOwnProperty(A)&&(E[A]=L[A])},s(d,m)};return function(l,d){s(l,d);function m(){this.constructor=l}l.prototype=d===null?Object.create(d):(m.prototype=d.prototype,new m)}}(),v=function(s,l,d,m){var E=arguments.length,L=E<3?l:m===null?m=Object.getOwnPropertyDescriptor(l,d):m,A;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")L=Reflect.decorate(s,l,d,m);else for(var k=s.length-1;k>=0;k--)(A=s[k])&&(L=(E<3?A(L):E>3?A(l,d,L):A(l,d))||L);return E>3&&L&&Object.defineProperty(l,d,L),L},w=function(s,l){return function(d,m){l(d,m,s)}},p=500,c=function(s){f(l,s);function l(d,m,E){var L=s.call(this)||this;return L._editor=d,L._codeEditorService=m,L._configurationService=E,L._localToDispose=L._register(new U.b),L._decorationsIds=[],L._colorDatas=new Map,L._colorDecoratorIds=[],L._decorationsTypes=new Set,L._register(d.onDidChangeModel(function(A){L._isEnabled=L.isEnabled(),L.onModelChanged()})),L._register(d.onDidChangeModelLanguage(function(A){return L.onModelChanged()})),L._register(u.c.onDidChange(function(A){return L.onModelChanged()})),L._register(d.onDidChangeConfiguration(function(A){var k=L._isEnabled;L._isEnabled=L.isEnabled(),k!==L._isEnabled&&(L._isEnabled?L.onModelChanged():L.removeAllDecorations())})),L._timeoutTimer=null,L._computePromise=null,L._isEnabled=L.isEnabled(),L.onModelChanged(),L}return l.prototype.isEnabled=function(){var d=this._editor.getModel();if(!d)return!1;var m=d.getLanguageIdentifier(),E=this._configurationService.getValue(m.language);if(E){var L=E.colorDecorators;if(L&&L.enable!==void 0&&!L.enable)return L.enable}return this._editor.getOption(12)},l.get=function(d){return d.getContribution(this.ID)},l.prototype.dispose=function(){this.stop(),this.removeAllDecorations(),s.prototype.dispose.call(this)},l.prototype.onModelChanged=function(){var d=this;if(this.stop(),!this._isEnabled)return;var m=this._editor.getModel();if(!m||!u.c.has(m))return;this._localToDispose.add(this._editor.onDidChangeModelContent(function(E){d._timeoutTimer||(d._timeoutTimer=new T.e,d._timeoutTimer.cancelAndSet(function(){d._timeoutTimer=null,d.beginCompute()},l.RECOMPUTE_TIME))})),this.beginCompute()},l.prototype.beginCompute=function(){var d=this;this._computePromise=Object(T.f)(function(m){var E=d._editor.getModel();return E?Object(y.b)(E,m):Promise.resolve([])}),this._computePromise.then(function(m){d.updateDecorations(m),d.updateColorDecorators(m),d._computePromise=null},J.e)},l.prototype.stop=function(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()},l.prototype.updateDecorations=function(d){var m=this,E=d.map(function(L){return{range:{startLineNumber:L.colorInfo.range.startLineNumber,startColumn:L.colorInfo.range.startColumn,endLineNumber:L.colorInfo.range.endLineNumber,endColumn:L.colorInfo.range.endColumn},options:x.a.EMPTY}});this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,E),this._colorDatas=new Map,this._decorationsIds.forEach(function(L,A){return m._colorDatas.set(L,d[A])})},l.prototype.updateColorDecorators=function(d){for(var m=this,E=[],L={},A=0;A0;we--){var Re=me.charCodeAt(we-1);if(Re===47||Re===92)break}ge=me.substr(we)}var Ee=ae.indexOf(ge);return Ee!==-1?q[Ee]:null};he.basenames=ae,he.patterns=q,he.allBasenames=ae;var je=Pe.filter(function(Xe){return!Xe.basenames});return je.push(he),je}},lKfe:function(Lt,j,e){},"lY/7":function(Lt,j,e){"use strict";e.r(j),e.d(j,"MarkerController",function(){return he}),e.d(j,"NextMarkerAction",function(){return Xe});var T=e("3/fG"),re=e("MI8n"),J=e("pmY6"),I=e("T8No"),U=e("tADe"),z=e("aokT"),O=e("sswD"),H=e("t9D7"),x=e("wQH0"),u=e("/oaI"),y=e("EffR"),_=e("MD5Z"),f=e("zrhQ"),v=e("GJhM"),w=e("3rx1"),p=e("6OMU"),c=e("iNS8"),s=e("gslv"),l=e("S3by"),d;(function(ve){function Q(C){switch(C){case l.a.Ignore:return"severity-ignore codicon-info";case l.a.Info:return"codicon-info";case l.a.Warning:return"codicon-warning";case l.a.Error:return"codicon-error"}return""}ve.className=Q})(d||(d={})),Object(H.e)(function(ve,Q){var C=ve.getColor(_.Pb);C&&Q.addRule(` +`;return De}function He(Q,C,F,se){Q=Q.substr(C),F=F.substr(se),console.log(Fe(le,Q,Q.length,F,F.length)),console.log(Fe(Me,Q,Q.length,F,F.length)),console.log(Fe(Ce,Q,Q.length,F,F.length))}function Pe(Q,C){if(C<0||C>=Q.length)return!1;var F=Q.charCodeAt(C);switch(F){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:return!0;default:return!1}}function ne(Q,C){if(C<0||C>=Q.length)return!1;var F=Q.charCodeAt(C);switch(F){case 32:case 9:return!0;default:return!1}}function ee(Q,C,F){return C[Q]!==F[Q]}function ae(Q,C,F,se,oe,be){for(;CW?W:Q.length,Ve=se.length>W?W:se.length;if(F>=Se||be>=Ve||Se-F>Ve-be)return;if(!ae(C,F,Se,oe,be,Ve))return;var Qe=1,it=1,pt=F,Rt=be;for(Qe=1,pt=F;pt1?1:Mt),uo=le[Qe-1][it]+-1,ao=le[Qe][it-1]+-1;ao>=uo?ao>zt?(le[Qe][it]=ao,Me[Qe][it]=4):ao===zt?(le[Qe][it]=ao,Me[Qe][it]=4|2):(le[Qe][it]=zt,Me[Qe][it]=2):uo>zt?(le[Qe][it]=uo,Me[Qe][it]=1):uo===zt?(le[Qe][it]=uo,Me[Qe][it]=1|2):(le[Qe][it]=zt,Me[Qe][it]=2)}return Te&&He(Q,F,se,be),he=0,Xe=-100,me=be,ge=De,we(Qe-1,it-1,Se===Ve?1:0,0,!1),he===0?void 0:[Xe,je,be]}function X(Q,C,F,se,oe,be,De){return C[F]!==be[De]?-1:De===F-se||ee(De,oe,be)&&(De===0||!ee(De-1,oe,be))?Q[F]===oe[De]?7:5:Pe(be,De)&&(De===0||!Pe(be,De-1))||(Pe(be,De-1)||ne(be,De-1))?5:1}var he=0,je=0,Xe=0,me=0,ge=!1;function we(Q,C,F,se,oe){if(he>=10||F<-25)return;for(var be=0;Q>0&&C>0;){var De=Ce[Q][C],Se=Me[Q][C];if(Se===4)C-=1,oe?F-=5:se!==0&&(F-=1),oe=!1,be=0;else if(Se&2)if(Se&4&&we(Q,C-1,se!==0?F-1:F,se,oe),F+=De,Q-=1,C-=1,oe=!0,se+=Math.pow(2,C+me),De===1){if(be+=1,Q===0&&!ge)return}else F+=1+be*(De-1),be=0;else return}F-=C>=3?9:C*3,he+=1,F>Xe&&(Xe=F,je=se)}function Re(Q,C,F,se,oe,be,De){return Ee(Q,C,F,se,oe,be,!0,De)}function Ee(Q,C,F,se,oe,be,De,Se){var Ve=ue(Q,C,F,se,oe,be,Se);if(Ve&&!De)return Ve;if(Q.length>=3)for(var Qe=Math.min(7,Q.length-1),it=F+1;itVe[0])&&(Ve=Rt))}}return Ve}function ve(Q,C){if(C+1>=Q.length)return;var F=Q[C],se=Q[C+1];return F===se?void 0:Q.slice(0,C)+se+F+Q.slice(C+2)}},gCVg:function(Lt,j,e){"use strict";e.d(j,"a",function(){return I});var T=e("cGHE"),re=e("aokT"),J=function(){var H=function(O,U){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,u){x.__proto__=u}||function(x,u){for(var y in u)u.hasOwnProperty(y)&&(x[y]=u[y])},H(O,U)};return function(z,O){H(z,O);function U(){this.constructor=z}z.prototype=O===null?Object.create(O):(U.prototype=O.prototype,new U)}}(),I=function(H){J(z,H);function z(O,U,x,u){var y=H.call(this,O,U,x,u)||this;return y.selectionStartLineNumber=O,y.selectionStartColumn=U,y.positionLineNumber=x,y.positionColumn=u,y}return z.prototype.toString=function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"},z.prototype.equalsSelection=function(O){return z.selectionsEqual(this,O)},z.selectionsEqual=function(O,U){return O.selectionStartLineNumber===U.selectionStartLineNumber&&O.selectionStartColumn===U.selectionStartColumn&&O.positionLineNumber===U.positionLineNumber&&O.positionColumn===U.positionColumn},z.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},z.prototype.setEndPosition=function(O,U){return this.getDirection()===0?new z(this.startLineNumber,this.startColumn,O,U):new z(O,U,this.startLineNumber,this.startColumn)},z.prototype.getPosition=function(){return new T.a(this.positionLineNumber,this.positionColumn)},z.prototype.setStartPosition=function(O,U){return this.getDirection()===0?new z(O,U,this.endLineNumber,this.endColumn):new z(this.endLineNumber,this.endColumn,O,U)},z.fromPositions=function(O,U){return U===void 0&&(U=O),new z(O.lineNumber,O.column,U.lineNumber,U.column)},z.liftSelection=function(O){return new z(O.selectionStartLineNumber,O.selectionStartColumn,O.positionLineNumber,O.positionColumn)},z.selectionsArrEqual=function(O,U){if(O&&!U||!O&&U)return!1;if(!O&&!U)return!0;if(O.length!==U.length)return!1;for(var x=0,u=O.length;x=0;W--)(ie=E[W])&&($=(R<3?ie($):R>3?ie(L,A,$):ie(L,A))||$);return R>3&&$&&Object.defineProperty(L,A,$),$},p=function(E,L){return function(A,k){L(A,k,E)}},c=function(E){v(L,E);function L(A,k,R){var $=E.call(this)||this;return $._editor=A,$._modeService=R,$._widget=null,$._register($._editor.onDidChangeModel(function(ie){return $.stop()})),$._register($._editor.onDidChangeModelLanguage(function(ie){return $.stop()})),$._register(O.B.onDidChange(function(ie){return $.stop()})),$}return L.get=function(A){return A.getContribution(L.ID)},L.prototype.dispose=function(){this.stop(),E.prototype.dispose.call(this)},L.prototype.launch=function(){if(this._widget)return;if(!this._editor.hasModel())return;this._widget=new m(this._editor,this._modeService)},L.prototype.stop=function(){this._widget&&(this._widget.dispose(),this._widget=null)},L.ID="editor.contrib.inspectTokens",L=w([p(1,u.a),p(2,x.a)],L),L}(I.a),s=function(E){v(L,E);function L(){return E.call(this,{id:"editor.action.inspectTokens",label:f.c.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})||this}return L.prototype.run=function(A,k){var R=c.get(k);R&&R.launch()},L}(z.b);function l(E){for(var L="",A=0,k=E.length;A=0;$--){var ie=k.tokens1[$];if(A.column-1>=ie.offset){R=$;break}}for(var W=0,$=k.tokens2.length>>>1;$>=0;$--)if(A.column-1>=k.tokens2[$<<1]){W=$;break}var B="",le=this._model.getLineContent(A.lineNumber),Ce="";if(R'+l(Ce)+'('+Ce.length+" "+(Ce.length===1?"char":"chars")+")",B+='
';var Fe=this._decodeMetadata(k.tokens2[(W<<1)+1]);B+='',B+='",B+='",B+='",B+='",B+='",B+="",B+='
',R'+Object(H.o)(k.tokens1[R].type)+""),this._domNode.innerHTML=B,this._editor.layoutContentWidget(this)},L.prototype._decodeMetadata=function(A){var k=O.B.getColorMap(),R=O.A.getLanguageId(A),$=O.A.getTokenType(A),ie=O.A.getFontStyle(A),W=O.A.getForeground(A),B=O.A.getBackground(A);return{languageIdentifier:this._modeService.getLanguageIdentifier(R),tokenType:$,fontStyle:ie,foreground:k[W],background:k[B]}},L.prototype._tokenTypeToString=function(A){switch(A){case 0:return"Other";case 1:return"Comment";case 2:return"String";case 4:return"RegEx"}return"??"},L.prototype._fontStyleToString=function(A){var k="";return A&1&&(k+="italic "),A&2&&(k+="bold "),A&4&&(k+="underline "),k.length===0&&(k="---"),k},L.prototype._getTokensAtLine=function(A){var k=this._getStateBeforeLine(A),R=this._tokenizationSupport.tokenize(this._model.getLineContent(A),k,0),$=this._tokenizationSupport.tokenize2(this._model.getLineContent(A),k,0);return{startState:k,tokens1:R.tokens,tokens2:$.tokens,endState:R.endState}},L.prototype._getStateBeforeLine=function(A){for(var k=this._tokenizationSupport.getInitialState(),R=1;R1&&l.scheme===H.b.file?d="//"+l.authority+m:z.h&&m.charCodeAt(0)===47&&T.b(m.charCodeAt(1))&&m.charCodeAt(2)===58?d=m.substr(1):d=m,z.h&&(d=d.replace(/\//g,"\\")),d}function c(l,d,m){if(m===void 0&&(m=U(l)),l.scheme!==d.scheme||!u(l.authority,d.authority))return;if(l.scheme===H.b.file){var E=re.relative(l.path,d.path);return z.h?T.c(E):E}var L=l.path||"/",A=d.path||"/";if(m){for(var k=0,R=Math.min(L.length,A.length);k0&&B[B.length-1])&&(Te[0]===6||Te[0]===2)){$=0;continue}if(Te[0]===3&&(!B||Te[1]>B[0]&&Te[1]>>0,new T.c(f,y===null?I:y)}},"i/Rh":function(Lt,j,e){},i04g:function(Lt,j,e){"use strict";e.d(j,"b",function(){return J}),e.d(j,"a",function(){return I});var T=e("3/fG"),re=function(){function z(O,U,x){x===void 0&&(x=U),this.modifierLabels=[null],this.modifierLabels[2]=O,this.modifierLabels[1]=U,this.modifierLabels[3]=x}return z.prototype.toLabel=function(O,U,x){if(U.length===0)return null;for(var u=[],y=0,_=U.length;y<_;y++){var f=U[y],v=x(f);if(v===null)return null;u[y]=H(f,v,this.modifierLabels[O])}return u.join(" ")},z}(),J=new re({ctrlKey:"\u2303",shiftKey:"\u21E7",altKey:"\u2325",metaKey:"\u2318",separator:""},{ctrlKey:T.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:T.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:T.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:T.a({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:T.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:T.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:T.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:T.a({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),I=new re({ctrlKey:T.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:T.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:T.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:T.a({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:T.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:T.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:T.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:T.a({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:T.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:T.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:T.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:T.a({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"});function H(z,O,U){if(O===null)return"";var x=[];return z.ctrlKey&&x.push(U.ctrlKey),z.shiftKey&&x.push(U.shiftKey),z.altKey&&x.push(U.altKey),z.metaKey&&x.push(U.metaKey),x.push(O),x.join(U.separator)}},iDAx:function(Lt,j,e){"use strict";e.d(j,"b",function(){return v}),e.d(j,"a",function(){return m}),e.d(j,"d",function(){return Me}),e.d(j,"c",function(){return Te});var T=e("3/fG"),re=e("MI8n"),J=e("pmY6"),I=e("qj0h"),H=e("6OMU"),z=e("/UlZ"),O=e("Yr1X"),U=e("+3Gp"),x=e("CRAX"),u=e("ic2d"),y=e("vl9R"),_=function(){var Fe=function(Pe,ne){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ee,ae){ee.__proto__=ae}||function(ee,ae){for(var q in ae)ae.hasOwnProperty(q)&&(ee[q]=ae[q])},Fe(Pe,ne)};return function(He,Pe){Fe(He,Pe);function ne(){this.constructor=He}He.prototype=Pe===null?Object.create(Pe):(ne.prototype=Pe.prototype,new ne)}}(),f=function(){return f=Object.assign||function(Fe){for(var He,Pe=1,ne=arguments.length;Pe0&&C.minimapLeft===0?C.minimapWidth:0},Q.prototype._onViewZoneTop=function(C){this.domNode.style.top=C+"px"},Q.prototype._onViewZoneHeight=function(C){if(this.domNode.style.height=C+"px",this.container){var F=C-this._decoratingElementsHeight();this.container.style.height=F+"px";var se=this.editor.getLayoutInfo();this._doLayout(F,this._getWidth(se))}this._resizeSash&&this._resizeSash.layout()},Object.defineProperty(Q.prototype,"position",{get:function(){var F=this._positionMarkerId[0];if(!F)return;var se=this.editor.getModel();if(!se)return;var oe=se.getDecorationRange(F);return oe?oe.getStartPosition():void 0},enumerable:!0,configurable:!0}),Q.prototype.show=function(C,F){var se=w.a.isIRange(C)?w.a.lift(C):w.a.fromPositions(C);this._isShowing=!0,this._showImpl(se,F),this._isShowing=!1,this._positionMarkerId=this.editor.deltaDecorations(this._positionMarkerId,[{range:se,options:p.a.EMPTY}])},Q.prototype.hide=function(){var C=this;this._viewZone&&(this.editor.changeViewZones(function(F){C._viewZone&&F.removeZone(C._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._arrow&&this._arrow.hide()},Q.prototype._decoratingElementsHeight=function(){var C=this.editor.getOption(49),F=0;if(this.options.showArrow){var se=Math.round(C/3);F+=2*se}if(this.options.showFrame){var oe=Math.round(C/9);F+=2*oe}return F},Q.prototype._showImpl=function(C,F){var se=this,oe=C.getStartPosition(),be=this.editor.getLayoutInfo(),De=this._getWidth(be);this.domNode.style.width=De+"px",this.domNode.style.left=this._getLeft(be)+"px";var Se=document.createElement("div");Se.style.overflow="hidden";var Ve=this.editor.getOption(49),Qe=this.editor.getLayoutInfo().height/Ve*.8;F>=Qe&&(F=Qe);var it=0,pt=0;if(this._arrow&&this.options.showArrow&&(it=Math.round(Ve/3),this._arrow.height=it,this._arrow.show(oe)),this.options.showFrame&&(pt=Math.round(Ve/9)),this.editor.changeViewZones(function(ao){se._viewZone&&ao.removeZone(se._viewZone.id),se._overlayWidget&&(se.editor.removeOverlayWidget(se._overlayWidget),se._overlayWidget=null),se.domNode.style.top="-1000px",se._viewZone=new d(Se,oe.lineNumber,oe.column,F,function(so){return se._onViewZoneTop(so)},function(so){return se._onViewZoneHeight(so)}),se._viewZone.id=ao.addZone(se._viewZone),se._overlayWidget=new m(l+se._viewZone.id,se.domNode),se.editor.addOverlayWidget(se._overlayWidget)}),this.container&&this.options.showFrame){var Rt=this.options.frameWidth?this.options.frameWidth:pt;this.container.style.borderTopWidth=Rt+"px",this.container.style.borderBottomWidth=Rt+"px"}var Mt=F*Ve-this._decoratingElementsHeight();this.container&&(this.container.style.top=it+"px",this.container.style.height=Mt+"px",this.container.style.overflow="hidden"),this._doLayout(Mt,De),this.options.keepEditorSelection||this.editor.setSelection(C);var zt=this.editor.getModel();if(zt){var uo=C.endLineNumber+1;uo<=zt.getLineCount()?this.revealLine(uo,!1):this.revealLine(zt.getLineCount(),!0)}},Q.prototype.revealLine=function(C,F){F?this.editor.revealLineInCenter(C,0):this.editor.revealLine(C,0)},Q.prototype.setCssClass=function(C,F){if(!this.container)return;F&&this.container.classList.remove(F),re.f(this.container,C)},Q.prototype._onWidth=function(C){},Q.prototype._doLayout=function(C,F){},Q.prototype._relayout=function(C){var F=this;this._viewZone&&this._viewZone.heightInLines!==C&&this.editor.changeViewZones(function(se){F._viewZone&&(F._viewZone.heightInLines=C,se.layoutZone(F._viewZone.id))})},Q.prototype._initSash=function(){var C=this;if(this._resizeSash)return;this._resizeSash=this._disposables.add(new _.a(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.hide(),this._resizeSash.state=0);var F;this._disposables.add(this._resizeSash.onDidStart(function(se){C._viewZone&&(F={startY:se.startY,heightInLines:C._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(function(){F=void 0})),this._disposables.add(this._resizeSash.onDidChange(function(se){if(F){var oe=(se.currentY-F.startY)/C.editor.getOption(49),be=oe<0?Math.ceil(oe):Math.floor(oe),De=F.heightInLines+be;De>5&&De<35&&C._relayout(De)}}))},Q.prototype.getHorizontalSashLeft=function(){return 0},Q.prototype.getHorizontalSashTop=function(){return(this.domNode.style.height===null?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2},Q.prototype.getHorizontalSashWidth=function(){var C=this.editor.getLayoutInfo();return C.width-C.minimapWidth},Q}(),A=e("3/fG"),k=e("T8No"),R=e("Cg/j"),$=e("9fML"),ie=e("sswD"),W=e("MD5Z"),B=function(){var Q=function(F,se){return Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,be){oe.__proto__=be}||function(oe,be){for(var De in be)be.hasOwnProperty(De)&&(oe[De]=be[De])},Q(F,se)};return function(C,F){Q(C,F);function se(){this.constructor=C}C.prototype=F===null?Object.create(F):(se.prototype=F.prototype,new se)}}(),le=function(Q,C,F,se){var oe=arguments.length,be=oe<3?C:se===null?se=Object.getOwnPropertyDescriptor(C,F):se,De;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")be=Reflect.decorate(Q,C,F,se);else for(var Se=Q.length-1;Se>=0;Se--)(De=Q[Se])&&(be=(oe<3?De(be):oe>3?De(C,F,be):De(C,F))||be);return oe>3&&be&&Object.defineProperty(C,F,be),be},Ce=function(Q,C){return function(F,se){C(F,se,Q)}},Me=Object(R.c)("IPeekViewService");Object($.b)(Me,function(){function Q(){this._widgets=new Map}return Q.prototype.addExclusiveWidget=function(C,F){var se=this,oe=this._widgets.get(C);oe&&(oe.listener.dispose(),oe.widget.dispose());var be=function(){var Se=se._widgets.get(C);Se&&Se.widget===F&&(Se.listener.dispose(),se._widgets.delete(C))};this._widgets.set(C,{widget:F,listener:F.onDidClose(be)})},Q}());var Te;(function(Q){Q.inPeekEditor=new k.d("inReferenceSearchEditor",!0),Q.notInPeekEditor=Q.inPeekEditor.toNegated()})(Te||(Te={}));var Fe=function(){function Q(C,F){C instanceof u.a&&Te.inPeekEditor.bindTo(F)}return Q.prototype.dispose=function(){},Q.ID="editor.contrib.referenceController",Q=le([Ce(1,k.c)],Q),Q}();Object(ie.h)(Fe.ID,Fe);function He(Q){var C=Q.get(x.a).getFocusedCodeEditor();return C instanceof u.a?C.getParentEditor():C}var Pe={headerBackgroundColor:H.a.white,primaryHeadingColor:H.a.fromHex("#333333"),secondaryHeadingColor:H.a.fromHex("#6c6c6cb3")},ne=function(Q){B(C,Q);function C(F,se){se===void 0&&(se={});var oe=Q.call(this,F,se)||this;return oe._onDidClose=new z.a,oe.onDidClose=oe._onDidClose.event,O.g(oe.options,Pe,!1),oe}return C.prototype.dispose=function(){Q.prototype.dispose.call(this),this._onDidClose.fire(this)},C.prototype.style=function(F){var se=this.options;F.headerBackgroundColor&&(se.headerBackgroundColor=F.headerBackgroundColor),F.primaryHeadingColor&&(se.primaryHeadingColor=F.primaryHeadingColor),F.secondaryHeadingColor&&(se.secondaryHeadingColor=F.secondaryHeadingColor),Q.prototype.style.call(this,F)},C.prototype._applyStyles=function(){Q.prototype._applyStyles.call(this);var F=this.options;this._headElement&&F.headerBackgroundColor&&(this._headElement.style.backgroundColor=F.headerBackgroundColor.toString()),this._primaryHeading&&F.primaryHeadingColor&&(this._primaryHeading.style.color=F.primaryHeadingColor.toString()),this._secondaryHeading&&F.secondaryHeadingColor&&(this._secondaryHeading.style.color=F.secondaryHeadingColor.toString()),this._bodyElement&&F.frameColor&&(this._bodyElement.style.borderColor=F.frameColor.toString())},C.prototype._fillContainer=function(F){this.setCssClass("peekview-widget"),this._headElement=re.a(".head"),this._bodyElement=re.a(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),F.appendChild(this._headElement),F.appendChild(this._bodyElement)},C.prototype._fillHead=function(F){var se=this,oe=re.a(".peekview-title");re.q(this._headElement,oe),re.o(oe,"click",function(Se){return se._onTitleClick(Se)}),this._fillTitleIcon(oe),this._primaryHeading=re.a("span.filename"),this._secondaryHeading=re.a("span.dirname"),this._metaHeading=re.a("span.meta"),re.q(oe,this._primaryHeading,this._secondaryHeading,this._metaHeading);var be=re.a(".peekview-actions");re.q(this._headElement,be);var De=this._getActionBarOptions();this._actionbarWidget=new J.a(be,De),this._disposables.add(this._actionbarWidget),this._actionbarWidget.push(new I.a("peekview.close",A.a("label.close","Close"),"codicon-close",!0,function(){return se.dispose(),Promise.resolve()}),{label:!1,icon:!0})},C.prototype._fillTitleIcon=function(F){},C.prototype._getActionBarOptions=function(){return{}},C.prototype._onTitleClick=function(F){},C.prototype.setTitle=function(F,se){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerHTML=U.o(F),this._primaryHeading.setAttribute("aria-label",F),se?this._secondaryHeading.innerHTML=U.o(se):re.t(this._secondaryHeading))},C.prototype.setMetaTitle=function(F){this._metaHeading&&(F?(this._metaHeading.innerHTML=U.o(F),re.X(this._metaHeading)):re.J(this._metaHeading))},C.prototype._doLayout=function(F,se){if(!this._isShowing&&F<0){this.dispose();return}var oe=Math.ceil(this.editor.getOption(49)*1.2),be=Math.round(F-(oe+2));this._doLayoutHead(oe,se),this._doLayoutBody(be,se)},C.prototype._doLayoutHead=function(F,se){this._headElement&&(this._headElement.style.height=F+"px",this._headElement.style.lineHeight=this._headElement.style.height)},C.prototype._doLayoutBody=function(F,se){this._bodyElement&&(this._bodyElement.style.height=F+"px")},C}(L),ee=Object(W.Tb)("peekViewTitle.background",{dark:"#1E1E1E",light:"#FFFFFF",hc:"#0C141F"},A.a("peekViewTitleBackground","Background color of the peek view title area.")),ae=Object(W.Tb)("peekViewTitleLabel.foreground",{dark:"#FFFFFF",light:"#333333",hc:"#FFFFFF"},A.a("peekViewTitleForeground","Color of the peek view title.")),q=Object(W.Tb)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161e6",hc:"#FFFFFF99"},A.a("peekViewTitleInfoForeground","Color of the peek view title info.")),ue=Object(W.Tb)("peekView.border",{dark:"#007acc",light:"#007acc",hc:W.e},A.a("peekViewBorder","Color of the peek view borders and arrow.")),X=Object(W.Tb)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hc:H.a.black},A.a("peekViewResultsBackground","Background color of the peek view result list.")),he=Object(W.Tb)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hc:H.a.white},A.a("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),je=Object(W.Tb)("peekViewResult.fileForeground",{dark:H.a.white,light:"#1E1E1E",hc:H.a.white},A.a("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),Xe=Object(W.Tb)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hc:null},A.a("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),me=Object(W.Tb)("peekViewResult.selectionForeground",{dark:H.a.white,light:"#6C6C6C",hc:H.a.white},A.a("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list.")),ge=Object(W.Tb)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hc:H.a.black},A.a("peekViewEditorBackground","Background color of the peek view editor.")),we=Object(W.Tb)("peekViewEditorGutter.background",{dark:ge,light:ge,hc:ge},A.a("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),Re=Object(W.Tb)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hc:null},A.a("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),Ee=Object(W.Tb)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hc:null},A.a("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),ve=Object(W.Tb)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hc:W.b},A.a("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."))},ic2d:function(Lt,j,e){"use strict";e.d(j,"a",function(){return I});var T=e("746U"),re=e("FWmy"),J=function(){function H(){this.data=new Map}return H.prototype.add=function(z,O){re.a(T.j(z)),re.a(T.i(O)),re.a(!this.data.has(z),"There is already an extension with this id"),this.data.set(z,O)},H.prototype.as=function(z){return this.data.get(z)||null},H}(),I=new J},"ij/i":function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile"],aliases:["Ruby","rb"],loader:function(){return e.e(313).then(e.bind(null,"3MdH"))}})},iuje:function(Lt,j,e){"use strict";e.d(j,"c",function(){return T}),e.d(j,"a",function(){return re}),e.d(j,"b",function(){return J});function T(I){return I&&typeof I.id=="string"}var re={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"},J={ExecuteCommand:"executeCommand",ExecuteCommands:"executeCommands",Type:"type",ReplacePreviousChar:"replacePreviousChar",CompositionStart:"compositionStart",CompositionEnd:"compositionEnd",Paste:"paste",Cut:"cut",Undo:"undo",Redo:"redo"}},j2o1:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:function(){return e.e(305).then(e.bind(null,"ppMK"))}})},"jAJ/":function(Lt,j,e){"use strict";e.d(j,"a",function(){return O}),e.d(j,"d",function(){return u}),e.d(j,"c",function(){return _}),e.d(j,"e",function(){return w}),e.d(j,"b",function(){return p});var T=e("N0LK"),re=e("5v8Y"),J=e("cGHE"),I=e("aokT"),H=e("M1Kb"),z=999,O=function(){function c(s,l,d,m){this.searchString=s,this.isRegex=l,this.matchCase=d,this.wordSeparators=m}return c.prototype.parseSearchRequest=function(){if(this.searchString==="")return null;var s;this.isRegex?s=U(this.searchString):s=this.searchString.indexOf(` +`)>=0;var l=null;try{l=T.l(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:s,global:!0,unicode:!0})}catch(m){return null}if(!l)return null;var d=!this.isRegex&&!s;return d&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(d=this.matchCase),new x(l,this.wordSeparators?Object(re.a)(this.wordSeparators):null,d?this.searchString:null)},c}();function U(c){if(!c||c.length===0)return!1;for(var s=0,l=c.length;s=l)break;var m=c.charCodeAt(s);if(m===110||m===114||m===87||m===119)return!0}}return!1}var x=function(){function c(s,l,d){this.regex=s,this.wordSeparators=l,this.simpleSearch=d}return c}();function u(c,s,l){if(!l)return new H.b(c,null);for(var d=[],m=0,E=s.length;m>0);l[E]>=s?m=E-1:l[E+1]>=s?(d=E,m=E):d=E+1}return d+1},c}(),_=function(){function c(){}return c.findMatches=function(s,l,d,m,E){var L=l.parseSearchRequest();return L?L.regex.multiline?this._doFindMatchesMultiline(s,d,new p(L.wordSeparators,L.regex),m,E):this._doFindMatchesLineByLine(s,d,L,m,E):[]},c._getMultilineMatchRange=function(s,l,d,m,E,L){var A,k=0;m?(k=m.findLineFeedCountBeforeOffset(E),A=l+E+k):A=l+E;var R;if(m){var $=m.findLineFeedCountBeforeOffset(E+L.length),ie=$-k;R=A+L.length+ie}else R=A+L.length;var W=s.getPositionAt(A),B=s.getPositionAt(R);return new I.a(W.lineNumber,W.column,B.lineNumber,B.column)},c._doFindMatchesMultiline=function(s,l,d,m,E){var L=s.getOffsetAt(l.getStartPosition()),A=s.getValueInRange(l,1),k=s.getEOL()===`\r +`?new y(A):null,R=[],$=0,ie;for(d.reset(0);ie=d.next(A);)if(R[$++]=u(this._getMultilineMatchRange(s,L,A,k,ie.index,ie[0]),ie,m),$>=E)return R;return R},c._doFindMatchesLineByLine=function(s,l,d,m,E){var L=[],A=0;if(l.startLineNumber===l.endLineNumber){var k=s.getLineContent(l.startLineNumber).substring(l.startColumn-1,l.endColumn-1);return A=this._findMatchesInLine(d,k,l.startLineNumber,l.startColumn-1,A,L,m,E),L}var R=s.getLineContent(l.startLineNumber).substring(l.startColumn-1);A=this._findMatchesInLine(d,R,l.startLineNumber,l.startColumn-1,A,L,m,E);for(var $=l.startLineNumber+1;$=k))return E;return E}var le=new p(s.wordSeparators,s.regex),Ce;le.reset(0);do if(Ce=le.next(l),Ce&&(L[E++]=u(new I.a(d,Ce.index+1+m,d,Ce.index+1+Ce[0].length+m),Ce,A),E>=k))return E;while(Ce);return E},c.findNextMatch=function(s,l,d,m){var E=l.parseSearchRequest();if(!E)return null;var L=new p(E.wordSeparators,E.regex);return E.regex.multiline?this._doFindNextMatchMultiline(s,d,L,m):this._doFindNextMatchLineByLine(s,d,L,m)},c._doFindNextMatchMultiline=function(s,l,d,m){var E=new J.a(l.lineNumber,1),L=s.getOffsetAt(E),A=s.getLineCount(),k=s.getValueInRange(new I.a(E.lineNumber,E.column,A,s.getLineMaxColumn(A)),1),R=s.getEOL()===`\r +`?new y(k):null;d.reset(l.column-1);var $=d.next(k);return $?u(this._getMultilineMatchRange(s,L,k,R,$.index,$[0]),$,m):l.lineNumber!==1||l.column!==1?this._doFindNextMatchMultiline(s,new J.a(1,1),d,m):null},c._doFindNextMatchLineByLine=function(s,l,d,m){var E=s.getLineCount(),L=l.lineNumber,A=s.getLineContent(L),k=this._findFirstMatchInLine(d,A,L,l.column,m);if(k)return k;for(var R=1;R<=E;R++){var $=(L+R-1)%E,ie=s.getLineContent($+1),W=this._findFirstMatchInLine(d,ie,$+1,1,m);if(W)return W}return null},c._findFirstMatchInLine=function(s,l,d,m,E){s.reset(m-1);var L=s.next(l);return L?u(new I.a(d,L.index+1,d,L.index+1+L[0].length),L,E):null},c.findPreviousMatch=function(s,l,d,m){var E=l.parseSearchRequest();if(!E)return null;var L=new p(E.wordSeparators,E.regex);return E.regex.multiline?this._doFindPreviousMatchMultiline(s,d,L,m):this._doFindPreviousMatchLineByLine(s,d,L,m)},c._doFindPreviousMatchMultiline=function(s,l,d,m){var E=this._doFindMatchesMultiline(s,new I.a(1,1,l.lineNumber,l.column),d,m,10*z);if(E.length>0)return E[E.length-1];var L=s.getLineCount();return l.lineNumber!==L||l.column!==s.getLineMaxColumn(L)?this._doFindPreviousMatchMultiline(s,new J.a(L,s.getLineMaxColumn(L)),d,m):null},c._doFindPreviousMatchLineByLine=function(s,l,d,m){var E=s.getLineCount(),L=l.lineNumber,A=s.getLineContent(L).substring(0,l.column-1),k=this._findLastMatchInLine(d,A,L,m);if(k)return k;for(var R=1;R<=E;R++){var $=(E+L-R-1)%E,ie=s.getLineContent($+1),W=this._findLastMatchInLine(d,ie,$+1,m);if(W)return W}return null},c._findLastMatchInLine=function(s,l,d,m){var E=null,L;for(s.reset(0);L=s.next(l);)E=u(new I.a(d,L.index+1,d,L.index+1+L[0].length),L,m);return E},c}();function f(c,s,l,d,m){if(d===0)return!0;var E=s.charCodeAt(d-1);if(c.get(E)!==0)return!0;if(E===13||E===10)return!0;if(m>0){var L=s.charCodeAt(d);if(c.get(L)!==0)return!0}return!1}function v(c,s,l,d,m){if(d+m===l)return!0;var E=s.charCodeAt(d+m);if(c.get(E)!==0)return!0;if(E===13||E===10)return!0;if(m>0){var L=s.charCodeAt(d+m-1);if(c.get(L)!==0)return!0}return!1}function w(c,s,l,d,m){return f(c,s,l,d,m)&&v(c,s,l,d,m)}var p=function(){function c(s,l){this._wordSeparators=s,this._searchRegex=l,this._prevMatchStartIndex=-1,this._prevMatchLength=0}return c.prototype.reset=function(s){this._searchRegex.lastIndex=s,this._prevMatchStartIndex=-1,this._prevMatchLength=0},c.prototype.next=function(s){var l=s.length,d;do{if(this._prevMatchStartIndex+this._prevMatchLength===l)return null;if(d=this._searchRegex.exec(s),!d)return null;var m=d.index,E=d[0].length;if(m===this._prevMatchStartIndex&&E===this._prevMatchLength){if(E===0){this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=m,this._prevMatchLength=E,!this._wordSeparators||w(this._wordSeparators,s,l,m,E))return d}while(d);return null},c}()},jVwG:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:function(){return e.e(297).then(e.bind(null,"fYNN"))}})},jqj9:function(Lt,j,e){"use strict";var T=e("yI7H"),re=e.n(T),J=e("ujyM"),I=e.n(J),H=e("3/fG"),z=e("t9D7"),O=e("MD5Z"),U=Object(O.Tb)("symbolIcon.arrayForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.arrayForeground","The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),x=Object(O.Tb)("symbolIcon.booleanForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.booleanForeground","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),u=Object(O.Tb)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(H.a)("symbolIcon.classForeground","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),y=Object(O.Tb)("symbolIcon.colorForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.colorForeground","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),_=Object(O.Tb)("symbolIcon.constantForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.constantForeground","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),f=Object(O.Tb)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(H.a)("symbolIcon.constructorForeground","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),v=Object(O.Tb)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(H.a)("symbolIcon.enumeratorForeground","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),w=Object(O.Tb)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(H.a)("symbolIcon.enumeratorMemberForeground","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),p=Object(O.Tb)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(H.a)("symbolIcon.eventForeground","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),c=Object(O.Tb)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(H.a)("symbolIcon.fieldForeground","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),s=Object(O.Tb)("symbolIcon.fileForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.fileForeground","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),l=Object(O.Tb)("symbolIcon.folderForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.folderForeground","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),d=Object(O.Tb)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(H.a)("symbolIcon.functionForeground","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),m=Object(O.Tb)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(H.a)("symbolIcon.interfaceForeground","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),E=Object(O.Tb)("symbolIcon.keyForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.keyForeground","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),L=Object(O.Tb)("symbolIcon.keywordForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.keywordForeground","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),A=Object(O.Tb)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(H.a)("symbolIcon.methodForeground","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),k=Object(O.Tb)("symbolIcon.moduleForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.moduleForeground","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),R=Object(O.Tb)("symbolIcon.namespaceForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.namespaceForeground","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),$=Object(O.Tb)("symbolIcon.nullForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.nullForeground","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ie=Object(O.Tb)("symbolIcon.numberForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.numberForeground","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),W=Object(O.Tb)("symbolIcon.objectForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.objectForeground","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),B=Object(O.Tb)("symbolIcon.operatorForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.operatorForeground","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),le=Object(O.Tb)("symbolIcon.packageForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.packageForeground","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ce=Object(O.Tb)("symbolIcon.propertyForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.propertyForeground","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Me=Object(O.Tb)("symbolIcon.referenceForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.referenceForeground","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Te=Object(O.Tb)("symbolIcon.snippetForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.snippetForeground","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Fe=Object(O.Tb)("symbolIcon.stringForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.stringForeground","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),He=Object(O.Tb)("symbolIcon.structForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.structForeground","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Pe=Object(O.Tb)("symbolIcon.textForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.textForeground","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ne=Object(O.Tb)("symbolIcon.typeParameterForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.typeParameterForeground","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ee=Object(O.Tb)("symbolIcon.unitForeground",{dark:O.W,light:O.W,hc:O.W},Object(H.a)("symbolIcon.unitForeground","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ae=Object(O.Tb)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(H.a)("symbolIcon.variableForeground","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));Object(z.e)(function(q,ue){var X=q.getColor(U);X&&ue.addRule(".codicon-symbol-array { color: "+X+" !important; }");var he=q.getColor(x);he&&ue.addRule(".codicon-symbol-boolean { color: "+he+" !important; }");var je=q.getColor(u);je&&ue.addRule(".codicon-symbol-class { color: "+je+" !important; }");var Xe=q.getColor(A);Xe&&ue.addRule(".codicon-symbol-method { color: "+Xe+" !important; }");var me=q.getColor(y);me&&ue.addRule(".codicon-symbol-color { color: "+me+" !important; }");var ge=q.getColor(_);ge&&ue.addRule(".codicon-symbol-constant { color: "+ge+" !important; }");var we=q.getColor(f);we&&ue.addRule(".codicon-symbol-constructor { color: "+we+" !important; }");var Re=q.getColor(v);Re&&ue.addRule(` + .codicon-symbol-value,.codicon-symbol-enum { color: `+Re+" !important; }");var Ee=q.getColor(w);Ee&&ue.addRule(".codicon-symbol-enum-member { color: "+Ee+" !important; }");var ve=q.getColor(p);ve&&ue.addRule(".codicon-symbol-event { color: "+ve+" !important; }");var Q=q.getColor(c);Q&&ue.addRule(".codicon-symbol-field { color: "+Q+" !important; }");var C=q.getColor(s);C&&ue.addRule(".codicon-symbol-file { color: "+C+" !important; }");var F=q.getColor(l);F&&ue.addRule(".codicon-symbol-folder { color: "+F+" !important; }");var se=q.getColor(d);se&&ue.addRule(".codicon-symbol-function { color: "+se+" !important; }");var oe=q.getColor(m);oe&&ue.addRule(".codicon-symbol-interface { color: "+oe+" !important; }");var be=q.getColor(E);be&&ue.addRule(".codicon-symbol-key { color: "+be+" !important; }");var De=q.getColor(L);De&&ue.addRule(".codicon-symbol-keyword { color: "+De+" !important; }");var Se=q.getColor(k);Se&&ue.addRule(".codicon-symbol-module { color: "+Se+" !important; }");var Ve=q.getColor(R);Ve&&ue.addRule(".codicon-symbol-namespace { color: "+Ve+" !important; }");var Qe=q.getColor($);Qe&&ue.addRule(".codicon-symbol-null { color: "+Qe+" !important; }");var it=q.getColor(ie);it&&ue.addRule(".codicon-symbol-number { color: "+it+" !important; }");var pt=q.getColor(W);pt&&ue.addRule(".codicon-symbol-object { color: "+pt+" !important; }");var Rt=q.getColor(B);Rt&&ue.addRule(".codicon-symbol-operator { color: "+Rt+" !important; }");var Mt=q.getColor(le);Mt&&ue.addRule(".codicon-symbol-package { color: "+Mt+" !important; }");var zt=q.getColor(Ce);zt&&ue.addRule(".codicon-symbol-property { color: "+zt+" !important; }");var uo=q.getColor(Me);uo&&ue.addRule(".codicon-symbol-reference { color: "+uo+" !important; }");var ao=q.getColor(Te);ao&&ue.addRule(".codicon-symbol-snippet { color: "+ao+" !important; }");var so=q.getColor(Fe);so&&ue.addRule(".codicon-symbol-string { color: "+so+" !important; }");var Pt=q.getColor(He);Pt&&ue.addRule(".codicon-symbol-struct { color: "+Pt+" !important; }");var ft=q.getColor(Pe);ft&&ue.addRule(".codicon-symbol-text { color: "+ft+" !important; }");var vt=q.getColor(ne);vt&&ue.addRule(".codicon-symbol-type-parameter { color: "+vt+" !important; }");var At=q.getColor(ee);At&&ue.addRule(".codicon-symbol-unit { color: "+At+" !important; }");var at=q.getColor(ae);at&&ue.addRule(".codicon-symbol-variable { color: "+at+" !important; }")})},jrbv:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:function(){return e.e(278).then(e.bind(null,"2ZXa"))}})},k76M:function(Lt,j,e){"use strict";var T=e("XNtB"),re=e.n(T),J=e("epnl"),I=e.n(J)},k7mE:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return e.e(289).then(e.bind(null,"BjZ/"))}})},k7pc:function(Lt,j,e){"use strict";e.r(j),e.d(j,"ToggleTabFocusModeAction",function(){return z});var T=e("3/fG"),re=e("OBOq"),J=e("sswD"),I=e("iDAx"),H=function(){var O=function(x,u){return O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,_){y.__proto__=_}||function(y,_){for(var f in _)_.hasOwnProperty(f)&&(y[f]=_[f])},O(x,u)};return function(U,x){O(U,x);function u(){this.constructor=U}U.prototype=x===null?Object.create(x):(u.prototype=x.prototype,new u)}}(),z=function(O){H(U,O);function U(){return O.call(this,{id:U.ID,label:T.a({key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),alias:"Toggle Tab Key Moves Focus",precondition:void 0,kbOpts:{kbExpr:null,primary:2048|43,mac:{primary:256|1024|43},weight:100}})||this}return U.prototype.run=function(x,u){var y=I.b.getTabFocusMode(),_=!y;I.b.setTabFocusMode(_),_?Object(re.a)(T.a("toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element")):Object(re.a)(T.a("toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))},U.ID="editor.action.toggleTabFocusMode",U}(J.b);Object(J.f)(z)},k9mg:function(Lt,j,e){"use strict";e.d(j,"a",function(){return fn}),e.d(j,"b",function(){return Vo}),e.d(j,"d",function(){return dn}),e.d(j,"c",function(){return yt});var T=e("EffR"),re=e("cqdO"),J=e("pmY6"),I=e("3/fG"),H=e("+7oY"),z=e("CRAX"),O=e("T8No"),U=e("Cg/j"),x=e("bexQ"),u=e("ic2d"),y=e("ptcw"),_=e("t9D7"),f="inputFocus",v=e("2V9f"),w=e("MI8n"),p=e("uDWl"),c=e("ZQ78"),s=e("6OMU"),l=e("feEw"),d=e("4y0V"),m=e("fpMC"),E=function(){var pe=function(ye,We){return pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ze,st){Ze.__proto__=st}||function(Ze,st){for(var mt in st)st.hasOwnProperty(mt)&&(Ze[mt]=st[mt])},pe(ye,We)};return function(D,ye){pe(D,ye);function We(){this.constructor=D}D.prototype=ye===null?Object.create(ye):(We.prototype=ye.prototype,new We)}}(),L=function(pe){E(D,pe);function D(ye,We){return pe.call(this,"TreeError ["+ye+"] "+We)||this}return D}(Error),A=function(){function pe(D){this.fn=D,this._map=new WeakMap}return pe.prototype.map=function(D){var ye=this._map.get(D);return ye||(ye=this.fn(D),this._map.set(D,ye)),ye},pe}(),k=e("JYp7"),R=function(){for(var pe=0,D=0,ye=arguments.length;D=0&&Do0&&st){var bi=function kn(Qn){st(Qn),Qn.children.forEach(kn)};on.forEach(bi)}this._onDidSplice.fire({insertedNodes:tn,deletedNodes:on})},pe.prototype.rerender=function(D){if(D.length===0)throw new L(this.user,"Invalid tree location");var ye=this.getTreeNodeWithListIndex(D),We=ye.node,Ze=ye.listIndex,st=ye.revealed;st&&this.list.splice(Ze,1,[We])},pe.prototype.has=function(D){return this.hasTreeNode(D)},pe.prototype.getListIndex=function(D){var ye=this.getTreeNodeWithListIndex(D),We=ye.listIndex,Ze=ye.visible,st=ye.revealed;return Ze&&st?We:-1},pe.prototype.getListRenderCount=function(D){return this.getTreeNode(D).renderNodeCount},pe.prototype.isCollapsible=function(D){return this.getTreeNode(D).collapsible},pe.prototype.setCollapsible=function(D,ye){var We=this,Ze=this.getTreeNode(D);typeof ye=="undefined"&&(ye=!Ze.collapsible);var st={collapsible:ye};return this.eventBufferer.bufferEvents(function(){return We._setCollapseState(D,st)})},pe.prototype.isCollapsed=function(D){return this.getTreeNode(D).collapsed},pe.prototype.setCollapsed=function(D,ye,We){var Ze=this,st=this.getTreeNode(D);typeof ye=="undefined"&&(ye=!st.collapsed);var mt={collapsed:ye,recursive:We||!1};return this.eventBufferer.bufferEvents(function(){return Ze._setCollapseState(D,mt)})},pe.prototype._setCollapseState=function(D,ye){var We=this.getTreeNodeWithListIndex(D),Ze=We.node,st=We.listIndex,mt=We.revealed,Kt=this._setListNodeCollapseState(Ze,st,mt,ye);if(Ze!==this.root&&this.autoExpandSingleChildren&&Kt&&!W(ye)&&Ze.collapsible&&!Ze.collapsed&&!ye.recursive){for(var Xt=-1,no=0;no-1){Xt=-1;break}else Xt=no}Xt>-1&&this._setCollapseState(R(D,[Xt]),ye)}return Kt},pe.prototype._setListNodeCollapseState=function(D,ye,We,Ze){var st=this._setNodeCollapseState(D,Ze,!1);if(!We||!D.visible||!st)return st;var mt=D.renderNodeCount,Kt=this.updateNodeAfterCollapseChange(D),Xt=mt-(ye===-1?0:1);return this.list.splice(ye+1,Xt,Kt.slice(1)),st},pe.prototype._setNodeCollapseState=function(D,ye,We){var Ze;if(D===this.root?Ze=!1:(W(ye)?(Ze=D.collapsible!==ye.collapsible,D.collapsible=ye.collapsible):D.collapsible?(Ze=D.collapsed!==ye.collapsed,D.collapsed=ye.collapsed):Ze=!1,Ze&&this._onDidChangeCollapseState.fire({node:D,deep:We})),!W(ye)&&ye.recursive)for(var st=0,mt=D.children;st0,Xt.visibleChildrenCount=wo,Xt.visible=no===2?wo>0:no===1,Xt.visible?Xt.collapsed||(Xt.renderNodeCount=_o):(Xt.renderNodeCount=0,Ze&&st.pop()),mt&&mt(Xt),Xt},pe.prototype.updateNodeAfterCollapseChange=function(D){var ye=D.renderNodeCount,We=[];return this._updateNodeAfterCollapseChange(D,We),this._updateAncestorsRenderNodeCount(D.parent,We.length-ye),We},pe.prototype._updateNodeAfterCollapseChange=function(D,ye){if(D.visible===!1)return 0;if(ye.push(D),D.renderNodeCount=1,!D.collapsed)for(var We=0,Ze=D.children;Weye.children.length?!1:this.hasTreeNode(Ze,ye.children[We])},pe.prototype.getTreeNode=function(D,ye){if(ye===void 0&&(ye=this.root),!D||D.length===0)return ye;var We=D[0],Ze=D.slice(1);if(We<0||We>ye.children.length)throw new L(this.user,"Invalid tree location");return this.getTreeNode(Ze,ye.children[We])},pe.prototype.getTreeNodeWithListIndex=function(D){if(D.length===0)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};var ye=this.getParentNodeWithListIndex(D),We=ye.parentNode,Ze=ye.listIndex,st=ye.revealed,mt=ye.visible,Kt=D[D.length-1];if(Kt<0||Kt>We.children.length)throw new L(this.user,"Invalid tree location");var Xt=We.children[Kt];return{node:Xt,listIndex:Ze,revealed:st,visible:mt&&Xt.visible}},pe.prototype.getParentNodeWithListIndex=function(D,ye,We,Ze,st){ye===void 0&&(ye=this.root),We===void 0&&(We=0),Ze===void 0&&(Ze=!0),st===void 0&&(st=!0);var mt=D[0],Kt=D.slice(1);if(mt<0||mt>ye.children.length)throw new L(this.user,"Invalid tree location");for(var Xt=0;Xt0)?(Object(T.g)(ye.twistie,"codicon","codicon-chevron-down","collapsible"),Object(T.Y)(ye.twistie,"collapsed",D.collapsed)):Object(T.Q)(ye.twistie,"codicon","codicon-chevron-down","collapsible","collapsed"),D.collapsible?ye.container.setAttribute("aria-expanded",String(!D.collapsed)):ye.container.removeAttribute("aria-expanded")},pe.prototype.renderIndentGuides=function(D,ye){var We=this;if(Object(T.t)(ye.indent),ye.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;for(var Ze=new J.b,st=this.modelProvider(),mt=D,Kt=function(){var lo=st.getNodeLocation(mt),Ro=st.getParentNodeLocation(lo);if(!Ro)return"break";var wo=st.getNode(Ro),_o=Object(T.a)(".indent-guide",{style:"width: "+Xt.indent+"px"});Xt.activeIndentNodes.has(wo)&&Object(T.f)(_o,"active"),ye.indent.childElementCount===0?ye.indent.appendChild(_o):ye.indent.insertBefore(_o,ye.indent.firstElementChild),Xt.renderedIndentGuides.add(wo,_o),Ze.add(Object(J.h)(function(){return We.renderedIndentGuides.delete(wo,_o)})),mt=wo},Xt=this;;){var no=Kt();if(no==="break")break}ye.indentGuidesDisposable=Ze},pe.prototype._onDidChangeActiveNodes=function(D){var ye=this;if(!this.shouldRenderIndentGuides)return;var We=new Set,Ze=this.modelProvider();D.forEach(function(st){var mt=Ze.getNodeLocation(st);try{var Kt=Ze.getParentNodeLocation(mt);st.collapsible&&st.children.length>0&&!st.collapsed?We.add(st):Kt&&We.add(Ze.getNode(Kt))}catch(Xt){}}),this.activeIndentNodes.forEach(function(st){We.has(st)||ye.renderedIndentGuides.forEach(st,function(mt){return Object(T.P)(mt,"active")})}),We.forEach(function(st){ye.activeIndentNodes.has(st)||ye.renderedIndentGuides.forEach(st,function(mt){return Object(T.f)(mt,"active")})}),this.activeIndentNodes=We},pe.prototype.dispose=function(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),Object(J.f)(this.disposables)},pe.DefaultIndent=8,pe}(),me=function(){function pe(D,ye,We){this.tree=D,this.keyboardNavigationLabelProvider=ye,this._filter=We,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new J.b,D.onWillRefilter(this.reset,this,this.disposables)}return Object.defineProperty(pe.prototype,"totalCount",{get:function(){return this._totalCount},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"matchCount",{get:function(){return this._matchCount},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"pattern",{set:function(ye){this._pattern=ye,this._lowercasePattern=ye.toLowerCase()},enumerable:!0,configurable:!0}),pe.prototype.filter=function(D,ye){if(this._filter){var We=this._filter.filter(D,ye);if(this.tree.options.simpleKeyboardNavigation)return We;var Ze=void 0;if(typeof We=="boolean"?Ze=We?1:0:$(We)?Ze=ie(We.visibility):Ze=We,Ze===0)return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:m.a.Default,visibility:!0};var st=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(D),mt=st&&st.toString();if(typeof mt=="undefined")return{data:m.a.Default,visibility:!0};var Kt=Object(m.d)(this._pattern,this._lowercasePattern,0,mt,mt.toLowerCase(),0,!0);return Kt?(this._matchCount++,{data:Kt,visibility:!0}):this.tree.options.filterOnType?2:{data:m.a.Default,visibility:!0}},pe.prototype.reset=function(){this._totalCount=0,this._matchCount=0},pe.prototype.dispose=function(){Object(J.f)(this.disposables)},pe}(),ge=function(){function pe(D,ye,We,Ze,st){this.tree=D,this.view=We,this.filter=Ze,this.keyboardNavigationDelegate=st,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new w.a,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new w.a,this.enabledDisposables=new J.b,this.disposables=new J.b,this.domNode=Object(T.a)(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,Object(d.a)(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=Object(T.q)(We.getHTMLElement(),Object(T.a)(".monaco-list-type-filter-message")),this.labelDomNode=Object(T.q)(this.domNode,Object(T.a)("span.label"));var mt=Object(T.q)(this.domNode,Object(T.a)(".controls"));this._filterOnType=!!D.options.filterOnType,this.filterOnTypeDomNode=Object(T.q)(mt,Object(T.a)("input.filter.codicon.codicon-list-selection")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitle(),Object(d.a)(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=Object(T.q)(mt,Object(T.a)("button.clear.codicon.codicon-close")),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=Object(I.a)("clear","Clear"),this.keyboardNavigationEventFilter=D.options.keyboardNavigationEventFilter,ye.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(D.options)}return Object.defineProperty(pe.prototype,"enabled",{get:function(){return this._enabled},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"pattern",{get:function(){return this._pattern},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"filterOnType",{get:function(){return this._filterOnType},enumerable:!0,configurable:!0}),pe.prototype.updateOptions=function(D){D.simpleKeyboardNavigation?this.disable():this.enable(),typeof D.filterOnType!="undefined"&&(this._filterOnType=!!D.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType),typeof D.automaticKeyboardNavigation!="undefined"&&(this.automaticKeyboardNavigation=D.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")},pe.prototype.enable=function(){var D=this;if(this._enabled)return;var ye=w.b.chain(Object(d.a)(this.view.getHTMLElement(),"keydown")).filter(function(Ze){return!we(Ze.target)||Ze.target===D.filterOnTypeDomNode}).filter(function(Ze){return Ze.key!=="Dead"&&!/^Media/.test(Ze.key)}).map(function(Ze){return new p.a(Ze)}).filter(this.keyboardNavigationEventFilter||function(){return!0}).filter(function(){return D.automaticKeyboardNavigation||D.triggered}).filter(function(Ze){return D.keyboardNavigationDelegate.mightProducePrintableCharacter(Ze)||(D.pattern.length>0||D.triggered)&&(Ze.keyCode===9||Ze.keyCode===1)&&!Ze.altKey&&!Ze.ctrlKey&&!Ze.metaKey||Ze.keyCode===1&&(Ce.e?Ze.altKey&&!Ze.metaKey:Ze.ctrlKey)&&!Ze.shiftKey}).forEach(function(Ze){Ze.stopPropagation(),Ze.preventDefault()}).event,We=Object(d.a)(this.clearDomNode,"click");w.b.chain(w.b.any(ye,We)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1},pe.prototype.disable=function(){if(!this._enabled)return;this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1},pe.prototype.onEventOrInput=function(D){typeof D=="string"?this.onInput(D):D instanceof MouseEvent||D.keyCode===9||D.keyCode===1&&(Ce.e?D.altKey:D.ctrlKey)?this.onInput(""):D.keyCode===1?this.onInput(this.pattern.length===0?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+D.browserEvent.key)},pe.prototype.onInput=function(D){var ye=this.view.getHTMLElement();D&&!this.domNode.parentElement?ye.append(this.domNode):!D&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=D,this._onDidChangePattern.fire(D),this.filter.pattern=D,this.tree.refilter(),D&&this.tree.focusNext(0,!0,void 0,function(st){return!m.a.isDefault(st.filterData)});var We=this.tree.getFocus();if(We.length>0){var Ze=We[0];this.tree.getRelativeTop(Ze)===null&&this.tree.reveal(Ze,.5)}this.render(),D||(this.triggered=!1)},pe.prototype.onDragStart=function(){var D=this,ye=this.view.getHTMLElement(),We=Object(T.C)(ye).left,Ze=ye.clientWidth,st=Ze/2,mt=this.domNode.clientWidth,Kt=new J.b,Xt=this.positionClassName,no=function(){switch(Xt){case"nw":D.domNode.style.top="4px",D.domNode.style.left="4px";break;case"ne":D.domNode.style.top="4px",D.domNode.style.left=Ze-mt-6+"px";break}},vo=function(wo){wo.preventDefault();var _o=wo.screenX-We;wo.dataTransfer&&(wo.dataTransfer.dropEffect="none"),_o0&&this.filter.matchCount===0;this.pattern&&this.tree.options.filterOnType&&D?(this.messageDomNode.textContent=Object(I.a)("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerHTML="",this._empty=!1),Object(T.Y)(this.domNode,"no-matches",D),this.domNode.title=Object(I.a)("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"\u2026"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)},pe.prototype.shouldAllowFocus=function(D){return!this.enabled||!this.pattern||this.filterOnType||this.filter.totalCount>0&&this.filter.matchCount<=1?!0:!m.a.isDefault(D.filterData)},pe.prototype.dispose=function(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),Object(J.f)(this.disposables)},pe}();function we(pe){return pe.tagName==="INPUT"||pe.tagName==="TEXTAREA"}function Re(pe){return{elements:pe.elements.map(function(D){return D.element}),browserEvent:pe.browserEvent}}function Ee(pe,D){D(pe),pe.children.forEach(function(ye){return Ee(ye,D)})}var ve=function(){function pe(D){this.identityProvider=D,this.nodes=[],this._onDidChange=new w.a,this.onDidChange=this._onDidChange.event}return Object.defineProperty(pe.prototype,"nodeSet",{get:function(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet},enumerable:!0,configurable:!0}),pe.prototype.set=function(D,ye){if(Object(s.g)(this.nodes,D))return;this._set(D,!1,ye)},pe.prototype._set=function(D,ye,We){if(this.nodes=ne(D),this.elements=void 0,this._nodeSet=void 0,!ye){var Ze=this;this._onDidChange.fire({get elements(){return Ze.get()},browserEvent:We})}},pe.prototype.get=function(){return this.elements||(this.elements=this.nodes.map(function(D){return D.element})),ne(this.elements)},pe.prototype.getNodes=function(){return this.nodes},pe.prototype.has=function(D){return this.nodeSet.has(D)},pe.prototype.onDidModelSplice=function(D){var ye=this,We=D.insertedNodes,Ze=D.deletedNodes;if(!this.identityProvider){var st=this.createNodeSet(),mt=function(tn){return st.delete(tn)};Ze.forEach(function(xo){return Ee(xo,mt)}),this.set(Object(Me.e)(st));return}var Kt=new Set,Xt=function(tn){return Kt.add(ye.identityProvider.getId(tn.element).toString())};Ze.forEach(function(xo){return Ee(xo,Xt)});var no=new Map,vo=function(tn){return no.set(ye.identityProvider.getId(tn.element).toString(),tn)};We.forEach(function(xo){return Ee(xo,vo)});for(var lo=[],Ro=0,wo=this.nodes;Ro0&&pe.prototype.setFocus.call(this,Object(s.f)(ne(pe.prototype.getFocus.call(this),mt))),Kt.length>0&&pe.prototype.setSelection.call(this,Object(s.f)(ne(pe.prototype.getSelection.call(this),Kt)))},D.prototype.setFocus=function(ye,We,Ze){var st=this;Ze===void 0&&(Ze=!1),pe.prototype.setFocus.call(this,ye,We),Ze||this.focusTrait.set(ye.map(function(mt){return st.element(mt)}),We)},D.prototype.setSelection=function(ye,We,Ze){var st=this;Ze===void 0&&(Ze=!1),pe.prototype.setSelection.call(this,ye,We),Ze||this.selectionTrait.set(ye.map(function(mt){return st.element(mt)}),We)},D}(re.c),F=function(){function pe(D,ye,We,Ze,st){var mt=this;st===void 0&&(st={}),this._options=st,this.eventBufferer=new w.c,this.disposables=new J.b,this._onWillRefilter=new w.a,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new w.a;var Kt=new X(We),Xt=new w.f,no=new w.f,vo=new je(no.event);this.renderers=Ze.map(function(xo){return new Xe(xo,function(){return mt.model},Xt.event,vo,st)});for(var lo=0,Ro=this.renderers;lo .indent-guide, .monaco-list"+ye+".always .monaco-tl-indent > .indent-guide { border-color: "+D.treeIndentGuidesStroke.transparent(.4)+"; }"),We.push(".monaco-list"+ye+" .monaco-tl-indent > .indent-guide.active { border-color: "+D.treeIndentGuidesStroke+"; }"));var Ze=We.join(` +`);Ze!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=Ze),this.view.style(D)},pe.prototype.collapse=function(D,ye){return ye===void 0&&(ye=!1),this.model.setCollapsed(D,!0,ye)},pe.prototype.expand=function(D,ye){return ye===void 0&&(ye=!1),this.model.setCollapsed(D,!1,ye)},pe.prototype.isCollapsible=function(D){return this.model.isCollapsible(D)},pe.prototype.setCollapsible=function(D,ye){return this.model.setCollapsible(D,ye)},pe.prototype.isCollapsed=function(D){return this.model.isCollapsed(D)},pe.prototype.refilter=function(){this._onWillRefilter.fire(void 0),this.model.refilter()},pe.prototype.setSelection=function(D,ye){var We=this,Ze=D.map(function(mt){return We.model.getNode(mt)});this.selection.set(Ze,ye);var st=D.map(function(mt){return We.model.getListIndex(mt)}).filter(function(mt){return mt>-1});this.view.setSelection(st,ye,!0)},pe.prototype.getSelection=function(){return this.selection.get()},pe.prototype.setFocus=function(D,ye){var We=this,Ze=D.map(function(mt){return We.model.getNode(mt)});this.focus.set(Ze,ye);var st=D.map(function(mt){return We.model.getListIndex(mt)}).filter(function(mt){return mt>-1});this.view.setFocus(st,ye,!0)},pe.prototype.focusNext=function(D,ye,We,Ze){D===void 0&&(D=1),ye===void 0&&(ye=!1),Ze===void 0&&(Ze=this.focusNavigationFilter),this.view.focusNext(D,ye,We,Ze)},pe.prototype.getFocus=function(){return this.focus.get()},pe.prototype.reveal=function(D,ye){this.model.expandTo(D);var We=this.model.getListIndex(D);if(We===-1)return;this.view.reveal(We,ye)},pe.prototype.getRelativeTop=function(D){var ye=this.model.getListIndex(D);return ye===-1?null:this.view.getRelativeTop(ye)},pe.prototype.onLeftArrow=function(D){D.preventDefault(),D.stopPropagation();var ye=this.view.getFocusedElements();if(ye.length===0)return;var We=ye[0],Ze=this.model.getNodeLocation(We),st=this.model.setCollapsed(Ze,!0);if(!st){var mt=this.model.getParentNodeLocation(Ze);if(!mt)return;var Kt=this.model.getListIndex(mt);this.view.reveal(Kt),this.view.setFocus([Kt])}},pe.prototype.onRightArrow=function(D){D.preventDefault(),D.stopPropagation();var ye=this.view.getFocusedElements();if(ye.length===0)return;var We=ye[0],Ze=this.model.getNodeLocation(We),st=this.model.setCollapsed(Ze,!1);if(!st){if(!We.children.some(function(Xt){return Xt.visible}))return;var mt=this.view.getFocus()[0],Kt=mt+1;this.view.reveal(Kt),this.view.setFocus([Kt])}},pe.prototype.onSpace=function(D){D.preventDefault(),D.stopPropagation();var ye=this.view.getFocusedElements();if(ye.length===0)return;var We=ye[0],Ze=this.model.getNodeLocation(We),st=D.browserEvent.altKey;this.model.setCollapsed(Ze,void 0,st)},pe.prototype.dispose=function(){Object(J.f)(this.disposables),this.view.dispose()},pe}(),se=function(){return se=Object.assign||function(pe){for(var D,ye=1,We=arguments.length;ye=0;Kt--)(mt=pe[Kt])&&(st=(Ze<3?mt(st):Ze>3?mt(D,ye,st):mt(D,ye))||st);return Ze>3&&st&&Object.defineProperty(D,ye,st),st},at=function(pe){ft(D,pe);function D(ye,We,Ze,st,mt){return mt===void 0&&(mt={}),pe.call(this,ye,We,Ze,st,mt)||this}return Object.defineProperty(D.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),D.prototype.setChildren=function(ye,We){this.model.setChildren(ye,We)},D.prototype.rerender=function(ye){if(ye===void 0){this.view.rerender();return}this.model.rerender(ye)},D.prototype.hasElement=function(ye){return this.model.has(ye)},D.prototype.createModel=function(ye,We,Ze){return new be(ye,We,Ze)},D}(F),tt=function(){function pe(D,ye){this._compressedTreeNodeProvider=D,this.renderer=ye,this.templateId=ye.templateId,ye.onDidChangeTwistieState&&(this.onDidChangeTwistieState=ye.onDidChangeTwistieState)}return Object.defineProperty(pe.prototype,"compressedTreeNodeProvider",{get:function(){return this._compressedTreeNodeProvider()},enumerable:!0,configurable:!0}),pe.prototype.renderTemplate=function(D){var ye=this.renderer.renderTemplate(D);return{compressedTreeNode:void 0,data:ye}},pe.prototype.renderElement=function(D,ye,We,Ze){var st=this.compressedTreeNodeProvider.getCompressedTreeNode(D.element);st.element.elements.length===1?(We.compressedTreeNode=void 0,this.renderer.renderElement(D,ye,We.data,Ze)):(We.compressedTreeNode=st,this.renderer.renderCompressedElements(st,ye,We.data,Ze))},pe.prototype.disposeElement=function(D,ye,We,Ze){We.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(We.compressedTreeNode,ye,We.data,Ze):this.renderer.disposeElement&&this.renderer.disposeElement(D,ye,We.data,Ze)},pe.prototype.disposeTemplate=function(D){this.renderer.disposeTemplate(D.data)},pe.prototype.renderTwistie=function(D,ye){this.renderer.renderTwistie&&this.renderer.renderTwistie(D,ye)},At([Pt.a],pe.prototype,"compressedTreeNodeProvider",null),pe}();function ut(pe,D){return D&&vt(vt({},D),{keyboardNavigationLabelProvider:D.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel:function(We){var Ze;try{Ze=pe().getCompressedTreeNode(We)}catch(st){return D.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(We)}return Ze.element.elements.length===1?D.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(We):D.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(Ze.element.elements)}}})}var Ct=function(pe){ft(D,pe);function D(ye,We,Ze,st,mt){mt===void 0&&(mt={});var Kt=this,Xt=function(){return Kt},no=st.map(function(vo){return new tt(Xt,vo)});return Kt=pe.call(this,ye,We,Ze,no,ut(Xt,mt))||this,Kt}return D.prototype.setChildren=function(ye,We){this.model.setChildren(ye,We)},D.prototype.createModel=function(ye,We,Ze){return new so(ye,We,Ze)},D.prototype.updateOptions=function(ye){ye===void 0&&(ye={}),pe.prototype.updateOptions.call(this,ye),typeof ye.compressionEnabled!="undefined"&&this.model.setCompressionEnabled(ye.compressionEnabled)},D.prototype.getCompressedTreeNode=function(ye){return ye===void 0&&(ye=null),this.model.getCompressedTreeNode(ye)},D}(at),gt=e("/cxE"),bt=function(){var pe=function(ye,We){return pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ze,st){Ze.__proto__=st}||function(Ze,st){for(var mt in st)st.hasOwnProperty(mt)&&(Ze[mt]=st[mt])},pe(ye,We)};return function(D,ye){pe(D,ye);function We(){this.constructor=D}D.prototype=ye===null?Object.create(ye):(We.prototype=ye.prototype,new We)}}(),Gt=function(){return Gt=Object.assign||function(pe){for(var D,ye=1,We=arguments.length;ye0&&st[st.length-1])&&(no[0]===6||no[0]===2)){ye=0;continue}if(no[0]===3&&(!st||no[1]>st[0]&&no[1]-1&&Ze.focus.push(Rn),Ze&&Ze.viewState.selection&&Ze.viewState.selection.indexOf(On)>-1&&Ze.selection.push(Rn),Ze&&Ze.viewState.expanded&&Ze.viewState.expanded.indexOf(On)>-1?wo.push(Rn):En&&mt.collapseByDefault&&!mt.collapseByDefault(gn)&&(Rn.collapsedByDefault=!1,wo.push(Rn)),Rn}),jo=0,Ho=Object(Me.e)(Kt);jo-1?Ze=!1:Ze=D.collapsedByDefault,D.collapsedByDefault=void 0,{element:D,children:D.hasChildren?k.d.map(k.d.fromArray(D.children),function(st){return We.asTreeElement(st,ye)}):[],collapsible:D.hasChildren,collapsed:Ze}},pe.prototype.processChildren=function(D){return this.sorter&&D.sort(this.sorter.compare.bind(this.sorter)),D},pe.prototype.dispose=function(){this.disposables.dispose()},pe}(),eo=function(){function pe(D){this.node=D}return Object.defineProperty(pe.prototype,"element",{get:function(){return{elements:this.node.element.elements.map(function(ye){return ye.element}),incompressible:this.node.element.incompressible}},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"children",{get:function(){return this.node.children.map(function(ye){return new pe(ye)})},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"depth",{get:function(){return this.node.depth},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"visibleChildrenCount",{get:function(){return this.node.visibleChildrenCount},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"visibleChildIndex",{get:function(){return this.node.visibleChildIndex},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"collapsible",{get:function(){return this.node.collapsible},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"collapsed",{get:function(){return this.node.collapsed},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"visible",{get:function(){return this.node.visible},enumerable:!0,configurable:!0}),Object.defineProperty(pe.prototype,"filterData",{get:function(){return this.node.filterData},enumerable:!0,configurable:!0}),pe}(),po=function(){function pe(D,ye,We,Ze){this.renderer=D,this.nodeMapper=ye,this.compressibleNodeMapperProvider=We,this.onDidChangeTwistieState=Ze,this.renderedNodes=new Map,this.disposables=[],this.templateId=D.templateId}return pe.prototype.renderTemplate=function(D){var ye=this.renderer.renderTemplate(D);return{templateData:ye}},pe.prototype.renderElement=function(D,ye,We,Ze){this.renderer.renderElement(this.nodeMapper.map(D),ye,We.templateData,Ze)},pe.prototype.renderCompressedElements=function(D,ye,We,Ze){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(D),ye,We.templateData,Ze)},pe.prototype.renderTwistie=function(D,ye){return Object(T.Y)(ye,"codicon-loading",D.slow),!1},pe.prototype.disposeElement=function(D,ye,We,Ze){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(D),ye,We.templateData,Ze)},pe.prototype.disposeCompressedElements=function(D,ye,We,Ze){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(D),ye,We.templateData,Ze)},pe.prototype.disposeTemplate=function(D){this.renderer.disposeTemplate(D.templateData)},pe.prototype.dispose=function(){this.renderedNodes.clear(),this.disposables=Object(J.f)(this.disposables)},pe}();function co(pe){var D=pe&<(pe);return D&&Gt(Gt({},D),{keyboardNavigationLabelProvider:D.keyboardNavigationLabelProvider&&Gt(Gt({},D.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:function(We){return pe.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(We.map(function(Ze){return Ze.element}))}})})}var Eo=function(pe){bt(D,pe);function D(ye,We,Ze,st,mt,Kt,Xt){Xt===void 0&&(Xt={});var no=pe.call(this,ye,We,Ze,mt,Kt,Xt)||this;return no.compressionDelegate=st,no.compressibleNodeMapper=new A(function(vo){return new eo(vo)}),no.filter=Xt.filter,no}return D.prototype.createTree=function(ye,We,Ze,st,mt){var Kt=this,Xt=new X(Ze),no=st.map(function(lo){return new po(lo,Kt.nodeMapper,function(){return Kt.compressibleNodeMapper},Kt._onDidChangeNodeSlowState.event)}),vo=co(mt)||{};return new Ct(ye,We,Xt,no,vo)},D.prototype.asTreeElement=function(ye,We){return Gt({incompressible:this.compressionDelegate.isIncompressible(ye.element)},pe.prototype.asTreeElement.call(this,ye,We))},D.prototype.updateOptions=function(ye){ye===void 0&&(ye={}),this.tree.updateOptions(ye)},D.prototype.render=function(ye,We){var Ze=this;if(!this.identityProvider)return pe.prototype.render.call(this,ye,We);var st=function(jo){return Ze.identityProvider.getId(jo).toString()},mt=function(jo){for(var Ho=new Set,Do=0,xo=jo;Do=0;Kt--)(mt=pe[Kt])&&(st=(Ze<3?mt(st):Ze>3?mt(D,ye,st):mt(D,ye))||st);return Ze>3&&st&&Object.defineProperty(D,ye,st),st},Mo=function(pe,D){return function(ye,We){D(ye,We,pe)}},Qo,fn=Object(U.c)("listService"),Vo=function(){function pe(D){this._themeService=D,this.disposables=new J.b,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}return Object.defineProperty(pe.prototype,"lastFocusedList",{get:function(){return this._lastFocusedWidget},enumerable:!0,configurable:!0}),pe.prototype.register=function(D,ye){var We=this;if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;var Ze=new re.b(Object(T.w)(),"");this.disposables.add(Object(y.b)(Ze,this._themeService))}if(this.lists.some(function(mt){return mt.widget===D}))throw new Error("Cannot register the same widget multiple times");var st={widget:D,extraContextKeys:ye};return this.lists.push(st),D.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=D),Object(J.e)(D.onDidFocus(function(){return We._lastFocusedWidget=D}),Object(J.h)(function(){return We.lists.splice(We.lists.indexOf(st),1)}),D.onDidDispose(function(){We.lists=We.lists.filter(function(mt){return mt!==st}),We._lastFocusedWidget===D&&(We._lastFocusedWidget=void 0)}))},pe.prototype.dispose=function(){this.disposables.dispose()},pe=Bo([Mo(0,_.c)],pe),pe}(),mn=new O.d("listFocus",!0),yn=new O.d("listSupportsMultiselect",!0),dn=O.a.and(mn,O.a.not(f)),rn=new O.d("listHasSelectionOrFocus",!1),pn=new O.d("listDoubleSelection",!1),zo=new O.d("listMultiSelection",!1),Uo=new O.d("listSupportsKeyboardNavigation",!0),St="listAutomaticKeyboardNavigation",ot=new O.d(St,!0),nt=!1;function Dt(pe,D){var ye=pe.createScoped(D.getHTMLElement());return mn.bindTo(ye),ye}var _e="workbench.list.multiSelectModifier",M="workbench.list.openMode",P="workbench.list.horizontalScrolling",Z="workbench.list.keyboardNavigation",Ae="workbench.list.automaticKeyboardNavigation",xe="workbench.tree.indent",Ne="workbench.tree.renderIndentGuides";function dt(pe){return Object(H.f)(pe,P,"workbench.tree.horizontalScrolling")}function ht(pe){return pe.getValue(_e)==="alt"}function xt(pe){return pe.getValue(M)!=="doubleClick"}var Bt=function(pe){Wo(D,pe);function D(ye){var We=pe.call(this)||this;return We.configurationService=ye,We.useAltAsMultipleSelectionModifier=ht(ye),We.registerListeners(),We}return D.prototype.registerListeners=function(){var ye=this;this._register(this.configurationService.onDidChangeConfiguration(function(We){We.affectsConfiguration(_e)&&(ye.useAltAsMultipleSelectionModifier=ht(ye.configurationService))}))},D.prototype.isSelectionSingleChangeEvent=function(ye){return this.useAltAsMultipleSelectionModifier?ye.browserEvent.altKey:Object(re.f)(ye)},D.prototype.isSelectionRangeChangeEvent=function(ye){return Object(re.e)(ye)},D}(J.a),Ut=function(pe){Wo(D,pe);function D(ye,We){var Ze=pe.call(this)||this;return Ze.configurationService=ye,Ze.existingOpenController=We,Ze.openOnSingleClick=xt(ye),Ze.registerListeners(),Ze}return D.prototype.registerListeners=function(){var ye=this;this._register(this.configurationService.onDidChangeConfiguration(function(We){We.affectsConfiguration(M)&&(ye.openOnSingleClick=xt(ye.configurationService))}))},D.prototype.shouldOpen=function(ye){if(ye instanceof MouseEvent){var We=ye.button===0,Ze=ye.detail===2;return We&&!this.openOnSingleClick&&!Ze?!1:We||ye.button===1?this.existingOpenController?this.existingOpenController.shouldOpen(ye):!0:!1}return this.existingOpenController?this.existingOpenController.shouldOpen(ye):!0},D}(J.a);function Ht(pe,D,ye){var We=new J.b,Ze=Go({},pe);if(pe.multipleSelectionSupport!==!1&&!pe.multipleSelectionController){var st=new Bt(D);Ze.multipleSelectionController=st,We.add(st)}var mt=new Ut(D,pe.openController);return Ze.openController=mt,We.add(mt),Ze.keyboardNavigationDelegate={mightProducePrintableCharacter:function(Xt){return ye.mightProducePrintableCharacter(Xt)}},[Ze,We]}function oo(pe,D){var ye=!1;return function(We){if(ye)return ye=!1,!1;var Ze=D.softDispatch(We,pe);return Ze&&Ze.enterChord?(ye=!0,!1):(ye=!1,!0)}}var Zt=function(pe){Wo(D,pe);function D(ye,We,Ze,st,mt,Kt,Xt,no,vo,lo,Ro){var wo=this,_o=Oe(We,mt,Kt,vo,lo,Ro),jo=_o.options,Ho=_o.getAutomaticKeyboardNavigation,Do=_o.disposable;return wo=pe.call(this,ye,We,Ze,st,jo)||this,wo.disposables.add(Do),wo.internals=new rt(wo,jo,Ho,mt.overrideStyles,Kt,Xt,no,vo,Ro),wo.disposables.add(wo.internals),wo}return D=Bo([Mo(5,O.c),Mo(6,fn),Mo(7,_.c),Mo(8,H.a),Mo(9,x.a),Mo(10,Co.b)],D),D}(at),fo=function(pe){Wo(D,pe);function D(ye,We,Ze,st,mt,Kt,Xt,no,vo,lo,Ro,wo){var _o=this,jo=Oe(We,Kt,Xt,lo,Ro,wo),Ho=jo.options,Do=jo.getAutomaticKeyboardNavigation,xo=jo.disposable;return _o=pe.call(this,ye,We,Ze,st,mt,Ho)||this,_o.disposables.add(xo),_o.internals=new rt(_o,Ho,Do,Kt.overrideStyles,Xt,no,vo,lo,wo),_o.disposables.add(_o.internals),_o}return D.prototype.updateOptions=function(ye){ye===void 0&&(ye={}),pe.prototype.updateOptions.call(this,ye),ye.overrideStyles&&this.internals.updateStyleOverrides(ye.overrideStyles)},D=Bo([Mo(6,O.c),Mo(7,fn),Mo(8,_.c),Mo(9,H.a),Mo(10,x.a),Mo(11,Co.b)],D),D}(Zo),yt=function(pe){Wo(D,pe);function D(ye,We,Ze,st,mt,Kt,Xt,no,vo,lo,Ro,wo){var _o=this,jo=Oe(We,Kt,Xt,lo,Ro,wo),Ho=jo.options,Do=jo.getAutomaticKeyboardNavigation,xo=jo.disposable;return _o=pe.call(this,ye,We,Ze,st,mt,Ho)||this,_o.disposables.add(xo),_o.internals=new rt(_o,Ho,Do,Kt.overrideStyles,Xt,no,vo,lo,wo),_o.disposables.add(_o.internals),_o}return D.prototype.updateOptions=function(ye){ye===void 0&&(ye={}),pe.prototype.updateOptions.call(this,ye),ye.overrideStyles&&this.internals.updateStyleOverrides(ye.overrideStyles)},D=Bo([Mo(6,O.c),Mo(7,fn),Mo(8,_.c),Mo(9,H.a),Mo(10,x.a),Mo(11,Co.b)],D),D}(Jt),Ue=function(pe){Wo(D,pe);function D(ye,We,Ze,st,mt,Kt,Xt,no,vo,lo,Ro,wo,_o){var jo=this,Ho=Oe(We,Xt,no,Ro,wo,_o),Do=Ho.options,xo=Ho.getAutomaticKeyboardNavigation,tn=Ho.disposable;return jo=pe.call(this,ye,We,Ze,st,mt,Kt,Do)||this,jo.disposables.add(tn),jo.internals=new rt(jo,Do,xo,Xt.overrideStyles,no,vo,lo,Ro,_o),jo.disposables.add(jo.internals),jo}return D=Bo([Mo(7,O.c),Mo(8,fn),Mo(9,_.c),Mo(10,H.a),Mo(11,x.a),Mo(12,Co.b)],D),D}(Eo);function Oe(pe,D,ye,We,Ze,st){Uo.bindTo(ye),nt||(ot.bindTo(ye),nt=!0);var mt=function(){var Ho=ye.getContextKeyValue(St);return Ho&&(Ho=We.getValue(Ae)),Ho},Kt=st.isScreenReaderOptimized(),Xt=Kt?"simple":We.getValue(Z),no=typeof D.horizontalScrolling!="undefined"?D.horizontalScrolling:dt(We),vo=xt(We),lo=Ht(D,We,Ze),Ro=lo[0],wo=lo[1],_o=D.additionalScrollHeight;return{getAutomaticKeyboardNavigation:mt,disposable:wo,options:Go(Go({keyboardSupport:!1},Ro),{indent:We.getValue(xe),renderIndentGuides:We.getValue(Ne),automaticKeyboardNavigation:mt(),simpleKeyboardNavigation:Xt==="simple",filterOnType:Xt==="filter",horizontalScrolling:no,openOnSingleClick:vo,keyboardNavigationEventFilter:oo(pe,Ze),additionalScrollHeight:_o,hideTwistiesOfChildlessElements:D.hideTwistiesOfChildlessElements})}}var rt=function(){function pe(D,ye,We,Ze,st,mt,Kt,Xt,no){var vo=this;this.tree=D,this.themeService=Kt,this.disposables=[],this.contextKeyService=Dt(st,D);var lo=yn.bindTo(this.contextKeyService);lo.set(!(ye.multipleSelectionSupport===!1)),this.hasSelectionOrFocus=rn.bindTo(this.contextKeyService),this.hasDoubleSelection=pn.bindTo(this.contextKeyService),this.hasMultiSelection=zo.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=ht(Xt);var Ro=new Set;Ro.add(St);var wo=function(){var jo=no.isScreenReaderOptimized(),Ho=jo?"simple":Xt.getValue(Z);D.updateOptions({simpleKeyboardNavigation:Ho==="simple",filterOnType:Ho==="filter"})};this.updateStyleOverrides(Ze),this.disposables.push(this.contextKeyService,mt.register(D),D.onDidChangeSelection(function(){var _o=D.getSelection(),jo=D.getFocus();vo.hasSelectionOrFocus.set(_o.length>0||jo.length>0),vo.hasMultiSelection.set(_o.length>1),vo.hasDoubleSelection.set(_o.length===2)}),D.onDidChangeFocus(function(){var _o=D.getSelection(),jo=D.getFocus();vo.hasSelectionOrFocus.set(_o.length>0||jo.length>0)}),Xt.onDidChangeConfiguration(function(_o){if(_o.affectsConfiguration(M)&&D.updateOptions({openOnSingleClick:xt(Xt)}),_o.affectsConfiguration(_e)&&(vo._useAltAsMultipleSelectionModifier=ht(Xt)),_o.affectsConfiguration(xe)){var jo=Xt.getValue(xe);D.updateOptions({indent:jo})}if(_o.affectsConfiguration(Ne)){var Ho=Xt.getValue(Ne);D.updateOptions({renderIndentGuides:Ho})}_o.affectsConfiguration(Z)&&wo(),_o.affectsConfiguration(Ae)&&D.updateOptions({automaticKeyboardNavigation:We()})}),this.contextKeyService.onDidChangeContext(function(_o){_o.affectsSome(Ro)&&D.updateOptions({automaticKeyboardNavigation:We()})}),no.onDidChangeScreenReaderOptimized(function(){return wo()}))}return pe.prototype.updateStyleOverrides=function(D){Object(J.f)(this.styler),this.styler=D?Object(y.b)(this.tree,this.themeService,D):J.a.None},pe.prototype.dispose=function(){this.disposables=Object(J.f)(this.disposables),this.styler=Object(J.f)(this.styler)},pe=Bo([Mo(4,O.c),Mo(5,fn),Mo(6,_.c),Mo(7,H.a),Mo(8,Co.b)],pe),pe}(),It=u.a.as(z.a.Configuration);It.registerConfiguration({id:"workbench",order:7,title:Object(I.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:(Qo={},Qo[_e]={type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(I.a)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(I.a)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(I.a)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},Qo[M]={type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(I.a)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable. ")},Qo[P]={type:"boolean",default:!1,description:Object(I.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench.")},Qo["workbench.tree.horizontalScrolling"]={type:"boolean",default:!1,description:Object(I.a)("tree horizontalScrolling setting","Controls whether trees support horizontal scrolling in the workbench."),deprecationMessage:Object(I.a)("deprecated","This setting is deprecated, please use '{0}' instead.",P)},Qo[xe]={type:"number",default:8,minimum:0,maximum:40,description:Object(I.a)("tree indent setting","Controls tree indentation in pixels.")},Qo[Ne]={type:"string",enum:["none","onHover","always"],default:"onHover",description:Object(I.a)("render tree indent guides","Controls whether the tree should render indent guides.")},Qo[Z]={type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(I.a)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(I.a)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object(I.a)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object(I.a)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},Qo[Ae]={type:"boolean",default:!0,markdownDescription:Object(I.a)("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")},Qo)})},kYye:function(Lt,j,e){"use strict";e.d(j,"i",function(){return H}),e.d(j,"j",function(){return z}),e.d(j,"g",function(){return y}),e.d(j,"f",function(){return _}),e.d(j,"h",function(){return v}),e.d(j,"a",function(){return w}),e.d(j,"k",function(){return p}),e.d(j,"b",function(){return s}),e.d(j,"m",function(){return l}),e.d(j,"e",function(){return d}),e.d(j,"c",function(){return m}),e.d(j,"d",function(){return E}),e.d(j,"l",function(){return L}),e.d(j,"n",function(){return k}),e.d(j,"o",function(){return R}),e.d(j,"p",function(){return $}),e.d(j,"r",function(){return ie}),e.d(j,"q",function(){return W});var T=e("3/fG"),re=e("zrhQ"),J=e("MD5Z"),I=e("t9D7"),H=Object(J.Tb)("editor.lineHighlightBackground",{dark:null,light:null,hc:null},T.a("lineHighlight","Background color for the highlight of line at the cursor position.")),z=Object(J.Tb)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},T.a("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),O=Object(J.Tb)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},T.a("rangeHighlight","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."),!0),U=Object(J.Tb)("editor.rangeHighlightBorder",{dark:null,light:null,hc:J.b},T.a("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),x=Object(J.Tb)("editor.symbolHighlightBackground",{dark:J.t,light:J.t,hc:null},T.a("symbolHighlight","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."),!0),u=Object(J.Tb)("editor.symbolHighlightBorder",{dark:null,light:null,hc:J.b},T.a("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),y=Object(J.Tb)("editorCursor.foreground",{dark:"#AEAFAD",light:re.a.black,hc:re.a.white},T.a("caret","Color of the editor cursor.")),_=Object(J.Tb)("editorCursor.background",null,T.a("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),f=Object(J.Tb)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},T.a("editorWhitespaces","Color of whitespace characters in the editor.")),v=Object(J.Tb)("editorIndentGuide.background",{dark:f,light:f,hc:f},T.a("editorIndentGuides","Color of the editor indentation guides.")),w=Object(J.Tb)("editorIndentGuide.activeBackground",{dark:f,light:f,hc:f},T.a("editorActiveIndentGuide","Color of the active editor indentation guides.")),p=Object(J.Tb)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:re.a.white},T.a("editorLineNumbers","Color of editor line numbers.")),c=Object(J.Tb)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:J.b},T.a("editorActiveLineNumber","Color of editor active line number"),!1,T.a("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),s=Object(J.Tb)("editorLineNumber.activeForeground",{dark:c,light:c,hc:c},T.a("editorActiveLineNumber","Color of editor active line number")),l=Object(J.Tb)("editorRuler.foreground",{dark:"#5A5A5A",light:re.a.lightgrey,hc:re.a.white},T.a("editorRuler","Color of the editor rulers.")),d=Object(J.Tb)("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},T.a("editorCodeLensForeground","Foreground color of editor code lenses")),m=Object(J.Tb)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},T.a("editorBracketMatchBackground","Background color behind matching brackets")),E=Object(J.Tb)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:J.e},T.a("editorBracketMatchBorder","Color for matching brackets boxes")),L=Object(J.Tb)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},T.a("editorOverviewRulerBorder","Color of the overview ruler border.")),A=Object(J.Tb)("editorGutter.background",{dark:J.o,light:J.o,hc:J.o},T.a("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),k=Object(J.Tb)("editorUnnecessaryCode.border",{dark:null,light:null,hc:re.a.fromHex("#fff").transparent(.8)},T.a("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),R=Object(J.Tb)("editorUnnecessaryCode.opacity",{dark:re.a.fromHex("#000a"),light:re.a.fromHex("#0007"),hc:null},T.a("unnecessaryCodeOpacity",`Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.`)),$=Object(J.Tb)("editorOverviewRuler.errorForeground",{dark:new re.a(new re.c(255,18,18,.7)),light:new re.a(new re.c(255,18,18,.7)),hc:new re.a(new re.c(255,50,50,1))},T.a("overviewRuleError","Overview ruler marker color for errors.")),ie=Object(J.Tb)("editorOverviewRuler.warningForeground",{dark:J.P,light:J.P,hc:J.O},T.a("overviewRuleWarning","Overview ruler marker color for warnings.")),W=Object(J.Tb)("editorOverviewRuler.infoForeground",{dark:J.H,light:J.H,hc:J.G},T.a("overviewRuleInfo","Overview ruler marker color for infos."));Object(I.e)(function(B,le){var Ce=B.getColor(J.o);Ce&&le.addRule(".monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: "+Ce+"; }");var Me=B.getColor(J.x);Me&&le.addRule(".monaco-editor, .monaco-editor .inputarea.ime-input { color: "+Me+"; }");var Te=B.getColor(A);Te&&le.addRule(".monaco-editor .margin { background-color: "+Te+"; }");var Fe=B.getColor(O);Fe&&le.addRule(".monaco-editor .rangeHighlight { background-color: "+Fe+"; }");var He=B.getColor(U);He&&le.addRule(".monaco-editor .rangeHighlight { border: 1px "+(B.type==="hc"?"dotted":"solid")+" "+He+"; }");var Pe=B.getColor(x);Pe&&le.addRule(".monaco-editor .symbolHighlight { background-color: "+Pe+"; }");var ne=B.getColor(u);ne&&le.addRule(".monaco-editor .symbolHighlight { border: 1px "+(B.type==="hc"?"dotted":"solid")+" "+ne+"; }");var ee=B.getColor(f);ee&&le.addRule(".vs-whitespace { color: "+ee+" !important; }")})},kdPm:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:function(){return e.e(276).then(e.bind(null,"3VBA"))}})},kqbb:function(Lt,j,e){"use strict";e.r(j),e.d(j,"ColorDetector",function(){return c});var T=e("X+cX"),re=e("zrhQ"),J=e("/cxE"),I=e("7afs"),H=e("pmY6"),z=e("sswD"),O=e("Vxe3"),U=e("aokT"),x=e("tX9W"),u=e("twdY"),y=e("ZIMw"),_=e("+7oY"),f=function(){var s=function(d,m){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,L){E.__proto__=L}||function(E,L){for(var A in L)L.hasOwnProperty(A)&&(E[A]=L[A])},s(d,m)};return function(l,d){s(l,d);function m(){this.constructor=l}l.prototype=d===null?Object.create(d):(m.prototype=d.prototype,new m)}}(),v=function(s,l,d,m){var E=arguments.length,L=E<3?l:m===null?m=Object.getOwnPropertyDescriptor(l,d):m,A;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")L=Reflect.decorate(s,l,d,m);else for(var k=s.length-1;k>=0;k--)(A=s[k])&&(L=(E<3?A(L):E>3?A(l,d,L):A(l,d))||L);return E>3&&L&&Object.defineProperty(l,d,L),L},w=function(s,l){return function(d,m){l(d,m,s)}},p=500,c=function(s){f(l,s);function l(d,m,E){var L=s.call(this)||this;return L._editor=d,L._codeEditorService=m,L._configurationService=E,L._localToDispose=L._register(new H.b),L._decorationsIds=[],L._colorDatas=new Map,L._colorDecoratorIds=[],L._decorationsTypes=new Set,L._register(d.onDidChangeModel(function(A){L._isEnabled=L.isEnabled(),L.onModelChanged()})),L._register(d.onDidChangeModelLanguage(function(A){return L.onModelChanged()})),L._register(u.c.onDidChange(function(A){return L.onModelChanged()})),L._register(d.onDidChangeConfiguration(function(A){var k=L._isEnabled;L._isEnabled=L.isEnabled(),k!==L._isEnabled&&(L._isEnabled?L.onModelChanged():L.removeAllDecorations())})),L._timeoutTimer=null,L._computePromise=null,L._isEnabled=L.isEnabled(),L.onModelChanged(),L}return l.prototype.isEnabled=function(){var d=this._editor.getModel();if(!d)return!1;var m=d.getLanguageIdentifier(),E=this._configurationService.getValue(m.language);if(E){var L=E.colorDecorators;if(L&&L.enable!==void 0&&!L.enable)return L.enable}return this._editor.getOption(12)},l.get=function(d){return d.getContribution(this.ID)},l.prototype.dispose=function(){this.stop(),this.removeAllDecorations(),s.prototype.dispose.call(this)},l.prototype.onModelChanged=function(){var d=this;if(this.stop(),!this._isEnabled)return;var m=this._editor.getModel();if(!m||!u.c.has(m))return;this._localToDispose.add(this._editor.onDidChangeModelContent(function(E){d._timeoutTimer||(d._timeoutTimer=new T.e,d._timeoutTimer.cancelAndSet(function(){d._timeoutTimer=null,d.beginCompute()},l.RECOMPUTE_TIME))})),this.beginCompute()},l.prototype.beginCompute=function(){var d=this;this._computePromise=Object(T.f)(function(m){var E=d._editor.getModel();return E?Object(y.b)(E,m):Promise.resolve([])}),this._computePromise.then(function(m){d.updateDecorations(m),d.updateColorDecorators(m),d._computePromise=null},J.e)},l.prototype.stop=function(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()},l.prototype.updateDecorations=function(d){var m=this,E=d.map(function(L){return{range:{startLineNumber:L.colorInfo.range.startLineNumber,startColumn:L.colorInfo.range.startColumn,endLineNumber:L.colorInfo.range.endLineNumber,endColumn:L.colorInfo.range.endColumn},options:x.a.EMPTY}});this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,E),this._colorDatas=new Map,this._decorationsIds.forEach(function(L,A){return m._colorDatas.set(L,d[A])})},l.prototype.updateColorDecorators=function(d){for(var m=this,E=[],L={},A=0;A0;we--){var Re=me.charCodeAt(we-1);if(Re===47||Re===92)break}ge=me.substr(we)}var Ee=ae.indexOf(ge);return Ee!==-1?q[Ee]:null};he.basenames=ae,he.patterns=q,he.allBasenames=ae;var je=Pe.filter(function(Xe){return!Xe.basenames});return je.push(he),je}},lKfe:function(Lt,j,e){},"lY/7":function(Lt,j,e){"use strict";e.r(j),e.d(j,"MarkerController",function(){return he}),e.d(j,"NextMarkerAction",function(){return Xe});var T=e("3/fG"),re=e("MI8n"),J=e("pmY6"),I=e("T8No"),H=e("tADe"),z=e("aokT"),O=e("sswD"),U=e("t9D7"),x=e("wQH0"),u=e("/oaI"),y=e("EffR"),_=e("MD5Z"),f=e("zrhQ"),v=e("GJhM"),w=e("3rx1"),p=e("6OMU"),c=e("iNS8"),s=e("gslv"),l=e("S3by"),d;(function(ve){function Q(C){switch(C){case l.a.Ignore:return"severity-ignore codicon-info";case l.a.Info:return"codicon-info";case l.a.Warning:return"codicon-warning";case l.a.Error:return"codicon-error"}return""}ve.className=Q})(d||(d={})),Object(U.e)(function(ve,Q){var C=ve.getColor(_.Pb);C&&Q.addRule(` .monaco-editor .zone-widget .codicon-error, .markers-panel .marker-icon.codicon-error, .extensions-viewlet > .extensions .codicon-error, @@ -158,12 +158,12 @@ Copyright (c) 2014 Forbes Lindesay .monaco-dialog-box .dialog-message-row .codicon-info { color: `+se+`; } - `)});var m=function(){var ve=function(C,F){return ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,oe){se.__proto__=oe}||function(se,oe){for(var be in oe)oe.hasOwnProperty(be)&&(se[be]=oe[be])},ve(C,F)};return function(Q,C){ve(Q,C);function F(){this.constructor=Q}Q.prototype=C===null?Object.create(C):(F.prototype=C.prototype,new F)}}(),E=function(){function ve(Q,C,F,se){var oe=this;this._openerService=se,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new J.b,this._editor=C;var be=document.createElement("div");be.className="descriptioncontainer",be.setAttribute("aria-live","assertive"),be.setAttribute("role","alert"),this._messageBlock=document.createElement("div"),y.f(this._messageBlock,"message"),be.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),be.appendChild(this._relatedBlock),this._disposables.add(y.o(this._relatedBlock,"click",function(De){De.preventDefault();var Se=oe._relatedDiagnostics.get(De.target);Se&&F(Se)})),this._scrollable=new v.b(be,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),Q.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(function(De){be.style.left="-"+De.scrollLeft+"px",be.style.top="-"+De.scrollTop+"px"})),this._disposables.add(this._scrollable)}return ve.prototype.dispose=function(){Object(J.f)(this._disposables)},ve.prototype.update=function(Q){var C=this,F=Q.source,se=Q.message,oe=Q.relatedInformation,be=Q.code,De=((F==null?void 0:F.length)||0)+"()".length;be&&(typeof be=="string"?De+=be.length:De+=be.value.length);var Se=se.split(/\r\n|\r|\n/g);this._lines=Se.length,this._longestLineLength=0;for(var Ve=0,Qe=Se;Ve1?T.a("problems","{0} of {1} problems",F,se):T.a("change","{0} of {1} problem",F,se);this.setTitle(Object(s.b)(Se.uri),Ve)}this._icon.className="codicon "+d.className(U.c.toSeverity(this._severity)),this.editor.revealPositionInCenter(De,0),this.editor.focus()},Q.prototype.updateMarker=function(C){this._container.classList.remove("stale"),this._message.update(C)},Q.prototype.showStale=function(){this._container.classList.add("stale"),this._relayout()},Q.prototype._doLayoutBody=function(C,F){ve.prototype._doLayoutBody.call(this,C,F),this._heightInPixel=C,this._message.layout(C,F),this._container.style.height=C+"px"},Q.prototype._onWidth=function(C){this._message.layout(this._heightInPixel,C)},Q.prototype._relayout=function(){ve.prototype._relayout.call(this,this.computeRequiredHeight())},Q.prototype.computeRequiredHeight=function(){return 3+this._message.getHeightInLines()},Q}(c.c),A=Object(_.Kb)(_.q,_.p),k=Object(_.Kb)(_.P,_.O),R=Object(_.Kb)(_.H,_.G),$=Object(_.Tb)("editorMarkerNavigationError.background",{dark:A,light:A,hc:A},T.a("editorMarkerNavigationError","Editor marker navigation widget error color.")),ie=Object(_.Tb)("editorMarkerNavigationWarning.background",{dark:k,light:k,hc:k},T.a("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),W=Object(_.Tb)("editorMarkerNavigationInfo.background",{dark:R,light:R,hc:R},T.a("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),B=Object(_.Tb)("editorMarkerNavigation.background",{dark:"#2D2D30",light:f.a.white,hc:"#0C141F"},T.a("editorMarkerNavigationBackground","Editor marker navigation widget background."));Object(H.e)(function(ve,Q){var C=ve.getColor(_.ec);C&&(Q.addRule(".monaco-editor .marker-widget a { color: "+C+"; }"),Q.addRule(".monaco-editor .marker-widget a.code-link span:hover { color: "+C+"; }"))});var le=e("N0LK"),Ce=e("Vxe3"),Me=e("/cxE"),Te=e("fjLI"),Fe=e("8HAY"),Ue=e("bexQ"),Pe=e("W9cx"),ne=function(){var ve=function(C,F){return ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,oe){se.__proto__=oe}||function(se,oe){for(var be in oe)oe.hasOwnProperty(be)&&(se[be]=oe[be])},ve(C,F)};return function(Q,C){ve(Q,C);function F(){this.constructor=Q}Q.prototype=C===null?Object.create(C):(F.prototype=C.prototype,new F)}}(),ee=function(ve,Q,C,F){var se=arguments.length,oe=se<3?Q:F===null?F=Object.getOwnPropertyDescriptor(Q,C):F,be;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(ve,Q,C,F);else for(var De=ve.length-1;De>=0;De--)(be=ve[De])&&(oe=(se<3?be(oe):se>3?be(Q,C,oe):be(Q,C))||oe);return se>3&&oe&&Object.defineProperty(Q,C,oe),oe},ae=function(ve,Q){return function(C,F){Q(C,F,ve)}},q=function(ve,Q,C,F){function se(oe){return oe instanceof C?oe:new C(function(be){be(oe)})}return new(C||(C=Promise))(function(oe,be){function De(Qe){try{Ve(F.next(Qe))}catch(it){be(it)}}function Se(Qe){try{Ve(F.throw(Qe))}catch(it){be(it)}}function Ve(Qe){Qe.done?oe(Qe.value):se(Qe.value).then(De,Se)}Ve((F=F.apply(ve,Q||[])).next())})},ue=function(ve,Q){var C={label:0,sent:function(){if(oe[0]&1)throw oe[1];return oe[1]},trys:[],ops:[]},F,se,oe,be;return be={next:De(0),throw:De(1),return:De(2)},typeof Symbol=="function"&&(be[Symbol.iterator]=function(){return this}),be;function De(Ve){return function(Qe){return Se([Ve,Qe])}}function Se(Ve){if(F)throw new TypeError("Generator is already executing.");for(;C;)try{if(F=1,se&&(oe=Ve[0]&2?se.return:Ve[0]?se.throw||((oe=se.return)&&oe.call(se),0):se.next)&&!(oe=oe.call(se,Ve[1])).done)return oe;(se=0,oe)&&(Ve=[Ve[0]&2,oe.value]);switch(Ve[0]){case 0:case 1:oe=Ve;break;case 4:return C.label++,{value:Ve[1],done:!1};case 5:C.label++,se=Ve[1],Ve=[0];continue;case 7:Ve=C.ops.pop(),C.trys.pop();continue;default:if(!(oe=C.trys,oe=oe.length>0&&oe[oe.length-1])&&(Ve[0]===6||Ve[0]===2)){C=0;continue}if(Ve[0]===3&&(!oe||Ve[1]>oe[0]&&Ve[1]=0?this._markers[this._nextIdx]:void 0;this._markers=Q||[],this._markers.sort(je.compareMarker),C?this._nextIdx=Math.max(-1,Object(p.c)(this._markers,C,je.compareMarker)):this._nextIdx=-1,this._onMarkerSetChanged.fire(this)},ve.prototype.withoutWatchingEditorPosition=function(Q){this._ignoreSelectionChange=!0;try{Q()}finally{this._ignoreSelectionChange=!1}},ve.prototype._initIdx=function(Q){for(var C=!1,F=this._editor.getPosition(),se=0;se0?this._nextIdx=(this._nextIdx-1+this._markers.length)%this._markers.length:se=!0),F!==this._nextIdx){var oe=this._markers[this._nextIdx];this._onCurrentMarkerChanged.fire(oe)}return se},ve.prototype.canNavigate=function(){return this._markers.length>0},ve.prototype.findMarkerAtPosition=function(Q){return Object(p.h)(this._markers,function(C){return z.a.containsPosition(C,Q)})},Object.defineProperty(ve.prototype,"total",{get:function(){return this._markers.length},enumerable:!0,configurable:!0}),ve.prototype.indexOf=function(Q){return 1+this._markers.indexOf(Q)},ve.prototype.dispose=function(){this._toUnbind.dispose()},ve}(),he=function(){function ve(Q,C,F,se,oe,be,De){this._markerService=C,this._contextKeyService=F,this._themeService=se,this._editorService=oe,this._keybindingService=be,this._openerService=De,this._model=null,this._widget=null,this._disposeOnClose=new J.b,this._editor=Q,this._widgetVisible=Re.bindTo(this._contextKeyService)}return ve.get=function(Q){return Q.getContribution(ve.ID)},ve.prototype.dispose=function(){this._cleanUp(),this._disposeOnClose.dispose()},ve.prototype._cleanUp=function(){this._widgetVisible.reset(),this._disposeOnClose.clear(),this._widget=null,this._model=null},ve.prototype.getOrCreateModel=function(){var Q=this;if(this._model)return this._model;var C=this._getMarkers();this._model=new X(this._editor,C),this._markerService.onMarkerChanged(this._onMarkerChanged,this,this._disposeOnClose);var F=this._keybindingService.lookupKeybinding(me.ID),se=this._keybindingService.lookupKeybinding(Xe.ID),oe=[new Fe.a(Xe.ID,Xe.LABEL+(se?" ("+se.getLabel()+")":""),"show-next-problem codicon-chevron-down",this._model.canNavigate(),function(){return q(Q,void 0,void 0,function(){return ue(this,function(Ve){return this._model&&this._model.move(!0,!0),[2]})})}),new Fe.a(me.ID,me.LABEL+(F?" ("+F.getLabel()+")":""),"show-previous-problem codicon-chevron-up",this._model.canNavigate(),function(){return q(Q,void 0,void 0,function(){return ue(this,function(Ve){return this._model&&this._model.move(!1,!0),[2]})})})];this._widget=new L(this._editor,oe,this._themeService,this._openerService),this._widgetVisible.set(!0),this._widget.onDidClose(function(){return Q.closeMarkersNavigation()},this,this._disposeOnClose),this._disposeOnClose.add(this._model),this._disposeOnClose.add(this._widget);for(var be=0,De=oe;beA)return!1;for(var k=0;k=65&&R<=90&&R+32===$)continue;if($>=65&&$<=90&&$+32===R)continue;return!1}return!0},l.prototype._createOperationsForBlockComment=function(d,m,E,L,A,k){var R=d.startLineNumber,$=d.startColumn,ie=d.endLineNumber,W=d.endColumn,B=A.getLineContent(R),le=A.getLineContent(ie),Ce=B.lastIndexOf(m,$-1+m.length),Me=le.indexOf(E,W-1-E.length);if(Ce!==-1&&Me!==-1)if(R===ie){var Te=B.substring(Ce+m.length,Me);Te.indexOf(E)>=0&&(Ce=-1,Me=-1)}else{var Fe=B.substring(Ce+m.length),Ue=le.substring(0,Me);(Fe.indexOf(E)>=0||Ue.indexOf(E)>=0)&&(Ce=-1,Me=-1)}var Pe;Ce!==-1&&Me!==-1?(L&&Ce+m.length0&&le.charCodeAt(Me-1)===32&&(E=" "+E,Me-=1),Pe=l._createRemoveBlockCommentOperations(new O.a(R,Ce+m.length+1,ie,Me+1),m,E)):(Pe=l._createAddBlockCommentOperations(d,m,E,this._insertSpace),this._usedEndToken=Pe.length===1?E:null);for(var ne=0,ee=Pe;neA?m[$].commentStrOffset=k-1:m[$].commentStrOffset=k}},l}(),f=function(){var l=function(m,E){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,A){L.__proto__=A}||function(L,A){for(var k in A)A.hasOwnProperty(k)&&(L[k]=A[k])},l(m,E)};return function(d,m){l(d,m);function E(){this.constructor=d}d.prototype=m===null?Object.create(m):(E.prototype=m.prototype,new E)}}(),v=function(l){f(d,l);function d(m,E){var L=l.call(this,E)||this;return L._type=m,L}return d.prototype.run=function(m,E){if(!E.hasModel())return;for(var L=E.getModel(),A=[],k=E.getSelections(),R=L.getOptions(),$=E.getOption(13),ie=0,W=k;ie=qe?b=Math.max(b,qe+ct-g):(t[i++]=new Ue(g,b),g=qe,b=ct)}return t[i++]=new Ue(g,b),t},V._createHorizontalRangesFromClientRects=function(o,t){if(!o||o.length===0)return null;for(var i=[],g=0,b=o.length;gqe)return null;t=Math.min(qe,Math.max(Le,t)),g=Math.min(qe,Math.max(Le,g)),t!==g&&(g>0&&b===0&&(g--,b=1073741824));var ct=o.children[t].firstChild,wt=o.children[g].firstChild;if((!ct||!wt)&&(!ct&&i===0&&t>0&&(ct=o.children[t-1].firstChild,i=1073741824),!wt&&b===0&&g>0&&(wt=o.children[g-1].firstChild,b=1073741824)),!ct||!wt)return null;i=Math.min(ct.textContent.length,Math.max(0,i)),b=Math.min(wt.textContent.length,Math.max(0,b));var et=this._readClientRects(ct,i,wt,b,Ie);return this._createHorizontalRangesFromClientRects(et,K)},V}(),q=e("dBaI"),ue=e("baJR"),X=e("t9D7"),he=e("/UlZ"),je=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Xe=function(){return _.f?!0:!(_.d||v.h||v.k)}(),me=v.f,ge=function(){function V(o,t){this._domNode=o,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=t}return Object.defineProperty(V.prototype,"clientRectDeltaLeft",{get:function(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft},enumerable:!0,configurable:!0}),V}(),we=function(){function V(o,t){this.themeType=t;var i=o.options,g=i.get(34);this.renderWhitespace=i.get(74),this.renderControlCharacters=i.get(69),this.spaceWidth=g.spaceWidth,this.middotWidth=g.middotWidth,this.useMonospaceOptimizations=g.isMonospace&&!i.get(23),this.canUseHalfwidthRightwardsArrow=g.canUseHalfwidthRightwardsArrow,this.lineHeight=i.get(49),this.stopRenderingLineAfter=i.get(88),this.fontLigatures=i.get(35)}return V.prototype.equals=function(o){return this.themeType===o.themeType&&this.renderWhitespace===o.renderWhitespace&&this.renderControlCharacters===o.renderControlCharacters&&this.spaceWidth===o.spaceWidth&&this.middotWidth===o.middotWidth&&this.useMonospaceOptimizations===o.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===o.canUseHalfwidthRightwardsArrow&&this.lineHeight===o.lineHeight&&this.stopRenderingLineAfter===o.stopRenderingLineAfter&&this.fontLigatures===o.fontLigatures},V}(),Re=function(){function V(o){this._options=o,this._isMaybeInvalid=!0,this._renderedViewLine=null}return V.prototype.getDomNode=function(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null},V.prototype.setDomNode=function(o){if(this._renderedViewLine)this._renderedViewLine.domNode=Object(y.b)(o);else throw new Error("I have no rendered view line to set the dom node to...")},V.prototype.onContentChanged=function(){this._isMaybeInvalid=!0},V.prototype.onTokensChanged=function(){this._isMaybeInvalid=!0},V.prototype.onDecorationsChanged=function(){this._isMaybeInvalid=!0},V.prototype.onOptionsChanged=function(o){this._isMaybeInvalid=!0,this._options=o},V.prototype.onSelectionChanged=function(){return me||this._options.themeType===X.b||this._options.renderWhitespace==="selection"?(this._isMaybeInvalid=!0,!0):!1},V.prototype.renderLine=function(o,t,i,g){if(this._isMaybeInvalid===!1)return!1;this._isMaybeInvalid=!1;var b=i.getViewLineRenderingData(o),K=this._options,Ie=q.a.filter(b.inlineDecorations,o,b.minColumn,b.maxColumn),Le=null;if(me||K.themeType===X.b||this._options.renderWhitespace==="selection")for(var qe=i.selections,ct=0,wt=qe;cto)continue;var Wt=et.startLineNumber===o?et.startColumn:b.minColumn,kt=et.endLineNumber===o?et.endColumn:b.maxColumn;Wt');var qt=Object(ue.d)(Vt,g);g.appendASCIIString("");var $t=null;return Xe&&b.isBasicASCII&&K.useMonospaceOptimizations&&qt.containsForeignElements===0&&(b.content.length<300&&Vt.lineTokens.getCount()<100&&($t=new Ee(this._renderedViewLine?this._renderedViewLine.domNode:null,Vt,qt.characterMapping))),$t||($t=C(this._renderedViewLine?this._renderedViewLine.domNode:null,Vt,qt.characterMapping,qt.containsRTL,qt.containsForeignElements)),this._renderedViewLine=$t,!0},V.prototype.layoutLine=function(o,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))},V.prototype.getWidth=function(){return this._renderedViewLine?this._renderedViewLine.getWidth():0},V.prototype.getWidthIsFast=function(){return this._renderedViewLine?this._renderedViewLine.getWidthIsFast():!0},V.prototype.getVisibleRangesForRange=function(o,t,i){if(!this._renderedViewLine)return null;o=o|0,t=t|0,o=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,o)),t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t));var g=this._renderedViewLine.input.stopRenderingLineAfter|0,b=!1;g!==-1&&o>g+1&&t>g+1&&(b=!0),g!==-1&&o>g+1&&(o=g+1),g!==-1&&t>g+1&&(t=g+1);var K=this._renderedViewLine.getVisibleRangesForRange(o,t,i);return K&&K.length>0?new ne(b,K):null},V.prototype.getColumnOfNodeOffset=function(o,t,i){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(o,t,i):1},V.CLASS_NAME="view-line",V}(),Ee=function(){function V(o,t,i){this.domNode=o,this.input=t,this._characterMapping=i,this._charWidth=t.spaceWidth}return V.prototype.getWidth=function(){return this._getCharPosition(this._characterMapping.length)},V.prototype.getWidthIsFast=function(){return!0},V.prototype.getVisibleRangesForRange=function(o,t,i){var g=this._getCharPosition(o),b=this._getCharPosition(t);return[new Ue(g,b-g)]},V.prototype._getCharPosition=function(o){var t=this._characterMapping.getAbsoluteOffsets();return t.length===0?0:Math.round(this._charWidth*t[o-1])},V.prototype.getColumnOfNodeOffset=function(o,t,i){for(var g=t.textContent.length,b=-1;t;)t=t.previousSibling,b++;var K=this._characterMapping.partDataToCharOffset(b,g,i);return K+1},V}(),ve=function(){function V(o,t,i,g,b){if(this.domNode=o,this.input=t,this._characterMapping=i,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=b,this._cachedWidth=-1,this._pixelOffsetCache=null,!g||this._characterMapping.length===0){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(var K=0,Ie=this._characterMapping.length;K<=Ie;K++)this._pixelOffsetCache[K]=-1}}return V.prototype._getReadingTarget=function(o){return o.domNode.firstChild},V.prototype.getWidth=function(){return this.domNode?(this._cachedWidth===-1&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0},V.prototype.getWidthIsFast=function(){return!(this._cachedWidth===-1)},V.prototype.getVisibleRangesForRange=function(o,t,i){if(!this.domNode)return null;if(this._pixelOffsetCache!==null){var g=this._readPixelOffset(this.domNode,o,i);if(g===-1)return null;var b=this._readPixelOffset(this.domNode,t,i);return b===-1?null:[new Ue(g,b-g)]}return this._readVisibleRangesForRange(this.domNode,o,t,i)},V.prototype._readVisibleRangesForRange=function(o,t,i,g){if(t===i){var b=this._readPixelOffset(o,t,g);return b===-1?null:[new Ue(b,0)]}else return this._readRawVisibleRangesForRange(o,t,i,g)},V.prototype._readPixelOffset=function(o,t,i){if(this._characterMapping.length===0){if(this._containsForeignElements===0)return 0;if(this._containsForeignElements===2)return 0;if(this._containsForeignElements===1)return this.getWidth();var g=this._getReadingTarget(o);return g.firstChild?g.firstChild.offsetWidth:0}if(this._pixelOffsetCache!==null){var b=this._pixelOffsetCache[t];if(b!==-1)return b;var K=this._actualReadPixelOffset(o,t,i);return this._pixelOffsetCache[t]=K,K}return this._actualReadPixelOffset(o,t,i)},V.prototype._actualReadPixelOffset=function(o,t,i){if(this._characterMapping.length===0){var g=ae.readHorizontalRanges(this._getReadingTarget(o),0,0,0,0,i.clientRectDeltaLeft,i.endNode);return!g||g.length===0?-1:g[0].left}if(t===this._characterMapping.length&&this._isWhitespaceOnly&&this._containsForeignElements===0)return this.getWidth();var b=this._characterMapping.charOffsetToPartData(t-1),K=ue.a.getPartIndex(b),Ie=ue.a.getCharIndex(b),Le=ae.readHorizontalRanges(this._getReadingTarget(o),K,Ie,K,Ie,i.clientRectDeltaLeft,i.endNode);return!Le||Le.length===0?-1:Le[0].left},V.prototype._readRawVisibleRangesForRange=function(o,t,i,g){if(t===1&&i===this._characterMapping.length)return[new Ue(0,this.getWidth())];var b=this._characterMapping.charOffsetToPartData(t-1),K=ue.a.getPartIndex(b),Ie=ue.a.getCharIndex(b),Le=this._characterMapping.charOffsetToPartData(i-1),qe=ue.a.getPartIndex(Le),ct=ue.a.getCharIndex(Le);return ae.readHorizontalRanges(this._getReadingTarget(o),K,Ie,qe,ct,g.clientRectDeltaLeft,g.endNode)},V.prototype.getColumnOfNodeOffset=function(o,t,i){for(var g=t.textContent.length,b=-1;t;)t=t.previousSibling,b++;var K=this._characterMapping.partDataToCharOffset(b,g,i);return K+1},V}(),Q=function(V){je(o,V);function o(){return V!==null&&V.apply(this,arguments)||this}return o.prototype._readVisibleRangesForRange=function(t,i,g,b){var K=V.prototype._readVisibleRangesForRange.call(this,t,i,g,b);if(!K||K.length===0||i===g||i===1&&g===this._characterMapping.length)return K;if(!this.input.containsRTL){var Ie=this._readPixelOffset(t,g,b);if(Ie!==-1){var Le=K[K.length-1];Le.left=4&&o[0]===3&&o[3]===7},V.isStrictChildOfViewLines=function(o){return o.length>4&&o[0]===3&&o[3]===7},V.isChildOfScrollableElement=function(o){return o.length>=2&&o[0]===3&&o[1]===5},V.isChildOfMinimap=function(o){return o.length>=2&&o[0]===3&&o[1]===8},V.isChildOfContentWidgets=function(o){return o.length>=4&&o[0]===3&&o[3]===1},V.isChildOfOverflowingContentWidgets=function(o){return o.length>=1&&o[0]===2},V.isChildOfOverlayWidgets=function(o){return o.length>=2&&o[0]===3&&o[1]===4},V}(),pt=function(){function V(o,t,i){this.model=o.model;var g=o.configuration.options;this.layoutInfo=g.get(107),this.viewDomNode=t.viewDomNode,this.lineHeight=g.get(49),this.typicalHalfwidthCharacterWidth=g.get(34).typicalHalfwidthCharacterWidth,this.lastRenderData=i,this._context=o,this._viewHelper=t}return V.prototype.getZoneAtCoord=function(o){return V.getZoneAtCoord(this._context,o)},V.getZoneAtCoord=function(o,t){var i=o.viewLayout.getWhitespaceAtVerticalOffset(t);if(i){var g=i.verticalOffset+i.height/2,b=o.model.getLineCount(),K=null,Ie=void 0,Le=null;return i.afterLineNumber!==b&&(Le=new oe.a(i.afterLineNumber+1,1)),i.afterLineNumber>0&&(K=new oe.a(i.afterLineNumber,o.model.getLineMaxColumn(i.afterLineNumber))),Le===null?Ie=K:K===null?Ie=Le:t=o.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,ao._getMouseColumn(this.mouseContentHorizontalOffset,o.typicalHalfwidthCharacterWidth))}return V}(),Mt=function(V){Se(o,V);function o(t,i,g,b){var K=V.call(this,t,i,g)||this;return K._ctx=t,b?(K.target=b,K.targetPath=le.collect(b,t.viewDomNode)):(K.target=null,K.targetPath=new Uint8Array(0)),K}return o.prototype.toString=function(){return"pos("+this.pos.x+","+this.pos.y+"), editorPos("+this.editorPos.x+","+this.editorPos.y+"), mouseVerticalOffset: "+this.mouseVerticalOffset+", mouseContentHorizontalOffset: "+this.mouseContentHorizontalOffset+` - target: `+(this.target?this.target.outerHTML:null)},o.prototype.fulfill=function(t,i,g,b){i===void 0&&(i=null),g===void 0&&(g=null),b===void 0&&(b=null);var K=this.mouseColumn;return i&&i.columnK.contentLeft+K.width)continue;var wt=o.getVerticalOffsetForLineNumber(K.position.lineNumber);if(wt<=Le&&Le<=wt+K.height)return t.fulfill(6,K.position)}return null},V._hitTestViewZone=function(o,t){var i=o.getZoneAtCoord(t.mouseVerticalOffset);if(i){var g=t.isInContentArea?8:5;return t.fulfill(g,i.position,null,i)}return null},V._hitTestTextArea=function(o,t){return it.isTextArea(t.targetPath)?o.lastRenderData.lastTextareaPosition?t.fulfill(6,o.lastRenderData.lastTextareaPosition):t.fulfill(1,o.lastRenderData.lastTextareaPosition):null},V._hitTestMargin=function(o,t){if(t.isInMarginArea){var i=o.getFullLineRangeAtCoord(t.mouseVerticalOffset),g=i.range.getStartPosition(),b=Math.abs(t.pos.x-t.editorPos.x),K={isAfterLines:i.isAfterLines,glyphMarginLeft:o.layoutInfo.glyphMarginLeft,glyphMarginWidth:o.layoutInfo.glyphMarginWidth,lineNumbersWidth:o.layoutInfo.lineNumbersWidth,offsetX:b};return b-=o.layoutInfo.glyphMarginLeft,b<=o.layoutInfo.glyphMarginWidth?t.fulfill(2,g,i.range,K):(b-=o.layoutInfo.glyphMarginWidth,b<=o.layoutInfo.lineNumbersWidth?t.fulfill(3,g,i.range,K):(b-=o.layoutInfo.lineNumbersWidth,t.fulfill(4,g,i.range,K)))}return null},V._hitTestViewLines=function(o,t,i){if(!it.isChildOfViewLines(t.targetPath))return null;if(o.isAfterLines(t.mouseVerticalOffset)){var g=o.model.getLineCount(),b=o.model.getLineMaxColumn(g);return t.fulfill(7,new oe.a(g,b),void 0,zt)}if(i){if(it.isStrictChildOfViewLines(t.targetPath)){var K=o.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(o.model.getLineLength(K)===0){var Ie=o.getLineWidth(K),Le=uo(t.mouseContentHorizontalOffset-Ie);return t.fulfill(7,new oe.a(K,1),void 0,Le)}var qe=o.getLineWidth(K);if(t.mouseContentHorizontalOffset>=qe){var Le=uo(t.mouseContentHorizontalOffset-qe),ct=new oe.a(K,o.model.getLineMaxColumn(K));return t.fulfill(7,ct,void 0,Le)}}return t.fulfill(0)}var wt=V._doHitTest(o,t);return wt.position?V.createMouseTargetFromHitTestPosition(o,t,wt.position.lineNumber,wt.position.column):this._createMouseTarget(o,t.withTarget(wt.hitTarget),!0)},V._hitTestMinimap=function(o,t){if(it.isChildOfMinimap(t.targetPath)){var i=o.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),g=o.model.getLineMaxColumn(i);return t.fulfill(11,new oe.a(i,g))}return null},V._hitTestScrollbarSlider=function(o,t){if(it.isChildOfScrollableElement(t.targetPath)&&(t.target&&t.target.nodeType===1)){var i=t.target.className;if(i&&/\b(slider|scrollbar)\b/.test(i)){var g=o.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),b=o.model.getLineMaxColumn(g);return t.fulfill(11,new oe.a(g,b))}}return null},V._hitTestScrollbar=function(o,t){if(it.isChildOfScrollableElement(t.targetPath)){var i=o.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),g=o.model.getLineMaxColumn(i);return t.fulfill(11,new oe.a(i,g))}return null},V.prototype.getMouseColumn=function(o,t){var i=this._context.configuration.options,g=i.get(107),b=this._context.viewLayout.getCurrentScrollLeft()+t.x-o.x-g.contentLeft;return V._getMouseColumn(b,i.get(34).typicalHalfwidthCharacterWidth)},V._getMouseColumn=function(o,t){if(o<0)return 1;var i=Math.round(o/t);return i+1},V.createMouseTargetFromHitTestPosition=function(o,t,i,g){var b=new oe.a(i,g),K=o.getLineWidth(i);if(t.mouseContentHorizontalOffset>K){if(v.e&&b.column===1){var Ie=uo(t.mouseContentHorizontalOffset-K);return t.fulfill(7,new oe.a(i,o.model.getLineMaxColumn(i)),void 0,Ie)}var Le=uo(t.mouseContentHorizontalOffset-K);return t.fulfill(7,b,void 0,Le)}var qe=o.visibleRangeForPosition(i,g);if(!qe)return t.fulfill(0,b);var ct=qe.left;if(t.mouseContentHorizontalOffset===ct)return t.fulfill(6,b);var wt=[];if(wt.push({offset:qe.left,column:g}),g>1){var et=o.visibleRangeForPosition(i,g-1);et&&wt.push({offset:et.left,column:g-1})}var Wt=o.model.getLineMaxColumn(i);if(g=t.editorPos.y+o.layoutInfo.height&&(K=t.editorPos.y+o.layoutInfo.height-1);var Ie=new l(t.pos.x,K),Le=this._actualDoHitTestWithCaretRangeFromPoint(o,Ie.toClientCoordinates());return Le.position?Le:this._actualDoHitTestWithCaretRangeFromPoint(o,t.pos.toClientCoordinates())},V._actualDoHitTestWithCaretRangeFromPoint=function(o,t){var i=J.E(o.viewDomNode),g;if(i?typeof i.caretRangeFromPoint=="undefined"?g=so(i,t.clientX,t.clientY):g=i.caretRangeFromPoint(t.clientX,t.clientY):g=document.caretRangeFromPoint(t.clientX,t.clientY),!g||!g.startContainer)return{position:null,hitTarget:null};var b=g.startContainer,K=null;if(b.nodeType===b.TEXT_NODE){var Ie=b.parentNode,Le=Ie?Ie.parentNode:null,qe=Le?Le.parentNode:null,ct=qe&&qe.nodeType===qe.ELEMENT_NODE?qe.className:null;if(ct===Re.CLASS_NAME){var wt=o.getPositionFromDOMInfo(Ie,g.startOffset);return{position:wt,hitTarget:null}}else K=b.parentNode}else if(b.nodeType===b.ELEMENT_NODE){var Ie=b.parentNode,Le=Ie?Ie.parentNode:null,et=Le&&Le.nodeType===Le.ELEMENT_NODE?Le.className:null;if(et===Re.CLASS_NAME){var wt=o.getPositionFromDOMInfo(b,b.textContent.length);return{position:wt,hitTarget:null}}else K=b}return{position:null,hitTarget:K}},V._doHitTestWithCaretPositionFromPoint=function(o,t){var i=document.caretPositionFromPoint(t.clientX,t.clientY);if(i.offsetNode.nodeType===i.offsetNode.TEXT_NODE){var g=i.offsetNode.parentNode,b=g?g.parentNode:null,K=b?b.parentNode:null,Ie=K&&K.nodeType===K.ELEMENT_NODE?K.className:null;if(Ie===Re.CLASS_NAME){var Le=o.getPositionFromDOMInfo(i.offsetNode.parentNode,i.offset);return{position:Le,hitTarget:null}}else return{position:null,hitTarget:i.offsetNode.parentNode}}return{position:null,hitTarget:i.offsetNode}},V._doHitTestWithMoveToPoint=function(o,t){var i=null,g=null,b=document.body.createTextRange();try{b.moveToPoint(t.clientX,t.clientY)}catch(wt){return{position:null,hitTarget:null}}b.collapse(!0);var K=b?b.parentElement():null,Ie=K?K.parentNode:null,Le=Ie?Ie.parentNode:null,qe=Le&&Le.nodeType===Le.ELEMENT_NODE?Le.className:"";if(qe===Re.CLASS_NAME){var ct=b.duplicate();ct.moveToElementText(K),ct.setEndPoint("EndToStart",b),i=o.getPositionFromDOMInfo(K,ct.text.length),ct.moveToElementText(o.viewDomNode)}else g=K;return b.moveToElementText(o.viewDomNode),{position:i,hitTarget:g}},V._doHitTest=function(o,t){return typeof document.caretRangeFromPoint=="function"?this._doHitTestWithCaretRangeFromPoint(o,t):document.caretPositionFromPoint?this._doHitTestWithCaretPositionFromPoint(o,t.pos.toClientCoordinates()):document.body.createTextRange?this._doHitTestWithMoveToPoint(o,t.pos.toClientCoordinates()):{position:null,hitTarget:null}},V}();function so(V,o,t){var i=document.createRange(),g=V.elementFromPoint(o,t);if(g!==null){for(;g&&g.firstChild&&g.firstChild.nodeType!==g.firstChild.TEXT_NODE;)g=g.lastChild;var b=g.getBoundingClientRect(),K=window.getComputedStyle(g,null).getPropertyValue("font"),Ie=g.innerText,Le=b.left,qe=0,ct=void 0;if(o>b.left+b.width)qe=Ie.length;else for(var wt=Pt.getInstance(),et=0;et0?1:-1;ft.a.setZoomLevel(wt+et),ct.preventDefault(),ct.stopPropagation()}};return b._register(J.j(b.viewHelper.viewDomNode,v.f?"mousewheel":"wheel",Ie,{capture:!0,passive:!1})),b._context.addEventHandler(b),b}return o.prototype.dispose=function(){this._context.removeEventHandler(this),V.prototype.dispose.call(this)},o.prototype.onCursorStateChanged=function(t){return this._mouseDownOperation.onCursorStateChanged(t),!1},o.prototype.onFocusChanged=function(t){return this._isFocused=t.isFocused,!1},o.prototype.onScrollChanged=function(t){return this._mouseDownOperation.onScrollChanged(),!1},o.prototype.getTargetAtClientPoint=function(t,i){var g=new d(t,i),b=g.toPageCoordinates(),K=E(this.viewHelper.viewDomNode);return b.yK.y+K.height||b.xK.x+K.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),K,b,null)},o.prototype._createMouseTarget=function(t,i){return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),t.editorPos,t.pos,i?t.target:null)},o.prototype._getMouseColumn=function(t){return this.mouseTargetFactory.getMouseColumn(t.editorPos,t.pos)},o.prototype._onContextMenu=function(t,i){this.viewController.emitContextMenu({event:t,target:this._createMouseTarget(t,i)})},o.prototype._onMouseMove=function(t){if(this._mouseDownOperation.isActive())return;var i=t.timestamp;if(ii.y+i.height){var Ie=b.getCurrentScrollTop()+(t.posy-i.y),Le=pt.getZoneAtCoord(this._context,Ie);if(Le){var qe=this._helpPositionJumpOverViewZone(Le);if(qe)return new Qe(null,13,K,qe)}var wt=b.getLineNumberAtVerticalOffset(Ie);return new Qe(null,13,K,new oe.a(wt,g.getLineMaxColumn(wt)))}var et=b.getLineNumberAtVerticalOffset(b.getCurrentScrollTop()+(t.posy-i.y));return t.posxi.x+i.width?new Qe(null,13,K,new oe.a(et,g.getLineMaxColumn(et))):null},o.prototype._findMousePosition=function(t,i){var g=this._getPositionOutsideEditor(t);if(g)return g;var b=this._createMouseTarget(t,i),K=b.position;if(!K)return null;if(b.type===8||b.type===5){var Ie=this._helpPositionJumpOverViewZone(b.detail);if(Ie)return new Qe(b.element,b.type,b.mouseColumn,Ie,null,b.detail)}return b},o.prototype._helpPositionJumpOverViewZone=function(t){var i=new oe.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),g=t.positionBefore,b=t.positionAfter;return g&&b?g.isBefore(i)?g:b:null},o.prototype._dispatchMouse=function(t,i){if(!t.position)return;this._viewController.dispatchMouse({position:t.position,mouseColumn:t.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:i,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})},o}(z.a),Ct=function(){function V(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}return Object.defineProperty(V.prototype,"altKey",{get:function(){return this._altKey},enumerable:!0,configurable:!0}),Object.defineProperty(V.prototype,"ctrlKey",{get:function(){return this._ctrlKey},enumerable:!0,configurable:!0}),Object.defineProperty(V.prototype,"metaKey",{get:function(){return this._metaKey},enumerable:!0,configurable:!0}),Object.defineProperty(V.prototype,"shiftKey",{get:function(){return this._shiftKey},enumerable:!0,configurable:!0}),Object.defineProperty(V.prototype,"leftButton",{get:function(){return this._leftButton},enumerable:!0,configurable:!0}),Object.defineProperty(V.prototype,"middleButton",{get:function(){return this._middleButton},enumerable:!0,configurable:!0}),Object.defineProperty(V.prototype,"startedOnLineNumbers",{get:function(){return this._startedOnLineNumbers},enumerable:!0,configurable:!0}),Object.defineProperty(V.prototype,"count",{get:function(){return this._lastMouseDownCount},enumerable:!0,configurable:!0}),V.prototype.setModifiers=function(o){this._altKey=o.altKey,this._ctrlKey=o.ctrlKey,this._metaKey=o.metaKey,this._shiftKey=o.shiftKey},V.prototype.setStartButtons=function(o){this._leftButton=o.leftButton,this._middleButton=o.middleButton},V.prototype.setStartedOnLineNumbers=function(o){this._startedOnLineNumbers=o},V.prototype.trySetCount=function(o,t){var i=new Date().getTime();i-this._lastSetMouseDownCountTime>V.CLEAR_MOUSE_DOWN_COUNT_TIME&&(o=1),this._lastSetMouseDownCountTime=i,o>this._lastMouseDownCount+1&&(o=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(t)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=t,this._lastMouseDownCount=Math.min(o,this._lastMouseDownPositionEqualCount)},V.CLEAR_MOUSE_DOWN_COUNT_TIME=400,V}(),gt=e("CjF5"),bt=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();function Gt(V,o){var t={translationY:o.translationY,translationX:o.translationX};return V&&(t.translationY+=V.translationY,t.translationX+=V.translationX),t}var Nt=function(V){bt(o,V);function o(t,i,g){var b=V.call(this,t,i,g)||this;return b.viewHelper.linesContentDomNode.style.msTouchAction="none",b.viewHelper.linesContentDomNode.style.msContentZooming="none",b._installGestureHandlerTimeout=window.setTimeout(function(){if(b._installGestureHandlerTimeout=-1,window.MSGesture){var K=new MSGesture,Ie=new MSGesture;K.target=b.viewHelper.linesContentDomNode,Ie.target=b.viewHelper.linesContentDomNode,b.viewHelper.linesContentDomNode.addEventListener("MSPointerDown",function(Le){var qe=Le.pointerType;if(qe===(Le.MSPOINTER_TYPE_MOUSE||"mouse")){b._lastPointerType="mouse";return}else qe===(Le.MSPOINTER_TYPE_TOUCH||"touch")?(b._lastPointerType="touch",K.addPointer(Le.pointerId)):(b._lastPointerType="pen",Ie.addPointer(Le.pointerId))}),b._register(J.m(b.viewHelper.linesContentDomNode,"MSGestureChange",function(Le){return b._onGestureChange(Le)},Gt)),b._register(J.j(b.viewHelper.linesContentDomNode,"MSGestureTap",function(Le){return b._onCaptureGestureTap(Le)},!0))}},100),b._lastPointerType="mouse",b}return o.prototype._onMouseDown=function(t){this._lastPointerType==="mouse"&&V.prototype._onMouseDown.call(this,t)},o.prototype._onCaptureGestureTap=function(t){var i=this,g=new L(t,this.viewHelper.viewDomNode),b=this._createMouseTarget(g,!1);b.position&&this.viewController.moveTo(b.position),g.browserEvent.fromElement?(g.preventDefault(),this.viewHelper.focusTextArea()):setTimeout(function(){i.viewHelper.focusTextArea()})},o.prototype._onGestureChange=function(t){this._context.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)},o.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),V.prototype.dispose.call(this)},o}(tt),Et=function(V){bt(o,V);function o(t,i,g){var b=V.call(this,t,i,g)||this;return b.viewHelper.linesContentDomNode.style.touchAction="none",b._installGestureHandlerTimeout=window.setTimeout(function(){if(b._installGestureHandlerTimeout=-1,window.MSGesture){var K=new MSGesture,Ie=new MSGesture;K.target=b.viewHelper.linesContentDomNode,Ie.target=b.viewHelper.linesContentDomNode,b.viewHelper.linesContentDomNode.addEventListener("pointerdown",function(Le){var qe=Le.pointerType;if(qe==="mouse"){b._lastPointerType="mouse";return}else qe==="touch"?(b._lastPointerType="touch",K.addPointer(Le.pointerId)):(b._lastPointerType="pen",Ie.addPointer(Le.pointerId))}),b._register(J.m(b.viewHelper.linesContentDomNode,"MSGestureChange",function(Le){return b._onGestureChange(Le)},Gt)),b._register(J.j(b.viewHelper.linesContentDomNode,"MSGestureTap",function(Le){return b._onCaptureGestureTap(Le)},!0))}},100),b._lastPointerType="mouse",b}return o.prototype._onMouseDown=function(t){this._lastPointerType==="mouse"&&V.prototype._onMouseDown.call(this,t)},o.prototype._onCaptureGestureTap=function(t){var i=this,g=new L(t,this.viewHelper.viewDomNode),b=this._createMouseTarget(g,!1);b.position&&this.viewController.moveTo(b.position),g.browserEvent.fromElement?(g.preventDefault(),this.viewHelper.focusTextArea()):setTimeout(function(){i.viewHelper.focusTextArea()})},o.prototype._onGestureChange=function(t){this._context.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)},o.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),V.prototype.dispose.call(this)},o}(tt),Je=function(V){bt(o,V);function o(t,i,g){var b=V.call(this,t,i,g)||this;b._register(f.b.addTarget(b.viewHelper.linesContentDomNode)),b._register(J.j(b.viewHelper.linesContentDomNode,f.a.Tap,function(Ie){return b.onTap(Ie)})),b._register(J.j(b.viewHelper.linesContentDomNode,f.a.Change,function(Ie){return b.onChange(Ie)})),b._register(J.j(b.viewHelper.linesContentDomNode,f.a.Contextmenu,function(Ie){return b._onContextMenu(new L(Ie,b.viewHelper.viewDomNode),!1)})),b._lastPointerType="mouse",b._register(J.j(b.viewHelper.linesContentDomNode,"pointerdown",function(Ie){var Le=Ie.pointerType;if(Le==="mouse"){b._lastPointerType="mouse";return}else Le==="touch"?b._lastPointerType="touch":b._lastPointerType="pen"}));var K=new k(b.viewHelper.viewDomNode);return b._register(K.onPointerMoveThrottled(b.viewHelper.viewDomNode,function(Ie){return b._onMouseMove(Ie)},at(b.mouseTargetFactory),tt.MOUSE_MOVE_MINIMUM_TIME)),b._register(K.onPointerUp(b.viewHelper.viewDomNode,function(Ie){return b._onMouseUp(Ie)})),b._register(K.onPointerLeave(b.viewHelper.viewDomNode,function(Ie){return b._onMouseLeave(Ie)})),b._register(K.onPointerDown(b.viewHelper.viewDomNode,function(Ie){return b._onMouseDown(Ie)})),b}return o.prototype.onTap=function(t){if(!t.initialTarget||!this.viewHelper.linesContentDomNode.contains(t.initialTarget))return;t.preventDefault(),this.viewHelper.focusTextArea();var i=this._createMouseTarget(new L(t,this.viewHelper.viewDomNode),!1);i.position&&this.viewController.dispatchMouse({position:i.position,mouseColumn:i.position.column,startedOnLineNumbers:!1,mouseDownCount:t.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1})},o.prototype.onChange=function(t){this._lastPointerType==="touch"&&this._context.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)},o.prototype._onMouseDown=function(t){if(t.target&&this.viewHelper.linesContentDomNode.contains(t.target)&&this._lastPointerType==="touch")return;V.prototype._onMouseDown.call(this,t)},o}(tt),$e=function(V){bt(o,V);function o(t,i,g){var b=V.call(this,t,i,g)||this;return b._register(f.b.addTarget(b.viewHelper.linesContentDomNode)),b._register(J.j(b.viewHelper.linesContentDomNode,f.a.Tap,function(K){return b.onTap(K)})),b._register(J.j(b.viewHelper.linesContentDomNode,f.a.Change,function(K){return b.onChange(K)})),b._register(J.j(b.viewHelper.linesContentDomNode,f.a.Contextmenu,function(K){return b._onContextMenu(new L(K,b.viewHelper.viewDomNode),!1)})),b}return o.prototype.onTap=function(t){t.preventDefault(),this.viewHelper.focusTextArea();var i=this._createMouseTarget(new L(t,this.viewHelper.viewDomNode),!1);i.position&&this.viewController.moveTo(i.position)},o.prototype.onChange=function(t){this._context.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)},o}(tt),ze=function(V){bt(o,V);function o(t,i,g){var b=V.call(this)||this;return window.navigator.msPointerEnabled?b.handler=b._register(new Nt(t,i,g)):_.c&>.a.pointerEvents?b.handler=b._register(new Je(t,i,g)):window.TouchEvent?b.handler=b._register(new $e(t,i,g)):window.navigator.pointerEnabled||window.PointerEvent?b.handler=b._register(new Et(t,i,g)):b.handler=b._register(new tt(t,i,g)),b}return o.prototype.getTargetAtClientPoint=function(t,i){return this.handler.getTargetAtClientPoint(t,i)},o}(z.a),Ke=e("VvMK"),fe=e("N0LK"),G=e("5TxY"),te=e("Comh"),Y=e("Krc3"),de=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),ke=function(V){de(o,V);function o(){return V!==null&&V.apply(this,arguments)||this}return o}(ie),lt=e("kYye"),Tt=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Jt=function(V){Tt(o,V);function o(t){var i=V.call(this)||this;return i._context=t,i._readConfig(),i._lastCursorModelPosition=new oe.a(1,1),i._renderResult=null,i._context.addEventHandler(i),i}return o.prototype._readConfig=function(){var t=this._context.configuration.options;this._lineHeight=t.get(49);var i=t.get(50);this._renderLineNumbers=i.renderType,this._renderCustomLineNumbers=i.renderFn,this._renderFinalNewline=t.get(71);var g=t.get(107);this._lineNumbersLeft=g.lineNumbersLeft,this._lineNumbersWidth=g.lineNumbersWidth},o.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,V.prototype.dispose.call(this)},o.prototype.onConfigurationChanged=function(t){return this._readConfig(),!0},o.prototype.onCursorStateChanged=function(t){var i=t.selections[0].getPosition();return this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(i),this._renderLineNumbers===2||this._renderLineNumbers===3},o.prototype.onFlushed=function(t){return!0},o.prototype.onLinesChanged=function(t){return!0},o.prototype.onLinesDeleted=function(t){return!0},o.prototype.onLinesInserted=function(t){return!0},o.prototype.onScrollChanged=function(t){return t.scrollTopChanged},o.prototype.onZonesChanged=function(t){return!0},o.prototype._getLineRenderLineNumber=function(t){var i=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new oe.a(t,1));if(i.column!==1)return"";var g=i.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(g);if(this._renderLineNumbers===2){var b=Math.abs(this._lastCursorModelPosition.lineNumber-g);return b===0?''+g+"":String(b)}return this._renderLineNumbers===3?this._lastCursorModelPosition.lineNumber===g||g%10===0?String(g):"":String(g)},o.prototype.prepareRender=function(t){if(this._renderLineNumbers===0){this._renderResult=null;return}for(var i=_.d?this._lineHeight%2===0?" lh-even":" lh-odd":"",g=t.visibleRange.startLineNumber,b=t.visibleRange.endLineNumber,K='
',Ie=this._context.model.getLineCount(),Le=[],qe=g;qe<=b;qe++){var ct=qe-g;if(!this._renderFinalNewline&&(qe===Ie&&this._context.model.getLineLength(qe)===0)){Le[ct]="";continue}var wt=this._getLineRenderLineNumber(qe);wt?Le[ct]=K+wt+"
":Le[ct]=""}this._renderResult=Le},o.prototype.render=function(t,i){if(!this._renderResult)return"";var g=i-t;return g<0||g>=this._renderResult.length?"":this._renderResult[g]},o.CLASS_NAME="line-numbers",o}(ke);Object(X.e)(function(V,o){var t=V.getColor(lt.k);t&&o.addRule(".monaco-editor .line-numbers { color: "+t+"; }");var i=V.getColor(lt.b);i&&o.addRule(".monaco-editor .current-line ~ .line-numbers { color: "+i+"; }")});var eo=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),po=function(V){eo(o,V);function o(t){var i=V.call(this,t)||this,g=i._context.configuration.options,b=g.get(107);return i._canUseLayerHinting=!g.get(22),i._contentLeft=b.contentLeft,i._glyphMarginLeft=b.glyphMarginLeft,i._glyphMarginWidth=b.glyphMarginWidth,i._domNode=Object(y.b)(document.createElement("div")),i._domNode.setClassName(o.OUTER_CLASS_NAME),i._domNode.setPosition("absolute"),i._domNode.setAttribute("role","presentation"),i._domNode.setAttribute("aria-hidden","true"),i._glyphMarginBackgroundDomNode=Object(y.b)(document.createElement("div")),i._glyphMarginBackgroundDomNode.setClassName(o.CLASS_NAME),i._domNode.appendChild(i._glyphMarginBackgroundDomNode),i}return o.prototype.dispose=function(){V.prototype.dispose.call(this)},o.prototype.getDomNode=function(){return this._domNode},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(107);return this._canUseLayerHinting=!i.get(22),this._contentLeft=g.contentLeft,this._glyphMarginLeft=g.glyphMarginLeft,this._glyphMarginWidth=g.glyphMarginWidth,!0},o.prototype.onScrollChanged=function(t){return V.prototype.onScrollChanged.call(this,t)||t.scrollTopChanged},o.prototype.prepareRender=function(t){},o.prototype.render=function(t){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");var i=t.scrollTop-t.bigNumbersDelta;this._domNode.setTop(-i);var g=Math.min(t.scrollHeight,1e6);this._domNode.setHeight(g),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(g)},o.CLASS_NAME="glyph-margin",o.OUTER_CLASS_NAME="margin",o}(B),co=e("5v8Y"),Eo=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Oo=function(){function V(o){this.type=1,this._source=o}return V.prototype.hasChanged=function(o){return this._source.hasChanged(o)},V}(),Ao=function(){function V(o){this.type=2,this.contentWidth=o.contentWidth,this.contentHeight=o.contentHeight,this.contentWidthChanged=o.contentWidthChanged,this.contentHeightChanged=o.contentHeightChanged}return V}(),Zo=function(){function V(o,t){this.type=3,this.selections=o,this.modelSelections=t}return V}(),Co=function(){function V(){this.type=4}return V}(),Wo=function(){function V(){this.type=5}return V}(),Go=function(){function V(o){this.type=6,this.isFocused=o}return V}(),Bo=function(){function V(){this.type=7}return V}(),Mo=function(){function V(){this.type=8}return V}(),Qo=function(){function V(o,t){this.type=9,this.fromLineNumber=o,this.toLineNumber=t}return V}(),fn=function(){function V(o,t){this.type=10,this.fromLineNumber=o,this.toLineNumber=t}return V}(),Vo=function(){function V(o,t){this.type=11,this.fromLineNumber=o,this.toLineNumber=t}return V}(),mn=function(){function V(o,t,i,g,b){this.type=12,this.source=o,this.range=t,this.verticalType=i,this.revealHorizontal=g,this.scrollType=b}return V}(),yn=function(){function V(o){this.type=13,this.scrollWidth=o.scrollWidth,this.scrollLeft=o.scrollLeft,this.scrollHeight=o.scrollHeight,this.scrollTop=o.scrollTop,this.scrollWidthChanged=o.scrollWidthChanged,this.scrollLeftChanged=o.scrollLeftChanged,this.scrollHeightChanged=o.scrollHeightChanged,this.scrollTopChanged=o.scrollTopChanged}return V}(),dn=function(){function V(){this.type=14}return V}(),rn=function(){function V(o){this.type=15,this.ranges=o}return V}(),pn=function(){function V(){this.type=16}return V}(),zo=function(){function V(){this.type=17}return V}(),Ho=function(V){Eo(o,V);function o(){var t=V.call(this)||this;return t._listeners=[],t._collector=null,t._collectorCnt=0,t}return o.prototype.dispose=function(){this._listeners=[],V.prototype.dispose.call(this)},o.prototype._beginEmit=function(){return this._collectorCnt++,this._collectorCnt===1&&(this._collector=new St),this._collector},o.prototype._endEmit=function(){if(this._collectorCnt--,this._collectorCnt===0){var t=this._collector.finalize();this._collector=null,t.length>0&&this._emit(t)}},o.prototype._emit=function(t){for(var i=this._listeners.slice(0),g=0,b=i.length;g0)return new te.b(kt,kt.length,kt.length,Wt,Wt)}}return te.b.EMPTY}return te.a.fromEditorSelection(wt,Le,b._selections[0],b._accessibilityPageSize,b._accessibilitySupport===0)},deduceModelPosition:function(wt,et,Wt){return b._context.model.deduceModelPositionRelativeToViewPosition(wt,et,Wt)}};return b._textAreaInput=b._register(new G.b(qe,b.textArea)),b._register(b._textAreaInput.onKeyDown(function(ct){b._viewController.emitKeyDown(ct)})),b._register(b._textAreaInput.onKeyUp(function(ct){b._viewController.emitKeyUp(ct)})),b._register(b._textAreaInput.onPaste(function(ct){var wt=!1,et=null,Wt=null;ct.metadata&&(wt=b._emptySelectionClipboard&&!!ct.metadata.isFromEmptySelection,et=typeof ct.metadata.multicursorText!="undefined"?ct.metadata.multicursorText:null,Wt=ct.metadata.mode),b._viewController.paste("keyboard",ct.text,wt,et,Wt)})),b._register(b._textAreaInput.onCut(function(){b._viewController.cut("keyboard")})),b._register(b._textAreaInput.onType(function(ct){ct.replaceCharCnt?b._viewController.replacePreviousChar("keyboard",ct.text,ct.replaceCharCnt):b._viewController.type("keyboard",ct.text)})),b._register(b._textAreaInput.onSelectionChangeRequest(function(ct){b._viewController.setSelection("keyboard",ct)})),b._register(b._textAreaInput.onCompositionStart(function(){var ct=b._selections[0].startLineNumber,wt=b._selections[0].startColumn;b._context.privateViewEventBus.emit(new mn("keyboard",new be.a(ct,wt,ct,wt),0,!0,1));var et=b._viewHelper.visibleRangeForPositionRelativeToEditor(ct,wt);et&&(b._visibleTextArea=new Dt(b._context.viewLayout.getVerticalOffsetForLineNumber(ct),et.left,_e?0:1),b._render()),b.textArea.setClassName("inputarea ime-input"),b._viewController.compositionStart("keyboard")})),b._register(b._textAreaInput.onCompositionUpdate(function(ct){v.f?b._visibleTextArea=b._visibleTextArea.setWidth(0):b._visibleTextArea=b._visibleTextArea.setWidth(P(ct.data,b._fontInfo)),b._render()})),b._register(b._textAreaInput.onCompositionEnd(function(){b._visibleTextArea=null,b._render(),b.textArea.setClassName("inputarea"),b._viewController.compositionEnd("keyboard")})),b._register(b._textAreaInput.onFocus(function(){b._context.privateViewEventBus.emit(new Go(!0))})),b._register(b._textAreaInput.onBlur(function(){b._context.privateViewEventBus.emit(new Go(!1))})),b}return o.prototype.dispose=function(){V.prototype.dispose.call(this)},o.prototype._getWordBeforePosition=function(t){for(var i=this._context.model.getLineContent(t.lineNumber),g=Object(co.a)(this._context.configuration.options.get(96)),b=t.column,K=0;b>1;){var Ie=i.charCodeAt(b-2),Le=g.get(Ie);if(Le!==0||K>50)return i.substring(b-1,t.column-1);K++,b--}return i.substring(0,t.column-1)},o.prototype._getCharacterBeforePosition=function(t){if(t.column>1){var i=this._context.model.getLineContent(t.lineNumber),g=i.charAt(t.column-2);if(!fe.z(g.charCodeAt(0)))return g}return""},o.prototype._getAriaLabel=function(t){var i=t.get(2);return i===1?re.a("accessibilityOffAriaLabel","The editor is not accessible at this time. Press Alt+F1 for options."):t.get(4)},o.prototype._setAccessibilityOptions=function(t){this._accessibilitySupport=t.get(2);var i=t.get(3);this._accessibilitySupport===2&&i===he.e.accessibilityPageSize.defaultValue?this._accessibilityPageSize=160:this._accessibilityPageSize=i},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(107);return this._setAccessibilityOptions(i),this._contentLeft=g.contentLeft,this._contentWidth=g.contentWidth,this._contentHeight=g.height,this._fontInfo=i.get(34),this._lineHeight=i.get(49),this._emptySelectionClipboard=i.get(25),this._copyWithSyntaxHighlighting=i.get(15),this.textArea.setAttribute("aria-label",this._getAriaLabel(i)),_.g&&t.hasChanged(68)&&(i.get(68)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),t.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0},o.prototype.onCursorStateChanged=function(t){return this._selections=t.selections.slice(0),this._modelSelections=t.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0},o.prototype.onDecorationsChanged=function(t){return!0},o.prototype.onFlushed=function(t){return!0},o.prototype.onLinesChanged=function(t){return!0},o.prototype.onLinesDeleted=function(t){return!0},o.prototype.onLinesInserted=function(t){return!0},o.prototype.onScrollChanged=function(t){return this._scrollLeft=t.scrollLeft,this._scrollTop=t.scrollTop,!0},o.prototype.onZonesChanged=function(t){return!0},o.prototype.isFocused=function(){return this._textAreaInput.isFocused()},o.prototype.focusTextArea=function(){this._textAreaInput.focusTextArea()},o.prototype.getLastRenderData=function(){return this._lastRenderPosition},o.prototype.setAriaOptions=function(t){t.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",t.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant"))},o.prototype.prepareRender=function(t){this._primaryCursorPosition=new oe.a(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=t.visibleRangeForPosition(this._primaryCursorPosition)},o.prototype.render=function(t){this._textAreaInput.writeScreenReaderContent("render"),this._render()},o.prototype._render=function(){if(this._visibleTextArea){this._renderInsideEditor(null,this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight);return}if(!this._primaryCursorVisibleRange){this._renderAtTopLeft();return}var t=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(tthis._contentLeft+this._contentWidth){this._renderAtTopLeft();return}var i=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;if(i<0||i>this._contentHeight){this._renderAtTopLeft();return}if(_.e){this._renderInsideEditor(this._primaryCursorPosition,i,t,_e?0:1,this._lineHeight);return}this._renderInsideEditor(this._primaryCursorPosition,i,t,_e?0:1,_e?0:1)},o.prototype._renderInsideEditor=function(t,i,g,b,K){this._lastRenderPosition=t;var Ie=this.textArea,Le=this.textAreaCover;H.a.applyFontInfo(Ie,this._fontInfo),Ie.setTop(i),Ie.setLeft(g),Ie.setWidth(b),Ie.setHeight(K),Le.setTop(0),Le.setLeft(0),Le.setWidth(0),Le.setHeight(0)},o.prototype._renderAtTopLeft=function(){this._lastRenderPosition=null;var t=this.textArea,i=this.textAreaCover;if(H.a.applyFontInfo(t,this._fontInfo),t.setTop(0),t.setLeft(0),i.setTop(0),i.setLeft(0),_e){t.setWidth(0),t.setHeight(0),i.setWidth(0),i.setHeight(0);return}t.setWidth(1),t.setHeight(1),i.setWidth(1),i.setHeight(1);var g=this._context.configuration.options;g.get(40)?i.setClassName("monaco-editor-background textAreaCover "+po.OUTER_CLASS_NAME):g.get(50).renderType!==0?i.setClassName("monaco-editor-background textAreaCover "+Jt.CLASS_NAME):i.setClassName("monaco-editor-background textAreaCover")},o}(B);function P(V,o){var t=document.createElement("canvas"),i=t.getContext("2d");i.font=Z(o);var g=i.measureText(V);return v.h?g.width+2:g.width}function Z(V){return Ae("normal",V.fontWeight,V.fontSize,V.lineHeight,V.fontFamily)}function Ae(V,o,t,i,g){return V+" normal "+o+" "+t+"px / "+i+"px "+g}var xe=e("1YUG"),Ne=function(){function V(o,t,i,g){this.configuration=o,this.viewModel=t,this.outgoingEvents=i,this.commandDelegate=g}return V.prototype._execMouseCommand=function(o,t){t.source="mouse",this.commandDelegate.executeEditorCommand(o,t)},V.prototype.paste=function(o,t,i,g,b){this.commandDelegate.paste(o,t,i,g,b)},V.prototype.type=function(o,t){this.commandDelegate.type(o,t)},V.prototype.replacePreviousChar=function(o,t,i){this.commandDelegate.replacePreviousChar(o,t,i)},V.prototype.compositionStart=function(o){this.commandDelegate.compositionStart(o)},V.prototype.compositionEnd=function(o){this.commandDelegate.compositionEnd(o)},V.prototype.cut=function(o){this.commandDelegate.cut(o)},V.prototype.setSelection=function(o,t){this.commandDelegate.executeEditorCommand(xe.CoreNavigationCommands.SetSelection,{source:o,selection:t})},V.prototype._validateViewColumn=function(o){var t=this.viewModel.getLineMinColumn(o.lineNumber);return o.column=4?this._selectAll():o.mouseDownCount===3?this._hasMulticursorModifier(o)?o.inSelectionMode?this._lastCursorLineSelectDrag(o.position):this._lastCursorLineSelect(o.position):o.inSelectionMode?this._lineSelectDrag(o.position):this._lineSelect(o.position):o.mouseDownCount===2?this._hasMulticursorModifier(o)?this._lastCursorWordSelect(o.position):o.inSelectionMode?this._wordSelectDrag(o.position):this._wordSelect(o.position):this._hasMulticursorModifier(o)?this._hasNonMulticursorModifier(o)||(o.shiftKey?this._columnSelect(o.position,o.mouseColumn,!0):o.inSelectionMode?this._lastCursorMoveToSelect(o.position):this._createCursor(o.position,!1)):o.inSelectionMode?o.altKey?this._columnSelect(o.position,o.mouseColumn,!0):this._moveToSelect(o.position):this.moveTo(o.position)},V.prototype._usualArgs=function(o){return o=this._validateViewColumn(o),{position:this._convertViewToModelPosition(o),viewPosition:o}},V.prototype.moveTo=function(o){this._execMouseCommand(xe.CoreNavigationCommands.MoveTo,this._usualArgs(o))},V.prototype._moveToSelect=function(o){this._execMouseCommand(xe.CoreNavigationCommands.MoveToSelect,this._usualArgs(o))},V.prototype._columnSelect=function(o,t,i){o=this._validateViewColumn(o),this._execMouseCommand(xe.CoreNavigationCommands.ColumnSelect,{position:this._convertViewToModelPosition(o),viewPosition:o,mouseColumn:t,doColumnSelect:i})},V.prototype._createCursor=function(o,t){o=this._validateViewColumn(o),this._execMouseCommand(xe.CoreNavigationCommands.CreateCursor,{position:this._convertViewToModelPosition(o),viewPosition:o,wholeLine:t})},V.prototype._lastCursorMoveToSelect=function(o){this._execMouseCommand(xe.CoreNavigationCommands.LastCursorMoveToSelect,this._usualArgs(o))},V.prototype._wordSelect=function(o){this._execMouseCommand(xe.CoreNavigationCommands.WordSelect,this._usualArgs(o))},V.prototype._wordSelectDrag=function(o){this._execMouseCommand(xe.CoreNavigationCommands.WordSelectDrag,this._usualArgs(o))},V.prototype._lastCursorWordSelect=function(o){this._execMouseCommand(xe.CoreNavigationCommands.LastCursorWordSelect,this._usualArgs(o))},V.prototype._lineSelect=function(o){this._execMouseCommand(xe.CoreNavigationCommands.LineSelect,this._usualArgs(o))},V.prototype._lineSelectDrag=function(o){this._execMouseCommand(xe.CoreNavigationCommands.LineSelectDrag,this._usualArgs(o))},V.prototype._lastCursorLineSelect=function(o){this._execMouseCommand(xe.CoreNavigationCommands.LastCursorLineSelect,this._usualArgs(o))},V.prototype._lastCursorLineSelectDrag=function(o){this._execMouseCommand(xe.CoreNavigationCommands.LastCursorLineSelectDrag,this._usualArgs(o))},V.prototype._selectAll=function(){this._execMouseCommand(xe.CoreNavigationCommands.SelectAll,{})},V.prototype._convertViewToModelPosition=function(o){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(o)},V.prototype.emitKeyDown=function(o){this.outgoingEvents.emitKeyDown(o)},V.prototype.emitKeyUp=function(o){this.outgoingEvents.emitKeyUp(o)},V.prototype.emitContextMenu=function(o){this.outgoingEvents.emitContextMenu(o)},V.prototype.emitMouseMove=function(o){this.outgoingEvents.emitMouseMove(o)},V.prototype.emitMouseLeave=function(o){this.outgoingEvents.emitMouseLeave(o)},V.prototype.emitMouseUp=function(o){this.outgoingEvents.emitMouseUp(o)},V.prototype.emitMouseDown=function(o){this.outgoingEvents.emitMouseDown(o)},V.prototype.emitMouseDrag=function(o){this.outgoingEvents.emitMouseDrag(o)},V.prototype.emitMouseDrop=function(o){this.outgoingEvents.emitMouseDrop(o)},V.prototype.emitMouseWheel=function(o){this.outgoingEvents.emitMouseWheel(o)},V}(),dt=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),ht=function(V){dt(o,V);function o(t){var i=V.call(this)||this;return i.onDidContentSizeChange=null,i.onDidScroll=null,i.onDidGainFocus=null,i.onDidLoseFocus=null,i.onKeyDown=null,i.onKeyUp=null,i.onContextMenu=null,i.onMouseMove=null,i.onMouseLeave=null,i.onMouseUp=null,i.onMouseDown=null,i.onMouseDrag=null,i.onMouseDrop=null,i.onMouseWheel=null,i._viewModel=t,i}return o.prototype.emitContentSizeChange=function(t){this.onDidContentSizeChange&&this.onDidContentSizeChange(t)},o.prototype.emitScrollChanged=function(t){this.onDidScroll&&this.onDidScroll(t)},o.prototype.emitViewFocusGained=function(){this.onDidGainFocus&&this.onDidGainFocus(void 0)},o.prototype.emitViewFocusLost=function(){this.onDidLoseFocus&&this.onDidLoseFocus(void 0)},o.prototype.emitKeyDown=function(t){this.onKeyDown&&this.onKeyDown(t)},o.prototype.emitKeyUp=function(t){this.onKeyUp&&this.onKeyUp(t)},o.prototype.emitContextMenu=function(t){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(t))},o.prototype.emitMouseMove=function(t){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(t))},o.prototype.emitMouseLeave=function(t){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(t))},o.prototype.emitMouseUp=function(t){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(t))},o.prototype.emitMouseDown=function(t){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(t))},o.prototype.emitMouseDrag=function(t){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(t))},o.prototype.emitMouseDrop=function(t){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(t))},o.prototype.emitMouseWheel=function(t){this.onMouseWheel&&this.onMouseWheel(t)},o.prototype._convertViewToModelMouseEvent=function(t){return t.target?{event:t.event,target:this._convertViewToModelMouseTarget(t.target)}:t},o.prototype._convertViewToModelMouseTarget=function(t){return o.convertViewToModelMouseTarget(t,this._viewModel.coordinatesConverter)},o.convertViewToModelMouseTarget=function(t,i){return new xt(t.element,t.type,t.mouseColumn,t.position?i.convertViewPositionToModelPosition(t.position):null,t.range?i.convertViewRangeToModelRange(t.range):null,t.detail)},o}(z.a),xt=function(){function V(o,t,i,g,b,K){this.element=o,this.type=t,this.mouseColumn=i,this.position=g,this.range=b,this.detail=K}return V.prototype.toString=function(){return Qe.toString(this)},V}(),Bt=e("erNZ"),Ht=function(){function V(o){this._createLine=o,this._set(1,[])}return V.prototype.flush=function(){this._set(1,[])},V.prototype._set=function(o,t){this._lines=t,this._rendLineNumberStart=o},V.prototype._get=function(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}},V.prototype.getStartLineNumber=function(){return this._rendLineNumberStart},V.prototype.getEndLineNumber=function(){return this._rendLineNumberStart+this._lines.length-1},V.prototype.getCount=function(){return this._lines.length},V.prototype.getLine=function(o){var t=o-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[t]},V.prototype.onLinesDeleted=function(o,t){if(this.getCount()===0)return null;var i=this.getStartLineNumber(),g=this.getEndLineNumber();if(tg)return null;for(var K=0,Ie=0,Le=i;Le<=g;Le++){var qe=Le-this._rendLineNumberStart;o<=Le&&Le<=t&&(Ie===0?(K=qe,Ie=1):Ie++)}if(o=i&&K<=g&&(this._lines[K-this._rendLineNumberStart].onContentChanged(),b=!0);return b},V.prototype.onLinesInserted=function(o,t){if(this.getCount()===0)return null;var i=t-o+1,g=this.getStartLineNumber(),b=this.getEndLineNumber();if(o<=g)return this._rendLineNumberStart+=i,null;if(o>b)return null;if(i+o>b){var K=this._lines.splice(o-this._rendLineNumberStart,b-o+1);return K}for(var Ie=[],Le=0;Lei)continue;for(var Le=Math.max(t,Ie.fromLineNumber),qe=Math.min(i,Ie.toLineNumber),ct=Le;ct<=qe;ct++){var wt=ct-this._rendLineNumberStart;this._lines[wt].onTokensChanged(),g=!0}}return g},V}(),Ut=function(){function V(o){var t=this;this._host=o,this.domNode=this._createDomNode(),this._linesCollection=new Ht(function(){return t._host.createVisibleLine()})}return V.prototype._createDomNode=function(){var o=Object(y.b)(document.createElement("div"));return o.setClassName("view-layer"),o.setPosition("absolute"),o.domNode.setAttribute("role","presentation"),o.domNode.setAttribute("aria-hidden","true"),o},V.prototype.onConfigurationChanged=function(o){return!!o.hasChanged(107)},V.prototype.onFlushed=function(o){return this._linesCollection.flush(),!0},V.prototype.onLinesChanged=function(o){return this._linesCollection.onLinesChanged(o.fromLineNumber,o.toLineNumber)},V.prototype.onLinesDeleted=function(o){var t=this._linesCollection.onLinesDeleted(o.fromLineNumber,o.toLineNumber);if(t)for(var i=0,g=t.length;it){var Ie=t,Le=Math.min(i,b.rendLineNumberStart-1);Ie<=Le&&(this._insertLinesBefore(b,Ie,Le,g,t),b.linesLength+=Le-Ie+1)}else if(b.rendLineNumberStart0&&(this._removeLinesBefore(b,qe),b.linesLength-=qe)}if(b.rendLineNumberStart=t,b.rendLineNumberStart+b.linesLength-1i){var Ie=Math.max(0,i-b.rendLineNumberStart+1),Le=b.linesLength-1,qe=Le-Ie+1;qe>0&&(this._removeLinesAfter(b,qe),b.linesLength-=qe)}return this._finishRendering(b,!1,g),b},V.prototype._renderUntouchedLines=function(o,t,i,g,b){for(var K=o.rendLineNumberStart,Ie=o.lines,Le=t;Le<=i;Le++){var qe=K+Le;Ie[Le].layoutLine(qe,g[qe-b])}},V.prototype._insertLinesBefore=function(o,t,i,g,b){for(var K=[],Ie=0,Le=t;Le<=i;Le++)K[Ie++]=this.host.createVisibleLine();o.lines=K.concat(o.lines)},V.prototype._removeLinesBefore=function(o,t){for(var i=0;i=0;Ie--){var Le=o.lines[Ie];g[Ie]&&(Le.setDomNode(K),K=K.previousSibling)}},V.prototype._finishRenderingInvalidLines=function(o,t,i){var g=document.createElement("div");g.innerHTML=t;for(var b=0;b'),g.appendASCIIString(b),g.appendASCIIString(""),!0)},V.prototype.layoutLine=function(o,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))},V}(),He=function(V){Zt(o,V);function o(t){var i=V.call(this,t)||this,g=i._context.configuration.options,b=g.get(107);return i._contentWidth=b.contentWidth,i.domNode.setHeight(0),i}return o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(107);return this._contentWidth=g.contentWidth,V.prototype.onConfigurationChanged.call(this,t)||!0},o.prototype.onScrollChanged=function(t){return V.prototype.onScrollChanged.call(this,t)||t.scrollWidthChanged},o.prototype._viewOverlaysRender=function(t){V.prototype._viewOverlaysRender.call(this,t),this.domNode.setWidth(Math.max(t.scrollWidth,this._contentWidth))},o}(fo),Oe=function(V){Zt(o,V);function o(t){var i=V.call(this,t)||this,g=i._context.configuration.options,b=g.get(107);return i._contentLeft=b.contentLeft,i.domNode.setClassName("margin-view-overlays"),i.domNode.setWidth(1),H.a.applyFontInfo(i.domNode,g.get(34)),i}return o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options;H.a.applyFontInfo(this.domNode,i.get(34));var g=i.get(107);return this._contentLeft=g.contentLeft,V.prototype.onConfigurationChanged.call(this,t)||!0},o.prototype.onScrollChanged=function(t){return V.prototype.onScrollChanged.call(this,t)||t.scrollHeightChanged},o.prototype._viewOverlaysRender=function(t){V.prototype._viewOverlaysRender.call(this,t);var i=Math.min(t.scrollHeight,1e6);this.domNode.setHeight(i),this.domNode.setWidth(this._contentLeft)},o}(fo),rt=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),It=function(){function V(o,t){this.top=o,this.left=t}return V}(),pe=function(V){rt(o,V);function o(t,i){var g=V.call(this,t)||this;return g._viewDomNode=i,g._widgets={},g.domNode=Object(y.b)(document.createElement("div")),le.write(g.domNode,1),g.domNode.setClassName("contentWidgets"),g.domNode.setPosition("absolute"),g.domNode.setTop(0),g.overflowingContentWidgetsDomNode=Object(y.b)(document.createElement("div")),le.write(g.overflowingContentWidgetsDomNode,2),g.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets"),g}return o.prototype.dispose=function(){V.prototype.dispose.call(this),this._widgets={}},o.prototype.onConfigurationChanged=function(t){for(var i=Object.keys(this._widgets),g=0,b=i;g=g,et=Le,Wt=qe>=g,kt=o.left,Vt=t.left;return kt+i>b.scrollLeft+b.viewportWidth&&(kt=b.scrollLeft+b.viewportWidth-i),Vt+i>b.scrollLeft+b.viewportWidth&&(Vt=b.scrollLeft+b.viewportWidth-i),ktK){var Le=Ie-(K-g);Ie-=Le,i-=Le}if(Ie=io,bo=ct+g<=wt.height-yo;return this._fixedOverflowWidgets?{fitsAbove:mo,aboveTop:Math.max(qe,io),aboveLeft:kt,fitsBelow:bo,belowTop:ct,belowLeft:$t}:{fitsAbove:mo,aboveTop:Math.max(K,io),aboveLeft:Wt,fitsBelow:bo,belowTop:Ie,belowLeft:qt}},V.prototype._prepareRenderWidgetAtExactPositionOverflowing=function(o){return new It(o.top,o.left+this._contentLeft)},V.prototype._getTopAndBottomLeft=function(o){if(!this._viewRange)return[null,null];var t=o.linesVisibleRangesForRange(this._viewRange,!1);if(!t||t.length===0)return[null,null];for(var i=t[0],g=t[0],b=0,K=t;bg.lineNumber&&(g=Ie)}for(var Le=1073741824,qe=0,ct=i.ranges;qeo.endLineNumber)return;this.domNode.setMaxWidth(this._maxWidth)},V.prototype.prepareRender=function(o){this._renderData=this._prepareRenderWidget(o)},V.prototype.render=function(o){if(!this._renderData){this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden"));return}this.allowEditorOverflow?(this.domNode.setTop(this._renderData.top),this.domNode.setLeft(this._renderData.left)):(this.domNode.setTop(this._renderData.top+o.scrollTop-o.bigNumbersDelta),this.domNode.setLeft(this._renderData.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0)},V}(),ye=e("kw+w"),We=e("6OMU"),Ze=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),st=!0,mt=function(V){Ze(o,V);function o(t){var i=V.call(this)||this;i._context=t;var g=i._context.configuration.options,b=g.get(107);return i._lineHeight=g.get(49),i._renderLineHighlight=g.get(72),i._contentLeft=b.contentLeft,i._contentWidth=b.contentWidth,i._selectionIsEmpty=!0,i._cursorLineNumbers=[],i._selections=[],i._renderData=null,i._context.addEventHandler(i),i}return o.prototype.dispose=function(){this._context.removeEventHandler(this),V.prototype.dispose.call(this)},o.prototype._readFromSelections=function(){var t=!1,i=st?this._selections.slice(0,1):this._selections,g=i.map(function(K){return K.positionLineNumber});g.sort(function(K,Ie){return K-Ie}),We.g(this._cursorLineNumbers,g)||(this._cursorLineNumbers=g,t=!0);var b=i.every(function(K){return K.isEmpty()});return this._selectionIsEmpty!==b&&(this._selectionIsEmpty=b,t=!0),t},o.prototype.onThemeChanged=function(t){return this._readFromSelections()},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(107);return this._lineHeight=i.get(49),this._renderLineHighlight=i.get(72),this._contentLeft=g.contentLeft,this._contentWidth=g.contentWidth,!0},o.prototype.onCursorStateChanged=function(t){return this._selections=t.selections,this._readFromSelections()},o.prototype.onFlushed=function(t){return!0},o.prototype.onLinesDeleted=function(t){return!0},o.prototype.onLinesInserted=function(t){return!0},o.prototype.onScrollChanged=function(t){return t.scrollWidthChanged||t.scrollTopChanged},o.prototype.onZonesChanged=function(t){return!0},o.prototype.prepareRender=function(t){if(!this._shouldRenderThis()){this._renderData=null;return}for(var i=this._renderOne(t),g=t.visibleRange.startLineNumber,b=t.visibleRange.endLineNumber,K=this._cursorLineNumbers.length,Ie=0,Le=[],qe=g;qe<=b;qe++){for(var ct=qe-g;Ie=this._renderData.length?"":this._renderData[g]},o}(ke),Kt=function(V){Ze(o,V);function o(){return V!==null&&V.apply(this,arguments)||this}return o.prototype._renderOne=function(t){var i="current-line"+(this._shouldRenderOther()?" current-line-both":"");return'
'},o.prototype._shouldRenderThis=function(){return(this._renderLineHighlight==="line"||this._renderLineHighlight==="all")&&this._selectionIsEmpty},o.prototype._shouldRenderOther=function(){return this._renderLineHighlight==="gutter"||this._renderLineHighlight==="all"},o}(mt),Xt=function(V){Ze(o,V);function o(){return V!==null&&V.apply(this,arguments)||this}return o.prototype._renderOne=function(t){var i="current-line current-line-margin"+(this._shouldRenderOther()?" current-line-margin-both":"");return'
'},o.prototype._shouldRenderThis=function(){return this._renderLineHighlight==="gutter"||this._renderLineHighlight==="all"},o.prototype._shouldRenderOther=function(){return(this._renderLineHighlight==="line"||this._renderLineHighlight==="all")&&this._selectionIsEmpty},o}(mt);Object(X.e)(function(V,o){st=!1;var t=V.getColor(lt.i);if(t&&(o.addRule(".monaco-editor .view-overlays .current-line { background-color: "+t+"; }"),o.addRule(".monaco-editor .margin-view-overlays .current-line-margin { background-color: "+t+"; border: none; }")),!t||t.isTransparent()||V.defines(lt.j)){var i=V.getColor(lt.j);i&&(st=!0,o.addRule(".monaco-editor .view-overlays .current-line { border: 2px solid "+i+"; }"),o.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid "+i+"; }"),V.type==="hc"&&(o.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),o.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}});var no=e("Vtyv"),vo=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),lo=function(V){vo(o,V);function o(t){var i=V.call(this)||this;i._context=t;var g=i._context.configuration.options;return i._lineHeight=g.get(49),i._typicalHalfwidthCharacterWidth=g.get(34).typicalHalfwidthCharacterWidth,i._renderResult=null,i._context.addEventHandler(i),i}return o.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,V.prototype.dispose.call(this)},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options;return this._lineHeight=i.get(49),this._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,!0},o.prototype.onDecorationsChanged=function(t){return!0},o.prototype.onFlushed=function(t){return!0},o.prototype.onLinesChanged=function(t){return!0},o.prototype.onLinesDeleted=function(t){return!0},o.prototype.onLinesInserted=function(t){return!0},o.prototype.onScrollChanged=function(t){return t.scrollTopChanged||t.scrollWidthChanged},o.prototype.onZonesChanged=function(t){return!0},o.prototype.prepareRender=function(t){for(var i=t.getDecorationsInViewport(),g=[],b=0,K=0,Ie=i.length;KVt.options.zIndex)return 1;var qt=kt.options.className,$t=Vt.options.className;return qt<$t?-1:qt>$t?1:be.a.compareRangesUsingStarts(kt.range,Vt.range)});for(var qe=t.visibleRange.startLineNumber,ct=t.visibleRange.endLineNumber,wt=[],et=qe;et<=ct;et++){var Wt=et-qe;wt[Wt]=""}this._renderWholeLineDecorations(t,g,wt),this._renderNormalDecorations(t,g,wt),this._renderResult=wt},o.prototype._renderWholeLineDecorations=function(t,i,g){for(var b=String(this._lineHeight),K=t.visibleRange.startLineNumber,Ie=t.visibleRange.endLineNumber,Le=0,qe=i.length;Le',et=Math.max(ct.range.startLineNumber,K),Wt=Math.min(ct.range.endLineNumber,Ie),kt=et;kt<=Wt;kt++){var Vt=kt-K;g[Vt]+=wt}}},o.prototype._renderNormalDecorations=function(t,i,g){for(var b=String(this._lineHeight),K=t.visibleRange.startLineNumber,Ie=null,Le=!1,qe=null,ct=0,wt=i.length;ct';Le[Wt]+=io}}},o.prototype.render=function(t,i){if(!this._renderResult)return"";var g=i-t;return g<0||g>=this._renderResult.length?"":this._renderResult[g]},o}(ke),Ro=e("GJhM"),wo=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),_o=function(V){wo(o,V);function o(t,i,g,b){var K=V.call(this,t)||this,Ie=K._context.configuration.options,Le=Ie.get(78),qe=Ie.get(56),ct=Ie.get(27),wt={listenOnDomNode:g.domNode,className:"editor-scrollable "+Object(X.d)(t.theme.type),useShadows:!1,lazyRender:!0,vertical:Le.vertical,horizontal:Le.horizontal,verticalHasArrows:Le.verticalHasArrows,horizontalHasArrows:Le.horizontalHasArrows,verticalScrollbarSize:Le.verticalScrollbarSize,verticalSliderSize:Le.verticalSliderSize,horizontalScrollbarSize:Le.horizontalScrollbarSize,horizontalSliderSize:Le.horizontalSliderSize,handleMouseWheel:Le.handleMouseWheel,alwaysConsumeMouseWheel:Le.alwaysConsumeMouseWheel,arrowSize:Le.arrowSize,mouseWheelScrollSensitivity:qe,fastScrollSensitivity:ct};K.scrollbar=K._register(new Ro.c(i.domNode,wt,K._context.viewLayout.getScrollable())),le.write(K.scrollbar.getDomNode(),5),K.scrollbarDomNode=Object(y.b)(K.scrollbar.getDomNode()),K.scrollbarDomNode.setPosition("absolute"),K._setLayout();var et=function(kt,Vt,qt){var $t={};if(Vt){var io=kt.scrollTop;io&&($t.scrollTop=K._context.viewLayout.getCurrentScrollTop()+io,kt.scrollTop=0)}if(qt){var yo=kt.scrollLeft;yo&&($t.scrollLeft=K._context.viewLayout.getCurrentScrollLeft()+yo,kt.scrollLeft=0)}K._context.viewLayout.setScrollPositionNow($t)};return K._register(J.j(g.domNode,"scroll",function(Wt){return et(g.domNode,!0,!0)})),K._register(J.j(i.domNode,"scroll",function(Wt){return et(i.domNode,!0,!1)})),K._register(J.j(b.domNode,"scroll",function(Wt){return et(b.domNode,!0,!1)})),K._register(J.j(K.scrollbarDomNode.domNode,"scroll",function(Wt){return et(K.scrollbarDomNode.domNode,!0,!1)})),K}return o.prototype.dispose=function(){V.prototype.dispose.call(this)},o.prototype._setLayout=function(){var t=this._context.configuration.options,i=t.get(107);this.scrollbarDomNode.setLeft(i.contentLeft);var g=t.get(54),b=g.side;b==="right"?this.scrollbarDomNode.setWidth(i.contentWidth+i.minimapWidth):this.scrollbarDomNode.setWidth(i.contentWidth),this.scrollbarDomNode.setHeight(i.height)},o.prototype.getOverviewRulerLayoutInfo=function(){return this.scrollbar.getOverviewRulerLayoutInfo()},o.prototype.getDomNode=function(){return this.scrollbarDomNode},o.prototype.delegateVerticalScrollbarMouseDown=function(t){this.scrollbar.delegateVerticalScrollbarMouseDown(t)},o.prototype.onConfigurationChanged=function(t){if(t.hasChanged(78)||t.hasChanged(56)||t.hasChanged(27)){var i=this._context.configuration.options,g=i.get(78),b=i.get(56),K=i.get(27),Ie={handleMouseWheel:g.handleMouseWheel,mouseWheelScrollSensitivity:b,fastScrollSensitivity:K};this.scrollbar.updateOptions(Ie)}return t.hasChanged(107)&&this._setLayout(),!0},o.prototype.onScrollChanged=function(t){return!0},o.prototype.onThemeChanged=function(t){return this.scrollbar.updateClassName("editor-scrollable "+Object(X.d)(this._context.theme.type)),!0},o.prototype.prepareRender=function(t){},o.prototype.render=function(t){this.scrollbar.renderNow()},o}(B),jo=e("hHjc"),Uo=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Do=function(){function V(o,t,i){this.startLineNumber=+o,this.endLineNumber=+t,this.className=String(i)}return V}(),xo=function(V){Uo(o,V);function o(){return V!==null&&V.apply(this,arguments)||this}return o.prototype._render=function(t,i,g){for(var b=[],K=t;K<=i;K++){var Ie=K-t;b[Ie]=[]}if(g.length===0)return b;g.sort(function($t,io){return $t.className===io.className?$t.startLineNumber===io.startLineNumber?$t.endLineNumber-io.endLineNumber:$t.startLineNumber-io.startLineNumber:$t.className',ct=[],wt=i;wt<=g;wt++){var et=wt-i,Wt=b[et];Wt.length===0?ct[et]="":ct[et]='
=this._renderResult.length?"":this._renderResult[g]},o}(xo),gn=e("C6rC"),En=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),on=function(V){En(o,V);function o(t){var i=V.call(this)||this;i._context=t,i._primaryLineNumber=0;var g=i._context.configuration.options,b=g.get(108),K=g.get(34);return i._lineHeight=g.get(49),i._spaceWidth=K.spaceWidth,i._enabled=g.get(70),i._activeIndentEnabled=g.get(43),i._maxIndentLeft=b.wrappingColumn===-1?-1:b.wrappingColumn*K.typicalHalfwidthCharacterWidth,i._renderResult=null,i._context.addEventHandler(i),i}return o.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,V.prototype.dispose.call(this)},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(108),b=i.get(34);return this._lineHeight=i.get(49),this._spaceWidth=b.spaceWidth,this._enabled=i.get(70),this._activeIndentEnabled=i.get(43),this._maxIndentLeft=g.wrappingColumn===-1?-1:g.wrappingColumn*b.typicalHalfwidthCharacterWidth,!0},o.prototype.onCursorStateChanged=function(t){var i=t.selections[0],g=i.isEmpty()?i.positionLineNumber:0;return this._primaryLineNumber!==g?(this._primaryLineNumber=g,!0):!1},o.prototype.onDecorationsChanged=function(t){return!0},o.prototype.onFlushed=function(t){return!0},o.prototype.onLinesChanged=function(t){return!0},o.prototype.onLinesDeleted=function(t){return!0},o.prototype.onLinesInserted=function(t){return!0},o.prototype.onScrollChanged=function(t){return t.scrollTopChanged},o.prototype.onZonesChanged=function(t){return!0},o.prototype.onLanguageConfigurationChanged=function(t){return!0},o.prototype.prepareRender=function(t){if(!this._enabled){this._renderResult=null;return}var i=t.visibleRange.startLineNumber,g=t.visibleRange.endLineNumber,b=this._context.model.getOptions().indentSize,K=b*this._spaceWidth,Ie=t.scrollWidth,Le=this._lineHeight,qe=this._context.model.getLinesIndentGuides(i,g),ct=0,wt=0,et=0;if(this._activeIndentEnabled&&this._primaryLineNumber){var Wt=this._context.model.getActiveIndentGuide(this._primaryLineNumber,i,g);ct=Wt.startLineNumber,wt=Wt.endLineNumber,et=Wt.indent}for(var kt=[],Vt=i;Vt<=g;Vt++){var qt=ct<=Vt&&Vt<=wt,$t=Vt-i,io=qe[$t],yo="";if(io>=1)for(var mo=t.visibleRangeForPosition(new oe.a(Vt,1)),bo=mo?mo.left:0,go=1;go<=io;go++){var Lo=qt&&go===et?"cigra":"cigr";if(yo+='
',bo+=K,bo>Ie||this._maxIndentLeft>0&&bo>this._maxIndentLeft)break}kt[$t]=yo}this._renderResult=kt},o.prototype.render=function(t,i){if(!this._renderResult)return"";var g=i-t;return g<0||g>=this._renderResult.length?"":this._renderResult[g]},o}(ke);Object(X.e)(function(V,o){var t=V.getColor(lt.h);t&&o.addRule(".monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 "+t+" inset; }");var i=V.getColor(lt.a)||t;i&&o.addRule(".monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 "+i+" inset; }")});var On=e("OKK6"),Hn=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Rn=function(){function V(){this._currentVisibleRange=new be.a(1,1,1,1)}return V.prototype.getCurrentVisibleRange=function(){return this._currentVisibleRange},V.prototype.setCurrentVisibleRange=function(o){this._currentVisibleRange=o},V}(),ai=function(){function V(o,t,i,g,b,K){this.lineNumber=o,this.startColumn=t,this.endColumn=i,this.startScrollTop=g,this.stopScrollTop=b,this.scrollType=K}return V}(),bi=function(V){Hn(o,V);function o(t,i){var g=V.call(this,t)||this;g._linesContent=i,g._textRangeRestingSpot=document.createElement("div"),g._visibleLines=new Ut(g),g.domNode=g._visibleLines.domNode;var b=g._context.configuration,K=g._context.configuration.options,Ie=K.get(34),Le=K.get(108);return g._lineHeight=K.get(49),g._typicalHalfwidthCharacterWidth=Ie.typicalHalfwidthCharacterWidth,g._isViewportWrapping=Le.isViewportWrapping,g._revealHorizontalRightPadding=K.get(75),g._cursorSurroundingLines=K.get(19),g._cursorSurroundingLinesStyle=K.get(20),g._canUseLayerHinting=!K.get(22),g._viewLineOptions=new we(b,g._context.theme.type),le.write(g.domNode,7),g.domNode.setClassName("view-lines"),H.a.applyFontInfo(g.domNode,Ie),g._maxLineWidth=0,g._asyncUpdateLineWidths=new p.d(function(){g._updateLineWidthsSlow()},200),g._lastRenderedData=new Rn,g._horizontalRevealRequest=null,g}return o.prototype.dispose=function(){this._asyncUpdateLineWidths.dispose(),V.prototype.dispose.call(this)},o.prototype.getDomNode=function(){return this.domNode},o.prototype.createVisibleLine=function(){return new Re(this._viewLineOptions)},o.prototype.onConfigurationChanged=function(t){this._visibleLines.onConfigurationChanged(t),t.hasChanged(108)&&(this._maxLineWidth=0);var i=this._context.configuration.options,g=i.get(34),b=i.get(108);return this._lineHeight=i.get(49),this._typicalHalfwidthCharacterWidth=g.typicalHalfwidthCharacterWidth,this._isViewportWrapping=b.isViewportWrapping,this._revealHorizontalRightPadding=i.get(75),this._cursorSurroundingLines=i.get(19),this._cursorSurroundingLinesStyle=i.get(20),this._canUseLayerHinting=!i.get(22),H.a.applyFontInfo(this.domNode,g),this._onOptionsMaybeChanged(),t.hasChanged(107)&&(this._maxLineWidth=0),!0},o.prototype._onOptionsMaybeChanged=function(){var t=this._context.configuration,i=new we(t,this._context.theme.type);if(!this._viewLineOptions.equals(i)){this._viewLineOptions=i;for(var g=this._visibleLines.getStartLineNumber(),b=this._visibleLines.getEndLineNumber(),K=g;K<=b;K++){var Ie=this._visibleLines.getVisibleLine(K);Ie.onOptionsChanged(this._viewLineOptions)}return!0}return!1},o.prototype.onCursorStateChanged=function(t){for(var i=this._visibleLines.getStartLineNumber(),g=this._visibleLines.getEndLineNumber(),b=!1,K=i;K<=g;K++)b=this._visibleLines.getVisibleLine(K).onSelectionChanged()||b;return b},o.prototype.onDecorationsChanged=function(t){for(var i=this._visibleLines.getStartLineNumber(),g=this._visibleLines.getEndLineNumber(),b=i;b<=g;b++)this._visibleLines.getVisibleLine(b).onDecorationsChanged();return!0},o.prototype.onFlushed=function(t){var i=this._visibleLines.onFlushed(t);return this._maxLineWidth=0,i},o.prototype.onLinesChanged=function(t){return this._visibleLines.onLinesChanged(t)},o.prototype.onLinesDeleted=function(t){return this._visibleLines.onLinesDeleted(t)},o.prototype.onLinesInserted=function(t){return this._visibleLines.onLinesInserted(t)},o.prototype.onRevealRangeRequest=function(t){var i=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),t.source,t.range,t.verticalType),g=this._context.viewLayout.validateScrollPosition({scrollTop:i});t.revealHorizontal?t.range.startLineNumber!==t.range.endLineNumber?g={scrollTop:g.scrollTop,scrollLeft:0}:this._horizontalRevealRequest=new ai(t.range.startLineNumber,t.range.startColumn,t.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),g.scrollTop,t.scrollType):this._horizontalRevealRequest=null;var b=Math.abs(this._context.viewLayout.getCurrentScrollTop()-g.scrollTop);return t.scrollType===0&&b>this._lineHeight?this._context.viewLayout.setScrollPositionSmooth(g):this._context.viewLayout.setScrollPositionNow(g),!0},o.prototype.onScrollChanged=function(t){if(this._horizontalRevealRequest&&t.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&t.scrollTopChanged){var i=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),g=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(t.scrollTopg)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(t.scrollWidth),this._visibleLines.onScrollChanged(t)||!0},o.prototype.onTokensChanged=function(t){return this._visibleLines.onTokensChanged(t)},o.prototype.onZonesChanged=function(t){return this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth),this._visibleLines.onZonesChanged(t)},o.prototype.onThemeChanged=function(t){return this._onOptionsMaybeChanged()},o.prototype.getPositionFromDOMInfo=function(t,i){var g=this._getViewLineDomNode(t);if(g===null)return null;var b=this._getLineNumberFor(g);if(b===-1)return null;if(b<1||b>this._context.model.getLineCount())return null;if(this._context.model.getLineMaxColumn(b)===1)return new oe.a(b,1);var K=this._visibleLines.getStartLineNumber(),Ie=this._visibleLines.getEndLineNumber();if(bIe)return null;var Le=this._visibleLines.getVisibleLine(b).getColumnOfNodeOffset(b,t,i),qe=this._context.model.getLineMinColumn(b);return Leg?-1:this._visibleLines.getVisibleLine(t).getWidth()},o.prototype.linesVisibleRangesForRange=function(t,i){if(this.shouldRender())return null;var g=t.endLineNumber,b=be.a.intersectRanges(t,this._lastRenderedData.getCurrentVisibleRange());if(!b)return null;var K=[],Ie=0,Le=new ge(this.domNode.domNode,this._textRangeRestingSpot),qe=0;i&&(qe=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new oe.a(b.startLineNumber,1)).lineNumber);for(var ct=this._visibleLines.getStartLineNumber(),wt=this._visibleLines.getEndLineNumber(),et=b.startLineNumber;et<=b.endLineNumber;et++){if(etwt)continue;var Wt=et===b.startLineNumber?b.startColumn:1,kt=et===b.endLineNumber?b.endColumn:this._context.model.getLineMaxColumn(et),Vt=this._visibleLines.getVisibleLine(et).getVisibleRangesForRange(Wt,kt,Le);if(!Vt)continue;if(i&&etthis._visibleLines.getEndLineNumber())?null:this._visibleLines.getVisibleLine(t).getVisibleRangesForRange(i,g,new ge(this.domNode.domNode,this._textRangeRestingSpot))},o.prototype.visibleRangeForPosition=function(t){var i=this._visibleRangesForLineRange(t.lineNumber,t.column,t.column);return i?new Pe(i.outsideRenderedLine,i.ranges[0].left):null},o.prototype.updateLineWidths=function(){this._updateLineWidths(!1)},o.prototype._updateLineWidthsFast=function(){return this._updateLineWidths(!0)},o.prototype._updateLineWidthsSlow=function(){this._updateLineWidths(!1)},o.prototype._updateLineWidths=function(t){for(var i=this._visibleLines.getStartLineNumber(),g=this._visibleLines.getEndLineNumber(),b=1,K=!0,Ie=i;Ie<=g;Ie++){var Le=this._visibleLines.getVisibleLine(Ie);if(t&&!Le.getWidthIsFast()){K=!1;continue}b=Math.max(b,Le.getWidth())}return K&&i===1&&g===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(b),K},o.prototype.prepareRender=function(){throw new Error("Not supported")},o.prototype.render=function(){throw new Error("Not supported")},o.prototype.renderText=function(t){if(this._visibleLines.renderLines(t),this._lastRenderedData.setCurrentVisibleRange(t.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){var i=this._horizontalRevealRequest.lineNumber,g=this._horizontalRevealRequest.startColumn,b=this._horizontalRevealRequest.endColumn,K=this._horizontalRevealRequest.scrollType;if(t.startLineNumber<=i&&i<=t.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();var Ie=this._computeScrollLeftToRevealRange(i,g,b),Le=this._isViewportWrapping;Le||this._ensureMaxLineWidth(Ie.maxHorizontalOffset),K===0?this._context.viewLayout.setScrollPositionSmooth({scrollLeft:Ie.scrollLeft}):this._context.viewLayout.setScrollPositionNow({scrollLeft:Ie.scrollLeft})}}this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");var qe=this._context.viewLayout.getCurrentScrollTop()-t.bigNumbersDelta;this._linesContent.setTop(-qe),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())},o.prototype._ensureMaxLineWidth=function(t){var i=Math.ceil(t);this._maxLineWidthIe)Wt=qe;else if(b===1||b===2)if(b===2&&K<=qe&&ct<=Le)Wt=K;else{var kt=(qe+ct)/2;Wt=Math.max(0,kt-Ie/2)}else Wt=this._computeMinimumScrolling(K,Le,qe,ct,b===3,b===4);return Wt},o.prototype._computeScrollLeftToRevealRange=function(t,i,g){var b=0,K=this._context.viewLayout.getCurrentViewport(),Ie=K.left,Le=Ie+K.width,qe=this._visibleRangesForLineRange(t,i,g),ct=1073741824,wt=0;if(!qe)return{scrollLeft:Ie,maxHorizontalOffset:b};for(var et=0,Wt=qe.ranges;etwt&&(wt=kt.left+kt.width)}b=wt,ct=Math.max(0,ct-o.HORIZONTAL_EXTRA_PX),wt+=this._revealHorizontalRightPadding;var Vt=this._computeMinimumScrolling(Ie,Le,ct,wt);return{scrollLeft:Vt,maxHorizontalOffset:b}},o.prototype._computeMinimumScrolling=function(t,i,g,b,K,Ie){t=t|0,i=i|0,g=g|0,b=b|0,K=!!K,Ie=!!Ie;var Le=i-t,qe=b-g;if(qei)return Math.max(0,b-Le)}else return g;return t},o.HORIZONTAL_EXTRA_PX=30,o}(B),kn=e("J+ZK"),Qn=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Yr=function(V){Qn(o,V);function o(t){var i=V.call(this)||this;i._context=t;var g=i._context.configuration.options,b=g.get(107);return i._decorationsLeft=b.decorationsLeft,i._decorationsWidth=b.decorationsWidth,i._renderResult=null,i._context.addEventHandler(i),i}return o.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,V.prototype.dispose.call(this)},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(107);return this._decorationsLeft=g.decorationsLeft,this._decorationsWidth=g.decorationsWidth,!0},o.prototype.onDecorationsChanged=function(t){return!0},o.prototype.onFlushed=function(t){return!0},o.prototype.onLinesChanged=function(t){return!0},o.prototype.onLinesDeleted=function(t){return!0},o.prototype.onLinesInserted=function(t){return!0},o.prototype.onScrollChanged=function(t){return t.scrollTopChanged},o.prototype.onZonesChanged=function(t){return!0},o.prototype._getDecorations=function(t){for(var i=t.getDecorationsInViewport(),g=[],b=0,K=0,Ie=i.length;K
',qe=[],ct=i;ct<=g;ct++){for(var wt=ct-i,et=b[wt],Wt="",kt=0,Vt=et.length;kt';K[Le]=ct}this._renderResult=K},o.prototype.render=function(t,i){return this._renderResult?this._renderResult[i-t]:""},o}(xo),Zr=e("8gvo"),Gi=function(){function V(o,t,i,g){this.r=V._clamp(o),this.g=V._clamp(t),this.b=V._clamp(i),this.a=V._clamp(g)}return V._clamp=function(o){return o<0?0:o>255?255:o|0},V.Empty=new V(0,0,0,0),V}(),$o=e("twdY"),li=function(){function V(){var o=this;this._onDidChange=new U.a,this.onDidChange=this._onDidChange.event,this._updateColorMap(),$o.B.onDidChange(function(t){t.changedColorMap&&o._updateColorMap()})}return V.getInstance=function(){return this._INSTANCE||(this._INSTANCE=new V),this._INSTANCE},V.prototype._updateColorMap=function(){var o=$o.B.getColorMap();if(!o){this._colors=[Gi.Empty],this._backgroundIsLight=!0;return}this._colors=[Gi.Empty];for(var t=1;t=.5,this._onDidChange.fire(void 0)},V.prototype.getColor=function(o){return(o<1||o>=this._colors.length)&&(o=2),this._colors[o]},V.prototype.backgroundIsLight=function(){return this._backgroundIsLight},V._INSTANCE=null,V}(),Tn=e("MD5Z"),yr=function(){for(var V=[],o=32;o<=126;o++)V.push(o);return V.push(65533),V}(),Qr=function(o,t){return o-=32,o<0||o>96?t<=2?(o+96)%96:96-1:o},xn=function(){function V(o,t){this.scale=t,this.charDataNormal=V.soften(o,12/15),this.charDataLight=V.soften(o,50/60)}return V.soften=function(o,t){for(var i=new Uint8ClampedArray(o.length),g=0,b=o.length;go.width||i+ct>o.height){console.warn("bad render request outside image data");return}for(var wt=Le?this.charDataLight:this.charDataNormal,et=Qr(g,Ie),Wt=o.width*4,kt=K.r,Vt=K.g,qt=K.b,$t=b.r-kt,io=b.g-Vt,yo=b.b-qt,mo=o.data,bo=et*qe*ct,go=i*Wt+t*4,Lo=0;Loo.width||i+Le>o.height){console.warn("bad render request outside image data");return}for(var qe=o.width*4,ct=.5,wt=b.r,et=b.g,Wt=b.b,kt=g.r-wt,Vt=g.g-et,qt=g.b-Wt,$t=wt+kt*ct,io=et+Vt*ct,yo=Wt+qt*ct,mo=o.data,bo=i*qe+t*4,go=0;go>1]=Xi[o[i]]<<4|Xi[o[i+1]]&15;return t},Yi={1:Object($n.a)(function(){return br("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")}),2:Object($n.a)(function(){return br("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126")})},di=function(){function V(){}return V.create=function(o,t){if(this.lastCreated&&o===this.lastCreated.scale&&t===this.lastFontFamily)return this.lastCreated;var i;return Yi[o]?i=new xn(Yi[o](),o):i=V.createFromSampleData(V.createSampleData(t).data,o),this.lastFontFamily=t,this.lastCreated=i,i},V.createSampleData=function(o){var t=document.createElement("canvas"),i=t.getContext("2d");t.style.height=16+"px",t.height=16,t.width=96*10,t.style.width=96*10+"px",i.fillStyle="#ffffff",i.font="bold "+16+"px "+o,i.textBaseline="middle";for(var g=0,b=0,K=yr;b0)for(var ct=255/Le,wt=0;wt=K+mo){var bo=1,go=K;return new V(Ie,Le,io,yo,kt,bo,go)}else{var bo=Math.max(1,Math.floor(t-yo*ct/wt));qe&&qe.scrollHeight===Le&&(qe.scrollTop>Ie&&(bo=Math.min(bo,qe.startLineNumber)),qe.scrollTopJr){i._context.viewLayout.setScrollPositionNow({scrollTop:Ie.scrollTop});return}var ct=Le.posy-b;i._context.viewLayout.setScrollPositionNow({scrollTop:Ie.getDesiredScrollTopFromDelta(ct)})},function(){i._slider.toggleClassName("active",!1)})}}),i._gestureDisposable=f.b.addTarget(i._domNode.domNode),i._sliderTouchStartListener=J.j(i._domNode.domNode,f.a.Start,function(g){g.preventDefault(),g.stopPropagation(),i._lastRenderData&&(i._slider.toggleClassName("active",!0),i._gestureInProgress=!0,i.scrollDueToTouchEvent(g))}),i._sliderTouchMoveListener=J.o(i._domNode.domNode,f.a.Change,function(g){g.preventDefault(),g.stopPropagation(),i._lastRenderData&&i._gestureInProgress&&i.scrollDueToTouchEvent(g)}),i._sliderTouchEndListener=J.o(i._domNode.domNode,f.a.End,function(g){g.preventDefault(),g.stopPropagation(),i._gestureInProgress=!1,i._slider.toggleClassName("active",!1)}),i}return o.prototype.scrollDueToTouchEvent=function(t){var i=this._domNode.domNode.getBoundingClientRect().top,g=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(t.pageY-i);this._context.viewLayout.setScrollPositionNow({scrollTop:g})},o.prototype.dispose=function(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),V.prototype.dispose.call(this)},o.prototype._getMinimapDomNodeClassName=function(){return this._options.showSlider==="always"?"minimap slider-always":"minimap slider-mouseover"},o.prototype.getDomNode=function(){return this._domNode},o.prototype._applyLayout=function(){this._domNode.setLeft(this._options.minimapLeft),this._domNode.setWidth(this._options.minimapWidth),this._domNode.setHeight(this._options.minimapHeight),this._shadow.setHeight(this._options.minimapHeight),this._canvas.setWidth(this._options.canvasOuterWidth),this._canvas.setHeight(this._options.canvasOuterHeight),this._canvas.domNode.width=this._options.canvasInnerWidth,this._canvas.domNode.height=this._options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._options.canvasInnerHeight,this._slider.setWidth(this._options.minimapWidth)},o.prototype._getBuffer=function(){return this._buffers||this._options.canvasInnerWidth>0&&this._options.canvasInnerHeight>0&&(this._buffers=new wr(this._canvas.domNode.getContext("2d"),this._options.canvasInnerWidth,this._options.canvasInnerHeight,this._tokensColorTracker.getColor(2))),this._buffers?this._buffers.getBuffer():null},o.prototype._onOptionsMaybeChanged=function(){var t=new Qi(this._context.configuration);return this._options.equals(t)?!1:(this._options=t,this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName()),!0)},o.prototype.onConfigurationChanged=function(t){return this._onOptionsMaybeChanged()},o.prototype.onCursorStateChanged=function(t){return this._selections=t.selections,this._renderDecorations=!0,!0},o.prototype.onFlushed=function(t){return this._lastRenderData=null,!0},o.prototype.onLinesChanged=function(t){return this._lastRenderData?this._lastRenderData.onLinesChanged(t):!1},o.prototype.onLinesDeleted=function(t){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(t),!0},o.prototype.onLinesInserted=function(t){return this._lastRenderData&&this._lastRenderData.onLinesInserted(t),!0},o.prototype.onScrollChanged=function(t){return this._renderDecorations=!0,!0},o.prototype.onTokensChanged=function(t){return this._lastRenderData?this._lastRenderData.onTokensChanged(t):!1},o.prototype.onTokensColorsChanged=function(t){return this._lastRenderData=null,this._buffers=null,!0},o.prototype.onZonesChanged=function(t){return this._lastRenderData=null,!0},o.prototype.onDecorationsChanged=function(t){return this._renderDecorations=!0,!0},o.prototype.onThemeChanged=function(t){return this._context.model.invalidateMinimapColorCache(),this._selectionColor=this._context.theme.getColor(Tn.Ib),this._renderDecorations=!0,!0},o.prototype.prepareRender=function(t){},o.prototype.render=function(t){var i=this._options.renderMinimap;if(i===0){this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),this._sliderHorizontal.setHeight(0);return}t.scrollLeft+t.viewportWidth>=t.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");var g=qr.create(this._options,t.visibleRange.startLineNumber,t.visibleRange.endLineNumber,t.viewportHeight,t.viewportData.whitespaceViewportData.length>0,this._context.model.getLineCount(),t.scrollTop,t.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setTop(g.sliderTop),this._slider.setHeight(g.sliderHeight);var b=t.scrollLeft/this._options.typicalHalfwidthCharacterWidth,K=Math.min(this._options.minimapWidth,Math.round(b*Zi(this._options.renderMinimap,this._options.fontScale)/this._options.pixelRatio));this._sliderHorizontal.setLeft(K),this._sliderHorizontal.setWidth(this._options.minimapWidth-K),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(g.sliderHeight),this.renderDecorations(g),this._lastRenderData=this.renderLines(g)},o.prototype.renderDecorations=function(t){if(this._renderDecorations){this._renderDecorations=!1;var i=this._context.model.getDecorationsInViewport(new be.a(t.startLineNumber,1,t.endLineNumber,this._context.model.getLineMaxColumn(t.endLineNumber))),g=this._options,b=g.renderMinimap,K=g.canvasInnerWidth,Ie=g.canvasInnerHeight,Le=_n(b,this._options.fontScale),qe=Zi(b,this._options.fontScale),ct=this._context.model.getOptions().tabSize,wt=this._decorationsCanvas.domNode.getContext("2d");wt.clearRect(0,0,K,Ie);for(var et=new Map,Wt=0;Wtthis._options.canvasInnerHeight)return;var Wt=i.get(Ie),kt=!Wt;if(!Wt){var Vt=this._context.model.getLineContent(Ie);Wt=[he.f];for(var qt=1;qtIe?Wt.length-1:mo-1;if(No>0){var Fo=Wt[No]-Lo||2;this.renderDecoration(t,b,Lo,et,Fo,Le)}kt&&this.renderLineHighlight(t,b,et,Le)},o.prototype.renderLineHighlight=function(t,i,g,b){t.fillStyle=i&&i.transparent(.5).toString()||"",t.fillRect(he.f,g,t.canvas.width,b)},o.prototype.renderDecoration=function(t,i,g,b,K,Ie){t.fillStyle=i&&i.toString()||"",t.fillRect(g,b,K,Ie)},o.prototype.renderLines=function(t){var i=this._options.renderMinimap,g=this._options.charRenderer(),b=t.startLineNumber,K=t.endLineNumber,Ie=_n(i,this._options.fontScale);if(this._lastRenderData&&this._lastRenderData.linesEquals(t)){var Le=this._lastRenderData._get();return new Er(t,Le.imageData,Le.lines)}var qe=this._getBuffer();if(!qe)return null;for(var ct=o._renderUntouchedLines(qe,b,K,Ie,this._lastRenderData),wt=ct[0],et=ct[1],Wt=ct[2],kt=this._context.model.getMinimapLinesRenderingData(b,K,Wt),Vt=kt.tabSize,qt=this._tokensColorTracker.getColor(2),$t=this._tokensColorTracker.backgroundIsLight(),io=0,yo=[],mo=0,bo=K-b+1;mo=0&&PoVt)return;var No=et.charCodeAt($t);if(No===9){var Fo=qe-($t+io)%qe;io+=Fo-1,qt+=Fo*kt}else if(No===32)qt+=kt;else for(var Xo=fe.y(No)?2:1,Po=0;PoVt)return}},o}(B);Object(X.e)(function(V,o){var t=V.getColor(Tn.Xb);if(t){var i=t.transparent(.5);o.addRule(".monaco-editor .minimap-slider, .monaco-editor .minimap-slider .minimap-slider-horizontal { background: "+i+"; }")}var g=V.getColor(Tn.Yb);if(g){var b=g.transparent(.5);o.addRule(".monaco-editor .minimap-slider:hover, .monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: "+b+"; }")}var K=V.getColor(Tn.Wb);if(K){var Ie=K.transparent(.5);o.addRule(".monaco-editor .minimap-slider.active, .monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: "+Ie+"; }")}var Le=V.getColor(Tn.Vb);Le&&o.addRule(".monaco-editor .minimap-shadow-visible { box-shadow: "+Le+" -6px 0 6px -6px inset; }")});var na=e("cl4r"),ts=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),_r=function(V){ts(o,V);function o(t){var i=V.call(this,t)||this,g=i._context.configuration.options,b=g.get(107);return i._widgets={},i._verticalScrollbarWidth=b.verticalScrollbarWidth,i._minimapWidth=b.minimapWidth,i._horizontalScrollbarHeight=b.horizontalScrollbarHeight,i._editorHeight=b.height,i._editorWidth=b.width,i._domNode=Object(y.b)(document.createElement("div")),le.write(i._domNode,4),i._domNode.setClassName("overlayWidgets"),i}return o.prototype.dispose=function(){V.prototype.dispose.call(this),this._widgets={}},o.prototype.getDomNode=function(){return this._domNode},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(107);return this._verticalScrollbarWidth=g.verticalScrollbarWidth,this._minimapWidth=g.minimapWidth,this._horizontalScrollbarHeight=g.horizontalScrollbarHeight,this._editorHeight=g.height,this._editorWidth=g.width,!0},o.prototype.addWidget=function(t){var i=Object(y.b)(t.getDomNode());this._widgets[t.getId()]={widget:t,preference:null,domNode:i},i.setPosition("absolute"),i.setAttribute("widgetId",t.getId()),this._domNode.appendChild(i),this.setShouldRender()},o.prototype.setWidgetPosition=function(t,i){var g=this._widgets[t.getId()];return g.preference===i?!1:(g.preference=i,this.setShouldRender(),!0)},o.prototype.removeWidget=function(t){var i=t.getId();if(this._widgets.hasOwnProperty(i)){var g=this._widgets[i],b=g.domNode.domNode;delete this._widgets[i],b.parentNode.removeChild(b),this.setShouldRender()}},o.prototype._renderWidget=function(t){var i=t.domNode;if(t.preference===null){i.unsetTop();return}if(t.preference===0)i.setTop(0),i.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(t.preference===1){var g=i.domNode.clientHeight;i.setTop(this._editorHeight-g-2*this._horizontalScrollbarHeight),i.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else t.preference===2&&(i.setTop(0),i.domNode.style.right="50%")},o.prototype.prepareRender=function(t){},o.prototype.render=function(t){this._domNode.setWidth(this._editorWidth);for(var i=Object.keys(this._widgets),g=0,b=i.length;g=3){var b=Math.floor(g/3),K=Math.floor(g/3),Ie=g-b-K,Le=o,qe=Le+b,ct=Le+b+Ie;return[[0,Le,qe,Le,ct,Le,qe,Le],[0,b,Ie,b+Ie,K,b+Ie+K,Ie+K,b+Ie+K]]}else if(i===2){var b=Math.floor(g/2),K=g-b,Le=o,ct=Le+b;return[[0,Le,Le,Le,ct,Le,Le,Le],[0,b,b,b,K,b+K,b+K,b+K]]}else{var wt=o,et=g;return[[0,wt,wt,wt,wt,wt,wt,wt],[0,et,et,et,et,et,et,et]]}},V.prototype.equals=function(o){return this.lineHeight===o.lineHeight&&this.pixelRatio===o.pixelRatio&&this.overviewRulerLanes===o.overviewRulerLanes&&this.renderBorder===o.renderBorder&&this.borderColor===o.borderColor&&this.hideCursor===o.hideCursor&&this.cursorColor===o.cursorColor&&this.themeType===o.themeType&&this.backgroundColor===o.backgroundColor&&this.top===o.top&&this.right===o.right&&this.domWidth===o.domWidth&&this.domHeight===o.domHeight&&this.canvasWidth===o.canvasWidth&&this.canvasHeight===o.canvasHeight},V}(),os=function(V){Sr(o,V);function o(t){var i=V.call(this,t)||this;return i._domNode=Object(y.b)(document.createElement("canvas")),i._domNode.setClassName("decorationsOverviewRuler"),i._domNode.setPosition("absolute"),i._domNode.setLayerHinting(!0),i._domNode.setContain("strict"),i._domNode.setAttribute("aria-hidden","true"),i._updateSettings(!1),i._tokensColorTrackerListener=$o.B.onDidChange(function(g){g.changedColorMap&&i._updateSettings(!0)}),i._cursorPositions=[],i}return o.prototype.dispose=function(){V.prototype.dispose.call(this),this._tokensColorTrackerListener.dispose()},o.prototype._updateSettings=function(t){var i=new Oi(this._context.configuration,this._context.theme);return this._settings&&this._settings.equals(i)?!1:(this._settings=i,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,t&&this._render(),!0)},o.prototype.onConfigurationChanged=function(t){return this._updateSettings(!1)},o.prototype.onCursorStateChanged=function(t){this._cursorPositions=[];for(var i=0,g=t.selections.length;ii&&(cn=i-ct),Po=cn-ct,nn=cn+ct}Po>bo+1||No!==yo?(go!==0&&wt.fillRect(et[yo],mo,Wt[yo],bo-mo),yo=No,mo=Po,bo=nn):nn>bo&&(bo=nn)}wt.fillRect(et[yo],mo,Wt[yo],bo-mo)}if(!this._settings.hideCursor&&this._settings.cursorColor){var Nn=2*this._settings.pixelRatio|0,hn=Nn/2|0,Wn=this._settings.x[7],Fn=this._settings.w[7];wt.fillStyle=this._settings.cursorColor;for(var mo=-100,bo=-100,go=0,Lo=this._cursorPositions.length;goi&&(cn=i-hn);var Po=cn-hn,nn=Po+Nn;Po>bo+1?(go!==0&&wt.fillRect(Wn,mo,Fn,bo-mo),mo=Po,bo=nn):nn>bo&&(bo=nn)}wt.fillRect(Wn,mo,Fn,bo-mo)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(wt.beginPath(),wt.lineWidth=1,wt.strokeStyle=this._settings.borderColor,wt.moveTo(0,0),wt.lineTo(0,i),wt.stroke(),wt.moveTo(0,0),wt.lineTo(t,0),wt.stroke())},o}(B),ns=e("MvK1"),is=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),rs=function(V){is(o,V);function o(t,i){var g=V.call(this)||this;g._context=t;var b=g._context.configuration.options;return g._domNode=Object(y.b)(document.createElement("canvas")),g._domNode.setClassName(i),g._domNode.setPosition("absolute"),g._domNode.setLayerHinting(!0),g._domNode.setContain("strict"),g._zoneManager=new ns.b(function(K){return g._context.viewLayout.getVerticalOffsetForLineNumber(K)}),g._zoneManager.setDOMWidth(0),g._zoneManager.setDOMHeight(0),g._zoneManager.setOuterHeight(g._context.viewLayout.getScrollHeight()),g._zoneManager.setLineHeight(b.get(49)),g._zoneManager.setPixelRatio(b.get(105)),g._context.addEventHandler(g),g}return o.prototype.dispose=function(){this._context.removeEventHandler(this),V.prototype.dispose.call(this)},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options;return t.hasChanged(49)&&(this._zoneManager.setLineHeight(i.get(49)),this._render()),t.hasChanged(105)&&(this._zoneManager.setPixelRatio(i.get(105)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0},o.prototype.onFlushed=function(t){return this._render(),!0},o.prototype.onScrollChanged=function(t){return t.scrollHeightChanged&&(this._zoneManager.setOuterHeight(t.scrollHeight),this._render()),!0},o.prototype.onZonesChanged=function(t){return this._render(),!0},o.prototype.getDomNode=function(){return this._domNode.domNode},o.prototype.setLayout=function(t){this._domNode.setTop(t.top),this._domNode.setRight(t.right);var i=!1;i=this._zoneManager.setDOMWidth(t.width)||i,i=this._zoneManager.setDOMHeight(t.height)||i,i&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())},o.prototype.setZones=function(t){this._zoneManager.setZones(t),this._render()},o.prototype._render=function(){if(this._zoneManager.getOuterHeight()===0)return!1;var t=this._zoneManager.getCanvasWidth(),i=this._zoneManager.getCanvasHeight(),g=this._zoneManager.resolveColorZones(),b=this._zoneManager.getId2Color(),K=this._domNode.domNode.getContext("2d");return K.clearRect(0,0,t,i),g.length>0&&this._renderOneLane(K,g,b,t),!0},o.prototype._renderOneLane=function(t,i,g,b){for(var K=0,Ie=0,Le=0,qe=0,ct=i;qe=Wt?Le=Math.max(Le,kt):(t.fillRect(0,Ie,b,Le-Ie),Ie=Wt,Le=kt)}t.fillRect(0,Ie,b,Le-Ie)},o}(ie),ia=e("7zd4"),ss=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),as=function(V){ss(o,V);function o(t){var i=V.call(this,t)||this;i.domNode=Object(y.b)(document.createElement("div")),i.domNode.setAttribute("role","presentation"),i.domNode.setAttribute("aria-hidden","true"),i.domNode.setClassName("view-rulers"),i._renderedRulers=[];var g=i._context.configuration.options;return i._rulers=g.get(77),i._typicalHalfwidthCharacterWidth=g.get(34).typicalHalfwidthCharacterWidth,i}return o.prototype.dispose=function(){V.prototype.dispose.call(this)},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options;return this._rulers=i.get(77),this._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,!0},o.prototype.onScrollChanged=function(t){return t.scrollHeightChanged},o.prototype.prepareRender=function(t){},o.prototype._ensureRulersCount=function(){var t=this._renderedRulers.length,i=this._rulers.length;if(t===i)return;if(t0;){var Ie=Object(y.b)(document.createElement("div"));Ie.setClassName("view-ruler"),Ie.setWidth(b),this.domNode.appendChild(Ie),this._renderedRulers.push(Ie),K--}return}for(var Le=t-i;Le>0;){var Ie=this._renderedRulers.pop();this.domNode.removeChild(Ie),Le--}},o.prototype.render=function(t){this._ensureRulersCount();for(var i=0,g=this._rulers.length;i0;return this._shouldShow!==t?(this._shouldShow=t,!0):!1},o.prototype.getDomNode=function(){return this._domNode},o.prototype._updateWidth=function(){var t=this._context.configuration.options,i=t.get(107);i.renderMinimap===0||i.minimapWidth>0&&i.minimapLeft===0?this._width=i.width:this._width=i.width-i.minimapWidth-i.verticalScrollbarWidth},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(78);return this._useShadows=g.useShadows,this._updateWidth(),this._updateShouldShow(),!0},o.prototype.onScrollChanged=function(t){return this._scrollTop=t.scrollTop,this._updateShouldShow()},o.prototype.prepareRender=function(t){},o.prototype.render=function(t){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")},o}(B);Object(X.e)(function(V,o){var t=V.getColor(Tn.Vb);t&&o.addRule(".monaco-editor .scroll-decoration { box-shadow: "+t+" 0 6px 6px -6px inset; }")});var cs=e("eC1c"),Lr=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Mr=function(){function V(o){this.left=o.left,this.width=o.width,this.startStyle=null,this.endStyle=null}return V}(),Dr=function(){function V(o,t){this.lineNumber=o,this.ranges=t}return V}();function us(V){return new Mr(V)}function hs(V){return new Dr(V.lineNumber,V.ranges.map(us))}var fs=v.f,ms=function(V){Lr(o,V);function o(t){var i=V.call(this)||this;i._previousFrameVisibleRangesWithStyle=[],i._context=t;var g=i._context.configuration.options;return i._lineHeight=g.get(49),i._roundedSelection=g.get(76),i._typicalHalfwidthCharacterWidth=g.get(34).typicalHalfwidthCharacterWidth,i._selections=[],i._renderResult=null,i._context.addEventHandler(i),i}return o.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,V.prototype.dispose.call(this)},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options;return this._lineHeight=i.get(49),this._roundedSelection=i.get(76),this._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,!0},o.prototype.onCursorStateChanged=function(t){return this._selections=t.selections.slice(0),!0},o.prototype.onDecorationsChanged=function(t){return!0},o.prototype.onFlushed=function(t){return!0},o.prototype.onLinesChanged=function(t){return!0},o.prototype.onLinesDeleted=function(t){return!0},o.prototype.onLinesInserted=function(t){return!0},o.prototype.onScrollChanged=function(t){return t.scrollTopChanged},o.prototype.onZonesChanged=function(t){return!0},o.prototype._visibleRangesHaveGaps=function(t){for(var i=0,g=t.length;i1)return!0}return!1},o.prototype._enrichVisibleRangesWithStyle=function(t,i,g){var b=this._typicalHalfwidthCharacterWidth/4,K=null,Ie=null;if(g&&g.length>0&&i.length>0){var Le=i[0].lineNumber;if(Le===t.startLineNumber)for(var qe=0;!K&&qe=0;qe--)g[qe].lineNumber===ct&&(Ie=g[qe].ranges[0]);K&&!K.startStyle&&(K=null),Ie&&!Ie.startStyle&&(Ie=null)}for(var qe=0,wt=i.length;qe0){var $t=i[qe-1].ranges[0].left,io=i[qe-1].ranges[0].left+i[qe-1].ranges[0].width;oi(Wt-$t)$t&&(Vt.top=1),oi(kt-io)'},o.prototype._actualRenderOneSelection=function(t,i,g,b){if(b.length===0)return;for(var K=!!b[0].ranges[0].startStyle,Ie=this._lineHeight.toString(),Le=(this._lineHeight-1).toString(),qe=b[0].lineNumber,ct=b[b.length-1].lineNumber,wt=0,et=b.length;wt1,et)}this._previousFrameVisibleRangesWithStyle=Le,this._renderResult=i.map(function(Wt){var kt=Wt[0],Vt=Wt[1];return kt+Vt})},o.prototype.render=function(t,i){if(!this._renderResult)return"";var g=i-t;return g<0||g>=this._renderResult.length?"":this._renderResult[g]},o.SELECTION_CLASS_NAME="selected-text",o.SELECTION_TOP_LEFT="top-left-radius",o.SELECTION_BOTTOM_LEFT="bottom-left-radius",o.SELECTION_TOP_RIGHT="top-right-radius",o.SELECTION_BOTTOM_RIGHT="bottom-right-radius",o.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",o.ROUNDED_PIECE_WIDTH=10,o}(ke);Object(X.e)(function(V,o){var t=V.getColor(Tn.K);t&&o.addRule(".monaco-editor .focused .selected-text { background-color: "+t+"; }");var i=V.getColor(Tn.F);i&&o.addRule(".monaco-editor .selected-text { background-color: "+i+"; }");var g=V.getColor(Tn.L);g&&o.addRule(".monaco-editor .view-line span.inline-selected-text { color: "+g+"; }")});function oi(V){return V<0?-V:V}var sa=e("2Tsy"),Or=function(){function V(o,t,i,g,b,K){this.top=o,this.left=t,this.width=i,this.height=g,this.textContent=b,this.textContentClassName=K}return V}(),Tr=function(){function V(o){this._context=o;var t=this._context.configuration.options,i=t.get(34);this._cursorStyle=t.get(18),this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(21),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(y.b)(document.createElement("div")),this._domNode.setClassName("cursor"),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),H.a.applyFontInfo(this._domNode,i),this._domNode.setDisplay("none"),this._position=new oe.a(1,1),this._lastRenderedContent="",this._renderData=null}return V.prototype.getDomNode=function(){return this._domNode},V.prototype.getPosition=function(){return this._position},V.prototype.show=function(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)},V.prototype.hide=function(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)},V.prototype.onConfigurationChanged=function(o){var t=this._context.configuration.options,i=t.get(34);return this._cursorStyle=t.get(18),this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(21),this._typicalHalfwidthCharacterWidth),H.a.applyFontInfo(this._domNode,i),!0},V.prototype.onCursorPositionChanged=function(o){return this._position=o,!0},V.prototype._prepareRender=function(o){var t="";if(this._cursorStyle===he.g.Line||this._cursorStyle===he.g.LineThin){var i=o.visibleRangeForPosition(this._position);if(!i||i.outsideRenderedLine)return null;var g;if(this._cursorStyle===he.g.Line){if(g=J.u(this._lineCursorWidth>0?this._lineCursorWidth:2),g>2){var b=this._context.model.getLineContent(this._position.lineNumber),K=fe.E(b,this._position.column-1);t=b.substr(this._position.column-1,K)}}else g=J.u(1);var Ie=i.left;g>=2&&Ie>=1&&(Ie-=1);var Le=o.getVerticalOffsetForLineNumber(this._position.lineNumber)-o.bigNumbersDelta;return new Or(Le,Ie,g,this._lineHeight,t,"")}var qe=this._context.model.getLineContent(this._position.lineNumber),ct=fe.E(qe,this._position.column-1),wt=o.linesVisibleRangesForRange(new be.a(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+ct),!1);if(!wt||wt.length===0)return null;var et=wt[0];if(et.outsideRenderedLine||et.ranges.length===0)return null;var Wt=et.ranges[0],kt=Wt.width<1?this._typicalHalfwidthCharacterWidth:Wt.width,Vt="";if(this._cursorStyle===he.g.Block){var qt=this._context.model.getViewLineData(this._position.lineNumber);t=qe.substr(this._position.column-1,ct);var $t=qt.tokens.findTokenIndexAtOffset(this._position.column-1);Vt=qt.tokens.getClassName($t)}var io=o.getVerticalOffsetForLineNumber(this._position.lineNumber)-o.bigNumbersDelta,yo=this._lineHeight;return(this._cursorStyle===he.g.Underline||this._cursorStyle===he.g.UnderlineThin)&&(io+=this._lineHeight-2,yo=2),new Or(io,Wt.left,kt,yo,t,Vt)},V.prototype.prepareRender=function(o){this._renderData=this._prepareRender(o)},V.prototype.render=function(o){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName("cursor "+this._renderData.textContentClassName),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)},V}(),ps=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),gs=function(V){ps(o,V);function o(t){var i=V.call(this,t)||this,g=i._context.configuration.options;return i._readOnly=g.get(68),i._cursorBlinking=g.get(16),i._cursorStyle=g.get(18),i._cursorSmoothCaretAnimation=g.get(17),i._selectionIsEmpty=!0,i._isVisible=!1,i._primaryCursor=new Tr(i._context),i._secondaryCursors=[],i._renderData=[],i._domNode=Object(y.b)(document.createElement("div")),i._domNode.setAttribute("role","presentation"),i._domNode.setAttribute("aria-hidden","true"),i._updateDomClassName(),i._domNode.appendChild(i._primaryCursor.getDomNode()),i._startCursorBlinkAnimation=new p.e,i._cursorFlatBlinkInterval=new p.c,i._blinkingEnabled=!1,i._editorHasFocus=!1,i._updateBlinking(),i}return o.prototype.dispose=function(){V.prototype.dispose.call(this),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()},o.prototype.getDomNode=function(){return this._domNode},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options;this._readOnly=i.get(68),this._cursorBlinking=i.get(16),this._cursorStyle=i.get(18),this._cursorSmoothCaretAnimation=i.get(17),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(t);for(var g=0,b=this._secondaryCursors.length;gi.length)for(var Ie=this._secondaryCursors.length-i.length,b=0;bi)for(var K=t-i,b=0;b=o+1&&this.lastAddedCursorIndex--,this.secondaryCursors[o].dispose(this.context),this.secondaryCursors.splice(o,1)},V.prototype._getAll=function(){var o=[];o[0]=this.primaryCursor;for(var t=0,i=this.secondaryCursors.length;tWt&&Fo.index--}o.splice(Wt,1),t.splice(et,1),this._removeSecondaryCursor(Wt-1),b--}}},V}(),bn=e("snIX"),Mn=e("GR/f"),Ln=e("iuje"),xi=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();function Ei(V){for(var o=0,t=V.length;o=t.length)return!1;if(!t[i].strictContainsRange(o[i]))return!1}return!0},V}(),Rr=function(V){xi(o,V);function o(t,i,g){var b=V.call(this)||this;b._onDidReachMaxCursorCount=b._register(new U.a),b.onDidReachMaxCursorCount=b._onDidReachMaxCursorCount.event,b._onDidAttemptReadOnlyEdit=b._register(new U.a),b.onDidAttemptReadOnlyEdit=b._onDidAttemptReadOnlyEdit.event,b._onDidChange=b._register(new U.a),b.onDidChange=b._onDidChange.event,b._configuration=t,b._model=i,b._knownModelVersionId=b._model.getVersionId(),b._viewModel=g,b.context=new De.c(b._configuration,b._model,b._viewModel),b._cursors=new Vn(b.context),b._isHandling=!1,b._isDoingComposition=!1,b._selectionsWhenCompositionStarted=null,b._columnSelectData=null,b._autoClosedActions=[],b._prevEditOperationType=0,b._register(b._model.onDidChangeRawContent(function(Ie){if(b._knownModelVersionId=Ie.versionId,b._isHandling)return;var Le=Ie.containsEvent(1);b._onModelContentChanged(Le)})),b._register(g.addEventListener(function(Ie){if(!Ei(Ie))return;if(b._knownModelVersionId!==b._model.getVersionId())return;b.setStates("viewModel",0,b.getAll())}));var K=function(){b.context=new De.c(b._configuration,b._model,b._viewModel),b._cursors.updateContext(b.context)};return b._register(b._model.onDidChangeLanguage(function(Ie){K()})),b._register(b._model.onDidChangeLanguageConfiguration(function(){K()})),b._register(b._model.onDidChangeOptions(function(){K()})),b._register(b._configuration.onDidChange(function(Ie){De.b.shouldRecreate(Ie)&&K()})),b}return o.prototype.dispose=function(){this._cursors.dispose(),this._autoClosedActions=Object(z.f)(this._autoClosedActions),V.prototype.dispose.call(this)},o.prototype._validateAutoClosedActions=function(){if(this._autoClosedActions.length>0)for(var t=this._cursors.getSelections(),i=0;io.MAX_CURSOR_COUNT&&(g=g.slice(0,o.MAX_CURSOR_COUNT),this._onDidReachMaxCursorCount.fire(void 0));var b=new qi(this._model,this);this._cursors.setStates(g),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,i,b)},o.prototype.setColumnSelectData=function(t){this._columnSelectData=t},o.prototype.reveal=function(t,i,g,b){this._revealRange(t,g,0,i,b)},o.prototype.revealRange=function(t,i,g,b,K){this.emitCursorRevealRange(t,g,b,i,K)},o.prototype.scrollTo=function(t){this._viewModel.viewLayout.setScrollPositionSmooth({scrollTop:t})},o.prototype.saveState=function(){for(var t=[],i=this._cursors.getSelections(),g=0,b=i.length;g0&&this._pushAutoClosedAction(g,b),this._prevEditOperationType=t.type}t.shouldPushStackElementAfter&&this._model.pushStackElement()},o.prototype._interpretCommandResult=function(t){(!t||t.length===0)&&(t=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(t),this._cursors.normalize()},o.prototype._emitStateChangedIfNecessary=function(t,i,g){var b=new qi(this._model,this);if(b.equals(g))return!1;var K=this._cursors.getSelections(),Ie=this._cursors.getViewSelections();try{var Le=this._beginEmit();Le.emit(new Zo(Ie,K))}finally{this._endEmit()}if(!g||g.cursorState.length!==b.cursorState.length||b.cursorState.some(function(wt,et){return!wt.modelState.equals(g.cursorState[et].modelState)})){var qe=g?g.cursorState.map(function(wt){return wt.modelState.selection}):null,ct=g?g.modelVersionId:0;this._onDidChange.fire(new Ji(K,b.modelVersionId,qe,ct,t||"keyboard",i))}return!0},o.prototype._revealRange=function(t,i,g,b,K){var Ie=this._cursors.getViewPositions(),Le=Ie[0];if(i===1)for(var qe=1;qe1)return;var ct=new be.a(Le.lineNumber,Le.column,Le.lineNumber,Le.column);this.emitCursorRevealRange(t,ct,g,b,K)},o.prototype.emitCursorRevealRange=function(t,i,g,b,K){try{var Ie=this._beginEmit();Ie.emit(new mn(t,i,g,b,K))}finally{this._endEmit()}},o.prototype._findAutoClosingPairs=function(t){if(!t.length)return null;for(var i=[],g=0,b=t.length;g=0)return null;var Ie=K.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!Ie)return null;var Le=Ie[1],qe=this.context.config.autoClosingPairsClose2.get(Le);if(!qe||qe.length!==1)return null;var ct=qe[0].open,wt=K.text.length-Ie[2].length-1,et=K.text.lastIndexOf(ct,wt-1);if(et===-1)return null;i.push([et,wt])}return i},o.prototype.executeEdits=function(t,i,g){var b=this,K=null;t==="snippet"&&(K=this._findAutoClosingPairs(i)),K&&(i[0]._isTracked=!0);var Ie=[],Le=[],qe=this._model.pushEditOperations(this.getSelections(),i,function(ct){if(K)for(var wt=0,et=K.length;wt0&&this._pushAutoClosedAction(Ie,Le)},o.prototype.trigger=function(t,i,g){var b=Ln.b;if(i===b.CompositionStart){this._isDoingComposition=!0,this._selectionsWhenCompositionStarted=this.getSelections().slice(0);return}if(i===b.CompositionEnd&&(this._isDoingComposition=!1),this._configuration.options.get(68)){this._onDidAttemptReadOnlyEdit.fire(void 0);return}var K=new qi(this._model,this),Ie=0;i!==b.Undo&&i!==b.Redo&&this._cursors.stopTrackingSelections(),this._cursors.ensureValidState(),this._isHandling=!0;try{switch(i){case b.Type:this._type(t,g.text);break;case b.ReplacePreviousChar:this._replacePreviousChar(g.text,g.replaceCharCnt);break;case b.Paste:Ie=4,this._paste(g.text,g.pasteOnNewLine,g.multicursorText||[]);break;case b.Cut:this._cut();break;case b.Undo:Ie=5,this._interpretCommandResult(this._model.undo());break;case b.Redo:Ie=6,this._interpretCommandResult(this._model.redo());break;case b.ExecuteCommand:this._externalExecuteCommand(g);break;case b.ExecuteCommands:this._externalExecuteCommands(g);break;case b.CompositionEnd:this._interpretCompositionEnd(t);break}}catch(Le){Object(I.e)(Le)}this._isHandling=!1,i!==b.Undo&&i!==b.Redo&&this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,Ie,K)&&this._revealRange(t,0,0,!0,0)},o.prototype._interpretCompositionEnd=function(t){if(!this._isDoingComposition&&t==="keyboard"){var i=er.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(Mn.a.compositionEndWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this._selectionsWhenCompositionStarted,this.getSelections(),i)),this._selectionsWhenCompositionStarted=null}},o.prototype._type=function(t,i){if(!this._isDoingComposition&&t==="keyboard")for(var g=i.length,b=0;b0&&(K[0]._isTracked=!0);var qe=o.model.pushEditOperations(o.selectionsBefore,K,function(Vt){for(var qt=[],$t=0;$t0?(qt[Fo].sort(bo),go[Fo]=t[Fo].computeCursorState(o.model,{getInverseEditOperations:function(){return qt[Fo]},getTrackedSelection:function(Po){var nn=parseInt(Po,10),vn=o.model._getTrackedRange(o.trackedRanges[nn]);return o.trackedRangesDirection[nn]===0?new vt.a(vn.startLineNumber,vn.startColumn,vn.endLineNumber,vn.endColumn):new vt.a(vn.endLineNumber,vn.endColumn,vn.startLineNumber,vn.startColumn)}})):go[Fo]=o.selectionsBefore[Fo]},$t=0;$tb.identifier.major?K=g.identifier.major:K=b.identifier.major,t[K.toString()]=!0;for(var Ie=0;Ie0&&i--}}return t},V}(),Es=e("9Y+e"),Jo=e("wQH0"),Ai=e("TQUy"),ws=e("QuOb"),In=function(){function V(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}return V.prototype.insert=function(o){this._hasPending=!0,this._inserts.push(o)},V.prototype.change=function(o){this._hasPending=!0,this._changes.push(o)},V.prototype.remove=function(o){this._hasPending=!0,this._removes.push(o)},V.prototype.mustCommit=function(){return this._hasPending},V.prototype.commit=function(o){if(!this._hasPending)return;var t=this._inserts,i=this._changes,g=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],o._commitPendingChanges(t,i,g)},V}(),wi=function(){function V(o,t,i,g,b){this.id=o,this.afterLineNumber=t,this.ordinal=i,this.height=g,this.minWidth=b,this.prefixSum=0}return V}(),Xn=function(){function V(o,t){this._instanceId=fe.M(++V.INSTANCE_COUNT),this._pendingChanges=new In,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=o,this._lineHeight=t}return V.findInsertionIndex=function(o,t,i){for(var g=0,b=o.length;g>>1;t===o[K].afterLineNumber?i0||i.length>0)&&(this._minWidth=-1),o.length+t.length+i.length<=1){for(var g=0,b=o;gt&&(this._arr[i].afterLineNumber-=t-o+1)}},V.prototype.onLinesInserted=function(o,t){this._checkPendingChanges(),o=o|0,t=t|0,this._lineCount+=t-o+1;for(var i=0,g=this._arr.length;i=t.length||t[Ie+1].afterLineNumber>=o)return Ie;i=Ie+1|0}else g=Ie-1|0}return-1},V.prototype._findFirstWhitespaceAfterLineNumber=function(o){o=o|0;var t=this._findLastWhitespaceBeforeLineNumber(o),i=t+1;return i1?t=this._lineHeight*(o-1):t=0;var i=this.getWhitespaceAccumulatedHeightBeforeLineNumber(o);return t+i},V.prototype.getWhitespaceMinWidth=function(){if(this._checkPendingChanges(),this._minWidth===-1){for(var o=0,t=0,i=this._arr.length;tt},V.prototype.getLineNumberAtOrAfterVerticalOffset=function(o){if(this._checkPendingChanges(),o=o|0,o<0)return 1;for(var t=this._lineCount|0,i=this._lineHeight,g=1,b=t;g=Ie+i)g=K+1;else{if(o>=Ie)return K;b=K}}return g>t?t:g},V.prototype.getLinesViewportData=function(o,t){this._checkPendingChanges(),o=o|0,t=t|0;var i=this._lineHeight,g=this.getLineNumberAtOrAfterVerticalOffset(o)|0,b=this.getVerticalOffsetForLineNumber(g)|0,K=this._lineCount|0,Ie=this.getFirstWhitespaceIndexAfterLineNumber(g)|0,Le=this.getWhitespacesCount()|0,qe,ct;Ie===-1?(Ie=Le,ct=K+1,qe=0):(ct=this.getAfterLineNumberForWhitespaceIndex(Ie)|0,qe=this.getHeightForWhitespaceIndex(Ie)|0);var wt=b,et=wt,Wt=5e5,kt=0;b>=Wt&&(kt=Math.floor(b/Wt)*Wt,kt=Math.floor(kt/i)*i,et-=kt);for(var Vt=[],qt=o+(t-o)/2,$t=-1,io=g;io<=K;io++){if($t===-1){var yo=wt,mo=wt+i;(yo<=qt&&qtqt)&&($t=io)}for(wt+=i,Vt[io-g]=et,et+=i;ct===io;)et+=qe,wt+=qe,Ie++,Ie>=Le?ct=K+1:(ct=this.getAfterLineNumberForWhitespaceIndex(Ie)|0,qe=this.getHeightForWhitespaceIndex(Ie)|0);if(wt>=t){K=io;break}}$t===-1&&($t=K);var bo=this.getVerticalOffsetForLineNumber(K)|0,go=g,Lo=K;return got&&Lo--),{bigNumbersDelta:kt,startLineNumber:g,endLineNumber:K,relativeVerticalOffset:Vt,centeredLineNumber:$t,completelyVisibleStartLineNumber:go,completelyVisibleEndLineNumber:Lo}},V.prototype.getVerticalOffsetForWhitespaceIndex=function(o){this._checkPendingChanges(),o=o|0;var t=this.getAfterLineNumberForWhitespaceIndex(o),i;t>=1?i=this._lineHeight*t:i=0;var g;return o>0?g=this.getWhitespacesAccumulatedHeight(o-1):g=0,i+g},V.prototype.getWhitespaceIndexAtOrAfterVerticallOffset=function(o){this._checkPendingChanges(),o=o|0;var t=0,i=this.getWhitespacesCount()-1;if(i<0)return-1;var g=this.getVerticalOffsetForWhitespaceIndex(i),b=this.getHeightForWhitespaceIndex(i);if(o>=g+b)return-1;for(;t=Ie+Le)t=K+1;else{if(o>=Ie)return K;i=K}}return t},V.prototype.getWhitespaceAtVerticalOffset=function(o){this._checkPendingChanges(),o=o|0;var t=this.getWhitespaceIndexAtOrAfterVerticallOffset(o);if(t<0)return null;if(t>=this.getWhitespacesCount())return null;var i=this.getVerticalOffsetForWhitespaceIndex(t);if(i>o)return null;var g=this.getHeightForWhitespaceIndex(t),b=this.getIdForWhitespaceIndex(t),K=this.getAfterLineNumberForWhitespaceIndex(t);return{id:b,afterLineNumber:K,verticalOffset:i,height:g}},V.prototype.getWhitespaceViewportData=function(o,t){this._checkPendingChanges(),o=o|0,t=t|0;var i=this.getWhitespaceIndexAtOrAfterVerticallOffset(o),g=this.getWhitespacesCount()-1;if(i<0)return[];for(var b=[],K=i;K<=g;K++){var Ie=this.getVerticalOffsetForWhitespaceIndex(K),Le=this.getHeightForWhitespaceIndex(K);if(Ie>=t)break;b.push({id:this.getIdForWhitespaceIndex(K),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(K),verticalOffset:Ie,height:Le})}return b},V.prototype.getWhitespaces=function(){return this._checkPendingChanges(),this._arr.slice(0)},V.prototype.getWhitespacesCount=function(){return this._checkPendingChanges(),this._arr.length},V.prototype.getIdForWhitespaceIndex=function(o){return this._checkPendingChanges(),o=o|0,this._arr[o].id},V.prototype.getAfterLineNumberForWhitespaceIndex=function(o){return this._checkPendingChanges(),o=o|0,this._arr[o].afterLineNumber},V.prototype.getHeightForWhitespaceIndex=function(o){return this._checkPendingChanges(),o=o|0,this._arr[o].height},V.INSTANCE_COUNT=0,V}(),zn=e("qNAo"),Ri=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),tr=125,_i=function(){function V(o,t,i,g){o=o|0,t=t|0,i=i|0,g=g|0,o<0&&(o=0),t<0&&(t=0),i<0&&(i=0),g<0&&(g=0),this.width=o,this.contentWidth=t,this.scrollWidth=Math.max(o,t),this.height=i,this.contentHeight=g,this.scrollHeight=Math.max(i,g)}return V.prototype.equals=function(o){return this.width===o.width&&this.contentWidth===o.contentWidth&&this.height===o.height&&this.contentHeight===o.contentHeight},V}(),Ii=function(V){Ri(o,V);function o(t,i){var g=V.call(this)||this;return g._onDidContentSizeChange=g._register(new U.a),g.onDidContentSizeChange=g._onDidContentSizeChange.event,g._dimensions=new _i(0,0,0,0),g._scrollable=g._register(new ws.a(t,i)),g.onDidScroll=g._scrollable.onScroll,g}return o.prototype.getScrollable=function(){return this._scrollable},o.prototype.setSmoothScrollDuration=function(t){this._scrollable.setSmoothScrollDuration(t)},o.prototype.validateScrollPosition=function(t){return this._scrollable.validateScrollPosition(t)},o.prototype.getScrollDimensions=function(){return this._dimensions},o.prototype.setScrollDimensions=function(t){if(this._dimensions.equals(t))return;var i=this._dimensions;this._dimensions=t,this._scrollable.setScrollDimensions({width:t.width,scrollWidth:t.scrollWidth,height:t.height,scrollHeight:t.scrollHeight});var g=i.contentWidth!==t.contentWidth,b=i.contentHeight!==t.contentHeight;(g||b)&&this._onDidContentSizeChange.fire({contentWidth:t.contentWidth,contentHeight:t.contentHeight,contentWidthChanged:g,contentHeightChanged:b})},o.prototype.getFutureScrollPosition=function(){return this._scrollable.getFutureScrollPosition()},o.prototype.getCurrentScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},o.prototype.setScrollPositionNow=function(t){this._scrollable.setScrollPositionNow(t)},o.prototype.setScrollPositionSmooth=function(t){this._scrollable.setScrollPositionSmooth(t)},o}(z.a),_s=function(V){Ri(o,V);function o(t,i,g){var b=V.call(this)||this;b._configuration=t;var K=b._configuration.options,Ie=K.get(107);return b._linesLayout=new Xn(i,K.get(49)),b._scrollable=b._register(new Ii(0,g)),b._configureSmoothScrollDuration(),b._scrollable.setScrollDimensions(new _i(Ie.contentWidth,0,Ie.height,0)),b.onDidScroll=b._scrollable.onDidScroll,b.onDidContentSizeChange=b._scrollable.onDidContentSizeChange,b._updateHeight(),b}return o.prototype.dispose=function(){V.prototype.dispose.call(this)},o.prototype.getScrollable=function(){return this._scrollable.getScrollable()},o.prototype.onHeightMaybeChanged=function(){this._updateHeight()},o.prototype._configureSmoothScrollDuration=function(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(87)?tr:0)},o.prototype.onConfigurationChanged=function(t){var i=this._configuration.options;if(t.hasChanged(49)&&this._linesLayout.setLineHeight(i.get(49)),t.hasChanged(107)){var g=i.get(107),b=g.contentWidth,K=g.height,Ie=this._scrollable.getScrollDimensions(),Le=Ie.scrollWidth;this._scrollable.setScrollDimensions(new _i(b,Ie.contentWidth,K,this._getContentHeight(b,K,Le)))}else this._updateHeight();t.hasChanged(87)&&this._configureSmoothScrollDuration()},o.prototype.onFlushed=function(t){this._linesLayout.onFlushed(t)},o.prototype.onLinesDeleted=function(t,i){this._linesLayout.onLinesDeleted(t,i)},o.prototype.onLinesInserted=function(t,i){this._linesLayout.onLinesInserted(t,i)},o.prototype._getHorizontalScrollbarHeight=function(t,i){var g=this._configuration.options,b=g.get(78);return b.horizontal===2||t>=i?0:b.horizontalScrollbarSize},o.prototype._getContentHeight=function(t,i,g){var b=this._configuration.options,K=this._linesLayout.getLinesTotalHeight();return b.get(80)?K+=i-b.get(49):K+=this._getHorizontalScrollbarHeight(t,g),K},o.prototype._updateHeight=function(){var t=this._scrollable.getScrollDimensions(),i=t.width,g=t.height,b=t.scrollWidth;this._scrollable.setScrollDimensions(new _i(i,t.contentWidth,g,this._getContentHeight(i,g,b)))},o.prototype.getCurrentViewport=function(){var t=this._scrollable.getScrollDimensions(),i=this._scrollable.getCurrentScrollPosition();return new zn.f(i.scrollTop,i.scrollLeft,t.width,t.height)},o.prototype.getFutureViewport=function(){var t=this._scrollable.getScrollDimensions(),i=this._scrollable.getFutureScrollPosition();return new zn.f(i.scrollTop,i.scrollLeft,t.width,t.height)},o.prototype._computeContentWidth=function(t){var i=this._configuration.options,g=i.get(108),b=i.get(34);if(g.isViewportWrapping){var K=i.get(107),Ie=i.get(54);return t>K.contentWidth+b.typicalHalfwidthCharacterWidth&&(Ie.enabled&&Ie.side==="right")?t+K.verticalScrollbarWidth:t}else{var Le=i.get(79)*b.typicalHalfwidthCharacterWidth,qe=this._linesLayout.getWhitespaceMinWidth();return Math.max(t+Le,qe)}},o.prototype.onMaxLineWidthChanged=function(t){var i=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new _i(i.width,this._computeContentWidth(t),i.height,i.contentHeight)),this._updateHeight()},o.prototype.saveState=function(){var t=this._scrollable.getFutureScrollPosition(),i=t.scrollTop,g=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(i),b=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(g);return{scrollTop:i,scrollTopWithoutViewZones:i-b,scrollLeft:t.scrollLeft}},o.prototype.changeWhitespace=function(t){return this._linesLayout.changeWhitespace(t)},o.prototype.getVerticalOffsetForLineNumber=function(t){return this._linesLayout.getVerticalOffsetForLineNumber(t)},o.prototype.isAfterLines=function(t){return this._linesLayout.isAfterLines(t)},o.prototype.getLineNumberAtVerticalOffset=function(t){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t)},o.prototype.getWhitespaceAtVerticalOffset=function(t){return this._linesLayout.getWhitespaceAtVerticalOffset(t)},o.prototype.getLinesViewportData=function(){var t=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(t.top,t.top+t.height)},o.prototype.getLinesViewportDataAtScrollTop=function(t){var i=this._scrollable.getScrollDimensions();return t+i.height>i.scrollHeight&&(t=i.scrollHeight-i.height),t<0&&(t=0),this._linesLayout.getLinesViewportData(t,t+i.height)},o.prototype.getWhitespaceViewportData=function(){var t=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(t.top,t.top+t.height)},o.prototype.getWhitespaces=function(){return this._linesLayout.getWhitespaces()},o.prototype.getContentWidth=function(){var t=this._scrollable.getScrollDimensions();return t.contentWidth},o.prototype.getScrollWidth=function(){var t=this._scrollable.getScrollDimensions();return t.scrollWidth},o.prototype.getContentHeight=function(){var t=this._scrollable.getScrollDimensions();return t.contentHeight},o.prototype.getScrollHeight=function(){var t=this._scrollable.getScrollDimensions();return t.scrollHeight},o.prototype.getCurrentScrollLeft=function(){var t=this._scrollable.getCurrentScrollPosition();return t.scrollLeft},o.prototype.getCurrentScrollTop=function(){var t=this._scrollable.getCurrentScrollPosition();return t.scrollTop},o.prototype.validateScrollPosition=function(t){return this._scrollable.validateScrollPosition(t)},o.prototype.setScrollPositionNow=function(t){this._scrollable.setScrollPositionNow(t)},o.prototype.setScrollPositionSmooth=function(t){this._scrollable.setScrollPositionSmooth(t)},o.prototype.deltaScrollNow=function(t,i){var g=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:g.scrollLeft+t,scrollTop:g.scrollTop+i})},o}(z.a),hi=e("tX9W"),Ss=e("LeU+"),Jn=function(){function V(o,t){this.outputLineIndex=o,this.outputOffset=t}return V}(),qn=function(){function V(o,t,i){this.breakOffsets=o,this.breakOffsetsVisibleColumn=t,this.wrappedTextIndentLength=i}return V.getInputOffsetOfOutputPosition=function(o,t,i){return t===0?i:o[t-1]+i},V.getOutputPositionOfInputOffset=function(o,t){for(var i=0,g=o.length-1,b=0,K=0;i<=g;){b=i+(g-i)/2|0;var Ie=o[b];if(K=b>0?o[b-1]:0,t=Ie)i=b+1;else break}return new Jn(b,t-K)},V}(),Ls=function(){function V(o){this._lines=o}return V.prototype.convertViewPositionToModelPosition=function(o){return this._lines.convertViewPositionToModelPosition(o.lineNumber,o.column)},V.prototype.convertViewRangeToModelRange=function(o){return this._lines.convertViewRangeToModelRange(o)},V.prototype.validateViewPosition=function(o,t){return this._lines.validateViewPosition(o.lineNumber,o.column,t)},V.prototype.validateViewRange=function(o,t){return this._lines.validateViewRange(o,t)},V.prototype.convertModelPositionToViewPosition=function(o){return this._lines.convertModelPositionToViewPosition(o.lineNumber,o.column)},V.prototype.convertModelRangeToViewRange=function(o){return this._lines.convertModelRangeToViewRange(o)},V.prototype.modelPositionIsVisible=function(o){return this._lines.modelPositionIsVisible(o.lineNumber,o.column)},V}(),or=function(){function V(o){this._counts=o,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}return V.prototype._invalidate=function(o){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,o-1)},V.prototype._ensureValid=function(){if(this._isValid)return;for(var o=this._validEndIndex+1,t=this._counts.length;o0?this._modelToView[o-1]:0;this._modelToView[o]=g+i;for(var b=0;b0?this._modelToView[t-1]:0;return new Ss.b(t,o-i)},V}(),Nr=function(){function V(o,t,i,g,b,K,Ie,Le){this.model=o,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=t,this._monospaceLineBreaksComputerFactory=i,this.fontInfo=g,this.tabSize=b,this.wrappingStrategy=K,this.wrappingColumn=Ie,this.wrappingIndent=Le,this._constructLines(!0,null)}return V.prototype.dispose=function(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])},V.prototype.createCoordinatesConverter=function(){return new Ls(this)},V.prototype._constructLines=function(o,t){var i=this;this.lines=[],o&&(this.hiddenAreasIds=[]);for(var g=this.model.getLinesContent(),b=g.length,K=this.createLineBreaksComputer(),Ie=0;Ie=wt&&Vt<=et,$t=Ni(Le[Ie],!qt);qe[Ie]=$t.getViewLineCount(),this.lines[Ie]=$t}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new or(qe)},V.prototype.getHiddenAreas=function(){var o=this;return this.hiddenAreasIds.map(function(t){return o.model.getDecorationRange(t)})},V.prototype._reduceRanges=function(o){var t=this;if(o.length===0)return[];for(var i=o.map(function(ct){return t.model.validateRange(ct)}).sort(be.a.compareRangesUsingStarts),g=[],b=i[0].startLineNumber,K=i[0].endLineNumber,Ie=1,Le=i.length;IeK+1?(g.push(new be.a(b,1,K,1)),b=qe.startLineNumber,K=qe.endLineNumber):qe.endLineNumber>K&&(K=qe.endLineNumber)}return g.push(new be.a(b,1,K,1)),g},V.prototype.setHiddenAreas=function(o){var t=this,i=this._reduceRanges(o),g=this.hiddenAreasIds.map(function(mo){return t.model.getDecorationRange(mo)}).sort(be.a.compareRangesUsingStarts);if(i.length===g.length){for(var b=!1,K=0;K=et&&$t<=Wt?this.lines[K].isVisible()&&(this.lines[K]=this.lines[K].setVisible(!1),io=!0):(qt=!0,this.lines[K].isVisible()||(this.lines[K]=this.lines[K].setVisible(!0),io=!0)),io){var yo=this.lines[K].getViewLineCount();this.prefixSumComputer.changeValue(K,yo)}}return qt||this.setHiddenAreas([]),!0},V.prototype.modelPositionIsVisible=function(o,t){return o<1||o>this.lines.length?!1:this.lines[o-1].isVisible()},V.prototype.setTabSize=function(o){return this.tabSize===o?!1:(this.tabSize=o,this._constructLines(!1,null),!0)},V.prototype.setWrappingSettings=function(o,t,i,g){var b=this.fontInfo.equals(o),K=this.wrappingStrategy===t,Ie=this.wrappingColumn===i,Le=this.wrappingIndent===g;if(b&&K&&Ie&&Le)return!1;var qe=b&&K&&!Ie&&Le;this.fontInfo=o,this.wrappingStrategy=t,this.wrappingColumn=i,this.wrappingIndent=g;var ct=null;if(qe){ct=[];for(var wt=0,et=this.lines.length;wtLe?(ct=t===1?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,wt=ct+Le-1,kt=wt+1,Vt=kt+(b-Le)-1,qe=!0):bt?t:o|0},V.prototype.getActiveIndentGuide=function(o,t,i){o=this._toValidViewLineNumber(o),t=this._toValidViewLineNumber(t),i=this._toValidViewLineNumber(i);var g=this.convertViewPositionToModelPosition(o,this.getViewLineMinColumn(o)),b=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),K=this.convertViewPositionToModelPosition(i,this.getViewLineMinColumn(i)),Ie=this.model.getActiveIndentGuide(g.lineNumber,b.lineNumber,K.lineNumber),Le=this.convertModelPositionToViewPosition(Ie.startLineNumber,1),qe=this.convertModelPositionToViewPosition(Ie.endLineNumber,this.model.getLineMaxColumn(Ie.endLineNumber));return{startLineNumber:Le.lineNumber,endLineNumber:qe.lineNumber,indent:Ie.indent}},V.prototype.getViewLinesIndentGuides=function(o,t){o=this._toValidViewLineNumber(o),t=this._toValidViewLineNumber(t);for(var i=this.convertViewPositionToModelPosition(o,this.getViewLineMinColumn(o)),g=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),b=[],K=[],Ie=[],Le=i.lineNumber-1,qe=g.lineNumber-1,ct=null,wt=Le;wt<=qe;wt++){var et=this.lines[wt];if(et.isVisible()){var Wt=et.getViewLineNumberOfModelPosition(0,wt===Le?i.column:1),kt=et.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(wt+1)),Vt=kt-Wt+1,qt=0;Vt>1&&et.getViewLineMinColumn(this.model,wt+1,kt)===1&&(qt=Wt===0?1:2),K.push(Vt),Ie.push(qt),ct===null&&(ct=new oe.a(wt+1,0))}else ct!==null&&(b=b.concat(this.model.getLinesIndentGuides(ct.lineNumber,wt)),ct=null)}ct!==null&&(b=b.concat(this.model.getLinesIndentGuides(ct.lineNumber,g.lineNumber)),ct=null);for(var $t=t-o+1,io=new Array($t),yo=0,mo=0,bo=b.length;mot&&(kt=!0,Wt=t-b+1);var Vt=et+Wt;if(wt.getViewLinesData(this.model,qe+1,et,Vt,b-o,i,Le),b+=Wt,kt)break}return Le},V.prototype.validateViewPosition=function(o,t,i){o=this._toValidViewLineNumber(o);var g=this.prefixSumComputer.getIndexOf(o-1),b=g.index,K=g.remainder,Ie=this.lines[b],Le=Ie.getViewLineMinColumn(this.model,b+1,K),qe=Ie.getViewLineMaxColumn(this.model,b+1,K);tqe&&(t=qe);var ct=Ie.getModelColumnOfViewPosition(K,t),wt=this.model.validatePosition(new oe.a(b+1,ct));return wt.equals(i)?new oe.a(o,t):this.convertModelPositionToViewPosition(i.lineNumber,i.column)},V.prototype.validateViewRange=function(o,t){var i=this.validateViewPosition(o.startLineNumber,o.startColumn,t.getStartPosition()),g=this.validateViewPosition(o.endLineNumber,o.endColumn,t.getEndPosition());return new be.a(i.lineNumber,i.column,g.lineNumber,g.column)},V.prototype.convertViewPositionToModelPosition=function(o,t){o=this._toValidViewLineNumber(o);var i=this.prefixSumComputer.getIndexOf(o-1),g=i.index,b=i.remainder,K=this.lines[g].getModelColumnOfViewPosition(b,t);return this.model.validatePosition(new oe.a(g+1,K))},V.prototype.convertViewRangeToModelRange=function(o){var t=this.convertViewPositionToModelPosition(o.startLineNumber,o.startColumn),i=this.convertViewPositionToModelPosition(o.endLineNumber,o.endColumn);return new be.a(t.lineNumber,t.column,i.lineNumber,i.column)},V.prototype.convertModelPositionToViewPosition=function(o,t){for(var i=this.model.validatePosition(new oe.a(o,t)),g=i.lineNumber,b=i.column,K=g-1,Ie=!1;K>0&&!this.lines[K].isVisible();)K--,Ie=!0;if(K===0&&!this.lines[K].isVisible())return new oe.a(1,1);var Le=1+(K===0?0:this.prefixSumComputer.getAccumulatedValue(K-1)),qe;return Ie?qe=this.lines[K].getViewPositionOfModelPosition(Le,this.model.getLineMaxColumn(K+1)):qe=this.lines[g-1].getViewPositionOfModelPosition(Le,b),qe},V.prototype.convertModelRangeToViewRange=function(o){var t=this.convertModelPositionToViewPosition(o.startLineNumber,o.startColumn),i=this.convertModelPositionToViewPosition(o.endLineNumber,o.endColumn);return o.startLineNumber===o.endLineNumber&&t.lineNumber!==i.lineNumber&&i.column===this.getViewLineMinColumn(i.lineNumber)?new be.a(t.lineNumber,t.column,i.lineNumber-1,this.getViewLineMaxColumn(i.lineNumber-1)):new be.a(t.lineNumber,t.column,i.lineNumber,i.column)},V.prototype._getViewLineNumberForModelPosition=function(o,t){var i=o-1;if(this.lines[i].isVisible()){var g=1+(i===0?0:this.prefixSumComputer.getAccumulatedValue(i-1));return this.lines[i].getViewLineNumberOfModelPosition(g,t)}for(;i>0&&!this.lines[i].isVisible();)i--;if(i===0&&!this.lines[i].isVisible())return 1;var b=1+(i===0?0:this.prefixSumComputer.getAccumulatedValue(i-1));return this.lines[i].getViewLineNumberOfModelPosition(b,this.model.getLineMaxColumn(i+1))},V.prototype.getAllOverviewRulerDecorations=function(o,t,i){for(var g=this.model.getOverviewRulerDecorations(o,t),b=new ni,K=0,Ie=g;Kbo.id?1:0:go});for(var Wt=[],kt=0,Vt=null,qt=0,$t=K;qt<$t.length;qt++){var io=$t[qt],yo=io.id;if(Vt===yo)continue;Vt=yo,Wt[kt++]=io}return Wt},V}(),nr=function(){function V(){}return V.prototype.isVisible=function(){return!0},V.prototype.setVisible=function(o){return o?this:ir.INSTANCE},V.prototype.getLineBreakData=function(){return null},V.prototype.getViewLineCount=function(){return 1},V.prototype.getViewLineContent=function(o,t,i){return o.getLineContent(t)},V.prototype.getViewLineLength=function(o,t,i){return o.getLineLength(t)},V.prototype.getViewLineMinColumn=function(o,t,i){return o.getLineMinColumn(t)},V.prototype.getViewLineMaxColumn=function(o,t,i){return o.getLineMaxColumn(t)},V.prototype.getViewLineData=function(o,t,i){var g=o.getLineTokens(t),b=g.getLineContent();return new zn.c(b,!1,1,b.length+1,0,g.inflate())},V.prototype.getViewLinesData=function(o,t,i,g,b,K,Ie){if(!K[b]){Ie[b]=null;return}Ie[b]=this.getViewLineData(o,t,0)},V.prototype.getModelColumnOfViewPosition=function(o,t){return t},V.prototype.getViewPositionOfModelPosition=function(o,t){return new oe.a(o,t)},V.prototype.getViewLineNumberOfModelPosition=function(o,t){return o},V.INSTANCE=new V,V}(),ir=function(){function V(){}return V.prototype.isVisible=function(){return!1},V.prototype.setVisible=function(o){return o?nr.INSTANCE:this},V.prototype.getLineBreakData=function(){return null},V.prototype.getViewLineCount=function(){return 0},V.prototype.getViewLineContent=function(o,t,i){throw new Error("Not supported")},V.prototype.getViewLineLength=function(o,t,i){throw new Error("Not supported")},V.prototype.getViewLineMinColumn=function(o,t,i){throw new Error("Not supported")},V.prototype.getViewLineMaxColumn=function(o,t,i){throw new Error("Not supported")},V.prototype.getViewLineData=function(o,t,i){throw new Error("Not supported")},V.prototype.getViewLinesData=function(o,t,i,g,b,K,Ie){throw new Error("Not supported")},V.prototype.getModelColumnOfViewPosition=function(o,t){throw new Error("Not supported")},V.prototype.getViewPositionOfModelPosition=function(o,t){throw new Error("Not supported")},V.prototype.getViewLineNumberOfModelPosition=function(o,t){throw new Error("Not supported")},V.INSTANCE=new V,V}(),Yn=function(){function V(o,t){this._lineBreakData=o,this._isVisible=t}return V.prototype.isVisible=function(){return this._isVisible},V.prototype.setVisible=function(o){return this._isVisible=o,this},V.prototype.getLineBreakData=function(){return this._lineBreakData},V.prototype.getViewLineCount=function(){return this._isVisible?this._lineBreakData.breakOffsets.length:0},V.prototype.getInputStartOffsetOfOutputLineIndex=function(o){return qn.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,o,0)},V.prototype.getInputEndOffsetOfOutputLineIndex=function(o,t,i){return i+1===this._lineBreakData.breakOffsets.length?o.getLineMaxColumn(t)-1:qn.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,i+1,0)},V.prototype.getViewLineContent=function(o,t,i){if(!this._isVisible)throw new Error("Not supported");var g=this.getInputStartOffsetOfOutputLineIndex(i),b=this.getInputEndOffsetOfOutputLineIndex(o,t,i),K=o.getValueInRange({startLineNumber:t,startColumn:g+1,endLineNumber:t,endColumn:b+1});return i>0&&(K=rr(this._lineBreakData.wrappedTextIndentLength)+K),K},V.prototype.getViewLineLength=function(o,t,i){if(!this._isVisible)throw new Error("Not supported");var g=this.getInputStartOffsetOfOutputLineIndex(i),b=this.getInputEndOffsetOfOutputLineIndex(o,t,i),K=b-g;return i>0&&(K=this._lineBreakData.wrappedTextIndentLength+K),K},V.prototype.getViewLineMinColumn=function(o,t,i){if(!this._isVisible)throw new Error("Not supported");return i>0?this._lineBreakData.wrappedTextIndentLength+1:1},V.prototype.getViewLineMaxColumn=function(o,t,i){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(o,t,i).length+1},V.prototype.getViewLineData=function(o,t,i){if(!this._isVisible)throw new Error("Not supported");var g=this.getInputStartOffsetOfOutputLineIndex(i),b=this.getInputEndOffsetOfOutputLineIndex(o,t,i),K=o.getValueInRange({startLineNumber:t,startColumn:g+1,endLineNumber:t,endColumn:b+1});i>0&&(K=rr(this._lineBreakData.wrappedTextIndentLength)+K);var Ie=i>0?this._lineBreakData.wrappedTextIndentLength+1:1,Le=K.length+1,qe=i+10&&(ct=this._lineBreakData.wrappedTextIndentLength);var wt=o.getLineTokens(t),et=i===0?0:this._lineBreakData.breakOffsetsVisibleColumn[i-1];return new zn.c(K,qe,Ie,Le,et,wt.sliceAndInflate(g,b,ct))},V.prototype.getViewLinesData=function(o,t,i,g,b,K,Ie){if(!this._isVisible)throw new Error("Not supported");for(var Le=i;Le0&&(i0&&(b+=this._lineBreakData.wrappedTextIndentLength),new oe.a(o+g,b)},V.prototype.getViewLineNumberOfModelPosition=function(o,t){if(!this._isVisible)throw new Error("Not supported");var i=qn.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1);return o+i.outputLineIndex},V}(),An=[""];function rr(V){if(V>=An.length)for(var o=1;o<=V;o++)An[o]=Ms(o);return An[V]}function Ms(V){return new Array(V+1).join(" ")}function Ni(V,o){return V===null?o?nr.INSTANCE:ir.INSTANCE:new Yn(V,o)}var Ds=function(){function V(o){this._lines=o}return V.prototype._validPosition=function(o){return this._lines.model.validatePosition(o)},V.prototype._validRange=function(o){return this._lines.model.validateRange(o)},V.prototype.convertViewPositionToModelPosition=function(o){return this._validPosition(o)},V.prototype.convertViewRangeToModelRange=function(o){return this._validRange(o)},V.prototype.validateViewPosition=function(o,t){return this._validPosition(t)},V.prototype.validateViewRange=function(o,t){return this._validRange(t)},V.prototype.convertModelPositionToViewPosition=function(o){return this._validPosition(o)},V.prototype.convertModelRangeToViewRange=function(o){return this._validRange(o)},V.prototype.modelPositionIsVisible=function(o){var t=this._lines.model.getLineCount();return!(o.lineNumber<1||o.lineNumber>t)},V}(),fi=function(){function V(o){this.model=o}return V.prototype.dispose=function(){},V.prototype.createCoordinatesConverter=function(){return new Ds(this)},V.prototype.getHiddenAreas=function(){return[]},V.prototype.setHiddenAreas=function(o){return!1},V.prototype.setTabSize=function(o){return!1},V.prototype.setWrappingSettings=function(o,t,i,g){return!1},V.prototype.createLineBreaksComputer=function(){var o=[];return{addRequest:function(i,g){o.push(null)},finalize:function(){return o}}},V.prototype.onModelFlushed=function(){},V.prototype.onModelLinesDeleted=function(o,t,i){return new fn(t,i)},V.prototype.onModelLinesInserted=function(o,t,i,g){return new Vo(t,i)},V.prototype.onModelLineChanged=function(o,t,i){return[!1,new Qo(t,t),null,null]},V.prototype.acceptVersionId=function(o){},V.prototype.getViewLineCount=function(){return this.model.getLineCount()},V.prototype.getActiveIndentGuide=function(o,t,i){return{startLineNumber:o,endLineNumber:o,indent:0}},V.prototype.getViewLinesIndentGuides=function(o,t){for(var i=t-o+1,g=new Array(i),b=0;b=t){i>Ie&&(b[b.length-1]=i);return}b.push(g,t,i)}else this.result[o]=[g,t,i]},V}(),Os=function(){function V(o,t,i,g,b){this.editorId=o,this.model=t,this.configuration=i,this._linesCollection=g,this._coordinatesConverter=b,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}return V.prototype._clearCachedModelDecorationsResolver=function(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null},V.prototype.dispose=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},V.prototype.reset=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},V.prototype.onModelDecorationsChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},V.prototype.onLineMappingChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},V.prototype._getOrCreateViewModelDecoration=function(o){var t=o.id,i=this._decorationsCache[t];if(!i){var g=o.range,b=o.options,K=void 0;if(b.isWholeLine){var Ie=this._coordinatesConverter.convertModelPositionToViewPosition(new oe.a(g.startLineNumber,1)),Le=this._coordinatesConverter.convertModelPositionToViewPosition(new oe.a(g.endLineNumber,this.model.getLineMaxColumn(g.endLineNumber)));K=new be.a(Ie.lineNumber,Ie.column,Le.lineNumber,Le.column)}else K=this._coordinatesConverter.convertModelRangeToViewRange(g);i=new zn.e(K,b),this._decorationsCache[t]=i}return i},V.prototype.getDecorationsViewportData=function(o){var t=this._cachedModelDecorationsResolver!==null;return t=t&&o.equalsRange(this._cachedModelDecorationsResolverViewRange),t||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(o),this._cachedModelDecorationsResolverViewRange=o),this._cachedModelDecorationsResolver},V.prototype._getDecorationsViewportData=function(o){for(var t=this._linesCollection.getDecorationsInRange(o,this.editorId,Object(he.j)(this.configuration.options)),i=o.startLineNumber,g=o.endLineNumber,b=[],K=0,Ie=[],Le=i;Le<=g;Le++)Ie[Le-i]=[];for(var qe=0,ct=t.length;qe=2&&t.viewportStartLineTrackedRange){var Po=t.model._getTrackedRange(t.viewportStartLineTrackedRange);if(Po){var nn=t.coordinatesConverter.convertModelPositionToViewPosition(Po.getStartPosition()),vn=t.viewLayout.getVerticalOffsetForLineNumber(nn.lineNumber);t.viewLayout.setScrollPositionNow({scrollTop:vn+t.viewportStartLineDelta})}}})),this._register(this.model.onDidChangeTokens(function(i){for(var g=[],b=0,K=i.ranges.length;bqe)continue;Ie0&&wt[Wt-1]===wt[Wt])continue;et+=this.model.getLineContent(wt[Wt])+b}return et}if(K&&i){for(var kt=[],Vt=0,qt=0,$t=t;qt<$t.length;qt++){var io=$t[qt],yo=io.startLineNumber;io.isEmpty()?yo!==Vt&&kt.push(this.model.getLineContent(yo)):kt.push(this.model.getValueInRange(io,g?2:0)),Vt=yo}return kt.length===1?kt[0]:kt}for(var mo=[],bo=0,go=t;bo'+this._getHTMLToCopy(b,Le)+""}},o.prototype._getHTMLToCopy=function(t,i){for(var g=t.startLineNumber,b=t.startColumn,K=t.endLineNumber,Ie=t.endColumn,Le=this.getTabSize(),qe="",ct=g;ct<=K;ct++){var wt=this.model.getLineTokens(ct),et=wt.getLineContent(),Wt=ct===g?b-1:0,kt=ct===K?Ie-1:et.length;et===""?qe+="
":qe+=Object(Ai.a)(et,wt.inflate(),i,Wt,kt,Le,_.h)}return qe},o.prototype._getColorMap=function(){var t=$o.B.getColorMap(),i=["#000000"];if(t)for(var g=1,b=t.length;g=0&&t<256?this._asciiMap[t]:t>=12352&&t<=12543||t>=13312&&t<=19903||t>=19968&&t<=40959?3:this._map.get(t)||this._defaultValue},o}(Rs.a),ji=[],lr=[],Ns=function(){function V(o,t){this.classifier=new Is(o,t)}return V.create=function(o){return new V(o.get(99),o.get(98))},V.prototype.createLineBreaksComputer=function(o,t,i,g){var b=this;t=t|0,i=+i;var K=[],Ie=[];return{addRequest:function(qe,ct){K.push(qe),Ie.push(ct)},finalize:function(){for(var qe=o.typicalFullwidthCharacterWidth/o.typicalHalfwidthCharacterWidth,ct=[],wt=0,et=K.length;wt=0)for(var io=Math.abs(qe[$t]-Vt);$t+1=io)break;io=yo,$t++}for(;$tVt){No=Nn,Fo=Xo-Fn,Xo-Lo>wt&&(go=0),vn=!1;break}Po=hn,nn=Wn}if(vn){kt>0&&(et[kt]=Le[Le.length-1],Wt[kt]=qe[Le.length-1],kt++);break}}if(go===0){for(var Xo=bo,hn=t.charCodeAt(mo),Wn=V.get(hn),Hi=!1,cn=mo-1;cn>=0;cn--){var Nn=cn+1,Po=t.charCodeAt(cn);if(Po===9){Hi=!0;break}var nn=void 0,fr=void 0;if(fe.A(Po)?(cn--,nn=0,fr=2):(nn=V.get(Po),fr=fe.y(Po)?b:1),Xo<=Vt){if(No===0&&(No=Nn,Fo=Xo),Xo<=Vt-wt)break;if(cr(Po,nn,hn,Wn)){go=Nn,Lo=Xo;break}}Xo-=fr,hn=Po,Wn=nn}if(go!==0){var Ur=wt-(Fo-Lo);if(Ur<=i){var Zn=t.charCodeAt(No),Fn=void 0;fe.z(Zn)?Fn=2:Fn=Pi(Zn,Fo,i,b),Ur-Fn<0&&(go=0)}}if(Hi){$t--;continue}}for(go===0&&(go=No,Lo=Fo),et[kt]=go,Wt[kt]=Lo,kt++,Vt=Lo+wt;$t<0||$t=io)break;io=yo,$t++}}return kt===0?null:(et.length=kt,Wt.length=kt,ji=o.breakOffsets,lr=o.breakOffsetsVisibleColumn,o.breakOffsets=et,o.breakOffsetsVisibleColumn=Wt,o.wrappedTextIndentLength=ct,o)}function Ps(V,o,t,i,g,b){if(i===-1)return null;var K=o.length;if(K<=1)return null;var Ie=ki(o,t,i,g,b),Le=i-Ie,qe=[],ct=[],wt=0,et=0,Wt=0,kt=i,Vt=o.charCodeAt(0),qt=V.get(Vt),$t=Pi(Vt,0,t,g),io=1;fe.z(Vt)&&($t+=1,Vt=o.charCodeAt(1),qt=V.get(Vt),io++);for(var yo=io;yokt&&((et===0||$t-Wt>Le)&&(et=mo,Wt=$t-Lo),qe[wt]=et,ct[wt]=Wt,wt++,kt=Wt+Le,et=0),Vt=bo,qt=go}return wt===0?null:(qe[wt]=K,ct[wt]=$t,new qn(qe,ct,Ie))}function Pi(V,o,t,i){return V===9?t-o%t:fe.y(V)?i:1}function dr(V,o){return o-V%o}function cr(V,o,t,i){return t!==32&&(o===2||o===3&&i!==2||i===1||i===3&&o!==1)}function ki(V,o,t,i,g){var b=0;if(g!==0){var K=fe.q(V);if(K!==-1){for(var Ie=0;Iet&&(b=0)}}return b}var Pr=function(){function V(){}return V.create=function(){return new V},V.prototype.createLineBreaksComputer=function(o,t,i,g){t=t|0,i=+i;var b=[];return{addRequest:function(Ie,Le){b.push(Ie)},finalize:function(){return Fi(b,o,t,i,g)}}},V}();function Fi(V,o,t,i,g){if(i===-1){for(var b=[],K=0,Ie=V.length;KLe?($t=0,io=0):yo=Le-go}var Lo=qt.substr($t),No=kr(Lo,io,t,yo,ct);wt[K]=$t,et[K]=io,Wt[K]=Lo,kt[K]=No[0],Vt[K]=No[1]}qe.innerHTML=ct.build(),qe.style.position="absolute",qe.style.top="10000",qe.style.wordWrap="break-word",document.body.appendChild(qe);for(var Fo=document.createRange(),Xo=Array.prototype.slice.call(qe.children,0),Po=[],K=0;K');for(var b=V.length,K=o,Ie=0,Le=[],qe=[],ct=0"),[Le,qe]}function Fr(V,o,t,i){if(t.length<=1)return null;var g=o.firstChild,b=[];return pi(V,g,i,0,null,t.length-1,null,b),b.length===0?null:(b.push(t.length),b)}function pi(V,o,t,i,g,b,K,Ie){if(i===b)return;if(g=g||ur(V,o,t[i],t[i+1]),K=K||ur(V,o,t[b],t[b+1]),Math.abs(g[0].top-K[0].top)<=.1)return;if(i+1===b){Ie.push(b);return}var Le=i+(b-i)/2|0,qe=ur(V,o,t[Le],t[Le+1]);pi(V,o,t,i,g,Le,qe,Ie),pi(V,o,t,Le,qe,b,K,Ie)}function ur(V,o,t,i){return V.setStart(o,t),V.setEnd(o,i),V.getClientRects()}var Li=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Wr=function(V,o,t,i){var g=arguments.length,b=g<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,t):i,K;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(V,o,t,i);else for(var Ie=V.length-1;Ie>=0;Ie--)(K=V[Ie])&&(b=(g<3?K(b):g>3?K(o,t,b):K(o,t))||b);return g>3&&b&&Object.defineProperty(o,t,b),b},ri=function(V,o){return function(t,i){o(t,i,V)}},gi=0,hr=function(){function V(o,t,i,g,b,K){this.model=o,this.viewModel=t,this.cursor=i,this.view=g,this.hasRealView=b,this.listenersToRemove=K}return V.prototype.dispose=function(){Object(z.f)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.cursor.dispose(),this.viewModel.dispose()},V}(),ks=function(V){Li(o,V);function o(t,i,g,b,K,Ie,Le,qe,ct,wt){var et=V.call(this)||this;et._onDidDispose=et._register(new U.a),et.onDidDispose=et._onDidDispose.event,et._onDidChangeModelContent=et._register(new U.a),et.onDidChangeModelContent=et._onDidChangeModelContent.event,et._onDidChangeModelLanguage=et._register(new U.a),et.onDidChangeModelLanguage=et._onDidChangeModelLanguage.event,et._onDidChangeModelLanguageConfiguration=et._register(new U.a),et.onDidChangeModelLanguageConfiguration=et._onDidChangeModelLanguageConfiguration.event,et._onDidChangeModelOptions=et._register(new U.a),et.onDidChangeModelOptions=et._onDidChangeModelOptions.event,et._onDidChangeModelDecorations=et._register(new U.a),et.onDidChangeModelDecorations=et._onDidChangeModelDecorations.event,et._onDidChangeConfiguration=et._register(new U.a),et.onDidChangeConfiguration=et._onDidChangeConfiguration.event,et._onDidChangeModel=et._register(new U.a),et.onDidChangeModel=et._onDidChangeModel.event,et._onDidChangeCursorPosition=et._register(new U.a),et.onDidChangeCursorPosition=et._onDidChangeCursorPosition.event,et._onDidChangeCursorSelection=et._register(new U.a),et.onDidChangeCursorSelection=et._onDidChangeCursorSelection.event,et._onDidAttemptReadOnlyEdit=et._register(new U.a),et.onDidAttemptReadOnlyEdit=et._onDidAttemptReadOnlyEdit.event,et._onDidLayoutChange=et._register(new U.a),et.onDidLayoutChange=et._onDidLayoutChange.event,et._editorTextFocus=et._register(new ei),et.onDidFocusEditorText=et._editorTextFocus.onDidChangeToTrue,et.onDidBlurEditorText=et._editorTextFocus.onDidChangeToFalse,et._editorWidgetFocus=et._register(new ei),et.onDidFocusEditorWidget=et._editorWidgetFocus.onDidChangeToTrue,et.onDidBlurEditorWidget=et._editorWidgetFocus.onDidChangeToFalse,et._onWillType=et._register(new U.a),et.onWillType=et._onWillType.event,et._onDidType=et._register(new U.a),et.onDidType=et._onDidType.event,et._onDidCompositionStart=et._register(new U.a),et.onDidCompositionStart=et._onDidCompositionStart.event,et._onDidCompositionEnd=et._register(new U.a),et.onDidCompositionEnd=et._onDidCompositionEnd.event,et._onDidPaste=et._register(new U.a),et.onDidPaste=et._onDidPaste.event,et._onMouseUp=et._register(new U.a),et.onMouseUp=et._onMouseUp.event,et._onMouseDown=et._register(new U.a),et.onMouseDown=et._onMouseDown.event,et._onMouseDrag=et._register(new U.a),et.onMouseDrag=et._onMouseDrag.event,et._onMouseDrop=et._register(new U.a),et.onMouseDrop=et._onMouseDrop.event,et._onContextMenu=et._register(new U.a),et.onContextMenu=et._onContextMenu.event,et._onMouseMove=et._register(new U.a),et.onMouseMove=et._onMouseMove.event,et._onMouseLeave=et._register(new U.a),et.onMouseLeave=et._onMouseLeave.event,et._onMouseWheel=et._register(new U.a),et.onMouseWheel=et._onMouseWheel.event,et._onKeyUp=et._register(new U.a),et.onKeyUp=et._onKeyUp.event,et._onKeyDown=et._register(new U.a),et.onKeyDown=et._onKeyDown.event,et._onDidContentSizeChange=et._register(new U.a),et.onDidContentSizeChange=et._onDidContentSizeChange.event,et._onDidScrollChange=et._register(new U.a),et.onDidScrollChange=et._onDidScrollChange.event,et._onDidChangeViewZones=et._register(new U.a),et.onDidChangeViewZones=et._onDidChangeViewZones.event,et._domElement=t,et._id=++gi,et._decorationTypeKeysToIds={},et._decorationTypeSubtypes={},et.isSimpleWidget=g.isSimpleWidget||!1,et._telemetryData=g.telemetryData,i=i||{},et._configuration=et._register(et._createConfiguration(i,wt)),et._register(et._configuration.onDidChange(function(io){et._onDidChangeConfiguration.fire(io);var yo=et._configuration.options;if(io.hasChanged(107)){var mo=yo.get(107);et._onDidLayoutChange.fire(mo)}})),et._contextKeyService=et._register(Le.createScoped(et._domElement)),et._notificationService=ct,et._codeEditorService=K,et._commandService=Ie,et._themeService=qe,et._register(new Fs(et,et._contextKeyService)),et._register(new Ws(et,et._contextKeyService)),et._instantiationService=b.createChild(new sr.a([mi.c,et._contextKeyService])),et._modelData=null,et._contributions={},et._actions={},et._focusTracker=new Br(t),et._focusTracker.onChange(function(){et._editorWidgetFocus.setValue(et._focusTracker.hasFocus())}),et._contentWidgets={},et._overlayWidgets={};var Wt;Array.isArray(g.contributions)?Wt=g.contributions:Wt=x.d.getEditorContributions();for(var kt=0,Vt=Wt;kt1?T.a("problems","{0} of {1} problems",F,se):T.a("change","{0} of {1} problem",F,se);this.setTitle(Object(s.b)(Se.uri),Ve)}this._icon.className="codicon "+d.className(H.c.toSeverity(this._severity)),this.editor.revealPositionInCenter(De,0),this.editor.focus()},Q.prototype.updateMarker=function(C){this._container.classList.remove("stale"),this._message.update(C)},Q.prototype.showStale=function(){this._container.classList.add("stale"),this._relayout()},Q.prototype._doLayoutBody=function(C,F){ve.prototype._doLayoutBody.call(this,C,F),this._heightInPixel=C,this._message.layout(C,F),this._container.style.height=C+"px"},Q.prototype._onWidth=function(C){this._message.layout(this._heightInPixel,C)},Q.prototype._relayout=function(){ve.prototype._relayout.call(this,this.computeRequiredHeight())},Q.prototype.computeRequiredHeight=function(){return 3+this._message.getHeightInLines()},Q}(c.c),A=Object(_.Kb)(_.q,_.p),k=Object(_.Kb)(_.P,_.O),R=Object(_.Kb)(_.H,_.G),$=Object(_.Tb)("editorMarkerNavigationError.background",{dark:A,light:A,hc:A},T.a("editorMarkerNavigationError","Editor marker navigation widget error color.")),ie=Object(_.Tb)("editorMarkerNavigationWarning.background",{dark:k,light:k,hc:k},T.a("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),W=Object(_.Tb)("editorMarkerNavigationInfo.background",{dark:R,light:R,hc:R},T.a("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),B=Object(_.Tb)("editorMarkerNavigation.background",{dark:"#2D2D30",light:f.a.white,hc:"#0C141F"},T.a("editorMarkerNavigationBackground","Editor marker navigation widget background."));Object(U.e)(function(ve,Q){var C=ve.getColor(_.ec);C&&(Q.addRule(".monaco-editor .marker-widget a { color: "+C+"; }"),Q.addRule(".monaco-editor .marker-widget a.code-link span:hover { color: "+C+"; }"))});var le=e("N0LK"),Ce=e("Vxe3"),Me=e("/cxE"),Te=e("fjLI"),Fe=e("8HAY"),He=e("bexQ"),Pe=e("W9cx"),ne=function(){var ve=function(C,F){return ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,oe){se.__proto__=oe}||function(se,oe){for(var be in oe)oe.hasOwnProperty(be)&&(se[be]=oe[be])},ve(C,F)};return function(Q,C){ve(Q,C);function F(){this.constructor=Q}Q.prototype=C===null?Object.create(C):(F.prototype=C.prototype,new F)}}(),ee=function(ve,Q,C,F){var se=arguments.length,oe=se<3?Q:F===null?F=Object.getOwnPropertyDescriptor(Q,C):F,be;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(ve,Q,C,F);else for(var De=ve.length-1;De>=0;De--)(be=ve[De])&&(oe=(se<3?be(oe):se>3?be(Q,C,oe):be(Q,C))||oe);return se>3&&oe&&Object.defineProperty(Q,C,oe),oe},ae=function(ve,Q){return function(C,F){Q(C,F,ve)}},q=function(ve,Q,C,F){function se(oe){return oe instanceof C?oe:new C(function(be){be(oe)})}return new(C||(C=Promise))(function(oe,be){function De(Qe){try{Ve(F.next(Qe))}catch(it){be(it)}}function Se(Qe){try{Ve(F.throw(Qe))}catch(it){be(it)}}function Ve(Qe){Qe.done?oe(Qe.value):se(Qe.value).then(De,Se)}Ve((F=F.apply(ve,Q||[])).next())})},ue=function(ve,Q){var C={label:0,sent:function(){if(oe[0]&1)throw oe[1];return oe[1]},trys:[],ops:[]},F,se,oe,be;return be={next:De(0),throw:De(1),return:De(2)},typeof Symbol=="function"&&(be[Symbol.iterator]=function(){return this}),be;function De(Ve){return function(Qe){return Se([Ve,Qe])}}function Se(Ve){if(F)throw new TypeError("Generator is already executing.");for(;C;)try{if(F=1,se&&(oe=Ve[0]&2?se.return:Ve[0]?se.throw||((oe=se.return)&&oe.call(se),0):se.next)&&!(oe=oe.call(se,Ve[1])).done)return oe;(se=0,oe)&&(Ve=[Ve[0]&2,oe.value]);switch(Ve[0]){case 0:case 1:oe=Ve;break;case 4:return C.label++,{value:Ve[1],done:!1};case 5:C.label++,se=Ve[1],Ve=[0];continue;case 7:Ve=C.ops.pop(),C.trys.pop();continue;default:if(!(oe=C.trys,oe=oe.length>0&&oe[oe.length-1])&&(Ve[0]===6||Ve[0]===2)){C=0;continue}if(Ve[0]===3&&(!oe||Ve[1]>oe[0]&&Ve[1]=0?this._markers[this._nextIdx]:void 0;this._markers=Q||[],this._markers.sort(je.compareMarker),C?this._nextIdx=Math.max(-1,Object(p.c)(this._markers,C,je.compareMarker)):this._nextIdx=-1,this._onMarkerSetChanged.fire(this)},ve.prototype.withoutWatchingEditorPosition=function(Q){this._ignoreSelectionChange=!0;try{Q()}finally{this._ignoreSelectionChange=!1}},ve.prototype._initIdx=function(Q){for(var C=!1,F=this._editor.getPosition(),se=0;se0?this._nextIdx=(this._nextIdx-1+this._markers.length)%this._markers.length:se=!0),F!==this._nextIdx){var oe=this._markers[this._nextIdx];this._onCurrentMarkerChanged.fire(oe)}return se},ve.prototype.canNavigate=function(){return this._markers.length>0},ve.prototype.findMarkerAtPosition=function(Q){return Object(p.h)(this._markers,function(C){return z.a.containsPosition(C,Q)})},Object.defineProperty(ve.prototype,"total",{get:function(){return this._markers.length},enumerable:!0,configurable:!0}),ve.prototype.indexOf=function(Q){return 1+this._markers.indexOf(Q)},ve.prototype.dispose=function(){this._toUnbind.dispose()},ve}(),he=function(){function ve(Q,C,F,se,oe,be,De){this._markerService=C,this._contextKeyService=F,this._themeService=se,this._editorService=oe,this._keybindingService=be,this._openerService=De,this._model=null,this._widget=null,this._disposeOnClose=new J.b,this._editor=Q,this._widgetVisible=Re.bindTo(this._contextKeyService)}return ve.get=function(Q){return Q.getContribution(ve.ID)},ve.prototype.dispose=function(){this._cleanUp(),this._disposeOnClose.dispose()},ve.prototype._cleanUp=function(){this._widgetVisible.reset(),this._disposeOnClose.clear(),this._widget=null,this._model=null},ve.prototype.getOrCreateModel=function(){var Q=this;if(this._model)return this._model;var C=this._getMarkers();this._model=new X(this._editor,C),this._markerService.onMarkerChanged(this._onMarkerChanged,this,this._disposeOnClose);var F=this._keybindingService.lookupKeybinding(me.ID),se=this._keybindingService.lookupKeybinding(Xe.ID),oe=[new Fe.a(Xe.ID,Xe.LABEL+(se?" ("+se.getLabel()+")":""),"show-next-problem codicon-chevron-down",this._model.canNavigate(),function(){return q(Q,void 0,void 0,function(){return ue(this,function(Ve){return this._model&&this._model.move(!0,!0),[2]})})}),new Fe.a(me.ID,me.LABEL+(F?" ("+F.getLabel()+")":""),"show-previous-problem codicon-chevron-up",this._model.canNavigate(),function(){return q(Q,void 0,void 0,function(){return ue(this,function(Ve){return this._model&&this._model.move(!1,!0),[2]})})})];this._widget=new L(this._editor,oe,this._themeService,this._openerService),this._widgetVisible.set(!0),this._widget.onDidClose(function(){return Q.closeMarkersNavigation()},this,this._disposeOnClose),this._disposeOnClose.add(this._model),this._disposeOnClose.add(this._widget);for(var be=0,De=oe;beA)return!1;for(var k=0;k=65&&R<=90&&R+32===$)continue;if($>=65&&$<=90&&$+32===R)continue;return!1}return!0},l.prototype._createOperationsForBlockComment=function(d,m,E,L,A,k){var R=d.startLineNumber,$=d.startColumn,ie=d.endLineNumber,W=d.endColumn,B=A.getLineContent(R),le=A.getLineContent(ie),Ce=B.lastIndexOf(m,$-1+m.length),Me=le.indexOf(E,W-1-E.length);if(Ce!==-1&&Me!==-1)if(R===ie){var Te=B.substring(Ce+m.length,Me);Te.indexOf(E)>=0&&(Ce=-1,Me=-1)}else{var Fe=B.substring(Ce+m.length),He=le.substring(0,Me);(Fe.indexOf(E)>=0||He.indexOf(E)>=0)&&(Ce=-1,Me=-1)}var Pe;Ce!==-1&&Me!==-1?(L&&Ce+m.length0&&le.charCodeAt(Me-1)===32&&(E=" "+E,Me-=1),Pe=l._createRemoveBlockCommentOperations(new O.a(R,Ce+m.length+1,ie,Me+1),m,E)):(Pe=l._createAddBlockCommentOperations(d,m,E,this._insertSpace),this._usedEndToken=Pe.length===1?E:null);for(var ne=0,ee=Pe;neA?m[$].commentStrOffset=k-1:m[$].commentStrOffset=k}},l}(),f=function(){var l=function(m,E){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,A){L.__proto__=A}||function(L,A){for(var k in A)A.hasOwnProperty(k)&&(L[k]=A[k])},l(m,E)};return function(d,m){l(d,m);function E(){this.constructor=d}d.prototype=m===null?Object.create(m):(E.prototype=m.prototype,new E)}}(),v=function(l){f(d,l);function d(m,E){var L=l.call(this,E)||this;return L._type=m,L}return d.prototype.run=function(m,E){if(!E.hasModel())return;for(var L=E.getModel(),A=[],k=E.getSelections(),R=L.getOptions(),$=E.getOption(13),ie=0,W=k;ie=qe?b=Math.max(b,qe+ct-g):(t[i++]=new He(g,b),g=qe,b=ct)}return t[i++]=new He(g,b),t},V._createHorizontalRangesFromClientRects=function(o,t){if(!o||o.length===0)return null;for(var i=[],g=0,b=o.length;gqe)return null;t=Math.min(qe,Math.max(Le,t)),g=Math.min(qe,Math.max(Le,g)),t!==g&&(g>0&&b===0&&(g--,b=1073741824));var ct=o.children[t].firstChild,wt=o.children[g].firstChild;if((!ct||!wt)&&(!ct&&i===0&&t>0&&(ct=o.children[t-1].firstChild,i=1073741824),!wt&&b===0&&g>0&&(wt=o.children[g-1].firstChild,b=1073741824)),!ct||!wt)return null;i=Math.min(ct.textContent.length,Math.max(0,i)),b=Math.min(wt.textContent.length,Math.max(0,b));var et=this._readClientRects(ct,i,wt,b,Ie);return this._createHorizontalRangesFromClientRects(et,K)},V}(),q=e("dBaI"),ue=e("baJR"),X=e("t9D7"),he=e("/UlZ"),je=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Xe=function(){return _.f?!0:!(_.d||v.h||v.k)}(),me=v.f,ge=function(){function V(o,t){this._domNode=o,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=t}return Object.defineProperty(V.prototype,"clientRectDeltaLeft",{get:function(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft},enumerable:!0,configurable:!0}),V}(),we=function(){function V(o,t){this.themeType=t;var i=o.options,g=i.get(34);this.renderWhitespace=i.get(74),this.renderControlCharacters=i.get(69),this.spaceWidth=g.spaceWidth,this.middotWidth=g.middotWidth,this.useMonospaceOptimizations=g.isMonospace&&!i.get(23),this.canUseHalfwidthRightwardsArrow=g.canUseHalfwidthRightwardsArrow,this.lineHeight=i.get(49),this.stopRenderingLineAfter=i.get(88),this.fontLigatures=i.get(35)}return V.prototype.equals=function(o){return this.themeType===o.themeType&&this.renderWhitespace===o.renderWhitespace&&this.renderControlCharacters===o.renderControlCharacters&&this.spaceWidth===o.spaceWidth&&this.middotWidth===o.middotWidth&&this.useMonospaceOptimizations===o.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===o.canUseHalfwidthRightwardsArrow&&this.lineHeight===o.lineHeight&&this.stopRenderingLineAfter===o.stopRenderingLineAfter&&this.fontLigatures===o.fontLigatures},V}(),Re=function(){function V(o){this._options=o,this._isMaybeInvalid=!0,this._renderedViewLine=null}return V.prototype.getDomNode=function(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null},V.prototype.setDomNode=function(o){if(this._renderedViewLine)this._renderedViewLine.domNode=Object(y.b)(o);else throw new Error("I have no rendered view line to set the dom node to...")},V.prototype.onContentChanged=function(){this._isMaybeInvalid=!0},V.prototype.onTokensChanged=function(){this._isMaybeInvalid=!0},V.prototype.onDecorationsChanged=function(){this._isMaybeInvalid=!0},V.prototype.onOptionsChanged=function(o){this._isMaybeInvalid=!0,this._options=o},V.prototype.onSelectionChanged=function(){return me||this._options.themeType===X.b||this._options.renderWhitespace==="selection"?(this._isMaybeInvalid=!0,!0):!1},V.prototype.renderLine=function(o,t,i,g){if(this._isMaybeInvalid===!1)return!1;this._isMaybeInvalid=!1;var b=i.getViewLineRenderingData(o),K=this._options,Ie=q.a.filter(b.inlineDecorations,o,b.minColumn,b.maxColumn),Le=null;if(me||K.themeType===X.b||this._options.renderWhitespace==="selection")for(var qe=i.selections,ct=0,wt=qe;cto)continue;var Wt=et.startLineNumber===o?et.startColumn:b.minColumn,kt=et.endLineNumber===o?et.endColumn:b.maxColumn;Wt');var qt=Object(ue.d)(Vt,g);g.appendASCIIString("");var $t=null;return Xe&&b.isBasicASCII&&K.useMonospaceOptimizations&&qt.containsForeignElements===0&&(b.content.length<300&&Vt.lineTokens.getCount()<100&&($t=new Ee(this._renderedViewLine?this._renderedViewLine.domNode:null,Vt,qt.characterMapping))),$t||($t=C(this._renderedViewLine?this._renderedViewLine.domNode:null,Vt,qt.characterMapping,qt.containsRTL,qt.containsForeignElements)),this._renderedViewLine=$t,!0},V.prototype.layoutLine=function(o,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))},V.prototype.getWidth=function(){return this._renderedViewLine?this._renderedViewLine.getWidth():0},V.prototype.getWidthIsFast=function(){return this._renderedViewLine?this._renderedViewLine.getWidthIsFast():!0},V.prototype.getVisibleRangesForRange=function(o,t,i){if(!this._renderedViewLine)return null;o=o|0,t=t|0,o=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,o)),t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t));var g=this._renderedViewLine.input.stopRenderingLineAfter|0,b=!1;g!==-1&&o>g+1&&t>g+1&&(b=!0),g!==-1&&o>g+1&&(o=g+1),g!==-1&&t>g+1&&(t=g+1);var K=this._renderedViewLine.getVisibleRangesForRange(o,t,i);return K&&K.length>0?new ne(b,K):null},V.prototype.getColumnOfNodeOffset=function(o,t,i){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(o,t,i):1},V.CLASS_NAME="view-line",V}(),Ee=function(){function V(o,t,i){this.domNode=o,this.input=t,this._characterMapping=i,this._charWidth=t.spaceWidth}return V.prototype.getWidth=function(){return this._getCharPosition(this._characterMapping.length)},V.prototype.getWidthIsFast=function(){return!0},V.prototype.getVisibleRangesForRange=function(o,t,i){var g=this._getCharPosition(o),b=this._getCharPosition(t);return[new He(g,b-g)]},V.prototype._getCharPosition=function(o){var t=this._characterMapping.getAbsoluteOffsets();return t.length===0?0:Math.round(this._charWidth*t[o-1])},V.prototype.getColumnOfNodeOffset=function(o,t,i){for(var g=t.textContent.length,b=-1;t;)t=t.previousSibling,b++;var K=this._characterMapping.partDataToCharOffset(b,g,i);return K+1},V}(),ve=function(){function V(o,t,i,g,b){if(this.domNode=o,this.input=t,this._characterMapping=i,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=b,this._cachedWidth=-1,this._pixelOffsetCache=null,!g||this._characterMapping.length===0){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(var K=0,Ie=this._characterMapping.length;K<=Ie;K++)this._pixelOffsetCache[K]=-1}}return V.prototype._getReadingTarget=function(o){return o.domNode.firstChild},V.prototype.getWidth=function(){return this.domNode?(this._cachedWidth===-1&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0},V.prototype.getWidthIsFast=function(){return!(this._cachedWidth===-1)},V.prototype.getVisibleRangesForRange=function(o,t,i){if(!this.domNode)return null;if(this._pixelOffsetCache!==null){var g=this._readPixelOffset(this.domNode,o,i);if(g===-1)return null;var b=this._readPixelOffset(this.domNode,t,i);return b===-1?null:[new He(g,b-g)]}return this._readVisibleRangesForRange(this.domNode,o,t,i)},V.prototype._readVisibleRangesForRange=function(o,t,i,g){if(t===i){var b=this._readPixelOffset(o,t,g);return b===-1?null:[new He(b,0)]}else return this._readRawVisibleRangesForRange(o,t,i,g)},V.prototype._readPixelOffset=function(o,t,i){if(this._characterMapping.length===0){if(this._containsForeignElements===0)return 0;if(this._containsForeignElements===2)return 0;if(this._containsForeignElements===1)return this.getWidth();var g=this._getReadingTarget(o);return g.firstChild?g.firstChild.offsetWidth:0}if(this._pixelOffsetCache!==null){var b=this._pixelOffsetCache[t];if(b!==-1)return b;var K=this._actualReadPixelOffset(o,t,i);return this._pixelOffsetCache[t]=K,K}return this._actualReadPixelOffset(o,t,i)},V.prototype._actualReadPixelOffset=function(o,t,i){if(this._characterMapping.length===0){var g=ae.readHorizontalRanges(this._getReadingTarget(o),0,0,0,0,i.clientRectDeltaLeft,i.endNode);return!g||g.length===0?-1:g[0].left}if(t===this._characterMapping.length&&this._isWhitespaceOnly&&this._containsForeignElements===0)return this.getWidth();var b=this._characterMapping.charOffsetToPartData(t-1),K=ue.a.getPartIndex(b),Ie=ue.a.getCharIndex(b),Le=ae.readHorizontalRanges(this._getReadingTarget(o),K,Ie,K,Ie,i.clientRectDeltaLeft,i.endNode);return!Le||Le.length===0?-1:Le[0].left},V.prototype._readRawVisibleRangesForRange=function(o,t,i,g){if(t===1&&i===this._characterMapping.length)return[new He(0,this.getWidth())];var b=this._characterMapping.charOffsetToPartData(t-1),K=ue.a.getPartIndex(b),Ie=ue.a.getCharIndex(b),Le=this._characterMapping.charOffsetToPartData(i-1),qe=ue.a.getPartIndex(Le),ct=ue.a.getCharIndex(Le);return ae.readHorizontalRanges(this._getReadingTarget(o),K,Ie,qe,ct,g.clientRectDeltaLeft,g.endNode)},V.prototype.getColumnOfNodeOffset=function(o,t,i){for(var g=t.textContent.length,b=-1;t;)t=t.previousSibling,b++;var K=this._characterMapping.partDataToCharOffset(b,g,i);return K+1},V}(),Q=function(V){je(o,V);function o(){return V!==null&&V.apply(this,arguments)||this}return o.prototype._readVisibleRangesForRange=function(t,i,g,b){var K=V.prototype._readVisibleRangesForRange.call(this,t,i,g,b);if(!K||K.length===0||i===g||i===1&&g===this._characterMapping.length)return K;if(!this.input.containsRTL){var Ie=this._readPixelOffset(t,g,b);if(Ie!==-1){var Le=K[K.length-1];Le.left=4&&o[0]===3&&o[3]===7},V.isStrictChildOfViewLines=function(o){return o.length>4&&o[0]===3&&o[3]===7},V.isChildOfScrollableElement=function(o){return o.length>=2&&o[0]===3&&o[1]===5},V.isChildOfMinimap=function(o){return o.length>=2&&o[0]===3&&o[1]===8},V.isChildOfContentWidgets=function(o){return o.length>=4&&o[0]===3&&o[3]===1},V.isChildOfOverflowingContentWidgets=function(o){return o.length>=1&&o[0]===2},V.isChildOfOverlayWidgets=function(o){return o.length>=2&&o[0]===3&&o[1]===4},V}(),pt=function(){function V(o,t,i){this.model=o.model;var g=o.configuration.options;this.layoutInfo=g.get(107),this.viewDomNode=t.viewDomNode,this.lineHeight=g.get(49),this.typicalHalfwidthCharacterWidth=g.get(34).typicalHalfwidthCharacterWidth,this.lastRenderData=i,this._context=o,this._viewHelper=t}return V.prototype.getZoneAtCoord=function(o){return V.getZoneAtCoord(this._context,o)},V.getZoneAtCoord=function(o,t){var i=o.viewLayout.getWhitespaceAtVerticalOffset(t);if(i){var g=i.verticalOffset+i.height/2,b=o.model.getLineCount(),K=null,Ie=void 0,Le=null;return i.afterLineNumber!==b&&(Le=new oe.a(i.afterLineNumber+1,1)),i.afterLineNumber>0&&(K=new oe.a(i.afterLineNumber,o.model.getLineMaxColumn(i.afterLineNumber))),Le===null?Ie=K:K===null?Ie=Le:t=o.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,ao._getMouseColumn(this.mouseContentHorizontalOffset,o.typicalHalfwidthCharacterWidth))}return V}(),Mt=function(V){Se(o,V);function o(t,i,g,b){var K=V.call(this,t,i,g)||this;return K._ctx=t,b?(K.target=b,K.targetPath=le.collect(b,t.viewDomNode)):(K.target=null,K.targetPath=new Uint8Array(0)),K}return o.prototype.toString=function(){return"pos("+this.pos.x+","+this.pos.y+"), editorPos("+this.editorPos.x+","+this.editorPos.y+"), mouseVerticalOffset: "+this.mouseVerticalOffset+", mouseContentHorizontalOffset: "+this.mouseContentHorizontalOffset+` + target: `+(this.target?this.target.outerHTML:null)},o.prototype.fulfill=function(t,i,g,b){i===void 0&&(i=null),g===void 0&&(g=null),b===void 0&&(b=null);var K=this.mouseColumn;return i&&i.columnK.contentLeft+K.width)continue;var wt=o.getVerticalOffsetForLineNumber(K.position.lineNumber);if(wt<=Le&&Le<=wt+K.height)return t.fulfill(6,K.position)}return null},V._hitTestViewZone=function(o,t){var i=o.getZoneAtCoord(t.mouseVerticalOffset);if(i){var g=t.isInContentArea?8:5;return t.fulfill(g,i.position,null,i)}return null},V._hitTestTextArea=function(o,t){return it.isTextArea(t.targetPath)?o.lastRenderData.lastTextareaPosition?t.fulfill(6,o.lastRenderData.lastTextareaPosition):t.fulfill(1,o.lastRenderData.lastTextareaPosition):null},V._hitTestMargin=function(o,t){if(t.isInMarginArea){var i=o.getFullLineRangeAtCoord(t.mouseVerticalOffset),g=i.range.getStartPosition(),b=Math.abs(t.pos.x-t.editorPos.x),K={isAfterLines:i.isAfterLines,glyphMarginLeft:o.layoutInfo.glyphMarginLeft,glyphMarginWidth:o.layoutInfo.glyphMarginWidth,lineNumbersWidth:o.layoutInfo.lineNumbersWidth,offsetX:b};return b-=o.layoutInfo.glyphMarginLeft,b<=o.layoutInfo.glyphMarginWidth?t.fulfill(2,g,i.range,K):(b-=o.layoutInfo.glyphMarginWidth,b<=o.layoutInfo.lineNumbersWidth?t.fulfill(3,g,i.range,K):(b-=o.layoutInfo.lineNumbersWidth,t.fulfill(4,g,i.range,K)))}return null},V._hitTestViewLines=function(o,t,i){if(!it.isChildOfViewLines(t.targetPath))return null;if(o.isAfterLines(t.mouseVerticalOffset)){var g=o.model.getLineCount(),b=o.model.getLineMaxColumn(g);return t.fulfill(7,new oe.a(g,b),void 0,zt)}if(i){if(it.isStrictChildOfViewLines(t.targetPath)){var K=o.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(o.model.getLineLength(K)===0){var Ie=o.getLineWidth(K),Le=uo(t.mouseContentHorizontalOffset-Ie);return t.fulfill(7,new oe.a(K,1),void 0,Le)}var qe=o.getLineWidth(K);if(t.mouseContentHorizontalOffset>=qe){var Le=uo(t.mouseContentHorizontalOffset-qe),ct=new oe.a(K,o.model.getLineMaxColumn(K));return t.fulfill(7,ct,void 0,Le)}}return t.fulfill(0)}var wt=V._doHitTest(o,t);return wt.position?V.createMouseTargetFromHitTestPosition(o,t,wt.position.lineNumber,wt.position.column):this._createMouseTarget(o,t.withTarget(wt.hitTarget),!0)},V._hitTestMinimap=function(o,t){if(it.isChildOfMinimap(t.targetPath)){var i=o.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),g=o.model.getLineMaxColumn(i);return t.fulfill(11,new oe.a(i,g))}return null},V._hitTestScrollbarSlider=function(o,t){if(it.isChildOfScrollableElement(t.targetPath)&&(t.target&&t.target.nodeType===1)){var i=t.target.className;if(i&&/\b(slider|scrollbar)\b/.test(i)){var g=o.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),b=o.model.getLineMaxColumn(g);return t.fulfill(11,new oe.a(g,b))}}return null},V._hitTestScrollbar=function(o,t){if(it.isChildOfScrollableElement(t.targetPath)){var i=o.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),g=o.model.getLineMaxColumn(i);return t.fulfill(11,new oe.a(i,g))}return null},V.prototype.getMouseColumn=function(o,t){var i=this._context.configuration.options,g=i.get(107),b=this._context.viewLayout.getCurrentScrollLeft()+t.x-o.x-g.contentLeft;return V._getMouseColumn(b,i.get(34).typicalHalfwidthCharacterWidth)},V._getMouseColumn=function(o,t){if(o<0)return 1;var i=Math.round(o/t);return i+1},V.createMouseTargetFromHitTestPosition=function(o,t,i,g){var b=new oe.a(i,g),K=o.getLineWidth(i);if(t.mouseContentHorizontalOffset>K){if(v.e&&b.column===1){var Ie=uo(t.mouseContentHorizontalOffset-K);return t.fulfill(7,new oe.a(i,o.model.getLineMaxColumn(i)),void 0,Ie)}var Le=uo(t.mouseContentHorizontalOffset-K);return t.fulfill(7,b,void 0,Le)}var qe=o.visibleRangeForPosition(i,g);if(!qe)return t.fulfill(0,b);var ct=qe.left;if(t.mouseContentHorizontalOffset===ct)return t.fulfill(6,b);var wt=[];if(wt.push({offset:qe.left,column:g}),g>1){var et=o.visibleRangeForPosition(i,g-1);et&&wt.push({offset:et.left,column:g-1})}var Wt=o.model.getLineMaxColumn(i);if(g=t.editorPos.y+o.layoutInfo.height&&(K=t.editorPos.y+o.layoutInfo.height-1);var Ie=new l(t.pos.x,K),Le=this._actualDoHitTestWithCaretRangeFromPoint(o,Ie.toClientCoordinates());return Le.position?Le:this._actualDoHitTestWithCaretRangeFromPoint(o,t.pos.toClientCoordinates())},V._actualDoHitTestWithCaretRangeFromPoint=function(o,t){var i=J.E(o.viewDomNode),g;if(i?typeof i.caretRangeFromPoint=="undefined"?g=so(i,t.clientX,t.clientY):g=i.caretRangeFromPoint(t.clientX,t.clientY):g=document.caretRangeFromPoint(t.clientX,t.clientY),!g||!g.startContainer)return{position:null,hitTarget:null};var b=g.startContainer,K=null;if(b.nodeType===b.TEXT_NODE){var Ie=b.parentNode,Le=Ie?Ie.parentNode:null,qe=Le?Le.parentNode:null,ct=qe&&qe.nodeType===qe.ELEMENT_NODE?qe.className:null;if(ct===Re.CLASS_NAME){var wt=o.getPositionFromDOMInfo(Ie,g.startOffset);return{position:wt,hitTarget:null}}else K=b.parentNode}else if(b.nodeType===b.ELEMENT_NODE){var Ie=b.parentNode,Le=Ie?Ie.parentNode:null,et=Le&&Le.nodeType===Le.ELEMENT_NODE?Le.className:null;if(et===Re.CLASS_NAME){var wt=o.getPositionFromDOMInfo(b,b.textContent.length);return{position:wt,hitTarget:null}}else K=b}return{position:null,hitTarget:K}},V._doHitTestWithCaretPositionFromPoint=function(o,t){var i=document.caretPositionFromPoint(t.clientX,t.clientY);if(i.offsetNode.nodeType===i.offsetNode.TEXT_NODE){var g=i.offsetNode.parentNode,b=g?g.parentNode:null,K=b?b.parentNode:null,Ie=K&&K.nodeType===K.ELEMENT_NODE?K.className:null;if(Ie===Re.CLASS_NAME){var Le=o.getPositionFromDOMInfo(i.offsetNode.parentNode,i.offset);return{position:Le,hitTarget:null}}else return{position:null,hitTarget:i.offsetNode.parentNode}}return{position:null,hitTarget:i.offsetNode}},V._doHitTestWithMoveToPoint=function(o,t){var i=null,g=null,b=document.body.createTextRange();try{b.moveToPoint(t.clientX,t.clientY)}catch(wt){return{position:null,hitTarget:null}}b.collapse(!0);var K=b?b.parentElement():null,Ie=K?K.parentNode:null,Le=Ie?Ie.parentNode:null,qe=Le&&Le.nodeType===Le.ELEMENT_NODE?Le.className:"";if(qe===Re.CLASS_NAME){var ct=b.duplicate();ct.moveToElementText(K),ct.setEndPoint("EndToStart",b),i=o.getPositionFromDOMInfo(K,ct.text.length),ct.moveToElementText(o.viewDomNode)}else g=K;return b.moveToElementText(o.viewDomNode),{position:i,hitTarget:g}},V._doHitTest=function(o,t){return typeof document.caretRangeFromPoint=="function"?this._doHitTestWithCaretRangeFromPoint(o,t):document.caretPositionFromPoint?this._doHitTestWithCaretPositionFromPoint(o,t.pos.toClientCoordinates()):document.body.createTextRange?this._doHitTestWithMoveToPoint(o,t.pos.toClientCoordinates()):{position:null,hitTarget:null}},V}();function so(V,o,t){var i=document.createRange(),g=V.elementFromPoint(o,t);if(g!==null){for(;g&&g.firstChild&&g.firstChild.nodeType!==g.firstChild.TEXT_NODE;)g=g.lastChild;var b=g.getBoundingClientRect(),K=window.getComputedStyle(g,null).getPropertyValue("font"),Ie=g.innerText,Le=b.left,qe=0,ct=void 0;if(o>b.left+b.width)qe=Ie.length;else for(var wt=Pt.getInstance(),et=0;et0?1:-1;ft.a.setZoomLevel(wt+et),ct.preventDefault(),ct.stopPropagation()}};return b._register(J.j(b.viewHelper.viewDomNode,v.f?"mousewheel":"wheel",Ie,{capture:!0,passive:!1})),b._context.addEventHandler(b),b}return o.prototype.dispose=function(){this._context.removeEventHandler(this),V.prototype.dispose.call(this)},o.prototype.onCursorStateChanged=function(t){return this._mouseDownOperation.onCursorStateChanged(t),!1},o.prototype.onFocusChanged=function(t){return this._isFocused=t.isFocused,!1},o.prototype.onScrollChanged=function(t){return this._mouseDownOperation.onScrollChanged(),!1},o.prototype.getTargetAtClientPoint=function(t,i){var g=new d(t,i),b=g.toPageCoordinates(),K=E(this.viewHelper.viewDomNode);return b.yK.y+K.height||b.xK.x+K.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),K,b,null)},o.prototype._createMouseTarget=function(t,i){return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),t.editorPos,t.pos,i?t.target:null)},o.prototype._getMouseColumn=function(t){return this.mouseTargetFactory.getMouseColumn(t.editorPos,t.pos)},o.prototype._onContextMenu=function(t,i){this.viewController.emitContextMenu({event:t,target:this._createMouseTarget(t,i)})},o.prototype._onMouseMove=function(t){if(this._mouseDownOperation.isActive())return;var i=t.timestamp;if(ii.y+i.height){var Ie=b.getCurrentScrollTop()+(t.posy-i.y),Le=pt.getZoneAtCoord(this._context,Ie);if(Le){var qe=this._helpPositionJumpOverViewZone(Le);if(qe)return new Qe(null,13,K,qe)}var wt=b.getLineNumberAtVerticalOffset(Ie);return new Qe(null,13,K,new oe.a(wt,g.getLineMaxColumn(wt)))}var et=b.getLineNumberAtVerticalOffset(b.getCurrentScrollTop()+(t.posy-i.y));return t.posxi.x+i.width?new Qe(null,13,K,new oe.a(et,g.getLineMaxColumn(et))):null},o.prototype._findMousePosition=function(t,i){var g=this._getPositionOutsideEditor(t);if(g)return g;var b=this._createMouseTarget(t,i),K=b.position;if(!K)return null;if(b.type===8||b.type===5){var Ie=this._helpPositionJumpOverViewZone(b.detail);if(Ie)return new Qe(b.element,b.type,b.mouseColumn,Ie,null,b.detail)}return b},o.prototype._helpPositionJumpOverViewZone=function(t){var i=new oe.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),g=t.positionBefore,b=t.positionAfter;return g&&b?g.isBefore(i)?g:b:null},o.prototype._dispatchMouse=function(t,i){if(!t.position)return;this._viewController.dispatchMouse({position:t.position,mouseColumn:t.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:i,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})},o}(z.a),Ct=function(){function V(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}return Object.defineProperty(V.prototype,"altKey",{get:function(){return this._altKey},enumerable:!0,configurable:!0}),Object.defineProperty(V.prototype,"ctrlKey",{get:function(){return this._ctrlKey},enumerable:!0,configurable:!0}),Object.defineProperty(V.prototype,"metaKey",{get:function(){return this._metaKey},enumerable:!0,configurable:!0}),Object.defineProperty(V.prototype,"shiftKey",{get:function(){return this._shiftKey},enumerable:!0,configurable:!0}),Object.defineProperty(V.prototype,"leftButton",{get:function(){return this._leftButton},enumerable:!0,configurable:!0}),Object.defineProperty(V.prototype,"middleButton",{get:function(){return this._middleButton},enumerable:!0,configurable:!0}),Object.defineProperty(V.prototype,"startedOnLineNumbers",{get:function(){return this._startedOnLineNumbers},enumerable:!0,configurable:!0}),Object.defineProperty(V.prototype,"count",{get:function(){return this._lastMouseDownCount},enumerable:!0,configurable:!0}),V.prototype.setModifiers=function(o){this._altKey=o.altKey,this._ctrlKey=o.ctrlKey,this._metaKey=o.metaKey,this._shiftKey=o.shiftKey},V.prototype.setStartButtons=function(o){this._leftButton=o.leftButton,this._middleButton=o.middleButton},V.prototype.setStartedOnLineNumbers=function(o){this._startedOnLineNumbers=o},V.prototype.trySetCount=function(o,t){var i=new Date().getTime();i-this._lastSetMouseDownCountTime>V.CLEAR_MOUSE_DOWN_COUNT_TIME&&(o=1),this._lastSetMouseDownCountTime=i,o>this._lastMouseDownCount+1&&(o=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(t)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=t,this._lastMouseDownCount=Math.min(o,this._lastMouseDownPositionEqualCount)},V.CLEAR_MOUSE_DOWN_COUNT_TIME=400,V}(),gt=e("CjF5"),bt=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();function Gt(V,o){var t={translationY:o.translationY,translationX:o.translationX};return V&&(t.translationY+=V.translationY,t.translationX+=V.translationX),t}var Nt=function(V){bt(o,V);function o(t,i,g){var b=V.call(this,t,i,g)||this;return b.viewHelper.linesContentDomNode.style.msTouchAction="none",b.viewHelper.linesContentDomNode.style.msContentZooming="none",b._installGestureHandlerTimeout=window.setTimeout(function(){if(b._installGestureHandlerTimeout=-1,window.MSGesture){var K=new MSGesture,Ie=new MSGesture;K.target=b.viewHelper.linesContentDomNode,Ie.target=b.viewHelper.linesContentDomNode,b.viewHelper.linesContentDomNode.addEventListener("MSPointerDown",function(Le){var qe=Le.pointerType;if(qe===(Le.MSPOINTER_TYPE_MOUSE||"mouse")){b._lastPointerType="mouse";return}else qe===(Le.MSPOINTER_TYPE_TOUCH||"touch")?(b._lastPointerType="touch",K.addPointer(Le.pointerId)):(b._lastPointerType="pen",Ie.addPointer(Le.pointerId))}),b._register(J.m(b.viewHelper.linesContentDomNode,"MSGestureChange",function(Le){return b._onGestureChange(Le)},Gt)),b._register(J.j(b.viewHelper.linesContentDomNode,"MSGestureTap",function(Le){return b._onCaptureGestureTap(Le)},!0))}},100),b._lastPointerType="mouse",b}return o.prototype._onMouseDown=function(t){this._lastPointerType==="mouse"&&V.prototype._onMouseDown.call(this,t)},o.prototype._onCaptureGestureTap=function(t){var i=this,g=new L(t,this.viewHelper.viewDomNode),b=this._createMouseTarget(g,!1);b.position&&this.viewController.moveTo(b.position),g.browserEvent.fromElement?(g.preventDefault(),this.viewHelper.focusTextArea()):setTimeout(function(){i.viewHelper.focusTextArea()})},o.prototype._onGestureChange=function(t){this._context.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)},o.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),V.prototype.dispose.call(this)},o}(tt),Et=function(V){bt(o,V);function o(t,i,g){var b=V.call(this,t,i,g)||this;return b.viewHelper.linesContentDomNode.style.touchAction="none",b._installGestureHandlerTimeout=window.setTimeout(function(){if(b._installGestureHandlerTimeout=-1,window.MSGesture){var K=new MSGesture,Ie=new MSGesture;K.target=b.viewHelper.linesContentDomNode,Ie.target=b.viewHelper.linesContentDomNode,b.viewHelper.linesContentDomNode.addEventListener("pointerdown",function(Le){var qe=Le.pointerType;if(qe==="mouse"){b._lastPointerType="mouse";return}else qe==="touch"?(b._lastPointerType="touch",K.addPointer(Le.pointerId)):(b._lastPointerType="pen",Ie.addPointer(Le.pointerId))}),b._register(J.m(b.viewHelper.linesContentDomNode,"MSGestureChange",function(Le){return b._onGestureChange(Le)},Gt)),b._register(J.j(b.viewHelper.linesContentDomNode,"MSGestureTap",function(Le){return b._onCaptureGestureTap(Le)},!0))}},100),b._lastPointerType="mouse",b}return o.prototype._onMouseDown=function(t){this._lastPointerType==="mouse"&&V.prototype._onMouseDown.call(this,t)},o.prototype._onCaptureGestureTap=function(t){var i=this,g=new L(t,this.viewHelper.viewDomNode),b=this._createMouseTarget(g,!1);b.position&&this.viewController.moveTo(b.position),g.browserEvent.fromElement?(g.preventDefault(),this.viewHelper.focusTextArea()):setTimeout(function(){i.viewHelper.focusTextArea()})},o.prototype._onGestureChange=function(t){this._context.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)},o.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),V.prototype.dispose.call(this)},o}(tt),Je=function(V){bt(o,V);function o(t,i,g){var b=V.call(this,t,i,g)||this;b._register(f.b.addTarget(b.viewHelper.linesContentDomNode)),b._register(J.j(b.viewHelper.linesContentDomNode,f.a.Tap,function(Ie){return b.onTap(Ie)})),b._register(J.j(b.viewHelper.linesContentDomNode,f.a.Change,function(Ie){return b.onChange(Ie)})),b._register(J.j(b.viewHelper.linesContentDomNode,f.a.Contextmenu,function(Ie){return b._onContextMenu(new L(Ie,b.viewHelper.viewDomNode),!1)})),b._lastPointerType="mouse",b._register(J.j(b.viewHelper.linesContentDomNode,"pointerdown",function(Ie){var Le=Ie.pointerType;if(Le==="mouse"){b._lastPointerType="mouse";return}else Le==="touch"?b._lastPointerType="touch":b._lastPointerType="pen"}));var K=new k(b.viewHelper.viewDomNode);return b._register(K.onPointerMoveThrottled(b.viewHelper.viewDomNode,function(Ie){return b._onMouseMove(Ie)},at(b.mouseTargetFactory),tt.MOUSE_MOVE_MINIMUM_TIME)),b._register(K.onPointerUp(b.viewHelper.viewDomNode,function(Ie){return b._onMouseUp(Ie)})),b._register(K.onPointerLeave(b.viewHelper.viewDomNode,function(Ie){return b._onMouseLeave(Ie)})),b._register(K.onPointerDown(b.viewHelper.viewDomNode,function(Ie){return b._onMouseDown(Ie)})),b}return o.prototype.onTap=function(t){if(!t.initialTarget||!this.viewHelper.linesContentDomNode.contains(t.initialTarget))return;t.preventDefault(),this.viewHelper.focusTextArea();var i=this._createMouseTarget(new L(t,this.viewHelper.viewDomNode),!1);i.position&&this.viewController.dispatchMouse({position:i.position,mouseColumn:i.position.column,startedOnLineNumbers:!1,mouseDownCount:t.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1})},o.prototype.onChange=function(t){this._lastPointerType==="touch"&&this._context.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)},o.prototype._onMouseDown=function(t){if(t.target&&this.viewHelper.linesContentDomNode.contains(t.target)&&this._lastPointerType==="touch")return;V.prototype._onMouseDown.call(this,t)},o}(tt),$e=function(V){bt(o,V);function o(t,i,g){var b=V.call(this,t,i,g)||this;return b._register(f.b.addTarget(b.viewHelper.linesContentDomNode)),b._register(J.j(b.viewHelper.linesContentDomNode,f.a.Tap,function(K){return b.onTap(K)})),b._register(J.j(b.viewHelper.linesContentDomNode,f.a.Change,function(K){return b.onChange(K)})),b._register(J.j(b.viewHelper.linesContentDomNode,f.a.Contextmenu,function(K){return b._onContextMenu(new L(K,b.viewHelper.viewDomNode),!1)})),b}return o.prototype.onTap=function(t){t.preventDefault(),this.viewHelper.focusTextArea();var i=this._createMouseTarget(new L(t,this.viewHelper.viewDomNode),!1);i.position&&this.viewController.moveTo(i.position)},o.prototype.onChange=function(t){this._context.viewLayout.deltaScrollNow(-t.translationX,-t.translationY)},o}(tt),ze=function(V){bt(o,V);function o(t,i,g){var b=V.call(this)||this;return window.navigator.msPointerEnabled?b.handler=b._register(new Nt(t,i,g)):_.c&>.a.pointerEvents?b.handler=b._register(new Je(t,i,g)):window.TouchEvent?b.handler=b._register(new $e(t,i,g)):window.navigator.pointerEnabled||window.PointerEvent?b.handler=b._register(new Et(t,i,g)):b.handler=b._register(new tt(t,i,g)),b}return o.prototype.getTargetAtClientPoint=function(t,i){return this.handler.getTargetAtClientPoint(t,i)},o}(z.a),Ke=e("VvMK"),fe=e("N0LK"),G=e("5TxY"),te=e("Comh"),Y=e("Krc3"),de=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),ke=function(V){de(o,V);function o(){return V!==null&&V.apply(this,arguments)||this}return o}(ie),lt=e("kYye"),Tt=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Jt=function(V){Tt(o,V);function o(t){var i=V.call(this)||this;return i._context=t,i._readConfig(),i._lastCursorModelPosition=new oe.a(1,1),i._renderResult=null,i._context.addEventHandler(i),i}return o.prototype._readConfig=function(){var t=this._context.configuration.options;this._lineHeight=t.get(49);var i=t.get(50);this._renderLineNumbers=i.renderType,this._renderCustomLineNumbers=i.renderFn,this._renderFinalNewline=t.get(71);var g=t.get(107);this._lineNumbersLeft=g.lineNumbersLeft,this._lineNumbersWidth=g.lineNumbersWidth},o.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,V.prototype.dispose.call(this)},o.prototype.onConfigurationChanged=function(t){return this._readConfig(),!0},o.prototype.onCursorStateChanged=function(t){var i=t.selections[0].getPosition();return this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(i),this._renderLineNumbers===2||this._renderLineNumbers===3},o.prototype.onFlushed=function(t){return!0},o.prototype.onLinesChanged=function(t){return!0},o.prototype.onLinesDeleted=function(t){return!0},o.prototype.onLinesInserted=function(t){return!0},o.prototype.onScrollChanged=function(t){return t.scrollTopChanged},o.prototype.onZonesChanged=function(t){return!0},o.prototype._getLineRenderLineNumber=function(t){var i=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new oe.a(t,1));if(i.column!==1)return"";var g=i.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(g);if(this._renderLineNumbers===2){var b=Math.abs(this._lastCursorModelPosition.lineNumber-g);return b===0?''+g+"":String(b)}return this._renderLineNumbers===3?this._lastCursorModelPosition.lineNumber===g||g%10===0?String(g):"":String(g)},o.prototype.prepareRender=function(t){if(this._renderLineNumbers===0){this._renderResult=null;return}for(var i=_.d?this._lineHeight%2===0?" lh-even":" lh-odd":"",g=t.visibleRange.startLineNumber,b=t.visibleRange.endLineNumber,K='
',Ie=this._context.model.getLineCount(),Le=[],qe=g;qe<=b;qe++){var ct=qe-g;if(!this._renderFinalNewline&&(qe===Ie&&this._context.model.getLineLength(qe)===0)){Le[ct]="";continue}var wt=this._getLineRenderLineNumber(qe);wt?Le[ct]=K+wt+"
":Le[ct]=""}this._renderResult=Le},o.prototype.render=function(t,i){if(!this._renderResult)return"";var g=i-t;return g<0||g>=this._renderResult.length?"":this._renderResult[g]},o.CLASS_NAME="line-numbers",o}(ke);Object(X.e)(function(V,o){var t=V.getColor(lt.k);t&&o.addRule(".monaco-editor .line-numbers { color: "+t+"; }");var i=V.getColor(lt.b);i&&o.addRule(".monaco-editor .current-line ~ .line-numbers { color: "+i+"; }")});var eo=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),po=function(V){eo(o,V);function o(t){var i=V.call(this,t)||this,g=i._context.configuration.options,b=g.get(107);return i._canUseLayerHinting=!g.get(22),i._contentLeft=b.contentLeft,i._glyphMarginLeft=b.glyphMarginLeft,i._glyphMarginWidth=b.glyphMarginWidth,i._domNode=Object(y.b)(document.createElement("div")),i._domNode.setClassName(o.OUTER_CLASS_NAME),i._domNode.setPosition("absolute"),i._domNode.setAttribute("role","presentation"),i._domNode.setAttribute("aria-hidden","true"),i._glyphMarginBackgroundDomNode=Object(y.b)(document.createElement("div")),i._glyphMarginBackgroundDomNode.setClassName(o.CLASS_NAME),i._domNode.appendChild(i._glyphMarginBackgroundDomNode),i}return o.prototype.dispose=function(){V.prototype.dispose.call(this)},o.prototype.getDomNode=function(){return this._domNode},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(107);return this._canUseLayerHinting=!i.get(22),this._contentLeft=g.contentLeft,this._glyphMarginLeft=g.glyphMarginLeft,this._glyphMarginWidth=g.glyphMarginWidth,!0},o.prototype.onScrollChanged=function(t){return V.prototype.onScrollChanged.call(this,t)||t.scrollTopChanged},o.prototype.prepareRender=function(t){},o.prototype.render=function(t){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");var i=t.scrollTop-t.bigNumbersDelta;this._domNode.setTop(-i);var g=Math.min(t.scrollHeight,1e6);this._domNode.setHeight(g),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(g)},o.CLASS_NAME="glyph-margin",o.OUTER_CLASS_NAME="margin",o}(B),co=e("5v8Y"),Eo=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Oo=function(){function V(o){this.type=1,this._source=o}return V.prototype.hasChanged=function(o){return this._source.hasChanged(o)},V}(),Ao=function(){function V(o){this.type=2,this.contentWidth=o.contentWidth,this.contentHeight=o.contentHeight,this.contentWidthChanged=o.contentWidthChanged,this.contentHeightChanged=o.contentHeightChanged}return V}(),Zo=function(){function V(o,t){this.type=3,this.selections=o,this.modelSelections=t}return V}(),Co=function(){function V(){this.type=4}return V}(),Wo=function(){function V(){this.type=5}return V}(),Go=function(){function V(o){this.type=6,this.isFocused=o}return V}(),Bo=function(){function V(){this.type=7}return V}(),Mo=function(){function V(){this.type=8}return V}(),Qo=function(){function V(o,t){this.type=9,this.fromLineNumber=o,this.toLineNumber=t}return V}(),fn=function(){function V(o,t){this.type=10,this.fromLineNumber=o,this.toLineNumber=t}return V}(),Vo=function(){function V(o,t){this.type=11,this.fromLineNumber=o,this.toLineNumber=t}return V}(),mn=function(){function V(o,t,i,g,b){this.type=12,this.source=o,this.range=t,this.verticalType=i,this.revealHorizontal=g,this.scrollType=b}return V}(),yn=function(){function V(o){this.type=13,this.scrollWidth=o.scrollWidth,this.scrollLeft=o.scrollLeft,this.scrollHeight=o.scrollHeight,this.scrollTop=o.scrollTop,this.scrollWidthChanged=o.scrollWidthChanged,this.scrollLeftChanged=o.scrollLeftChanged,this.scrollHeightChanged=o.scrollHeightChanged,this.scrollTopChanged=o.scrollTopChanged}return V}(),dn=function(){function V(){this.type=14}return V}(),rn=function(){function V(o){this.type=15,this.ranges=o}return V}(),pn=function(){function V(){this.type=16}return V}(),zo=function(){function V(){this.type=17}return V}(),Uo=function(V){Eo(o,V);function o(){var t=V.call(this)||this;return t._listeners=[],t._collector=null,t._collectorCnt=0,t}return o.prototype.dispose=function(){this._listeners=[],V.prototype.dispose.call(this)},o.prototype._beginEmit=function(){return this._collectorCnt++,this._collectorCnt===1&&(this._collector=new St),this._collector},o.prototype._endEmit=function(){if(this._collectorCnt--,this._collectorCnt===0){var t=this._collector.finalize();this._collector=null,t.length>0&&this._emit(t)}},o.prototype._emit=function(t){for(var i=this._listeners.slice(0),g=0,b=i.length;g0)return new te.b(kt,kt.length,kt.length,Wt,Wt)}}return te.b.EMPTY}return te.a.fromEditorSelection(wt,Le,b._selections[0],b._accessibilityPageSize,b._accessibilitySupport===0)},deduceModelPosition:function(wt,et,Wt){return b._context.model.deduceModelPositionRelativeToViewPosition(wt,et,Wt)}};return b._textAreaInput=b._register(new G.b(qe,b.textArea)),b._register(b._textAreaInput.onKeyDown(function(ct){b._viewController.emitKeyDown(ct)})),b._register(b._textAreaInput.onKeyUp(function(ct){b._viewController.emitKeyUp(ct)})),b._register(b._textAreaInput.onPaste(function(ct){var wt=!1,et=null,Wt=null;ct.metadata&&(wt=b._emptySelectionClipboard&&!!ct.metadata.isFromEmptySelection,et=typeof ct.metadata.multicursorText!="undefined"?ct.metadata.multicursorText:null,Wt=ct.metadata.mode),b._viewController.paste("keyboard",ct.text,wt,et,Wt)})),b._register(b._textAreaInput.onCut(function(){b._viewController.cut("keyboard")})),b._register(b._textAreaInput.onType(function(ct){ct.replaceCharCnt?b._viewController.replacePreviousChar("keyboard",ct.text,ct.replaceCharCnt):b._viewController.type("keyboard",ct.text)})),b._register(b._textAreaInput.onSelectionChangeRequest(function(ct){b._viewController.setSelection("keyboard",ct)})),b._register(b._textAreaInput.onCompositionStart(function(){var ct=b._selections[0].startLineNumber,wt=b._selections[0].startColumn;b._context.privateViewEventBus.emit(new mn("keyboard",new be.a(ct,wt,ct,wt),0,!0,1));var et=b._viewHelper.visibleRangeForPositionRelativeToEditor(ct,wt);et&&(b._visibleTextArea=new Dt(b._context.viewLayout.getVerticalOffsetForLineNumber(ct),et.left,_e?0:1),b._render()),b.textArea.setClassName("inputarea ime-input"),b._viewController.compositionStart("keyboard")})),b._register(b._textAreaInput.onCompositionUpdate(function(ct){v.f?b._visibleTextArea=b._visibleTextArea.setWidth(0):b._visibleTextArea=b._visibleTextArea.setWidth(P(ct.data,b._fontInfo)),b._render()})),b._register(b._textAreaInput.onCompositionEnd(function(){b._visibleTextArea=null,b._render(),b.textArea.setClassName("inputarea"),b._viewController.compositionEnd("keyboard")})),b._register(b._textAreaInput.onFocus(function(){b._context.privateViewEventBus.emit(new Go(!0))})),b._register(b._textAreaInput.onBlur(function(){b._context.privateViewEventBus.emit(new Go(!1))})),b}return o.prototype.dispose=function(){V.prototype.dispose.call(this)},o.prototype._getWordBeforePosition=function(t){for(var i=this._context.model.getLineContent(t.lineNumber),g=Object(co.a)(this._context.configuration.options.get(96)),b=t.column,K=0;b>1;){var Ie=i.charCodeAt(b-2),Le=g.get(Ie);if(Le!==0||K>50)return i.substring(b-1,t.column-1);K++,b--}return i.substring(0,t.column-1)},o.prototype._getCharacterBeforePosition=function(t){if(t.column>1){var i=this._context.model.getLineContent(t.lineNumber),g=i.charAt(t.column-2);if(!fe.z(g.charCodeAt(0)))return g}return""},o.prototype._getAriaLabel=function(t){var i=t.get(2);return i===1?re.a("accessibilityOffAriaLabel","The editor is not accessible at this time. Press Alt+F1 for options."):t.get(4)},o.prototype._setAccessibilityOptions=function(t){this._accessibilitySupport=t.get(2);var i=t.get(3);this._accessibilitySupport===2&&i===he.e.accessibilityPageSize.defaultValue?this._accessibilityPageSize=160:this._accessibilityPageSize=i},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(107);return this._setAccessibilityOptions(i),this._contentLeft=g.contentLeft,this._contentWidth=g.contentWidth,this._contentHeight=g.height,this._fontInfo=i.get(34),this._lineHeight=i.get(49),this._emptySelectionClipboard=i.get(25),this._copyWithSyntaxHighlighting=i.get(15),this.textArea.setAttribute("aria-label",this._getAriaLabel(i)),_.g&&t.hasChanged(68)&&(i.get(68)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),t.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0},o.prototype.onCursorStateChanged=function(t){return this._selections=t.selections.slice(0),this._modelSelections=t.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0},o.prototype.onDecorationsChanged=function(t){return!0},o.prototype.onFlushed=function(t){return!0},o.prototype.onLinesChanged=function(t){return!0},o.prototype.onLinesDeleted=function(t){return!0},o.prototype.onLinesInserted=function(t){return!0},o.prototype.onScrollChanged=function(t){return this._scrollLeft=t.scrollLeft,this._scrollTop=t.scrollTop,!0},o.prototype.onZonesChanged=function(t){return!0},o.prototype.isFocused=function(){return this._textAreaInput.isFocused()},o.prototype.focusTextArea=function(){this._textAreaInput.focusTextArea()},o.prototype.getLastRenderData=function(){return this._lastRenderPosition},o.prototype.setAriaOptions=function(t){t.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",t.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant"))},o.prototype.prepareRender=function(t){this._primaryCursorPosition=new oe.a(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=t.visibleRangeForPosition(this._primaryCursorPosition)},o.prototype.render=function(t){this._textAreaInput.writeScreenReaderContent("render"),this._render()},o.prototype._render=function(){if(this._visibleTextArea){this._renderInsideEditor(null,this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight);return}if(!this._primaryCursorVisibleRange){this._renderAtTopLeft();return}var t=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(tthis._contentLeft+this._contentWidth){this._renderAtTopLeft();return}var i=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;if(i<0||i>this._contentHeight){this._renderAtTopLeft();return}if(_.e){this._renderInsideEditor(this._primaryCursorPosition,i,t,_e?0:1,this._lineHeight);return}this._renderInsideEditor(this._primaryCursorPosition,i,t,_e?0:1,_e?0:1)},o.prototype._renderInsideEditor=function(t,i,g,b,K){this._lastRenderPosition=t;var Ie=this.textArea,Le=this.textAreaCover;U.a.applyFontInfo(Ie,this._fontInfo),Ie.setTop(i),Ie.setLeft(g),Ie.setWidth(b),Ie.setHeight(K),Le.setTop(0),Le.setLeft(0),Le.setWidth(0),Le.setHeight(0)},o.prototype._renderAtTopLeft=function(){this._lastRenderPosition=null;var t=this.textArea,i=this.textAreaCover;if(U.a.applyFontInfo(t,this._fontInfo),t.setTop(0),t.setLeft(0),i.setTop(0),i.setLeft(0),_e){t.setWidth(0),t.setHeight(0),i.setWidth(0),i.setHeight(0);return}t.setWidth(1),t.setHeight(1),i.setWidth(1),i.setHeight(1);var g=this._context.configuration.options;g.get(40)?i.setClassName("monaco-editor-background textAreaCover "+po.OUTER_CLASS_NAME):g.get(50).renderType!==0?i.setClassName("monaco-editor-background textAreaCover "+Jt.CLASS_NAME):i.setClassName("monaco-editor-background textAreaCover")},o}(B);function P(V,o){var t=document.createElement("canvas"),i=t.getContext("2d");i.font=Z(o);var g=i.measureText(V);return v.h?g.width+2:g.width}function Z(V){return Ae("normal",V.fontWeight,V.fontSize,V.lineHeight,V.fontFamily)}function Ae(V,o,t,i,g){return V+" normal "+o+" "+t+"px / "+i+"px "+g}var xe=e("1YUG"),Ne=function(){function V(o,t,i,g){this.configuration=o,this.viewModel=t,this.outgoingEvents=i,this.commandDelegate=g}return V.prototype._execMouseCommand=function(o,t){t.source="mouse",this.commandDelegate.executeEditorCommand(o,t)},V.prototype.paste=function(o,t,i,g,b){this.commandDelegate.paste(o,t,i,g,b)},V.prototype.type=function(o,t){this.commandDelegate.type(o,t)},V.prototype.replacePreviousChar=function(o,t,i){this.commandDelegate.replacePreviousChar(o,t,i)},V.prototype.compositionStart=function(o){this.commandDelegate.compositionStart(o)},V.prototype.compositionEnd=function(o){this.commandDelegate.compositionEnd(o)},V.prototype.cut=function(o){this.commandDelegate.cut(o)},V.prototype.setSelection=function(o,t){this.commandDelegate.executeEditorCommand(xe.CoreNavigationCommands.SetSelection,{source:o,selection:t})},V.prototype._validateViewColumn=function(o){var t=this.viewModel.getLineMinColumn(o.lineNumber);return o.column=4?this._selectAll():o.mouseDownCount===3?this._hasMulticursorModifier(o)?o.inSelectionMode?this._lastCursorLineSelectDrag(o.position):this._lastCursorLineSelect(o.position):o.inSelectionMode?this._lineSelectDrag(o.position):this._lineSelect(o.position):o.mouseDownCount===2?this._hasMulticursorModifier(o)?this._lastCursorWordSelect(o.position):o.inSelectionMode?this._wordSelectDrag(o.position):this._wordSelect(o.position):this._hasMulticursorModifier(o)?this._hasNonMulticursorModifier(o)||(o.shiftKey?this._columnSelect(o.position,o.mouseColumn,!0):o.inSelectionMode?this._lastCursorMoveToSelect(o.position):this._createCursor(o.position,!1)):o.inSelectionMode?o.altKey?this._columnSelect(o.position,o.mouseColumn,!0):this._moveToSelect(o.position):this.moveTo(o.position)},V.prototype._usualArgs=function(o){return o=this._validateViewColumn(o),{position:this._convertViewToModelPosition(o),viewPosition:o}},V.prototype.moveTo=function(o){this._execMouseCommand(xe.CoreNavigationCommands.MoveTo,this._usualArgs(o))},V.prototype._moveToSelect=function(o){this._execMouseCommand(xe.CoreNavigationCommands.MoveToSelect,this._usualArgs(o))},V.prototype._columnSelect=function(o,t,i){o=this._validateViewColumn(o),this._execMouseCommand(xe.CoreNavigationCommands.ColumnSelect,{position:this._convertViewToModelPosition(o),viewPosition:o,mouseColumn:t,doColumnSelect:i})},V.prototype._createCursor=function(o,t){o=this._validateViewColumn(o),this._execMouseCommand(xe.CoreNavigationCommands.CreateCursor,{position:this._convertViewToModelPosition(o),viewPosition:o,wholeLine:t})},V.prototype._lastCursorMoveToSelect=function(o){this._execMouseCommand(xe.CoreNavigationCommands.LastCursorMoveToSelect,this._usualArgs(o))},V.prototype._wordSelect=function(o){this._execMouseCommand(xe.CoreNavigationCommands.WordSelect,this._usualArgs(o))},V.prototype._wordSelectDrag=function(o){this._execMouseCommand(xe.CoreNavigationCommands.WordSelectDrag,this._usualArgs(o))},V.prototype._lastCursorWordSelect=function(o){this._execMouseCommand(xe.CoreNavigationCommands.LastCursorWordSelect,this._usualArgs(o))},V.prototype._lineSelect=function(o){this._execMouseCommand(xe.CoreNavigationCommands.LineSelect,this._usualArgs(o))},V.prototype._lineSelectDrag=function(o){this._execMouseCommand(xe.CoreNavigationCommands.LineSelectDrag,this._usualArgs(o))},V.prototype._lastCursorLineSelect=function(o){this._execMouseCommand(xe.CoreNavigationCommands.LastCursorLineSelect,this._usualArgs(o))},V.prototype._lastCursorLineSelectDrag=function(o){this._execMouseCommand(xe.CoreNavigationCommands.LastCursorLineSelectDrag,this._usualArgs(o))},V.prototype._selectAll=function(){this._execMouseCommand(xe.CoreNavigationCommands.SelectAll,{})},V.prototype._convertViewToModelPosition=function(o){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(o)},V.prototype.emitKeyDown=function(o){this.outgoingEvents.emitKeyDown(o)},V.prototype.emitKeyUp=function(o){this.outgoingEvents.emitKeyUp(o)},V.prototype.emitContextMenu=function(o){this.outgoingEvents.emitContextMenu(o)},V.prototype.emitMouseMove=function(o){this.outgoingEvents.emitMouseMove(o)},V.prototype.emitMouseLeave=function(o){this.outgoingEvents.emitMouseLeave(o)},V.prototype.emitMouseUp=function(o){this.outgoingEvents.emitMouseUp(o)},V.prototype.emitMouseDown=function(o){this.outgoingEvents.emitMouseDown(o)},V.prototype.emitMouseDrag=function(o){this.outgoingEvents.emitMouseDrag(o)},V.prototype.emitMouseDrop=function(o){this.outgoingEvents.emitMouseDrop(o)},V.prototype.emitMouseWheel=function(o){this.outgoingEvents.emitMouseWheel(o)},V}(),dt=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),ht=function(V){dt(o,V);function o(t){var i=V.call(this)||this;return i.onDidContentSizeChange=null,i.onDidScroll=null,i.onDidGainFocus=null,i.onDidLoseFocus=null,i.onKeyDown=null,i.onKeyUp=null,i.onContextMenu=null,i.onMouseMove=null,i.onMouseLeave=null,i.onMouseUp=null,i.onMouseDown=null,i.onMouseDrag=null,i.onMouseDrop=null,i.onMouseWheel=null,i._viewModel=t,i}return o.prototype.emitContentSizeChange=function(t){this.onDidContentSizeChange&&this.onDidContentSizeChange(t)},o.prototype.emitScrollChanged=function(t){this.onDidScroll&&this.onDidScroll(t)},o.prototype.emitViewFocusGained=function(){this.onDidGainFocus&&this.onDidGainFocus(void 0)},o.prototype.emitViewFocusLost=function(){this.onDidLoseFocus&&this.onDidLoseFocus(void 0)},o.prototype.emitKeyDown=function(t){this.onKeyDown&&this.onKeyDown(t)},o.prototype.emitKeyUp=function(t){this.onKeyUp&&this.onKeyUp(t)},o.prototype.emitContextMenu=function(t){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(t))},o.prototype.emitMouseMove=function(t){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(t))},o.prototype.emitMouseLeave=function(t){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(t))},o.prototype.emitMouseUp=function(t){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(t))},o.prototype.emitMouseDown=function(t){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(t))},o.prototype.emitMouseDrag=function(t){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(t))},o.prototype.emitMouseDrop=function(t){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(t))},o.prototype.emitMouseWheel=function(t){this.onMouseWheel&&this.onMouseWheel(t)},o.prototype._convertViewToModelMouseEvent=function(t){return t.target?{event:t.event,target:this._convertViewToModelMouseTarget(t.target)}:t},o.prototype._convertViewToModelMouseTarget=function(t){return o.convertViewToModelMouseTarget(t,this._viewModel.coordinatesConverter)},o.convertViewToModelMouseTarget=function(t,i){return new xt(t.element,t.type,t.mouseColumn,t.position?i.convertViewPositionToModelPosition(t.position):null,t.range?i.convertViewRangeToModelRange(t.range):null,t.detail)},o}(z.a),xt=function(){function V(o,t,i,g,b,K){this.element=o,this.type=t,this.mouseColumn=i,this.position=g,this.range=b,this.detail=K}return V.prototype.toString=function(){return Qe.toString(this)},V}(),Bt=e("erNZ"),Ut=function(){function V(o){this._createLine=o,this._set(1,[])}return V.prototype.flush=function(){this._set(1,[])},V.prototype._set=function(o,t){this._lines=t,this._rendLineNumberStart=o},V.prototype._get=function(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}},V.prototype.getStartLineNumber=function(){return this._rendLineNumberStart},V.prototype.getEndLineNumber=function(){return this._rendLineNumberStart+this._lines.length-1},V.prototype.getCount=function(){return this._lines.length},V.prototype.getLine=function(o){var t=o-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[t]},V.prototype.onLinesDeleted=function(o,t){if(this.getCount()===0)return null;var i=this.getStartLineNumber(),g=this.getEndLineNumber();if(tg)return null;for(var K=0,Ie=0,Le=i;Le<=g;Le++){var qe=Le-this._rendLineNumberStart;o<=Le&&Le<=t&&(Ie===0?(K=qe,Ie=1):Ie++)}if(o=i&&K<=g&&(this._lines[K-this._rendLineNumberStart].onContentChanged(),b=!0);return b},V.prototype.onLinesInserted=function(o,t){if(this.getCount()===0)return null;var i=t-o+1,g=this.getStartLineNumber(),b=this.getEndLineNumber();if(o<=g)return this._rendLineNumberStart+=i,null;if(o>b)return null;if(i+o>b){var K=this._lines.splice(o-this._rendLineNumberStart,b-o+1);return K}for(var Ie=[],Le=0;Lei)continue;for(var Le=Math.max(t,Ie.fromLineNumber),qe=Math.min(i,Ie.toLineNumber),ct=Le;ct<=qe;ct++){var wt=ct-this._rendLineNumberStart;this._lines[wt].onTokensChanged(),g=!0}}return g},V}(),Ht=function(){function V(o){var t=this;this._host=o,this.domNode=this._createDomNode(),this._linesCollection=new Ut(function(){return t._host.createVisibleLine()})}return V.prototype._createDomNode=function(){var o=Object(y.b)(document.createElement("div"));return o.setClassName("view-layer"),o.setPosition("absolute"),o.domNode.setAttribute("role","presentation"),o.domNode.setAttribute("aria-hidden","true"),o},V.prototype.onConfigurationChanged=function(o){return!!o.hasChanged(107)},V.prototype.onFlushed=function(o){return this._linesCollection.flush(),!0},V.prototype.onLinesChanged=function(o){return this._linesCollection.onLinesChanged(o.fromLineNumber,o.toLineNumber)},V.prototype.onLinesDeleted=function(o){var t=this._linesCollection.onLinesDeleted(o.fromLineNumber,o.toLineNumber);if(t)for(var i=0,g=t.length;it){var Ie=t,Le=Math.min(i,b.rendLineNumberStart-1);Ie<=Le&&(this._insertLinesBefore(b,Ie,Le,g,t),b.linesLength+=Le-Ie+1)}else if(b.rendLineNumberStart0&&(this._removeLinesBefore(b,qe),b.linesLength-=qe)}if(b.rendLineNumberStart=t,b.rendLineNumberStart+b.linesLength-1i){var Ie=Math.max(0,i-b.rendLineNumberStart+1),Le=b.linesLength-1,qe=Le-Ie+1;qe>0&&(this._removeLinesAfter(b,qe),b.linesLength-=qe)}return this._finishRendering(b,!1,g),b},V.prototype._renderUntouchedLines=function(o,t,i,g,b){for(var K=o.rendLineNumberStart,Ie=o.lines,Le=t;Le<=i;Le++){var qe=K+Le;Ie[Le].layoutLine(qe,g[qe-b])}},V.prototype._insertLinesBefore=function(o,t,i,g,b){for(var K=[],Ie=0,Le=t;Le<=i;Le++)K[Ie++]=this.host.createVisibleLine();o.lines=K.concat(o.lines)},V.prototype._removeLinesBefore=function(o,t){for(var i=0;i=0;Ie--){var Le=o.lines[Ie];g[Ie]&&(Le.setDomNode(K),K=K.previousSibling)}},V.prototype._finishRenderingInvalidLines=function(o,t,i){var g=document.createElement("div");g.innerHTML=t;for(var b=0;b'),g.appendASCIIString(b),g.appendASCIIString(""),!0)},V.prototype.layoutLine=function(o,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))},V}(),Ue=function(V){Zt(o,V);function o(t){var i=V.call(this,t)||this,g=i._context.configuration.options,b=g.get(107);return i._contentWidth=b.contentWidth,i.domNode.setHeight(0),i}return o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(107);return this._contentWidth=g.contentWidth,V.prototype.onConfigurationChanged.call(this,t)||!0},o.prototype.onScrollChanged=function(t){return V.prototype.onScrollChanged.call(this,t)||t.scrollWidthChanged},o.prototype._viewOverlaysRender=function(t){V.prototype._viewOverlaysRender.call(this,t),this.domNode.setWidth(Math.max(t.scrollWidth,this._contentWidth))},o}(fo),Oe=function(V){Zt(o,V);function o(t){var i=V.call(this,t)||this,g=i._context.configuration.options,b=g.get(107);return i._contentLeft=b.contentLeft,i.domNode.setClassName("margin-view-overlays"),i.domNode.setWidth(1),U.a.applyFontInfo(i.domNode,g.get(34)),i}return o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options;U.a.applyFontInfo(this.domNode,i.get(34));var g=i.get(107);return this._contentLeft=g.contentLeft,V.prototype.onConfigurationChanged.call(this,t)||!0},o.prototype.onScrollChanged=function(t){return V.prototype.onScrollChanged.call(this,t)||t.scrollHeightChanged},o.prototype._viewOverlaysRender=function(t){V.prototype._viewOverlaysRender.call(this,t);var i=Math.min(t.scrollHeight,1e6);this.domNode.setHeight(i),this.domNode.setWidth(this._contentLeft)},o}(fo),rt=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),It=function(){function V(o,t){this.top=o,this.left=t}return V}(),pe=function(V){rt(o,V);function o(t,i){var g=V.call(this,t)||this;return g._viewDomNode=i,g._widgets={},g.domNode=Object(y.b)(document.createElement("div")),le.write(g.domNode,1),g.domNode.setClassName("contentWidgets"),g.domNode.setPosition("absolute"),g.domNode.setTop(0),g.overflowingContentWidgetsDomNode=Object(y.b)(document.createElement("div")),le.write(g.overflowingContentWidgetsDomNode,2),g.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets"),g}return o.prototype.dispose=function(){V.prototype.dispose.call(this),this._widgets={}},o.prototype.onConfigurationChanged=function(t){for(var i=Object.keys(this._widgets),g=0,b=i;g=g,et=Le,Wt=qe>=g,kt=o.left,Vt=t.left;return kt+i>b.scrollLeft+b.viewportWidth&&(kt=b.scrollLeft+b.viewportWidth-i),Vt+i>b.scrollLeft+b.viewportWidth&&(Vt=b.scrollLeft+b.viewportWidth-i),ktK){var Le=Ie-(K-g);Ie-=Le,i-=Le}if(Ie=io,bo=ct+g<=wt.height-yo;return this._fixedOverflowWidgets?{fitsAbove:mo,aboveTop:Math.max(qe,io),aboveLeft:kt,fitsBelow:bo,belowTop:ct,belowLeft:$t}:{fitsAbove:mo,aboveTop:Math.max(K,io),aboveLeft:Wt,fitsBelow:bo,belowTop:Ie,belowLeft:qt}},V.prototype._prepareRenderWidgetAtExactPositionOverflowing=function(o){return new It(o.top,o.left+this._contentLeft)},V.prototype._getTopAndBottomLeft=function(o){if(!this._viewRange)return[null,null];var t=o.linesVisibleRangesForRange(this._viewRange,!1);if(!t||t.length===0)return[null,null];for(var i=t[0],g=t[0],b=0,K=t;bg.lineNumber&&(g=Ie)}for(var Le=1073741824,qe=0,ct=i.ranges;qeo.endLineNumber)return;this.domNode.setMaxWidth(this._maxWidth)},V.prototype.prepareRender=function(o){this._renderData=this._prepareRenderWidget(o)},V.prototype.render=function(o){if(!this._renderData){this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden"));return}this.allowEditorOverflow?(this.domNode.setTop(this._renderData.top),this.domNode.setLeft(this._renderData.left)):(this.domNode.setTop(this._renderData.top+o.scrollTop-o.bigNumbersDelta),this.domNode.setLeft(this._renderData.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0)},V}(),ye=e("kw+w"),We=e("6OMU"),Ze=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),st=!0,mt=function(V){Ze(o,V);function o(t){var i=V.call(this)||this;i._context=t;var g=i._context.configuration.options,b=g.get(107);return i._lineHeight=g.get(49),i._renderLineHighlight=g.get(72),i._contentLeft=b.contentLeft,i._contentWidth=b.contentWidth,i._selectionIsEmpty=!0,i._cursorLineNumbers=[],i._selections=[],i._renderData=null,i._context.addEventHandler(i),i}return o.prototype.dispose=function(){this._context.removeEventHandler(this),V.prototype.dispose.call(this)},o.prototype._readFromSelections=function(){var t=!1,i=st?this._selections.slice(0,1):this._selections,g=i.map(function(K){return K.positionLineNumber});g.sort(function(K,Ie){return K-Ie}),We.g(this._cursorLineNumbers,g)||(this._cursorLineNumbers=g,t=!0);var b=i.every(function(K){return K.isEmpty()});return this._selectionIsEmpty!==b&&(this._selectionIsEmpty=b,t=!0),t},o.prototype.onThemeChanged=function(t){return this._readFromSelections()},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(107);return this._lineHeight=i.get(49),this._renderLineHighlight=i.get(72),this._contentLeft=g.contentLeft,this._contentWidth=g.contentWidth,!0},o.prototype.onCursorStateChanged=function(t){return this._selections=t.selections,this._readFromSelections()},o.prototype.onFlushed=function(t){return!0},o.prototype.onLinesDeleted=function(t){return!0},o.prototype.onLinesInserted=function(t){return!0},o.prototype.onScrollChanged=function(t){return t.scrollWidthChanged||t.scrollTopChanged},o.prototype.onZonesChanged=function(t){return!0},o.prototype.prepareRender=function(t){if(!this._shouldRenderThis()){this._renderData=null;return}for(var i=this._renderOne(t),g=t.visibleRange.startLineNumber,b=t.visibleRange.endLineNumber,K=this._cursorLineNumbers.length,Ie=0,Le=[],qe=g;qe<=b;qe++){for(var ct=qe-g;Ie=this._renderData.length?"":this._renderData[g]},o}(ke),Kt=function(V){Ze(o,V);function o(){return V!==null&&V.apply(this,arguments)||this}return o.prototype._renderOne=function(t){var i="current-line"+(this._shouldRenderOther()?" current-line-both":"");return'
'},o.prototype._shouldRenderThis=function(){return(this._renderLineHighlight==="line"||this._renderLineHighlight==="all")&&this._selectionIsEmpty},o.prototype._shouldRenderOther=function(){return this._renderLineHighlight==="gutter"||this._renderLineHighlight==="all"},o}(mt),Xt=function(V){Ze(o,V);function o(){return V!==null&&V.apply(this,arguments)||this}return o.prototype._renderOne=function(t){var i="current-line current-line-margin"+(this._shouldRenderOther()?" current-line-margin-both":"");return'
'},o.prototype._shouldRenderThis=function(){return this._renderLineHighlight==="gutter"||this._renderLineHighlight==="all"},o.prototype._shouldRenderOther=function(){return(this._renderLineHighlight==="line"||this._renderLineHighlight==="all")&&this._selectionIsEmpty},o}(mt);Object(X.e)(function(V,o){st=!1;var t=V.getColor(lt.i);if(t&&(o.addRule(".monaco-editor .view-overlays .current-line { background-color: "+t+"; }"),o.addRule(".monaco-editor .margin-view-overlays .current-line-margin { background-color: "+t+"; border: none; }")),!t||t.isTransparent()||V.defines(lt.j)){var i=V.getColor(lt.j);i&&(st=!0,o.addRule(".monaco-editor .view-overlays .current-line { border: 2px solid "+i+"; }"),o.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid "+i+"; }"),V.type==="hc"&&(o.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),o.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}});var no=e("Vtyv"),vo=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),lo=function(V){vo(o,V);function o(t){var i=V.call(this)||this;i._context=t;var g=i._context.configuration.options;return i._lineHeight=g.get(49),i._typicalHalfwidthCharacterWidth=g.get(34).typicalHalfwidthCharacterWidth,i._renderResult=null,i._context.addEventHandler(i),i}return o.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,V.prototype.dispose.call(this)},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options;return this._lineHeight=i.get(49),this._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,!0},o.prototype.onDecorationsChanged=function(t){return!0},o.prototype.onFlushed=function(t){return!0},o.prototype.onLinesChanged=function(t){return!0},o.prototype.onLinesDeleted=function(t){return!0},o.prototype.onLinesInserted=function(t){return!0},o.prototype.onScrollChanged=function(t){return t.scrollTopChanged||t.scrollWidthChanged},o.prototype.onZonesChanged=function(t){return!0},o.prototype.prepareRender=function(t){for(var i=t.getDecorationsInViewport(),g=[],b=0,K=0,Ie=i.length;KVt.options.zIndex)return 1;var qt=kt.options.className,$t=Vt.options.className;return qt<$t?-1:qt>$t?1:be.a.compareRangesUsingStarts(kt.range,Vt.range)});for(var qe=t.visibleRange.startLineNumber,ct=t.visibleRange.endLineNumber,wt=[],et=qe;et<=ct;et++){var Wt=et-qe;wt[Wt]=""}this._renderWholeLineDecorations(t,g,wt),this._renderNormalDecorations(t,g,wt),this._renderResult=wt},o.prototype._renderWholeLineDecorations=function(t,i,g){for(var b=String(this._lineHeight),K=t.visibleRange.startLineNumber,Ie=t.visibleRange.endLineNumber,Le=0,qe=i.length;Le',et=Math.max(ct.range.startLineNumber,K),Wt=Math.min(ct.range.endLineNumber,Ie),kt=et;kt<=Wt;kt++){var Vt=kt-K;g[Vt]+=wt}}},o.prototype._renderNormalDecorations=function(t,i,g){for(var b=String(this._lineHeight),K=t.visibleRange.startLineNumber,Ie=null,Le=!1,qe=null,ct=0,wt=i.length;ct';Le[Wt]+=io}}},o.prototype.render=function(t,i){if(!this._renderResult)return"";var g=i-t;return g<0||g>=this._renderResult.length?"":this._renderResult[g]},o}(ke),Ro=e("GJhM"),wo=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),_o=function(V){wo(o,V);function o(t,i,g,b){var K=V.call(this,t)||this,Ie=K._context.configuration.options,Le=Ie.get(78),qe=Ie.get(56),ct=Ie.get(27),wt={listenOnDomNode:g.domNode,className:"editor-scrollable "+Object(X.d)(t.theme.type),useShadows:!1,lazyRender:!0,vertical:Le.vertical,horizontal:Le.horizontal,verticalHasArrows:Le.verticalHasArrows,horizontalHasArrows:Le.horizontalHasArrows,verticalScrollbarSize:Le.verticalScrollbarSize,verticalSliderSize:Le.verticalSliderSize,horizontalScrollbarSize:Le.horizontalScrollbarSize,horizontalSliderSize:Le.horizontalSliderSize,handleMouseWheel:Le.handleMouseWheel,alwaysConsumeMouseWheel:Le.alwaysConsumeMouseWheel,arrowSize:Le.arrowSize,mouseWheelScrollSensitivity:qe,fastScrollSensitivity:ct};K.scrollbar=K._register(new Ro.c(i.domNode,wt,K._context.viewLayout.getScrollable())),le.write(K.scrollbar.getDomNode(),5),K.scrollbarDomNode=Object(y.b)(K.scrollbar.getDomNode()),K.scrollbarDomNode.setPosition("absolute"),K._setLayout();var et=function(kt,Vt,qt){var $t={};if(Vt){var io=kt.scrollTop;io&&($t.scrollTop=K._context.viewLayout.getCurrentScrollTop()+io,kt.scrollTop=0)}if(qt){var yo=kt.scrollLeft;yo&&($t.scrollLeft=K._context.viewLayout.getCurrentScrollLeft()+yo,kt.scrollLeft=0)}K._context.viewLayout.setScrollPositionNow($t)};return K._register(J.j(g.domNode,"scroll",function(Wt){return et(g.domNode,!0,!0)})),K._register(J.j(i.domNode,"scroll",function(Wt){return et(i.domNode,!0,!1)})),K._register(J.j(b.domNode,"scroll",function(Wt){return et(b.domNode,!0,!1)})),K._register(J.j(K.scrollbarDomNode.domNode,"scroll",function(Wt){return et(K.scrollbarDomNode.domNode,!0,!1)})),K}return o.prototype.dispose=function(){V.prototype.dispose.call(this)},o.prototype._setLayout=function(){var t=this._context.configuration.options,i=t.get(107);this.scrollbarDomNode.setLeft(i.contentLeft);var g=t.get(54),b=g.side;b==="right"?this.scrollbarDomNode.setWidth(i.contentWidth+i.minimapWidth):this.scrollbarDomNode.setWidth(i.contentWidth),this.scrollbarDomNode.setHeight(i.height)},o.prototype.getOverviewRulerLayoutInfo=function(){return this.scrollbar.getOverviewRulerLayoutInfo()},o.prototype.getDomNode=function(){return this.scrollbarDomNode},o.prototype.delegateVerticalScrollbarMouseDown=function(t){this.scrollbar.delegateVerticalScrollbarMouseDown(t)},o.prototype.onConfigurationChanged=function(t){if(t.hasChanged(78)||t.hasChanged(56)||t.hasChanged(27)){var i=this._context.configuration.options,g=i.get(78),b=i.get(56),K=i.get(27),Ie={handleMouseWheel:g.handleMouseWheel,mouseWheelScrollSensitivity:b,fastScrollSensitivity:K};this.scrollbar.updateOptions(Ie)}return t.hasChanged(107)&&this._setLayout(),!0},o.prototype.onScrollChanged=function(t){return!0},o.prototype.onThemeChanged=function(t){return this.scrollbar.updateClassName("editor-scrollable "+Object(X.d)(this._context.theme.type)),!0},o.prototype.prepareRender=function(t){},o.prototype.render=function(t){this.scrollbar.renderNow()},o}(B),jo=e("hHjc"),Ho=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Do=function(){function V(o,t,i){this.startLineNumber=+o,this.endLineNumber=+t,this.className=String(i)}return V}(),xo=function(V){Ho(o,V);function o(){return V!==null&&V.apply(this,arguments)||this}return o.prototype._render=function(t,i,g){for(var b=[],K=t;K<=i;K++){var Ie=K-t;b[Ie]=[]}if(g.length===0)return b;g.sort(function($t,io){return $t.className===io.className?$t.startLineNumber===io.startLineNumber?$t.endLineNumber-io.endLineNumber:$t.startLineNumber-io.startLineNumber:$t.className',ct=[],wt=i;wt<=g;wt++){var et=wt-i,Wt=b[et];Wt.length===0?ct[et]="":ct[et]='
=this._renderResult.length?"":this._renderResult[g]},o}(xo),gn=e("C6rC"),En=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),on=function(V){En(o,V);function o(t){var i=V.call(this)||this;i._context=t,i._primaryLineNumber=0;var g=i._context.configuration.options,b=g.get(108),K=g.get(34);return i._lineHeight=g.get(49),i._spaceWidth=K.spaceWidth,i._enabled=g.get(70),i._activeIndentEnabled=g.get(43),i._maxIndentLeft=b.wrappingColumn===-1?-1:b.wrappingColumn*K.typicalHalfwidthCharacterWidth,i._renderResult=null,i._context.addEventHandler(i),i}return o.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,V.prototype.dispose.call(this)},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(108),b=i.get(34);return this._lineHeight=i.get(49),this._spaceWidth=b.spaceWidth,this._enabled=i.get(70),this._activeIndentEnabled=i.get(43),this._maxIndentLeft=g.wrappingColumn===-1?-1:g.wrappingColumn*b.typicalHalfwidthCharacterWidth,!0},o.prototype.onCursorStateChanged=function(t){var i=t.selections[0],g=i.isEmpty()?i.positionLineNumber:0;return this._primaryLineNumber!==g?(this._primaryLineNumber=g,!0):!1},o.prototype.onDecorationsChanged=function(t){return!0},o.prototype.onFlushed=function(t){return!0},o.prototype.onLinesChanged=function(t){return!0},o.prototype.onLinesDeleted=function(t){return!0},o.prototype.onLinesInserted=function(t){return!0},o.prototype.onScrollChanged=function(t){return t.scrollTopChanged},o.prototype.onZonesChanged=function(t){return!0},o.prototype.onLanguageConfigurationChanged=function(t){return!0},o.prototype.prepareRender=function(t){if(!this._enabled){this._renderResult=null;return}var i=t.visibleRange.startLineNumber,g=t.visibleRange.endLineNumber,b=this._context.model.getOptions().indentSize,K=b*this._spaceWidth,Ie=t.scrollWidth,Le=this._lineHeight,qe=this._context.model.getLinesIndentGuides(i,g),ct=0,wt=0,et=0;if(this._activeIndentEnabled&&this._primaryLineNumber){var Wt=this._context.model.getActiveIndentGuide(this._primaryLineNumber,i,g);ct=Wt.startLineNumber,wt=Wt.endLineNumber,et=Wt.indent}for(var kt=[],Vt=i;Vt<=g;Vt++){var qt=ct<=Vt&&Vt<=wt,$t=Vt-i,io=qe[$t],yo="";if(io>=1)for(var mo=t.visibleRangeForPosition(new oe.a(Vt,1)),bo=mo?mo.left:0,go=1;go<=io;go++){var Lo=qt&&go===et?"cigra":"cigr";if(yo+='
',bo+=K,bo>Ie||this._maxIndentLeft>0&&bo>this._maxIndentLeft)break}kt[$t]=yo}this._renderResult=kt},o.prototype.render=function(t,i){if(!this._renderResult)return"";var g=i-t;return g<0||g>=this._renderResult.length?"":this._renderResult[g]},o}(ke);Object(X.e)(function(V,o){var t=V.getColor(lt.h);t&&o.addRule(".monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 "+t+" inset; }");var i=V.getColor(lt.a)||t;i&&o.addRule(".monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 "+i+" inset; }")});var On=e("OKK6"),Un=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Rn=function(){function V(){this._currentVisibleRange=new be.a(1,1,1,1)}return V.prototype.getCurrentVisibleRange=function(){return this._currentVisibleRange},V.prototype.setCurrentVisibleRange=function(o){this._currentVisibleRange=o},V}(),ai=function(){function V(o,t,i,g,b,K){this.lineNumber=o,this.startColumn=t,this.endColumn=i,this.startScrollTop=g,this.stopScrollTop=b,this.scrollType=K}return V}(),bi=function(V){Un(o,V);function o(t,i){var g=V.call(this,t)||this;g._linesContent=i,g._textRangeRestingSpot=document.createElement("div"),g._visibleLines=new Ht(g),g.domNode=g._visibleLines.domNode;var b=g._context.configuration,K=g._context.configuration.options,Ie=K.get(34),Le=K.get(108);return g._lineHeight=K.get(49),g._typicalHalfwidthCharacterWidth=Ie.typicalHalfwidthCharacterWidth,g._isViewportWrapping=Le.isViewportWrapping,g._revealHorizontalRightPadding=K.get(75),g._cursorSurroundingLines=K.get(19),g._cursorSurroundingLinesStyle=K.get(20),g._canUseLayerHinting=!K.get(22),g._viewLineOptions=new we(b,g._context.theme.type),le.write(g.domNode,7),g.domNode.setClassName("view-lines"),U.a.applyFontInfo(g.domNode,Ie),g._maxLineWidth=0,g._asyncUpdateLineWidths=new p.d(function(){g._updateLineWidthsSlow()},200),g._lastRenderedData=new Rn,g._horizontalRevealRequest=null,g}return o.prototype.dispose=function(){this._asyncUpdateLineWidths.dispose(),V.prototype.dispose.call(this)},o.prototype.getDomNode=function(){return this.domNode},o.prototype.createVisibleLine=function(){return new Re(this._viewLineOptions)},o.prototype.onConfigurationChanged=function(t){this._visibleLines.onConfigurationChanged(t),t.hasChanged(108)&&(this._maxLineWidth=0);var i=this._context.configuration.options,g=i.get(34),b=i.get(108);return this._lineHeight=i.get(49),this._typicalHalfwidthCharacterWidth=g.typicalHalfwidthCharacterWidth,this._isViewportWrapping=b.isViewportWrapping,this._revealHorizontalRightPadding=i.get(75),this._cursorSurroundingLines=i.get(19),this._cursorSurroundingLinesStyle=i.get(20),this._canUseLayerHinting=!i.get(22),U.a.applyFontInfo(this.domNode,g),this._onOptionsMaybeChanged(),t.hasChanged(107)&&(this._maxLineWidth=0),!0},o.prototype._onOptionsMaybeChanged=function(){var t=this._context.configuration,i=new we(t,this._context.theme.type);if(!this._viewLineOptions.equals(i)){this._viewLineOptions=i;for(var g=this._visibleLines.getStartLineNumber(),b=this._visibleLines.getEndLineNumber(),K=g;K<=b;K++){var Ie=this._visibleLines.getVisibleLine(K);Ie.onOptionsChanged(this._viewLineOptions)}return!0}return!1},o.prototype.onCursorStateChanged=function(t){for(var i=this._visibleLines.getStartLineNumber(),g=this._visibleLines.getEndLineNumber(),b=!1,K=i;K<=g;K++)b=this._visibleLines.getVisibleLine(K).onSelectionChanged()||b;return b},o.prototype.onDecorationsChanged=function(t){for(var i=this._visibleLines.getStartLineNumber(),g=this._visibleLines.getEndLineNumber(),b=i;b<=g;b++)this._visibleLines.getVisibleLine(b).onDecorationsChanged();return!0},o.prototype.onFlushed=function(t){var i=this._visibleLines.onFlushed(t);return this._maxLineWidth=0,i},o.prototype.onLinesChanged=function(t){return this._visibleLines.onLinesChanged(t)},o.prototype.onLinesDeleted=function(t){return this._visibleLines.onLinesDeleted(t)},o.prototype.onLinesInserted=function(t){return this._visibleLines.onLinesInserted(t)},o.prototype.onRevealRangeRequest=function(t){var i=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),t.source,t.range,t.verticalType),g=this._context.viewLayout.validateScrollPosition({scrollTop:i});t.revealHorizontal?t.range.startLineNumber!==t.range.endLineNumber?g={scrollTop:g.scrollTop,scrollLeft:0}:this._horizontalRevealRequest=new ai(t.range.startLineNumber,t.range.startColumn,t.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),g.scrollTop,t.scrollType):this._horizontalRevealRequest=null;var b=Math.abs(this._context.viewLayout.getCurrentScrollTop()-g.scrollTop);return t.scrollType===0&&b>this._lineHeight?this._context.viewLayout.setScrollPositionSmooth(g):this._context.viewLayout.setScrollPositionNow(g),!0},o.prototype.onScrollChanged=function(t){if(this._horizontalRevealRequest&&t.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&t.scrollTopChanged){var i=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),g=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(t.scrollTopg)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(t.scrollWidth),this._visibleLines.onScrollChanged(t)||!0},o.prototype.onTokensChanged=function(t){return this._visibleLines.onTokensChanged(t)},o.prototype.onZonesChanged=function(t){return this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth),this._visibleLines.onZonesChanged(t)},o.prototype.onThemeChanged=function(t){return this._onOptionsMaybeChanged()},o.prototype.getPositionFromDOMInfo=function(t,i){var g=this._getViewLineDomNode(t);if(g===null)return null;var b=this._getLineNumberFor(g);if(b===-1)return null;if(b<1||b>this._context.model.getLineCount())return null;if(this._context.model.getLineMaxColumn(b)===1)return new oe.a(b,1);var K=this._visibleLines.getStartLineNumber(),Ie=this._visibleLines.getEndLineNumber();if(bIe)return null;var Le=this._visibleLines.getVisibleLine(b).getColumnOfNodeOffset(b,t,i),qe=this._context.model.getLineMinColumn(b);return Leg?-1:this._visibleLines.getVisibleLine(t).getWidth()},o.prototype.linesVisibleRangesForRange=function(t,i){if(this.shouldRender())return null;var g=t.endLineNumber,b=be.a.intersectRanges(t,this._lastRenderedData.getCurrentVisibleRange());if(!b)return null;var K=[],Ie=0,Le=new ge(this.domNode.domNode,this._textRangeRestingSpot),qe=0;i&&(qe=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new oe.a(b.startLineNumber,1)).lineNumber);for(var ct=this._visibleLines.getStartLineNumber(),wt=this._visibleLines.getEndLineNumber(),et=b.startLineNumber;et<=b.endLineNumber;et++){if(etwt)continue;var Wt=et===b.startLineNumber?b.startColumn:1,kt=et===b.endLineNumber?b.endColumn:this._context.model.getLineMaxColumn(et),Vt=this._visibleLines.getVisibleLine(et).getVisibleRangesForRange(Wt,kt,Le);if(!Vt)continue;if(i&&etthis._visibleLines.getEndLineNumber())?null:this._visibleLines.getVisibleLine(t).getVisibleRangesForRange(i,g,new ge(this.domNode.domNode,this._textRangeRestingSpot))},o.prototype.visibleRangeForPosition=function(t){var i=this._visibleRangesForLineRange(t.lineNumber,t.column,t.column);return i?new Pe(i.outsideRenderedLine,i.ranges[0].left):null},o.prototype.updateLineWidths=function(){this._updateLineWidths(!1)},o.prototype._updateLineWidthsFast=function(){return this._updateLineWidths(!0)},o.prototype._updateLineWidthsSlow=function(){this._updateLineWidths(!1)},o.prototype._updateLineWidths=function(t){for(var i=this._visibleLines.getStartLineNumber(),g=this._visibleLines.getEndLineNumber(),b=1,K=!0,Ie=i;Ie<=g;Ie++){var Le=this._visibleLines.getVisibleLine(Ie);if(t&&!Le.getWidthIsFast()){K=!1;continue}b=Math.max(b,Le.getWidth())}return K&&i===1&&g===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(b),K},o.prototype.prepareRender=function(){throw new Error("Not supported")},o.prototype.render=function(){throw new Error("Not supported")},o.prototype.renderText=function(t){if(this._visibleLines.renderLines(t),this._lastRenderedData.setCurrentVisibleRange(t.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){var i=this._horizontalRevealRequest.lineNumber,g=this._horizontalRevealRequest.startColumn,b=this._horizontalRevealRequest.endColumn,K=this._horizontalRevealRequest.scrollType;if(t.startLineNumber<=i&&i<=t.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();var Ie=this._computeScrollLeftToRevealRange(i,g,b),Le=this._isViewportWrapping;Le||this._ensureMaxLineWidth(Ie.maxHorizontalOffset),K===0?this._context.viewLayout.setScrollPositionSmooth({scrollLeft:Ie.scrollLeft}):this._context.viewLayout.setScrollPositionNow({scrollLeft:Ie.scrollLeft})}}this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");var qe=this._context.viewLayout.getCurrentScrollTop()-t.bigNumbersDelta;this._linesContent.setTop(-qe),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())},o.prototype._ensureMaxLineWidth=function(t){var i=Math.ceil(t);this._maxLineWidthIe)Wt=qe;else if(b===1||b===2)if(b===2&&K<=qe&&ct<=Le)Wt=K;else{var kt=(qe+ct)/2;Wt=Math.max(0,kt-Ie/2)}else Wt=this._computeMinimumScrolling(K,Le,qe,ct,b===3,b===4);return Wt},o.prototype._computeScrollLeftToRevealRange=function(t,i,g){var b=0,K=this._context.viewLayout.getCurrentViewport(),Ie=K.left,Le=Ie+K.width,qe=this._visibleRangesForLineRange(t,i,g),ct=1073741824,wt=0;if(!qe)return{scrollLeft:Ie,maxHorizontalOffset:b};for(var et=0,Wt=qe.ranges;etwt&&(wt=kt.left+kt.width)}b=wt,ct=Math.max(0,ct-o.HORIZONTAL_EXTRA_PX),wt+=this._revealHorizontalRightPadding;var Vt=this._computeMinimumScrolling(Ie,Le,ct,wt);return{scrollLeft:Vt,maxHorizontalOffset:b}},o.prototype._computeMinimumScrolling=function(t,i,g,b,K,Ie){t=t|0,i=i|0,g=g|0,b=b|0,K=!!K,Ie=!!Ie;var Le=i-t,qe=b-g;if(qei)return Math.max(0,b-Le)}else return g;return t},o.HORIZONTAL_EXTRA_PX=30,o}(B),kn=e("J+ZK"),Qn=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Yr=function(V){Qn(o,V);function o(t){var i=V.call(this)||this;i._context=t;var g=i._context.configuration.options,b=g.get(107);return i._decorationsLeft=b.decorationsLeft,i._decorationsWidth=b.decorationsWidth,i._renderResult=null,i._context.addEventHandler(i),i}return o.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,V.prototype.dispose.call(this)},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(107);return this._decorationsLeft=g.decorationsLeft,this._decorationsWidth=g.decorationsWidth,!0},o.prototype.onDecorationsChanged=function(t){return!0},o.prototype.onFlushed=function(t){return!0},o.prototype.onLinesChanged=function(t){return!0},o.prototype.onLinesDeleted=function(t){return!0},o.prototype.onLinesInserted=function(t){return!0},o.prototype.onScrollChanged=function(t){return t.scrollTopChanged},o.prototype.onZonesChanged=function(t){return!0},o.prototype._getDecorations=function(t){for(var i=t.getDecorationsInViewport(),g=[],b=0,K=0,Ie=i.length;K
',qe=[],ct=i;ct<=g;ct++){for(var wt=ct-i,et=b[wt],Wt="",kt=0,Vt=et.length;kt';K[Le]=ct}this._renderResult=K},o.prototype.render=function(t,i){return this._renderResult?this._renderResult[i-t]:""},o}(xo),Zr=e("8gvo"),Gi=function(){function V(o,t,i,g){this.r=V._clamp(o),this.g=V._clamp(t),this.b=V._clamp(i),this.a=V._clamp(g)}return V._clamp=function(o){return o<0?0:o>255?255:o|0},V.Empty=new V(0,0,0,0),V}(),$o=e("twdY"),li=function(){function V(){var o=this;this._onDidChange=new H.a,this.onDidChange=this._onDidChange.event,this._updateColorMap(),$o.B.onDidChange(function(t){t.changedColorMap&&o._updateColorMap()})}return V.getInstance=function(){return this._INSTANCE||(this._INSTANCE=new V),this._INSTANCE},V.prototype._updateColorMap=function(){var o=$o.B.getColorMap();if(!o){this._colors=[Gi.Empty],this._backgroundIsLight=!0;return}this._colors=[Gi.Empty];for(var t=1;t=.5,this._onDidChange.fire(void 0)},V.prototype.getColor=function(o){return(o<1||o>=this._colors.length)&&(o=2),this._colors[o]},V.prototype.backgroundIsLight=function(){return this._backgroundIsLight},V._INSTANCE=null,V}(),Tn=e("MD5Z"),yr=function(){for(var V=[],o=32;o<=126;o++)V.push(o);return V.push(65533),V}(),Qr=function(o,t){return o-=32,o<0||o>96?t<=2?(o+96)%96:96-1:o},xn=function(){function V(o,t){this.scale=t,this.charDataNormal=V.soften(o,12/15),this.charDataLight=V.soften(o,50/60)}return V.soften=function(o,t){for(var i=new Uint8ClampedArray(o.length),g=0,b=o.length;go.width||i+ct>o.height){console.warn("bad render request outside image data");return}for(var wt=Le?this.charDataLight:this.charDataNormal,et=Qr(g,Ie),Wt=o.width*4,kt=K.r,Vt=K.g,qt=K.b,$t=b.r-kt,io=b.g-Vt,yo=b.b-qt,mo=o.data,bo=et*qe*ct,go=i*Wt+t*4,Lo=0;Loo.width||i+Le>o.height){console.warn("bad render request outside image data");return}for(var qe=o.width*4,ct=.5,wt=b.r,et=b.g,Wt=b.b,kt=g.r-wt,Vt=g.g-et,qt=g.b-Wt,$t=wt+kt*ct,io=et+Vt*ct,yo=Wt+qt*ct,mo=o.data,bo=i*qe+t*4,go=0;go>1]=Xi[o[i]]<<4|Xi[o[i+1]]&15;return t},Yi={1:Object($n.a)(function(){return br("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")}),2:Object($n.a)(function(){return br("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126")})},di=function(){function V(){}return V.create=function(o,t){if(this.lastCreated&&o===this.lastCreated.scale&&t===this.lastFontFamily)return this.lastCreated;var i;return Yi[o]?i=new xn(Yi[o](),o):i=V.createFromSampleData(V.createSampleData(t).data,o),this.lastFontFamily=t,this.lastCreated=i,i},V.createSampleData=function(o){var t=document.createElement("canvas"),i=t.getContext("2d");t.style.height=16+"px",t.height=16,t.width=96*10,t.style.width=96*10+"px",i.fillStyle="#ffffff",i.font="bold "+16+"px "+o,i.textBaseline="middle";for(var g=0,b=0,K=yr;b0)for(var ct=255/Le,wt=0;wt=K+mo){var bo=1,go=K;return new V(Ie,Le,io,yo,kt,bo,go)}else{var bo=Math.max(1,Math.floor(t-yo*ct/wt));qe&&qe.scrollHeight===Le&&(qe.scrollTop>Ie&&(bo=Math.min(bo,qe.startLineNumber)),qe.scrollTopJr){i._context.viewLayout.setScrollPositionNow({scrollTop:Ie.scrollTop});return}var ct=Le.posy-b;i._context.viewLayout.setScrollPositionNow({scrollTop:Ie.getDesiredScrollTopFromDelta(ct)})},function(){i._slider.toggleClassName("active",!1)})}}),i._gestureDisposable=f.b.addTarget(i._domNode.domNode),i._sliderTouchStartListener=J.j(i._domNode.domNode,f.a.Start,function(g){g.preventDefault(),g.stopPropagation(),i._lastRenderData&&(i._slider.toggleClassName("active",!0),i._gestureInProgress=!0,i.scrollDueToTouchEvent(g))}),i._sliderTouchMoveListener=J.o(i._domNode.domNode,f.a.Change,function(g){g.preventDefault(),g.stopPropagation(),i._lastRenderData&&i._gestureInProgress&&i.scrollDueToTouchEvent(g)}),i._sliderTouchEndListener=J.o(i._domNode.domNode,f.a.End,function(g){g.preventDefault(),g.stopPropagation(),i._gestureInProgress=!1,i._slider.toggleClassName("active",!1)}),i}return o.prototype.scrollDueToTouchEvent=function(t){var i=this._domNode.domNode.getBoundingClientRect().top,g=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(t.pageY-i);this._context.viewLayout.setScrollPositionNow({scrollTop:g})},o.prototype.dispose=function(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),V.prototype.dispose.call(this)},o.prototype._getMinimapDomNodeClassName=function(){return this._options.showSlider==="always"?"minimap slider-always":"minimap slider-mouseover"},o.prototype.getDomNode=function(){return this._domNode},o.prototype._applyLayout=function(){this._domNode.setLeft(this._options.minimapLeft),this._domNode.setWidth(this._options.minimapWidth),this._domNode.setHeight(this._options.minimapHeight),this._shadow.setHeight(this._options.minimapHeight),this._canvas.setWidth(this._options.canvasOuterWidth),this._canvas.setHeight(this._options.canvasOuterHeight),this._canvas.domNode.width=this._options.canvasInnerWidth,this._canvas.domNode.height=this._options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._options.canvasInnerHeight,this._slider.setWidth(this._options.minimapWidth)},o.prototype._getBuffer=function(){return this._buffers||this._options.canvasInnerWidth>0&&this._options.canvasInnerHeight>0&&(this._buffers=new wr(this._canvas.domNode.getContext("2d"),this._options.canvasInnerWidth,this._options.canvasInnerHeight,this._tokensColorTracker.getColor(2))),this._buffers?this._buffers.getBuffer():null},o.prototype._onOptionsMaybeChanged=function(){var t=new Qi(this._context.configuration);return this._options.equals(t)?!1:(this._options=t,this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName()),!0)},o.prototype.onConfigurationChanged=function(t){return this._onOptionsMaybeChanged()},o.prototype.onCursorStateChanged=function(t){return this._selections=t.selections,this._renderDecorations=!0,!0},o.prototype.onFlushed=function(t){return this._lastRenderData=null,!0},o.prototype.onLinesChanged=function(t){return this._lastRenderData?this._lastRenderData.onLinesChanged(t):!1},o.prototype.onLinesDeleted=function(t){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(t),!0},o.prototype.onLinesInserted=function(t){return this._lastRenderData&&this._lastRenderData.onLinesInserted(t),!0},o.prototype.onScrollChanged=function(t){return this._renderDecorations=!0,!0},o.prototype.onTokensChanged=function(t){return this._lastRenderData?this._lastRenderData.onTokensChanged(t):!1},o.prototype.onTokensColorsChanged=function(t){return this._lastRenderData=null,this._buffers=null,!0},o.prototype.onZonesChanged=function(t){return this._lastRenderData=null,!0},o.prototype.onDecorationsChanged=function(t){return this._renderDecorations=!0,!0},o.prototype.onThemeChanged=function(t){return this._context.model.invalidateMinimapColorCache(),this._selectionColor=this._context.theme.getColor(Tn.Ib),this._renderDecorations=!0,!0},o.prototype.prepareRender=function(t){},o.prototype.render=function(t){var i=this._options.renderMinimap;if(i===0){this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),this._sliderHorizontal.setHeight(0);return}t.scrollLeft+t.viewportWidth>=t.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");var g=qr.create(this._options,t.visibleRange.startLineNumber,t.visibleRange.endLineNumber,t.viewportHeight,t.viewportData.whitespaceViewportData.length>0,this._context.model.getLineCount(),t.scrollTop,t.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setTop(g.sliderTop),this._slider.setHeight(g.sliderHeight);var b=t.scrollLeft/this._options.typicalHalfwidthCharacterWidth,K=Math.min(this._options.minimapWidth,Math.round(b*Zi(this._options.renderMinimap,this._options.fontScale)/this._options.pixelRatio));this._sliderHorizontal.setLeft(K),this._sliderHorizontal.setWidth(this._options.minimapWidth-K),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(g.sliderHeight),this.renderDecorations(g),this._lastRenderData=this.renderLines(g)},o.prototype.renderDecorations=function(t){if(this._renderDecorations){this._renderDecorations=!1;var i=this._context.model.getDecorationsInViewport(new be.a(t.startLineNumber,1,t.endLineNumber,this._context.model.getLineMaxColumn(t.endLineNumber))),g=this._options,b=g.renderMinimap,K=g.canvasInnerWidth,Ie=g.canvasInnerHeight,Le=_n(b,this._options.fontScale),qe=Zi(b,this._options.fontScale),ct=this._context.model.getOptions().tabSize,wt=this._decorationsCanvas.domNode.getContext("2d");wt.clearRect(0,0,K,Ie);for(var et=new Map,Wt=0;Wtthis._options.canvasInnerHeight)return;var Wt=i.get(Ie),kt=!Wt;if(!Wt){var Vt=this._context.model.getLineContent(Ie);Wt=[he.f];for(var qt=1;qtIe?Wt.length-1:mo-1;if(No>0){var Fo=Wt[No]-Lo||2;this.renderDecoration(t,b,Lo,et,Fo,Le)}kt&&this.renderLineHighlight(t,b,et,Le)},o.prototype.renderLineHighlight=function(t,i,g,b){t.fillStyle=i&&i.transparent(.5).toString()||"",t.fillRect(he.f,g,t.canvas.width,b)},o.prototype.renderDecoration=function(t,i,g,b,K,Ie){t.fillStyle=i&&i.toString()||"",t.fillRect(g,b,K,Ie)},o.prototype.renderLines=function(t){var i=this._options.renderMinimap,g=this._options.charRenderer(),b=t.startLineNumber,K=t.endLineNumber,Ie=_n(i,this._options.fontScale);if(this._lastRenderData&&this._lastRenderData.linesEquals(t)){var Le=this._lastRenderData._get();return new Er(t,Le.imageData,Le.lines)}var qe=this._getBuffer();if(!qe)return null;for(var ct=o._renderUntouchedLines(qe,b,K,Ie,this._lastRenderData),wt=ct[0],et=ct[1],Wt=ct[2],kt=this._context.model.getMinimapLinesRenderingData(b,K,Wt),Vt=kt.tabSize,qt=this._tokensColorTracker.getColor(2),$t=this._tokensColorTracker.backgroundIsLight(),io=0,yo=[],mo=0,bo=K-b+1;mo=0&&PoVt)return;var No=et.charCodeAt($t);if(No===9){var Fo=qe-($t+io)%qe;io+=Fo-1,qt+=Fo*kt}else if(No===32)qt+=kt;else for(var Xo=fe.y(No)?2:1,Po=0;PoVt)return}},o}(B);Object(X.e)(function(V,o){var t=V.getColor(Tn.Xb);if(t){var i=t.transparent(.5);o.addRule(".monaco-editor .minimap-slider, .monaco-editor .minimap-slider .minimap-slider-horizontal { background: "+i+"; }")}var g=V.getColor(Tn.Yb);if(g){var b=g.transparent(.5);o.addRule(".monaco-editor .minimap-slider:hover, .monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: "+b+"; }")}var K=V.getColor(Tn.Wb);if(K){var Ie=K.transparent(.5);o.addRule(".monaco-editor .minimap-slider.active, .monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: "+Ie+"; }")}var Le=V.getColor(Tn.Vb);Le&&o.addRule(".monaco-editor .minimap-shadow-visible { box-shadow: "+Le+" -6px 0 6px -6px inset; }")});var na=e("cl4r"),ts=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),_r=function(V){ts(o,V);function o(t){var i=V.call(this,t)||this,g=i._context.configuration.options,b=g.get(107);return i._widgets={},i._verticalScrollbarWidth=b.verticalScrollbarWidth,i._minimapWidth=b.minimapWidth,i._horizontalScrollbarHeight=b.horizontalScrollbarHeight,i._editorHeight=b.height,i._editorWidth=b.width,i._domNode=Object(y.b)(document.createElement("div")),le.write(i._domNode,4),i._domNode.setClassName("overlayWidgets"),i}return o.prototype.dispose=function(){V.prototype.dispose.call(this),this._widgets={}},o.prototype.getDomNode=function(){return this._domNode},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(107);return this._verticalScrollbarWidth=g.verticalScrollbarWidth,this._minimapWidth=g.minimapWidth,this._horizontalScrollbarHeight=g.horizontalScrollbarHeight,this._editorHeight=g.height,this._editorWidth=g.width,!0},o.prototype.addWidget=function(t){var i=Object(y.b)(t.getDomNode());this._widgets[t.getId()]={widget:t,preference:null,domNode:i},i.setPosition("absolute"),i.setAttribute("widgetId",t.getId()),this._domNode.appendChild(i),this.setShouldRender()},o.prototype.setWidgetPosition=function(t,i){var g=this._widgets[t.getId()];return g.preference===i?!1:(g.preference=i,this.setShouldRender(),!0)},o.prototype.removeWidget=function(t){var i=t.getId();if(this._widgets.hasOwnProperty(i)){var g=this._widgets[i],b=g.domNode.domNode;delete this._widgets[i],b.parentNode.removeChild(b),this.setShouldRender()}},o.prototype._renderWidget=function(t){var i=t.domNode;if(t.preference===null){i.unsetTop();return}if(t.preference===0)i.setTop(0),i.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(t.preference===1){var g=i.domNode.clientHeight;i.setTop(this._editorHeight-g-2*this._horizontalScrollbarHeight),i.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else t.preference===2&&(i.setTop(0),i.domNode.style.right="50%")},o.prototype.prepareRender=function(t){},o.prototype.render=function(t){this._domNode.setWidth(this._editorWidth);for(var i=Object.keys(this._widgets),g=0,b=i.length;g=3){var b=Math.floor(g/3),K=Math.floor(g/3),Ie=g-b-K,Le=o,qe=Le+b,ct=Le+b+Ie;return[[0,Le,qe,Le,ct,Le,qe,Le],[0,b,Ie,b+Ie,K,b+Ie+K,Ie+K,b+Ie+K]]}else if(i===2){var b=Math.floor(g/2),K=g-b,Le=o,ct=Le+b;return[[0,Le,Le,Le,ct,Le,Le,Le],[0,b,b,b,K,b+K,b+K,b+K]]}else{var wt=o,et=g;return[[0,wt,wt,wt,wt,wt,wt,wt],[0,et,et,et,et,et,et,et]]}},V.prototype.equals=function(o){return this.lineHeight===o.lineHeight&&this.pixelRatio===o.pixelRatio&&this.overviewRulerLanes===o.overviewRulerLanes&&this.renderBorder===o.renderBorder&&this.borderColor===o.borderColor&&this.hideCursor===o.hideCursor&&this.cursorColor===o.cursorColor&&this.themeType===o.themeType&&this.backgroundColor===o.backgroundColor&&this.top===o.top&&this.right===o.right&&this.domWidth===o.domWidth&&this.domHeight===o.domHeight&&this.canvasWidth===o.canvasWidth&&this.canvasHeight===o.canvasHeight},V}(),os=function(V){Sr(o,V);function o(t){var i=V.call(this,t)||this;return i._domNode=Object(y.b)(document.createElement("canvas")),i._domNode.setClassName("decorationsOverviewRuler"),i._domNode.setPosition("absolute"),i._domNode.setLayerHinting(!0),i._domNode.setContain("strict"),i._domNode.setAttribute("aria-hidden","true"),i._updateSettings(!1),i._tokensColorTrackerListener=$o.B.onDidChange(function(g){g.changedColorMap&&i._updateSettings(!0)}),i._cursorPositions=[],i}return o.prototype.dispose=function(){V.prototype.dispose.call(this),this._tokensColorTrackerListener.dispose()},o.prototype._updateSettings=function(t){var i=new Oi(this._context.configuration,this._context.theme);return this._settings&&this._settings.equals(i)?!1:(this._settings=i,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,t&&this._render(),!0)},o.prototype.onConfigurationChanged=function(t){return this._updateSettings(!1)},o.prototype.onCursorStateChanged=function(t){this._cursorPositions=[];for(var i=0,g=t.selections.length;ii&&(cn=i-ct),Po=cn-ct,nn=cn+ct}Po>bo+1||No!==yo?(go!==0&&wt.fillRect(et[yo],mo,Wt[yo],bo-mo),yo=No,mo=Po,bo=nn):nn>bo&&(bo=nn)}wt.fillRect(et[yo],mo,Wt[yo],bo-mo)}if(!this._settings.hideCursor&&this._settings.cursorColor){var Nn=2*this._settings.pixelRatio|0,hn=Nn/2|0,Wn=this._settings.x[7],Fn=this._settings.w[7];wt.fillStyle=this._settings.cursorColor;for(var mo=-100,bo=-100,go=0,Lo=this._cursorPositions.length;goi&&(cn=i-hn);var Po=cn-hn,nn=Po+Nn;Po>bo+1?(go!==0&&wt.fillRect(Wn,mo,Fn,bo-mo),mo=Po,bo=nn):nn>bo&&(bo=nn)}wt.fillRect(Wn,mo,Fn,bo-mo)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(wt.beginPath(),wt.lineWidth=1,wt.strokeStyle=this._settings.borderColor,wt.moveTo(0,0),wt.lineTo(0,i),wt.stroke(),wt.moveTo(0,0),wt.lineTo(t,0),wt.stroke())},o}(B),ns=e("MvK1"),is=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),rs=function(V){is(o,V);function o(t,i){var g=V.call(this)||this;g._context=t;var b=g._context.configuration.options;return g._domNode=Object(y.b)(document.createElement("canvas")),g._domNode.setClassName(i),g._domNode.setPosition("absolute"),g._domNode.setLayerHinting(!0),g._domNode.setContain("strict"),g._zoneManager=new ns.b(function(K){return g._context.viewLayout.getVerticalOffsetForLineNumber(K)}),g._zoneManager.setDOMWidth(0),g._zoneManager.setDOMHeight(0),g._zoneManager.setOuterHeight(g._context.viewLayout.getScrollHeight()),g._zoneManager.setLineHeight(b.get(49)),g._zoneManager.setPixelRatio(b.get(105)),g._context.addEventHandler(g),g}return o.prototype.dispose=function(){this._context.removeEventHandler(this),V.prototype.dispose.call(this)},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options;return t.hasChanged(49)&&(this._zoneManager.setLineHeight(i.get(49)),this._render()),t.hasChanged(105)&&(this._zoneManager.setPixelRatio(i.get(105)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0},o.prototype.onFlushed=function(t){return this._render(),!0},o.prototype.onScrollChanged=function(t){return t.scrollHeightChanged&&(this._zoneManager.setOuterHeight(t.scrollHeight),this._render()),!0},o.prototype.onZonesChanged=function(t){return this._render(),!0},o.prototype.getDomNode=function(){return this._domNode.domNode},o.prototype.setLayout=function(t){this._domNode.setTop(t.top),this._domNode.setRight(t.right);var i=!1;i=this._zoneManager.setDOMWidth(t.width)||i,i=this._zoneManager.setDOMHeight(t.height)||i,i&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())},o.prototype.setZones=function(t){this._zoneManager.setZones(t),this._render()},o.prototype._render=function(){if(this._zoneManager.getOuterHeight()===0)return!1;var t=this._zoneManager.getCanvasWidth(),i=this._zoneManager.getCanvasHeight(),g=this._zoneManager.resolveColorZones(),b=this._zoneManager.getId2Color(),K=this._domNode.domNode.getContext("2d");return K.clearRect(0,0,t,i),g.length>0&&this._renderOneLane(K,g,b,t),!0},o.prototype._renderOneLane=function(t,i,g,b){for(var K=0,Ie=0,Le=0,qe=0,ct=i;qe=Wt?Le=Math.max(Le,kt):(t.fillRect(0,Ie,b,Le-Ie),Ie=Wt,Le=kt)}t.fillRect(0,Ie,b,Le-Ie)},o}(ie),ia=e("7zd4"),ss=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),as=function(V){ss(o,V);function o(t){var i=V.call(this,t)||this;i.domNode=Object(y.b)(document.createElement("div")),i.domNode.setAttribute("role","presentation"),i.domNode.setAttribute("aria-hidden","true"),i.domNode.setClassName("view-rulers"),i._renderedRulers=[];var g=i._context.configuration.options;return i._rulers=g.get(77),i._typicalHalfwidthCharacterWidth=g.get(34).typicalHalfwidthCharacterWidth,i}return o.prototype.dispose=function(){V.prototype.dispose.call(this)},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options;return this._rulers=i.get(77),this._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,!0},o.prototype.onScrollChanged=function(t){return t.scrollHeightChanged},o.prototype.prepareRender=function(t){},o.prototype._ensureRulersCount=function(){var t=this._renderedRulers.length,i=this._rulers.length;if(t===i)return;if(t0;){var Ie=Object(y.b)(document.createElement("div"));Ie.setClassName("view-ruler"),Ie.setWidth(b),this.domNode.appendChild(Ie),this._renderedRulers.push(Ie),K--}return}for(var Le=t-i;Le>0;){var Ie=this._renderedRulers.pop();this.domNode.removeChild(Ie),Le--}},o.prototype.render=function(t){this._ensureRulersCount();for(var i=0,g=this._rulers.length;i0;return this._shouldShow!==t?(this._shouldShow=t,!0):!1},o.prototype.getDomNode=function(){return this._domNode},o.prototype._updateWidth=function(){var t=this._context.configuration.options,i=t.get(107);i.renderMinimap===0||i.minimapWidth>0&&i.minimapLeft===0?this._width=i.width:this._width=i.width-i.minimapWidth-i.verticalScrollbarWidth},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options,g=i.get(78);return this._useShadows=g.useShadows,this._updateWidth(),this._updateShouldShow(),!0},o.prototype.onScrollChanged=function(t){return this._scrollTop=t.scrollTop,this._updateShouldShow()},o.prototype.prepareRender=function(t){},o.prototype.render=function(t){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")},o}(B);Object(X.e)(function(V,o){var t=V.getColor(Tn.Vb);t&&o.addRule(".monaco-editor .scroll-decoration { box-shadow: "+t+" 0 6px 6px -6px inset; }")});var cs=e("eC1c"),Lr=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Mr=function(){function V(o){this.left=o.left,this.width=o.width,this.startStyle=null,this.endStyle=null}return V}(),Dr=function(){function V(o,t){this.lineNumber=o,this.ranges=t}return V}();function us(V){return new Mr(V)}function hs(V){return new Dr(V.lineNumber,V.ranges.map(us))}var fs=v.f,ms=function(V){Lr(o,V);function o(t){var i=V.call(this)||this;i._previousFrameVisibleRangesWithStyle=[],i._context=t;var g=i._context.configuration.options;return i._lineHeight=g.get(49),i._roundedSelection=g.get(76),i._typicalHalfwidthCharacterWidth=g.get(34).typicalHalfwidthCharacterWidth,i._selections=[],i._renderResult=null,i._context.addEventHandler(i),i}return o.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,V.prototype.dispose.call(this)},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options;return this._lineHeight=i.get(49),this._roundedSelection=i.get(76),this._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,!0},o.prototype.onCursorStateChanged=function(t){return this._selections=t.selections.slice(0),!0},o.prototype.onDecorationsChanged=function(t){return!0},o.prototype.onFlushed=function(t){return!0},o.prototype.onLinesChanged=function(t){return!0},o.prototype.onLinesDeleted=function(t){return!0},o.prototype.onLinesInserted=function(t){return!0},o.prototype.onScrollChanged=function(t){return t.scrollTopChanged},o.prototype.onZonesChanged=function(t){return!0},o.prototype._visibleRangesHaveGaps=function(t){for(var i=0,g=t.length;i1)return!0}return!1},o.prototype._enrichVisibleRangesWithStyle=function(t,i,g){var b=this._typicalHalfwidthCharacterWidth/4,K=null,Ie=null;if(g&&g.length>0&&i.length>0){var Le=i[0].lineNumber;if(Le===t.startLineNumber)for(var qe=0;!K&&qe=0;qe--)g[qe].lineNumber===ct&&(Ie=g[qe].ranges[0]);K&&!K.startStyle&&(K=null),Ie&&!Ie.startStyle&&(Ie=null)}for(var qe=0,wt=i.length;qe0){var $t=i[qe-1].ranges[0].left,io=i[qe-1].ranges[0].left+i[qe-1].ranges[0].width;oi(Wt-$t)$t&&(Vt.top=1),oi(kt-io)'},o.prototype._actualRenderOneSelection=function(t,i,g,b){if(b.length===0)return;for(var K=!!b[0].ranges[0].startStyle,Ie=this._lineHeight.toString(),Le=(this._lineHeight-1).toString(),qe=b[0].lineNumber,ct=b[b.length-1].lineNumber,wt=0,et=b.length;wt1,et)}this._previousFrameVisibleRangesWithStyle=Le,this._renderResult=i.map(function(Wt){var kt=Wt[0],Vt=Wt[1];return kt+Vt})},o.prototype.render=function(t,i){if(!this._renderResult)return"";var g=i-t;return g<0||g>=this._renderResult.length?"":this._renderResult[g]},o.SELECTION_CLASS_NAME="selected-text",o.SELECTION_TOP_LEFT="top-left-radius",o.SELECTION_BOTTOM_LEFT="bottom-left-radius",o.SELECTION_TOP_RIGHT="top-right-radius",o.SELECTION_BOTTOM_RIGHT="bottom-right-radius",o.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",o.ROUNDED_PIECE_WIDTH=10,o}(ke);Object(X.e)(function(V,o){var t=V.getColor(Tn.K);t&&o.addRule(".monaco-editor .focused .selected-text { background-color: "+t+"; }");var i=V.getColor(Tn.F);i&&o.addRule(".monaco-editor .selected-text { background-color: "+i+"; }");var g=V.getColor(Tn.L);g&&o.addRule(".monaco-editor .view-line span.inline-selected-text { color: "+g+"; }")});function oi(V){return V<0?-V:V}var sa=e("2Tsy"),Or=function(){function V(o,t,i,g,b,K){this.top=o,this.left=t,this.width=i,this.height=g,this.textContent=b,this.textContentClassName=K}return V}(),Tr=function(){function V(o){this._context=o;var t=this._context.configuration.options,i=t.get(34);this._cursorStyle=t.get(18),this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(21),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(y.b)(document.createElement("div")),this._domNode.setClassName("cursor"),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),U.a.applyFontInfo(this._domNode,i),this._domNode.setDisplay("none"),this._position=new oe.a(1,1),this._lastRenderedContent="",this._renderData=null}return V.prototype.getDomNode=function(){return this._domNode},V.prototype.getPosition=function(){return this._position},V.prototype.show=function(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)},V.prototype.hide=function(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)},V.prototype.onConfigurationChanged=function(o){var t=this._context.configuration.options,i=t.get(34);return this._cursorStyle=t.get(18),this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(21),this._typicalHalfwidthCharacterWidth),U.a.applyFontInfo(this._domNode,i),!0},V.prototype.onCursorPositionChanged=function(o){return this._position=o,!0},V.prototype._prepareRender=function(o){var t="";if(this._cursorStyle===he.g.Line||this._cursorStyle===he.g.LineThin){var i=o.visibleRangeForPosition(this._position);if(!i||i.outsideRenderedLine)return null;var g;if(this._cursorStyle===he.g.Line){if(g=J.u(this._lineCursorWidth>0?this._lineCursorWidth:2),g>2){var b=this._context.model.getLineContent(this._position.lineNumber),K=fe.E(b,this._position.column-1);t=b.substr(this._position.column-1,K)}}else g=J.u(1);var Ie=i.left;g>=2&&Ie>=1&&(Ie-=1);var Le=o.getVerticalOffsetForLineNumber(this._position.lineNumber)-o.bigNumbersDelta;return new Or(Le,Ie,g,this._lineHeight,t,"")}var qe=this._context.model.getLineContent(this._position.lineNumber),ct=fe.E(qe,this._position.column-1),wt=o.linesVisibleRangesForRange(new be.a(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+ct),!1);if(!wt||wt.length===0)return null;var et=wt[0];if(et.outsideRenderedLine||et.ranges.length===0)return null;var Wt=et.ranges[0],kt=Wt.width<1?this._typicalHalfwidthCharacterWidth:Wt.width,Vt="";if(this._cursorStyle===he.g.Block){var qt=this._context.model.getViewLineData(this._position.lineNumber);t=qe.substr(this._position.column-1,ct);var $t=qt.tokens.findTokenIndexAtOffset(this._position.column-1);Vt=qt.tokens.getClassName($t)}var io=o.getVerticalOffsetForLineNumber(this._position.lineNumber)-o.bigNumbersDelta,yo=this._lineHeight;return(this._cursorStyle===he.g.Underline||this._cursorStyle===he.g.UnderlineThin)&&(io+=this._lineHeight-2,yo=2),new Or(io,Wt.left,kt,yo,t,Vt)},V.prototype.prepareRender=function(o){this._renderData=this._prepareRender(o)},V.prototype.render=function(o){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName("cursor "+this._renderData.textContentClassName),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)},V}(),ps=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),gs=function(V){ps(o,V);function o(t){var i=V.call(this,t)||this,g=i._context.configuration.options;return i._readOnly=g.get(68),i._cursorBlinking=g.get(16),i._cursorStyle=g.get(18),i._cursorSmoothCaretAnimation=g.get(17),i._selectionIsEmpty=!0,i._isVisible=!1,i._primaryCursor=new Tr(i._context),i._secondaryCursors=[],i._renderData=[],i._domNode=Object(y.b)(document.createElement("div")),i._domNode.setAttribute("role","presentation"),i._domNode.setAttribute("aria-hidden","true"),i._updateDomClassName(),i._domNode.appendChild(i._primaryCursor.getDomNode()),i._startCursorBlinkAnimation=new p.e,i._cursorFlatBlinkInterval=new p.c,i._blinkingEnabled=!1,i._editorHasFocus=!1,i._updateBlinking(),i}return o.prototype.dispose=function(){V.prototype.dispose.call(this),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()},o.prototype.getDomNode=function(){return this._domNode},o.prototype.onConfigurationChanged=function(t){var i=this._context.configuration.options;this._readOnly=i.get(68),this._cursorBlinking=i.get(16),this._cursorStyle=i.get(18),this._cursorSmoothCaretAnimation=i.get(17),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(t);for(var g=0,b=this._secondaryCursors.length;gi.length)for(var Ie=this._secondaryCursors.length-i.length,b=0;bi)for(var K=t-i,b=0;b=o+1&&this.lastAddedCursorIndex--,this.secondaryCursors[o].dispose(this.context),this.secondaryCursors.splice(o,1)},V.prototype._getAll=function(){var o=[];o[0]=this.primaryCursor;for(var t=0,i=this.secondaryCursors.length;tWt&&Fo.index--}o.splice(Wt,1),t.splice(et,1),this._removeSecondaryCursor(Wt-1),b--}}},V}(),bn=e("snIX"),Mn=e("GR/f"),Ln=e("iuje"),xi=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();function Ei(V){for(var o=0,t=V.length;o=t.length)return!1;if(!t[i].strictContainsRange(o[i]))return!1}return!0},V}(),Rr=function(V){xi(o,V);function o(t,i,g){var b=V.call(this)||this;b._onDidReachMaxCursorCount=b._register(new H.a),b.onDidReachMaxCursorCount=b._onDidReachMaxCursorCount.event,b._onDidAttemptReadOnlyEdit=b._register(new H.a),b.onDidAttemptReadOnlyEdit=b._onDidAttemptReadOnlyEdit.event,b._onDidChange=b._register(new H.a),b.onDidChange=b._onDidChange.event,b._configuration=t,b._model=i,b._knownModelVersionId=b._model.getVersionId(),b._viewModel=g,b.context=new De.c(b._configuration,b._model,b._viewModel),b._cursors=new Vn(b.context),b._isHandling=!1,b._isDoingComposition=!1,b._selectionsWhenCompositionStarted=null,b._columnSelectData=null,b._autoClosedActions=[],b._prevEditOperationType=0,b._register(b._model.onDidChangeRawContent(function(Ie){if(b._knownModelVersionId=Ie.versionId,b._isHandling)return;var Le=Ie.containsEvent(1);b._onModelContentChanged(Le)})),b._register(g.addEventListener(function(Ie){if(!Ei(Ie))return;if(b._knownModelVersionId!==b._model.getVersionId())return;b.setStates("viewModel",0,b.getAll())}));var K=function(){b.context=new De.c(b._configuration,b._model,b._viewModel),b._cursors.updateContext(b.context)};return b._register(b._model.onDidChangeLanguage(function(Ie){K()})),b._register(b._model.onDidChangeLanguageConfiguration(function(){K()})),b._register(b._model.onDidChangeOptions(function(){K()})),b._register(b._configuration.onDidChange(function(Ie){De.b.shouldRecreate(Ie)&&K()})),b}return o.prototype.dispose=function(){this._cursors.dispose(),this._autoClosedActions=Object(z.f)(this._autoClosedActions),V.prototype.dispose.call(this)},o.prototype._validateAutoClosedActions=function(){if(this._autoClosedActions.length>0)for(var t=this._cursors.getSelections(),i=0;io.MAX_CURSOR_COUNT&&(g=g.slice(0,o.MAX_CURSOR_COUNT),this._onDidReachMaxCursorCount.fire(void 0));var b=new qi(this._model,this);this._cursors.setStates(g),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,i,b)},o.prototype.setColumnSelectData=function(t){this._columnSelectData=t},o.prototype.reveal=function(t,i,g,b){this._revealRange(t,g,0,i,b)},o.prototype.revealRange=function(t,i,g,b,K){this.emitCursorRevealRange(t,g,b,i,K)},o.prototype.scrollTo=function(t){this._viewModel.viewLayout.setScrollPositionSmooth({scrollTop:t})},o.prototype.saveState=function(){for(var t=[],i=this._cursors.getSelections(),g=0,b=i.length;g0&&this._pushAutoClosedAction(g,b),this._prevEditOperationType=t.type}t.shouldPushStackElementAfter&&this._model.pushStackElement()},o.prototype._interpretCommandResult=function(t){(!t||t.length===0)&&(t=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(t),this._cursors.normalize()},o.prototype._emitStateChangedIfNecessary=function(t,i,g){var b=new qi(this._model,this);if(b.equals(g))return!1;var K=this._cursors.getSelections(),Ie=this._cursors.getViewSelections();try{var Le=this._beginEmit();Le.emit(new Zo(Ie,K))}finally{this._endEmit()}if(!g||g.cursorState.length!==b.cursorState.length||b.cursorState.some(function(wt,et){return!wt.modelState.equals(g.cursorState[et].modelState)})){var qe=g?g.cursorState.map(function(wt){return wt.modelState.selection}):null,ct=g?g.modelVersionId:0;this._onDidChange.fire(new Ji(K,b.modelVersionId,qe,ct,t||"keyboard",i))}return!0},o.prototype._revealRange=function(t,i,g,b,K){var Ie=this._cursors.getViewPositions(),Le=Ie[0];if(i===1)for(var qe=1;qe1)return;var ct=new be.a(Le.lineNumber,Le.column,Le.lineNumber,Le.column);this.emitCursorRevealRange(t,ct,g,b,K)},o.prototype.emitCursorRevealRange=function(t,i,g,b,K){try{var Ie=this._beginEmit();Ie.emit(new mn(t,i,g,b,K))}finally{this._endEmit()}},o.prototype._findAutoClosingPairs=function(t){if(!t.length)return null;for(var i=[],g=0,b=t.length;g=0)return null;var Ie=K.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!Ie)return null;var Le=Ie[1],qe=this.context.config.autoClosingPairsClose2.get(Le);if(!qe||qe.length!==1)return null;var ct=qe[0].open,wt=K.text.length-Ie[2].length-1,et=K.text.lastIndexOf(ct,wt-1);if(et===-1)return null;i.push([et,wt])}return i},o.prototype.executeEdits=function(t,i,g){var b=this,K=null;t==="snippet"&&(K=this._findAutoClosingPairs(i)),K&&(i[0]._isTracked=!0);var Ie=[],Le=[],qe=this._model.pushEditOperations(this.getSelections(),i,function(ct){if(K)for(var wt=0,et=K.length;wt0&&this._pushAutoClosedAction(Ie,Le)},o.prototype.trigger=function(t,i,g){var b=Ln.b;if(i===b.CompositionStart){this._isDoingComposition=!0,this._selectionsWhenCompositionStarted=this.getSelections().slice(0);return}if(i===b.CompositionEnd&&(this._isDoingComposition=!1),this._configuration.options.get(68)){this._onDidAttemptReadOnlyEdit.fire(void 0);return}var K=new qi(this._model,this),Ie=0;i!==b.Undo&&i!==b.Redo&&this._cursors.stopTrackingSelections(),this._cursors.ensureValidState(),this._isHandling=!0;try{switch(i){case b.Type:this._type(t,g.text);break;case b.ReplacePreviousChar:this._replacePreviousChar(g.text,g.replaceCharCnt);break;case b.Paste:Ie=4,this._paste(g.text,g.pasteOnNewLine,g.multicursorText||[]);break;case b.Cut:this._cut();break;case b.Undo:Ie=5,this._interpretCommandResult(this._model.undo());break;case b.Redo:Ie=6,this._interpretCommandResult(this._model.redo());break;case b.ExecuteCommand:this._externalExecuteCommand(g);break;case b.ExecuteCommands:this._externalExecuteCommands(g);break;case b.CompositionEnd:this._interpretCompositionEnd(t);break}}catch(Le){Object(I.e)(Le)}this._isHandling=!1,i!==b.Undo&&i!==b.Redo&&this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,Ie,K)&&this._revealRange(t,0,0,!0,0)},o.prototype._interpretCompositionEnd=function(t){if(!this._isDoingComposition&&t==="keyboard"){var i=er.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(Mn.a.compositionEndWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this._selectionsWhenCompositionStarted,this.getSelections(),i)),this._selectionsWhenCompositionStarted=null}},o.prototype._type=function(t,i){if(!this._isDoingComposition&&t==="keyboard")for(var g=i.length,b=0;b0&&(K[0]._isTracked=!0);var qe=o.model.pushEditOperations(o.selectionsBefore,K,function(Vt){for(var qt=[],$t=0;$t0?(qt[Fo].sort(bo),go[Fo]=t[Fo].computeCursorState(o.model,{getInverseEditOperations:function(){return qt[Fo]},getTrackedSelection:function(Po){var nn=parseInt(Po,10),vn=o.model._getTrackedRange(o.trackedRanges[nn]);return o.trackedRangesDirection[nn]===0?new vt.a(vn.startLineNumber,vn.startColumn,vn.endLineNumber,vn.endColumn):new vt.a(vn.endLineNumber,vn.endColumn,vn.startLineNumber,vn.startColumn)}})):go[Fo]=o.selectionsBefore[Fo]},$t=0;$tb.identifier.major?K=g.identifier.major:K=b.identifier.major,t[K.toString()]=!0;for(var Ie=0;Ie0&&i--}}return t},V}(),Es=e("9Y+e"),Jo=e("wQH0"),Ai=e("TQUy"),ws=e("QuOb"),In=function(){function V(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}return V.prototype.insert=function(o){this._hasPending=!0,this._inserts.push(o)},V.prototype.change=function(o){this._hasPending=!0,this._changes.push(o)},V.prototype.remove=function(o){this._hasPending=!0,this._removes.push(o)},V.prototype.mustCommit=function(){return this._hasPending},V.prototype.commit=function(o){if(!this._hasPending)return;var t=this._inserts,i=this._changes,g=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],o._commitPendingChanges(t,i,g)},V}(),wi=function(){function V(o,t,i,g,b){this.id=o,this.afterLineNumber=t,this.ordinal=i,this.height=g,this.minWidth=b,this.prefixSum=0}return V}(),Xn=function(){function V(o,t){this._instanceId=fe.M(++V.INSTANCE_COUNT),this._pendingChanges=new In,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=o,this._lineHeight=t}return V.findInsertionIndex=function(o,t,i){for(var g=0,b=o.length;g>>1;t===o[K].afterLineNumber?i0||i.length>0)&&(this._minWidth=-1),o.length+t.length+i.length<=1){for(var g=0,b=o;gt&&(this._arr[i].afterLineNumber-=t-o+1)}},V.prototype.onLinesInserted=function(o,t){this._checkPendingChanges(),o=o|0,t=t|0,this._lineCount+=t-o+1;for(var i=0,g=this._arr.length;i=t.length||t[Ie+1].afterLineNumber>=o)return Ie;i=Ie+1|0}else g=Ie-1|0}return-1},V.prototype._findFirstWhitespaceAfterLineNumber=function(o){o=o|0;var t=this._findLastWhitespaceBeforeLineNumber(o),i=t+1;return i1?t=this._lineHeight*(o-1):t=0;var i=this.getWhitespaceAccumulatedHeightBeforeLineNumber(o);return t+i},V.prototype.getWhitespaceMinWidth=function(){if(this._checkPendingChanges(),this._minWidth===-1){for(var o=0,t=0,i=this._arr.length;tt},V.prototype.getLineNumberAtOrAfterVerticalOffset=function(o){if(this._checkPendingChanges(),o=o|0,o<0)return 1;for(var t=this._lineCount|0,i=this._lineHeight,g=1,b=t;g=Ie+i)g=K+1;else{if(o>=Ie)return K;b=K}}return g>t?t:g},V.prototype.getLinesViewportData=function(o,t){this._checkPendingChanges(),o=o|0,t=t|0;var i=this._lineHeight,g=this.getLineNumberAtOrAfterVerticalOffset(o)|0,b=this.getVerticalOffsetForLineNumber(g)|0,K=this._lineCount|0,Ie=this.getFirstWhitespaceIndexAfterLineNumber(g)|0,Le=this.getWhitespacesCount()|0,qe,ct;Ie===-1?(Ie=Le,ct=K+1,qe=0):(ct=this.getAfterLineNumberForWhitespaceIndex(Ie)|0,qe=this.getHeightForWhitespaceIndex(Ie)|0);var wt=b,et=wt,Wt=5e5,kt=0;b>=Wt&&(kt=Math.floor(b/Wt)*Wt,kt=Math.floor(kt/i)*i,et-=kt);for(var Vt=[],qt=o+(t-o)/2,$t=-1,io=g;io<=K;io++){if($t===-1){var yo=wt,mo=wt+i;(yo<=qt&&qtqt)&&($t=io)}for(wt+=i,Vt[io-g]=et,et+=i;ct===io;)et+=qe,wt+=qe,Ie++,Ie>=Le?ct=K+1:(ct=this.getAfterLineNumberForWhitespaceIndex(Ie)|0,qe=this.getHeightForWhitespaceIndex(Ie)|0);if(wt>=t){K=io;break}}$t===-1&&($t=K);var bo=this.getVerticalOffsetForLineNumber(K)|0,go=g,Lo=K;return got&&Lo--),{bigNumbersDelta:kt,startLineNumber:g,endLineNumber:K,relativeVerticalOffset:Vt,centeredLineNumber:$t,completelyVisibleStartLineNumber:go,completelyVisibleEndLineNumber:Lo}},V.prototype.getVerticalOffsetForWhitespaceIndex=function(o){this._checkPendingChanges(),o=o|0;var t=this.getAfterLineNumberForWhitespaceIndex(o),i;t>=1?i=this._lineHeight*t:i=0;var g;return o>0?g=this.getWhitespacesAccumulatedHeight(o-1):g=0,i+g},V.prototype.getWhitespaceIndexAtOrAfterVerticallOffset=function(o){this._checkPendingChanges(),o=o|0;var t=0,i=this.getWhitespacesCount()-1;if(i<0)return-1;var g=this.getVerticalOffsetForWhitespaceIndex(i),b=this.getHeightForWhitespaceIndex(i);if(o>=g+b)return-1;for(;t=Ie+Le)t=K+1;else{if(o>=Ie)return K;i=K}}return t},V.prototype.getWhitespaceAtVerticalOffset=function(o){this._checkPendingChanges(),o=o|0;var t=this.getWhitespaceIndexAtOrAfterVerticallOffset(o);if(t<0)return null;if(t>=this.getWhitespacesCount())return null;var i=this.getVerticalOffsetForWhitespaceIndex(t);if(i>o)return null;var g=this.getHeightForWhitespaceIndex(t),b=this.getIdForWhitespaceIndex(t),K=this.getAfterLineNumberForWhitespaceIndex(t);return{id:b,afterLineNumber:K,verticalOffset:i,height:g}},V.prototype.getWhitespaceViewportData=function(o,t){this._checkPendingChanges(),o=o|0,t=t|0;var i=this.getWhitespaceIndexAtOrAfterVerticallOffset(o),g=this.getWhitespacesCount()-1;if(i<0)return[];for(var b=[],K=i;K<=g;K++){var Ie=this.getVerticalOffsetForWhitespaceIndex(K),Le=this.getHeightForWhitespaceIndex(K);if(Ie>=t)break;b.push({id:this.getIdForWhitespaceIndex(K),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(K),verticalOffset:Ie,height:Le})}return b},V.prototype.getWhitespaces=function(){return this._checkPendingChanges(),this._arr.slice(0)},V.prototype.getWhitespacesCount=function(){return this._checkPendingChanges(),this._arr.length},V.prototype.getIdForWhitespaceIndex=function(o){return this._checkPendingChanges(),o=o|0,this._arr[o].id},V.prototype.getAfterLineNumberForWhitespaceIndex=function(o){return this._checkPendingChanges(),o=o|0,this._arr[o].afterLineNumber},V.prototype.getHeightForWhitespaceIndex=function(o){return this._checkPendingChanges(),o=o|0,this._arr[o].height},V.INSTANCE_COUNT=0,V}(),zn=e("qNAo"),Ri=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),tr=125,_i=function(){function V(o,t,i,g){o=o|0,t=t|0,i=i|0,g=g|0,o<0&&(o=0),t<0&&(t=0),i<0&&(i=0),g<0&&(g=0),this.width=o,this.contentWidth=t,this.scrollWidth=Math.max(o,t),this.height=i,this.contentHeight=g,this.scrollHeight=Math.max(i,g)}return V.prototype.equals=function(o){return this.width===o.width&&this.contentWidth===o.contentWidth&&this.height===o.height&&this.contentHeight===o.contentHeight},V}(),Ii=function(V){Ri(o,V);function o(t,i){var g=V.call(this)||this;return g._onDidContentSizeChange=g._register(new H.a),g.onDidContentSizeChange=g._onDidContentSizeChange.event,g._dimensions=new _i(0,0,0,0),g._scrollable=g._register(new ws.a(t,i)),g.onDidScroll=g._scrollable.onScroll,g}return o.prototype.getScrollable=function(){return this._scrollable},o.prototype.setSmoothScrollDuration=function(t){this._scrollable.setSmoothScrollDuration(t)},o.prototype.validateScrollPosition=function(t){return this._scrollable.validateScrollPosition(t)},o.prototype.getScrollDimensions=function(){return this._dimensions},o.prototype.setScrollDimensions=function(t){if(this._dimensions.equals(t))return;var i=this._dimensions;this._dimensions=t,this._scrollable.setScrollDimensions({width:t.width,scrollWidth:t.scrollWidth,height:t.height,scrollHeight:t.scrollHeight});var g=i.contentWidth!==t.contentWidth,b=i.contentHeight!==t.contentHeight;(g||b)&&this._onDidContentSizeChange.fire({contentWidth:t.contentWidth,contentHeight:t.contentHeight,contentWidthChanged:g,contentHeightChanged:b})},o.prototype.getFutureScrollPosition=function(){return this._scrollable.getFutureScrollPosition()},o.prototype.getCurrentScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},o.prototype.setScrollPositionNow=function(t){this._scrollable.setScrollPositionNow(t)},o.prototype.setScrollPositionSmooth=function(t){this._scrollable.setScrollPositionSmooth(t)},o}(z.a),_s=function(V){Ri(o,V);function o(t,i,g){var b=V.call(this)||this;b._configuration=t;var K=b._configuration.options,Ie=K.get(107);return b._linesLayout=new Xn(i,K.get(49)),b._scrollable=b._register(new Ii(0,g)),b._configureSmoothScrollDuration(),b._scrollable.setScrollDimensions(new _i(Ie.contentWidth,0,Ie.height,0)),b.onDidScroll=b._scrollable.onDidScroll,b.onDidContentSizeChange=b._scrollable.onDidContentSizeChange,b._updateHeight(),b}return o.prototype.dispose=function(){V.prototype.dispose.call(this)},o.prototype.getScrollable=function(){return this._scrollable.getScrollable()},o.prototype.onHeightMaybeChanged=function(){this._updateHeight()},o.prototype._configureSmoothScrollDuration=function(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(87)?tr:0)},o.prototype.onConfigurationChanged=function(t){var i=this._configuration.options;if(t.hasChanged(49)&&this._linesLayout.setLineHeight(i.get(49)),t.hasChanged(107)){var g=i.get(107),b=g.contentWidth,K=g.height,Ie=this._scrollable.getScrollDimensions(),Le=Ie.scrollWidth;this._scrollable.setScrollDimensions(new _i(b,Ie.contentWidth,K,this._getContentHeight(b,K,Le)))}else this._updateHeight();t.hasChanged(87)&&this._configureSmoothScrollDuration()},o.prototype.onFlushed=function(t){this._linesLayout.onFlushed(t)},o.prototype.onLinesDeleted=function(t,i){this._linesLayout.onLinesDeleted(t,i)},o.prototype.onLinesInserted=function(t,i){this._linesLayout.onLinesInserted(t,i)},o.prototype._getHorizontalScrollbarHeight=function(t,i){var g=this._configuration.options,b=g.get(78);return b.horizontal===2||t>=i?0:b.horizontalScrollbarSize},o.prototype._getContentHeight=function(t,i,g){var b=this._configuration.options,K=this._linesLayout.getLinesTotalHeight();return b.get(80)?K+=i-b.get(49):K+=this._getHorizontalScrollbarHeight(t,g),K},o.prototype._updateHeight=function(){var t=this._scrollable.getScrollDimensions(),i=t.width,g=t.height,b=t.scrollWidth;this._scrollable.setScrollDimensions(new _i(i,t.contentWidth,g,this._getContentHeight(i,g,b)))},o.prototype.getCurrentViewport=function(){var t=this._scrollable.getScrollDimensions(),i=this._scrollable.getCurrentScrollPosition();return new zn.f(i.scrollTop,i.scrollLeft,t.width,t.height)},o.prototype.getFutureViewport=function(){var t=this._scrollable.getScrollDimensions(),i=this._scrollable.getFutureScrollPosition();return new zn.f(i.scrollTop,i.scrollLeft,t.width,t.height)},o.prototype._computeContentWidth=function(t){var i=this._configuration.options,g=i.get(108),b=i.get(34);if(g.isViewportWrapping){var K=i.get(107),Ie=i.get(54);return t>K.contentWidth+b.typicalHalfwidthCharacterWidth&&(Ie.enabled&&Ie.side==="right")?t+K.verticalScrollbarWidth:t}else{var Le=i.get(79)*b.typicalHalfwidthCharacterWidth,qe=this._linesLayout.getWhitespaceMinWidth();return Math.max(t+Le,qe)}},o.prototype.onMaxLineWidthChanged=function(t){var i=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new _i(i.width,this._computeContentWidth(t),i.height,i.contentHeight)),this._updateHeight()},o.prototype.saveState=function(){var t=this._scrollable.getFutureScrollPosition(),i=t.scrollTop,g=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(i),b=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(g);return{scrollTop:i,scrollTopWithoutViewZones:i-b,scrollLeft:t.scrollLeft}},o.prototype.changeWhitespace=function(t){return this._linesLayout.changeWhitespace(t)},o.prototype.getVerticalOffsetForLineNumber=function(t){return this._linesLayout.getVerticalOffsetForLineNumber(t)},o.prototype.isAfterLines=function(t){return this._linesLayout.isAfterLines(t)},o.prototype.getLineNumberAtVerticalOffset=function(t){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t)},o.prototype.getWhitespaceAtVerticalOffset=function(t){return this._linesLayout.getWhitespaceAtVerticalOffset(t)},o.prototype.getLinesViewportData=function(){var t=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(t.top,t.top+t.height)},o.prototype.getLinesViewportDataAtScrollTop=function(t){var i=this._scrollable.getScrollDimensions();return t+i.height>i.scrollHeight&&(t=i.scrollHeight-i.height),t<0&&(t=0),this._linesLayout.getLinesViewportData(t,t+i.height)},o.prototype.getWhitespaceViewportData=function(){var t=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(t.top,t.top+t.height)},o.prototype.getWhitespaces=function(){return this._linesLayout.getWhitespaces()},o.prototype.getContentWidth=function(){var t=this._scrollable.getScrollDimensions();return t.contentWidth},o.prototype.getScrollWidth=function(){var t=this._scrollable.getScrollDimensions();return t.scrollWidth},o.prototype.getContentHeight=function(){var t=this._scrollable.getScrollDimensions();return t.contentHeight},o.prototype.getScrollHeight=function(){var t=this._scrollable.getScrollDimensions();return t.scrollHeight},o.prototype.getCurrentScrollLeft=function(){var t=this._scrollable.getCurrentScrollPosition();return t.scrollLeft},o.prototype.getCurrentScrollTop=function(){var t=this._scrollable.getCurrentScrollPosition();return t.scrollTop},o.prototype.validateScrollPosition=function(t){return this._scrollable.validateScrollPosition(t)},o.prototype.setScrollPositionNow=function(t){this._scrollable.setScrollPositionNow(t)},o.prototype.setScrollPositionSmooth=function(t){this._scrollable.setScrollPositionSmooth(t)},o.prototype.deltaScrollNow=function(t,i){var g=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:g.scrollLeft+t,scrollTop:g.scrollTop+i})},o}(z.a),hi=e("tX9W"),Ss=e("LeU+"),Jn=function(){function V(o,t){this.outputLineIndex=o,this.outputOffset=t}return V}(),qn=function(){function V(o,t,i){this.breakOffsets=o,this.breakOffsetsVisibleColumn=t,this.wrappedTextIndentLength=i}return V.getInputOffsetOfOutputPosition=function(o,t,i){return t===0?i:o[t-1]+i},V.getOutputPositionOfInputOffset=function(o,t){for(var i=0,g=o.length-1,b=0,K=0;i<=g;){b=i+(g-i)/2|0;var Ie=o[b];if(K=b>0?o[b-1]:0,t=Ie)i=b+1;else break}return new Jn(b,t-K)},V}(),Ls=function(){function V(o){this._lines=o}return V.prototype.convertViewPositionToModelPosition=function(o){return this._lines.convertViewPositionToModelPosition(o.lineNumber,o.column)},V.prototype.convertViewRangeToModelRange=function(o){return this._lines.convertViewRangeToModelRange(o)},V.prototype.validateViewPosition=function(o,t){return this._lines.validateViewPosition(o.lineNumber,o.column,t)},V.prototype.validateViewRange=function(o,t){return this._lines.validateViewRange(o,t)},V.prototype.convertModelPositionToViewPosition=function(o){return this._lines.convertModelPositionToViewPosition(o.lineNumber,o.column)},V.prototype.convertModelRangeToViewRange=function(o){return this._lines.convertModelRangeToViewRange(o)},V.prototype.modelPositionIsVisible=function(o){return this._lines.modelPositionIsVisible(o.lineNumber,o.column)},V}(),or=function(){function V(o){this._counts=o,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}return V.prototype._invalidate=function(o){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,o-1)},V.prototype._ensureValid=function(){if(this._isValid)return;for(var o=this._validEndIndex+1,t=this._counts.length;o0?this._modelToView[o-1]:0;this._modelToView[o]=g+i;for(var b=0;b0?this._modelToView[t-1]:0;return new Ss.b(t,o-i)},V}(),Nr=function(){function V(o,t,i,g,b,K,Ie,Le){this.model=o,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=t,this._monospaceLineBreaksComputerFactory=i,this.fontInfo=g,this.tabSize=b,this.wrappingStrategy=K,this.wrappingColumn=Ie,this.wrappingIndent=Le,this._constructLines(!0,null)}return V.prototype.dispose=function(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])},V.prototype.createCoordinatesConverter=function(){return new Ls(this)},V.prototype._constructLines=function(o,t){var i=this;this.lines=[],o&&(this.hiddenAreasIds=[]);for(var g=this.model.getLinesContent(),b=g.length,K=this.createLineBreaksComputer(),Ie=0;Ie=wt&&Vt<=et,$t=Ni(Le[Ie],!qt);qe[Ie]=$t.getViewLineCount(),this.lines[Ie]=$t}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new or(qe)},V.prototype.getHiddenAreas=function(){var o=this;return this.hiddenAreasIds.map(function(t){return o.model.getDecorationRange(t)})},V.prototype._reduceRanges=function(o){var t=this;if(o.length===0)return[];for(var i=o.map(function(ct){return t.model.validateRange(ct)}).sort(be.a.compareRangesUsingStarts),g=[],b=i[0].startLineNumber,K=i[0].endLineNumber,Ie=1,Le=i.length;IeK+1?(g.push(new be.a(b,1,K,1)),b=qe.startLineNumber,K=qe.endLineNumber):qe.endLineNumber>K&&(K=qe.endLineNumber)}return g.push(new be.a(b,1,K,1)),g},V.prototype.setHiddenAreas=function(o){var t=this,i=this._reduceRanges(o),g=this.hiddenAreasIds.map(function(mo){return t.model.getDecorationRange(mo)}).sort(be.a.compareRangesUsingStarts);if(i.length===g.length){for(var b=!1,K=0;K=et&&$t<=Wt?this.lines[K].isVisible()&&(this.lines[K]=this.lines[K].setVisible(!1),io=!0):(qt=!0,this.lines[K].isVisible()||(this.lines[K]=this.lines[K].setVisible(!0),io=!0)),io){var yo=this.lines[K].getViewLineCount();this.prefixSumComputer.changeValue(K,yo)}}return qt||this.setHiddenAreas([]),!0},V.prototype.modelPositionIsVisible=function(o,t){return o<1||o>this.lines.length?!1:this.lines[o-1].isVisible()},V.prototype.setTabSize=function(o){return this.tabSize===o?!1:(this.tabSize=o,this._constructLines(!1,null),!0)},V.prototype.setWrappingSettings=function(o,t,i,g){var b=this.fontInfo.equals(o),K=this.wrappingStrategy===t,Ie=this.wrappingColumn===i,Le=this.wrappingIndent===g;if(b&&K&&Ie&&Le)return!1;var qe=b&&K&&!Ie&&Le;this.fontInfo=o,this.wrappingStrategy=t,this.wrappingColumn=i,this.wrappingIndent=g;var ct=null;if(qe){ct=[];for(var wt=0,et=this.lines.length;wtLe?(ct=t===1?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,wt=ct+Le-1,kt=wt+1,Vt=kt+(b-Le)-1,qe=!0):bt?t:o|0},V.prototype.getActiveIndentGuide=function(o,t,i){o=this._toValidViewLineNumber(o),t=this._toValidViewLineNumber(t),i=this._toValidViewLineNumber(i);var g=this.convertViewPositionToModelPosition(o,this.getViewLineMinColumn(o)),b=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),K=this.convertViewPositionToModelPosition(i,this.getViewLineMinColumn(i)),Ie=this.model.getActiveIndentGuide(g.lineNumber,b.lineNumber,K.lineNumber),Le=this.convertModelPositionToViewPosition(Ie.startLineNumber,1),qe=this.convertModelPositionToViewPosition(Ie.endLineNumber,this.model.getLineMaxColumn(Ie.endLineNumber));return{startLineNumber:Le.lineNumber,endLineNumber:qe.lineNumber,indent:Ie.indent}},V.prototype.getViewLinesIndentGuides=function(o,t){o=this._toValidViewLineNumber(o),t=this._toValidViewLineNumber(t);for(var i=this.convertViewPositionToModelPosition(o,this.getViewLineMinColumn(o)),g=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),b=[],K=[],Ie=[],Le=i.lineNumber-1,qe=g.lineNumber-1,ct=null,wt=Le;wt<=qe;wt++){var et=this.lines[wt];if(et.isVisible()){var Wt=et.getViewLineNumberOfModelPosition(0,wt===Le?i.column:1),kt=et.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(wt+1)),Vt=kt-Wt+1,qt=0;Vt>1&&et.getViewLineMinColumn(this.model,wt+1,kt)===1&&(qt=Wt===0?1:2),K.push(Vt),Ie.push(qt),ct===null&&(ct=new oe.a(wt+1,0))}else ct!==null&&(b=b.concat(this.model.getLinesIndentGuides(ct.lineNumber,wt)),ct=null)}ct!==null&&(b=b.concat(this.model.getLinesIndentGuides(ct.lineNumber,g.lineNumber)),ct=null);for(var $t=t-o+1,io=new Array($t),yo=0,mo=0,bo=b.length;mot&&(kt=!0,Wt=t-b+1);var Vt=et+Wt;if(wt.getViewLinesData(this.model,qe+1,et,Vt,b-o,i,Le),b+=Wt,kt)break}return Le},V.prototype.validateViewPosition=function(o,t,i){o=this._toValidViewLineNumber(o);var g=this.prefixSumComputer.getIndexOf(o-1),b=g.index,K=g.remainder,Ie=this.lines[b],Le=Ie.getViewLineMinColumn(this.model,b+1,K),qe=Ie.getViewLineMaxColumn(this.model,b+1,K);tqe&&(t=qe);var ct=Ie.getModelColumnOfViewPosition(K,t),wt=this.model.validatePosition(new oe.a(b+1,ct));return wt.equals(i)?new oe.a(o,t):this.convertModelPositionToViewPosition(i.lineNumber,i.column)},V.prototype.validateViewRange=function(o,t){var i=this.validateViewPosition(o.startLineNumber,o.startColumn,t.getStartPosition()),g=this.validateViewPosition(o.endLineNumber,o.endColumn,t.getEndPosition());return new be.a(i.lineNumber,i.column,g.lineNumber,g.column)},V.prototype.convertViewPositionToModelPosition=function(o,t){o=this._toValidViewLineNumber(o);var i=this.prefixSumComputer.getIndexOf(o-1),g=i.index,b=i.remainder,K=this.lines[g].getModelColumnOfViewPosition(b,t);return this.model.validatePosition(new oe.a(g+1,K))},V.prototype.convertViewRangeToModelRange=function(o){var t=this.convertViewPositionToModelPosition(o.startLineNumber,o.startColumn),i=this.convertViewPositionToModelPosition(o.endLineNumber,o.endColumn);return new be.a(t.lineNumber,t.column,i.lineNumber,i.column)},V.prototype.convertModelPositionToViewPosition=function(o,t){for(var i=this.model.validatePosition(new oe.a(o,t)),g=i.lineNumber,b=i.column,K=g-1,Ie=!1;K>0&&!this.lines[K].isVisible();)K--,Ie=!0;if(K===0&&!this.lines[K].isVisible())return new oe.a(1,1);var Le=1+(K===0?0:this.prefixSumComputer.getAccumulatedValue(K-1)),qe;return Ie?qe=this.lines[K].getViewPositionOfModelPosition(Le,this.model.getLineMaxColumn(K+1)):qe=this.lines[g-1].getViewPositionOfModelPosition(Le,b),qe},V.prototype.convertModelRangeToViewRange=function(o){var t=this.convertModelPositionToViewPosition(o.startLineNumber,o.startColumn),i=this.convertModelPositionToViewPosition(o.endLineNumber,o.endColumn);return o.startLineNumber===o.endLineNumber&&t.lineNumber!==i.lineNumber&&i.column===this.getViewLineMinColumn(i.lineNumber)?new be.a(t.lineNumber,t.column,i.lineNumber-1,this.getViewLineMaxColumn(i.lineNumber-1)):new be.a(t.lineNumber,t.column,i.lineNumber,i.column)},V.prototype._getViewLineNumberForModelPosition=function(o,t){var i=o-1;if(this.lines[i].isVisible()){var g=1+(i===0?0:this.prefixSumComputer.getAccumulatedValue(i-1));return this.lines[i].getViewLineNumberOfModelPosition(g,t)}for(;i>0&&!this.lines[i].isVisible();)i--;if(i===0&&!this.lines[i].isVisible())return 1;var b=1+(i===0?0:this.prefixSumComputer.getAccumulatedValue(i-1));return this.lines[i].getViewLineNumberOfModelPosition(b,this.model.getLineMaxColumn(i+1))},V.prototype.getAllOverviewRulerDecorations=function(o,t,i){for(var g=this.model.getOverviewRulerDecorations(o,t),b=new ni,K=0,Ie=g;Kbo.id?1:0:go});for(var Wt=[],kt=0,Vt=null,qt=0,$t=K;qt<$t.length;qt++){var io=$t[qt],yo=io.id;if(Vt===yo)continue;Vt=yo,Wt[kt++]=io}return Wt},V}(),nr=function(){function V(){}return V.prototype.isVisible=function(){return!0},V.prototype.setVisible=function(o){return o?this:ir.INSTANCE},V.prototype.getLineBreakData=function(){return null},V.prototype.getViewLineCount=function(){return 1},V.prototype.getViewLineContent=function(o,t,i){return o.getLineContent(t)},V.prototype.getViewLineLength=function(o,t,i){return o.getLineLength(t)},V.prototype.getViewLineMinColumn=function(o,t,i){return o.getLineMinColumn(t)},V.prototype.getViewLineMaxColumn=function(o,t,i){return o.getLineMaxColumn(t)},V.prototype.getViewLineData=function(o,t,i){var g=o.getLineTokens(t),b=g.getLineContent();return new zn.c(b,!1,1,b.length+1,0,g.inflate())},V.prototype.getViewLinesData=function(o,t,i,g,b,K,Ie){if(!K[b]){Ie[b]=null;return}Ie[b]=this.getViewLineData(o,t,0)},V.prototype.getModelColumnOfViewPosition=function(o,t){return t},V.prototype.getViewPositionOfModelPosition=function(o,t){return new oe.a(o,t)},V.prototype.getViewLineNumberOfModelPosition=function(o,t){return o},V.INSTANCE=new V,V}(),ir=function(){function V(){}return V.prototype.isVisible=function(){return!1},V.prototype.setVisible=function(o){return o?nr.INSTANCE:this},V.prototype.getLineBreakData=function(){return null},V.prototype.getViewLineCount=function(){return 0},V.prototype.getViewLineContent=function(o,t,i){throw new Error("Not supported")},V.prototype.getViewLineLength=function(o,t,i){throw new Error("Not supported")},V.prototype.getViewLineMinColumn=function(o,t,i){throw new Error("Not supported")},V.prototype.getViewLineMaxColumn=function(o,t,i){throw new Error("Not supported")},V.prototype.getViewLineData=function(o,t,i){throw new Error("Not supported")},V.prototype.getViewLinesData=function(o,t,i,g,b,K,Ie){throw new Error("Not supported")},V.prototype.getModelColumnOfViewPosition=function(o,t){throw new Error("Not supported")},V.prototype.getViewPositionOfModelPosition=function(o,t){throw new Error("Not supported")},V.prototype.getViewLineNumberOfModelPosition=function(o,t){throw new Error("Not supported")},V.INSTANCE=new V,V}(),Yn=function(){function V(o,t){this._lineBreakData=o,this._isVisible=t}return V.prototype.isVisible=function(){return this._isVisible},V.prototype.setVisible=function(o){return this._isVisible=o,this},V.prototype.getLineBreakData=function(){return this._lineBreakData},V.prototype.getViewLineCount=function(){return this._isVisible?this._lineBreakData.breakOffsets.length:0},V.prototype.getInputStartOffsetOfOutputLineIndex=function(o){return qn.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,o,0)},V.prototype.getInputEndOffsetOfOutputLineIndex=function(o,t,i){return i+1===this._lineBreakData.breakOffsets.length?o.getLineMaxColumn(t)-1:qn.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,i+1,0)},V.prototype.getViewLineContent=function(o,t,i){if(!this._isVisible)throw new Error("Not supported");var g=this.getInputStartOffsetOfOutputLineIndex(i),b=this.getInputEndOffsetOfOutputLineIndex(o,t,i),K=o.getValueInRange({startLineNumber:t,startColumn:g+1,endLineNumber:t,endColumn:b+1});return i>0&&(K=rr(this._lineBreakData.wrappedTextIndentLength)+K),K},V.prototype.getViewLineLength=function(o,t,i){if(!this._isVisible)throw new Error("Not supported");var g=this.getInputStartOffsetOfOutputLineIndex(i),b=this.getInputEndOffsetOfOutputLineIndex(o,t,i),K=b-g;return i>0&&(K=this._lineBreakData.wrappedTextIndentLength+K),K},V.prototype.getViewLineMinColumn=function(o,t,i){if(!this._isVisible)throw new Error("Not supported");return i>0?this._lineBreakData.wrappedTextIndentLength+1:1},V.prototype.getViewLineMaxColumn=function(o,t,i){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(o,t,i).length+1},V.prototype.getViewLineData=function(o,t,i){if(!this._isVisible)throw new Error("Not supported");var g=this.getInputStartOffsetOfOutputLineIndex(i),b=this.getInputEndOffsetOfOutputLineIndex(o,t,i),K=o.getValueInRange({startLineNumber:t,startColumn:g+1,endLineNumber:t,endColumn:b+1});i>0&&(K=rr(this._lineBreakData.wrappedTextIndentLength)+K);var Ie=i>0?this._lineBreakData.wrappedTextIndentLength+1:1,Le=K.length+1,qe=i+10&&(ct=this._lineBreakData.wrappedTextIndentLength);var wt=o.getLineTokens(t),et=i===0?0:this._lineBreakData.breakOffsetsVisibleColumn[i-1];return new zn.c(K,qe,Ie,Le,et,wt.sliceAndInflate(g,b,ct))},V.prototype.getViewLinesData=function(o,t,i,g,b,K,Ie){if(!this._isVisible)throw new Error("Not supported");for(var Le=i;Le0&&(i0&&(b+=this._lineBreakData.wrappedTextIndentLength),new oe.a(o+g,b)},V.prototype.getViewLineNumberOfModelPosition=function(o,t){if(!this._isVisible)throw new Error("Not supported");var i=qn.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1);return o+i.outputLineIndex},V}(),An=[""];function rr(V){if(V>=An.length)for(var o=1;o<=V;o++)An[o]=Ms(o);return An[V]}function Ms(V){return new Array(V+1).join(" ")}function Ni(V,o){return V===null?o?nr.INSTANCE:ir.INSTANCE:new Yn(V,o)}var Ds=function(){function V(o){this._lines=o}return V.prototype._validPosition=function(o){return this._lines.model.validatePosition(o)},V.prototype._validRange=function(o){return this._lines.model.validateRange(o)},V.prototype.convertViewPositionToModelPosition=function(o){return this._validPosition(o)},V.prototype.convertViewRangeToModelRange=function(o){return this._validRange(o)},V.prototype.validateViewPosition=function(o,t){return this._validPosition(t)},V.prototype.validateViewRange=function(o,t){return this._validRange(t)},V.prototype.convertModelPositionToViewPosition=function(o){return this._validPosition(o)},V.prototype.convertModelRangeToViewRange=function(o){return this._validRange(o)},V.prototype.modelPositionIsVisible=function(o){var t=this._lines.model.getLineCount();return!(o.lineNumber<1||o.lineNumber>t)},V}(),fi=function(){function V(o){this.model=o}return V.prototype.dispose=function(){},V.prototype.createCoordinatesConverter=function(){return new Ds(this)},V.prototype.getHiddenAreas=function(){return[]},V.prototype.setHiddenAreas=function(o){return!1},V.prototype.setTabSize=function(o){return!1},V.prototype.setWrappingSettings=function(o,t,i,g){return!1},V.prototype.createLineBreaksComputer=function(){var o=[];return{addRequest:function(i,g){o.push(null)},finalize:function(){return o}}},V.prototype.onModelFlushed=function(){},V.prototype.onModelLinesDeleted=function(o,t,i){return new fn(t,i)},V.prototype.onModelLinesInserted=function(o,t,i,g){return new Vo(t,i)},V.prototype.onModelLineChanged=function(o,t,i){return[!1,new Qo(t,t),null,null]},V.prototype.acceptVersionId=function(o){},V.prototype.getViewLineCount=function(){return this.model.getLineCount()},V.prototype.getActiveIndentGuide=function(o,t,i){return{startLineNumber:o,endLineNumber:o,indent:0}},V.prototype.getViewLinesIndentGuides=function(o,t){for(var i=t-o+1,g=new Array(i),b=0;b=t){i>Ie&&(b[b.length-1]=i);return}b.push(g,t,i)}else this.result[o]=[g,t,i]},V}(),Os=function(){function V(o,t,i,g,b){this.editorId=o,this.model=t,this.configuration=i,this._linesCollection=g,this._coordinatesConverter=b,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}return V.prototype._clearCachedModelDecorationsResolver=function(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null},V.prototype.dispose=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},V.prototype.reset=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},V.prototype.onModelDecorationsChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},V.prototype.onLineMappingChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},V.prototype._getOrCreateViewModelDecoration=function(o){var t=o.id,i=this._decorationsCache[t];if(!i){var g=o.range,b=o.options,K=void 0;if(b.isWholeLine){var Ie=this._coordinatesConverter.convertModelPositionToViewPosition(new oe.a(g.startLineNumber,1)),Le=this._coordinatesConverter.convertModelPositionToViewPosition(new oe.a(g.endLineNumber,this.model.getLineMaxColumn(g.endLineNumber)));K=new be.a(Ie.lineNumber,Ie.column,Le.lineNumber,Le.column)}else K=this._coordinatesConverter.convertModelRangeToViewRange(g);i=new zn.e(K,b),this._decorationsCache[t]=i}return i},V.prototype.getDecorationsViewportData=function(o){var t=this._cachedModelDecorationsResolver!==null;return t=t&&o.equalsRange(this._cachedModelDecorationsResolverViewRange),t||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(o),this._cachedModelDecorationsResolverViewRange=o),this._cachedModelDecorationsResolver},V.prototype._getDecorationsViewportData=function(o){for(var t=this._linesCollection.getDecorationsInRange(o,this.editorId,Object(he.j)(this.configuration.options)),i=o.startLineNumber,g=o.endLineNumber,b=[],K=0,Ie=[],Le=i;Le<=g;Le++)Ie[Le-i]=[];for(var qe=0,ct=t.length;qe=2&&t.viewportStartLineTrackedRange){var Po=t.model._getTrackedRange(t.viewportStartLineTrackedRange);if(Po){var nn=t.coordinatesConverter.convertModelPositionToViewPosition(Po.getStartPosition()),vn=t.viewLayout.getVerticalOffsetForLineNumber(nn.lineNumber);t.viewLayout.setScrollPositionNow({scrollTop:vn+t.viewportStartLineDelta})}}})),this._register(this.model.onDidChangeTokens(function(i){for(var g=[],b=0,K=i.ranges.length;bqe)continue;Ie0&&wt[Wt-1]===wt[Wt])continue;et+=this.model.getLineContent(wt[Wt])+b}return et}if(K&&i){for(var kt=[],Vt=0,qt=0,$t=t;qt<$t.length;qt++){var io=$t[qt],yo=io.startLineNumber;io.isEmpty()?yo!==Vt&&kt.push(this.model.getLineContent(yo)):kt.push(this.model.getValueInRange(io,g?2:0)),Vt=yo}return kt.length===1?kt[0]:kt}for(var mo=[],bo=0,go=t;bo'+this._getHTMLToCopy(b,Le)+""}},o.prototype._getHTMLToCopy=function(t,i){for(var g=t.startLineNumber,b=t.startColumn,K=t.endLineNumber,Ie=t.endColumn,Le=this.getTabSize(),qe="",ct=g;ct<=K;ct++){var wt=this.model.getLineTokens(ct),et=wt.getLineContent(),Wt=ct===g?b-1:0,kt=ct===K?Ie-1:et.length;et===""?qe+="
":qe+=Object(Ai.a)(et,wt.inflate(),i,Wt,kt,Le,_.h)}return qe},o.prototype._getColorMap=function(){var t=$o.B.getColorMap(),i=["#000000"];if(t)for(var g=1,b=t.length;g=0&&t<256?this._asciiMap[t]:t>=12352&&t<=12543||t>=13312&&t<=19903||t>=19968&&t<=40959?3:this._map.get(t)||this._defaultValue},o}(Rs.a),ji=[],lr=[],Ns=function(){function V(o,t){this.classifier=new Is(o,t)}return V.create=function(o){return new V(o.get(99),o.get(98))},V.prototype.createLineBreaksComputer=function(o,t,i,g){var b=this;t=t|0,i=+i;var K=[],Ie=[];return{addRequest:function(qe,ct){K.push(qe),Ie.push(ct)},finalize:function(){for(var qe=o.typicalFullwidthCharacterWidth/o.typicalHalfwidthCharacterWidth,ct=[],wt=0,et=K.length;wt=0)for(var io=Math.abs(qe[$t]-Vt);$t+1=io)break;io=yo,$t++}for(;$tVt){No=Nn,Fo=Xo-Fn,Xo-Lo>wt&&(go=0),vn=!1;break}Po=hn,nn=Wn}if(vn){kt>0&&(et[kt]=Le[Le.length-1],Wt[kt]=qe[Le.length-1],kt++);break}}if(go===0){for(var Xo=bo,hn=t.charCodeAt(mo),Wn=V.get(hn),Ui=!1,cn=mo-1;cn>=0;cn--){var Nn=cn+1,Po=t.charCodeAt(cn);if(Po===9){Ui=!0;break}var nn=void 0,fr=void 0;if(fe.A(Po)?(cn--,nn=0,fr=2):(nn=V.get(Po),fr=fe.y(Po)?b:1),Xo<=Vt){if(No===0&&(No=Nn,Fo=Xo),Xo<=Vt-wt)break;if(cr(Po,nn,hn,Wn)){go=Nn,Lo=Xo;break}}Xo-=fr,hn=Po,Wn=nn}if(go!==0){var Hr=wt-(Fo-Lo);if(Hr<=i){var Zn=t.charCodeAt(No),Fn=void 0;fe.z(Zn)?Fn=2:Fn=Pi(Zn,Fo,i,b),Hr-Fn<0&&(go=0)}}if(Ui){$t--;continue}}for(go===0&&(go=No,Lo=Fo),et[kt]=go,Wt[kt]=Lo,kt++,Vt=Lo+wt;$t<0||$t=io)break;io=yo,$t++}}return kt===0?null:(et.length=kt,Wt.length=kt,ji=o.breakOffsets,lr=o.breakOffsetsVisibleColumn,o.breakOffsets=et,o.breakOffsetsVisibleColumn=Wt,o.wrappedTextIndentLength=ct,o)}function Ps(V,o,t,i,g,b){if(i===-1)return null;var K=o.length;if(K<=1)return null;var Ie=ki(o,t,i,g,b),Le=i-Ie,qe=[],ct=[],wt=0,et=0,Wt=0,kt=i,Vt=o.charCodeAt(0),qt=V.get(Vt),$t=Pi(Vt,0,t,g),io=1;fe.z(Vt)&&($t+=1,Vt=o.charCodeAt(1),qt=V.get(Vt),io++);for(var yo=io;yokt&&((et===0||$t-Wt>Le)&&(et=mo,Wt=$t-Lo),qe[wt]=et,ct[wt]=Wt,wt++,kt=Wt+Le,et=0),Vt=bo,qt=go}return wt===0?null:(qe[wt]=K,ct[wt]=$t,new qn(qe,ct,Ie))}function Pi(V,o,t,i){return V===9?t-o%t:fe.y(V)?i:1}function dr(V,o){return o-V%o}function cr(V,o,t,i){return t!==32&&(o===2||o===3&&i!==2||i===1||i===3&&o!==1)}function ki(V,o,t,i,g){var b=0;if(g!==0){var K=fe.q(V);if(K!==-1){for(var Ie=0;Iet&&(b=0)}}return b}var Pr=function(){function V(){}return V.create=function(){return new V},V.prototype.createLineBreaksComputer=function(o,t,i,g){t=t|0,i=+i;var b=[];return{addRequest:function(Ie,Le){b.push(Ie)},finalize:function(){return Fi(b,o,t,i,g)}}},V}();function Fi(V,o,t,i,g){if(i===-1){for(var b=[],K=0,Ie=V.length;KLe?($t=0,io=0):yo=Le-go}var Lo=qt.substr($t),No=kr(Lo,io,t,yo,ct);wt[K]=$t,et[K]=io,Wt[K]=Lo,kt[K]=No[0],Vt[K]=No[1]}qe.innerHTML=ct.build(),qe.style.position="absolute",qe.style.top="10000",qe.style.wordWrap="break-word",document.body.appendChild(qe);for(var Fo=document.createRange(),Xo=Array.prototype.slice.call(qe.children,0),Po=[],K=0;K');for(var b=V.length,K=o,Ie=0,Le=[],qe=[],ct=0"),[Le,qe]}function Fr(V,o,t,i){if(t.length<=1)return null;var g=o.firstChild,b=[];return pi(V,g,i,0,null,t.length-1,null,b),b.length===0?null:(b.push(t.length),b)}function pi(V,o,t,i,g,b,K,Ie){if(i===b)return;if(g=g||ur(V,o,t[i],t[i+1]),K=K||ur(V,o,t[b],t[b+1]),Math.abs(g[0].top-K[0].top)<=.1)return;if(i+1===b){Ie.push(b);return}var Le=i+(b-i)/2|0,qe=ur(V,o,t[Le],t[Le+1]);pi(V,o,t,i,g,Le,qe,Ie),pi(V,o,t,Le,qe,b,K,Ie)}function ur(V,o,t,i){return V.setStart(o,t),V.setEnd(o,i),V.getClientRects()}var Li=function(){var V=function(t,i){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var K in b)b.hasOwnProperty(K)&&(g[K]=b[K])},V(t,i)};return function(o,t){V(o,t);function i(){this.constructor=o}o.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Wr=function(V,o,t,i){var g=arguments.length,b=g<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,t):i,K;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(V,o,t,i);else for(var Ie=V.length-1;Ie>=0;Ie--)(K=V[Ie])&&(b=(g<3?K(b):g>3?K(o,t,b):K(o,t))||b);return g>3&&b&&Object.defineProperty(o,t,b),b},ri=function(V,o){return function(t,i){o(t,i,V)}},gi=0,hr=function(){function V(o,t,i,g,b,K){this.model=o,this.viewModel=t,this.cursor=i,this.view=g,this.hasRealView=b,this.listenersToRemove=K}return V.prototype.dispose=function(){Object(z.f)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.cursor.dispose(),this.viewModel.dispose()},V}(),ks=function(V){Li(o,V);function o(t,i,g,b,K,Ie,Le,qe,ct,wt){var et=V.call(this)||this;et._onDidDispose=et._register(new H.a),et.onDidDispose=et._onDidDispose.event,et._onDidChangeModelContent=et._register(new H.a),et.onDidChangeModelContent=et._onDidChangeModelContent.event,et._onDidChangeModelLanguage=et._register(new H.a),et.onDidChangeModelLanguage=et._onDidChangeModelLanguage.event,et._onDidChangeModelLanguageConfiguration=et._register(new H.a),et.onDidChangeModelLanguageConfiguration=et._onDidChangeModelLanguageConfiguration.event,et._onDidChangeModelOptions=et._register(new H.a),et.onDidChangeModelOptions=et._onDidChangeModelOptions.event,et._onDidChangeModelDecorations=et._register(new H.a),et.onDidChangeModelDecorations=et._onDidChangeModelDecorations.event,et._onDidChangeConfiguration=et._register(new H.a),et.onDidChangeConfiguration=et._onDidChangeConfiguration.event,et._onDidChangeModel=et._register(new H.a),et.onDidChangeModel=et._onDidChangeModel.event,et._onDidChangeCursorPosition=et._register(new H.a),et.onDidChangeCursorPosition=et._onDidChangeCursorPosition.event,et._onDidChangeCursorSelection=et._register(new H.a),et.onDidChangeCursorSelection=et._onDidChangeCursorSelection.event,et._onDidAttemptReadOnlyEdit=et._register(new H.a),et.onDidAttemptReadOnlyEdit=et._onDidAttemptReadOnlyEdit.event,et._onDidLayoutChange=et._register(new H.a),et.onDidLayoutChange=et._onDidLayoutChange.event,et._editorTextFocus=et._register(new ei),et.onDidFocusEditorText=et._editorTextFocus.onDidChangeToTrue,et.onDidBlurEditorText=et._editorTextFocus.onDidChangeToFalse,et._editorWidgetFocus=et._register(new ei),et.onDidFocusEditorWidget=et._editorWidgetFocus.onDidChangeToTrue,et.onDidBlurEditorWidget=et._editorWidgetFocus.onDidChangeToFalse,et._onWillType=et._register(new H.a),et.onWillType=et._onWillType.event,et._onDidType=et._register(new H.a),et.onDidType=et._onDidType.event,et._onDidCompositionStart=et._register(new H.a),et.onDidCompositionStart=et._onDidCompositionStart.event,et._onDidCompositionEnd=et._register(new H.a),et.onDidCompositionEnd=et._onDidCompositionEnd.event,et._onDidPaste=et._register(new H.a),et.onDidPaste=et._onDidPaste.event,et._onMouseUp=et._register(new H.a),et.onMouseUp=et._onMouseUp.event,et._onMouseDown=et._register(new H.a),et.onMouseDown=et._onMouseDown.event,et._onMouseDrag=et._register(new H.a),et.onMouseDrag=et._onMouseDrag.event,et._onMouseDrop=et._register(new H.a),et.onMouseDrop=et._onMouseDrop.event,et._onContextMenu=et._register(new H.a),et.onContextMenu=et._onContextMenu.event,et._onMouseMove=et._register(new H.a),et.onMouseMove=et._onMouseMove.event,et._onMouseLeave=et._register(new H.a),et.onMouseLeave=et._onMouseLeave.event,et._onMouseWheel=et._register(new H.a),et.onMouseWheel=et._onMouseWheel.event,et._onKeyUp=et._register(new H.a),et.onKeyUp=et._onKeyUp.event,et._onKeyDown=et._register(new H.a),et.onKeyDown=et._onKeyDown.event,et._onDidContentSizeChange=et._register(new H.a),et.onDidContentSizeChange=et._onDidContentSizeChange.event,et._onDidScrollChange=et._register(new H.a),et.onDidScrollChange=et._onDidScrollChange.event,et._onDidChangeViewZones=et._register(new H.a),et.onDidChangeViewZones=et._onDidChangeViewZones.event,et._domElement=t,et._id=++gi,et._decorationTypeKeysToIds={},et._decorationTypeSubtypes={},et.isSimpleWidget=g.isSimpleWidget||!1,et._telemetryData=g.telemetryData,i=i||{},et._configuration=et._register(et._createConfiguration(i,wt)),et._register(et._configuration.onDidChange(function(io){et._onDidChangeConfiguration.fire(io);var yo=et._configuration.options;if(io.hasChanged(107)){var mo=yo.get(107);et._onDidLayoutChange.fire(mo)}})),et._contextKeyService=et._register(Le.createScoped(et._domElement)),et._notificationService=ct,et._codeEditorService=K,et._commandService=Ie,et._themeService=qe,et._register(new Fs(et,et._contextKeyService)),et._register(new Ws(et,et._contextKeyService)),et._instantiationService=b.createChild(new sr.a([mi.c,et._contextKeyService])),et._modelData=null,et._contributions={},et._actions={},et._focusTracker=new Br(t),et._focusTracker.onChange(function(){et._editorWidgetFocus.setValue(et._focusTracker.hasFocus())}),et._contentWidgets={},et._overlayWidgets={};var Wt;Array.isArray(g.contributions)?Wt=g.contributions:Wt=x.d.getEditorContributions();for(var kt=0,Vt=Wt;kt1),this._hasNonEmptySelection.set(t.some(function(i){return!i.isEmpty()}))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())},o.prototype._updateFromFocus=function(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())},o.prototype._updateFromModel=function(){var t=this._editor.getModel();this._canUndo.set(Boolean(t&&t.canUndo())),this._canRedo.set(Boolean(t&&t.canRedo()))},o}(z.a),Ws=function(V){Li(o,V);function o(t,i){var g=V.call(this)||this;g._editor=t,g._contextKeyService=i,g._langId=Jo.a.languageId.bindTo(i),g._hasCompletionItemProvider=Jo.a.hasCompletionItemProvider.bindTo(i),g._hasCodeActionsProvider=Jo.a.hasCodeActionsProvider.bindTo(i),g._hasCodeLensProvider=Jo.a.hasCodeLensProvider.bindTo(i),g._hasDefinitionProvider=Jo.a.hasDefinitionProvider.bindTo(i),g._hasDeclarationProvider=Jo.a.hasDeclarationProvider.bindTo(i),g._hasImplementationProvider=Jo.a.hasImplementationProvider.bindTo(i),g._hasTypeDefinitionProvider=Jo.a.hasTypeDefinitionProvider.bindTo(i),g._hasHoverProvider=Jo.a.hasHoverProvider.bindTo(i),g._hasDocumentHighlightProvider=Jo.a.hasDocumentHighlightProvider.bindTo(i),g._hasDocumentSymbolProvider=Jo.a.hasDocumentSymbolProvider.bindTo(i),g._hasReferenceProvider=Jo.a.hasReferenceProvider.bindTo(i),g._hasRenameProvider=Jo.a.hasRenameProvider.bindTo(i),g._hasSignatureHelpProvider=Jo.a.hasSignatureHelpProvider.bindTo(i),g._hasDocumentFormattingProvider=Jo.a.hasDocumentFormattingProvider.bindTo(i),g._hasDocumentSelectionFormattingProvider=Jo.a.hasDocumentSelectionFormattingProvider.bindTo(i),g._hasMultipleDocumentFormattingProvider=Jo.a.hasMultipleDocumentFormattingProvider.bindTo(i),g._hasMultipleDocumentSelectionFormattingProvider=Jo.a.hasMultipleDocumentSelectionFormattingProvider.bindTo(i),g._isInWalkThrough=Jo.a.isInEmbeddedEditor.bindTo(i);var b=function(){return g._update()};return g._register(t.onDidChangeModel(b)),g._register(t.onDidChangeModelLanguage(b)),g._register($o.d.onDidChange(b)),g._register($o.a.onDidChange(b)),g._register($o.b.onDidChange(b)),g._register($o.f.onDidChange(b)),g._register($o.e.onDidChange(b)),g._register($o.q.onDidChange(b)),g._register($o.C.onDidChange(b)),g._register($o.p.onDidChange(b)),g._register($o.i.onDidChange(b)),g._register($o.m.onDidChange(b)),g._register($o.u.onDidChange(b)),g._register($o.v.onDidChange(b)),g._register($o.g.onDidChange(b)),g._register($o.j.onDidChange(b)),g._register($o.x.onDidChange(b)),b(),g}return o.prototype.dispose=function(){V.prototype.dispose.call(this)},o.prototype.reset=function(){var t=this;this._contextKeyService.bufferChangeEvents(function(){t._langId.reset(),t._hasCompletionItemProvider.reset(),t._hasCodeActionsProvider.reset(),t._hasCodeLensProvider.reset(),t._hasDefinitionProvider.reset(),t._hasDeclarationProvider.reset(),t._hasImplementationProvider.reset(),t._hasTypeDefinitionProvider.reset(),t._hasHoverProvider.reset(),t._hasDocumentHighlightProvider.reset(),t._hasDocumentSymbolProvider.reset(),t._hasReferenceProvider.reset(),t._hasRenameProvider.reset(),t._hasDocumentFormattingProvider.reset(),t._hasDocumentSelectionFormattingProvider.reset(),t._hasSignatureHelpProvider.reset(),t._isInWalkThrough.reset()})},o.prototype._update=function(){var t=this,i=this._editor.getModel();if(!i){this.reset();return}this._contextKeyService.bufferChangeEvents(function(){t._langId.set(i.getLanguageIdentifier().language),t._hasCompletionItemProvider.set($o.d.has(i)),t._hasCodeActionsProvider.set($o.a.has(i)),t._hasCodeLensProvider.set($o.b.has(i)),t._hasDefinitionProvider.set($o.f.has(i)),t._hasDeclarationProvider.set($o.e.has(i)),t._hasImplementationProvider.set($o.q.has(i)),t._hasTypeDefinitionProvider.set($o.C.has(i)),t._hasHoverProvider.set($o.p.has(i)),t._hasDocumentHighlightProvider.set($o.i.has(i)),t._hasDocumentSymbolProvider.set($o.m.has(i)),t._hasReferenceProvider.set($o.u.has(i)),t._hasRenameProvider.set($o.v.has(i)),t._hasSignatureHelpProvider.set($o.x.has(i)),t._hasDocumentFormattingProvider.set($o.g.has(i)||$o.j.has(i)),t._hasDocumentSelectionFormattingProvider.set($o.j.has(i)),t._hasMultipleDocumentFormattingProvider.set($o.g.all(i).length+$o.j.all(i).length>1),t._hasMultipleDocumentSelectionFormattingProvider.set($o.j.all(i).length>1),t._isInWalkThrough.set(i.uri.scheme===O.b.walkThroughSnippet)})},o}(z.a),Br=function(V){Li(o,V);function o(t){var i=V.call(this)||this;return i._onChange=i._register(new U.a),i.onChange=i._onChange.event,i._hasFocus=!1,i._domFocusTracker=i._register(J.Z(t)),i._register(i._domFocusTracker.onDidFocus(function(){i._hasFocus=!0,i._onChange.fire(void 0)})),i._register(i._domFocusTracker.onDidBlur(function(){i._hasFocus=!1,i._onChange.fire(void 0)})),i}return o.prototype.hasFocus=function(){return this._hasFocus},o}(z.a),Bs=encodeURIComponent("");function vi(V){return Bs+encodeURIComponent(V.toString())+Hr}var Hs=encodeURIComponent('');function Bi(V){return Hs+encodeURIComponent(V.toString())+Wi}Object(X.e)(function(V,o){var t=V.getColor(Tn.p);t&&o.addRule(".monaco-editor .squiggly-error { border-bottom: 4px double "+t+"; }");var i=V.getColor(Tn.q);i&&o.addRule('.monaco-editor .squiggly-error { background: url("data:image/svg+xml,'+vi(i)+'") repeat-x bottom left; }');var g=V.getColor(Tn.O);g&&o.addRule(".monaco-editor .squiggly-warning { border-bottom: 4px double "+g+"; }");var b=V.getColor(Tn.P);b&&o.addRule('.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,'+vi(b)+'") repeat-x bottom left; }');var K=V.getColor(Tn.G);K&&o.addRule(".monaco-editor .squiggly-info { border-bottom: 4px double "+K+"; }");var Ie=V.getColor(Tn.H);Ie&&o.addRule('.monaco-editor .squiggly-info { background: url("data:image/svg+xml,'+vi(Ie)+'") repeat-x bottom left; }');var Le=V.getColor(Tn.y);Le&&o.addRule(".monaco-editor .squiggly-hint { border-bottom: 2px dotted "+Le+"; }");var qe=V.getColor(Tn.z);qe&&o.addRule('.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,'+Bi(qe)+'") no-repeat bottom left; }');var ct=V.getColor(lt.o);ct&&o.addRule(".monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: "+ct.rgba.a+"; }");var wt=V.getColor(lt.n);wt&&o.addRule(".monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed "+wt+"; }");var et=V.getColor(Tn.x)||"inherit";o.addRule(".monaco-editor .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: "+et+"}")})},nD70:function(Lt,j,e){"use strict";e.d(j,"a",function(){return T}),e.d(j,"b",function(){return re});var T=function(){function J(I){this._prefix=I,this._lastId=0}return J.prototype.nextId=function(){return this._prefix+ ++this._lastId},J}(),re=new T("id#")},nlbu:function(Lt,j,e){"use strict";e.d(j,"b",function(){return re}),e.d(j,"d",function(){return J}),e.d(j,"c",function(){return I}),e.d(j,"a",function(){return z});var T=e("N0LK"),re=function(){function O(H){this.value=H}return O.prototype.equals=function(H){return this.value===H.value},O.prototype.contains=function(H){return this.equals(H)||this.value===""||Object(T.N)(H.value,this.value+O.sep)},O.prototype.intersects=function(H){return this.contains(H)||H.contains(this)},O.prototype.append=function(H){return new O(this.value+O.sep+H)},O.sep=".",O.None=new O("@@none@@"),O.Empty=new O(""),O.QuickFix=new O("quickfix"),O.Refactor=new O("refactor"),O.Source=new O("source"),O.SourceOrganizeImports=O.Source.append("organizeImports"),O.SourceFixAll=O.Source.append("fixAll"),O}();function J(O,H){return O.include&&!O.include.intersects(H)||O.excludes&&O.excludes.some(function(x){return U(H,x,O.include)})?!1:!(!O.includeSourceActions&&re.Source.contains(H))}function I(O,H){var x=H.kind?new re(H.kind):void 0;return O.include&&(!x||!O.include.contains(x))||(O.excludes&&(x&&O.excludes.some(function(u){return U(x,u,O.include)}))||!O.includeSourceActions&&(x&&re.Source.contains(x)))?!1:!(O.onlyIncludePreferredActions&&!H.isPreferred)}function U(O,H,x){return H.contains(O)?!(x&&H.contains(x)):!1}var z=function(){function O(H,x,u){this.kind=H,this.apply=x,this.preferred=u}return O.fromUser=function(H,x){return!H||typeof H!="object"?new O(x.kind,x.apply,!1):new O(O.getKindFromUser(H,x.kind),O.getApplyFromUser(H,x.apply),O.getPreferredUser(H))},O.getApplyFromUser=function(H,x){switch(typeof H.apply=="string"?H.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return x}},O.getKindFromUser=function(H,x){return typeof H.kind=="string"?new re(H.kind):x},O.getPreferredUser=function(H){return typeof H.preferred=="boolean"?H.preferred:!1},O}()},nn6Y:function(Lt,j,e){},nnTU:function(Lt,j,e){"use strict";e.d(j,"b",function(){return H}),e.d(j,"a",function(){return x});var T=e("pmY6"),re=e("746U"),J=e("Cg/j"),I=e("MI8n"),U=e("24hK"),z=e("QDVR"),O=function(){for(var u=0,y=0,_=arguments.length;y<_;y++)u+=arguments[y].length;for(var f=Array(u),v=0,y=0;y<_;y++)for(var w=arguments[y],p=0,c=w.length;p=21&&u<=30||u>=31&&u<=56?!0:u===80||u===81||u===82||u===83||u===84||u===85||u===86||u===110||u===111||u===87||u===88||u===89||u===90||u===91||u===92},x.prototype._assertNoCtrlAlt=function(u,y){u.ctrlKey&&u.altKey&&!u.metaKey&&(x._mightProduceChar(u.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",u," for ",y))},x.prototype._registerDefaultKeybinding=function(u,y,_,f,v,w){re.a===1&&this._assertNoCtrlAlt(u.parts[0],y),this._coreKeybindings.push({keybinding:u,command:y,commandArgs:_,when:w,weight1:f,weight2:v}),this._cachedMergedKeybindings=null},x.prototype.getDefaultKeybindings=function(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(H)),this._cachedMergedKeybindings.slice(0)},x}(),z=new U,O={EditorModes:"platform.keybindingsRegistry"};I.a.add(O.EditorModes,z);function H(x,u){return x.weight1!==u.weight1?x.weight1-u.weight1:x.commandu.command?1:x.weight2-u.weight2}},nuFA:function(Lt,j,e){"use strict";e.d(j,"a",function(){return T});var T;(function(re){function J(O,H){if(O.start>=H.end||H.start>=O.end)return{start:0,end:0};var x=Math.max(O.start,H.start),u=Math.min(O.end,H.end);return u-x<=0?{start:0,end:0}:{start:x,end:u}}re.intersect=J;function I(O){return O.end-O.start<=0}re.isEmpty=I;function U(O,H){return!I(J(O,H))}re.intersects=U;function z(O,H){var x=[],u={start:O.start,end:Math.min(H.start,O.end)},y={start:Math.max(H.end,O.start),end:O.end};return I(u)||x.push(u),I(y)||x.push(y),x}re.relativeComplement=z})(T||(T={}))},o39E:function(Lt,j,e){"use strict";e.d(j,"a",function(){return I});var T=e("pmY6"),re=e("EffR"),J=function(){var U=function(O,H){return U=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,u){x.__proto__=u}||function(x,u){for(var y in u)u.hasOwnProperty(y)&&(x[y]=u[y])},U(O,H)};return function(z,O){U(z,O);function H(){this.constructor=z}z.prototype=O===null?Object.create(O):(H.prototype=O.prototype,new H)}}(),I=function(U){J(z,U);function z(O,H,x){var u=U.call(this)||this;return u.referenceDomElement=O,u.changeCallback=x,u.width=-1,u.height=-1,u.mutationObserver=null,u.windowSizeListener=null,u.measureReferenceDomElement(!1,H),u}return z.prototype.dispose=function(){this.stopObserving(),U.prototype.dispose.call(this)},z.prototype.getWidth=function(){return this.width},z.prototype.getHeight=function(){return this.height},z.prototype.startObserving=function(){var O=this;!this.mutationObserver&&this.referenceDomElement&&(this.mutationObserver=new MutationObserver(function(){return O._onDidMutate()}),this.mutationObserver.observe(this.referenceDomElement,{attributes:!0})),this.windowSizeListener||(this.windowSizeListener=re.j(window,"resize",function(){return O._onDidResizeWindow()}))},z.prototype.stopObserving=function(){this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=null),this.windowSizeListener&&(this.windowSizeListener.dispose(),this.windowSizeListener=null)},z.prototype.observe=function(O){this.measureReferenceDomElement(!0,O)},z.prototype._onDidMutate=function(){this.measureReferenceDomElement(!0)},z.prototype._onDidResizeWindow=function(){this.measureReferenceDomElement(!0)},z.prototype.measureReferenceDomElement=function(O,H){var x=0,u=0;H?(x=H.width,u=H.height):this.referenceDomElement&&(x=this.referenceDomElement.clientWidth,u=this.referenceDomElement.clientHeight),x=Math.max(5,x),u=Math.max(5,u),(this.width!==x||this.height!==u)&&(this.width=x,this.height=u,O&&this.changeCallback())},z}(T.a)},oAeH:function(Lt,j,e){"use strict";e.d(j,"b",function(){return O}),e.d(j,"a",function(){return H});var T=e("746U"),re=e("Ll0s"),J=e("+Fos"),I=e("1I1M"),U=e("cGHE"),z=e("aokT"),O=function(){function x(){}return x.addCursorDown=function(u,y,_){for(var f=[],v=0,w=0,p=y.length;wc&&(s=c,l=u.model.getLineMaxColumn(s)),re.d.fromModelState(new re.f(new z.a(w.lineNumber,1,s,l),0,new U.a(s,l),0))}var d=y.modelState.selectionStart.getStartPosition().lineNumber;if(w.lineNumberd){var c=u.viewModel.getLineCount(),m=p.lineNumber+1,E=1;return m>c&&(m=c,E=u.viewModel.getLineMaxColumn(m)),re.d.fromViewState(y.viewState.move(y.modelState.hasSelection(),m,E,0))}else{var L=y.modelState.selectionStart.getEndPosition();return re.d.fromModelState(y.modelState.move(y.modelState.hasSelection(),L.lineNumber,L.column,0))}},x.word=function(u,y,_,f){var v=u.model.validatePosition(f);return re.d.fromModelState(I.a.word(u.config,u.model,y.modelState,_,v))},x.cancelSelection=function(u,y){if(!y.modelState.hasSelection())return new re.d(y.modelState,y.viewState);var _=y.viewState.position.lineNumber,f=y.viewState.position.column;return re.d.fromViewState(new re.f(new z.a(_,f,_,f),0,new U.a(_,f),0))},x.moveTo=function(u,y,_,f,v){var w=u.model.validatePosition(f),p=v?u.validateViewPosition(new U.a(v.lineNumber,v.column),w):u.convertModelPositionToViewPosition(w);return re.d.fromViewState(y.viewState.move(_,p.lineNumber,p.column,0))},x.move=function(u,y,_){var f=_.select,v=_.value;switch(_.direction){case 0:return _.unit===4?this._moveHalfLineLeft(u,y,f):this._moveLeft(u,y,f,v);case 1:return _.unit===4?this._moveHalfLineRight(u,y,f):this._moveRight(u,y,f,v);case 2:return _.unit===2?this._moveUpByViewLines(u,y,f,v):this._moveUpByModelLines(u,y,f,v);case 3:return _.unit===2?this._moveDownByViewLines(u,y,f,v):this._moveDownByModelLines(u,y,f,v);case 4:return this._moveToViewMinColumn(u,y,f);case 5:return this._moveToViewFirstNonWhitespaceColumn(u,y,f);case 6:return this._moveToViewCenterColumn(u,y,f);case 7:return this._moveToViewMaxColumn(u,y,f);case 8:return this._moveToViewLastNonWhitespaceColumn(u,y,f);case 9:{var w=y[0],p=u.getCompletelyVisibleModelRange(),c=this._firstLineNumberInRange(u.model,p,v),s=u.model.getLineFirstNonWhitespaceColumn(c);return[this._moveToModelPosition(u,w,f,c,s)]}case 11:{var w=y[0],p=u.getCompletelyVisibleModelRange(),c=this._lastLineNumberInRange(u.model,p,v),s=u.model.getLineFirstNonWhitespaceColumn(c);return[this._moveToModelPosition(u,w,f,c,s)]}case 10:{var w=y[0],p=u.getCompletelyVisibleModelRange(),c=Math.round((p.startLineNumber+p.endLineNumber)/2),s=u.model.getLineFirstNonWhitespaceColumn(c);return[this._moveToModelPosition(u,w,f,c,s)]}case 12:{for(var l=u.getCompletelyVisibleViewRange(),d=[],m=0,E=y.length;m_.endLineNumber-1&&(v=_.endLineNumber-1),v<_.startLineNumber&&(v=_.startLineNumber);var w=u.viewModel.getLineFirstNonWhitespaceColumn(v);return this._moveToViewPosition(u,y,f,v,w)},x._firstLineNumberInRange=function(u,y,_){var f=y.startLineNumber;return y.startColumn!==u.getLineMinColumn(f)&&f++,Math.min(y.endLineNumber,f+_-1)},x._lastLineNumberInRange=function(u,y,_){var f=y.startLineNumber;return y.startColumn!==u.getLineMinColumn(f)&&f++,Math.max(f,y.endLineNumber-_+1)},x._moveLeft=function(u,y,_,f){for(var v=[],w=0,p=y.length;w1),this._hasNonEmptySelection.set(t.some(function(i){return!i.isEmpty()}))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())},o.prototype._updateFromFocus=function(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())},o.prototype._updateFromModel=function(){var t=this._editor.getModel();this._canUndo.set(Boolean(t&&t.canUndo())),this._canRedo.set(Boolean(t&&t.canRedo()))},o}(z.a),Ws=function(V){Li(o,V);function o(t,i){var g=V.call(this)||this;g._editor=t,g._contextKeyService=i,g._langId=Jo.a.languageId.bindTo(i),g._hasCompletionItemProvider=Jo.a.hasCompletionItemProvider.bindTo(i),g._hasCodeActionsProvider=Jo.a.hasCodeActionsProvider.bindTo(i),g._hasCodeLensProvider=Jo.a.hasCodeLensProvider.bindTo(i),g._hasDefinitionProvider=Jo.a.hasDefinitionProvider.bindTo(i),g._hasDeclarationProvider=Jo.a.hasDeclarationProvider.bindTo(i),g._hasImplementationProvider=Jo.a.hasImplementationProvider.bindTo(i),g._hasTypeDefinitionProvider=Jo.a.hasTypeDefinitionProvider.bindTo(i),g._hasHoverProvider=Jo.a.hasHoverProvider.bindTo(i),g._hasDocumentHighlightProvider=Jo.a.hasDocumentHighlightProvider.bindTo(i),g._hasDocumentSymbolProvider=Jo.a.hasDocumentSymbolProvider.bindTo(i),g._hasReferenceProvider=Jo.a.hasReferenceProvider.bindTo(i),g._hasRenameProvider=Jo.a.hasRenameProvider.bindTo(i),g._hasSignatureHelpProvider=Jo.a.hasSignatureHelpProvider.bindTo(i),g._hasDocumentFormattingProvider=Jo.a.hasDocumentFormattingProvider.bindTo(i),g._hasDocumentSelectionFormattingProvider=Jo.a.hasDocumentSelectionFormattingProvider.bindTo(i),g._hasMultipleDocumentFormattingProvider=Jo.a.hasMultipleDocumentFormattingProvider.bindTo(i),g._hasMultipleDocumentSelectionFormattingProvider=Jo.a.hasMultipleDocumentSelectionFormattingProvider.bindTo(i),g._isInWalkThrough=Jo.a.isInEmbeddedEditor.bindTo(i);var b=function(){return g._update()};return g._register(t.onDidChangeModel(b)),g._register(t.onDidChangeModelLanguage(b)),g._register($o.d.onDidChange(b)),g._register($o.a.onDidChange(b)),g._register($o.b.onDidChange(b)),g._register($o.f.onDidChange(b)),g._register($o.e.onDidChange(b)),g._register($o.q.onDidChange(b)),g._register($o.C.onDidChange(b)),g._register($o.p.onDidChange(b)),g._register($o.i.onDidChange(b)),g._register($o.m.onDidChange(b)),g._register($o.u.onDidChange(b)),g._register($o.v.onDidChange(b)),g._register($o.g.onDidChange(b)),g._register($o.j.onDidChange(b)),g._register($o.x.onDidChange(b)),b(),g}return o.prototype.dispose=function(){V.prototype.dispose.call(this)},o.prototype.reset=function(){var t=this;this._contextKeyService.bufferChangeEvents(function(){t._langId.reset(),t._hasCompletionItemProvider.reset(),t._hasCodeActionsProvider.reset(),t._hasCodeLensProvider.reset(),t._hasDefinitionProvider.reset(),t._hasDeclarationProvider.reset(),t._hasImplementationProvider.reset(),t._hasTypeDefinitionProvider.reset(),t._hasHoverProvider.reset(),t._hasDocumentHighlightProvider.reset(),t._hasDocumentSymbolProvider.reset(),t._hasReferenceProvider.reset(),t._hasRenameProvider.reset(),t._hasDocumentFormattingProvider.reset(),t._hasDocumentSelectionFormattingProvider.reset(),t._hasSignatureHelpProvider.reset(),t._isInWalkThrough.reset()})},o.prototype._update=function(){var t=this,i=this._editor.getModel();if(!i){this.reset();return}this._contextKeyService.bufferChangeEvents(function(){t._langId.set(i.getLanguageIdentifier().language),t._hasCompletionItemProvider.set($o.d.has(i)),t._hasCodeActionsProvider.set($o.a.has(i)),t._hasCodeLensProvider.set($o.b.has(i)),t._hasDefinitionProvider.set($o.f.has(i)),t._hasDeclarationProvider.set($o.e.has(i)),t._hasImplementationProvider.set($o.q.has(i)),t._hasTypeDefinitionProvider.set($o.C.has(i)),t._hasHoverProvider.set($o.p.has(i)),t._hasDocumentHighlightProvider.set($o.i.has(i)),t._hasDocumentSymbolProvider.set($o.m.has(i)),t._hasReferenceProvider.set($o.u.has(i)),t._hasRenameProvider.set($o.v.has(i)),t._hasSignatureHelpProvider.set($o.x.has(i)),t._hasDocumentFormattingProvider.set($o.g.has(i)||$o.j.has(i)),t._hasDocumentSelectionFormattingProvider.set($o.j.has(i)),t._hasMultipleDocumentFormattingProvider.set($o.g.all(i).length+$o.j.all(i).length>1),t._hasMultipleDocumentSelectionFormattingProvider.set($o.j.all(i).length>1),t._isInWalkThrough.set(i.uri.scheme===O.b.walkThroughSnippet)})},o}(z.a),Br=function(V){Li(o,V);function o(t){var i=V.call(this)||this;return i._onChange=i._register(new H.a),i.onChange=i._onChange.event,i._hasFocus=!1,i._domFocusTracker=i._register(J.Z(t)),i._register(i._domFocusTracker.onDidFocus(function(){i._hasFocus=!0,i._onChange.fire(void 0)})),i._register(i._domFocusTracker.onDidBlur(function(){i._hasFocus=!1,i._onChange.fire(void 0)})),i}return o.prototype.hasFocus=function(){return this._hasFocus},o}(z.a),Bs=encodeURIComponent("");function vi(V){return Bs+encodeURIComponent(V.toString())+Ur}var Us=encodeURIComponent('');function Bi(V){return Us+encodeURIComponent(V.toString())+Wi}Object(X.e)(function(V,o){var t=V.getColor(Tn.p);t&&o.addRule(".monaco-editor .squiggly-error { border-bottom: 4px double "+t+"; }");var i=V.getColor(Tn.q);i&&o.addRule('.monaco-editor .squiggly-error { background: url("data:image/svg+xml,'+vi(i)+'") repeat-x bottom left; }');var g=V.getColor(Tn.O);g&&o.addRule(".monaco-editor .squiggly-warning { border-bottom: 4px double "+g+"; }");var b=V.getColor(Tn.P);b&&o.addRule('.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,'+vi(b)+'") repeat-x bottom left; }');var K=V.getColor(Tn.G);K&&o.addRule(".monaco-editor .squiggly-info { border-bottom: 4px double "+K+"; }");var Ie=V.getColor(Tn.H);Ie&&o.addRule('.monaco-editor .squiggly-info { background: url("data:image/svg+xml,'+vi(Ie)+'") repeat-x bottom left; }');var Le=V.getColor(Tn.y);Le&&o.addRule(".monaco-editor .squiggly-hint { border-bottom: 2px dotted "+Le+"; }");var qe=V.getColor(Tn.z);qe&&o.addRule('.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,'+Bi(qe)+'") no-repeat bottom left; }');var ct=V.getColor(lt.o);ct&&o.addRule(".monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: "+ct.rgba.a+"; }");var wt=V.getColor(lt.n);wt&&o.addRule(".monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed "+wt+"; }");var et=V.getColor(Tn.x)||"inherit";o.addRule(".monaco-editor .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: "+et+"}")})},nD70:function(Lt,j,e){"use strict";e.d(j,"a",function(){return T}),e.d(j,"b",function(){return re});var T=function(){function J(I){this._prefix=I,this._lastId=0}return J.prototype.nextId=function(){return this._prefix+ ++this._lastId},J}(),re=new T("id#")},nlbu:function(Lt,j,e){"use strict";e.d(j,"b",function(){return re}),e.d(j,"d",function(){return J}),e.d(j,"c",function(){return I}),e.d(j,"a",function(){return z});var T=e("N0LK"),re=function(){function O(U){this.value=U}return O.prototype.equals=function(U){return this.value===U.value},O.prototype.contains=function(U){return this.equals(U)||this.value===""||Object(T.N)(U.value,this.value+O.sep)},O.prototype.intersects=function(U){return this.contains(U)||U.contains(this)},O.prototype.append=function(U){return new O(this.value+O.sep+U)},O.sep=".",O.None=new O("@@none@@"),O.Empty=new O(""),O.QuickFix=new O("quickfix"),O.Refactor=new O("refactor"),O.Source=new O("source"),O.SourceOrganizeImports=O.Source.append("organizeImports"),O.SourceFixAll=O.Source.append("fixAll"),O}();function J(O,U){return O.include&&!O.include.intersects(U)||O.excludes&&O.excludes.some(function(x){return H(U,x,O.include)})?!1:!(!O.includeSourceActions&&re.Source.contains(U))}function I(O,U){var x=U.kind?new re(U.kind):void 0;return O.include&&(!x||!O.include.contains(x))||(O.excludes&&(x&&O.excludes.some(function(u){return H(x,u,O.include)}))||!O.includeSourceActions&&(x&&re.Source.contains(x)))?!1:!(O.onlyIncludePreferredActions&&!U.isPreferred)}function H(O,U,x){return U.contains(O)?!(x&&U.contains(x)):!1}var z=function(){function O(U,x,u){this.kind=U,this.apply=x,this.preferred=u}return O.fromUser=function(U,x){return!U||typeof U!="object"?new O(x.kind,x.apply,!1):new O(O.getKindFromUser(U,x.kind),O.getApplyFromUser(U,x.apply),O.getPreferredUser(U))},O.getApplyFromUser=function(U,x){switch(typeof U.apply=="string"?U.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return x}},O.getKindFromUser=function(U,x){return typeof U.kind=="string"?new re(U.kind):x},O.getPreferredUser=function(U){return typeof U.preferred=="boolean"?U.preferred:!1},O}()},nn6Y:function(Lt,j,e){},nnTU:function(Lt,j,e){"use strict";e.d(j,"b",function(){return U}),e.d(j,"a",function(){return x});var T=e("pmY6"),re=e("746U"),J=e("Cg/j"),I=e("MI8n"),H=e("24hK"),z=e("QDVR"),O=function(){for(var u=0,y=0,_=arguments.length;y<_;y++)u+=arguments[y].length;for(var f=Array(u),v=0,y=0;y<_;y++)for(var w=arguments[y],p=0,c=w.length;p=21&&u<=30||u>=31&&u<=56?!0:u===80||u===81||u===82||u===83||u===84||u===85||u===86||u===110||u===111||u===87||u===88||u===89||u===90||u===91||u===92},x.prototype._assertNoCtrlAlt=function(u,y){u.ctrlKey&&u.altKey&&!u.metaKey&&(x._mightProduceChar(u.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",u," for ",y))},x.prototype._registerDefaultKeybinding=function(u,y,_,f,v,w){re.a===1&&this._assertNoCtrlAlt(u.parts[0],y),this._coreKeybindings.push({keybinding:u,command:y,commandArgs:_,when:w,weight1:f,weight2:v}),this._cachedMergedKeybindings=null},x.prototype.getDefaultKeybindings=function(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(U)),this._cachedMergedKeybindings.slice(0)},x}(),z=new H,O={EditorModes:"platform.keybindingsRegistry"};I.a.add(O.EditorModes,z);function U(x,u){return x.weight1!==u.weight1?x.weight1-u.weight1:x.commandu.command?1:x.weight2-u.weight2}},nuFA:function(Lt,j,e){"use strict";e.d(j,"a",function(){return T});var T;(function(re){function J(O,U){if(O.start>=U.end||U.start>=O.end)return{start:0,end:0};var x=Math.max(O.start,U.start),u=Math.min(O.end,U.end);return u-x<=0?{start:0,end:0}:{start:x,end:u}}re.intersect=J;function I(O){return O.end-O.start<=0}re.isEmpty=I;function H(O,U){return!I(J(O,U))}re.intersects=H;function z(O,U){var x=[],u={start:O.start,end:Math.min(U.start,O.end)},y={start:Math.max(U.end,O.start),end:O.end};return I(u)||x.push(u),I(y)||x.push(y),x}re.relativeComplement=z})(T||(T={}))},o39E:function(Lt,j,e){"use strict";e.d(j,"a",function(){return I});var T=e("pmY6"),re=e("EffR"),J=function(){var H=function(O,U){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,u){x.__proto__=u}||function(x,u){for(var y in u)u.hasOwnProperty(y)&&(x[y]=u[y])},H(O,U)};return function(z,O){H(z,O);function U(){this.constructor=z}z.prototype=O===null?Object.create(O):(U.prototype=O.prototype,new U)}}(),I=function(H){J(z,H);function z(O,U,x){var u=H.call(this)||this;return u.referenceDomElement=O,u.changeCallback=x,u.width=-1,u.height=-1,u.mutationObserver=null,u.windowSizeListener=null,u.measureReferenceDomElement(!1,U),u}return z.prototype.dispose=function(){this.stopObserving(),H.prototype.dispose.call(this)},z.prototype.getWidth=function(){return this.width},z.prototype.getHeight=function(){return this.height},z.prototype.startObserving=function(){var O=this;!this.mutationObserver&&this.referenceDomElement&&(this.mutationObserver=new MutationObserver(function(){return O._onDidMutate()}),this.mutationObserver.observe(this.referenceDomElement,{attributes:!0})),this.windowSizeListener||(this.windowSizeListener=re.j(window,"resize",function(){return O._onDidResizeWindow()}))},z.prototype.stopObserving=function(){this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=null),this.windowSizeListener&&(this.windowSizeListener.dispose(),this.windowSizeListener=null)},z.prototype.observe=function(O){this.measureReferenceDomElement(!0,O)},z.prototype._onDidMutate=function(){this.measureReferenceDomElement(!0)},z.prototype._onDidResizeWindow=function(){this.measureReferenceDomElement(!0)},z.prototype.measureReferenceDomElement=function(O,U){var x=0,u=0;U?(x=U.width,u=U.height):this.referenceDomElement&&(x=this.referenceDomElement.clientWidth,u=this.referenceDomElement.clientHeight),x=Math.max(5,x),u=Math.max(5,u),(this.width!==x||this.height!==u)&&(this.width=x,this.height=u,O&&this.changeCallback())},z}(T.a)},oAeH:function(Lt,j,e){"use strict";e.d(j,"b",function(){return O}),e.d(j,"a",function(){return U});var T=e("746U"),re=e("Ll0s"),J=e("+Fos"),I=e("1I1M"),H=e("cGHE"),z=e("aokT"),O=function(){function x(){}return x.addCursorDown=function(u,y,_){for(var f=[],v=0,w=0,p=y.length;wc&&(s=c,l=u.model.getLineMaxColumn(s)),re.d.fromModelState(new re.f(new z.a(w.lineNumber,1,s,l),0,new H.a(s,l),0))}var d=y.modelState.selectionStart.getStartPosition().lineNumber;if(w.lineNumberd){var c=u.viewModel.getLineCount(),m=p.lineNumber+1,E=1;return m>c&&(m=c,E=u.viewModel.getLineMaxColumn(m)),re.d.fromViewState(y.viewState.move(y.modelState.hasSelection(),m,E,0))}else{var L=y.modelState.selectionStart.getEndPosition();return re.d.fromModelState(y.modelState.move(y.modelState.hasSelection(),L.lineNumber,L.column,0))}},x.word=function(u,y,_,f){var v=u.model.validatePosition(f);return re.d.fromModelState(I.a.word(u.config,u.model,y.modelState,_,v))},x.cancelSelection=function(u,y){if(!y.modelState.hasSelection())return new re.d(y.modelState,y.viewState);var _=y.viewState.position.lineNumber,f=y.viewState.position.column;return re.d.fromViewState(new re.f(new z.a(_,f,_,f),0,new H.a(_,f),0))},x.moveTo=function(u,y,_,f,v){var w=u.model.validatePosition(f),p=v?u.validateViewPosition(new H.a(v.lineNumber,v.column),w):u.convertModelPositionToViewPosition(w);return re.d.fromViewState(y.viewState.move(_,p.lineNumber,p.column,0))},x.move=function(u,y,_){var f=_.select,v=_.value;switch(_.direction){case 0:return _.unit===4?this._moveHalfLineLeft(u,y,f):this._moveLeft(u,y,f,v);case 1:return _.unit===4?this._moveHalfLineRight(u,y,f):this._moveRight(u,y,f,v);case 2:return _.unit===2?this._moveUpByViewLines(u,y,f,v):this._moveUpByModelLines(u,y,f,v);case 3:return _.unit===2?this._moveDownByViewLines(u,y,f,v):this._moveDownByModelLines(u,y,f,v);case 4:return this._moveToViewMinColumn(u,y,f);case 5:return this._moveToViewFirstNonWhitespaceColumn(u,y,f);case 6:return this._moveToViewCenterColumn(u,y,f);case 7:return this._moveToViewMaxColumn(u,y,f);case 8:return this._moveToViewLastNonWhitespaceColumn(u,y,f);case 9:{var w=y[0],p=u.getCompletelyVisibleModelRange(),c=this._firstLineNumberInRange(u.model,p,v),s=u.model.getLineFirstNonWhitespaceColumn(c);return[this._moveToModelPosition(u,w,f,c,s)]}case 11:{var w=y[0],p=u.getCompletelyVisibleModelRange(),c=this._lastLineNumberInRange(u.model,p,v),s=u.model.getLineFirstNonWhitespaceColumn(c);return[this._moveToModelPosition(u,w,f,c,s)]}case 10:{var w=y[0],p=u.getCompletelyVisibleModelRange(),c=Math.round((p.startLineNumber+p.endLineNumber)/2),s=u.model.getLineFirstNonWhitespaceColumn(c);return[this._moveToModelPosition(u,w,f,c,s)]}case 12:{for(var l=u.getCompletelyVisibleViewRange(),d=[],m=0,E=y.length;m_.endLineNumber-1&&(v=_.endLineNumber-1),v<_.startLineNumber&&(v=_.startLineNumber);var w=u.viewModel.getLineFirstNonWhitespaceColumn(v);return this._moveToViewPosition(u,y,f,v,w)},x._firstLineNumberInRange=function(u,y,_){var f=y.startLineNumber;return y.startColumn!==u.getLineMinColumn(f)&&f++,Math.min(y.endLineNumber,f+_-1)},x._lastLineNumberInRange=function(u,y,_){var f=y.startLineNumber;return y.startColumn!==u.getLineMinColumn(f)&&f++,Math.max(f,y.endLineNumber-_+1)},x._moveLeft=function(u,y,_,f){for(var v=[],w=0,p=y.length;w=0?Oe+1:1},yt.prototype.getCurrentMatchesPosition=function(He){for(var Oe=this._editor.getModel().getDecorationsInRange(He),rt=0,It=Oe;rt1e3){pe=yt._FIND_MATCH_NO_OVERVIEW_DECORATION;for(var ye=rt._editor.getModel().getLineCount(),We=rt._editor.getLayoutInfo().height,Ze=We/ye,st=Math.max(2,Math.ceil(3/Ze)),mt=He[0].range.startLineNumber,Kt=He[0].range.endLineNumber,Xt=1,no=He.length;Xt=vo.startLineNumber?vo.endLineNumber>Kt&&(Kt=vo.endLineNumber):(D.push({range:new x.a(mt,1,Kt,1),options:yt._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),mt=vo.startLineNumber,Kt=vo.endLineNumber)}D.push({range:new x.a(mt,1,Kt,1),options:yt._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}for(var lo=new Array(He.length),Xt=0,no=He.length;Xt=0;Oe--){var rt=this._decorations[Oe],It=this._editor.getModel().getDecorationRange(rt);if(!It||It.endLineNumber>He.lineNumber)continue;if(It.endLineNumberHe.column)continue;return It}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])},yt.prototype.matchAfterPosition=function(He){if(this._decorations.length===0)return null;for(var Oe=0,rt=this._decorations.length;OeHe.lineNumber)return pe;if(pe.startColumn0){for(var rt=[],It=0;It0;){if(He=rt)break;var pe=yt.charCodeAt(Oe);switch(pe){case 92:He.emitUnchanged(Oe-1),He.emitStatic("\\",Oe+1);break;case 110:He.emitUnchanged(Oe-1),He.emitStatic(` -`,Oe+1);break;case 116:He.emitUnchanged(Oe-1),He.emitStatic(" ",Oe+1);break}continue}if(It===36){if(Oe++,Oe>=rt)break;var pe=yt.charCodeAt(Oe);if(pe===36){He.emitUnchanged(Oe-1),He.emitStatic("$",Oe+1);continue}if(pe===48||pe===38){He.emitUnchanged(Oe-1),He.emitMatchIndex(0,Oe+1);continue}if(49<=pe&&pe<=57){var D=pe-48;if(Oe+10},yt.prototype._cannotFind=function(){if(!this._hasMatches()){var He=this._decorations.getFindScope();return He&&this._editor.revealRangeInCenterIfOutsideViewport(He,0),!0}return!1},yt.prototype._setCurrentFindMatch=function(He){var Oe=this._decorations.setCurrentFindMatch(He);this._state.changeMatchInfo(Oe,this._decorations.getCount(),He),this._editor.setSelection(He),this._editor.revealRangeInCenterIfOutsideViewport(He,0)},yt.prototype._prevSearchPosition=function(He){var Oe=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),rt=He.lineNumber,It=He.column,pe=this._editor.getModel();return Oe||It===1?(rt===1?rt=pe.getLineCount():rt--,It=pe.getLineMaxColumn(rt)):It--,new H.a(rt,It)},yt.prototype._moveToPrevMatch=function(He,Oe){if(Oe===void 0&&(Oe=!1),this._decorations.getCount()=0||this._state.searchString.indexOf("$")>=0),rt=He.lineNumber,It=He.column,pe=this._editor.getModel();return Oe||It===pe.getLineMaxColumn(rt)?(rt===pe.getLineCount()?rt=1:rt++,It=1):It++,new H.a(rt,It)},yt.prototype._moveToNextMatch=function(He){if(this._decorations.getCount()=Ue?this._largeReplaceAll():this._regularReplaceAll(He),this.research(!1)},yt.prototype._largeReplaceAll=function(){var He=new y.a(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null),Oe=He.parseSearchRequest();if(!Oe)return;var rt=Oe.regex;if(!rt.multiline){var It="mu";rt.ignoreCase&&(It+="i"),rt.global&&(It+="g"),rt=new RegExp(rt.source,It)}var pe=this._editor.getModel(),D=pe.getValue(1),ye=pe.getFullModelRange(),We=this._getReplacePattern(),Ze,st=this._state.preserveCase;We.hasReplacementPatterns||st?Ze=D.replace(rt,function(){return We.buildReplaceString(arguments,st)}):Ze=D.replace(rt,We.buildReplaceString(null,st));var mt=new O.b(ye,Ze,this._editor.getSelection());this._executeEditorCommand("replaceAll",mt)},yt.prototype._regularReplaceAll=function(He){for(var Oe=this._getReplacePattern(),rt=this._findMatches(He,Oe.hasReplacementPatterns||this._state.preserveCase,1073741824),It=[],pe=0,D=rt.length;pert&&(Oe=rt),this._matchesPosition!==Oe&&(this._matchesPosition=Oe,pe.matchesPosition=!0,D=!0),this._matchesCount!==rt&&(this._matchesCount=rt,pe.matchesCount=!0,D=!0),typeof It!="undefined"&&(x.a.equalsRange(this._currentMatch,It)||(this._currentMatch=It,pe.currentMatch=!0,D=!0)),D&&this._onFindReplaceStateChange.fire(pe)},He.prototype.change=function(Oe,rt,It){It===void 0&&(It=!0);var pe={moveCursor:rt,updateHistory:It,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1},D=!1,ye=this.isRegex,We=this.wholeWord,Ze=this.matchCase,st=this.preserveCase;typeof Oe.searchString!="undefined"&&(this._searchString!==Oe.searchString&&(this._searchString=Oe.searchString,pe.searchString=!0,D=!0)),typeof Oe.replaceString!="undefined"&&(this._replaceString!==Oe.replaceString&&(this._replaceString=Oe.replaceString,pe.replaceString=!0,D=!0)),typeof Oe.isRevealed!="undefined"&&(this._isRevealed!==Oe.isRevealed&&(this._isRevealed=Oe.isRevealed,pe.isRevealed=!0,D=!0)),typeof Oe.isReplaceRevealed!="undefined"&&(this._isReplaceRevealed!==Oe.isReplaceRevealed&&(this._isReplaceRevealed=Oe.isReplaceRevealed,pe.isReplaceRevealed=!0,D=!0)),typeof Oe.isRegex!="undefined"&&(this._isRegex=Oe.isRegex),typeof Oe.wholeWord!="undefined"&&(this._wholeWord=Oe.wholeWord),typeof Oe.matchCase!="undefined"&&(this._matchCase=Oe.matchCase),typeof Oe.preserveCase!="undefined"&&(this._preserveCase=Oe.preserveCase),typeof Oe.searchScope!="undefined"&&(x.a.equalsRange(this._searchScope,Oe.searchScope)||(this._searchScope=Oe.searchScope,pe.searchScope=!0,D=!0)),this._isRegexOverride=typeof Oe.isRegexOverride!="undefined"?Oe.isRegexOverride:0,this._wholeWordOverride=typeof Oe.wholeWordOverride!="undefined"?Oe.wholeWordOverride:0,this._matchCaseOverride=typeof Oe.matchCaseOverride!="undefined"?Oe.matchCaseOverride:0,this._preserveCaseOverride=typeof Oe.preserveCaseOverride!="undefined"?Oe.preserveCaseOverride:0,ye!==this.isRegex&&(D=!0,pe.isRegex=!0),We!==this.wholeWord&&(D=!0,pe.wholeWord=!0),Ze!==this.matchCase&&(D=!0,pe.matchCase=!0),st!==this.preserveCase&&(D=!0,pe.preserveCase=!0),D&&this._onFindReplaceStateChange.fire(pe)},He}(J.a),Se=e("AbCa"),Ve=e("OBOq"),Qe=e("cMOf"),it=e("/cxE"),pt=e("MNsG"),Rt=e("yqFB"),Mt=e("0+8E"),zt=function(){var yt=function(Oe,rt){return yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(It,pe){It.__proto__=pe}||function(It,pe){for(var D in pe)pe.hasOwnProperty(D)&&(It[D]=pe[D])},yt(Oe,rt)};return function(He,Oe){yt(He,Oe);function rt(){this.constructor=He}He.prototype=Oe===null?Object.create(Oe):(rt.prototype=Oe.prototype,new rt)}}(),uo=T.a("defaultLabel","input"),ao=function(yt){zt(He,yt);function He(Oe,rt,It,pe){var D=yt.call(this)||this;D._showOptionButtons=It,D.fixFocusOnOptionClickEnabled=!0,D._onDidOptionChange=D._register(new X.a),D.onDidOptionChange=D._onDidOptionChange.event,D._onKeyDown=D._register(new X.a),D.onKeyDown=D._onKeyDown.event,D._onMouseDown=D._register(new X.a),D.onMouseDown=D._onMouseDown.event,D._onInput=D._register(new X.a),D._onKeyUp=D._register(new X.a),D._onCaseSensitiveKeyDown=D._register(new X.a),D.onCaseSensitiveKeyDown=D._onCaseSensitiveKeyDown.event,D._onRegexKeyDown=D._register(new X.a),D.onRegexKeyDown=D._onRegexKeyDown.event,D._lastHighlightFindOptions=0,D.contextViewProvider=rt,D.placeholder=pe.placeholder||"",D.validation=pe.validation,D.label=pe.label||uo,D.inputActiveOptionBorder=pe.inputActiveOptionBorder,D.inputActiveOptionBackground=pe.inputActiveOptionBackground,D.inputBackground=pe.inputBackground,D.inputForeground=pe.inputForeground,D.inputBorder=pe.inputBorder,D.inputValidationInfoBorder=pe.inputValidationInfoBorder,D.inputValidationInfoBackground=pe.inputValidationInfoBackground,D.inputValidationInfoForeground=pe.inputValidationInfoForeground,D.inputValidationWarningBorder=pe.inputValidationWarningBorder,D.inputValidationWarningBackground=pe.inputValidationWarningBackground,D.inputValidationWarningForeground=pe.inputValidationWarningForeground,D.inputValidationErrorBorder=pe.inputValidationErrorBorder,D.inputValidationErrorBackground=pe.inputValidationErrorBackground,D.inputValidationErrorForeground=pe.inputValidationErrorForeground;var ye=pe.appendCaseSensitiveLabel||"",We=pe.appendWholeWordsLabel||"",Ze=pe.appendRegexLabel||"",st=pe.history||[],mt=!!pe.flexibleHeight,Kt=!!pe.flexibleWidth,Xt=pe.flexibleMaxHeight;D.domNode=document.createElement("div"),ee.f(D.domNode,"monaco-findInput"),D.inputBox=D._register(new Mt.a(D.domNode,D.contextViewProvider,{placeholder:D.placeholder||"",ariaLabel:D.label||"",validationOptions:{validation:D.validation},inputBackground:D.inputBackground,inputForeground:D.inputForeground,inputBorder:D.inputBorder,inputValidationInfoBackground:D.inputValidationInfoBackground,inputValidationInfoForeground:D.inputValidationInfoForeground,inputValidationInfoBorder:D.inputValidationInfoBorder,inputValidationWarningBackground:D.inputValidationWarningBackground,inputValidationWarningForeground:D.inputValidationWarningForeground,inputValidationWarningBorder:D.inputValidationWarningBorder,inputValidationErrorBackground:D.inputValidationErrorBackground,inputValidationErrorForeground:D.inputValidationErrorForeground,inputValidationErrorBorder:D.inputValidationErrorBorder,history:st,flexibleHeight:mt,flexibleWidth:Kt,flexibleMaxHeight:Xt})),D.regex=D._register(new C({appendTitle:Ze,isChecked:!1,inputActiveOptionBorder:D.inputActiveOptionBorder,inputActiveOptionBackground:D.inputActiveOptionBackground})),D._register(D.regex.onChange(function(lo){D._onDidOptionChange.fire(lo),!lo&&D.fixFocusOnOptionClickEnabled&&D.inputBox.focus(),D.validate()})),D._register(D.regex.onKeyDown(function(lo){D._onRegexKeyDown.fire(lo)})),D.wholeWords=D._register(new Q({appendTitle:We,isChecked:!1,inputActiveOptionBorder:D.inputActiveOptionBorder,inputActiveOptionBackground:D.inputActiveOptionBackground})),D._register(D.wholeWords.onChange(function(lo){D._onDidOptionChange.fire(lo),!lo&&D.fixFocusOnOptionClickEnabled&&D.inputBox.focus(),D.validate()})),D.caseSensitive=D._register(new ve({appendTitle:ye,isChecked:!1,inputActiveOptionBorder:D.inputActiveOptionBorder,inputActiveOptionBackground:D.inputActiveOptionBackground})),D._register(D.caseSensitive.onChange(function(lo){D._onDidOptionChange.fire(lo),!lo&&D.fixFocusOnOptionClickEnabled&&D.inputBox.focus(),D.validate()})),D._register(D.caseSensitive.onKeyDown(function(lo){D._onCaseSensitiveKeyDown.fire(lo)})),D._showOptionButtons&&(D.inputBox.paddingRight=D.caseSensitive.width()+D.wholeWords.width()+D.regex.width());var no=[D.caseSensitive.domNode,D.wholeWords.domNode,D.regex.domNode];D.onkeydown(D.domNode,function(lo){if(lo.equals(15)||lo.equals(17)||lo.equals(9)){var Ro=no.indexOf(document.activeElement);if(Ro>=0){var wo=-1;lo.equals(17)?wo=(Ro+1)%no.length:lo.equals(15)&&(Ro===0?wo=no.length-1:wo=Ro-1),lo.equals(9)?no[Ro].blur():wo>=0&&no[wo].focus(),ee.c.stop(lo,!0)}}});var vo=document.createElement("div");return vo.className="controls",vo.style.display=D._showOptionButtons?"block":"none",vo.appendChild(D.caseSensitive.domNode),vo.appendChild(D.wholeWords.domNode),vo.appendChild(D.regex.domNode),D.domNode.appendChild(vo),Oe&&Oe.appendChild(D.domNode),D.onkeydown(D.inputBox.inputElement,function(lo){return D._onKeyDown.fire(lo)}),D.onkeyup(D.inputBox.inputElement,function(lo){return D._onKeyUp.fire(lo)}),D.oninput(D.inputBox.inputElement,function(lo){return D._onInput.fire()}),D.onmousedown(D.inputBox.inputElement,function(lo){return D._onMouseDown.fire(lo)}),D}return He.prototype.enable=function(){ee.P(this.domNode,"disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()},He.prototype.disable=function(){ee.f(this.domNode,"disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()},He.prototype.setFocusInputOnOptionClick=function(Oe){this.fixFocusOnOptionClickEnabled=Oe},He.prototype.setEnabled=function(Oe){Oe?this.enable():this.disable()},He.prototype.getValue=function(){return this.inputBox.value},He.prototype.setValue=function(Oe){this.inputBox.value!==Oe&&(this.inputBox.value=Oe)},He.prototype.style=function(Oe){this.inputActiveOptionBorder=Oe.inputActiveOptionBorder,this.inputActiveOptionBackground=Oe.inputActiveOptionBackground,this.inputBackground=Oe.inputBackground,this.inputForeground=Oe.inputForeground,this.inputBorder=Oe.inputBorder,this.inputValidationInfoBackground=Oe.inputValidationInfoBackground,this.inputValidationInfoForeground=Oe.inputValidationInfoForeground,this.inputValidationInfoBorder=Oe.inputValidationInfoBorder,this.inputValidationWarningBackground=Oe.inputValidationWarningBackground,this.inputValidationWarningForeground=Oe.inputValidationWarningForeground,this.inputValidationWarningBorder=Oe.inputValidationWarningBorder,this.inputValidationErrorBackground=Oe.inputValidationErrorBackground,this.inputValidationErrorForeground=Oe.inputValidationErrorForeground,this.inputValidationErrorBorder=Oe.inputValidationErrorBorder,this.applyStyles()},He.prototype.applyStyles=function(){if(this.domNode){var Oe={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionBackground:this.inputActiveOptionBackground};this.regex.style(Oe),this.wholeWords.style(Oe),this.caseSensitive.style(Oe);var rt={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(rt)}},He.prototype.select=function(){this.inputBox.select()},He.prototype.focus=function(){this.inputBox.focus()},He.prototype.getCaseSensitive=function(){return this.caseSensitive.checked},He.prototype.setCaseSensitive=function(Oe){this.caseSensitive.checked=Oe},He.prototype.getWholeWords=function(){return this.wholeWords.checked},He.prototype.setWholeWords=function(Oe){this.wholeWords.checked=Oe},He.prototype.getRegex=function(){return this.regex.checked},He.prototype.setRegex=function(Oe){this.regex.checked=Oe,this.validate()},He.prototype.focusOnCaseSensitive=function(){this.caseSensitive.focus()},He.prototype.highlightFindOptions=function(){ee.P(this.domNode,"highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,ee.f(this.domNode,"highlight-"+this._lastHighlightFindOptions)},He.prototype.validate=function(){this.inputBox.validate()},He.prototype.clearMessage=function(){this.inputBox.hideMessage()},He}(q.a),so=e("nrhi"),Pt=function(){var yt=function(Oe,rt){return yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(It,pe){It.__proto__=pe}||function(It,pe){for(var D in pe)pe.hasOwnProperty(D)&&(It[D]=pe[D])},yt(Oe,rt)};return function(He,Oe){yt(He,Oe);function rt(){this.constructor=He}He.prototype=Oe===null?Object.create(Oe):(rt.prototype=Oe.prototype,new rt)}}(),ft=T.a("defaultLabel","input"),vt=T.a("label.preserveCaseCheckbox","Preserve Case"),At=function(yt){Pt(He,yt);function He(Oe){return yt.call(this,{actionClassName:"codicon-preserve-case",title:vt+Oe.appendTitle,isChecked:Oe.isChecked,inputActiveOptionBorder:Oe.inputActiveOptionBorder,inputActiveOptionBackground:Oe.inputActiveOptionBackground})||this}return He}(me),at=function(yt){Pt(He,yt);function He(Oe,rt,It,pe){var D=yt.call(this)||this;D._showOptionButtons=It,D.fixFocusOnOptionClickEnabled=!0,D.cachedOptionsWidth=0,D._onDidOptionChange=D._register(new X.a),D.onDidOptionChange=D._onDidOptionChange.event,D._onKeyDown=D._register(new X.a),D.onKeyDown=D._onKeyDown.event,D._onMouseDown=D._register(new X.a),D._onInput=D._register(new X.a),D._onKeyUp=D._register(new X.a),D._onPreserveCaseKeyDown=D._register(new X.a),D.onPreserveCaseKeyDown=D._onPreserveCaseKeyDown.event,D.contextViewProvider=rt,D.placeholder=pe.placeholder||"",D.validation=pe.validation,D.label=pe.label||ft,D.inputActiveOptionBorder=pe.inputActiveOptionBorder,D.inputActiveOptionBackground=pe.inputActiveOptionBackground,D.inputBackground=pe.inputBackground,D.inputForeground=pe.inputForeground,D.inputBorder=pe.inputBorder,D.inputValidationInfoBorder=pe.inputValidationInfoBorder,D.inputValidationInfoBackground=pe.inputValidationInfoBackground,D.inputValidationInfoForeground=pe.inputValidationInfoForeground,D.inputValidationWarningBorder=pe.inputValidationWarningBorder,D.inputValidationWarningBackground=pe.inputValidationWarningBackground,D.inputValidationWarningForeground=pe.inputValidationWarningForeground,D.inputValidationErrorBorder=pe.inputValidationErrorBorder,D.inputValidationErrorBackground=pe.inputValidationErrorBackground,D.inputValidationErrorForeground=pe.inputValidationErrorForeground;var ye=pe.history||[],We=!!pe.flexibleHeight,Ze=!!pe.flexibleWidth,st=pe.flexibleMaxHeight;D.domNode=document.createElement("div"),ee.f(D.domNode,"monaco-findInput"),D.inputBox=D._register(new Mt.a(D.domNode,D.contextViewProvider,{ariaLabel:D.label||"",placeholder:D.placeholder||"",validationOptions:{validation:D.validation},inputBackground:D.inputBackground,inputForeground:D.inputForeground,inputBorder:D.inputBorder,inputValidationInfoBackground:D.inputValidationInfoBackground,inputValidationInfoForeground:D.inputValidationInfoForeground,inputValidationInfoBorder:D.inputValidationInfoBorder,inputValidationWarningBackground:D.inputValidationWarningBackground,inputValidationWarningForeground:D.inputValidationWarningForeground,inputValidationWarningBorder:D.inputValidationWarningBorder,inputValidationErrorBackground:D.inputValidationErrorBackground,inputValidationErrorForeground:D.inputValidationErrorForeground,inputValidationErrorBorder:D.inputValidationErrorBorder,history:ye,flexibleHeight:We,flexibleWidth:Ze,flexibleMaxHeight:st})),D.preserveCase=D._register(new At({appendTitle:"",isChecked:!1,inputActiveOptionBorder:D.inputActiveOptionBorder,inputActiveOptionBackground:D.inputActiveOptionBackground})),D._register(D.preserveCase.onChange(function(Xt){D._onDidOptionChange.fire(Xt),!Xt&&D.fixFocusOnOptionClickEnabled&&D.inputBox.focus(),D.validate()})),D._register(D.preserveCase.onKeyDown(function(Xt){D._onPreserveCaseKeyDown.fire(Xt)})),D._showOptionButtons?D.cachedOptionsWidth=D.preserveCase.width():D.cachedOptionsWidth=0;var mt=[D.preserveCase.domNode];D.onkeydown(D.domNode,function(Xt){if(Xt.equals(15)||Xt.equals(17)||Xt.equals(9)){var no=mt.indexOf(document.activeElement);if(no>=0){var vo=-1;Xt.equals(17)?vo=(no+1)%mt.length:Xt.equals(15)&&(no===0?vo=mt.length-1:vo=no-1),Xt.equals(9)?mt[no].blur():vo>=0&&mt[vo].focus(),ee.c.stop(Xt,!0)}}});var Kt=document.createElement("div");return Kt.className="controls",Kt.style.display=D._showOptionButtons?"block":"none",Kt.appendChild(D.preserveCase.domNode),D.domNode.appendChild(Kt),Oe&&Oe.appendChild(D.domNode),D.onkeydown(D.inputBox.inputElement,function(Xt){return D._onKeyDown.fire(Xt)}),D.onkeyup(D.inputBox.inputElement,function(Xt){return D._onKeyUp.fire(Xt)}),D.oninput(D.inputBox.inputElement,function(Xt){return D._onInput.fire()}),D.onmousedown(D.inputBox.inputElement,function(Xt){return D._onMouseDown.fire(Xt)}),D}return He.prototype.enable=function(){ee.P(this.domNode,"disabled"),this.inputBox.enable(),this.preserveCase.enable()},He.prototype.disable=function(){ee.f(this.domNode,"disabled"),this.inputBox.disable(),this.preserveCase.disable()},He.prototype.setEnabled=function(Oe){Oe?this.enable():this.disable()},He.prototype.style=function(Oe){this.inputActiveOptionBorder=Oe.inputActiveOptionBorder,this.inputActiveOptionBackground=Oe.inputActiveOptionBackground,this.inputBackground=Oe.inputBackground,this.inputForeground=Oe.inputForeground,this.inputBorder=Oe.inputBorder,this.inputValidationInfoBackground=Oe.inputValidationInfoBackground,this.inputValidationInfoForeground=Oe.inputValidationInfoForeground,this.inputValidationInfoBorder=Oe.inputValidationInfoBorder,this.inputValidationWarningBackground=Oe.inputValidationWarningBackground,this.inputValidationWarningForeground=Oe.inputValidationWarningForeground,this.inputValidationWarningBorder=Oe.inputValidationWarningBorder,this.inputValidationErrorBackground=Oe.inputValidationErrorBackground,this.inputValidationErrorForeground=Oe.inputValidationErrorForeground,this.inputValidationErrorBorder=Oe.inputValidationErrorBorder,this.applyStyles()},He.prototype.applyStyles=function(){if(this.domNode){var Oe={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionBackground:this.inputActiveOptionBackground};this.preserveCase.style(Oe);var rt={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(rt)}},He.prototype.select=function(){this.inputBox.select()},He.prototype.focus=function(){this.inputBox.focus()},He.prototype.getPreserveCase=function(){return this.preserveCase.checked},He.prototype.setPreserveCase=function(Oe){this.preserveCase.checked=Oe},He.prototype.focusOnPreserve=function(){this.preserveCase.focus()},He.prototype.validate=function(){this.inputBox&&this.inputBox.validate()},Object.defineProperty(He.prototype,"width",{set:function(rt){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=rt,this.domNode.style.width=rt+"px"},enumerable:!0,configurable:!0}),He.prototype.dispose=function(){yt.prototype.dispose.call(this)},He}(q.a),tt=function(){var yt=function(Oe,rt){return yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(It,pe){It.__proto__=pe}||function(It,pe){for(var D in pe)pe.hasOwnProperty(D)&&(It[D]=pe[D])},yt(Oe,rt)};return function(He,Oe){yt(He,Oe);function rt(){this.constructor=He}He.prototype=Oe===null?Object.create(Oe):(rt.prototype=Oe.prototype,new rt)}}(),ut=function(yt,He,Oe,rt){var It=arguments.length,pe=It<3?He:rt===null?rt=Object.getOwnPropertyDescriptor(He,Oe):rt,D;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")pe=Reflect.decorate(yt,He,Oe,rt);else for(var ye=yt.length-1;ye>=0;ye--)(D=yt[ye])&&(pe=(It<3?D(pe):It>3?D(He,Oe,pe):D(He,Oe))||pe);return It>3&&pe&&Object.defineProperty(He,Oe,pe),pe},Ct=function(yt,He){return function(Oe,rt){He(Oe,rt,yt)}},gt="historyNavigationWidget",bt="historyNavigationEnabled";function Gt(yt,He,Oe){new $.d(Oe,He).bindTo(yt)}function Nt(yt,He){return yt.createScoped(He.target)}function Et(yt,He){return yt.getContext(document.activeElement).getValue(He)}function Je(yt,He){var Oe=Nt(yt,He);Gt(Oe,He,gt);var rt=new $.d(bt,!0).bindTo(Oe);return{scopedContextKeyService:Oe,historyNavigationEnablement:rt}}var $e=function(yt){tt(He,yt);function He(Oe,rt,It,pe,D){D===void 0&&(D=!1);var ye=yt.call(this,Oe,rt,D,It)||this;return ye._register(Je(pe,{target:ye.inputBox.element,historyNavigator:ye.inputBox}).scopedContextKeyService),ye}return He=ut([Ct(3,$.c)],He),He}(ao),ze=function(yt){tt(He,yt);function He(Oe,rt,It,pe,D){D===void 0&&(D=!1);var ye=yt.call(this,Oe,rt,D,It)||this;return ye._register(Je(pe,{target:ye.inputBox.element,historyNavigator:ye.inputBox}).scopedContextKeyService),ye}return He=ut([Ct(3,$.c)],He),He}(at);so.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:$.a.and($.a.has(gt),$.a.equals(bt,!0)),primary:16,secondary:[512|16],handler:function(He,Oe){var rt=Et(He.get($.c),gt);if(rt){var It=rt.historyNavigator;It.showPreviousValue()}}}),so.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:$.a.and($.a.has(gt),$.a.equals(bt,!0)),primary:18,secondary:[512|18],handler:function(He,Oe){var rt=Et(He.get($.c),gt);if(rt){var It=rt.historyNavigator;It.showNextValue()}}});var Ke=function(){var yt=function(Oe,rt){return yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(It,pe){It.__proto__=pe}||function(It,pe){for(var D in pe)pe.hasOwnProperty(D)&&(It[D]=pe[D])},yt(Oe,rt)};return function(He,Oe){yt(He,Oe);function rt(){this.constructor=He}He.prototype=Oe===null?Object.create(Oe):(rt.prototype=Oe.prototype,new rt)}}(),fe=T.a("label.find","Find"),G=T.a("placeholder.find","Find"),te=T.a("label.previousMatchButton","Previous match"),Y=T.a("label.nextMatchButton","Next match"),de=T.a("label.toggleSelectionFind","Find in selection"),ke=T.a("label.closeButton","Close"),lt=T.a("label.replace","Replace"),Tt=T.a("placeholder.replace","Replace"),Jt=T.a("label.replaceButton","Replace"),eo=T.a("label.replaceAllButton","Replace All"),po=T.a("label.toggleReplaceButton","Toggle Replace mode"),co=T.a("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",Ue),Eo=T.a("label.matchesLocation","{0} of {1}"),Oo=T.a("label.noResults","No Results"),Ao=419,Zo=275,Co=Zo-54,Wo=69,Go=33,Bo="ctrlEnterReplaceAll.windows.donotask",Mo=pt.e?256:2048,Qo=function(){function yt(He){this.afterLineNumber=He,this.heightInPx=Go,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}return yt}();function fn(yt,He,Oe){var rt=!!He.match(/\n/);if(Oe&&rt&&Oe.selectionStart>0){yt.stopPropagation();return}}function Vo(yt,He,Oe){var rt=!!He.match(/\n/);if(Oe&&rt&&Oe.selectionEnd0&&this._state.matchesCount===0;ee.Y(this._domNode,"no-results",rt),this._updateMatchesCount(),this._updateButtons()}(Oe.searchString||Oe.currentMatch)&&this._layoutViewZone(),Oe.updateHistory&&this._delayedUpdateHistory()},He.prototype._delayedUpdateHistory=function(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this))},He.prototype._updateHistory=function(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()},He.prototype._updateMatchesCount=function(){this._matchesCount.style.minWidth=Wo+"px",this._state.matchesCount>=Ue?this._matchesCount.title=co:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild);var Oe;if(this._state.matchesCount>0){var rt=String(this._state.matchesCount);this._state.matchesCount>=Ue&&(rt+="+");var It=String(this._state.matchesPosition);It==="0"&&(It="?"),Oe=I.r(Eo,It,rt)}else Oe=Oo;this._matchesCount.appendChild(document.createTextNode(Oe)),Object(Ve.a)(this._getAriaLabel(Oe,this._state.currentMatch,this._state.searchString),!0),Wo=Math.max(Wo,this._matchesCount.clientWidth)},He.prototype._getAriaLabel=function(Oe,rt,It){return Oe===Oo?It===""?T.a("ariaSearchNoResultEmpty","{0} found",Oe):T.a("ariaSearchNoResult","{0} found for {1}",Oe,It):rt?T.a("ariaSearchNoResultWithLineNum","{0} found for {1} at {2}",Oe,It,rt.startLineNumber+":"+rt.startColumn):T.a("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for {1}",Oe,It)},He.prototype._updateToggleSelectionFindButton=function(){var Oe=this._codeEditor.getSelection(),rt=Oe?Oe.startLineNumber!==Oe.endLineNumber||Oe.startColumn!==Oe.endColumn:!1,It=this._toggleSelectionFind.checked;this._isVisible&&(It||rt)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()},He.prototype._updateButtons=function(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);var Oe=this._state.searchString.length>0,rt=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&Oe&&rt),this._nextBtn.setEnabled(this._isVisible&&Oe&&rt),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&Oe),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&Oe),ee.Y(this._domNode,"replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-right",!this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-down",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);var It=!this._codeEditor.getOption(68);this._toggleReplaceBtn.setEnabled(this._isVisible&&It)},He.prototype._reveal=function(){var Oe=this;if(!this._isVisible){this._isVisible=!0;var rt=this._codeEditor.getSelection();switch(this._codeEditor.getOption(28).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":var It=!!rt&&rt.startLineNumber!==rt.endLineNumber;this._toggleSelectionFind.checked=It;break;default:break}this._tryUpdateWidgetWidth(),this._updateButtons(),setTimeout(function(){ee.f(Oe._domNode,"visible"),Oe._domNode.setAttribute("aria-hidden","false")},0),setTimeout(function(){Oe._findInput.validate()},200),this._codeEditor.layoutOverlayWidget(this);var pe=!0;if(this._codeEditor.getOption(28).seedSearchStringFromSelection&&rt){var D=this._codeEditor.getDomNode();if(D){var ye=ee.C(D),We=this._codeEditor.getScrolledVisiblePosition(rt.getStartPosition()),Ze=ye.left+(We?We.left:0),st=We?We.top:0;if(this._viewZone&&strt.startLineNumber&&(pe=!1);var mt=ee.F(this._domNode).left;Ze>mt&&(pe=!1);var Kt=this._codeEditor.getScrolledVisiblePosition(rt.getEndPosition()),Xt=ye.left+(Kt?Kt.left:0);Xt>mt&&(pe=!1)}}}this._showViewZone(pe)}},He.prototype._hide=function(Oe){this._isVisible&&(this._isVisible=!1,this._updateButtons(),ee.P(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),Oe&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())},He.prototype._layoutViewZone=function(){var Oe=this,rt=this._codeEditor.getOption(28).addExtraSpaceOnTop;if(!rt){this._removeViewZone();return}if(!this._isVisible)return;var It=this._viewZone;if(this._viewZoneId!==void 0||!It)return;this._codeEditor.changeViewZones(function(pe){It.heightInPx=Oe._getHeight(),Oe._viewZoneId=pe.addZone(It),Oe._codeEditor.setScrollTop(Oe._codeEditor.getScrollTop()+It.heightInPx)})},He.prototype._showViewZone=function(Oe){var rt=this;if(Oe===void 0&&(Oe=!0),!this._isVisible)return;var It=this._codeEditor.getOption(28).addExtraSpaceOnTop;if(!It)return;this._viewZone===void 0&&(this._viewZone=new Qo(0));var pe=this._viewZone;this._codeEditor.changeViewZones(function(D){if(rt._viewZoneId!==void 0){var ye=rt._getHeight();if(ye===pe.heightInPx)return;var We=ye-pe.heightInPx;pe.heightInPx=ye,D.layoutZone(rt._viewZoneId),Oe&&rt._codeEditor.setScrollTop(rt._codeEditor.getScrollTop()+We);return}else{var We=rt._getHeight();pe.heightInPx=We,rt._viewZoneId=D.addZone(pe),Oe&&rt._codeEditor.setScrollTop(rt._codeEditor.getScrollTop()+We)}})},He.prototype._removeViewZone=function(){var Oe=this;this._codeEditor.changeViewZones(function(rt){Oe._viewZoneId!==void 0&&(rt.removeZone(Oe._viewZoneId),Oe._viewZoneId=void 0,Oe._viewZone&&(Oe._codeEditor.setScrollTop(Oe._codeEditor.getScrollTop()-Oe._viewZone.heightInPx),Oe._viewZone=void 0))})},He.prototype._applyTheme=function(Oe){var rt={inputActiveOptionBorder:Oe.getColor(v.Y),inputActiveOptionBackground:Oe.getColor(v.X),inputBackground:Oe.getColor(v.Z),inputForeground:Oe.getColor(v.bb),inputBorder:Oe.getColor(v.ab),inputValidationInfoBackground:Oe.getColor(v.fb),inputValidationInfoForeground:Oe.getColor(v.hb),inputValidationInfoBorder:Oe.getColor(v.gb),inputValidationWarningBackground:Oe.getColor(v.ib),inputValidationWarningForeground:Oe.getColor(v.kb),inputValidationWarningBorder:Oe.getColor(v.jb),inputValidationErrorBackground:Oe.getColor(v.cb),inputValidationErrorForeground:Oe.getColor(v.eb),inputValidationErrorBorder:Oe.getColor(v.db)};this._findInput.style(rt),this._replaceInput.style(rt),this._toggleSelectionFind.style(rt)},He.prototype._tryUpdateWidgetWidth=function(){if(!this._isVisible)return;if(!ee.M(this._domNode))return;var Oe=this._codeEditor.getLayoutInfo(),rt=Oe.contentWidth;if(rt<=0){ee.f(this._domNode,"hiddenEditor");return}else ee.I(this._domNode,"hiddenEditor")&&ee.P(this._domNode,"hiddenEditor");var It=Oe.width,pe=Oe.minimapWidth,D=!1,ye=!1,We=!1;if(this._resized){var Ze=ee.H(this._domNode);if(Ze>Ao){this._domNode.style.maxWidth=It-28-pe-15+"px",this._replaceInput.width=ee.H(this._findInput.domNode);return}}if(Ao+28+pe>=It&&(ye=!0),Ao+28+pe-Wo>=It&&(We=!0),Ao+28+pe-Wo>=It+50&&(D=!0),ee.Y(this._domNode,"collapsed-find-widget",D),ee.Y(this._domNode,"narrow-find-widget",We),ee.Y(this._domNode,"reduced-find-widget",ye),!We&&!D&&(this._domNode.style.maxWidth=It-28-pe-15+"px"),this._resized){this._findInput.inputBox.layout();var st=this._findInput.inputBox.element.clientWidth;st>0&&(this._replaceInput.width=st)}else this._isReplaceVisible&&(this._replaceInput.width=ee.H(this._findInput.domNode))},He.prototype._getHeight=function(){var Oe=0;return Oe+=4,Oe+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(Oe+=4,Oe+=this._replaceInput.inputBox.height+2),Oe+=4,Oe},He.prototype._tryUpdateHeight=function(){var Oe=this._getHeight();return this._cachedHeight!==null&&this._cachedHeight===Oe?!1:(this._cachedHeight=Oe,this._domNode.style.height=Oe+"px",!0)},He.prototype.focusFindInput=function(){this._findInput.select(),this._findInput.focus()},He.prototype.focusReplaceInput=function(){this._replaceInput.select(),this._replaceInput.focus()},He.prototype.highlightFindOptions=function(){this._findInput.highlightFindOptions()},He.prototype._updateSearchScope=function(){if(!this._codeEditor.hasModel())return;if(this._toggleSelectionFind.checked){var Oe=this._codeEditor.getSelection();Oe.endColumn===1&&Oe.endLineNumber>Oe.startLineNumber&&(Oe=Oe.setEndPosition(Oe.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(Oe.endLineNumber-1)));var rt=this._state.currentMatch;Oe.startLineNumber!==Oe.endLineNumber&&(x.a.equalsRange(Oe,rt)||this._state.change({searchScope:Oe},!0))}},He.prototype._onFindInputMouseDown=function(Oe){Oe.middleButton&&Oe.stopPropagation()},He.prototype._onFindInputKeyDown=function(Oe){if(Oe.equals(Mo|3)){this._findInput.inputBox.insertAtCursor(` -`),Oe.preventDefault();return}if(Oe.equals(2)){this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),Oe.preventDefault();return}if(Oe.equals(2048|18)){this._codeEditor.focus(),Oe.preventDefault();return}if(Oe.equals(16))return fn(Oe,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea"));if(Oe.equals(18))return Vo(Oe,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea"))},He.prototype._onReplaceInputKeyDown=function(Oe){if(Oe.equals(Mo|3)){pt.h&&pt.f&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(T.a("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(Bo,!0,0)),this._replaceInput.inputBox.insertAtCursor(` -`),Oe.preventDefault();return}if(Oe.equals(2)){this._findInput.focusOnCaseSensitive(),Oe.preventDefault();return}if(Oe.equals(1024|2)){this._findInput.focus(),Oe.preventDefault();return}if(Oe.equals(2048|18)){this._codeEditor.focus(),Oe.preventDefault();return}if(Oe.equals(16))return fn(Oe,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea"));if(Oe.equals(18))return Vo(Oe,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea"))},He.prototype.getHorizontalSashTop=function(Oe){return 0},He.prototype.getHorizontalSashLeft=function(Oe){return 0},He.prototype.getHorizontalSashWidth=function(Oe){return 500},He.prototype._keybindingLabelFor=function(Oe){var rt=this._keybindingService.lookupKeybinding(Oe);return rt?" ("+rt.getLabel()+")":""},He.prototype._buildDomNode=function(){var Oe=this,rt=!0,It=!0;this._findInput=this._register(new $e(null,this._contextViewProvider,{width:Co,label:fe,placeholder:G,appendCaseSensitiveLabel:this._keybindingLabelFor(Fe.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(Fe.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(Fe.ToggleRegexCommand),validation:function(mt){if(mt.length===0||!Oe._findInput.getRegex())return null;try{return new RegExp(mt),null}catch(Kt){return{content:Kt.message}}},flexibleHeight:rt,flexibleWidth:It,flexibleMaxHeight:118},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(function(st){return Oe._onFindInputKeyDown(st)})),this._register(this._findInput.inputBox.onDidChange(function(){if(Oe._ignoreChangeEvent)return;Oe._state.change({searchString:Oe._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(function(){Oe._state.change({isRegex:Oe._findInput.getRegex(),wholeWord:Oe._findInput.getWholeWords(),matchCase:Oe._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(function(st){st.equals(1024|2)&&(Oe._isReplaceVisible&&(Oe._replaceInput.focus(),st.preventDefault()))})),this._register(this._findInput.onRegexKeyDown(function(st){st.equals(2)&&(Oe._isReplaceVisible&&(Oe._replaceInput.focusOnPreserve(),st.preventDefault()))})),this._register(this._findInput.inputBox.onDidHeightChange(function(st){Oe._tryUpdateHeight()&&Oe._showViewZone()})),pt.d&&this._register(this._findInput.onMouseDown(function(st){return Oe._onFindInputMouseDown(st)})),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new yn({label:te+this._keybindingLabelFor(Fe.PreviousMatchFindAction),className:"codicon codicon-arrow-up",onTrigger:function(){Oe._codeEditor.getAction(Fe.PreviousMatchFindAction).run().then(void 0,it.e)}})),this._nextBtn=this._register(new yn({label:Y+this._keybindingLabelFor(Fe.NextMatchFindAction),className:"codicon codicon-arrow-down",onTrigger:function(){Oe._codeEditor.getAction(Fe.NextMatchFindAction).run().then(void 0,it.e)}}));var pe=document.createElement("div");pe.className="find-part",pe.appendChild(this._findInput.domNode);var D=document.createElement("div");D.className="find-actions",pe.appendChild(D),D.appendChild(this._matchesCount),D.appendChild(this._prevBtn.domNode),D.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new me({actionClassName:"codicon codicon-selection",title:de+this._keybindingLabelFor(Fe.ToggleSearchScopeCommand),isChecked:!1})),this._register(this._toggleSelectionFind.onChange(function(){if(Oe._toggleSelectionFind.checked){if(Oe._codeEditor.hasModel()){var st=Oe._codeEditor.getSelection();st.endColumn===1&&st.endLineNumber>st.startLineNumber&&(st=st.setEndPosition(st.endLineNumber-1,Oe._codeEditor.getModel().getLineMaxColumn(st.endLineNumber-1))),st.isEmpty()||Oe._state.change({searchScope:st},!0)}}else Oe._state.change({searchScope:null},!0)})),D.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new yn({label:ke+this._keybindingLabelFor(Fe.CloseFindWidgetCommand),className:"codicon codicon-close",onTrigger:function(){Oe._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:function(mt){mt.equals(2)&&(Oe._isReplaceVisible&&(Oe._replaceBtn.isEnabled()?Oe._replaceBtn.focus():Oe._codeEditor.focus(),mt.preventDefault()))}})),D.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new ze(null,void 0,{label:lt,placeholder:Tt,history:[],flexibleHeight:rt,flexibleWidth:It,flexibleMaxHeight:118},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(function(st){return Oe._onReplaceInputKeyDown(st)})),this._register(this._replaceInput.inputBox.onDidChange(function(){Oe._state.change({replaceString:Oe._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(function(st){Oe._isReplaceVisible&&Oe._tryUpdateHeight()&&Oe._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(function(){Oe._state.change({preserveCase:Oe._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(function(st){st.equals(2)&&(Oe._prevBtn.isEnabled()?Oe._prevBtn.focus():Oe._nextBtn.isEnabled()?Oe._nextBtn.focus():Oe._toggleSelectionFind.enabled?Oe._toggleSelectionFind.focus():Oe._closeBtn.isEnabled()&&Oe._closeBtn.focus(),st.preventDefault())})),this._replaceBtn=this._register(new yn({label:Jt+this._keybindingLabelFor(Fe.ReplaceOneAction),className:"codicon codicon-replace",onTrigger:function(){Oe._controller.replace()},onKeyDown:function(mt){mt.equals(1024|2)&&(Oe._closeBtn.focus(),mt.preventDefault())}})),this._replaceAllBtn=this._register(new yn({label:eo+this._keybindingLabelFor(Fe.ReplaceAllAction),className:"codicon codicon-replace-all",onTrigger:function(){Oe._controller.replaceAll()}}));var ye=document.createElement("div");ye.className="replace-part",ye.appendChild(this._replaceInput.domNode);var We=document.createElement("div");We.className="replace-actions",ye.appendChild(We),We.appendChild(this._replaceBtn.domNode),We.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new yn({label:po,className:"codicon toggle left",onTrigger:function(){Oe._state.change({isReplaceRevealed:!Oe._isReplaceVisible},!1),Oe._isReplaceVisible&&(Oe._replaceInput.width=ee.H(Oe._findInput.domNode),Oe._replaceInput.inputBox.layout()),Oe._showViewZone()}})),this._toggleReplaceBtn.toggleClass("codicon-chevron-down",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-right",!this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width=Ao+"px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(pe),this._domNode.appendChild(ye),this._resizeSash=new Qe.a(this._domNode,this,{orientation:0}),this._resized=!1;var Ze=Ao;this._register(this._resizeSash.onDidStart(function(){Ze=ee.H(Oe._domNode)})),this._register(this._resizeSash.onDidChange(function(st){Oe._resized=!0;var mt=Ze+st.startX-st.currentX;if(mtKt)return;Oe._domNode.style.width=mt+"px",Oe._isReplaceVisible&&(Oe._replaceInput.width=ee.H(Oe._findInput.domNode)),Oe._findInput.inputBox.layout(),Oe._tryUpdateHeight()})),this._register(this._resizeSash.onDidReset(function(){var st=ee.H(Oe._domNode);if(st=0},He.prototype.focus=function(){this._domNode.focus()},He.prototype.setEnabled=function(Oe){ee.Y(this._domNode,"disabled",!Oe),this._domNode.setAttribute("aria-disabled",String(!Oe)),this._domNode.tabIndex=Oe?0:-1},He.prototype.setExpanded=function(Oe){this._domNode.setAttribute("aria-expanded",String(!!Oe))},He.prototype.toggleClass=function(Oe,rt){ee.Y(this._domNode,Oe,rt)},He}(q.a);Object(w.e)(function(yt,He){var Oe=function(vo,lo){lo&&He.addRule(".monaco-editor "+vo+" { background-color: "+lo+"; }")};Oe(".findMatch",yt.getColor(v.t)),Oe(".currentFindMatch",yt.getColor(v.r)),Oe(".findScope",yt.getColor(v.v));var rt=yt.getColor(v.Q);Oe(".find-widget",rt);var It=yt.getColor(v.hc);It&&He.addRule(".monaco-editor .find-widget { box-shadow: 0 2px 8px "+It+"; }");var pe=yt.getColor(v.u);pe&&He.addRule(".monaco-editor .findMatch { border: 1px "+(yt.type==="hc"?"dotted":"solid")+" "+pe+"; box-sizing: border-box; }");var D=yt.getColor(v.s);D&&He.addRule(".monaco-editor .currentFindMatch { border: 2px solid "+D+"; padding: 1px; box-sizing: border-box; }");var ye=yt.getColor(v.w);ye&&He.addRule(".monaco-editor .findScope { border: 1px "+(yt.type==="hc"?"dashed":"solid")+" "+ye+"; }");var We=yt.getColor(v.e);We&&He.addRule(".monaco-editor .find-widget { border: 1px solid "+We+"; }");var Ze=yt.getColor(v.S);Ze&&He.addRule(".monaco-editor .find-widget { color: "+Ze+"; }");var st=yt.getColor(v.U);st&&He.addRule(".monaco-editor .find-widget.no-results .matchesCount { color: "+st+"; }");var mt=yt.getColor(v.T);if(mt)He.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+mt+"; width: 3px !important; margin-left: -4px;}");else{var Kt=yt.getColor(v.R);Kt&&He.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+Kt+"; width: 3px !important; margin-left: -4px;}")}var Xt=yt.getColor(v.V);Xt&&He.addRule(".monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: "+Xt+"; }")});var dn=e("9XeP"),rn=e("Uzvx"),pn=e("Cg/j"),zo=e("bexQ"),Ho=e("A+jI"),St=e("sM1p"),ot=function(){var yt=function(Oe,rt){return yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(It,pe){It.__proto__=pe}||function(It,pe){for(var D in pe)pe.hasOwnProperty(D)&&(It[D]=pe[D])},yt(Oe,rt)};return function(He,Oe){yt(He,Oe);function rt(){this.constructor=He}He.prototype=Oe===null?Object.create(Oe):(rt.prototype=Oe.prototype,new rt)}}(),nt=function(yt,He,Oe,rt){var It=arguments.length,pe=It<3?He:rt===null?rt=Object.getOwnPropertyDescriptor(He,Oe):rt,D;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")pe=Reflect.decorate(yt,He,Oe,rt);else for(var ye=yt.length-1;ye>=0;ye--)(D=yt[ye])&&(pe=(It<3?D(pe):It>3?D(He,Oe,pe):D(He,Oe))||pe);return It>3&&pe&&Object.defineProperty(He,Oe,pe),pe},Dt=function(yt,He){return function(Oe,rt){He(Oe,rt,yt)}},_e=524288;function M(yt){if(!yt.hasModel())return null;var He=yt.getSelection();if(He.startLineNumber===He.endLineNumber){if(He.isEmpty()){var Oe=yt.getModel().getWordAtPosition(He.getStartPosition());if(Oe)return Oe.word}else if(yt.getModel().getValueLengthInRange(He)<_e)return yt.getModel().getValueInRange(He)}return null}var P=function(yt){ot(He,yt);function He(Oe,rt,It,pe){var D=yt.call(this)||this;return D._editor=Oe,D._findWidgetVisible=ie.bindTo(rt),D._contextKeyService=rt,D._storageService=It,D._clipboardService=pe,D._updateHistoryDelayer=new re.a(500),D._state=D._register(new De),D.loadQueryState(),D._register(D._state.onFindReplaceStateChange(function(ye){return D._onStateChanged(ye)})),D._model=null,D._register(D._editor.onDidChangeModel(function(){var ye=D._editor.getModel()&&D._state.isRevealed;D.disposeModel(),D._state.change({searchScope:null,matchCase:D._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:D._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:D._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:D._storageService.getBoolean("editor.preserveCase",1,!1)},!1),ye&&D._start({forceRevealReplace:!1,seedSearchStringFromSelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1})})),D}return He.get=function(Oe){return Oe.getContribution(He.ID)},He.prototype.dispose=function(){this.disposeModel(),yt.prototype.dispose.call(this)},He.prototype.disposeModel=function(){this._model&&(this._model.dispose(),this._model=null)},He.prototype._onStateChanged=function(Oe){this.saveQueryState(Oe),Oe.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),Oe.searchString&&this.setGlobalBufferTerm(this._state.searchString)},He.prototype.saveQueryState=function(Oe){Oe.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1),Oe.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1),Oe.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1),Oe.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1)},He.prototype.loadQueryState=function(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)},He.prototype.isFindInputFocused=function(){return!!W.getValue(this._contextKeyService)},He.prototype.getState=function(){return this._state},He.prototype.closeFindWidget=function(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()},He.prototype.toggleCaseSensitive=function(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()},He.prototype.toggleWholeWords=function(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()},He.prototype.toggleRegex=function(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()},He.prototype.toggleSearchScope=function(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){var Oe=this._editor.getSelection();Oe.endColumn===1&&Oe.endLineNumber>Oe.startLineNumber&&(Oe=Oe.setEndPosition(Oe.endLineNumber-1,this._editor.getModel().getLineMaxColumn(Oe.endLineNumber-1))),Oe.isEmpty()||this._state.change({searchScope:Oe},!0)}},He.prototype.setSearchString=function(Oe){this._state.isRegex&&(Oe=I.p(Oe)),this._state.change({searchString:Oe},!1)},He.prototype.highlightFindOptions=function(){},He.prototype._start=function(Oe){if(this.disposeModel(),!this._editor.hasModel())return;var rt={isRevealed:!0};if(Oe.seedSearchStringFromSelection){var It=M(this._editor);It&&(this._state.isRegex?rt.searchString=I.p(It):rt.searchString=It)}if(!rt.searchString&&Oe.seedSearchStringFromGlobalClipboard){var It=this.getGlobalBufferTerm();It&&(rt.searchString=It)}if(Oe.forceRevealReplace?rt.isReplaceRevealed=!0:this._findWidgetVisible.get()||(rt.isReplaceRevealed=!1),Oe.updateSearchScope){var pe=this._editor.getSelection();pe.isEmpty()||(rt.searchScope=pe)}this._state.change(rt,!1),this._model||(this._model=new ne(this._editor,this._state))},He.prototype.start=function(Oe){this._start(Oe)},He.prototype.moveToNextMatch=function(){return this._model?(this._model.moveToNextMatch(),!0):!1},He.prototype.moveToPrevMatch=function(){return this._model?(this._model.moveToPrevMatch(),!0):!1},He.prototype.replace=function(){return this._model?(this._model.replace(),!0):!1},He.prototype.replaceAll=function(){return this._model?(this._model.replaceAll(),!0):!1},He.prototype.selectAllMatches=function(){return this._model?(this._model.selectAllMatches(),this._editor.focus(),!0):!1},He.prototype.getGlobalBufferTerm=function(){return this._editor.getOption(28).globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""},He.prototype.setGlobalBufferTerm=function(Oe){this._editor.getOption(28).globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(Oe)},He.ID="editor.contrib.findController",He=nt([Dt(1,$.c),Dt(2,Ho.a),Dt(3,dn.a)],He),He}(J.a),Z=function(yt){ot(He,yt);function He(Oe,rt,It,pe,D,ye,We,Ze){var st=yt.call(this,Oe,It,We,Ze)||this;return st._contextViewService=rt,st._keybindingService=pe,st._themeService=D,st._notificationService=ye,st._widget=null,st._findOptionsWidget=null,st}return He.prototype._start=function(Oe){this._widget||this._createFindWidget();var rt=this._editor.getSelection(),It=!1;switch(this._editor.getOption(28).autoFindInSelection){case"always":It=!0;break;case"never":It=!1;break;case"multiline":var pe=!!rt&&rt.startLineNumber!==rt.endLineNumber;It=pe;break;default:break}Oe.updateSearchScope=It,yt.prototype._start.call(this,Oe),Oe.shouldFocus===2?this._widget.focusReplaceInput():Oe.shouldFocus===1&&this._widget.focusFindInput()},He.prototype.highlightFindOptions=function(){this._widget||this._createFindWidget(),this._state.isRevealed?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()},He.prototype._createFindWidget=function(){this._widget=this._register(new mn(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new se(this._editor,this._state,this._keybindingService,this._themeService))},He=nt([Dt(1,rn.b),Dt(2,$.c),Dt(3,zo.a),Dt(4,w.c),Dt(5,St.a),Dt(6,Ho.a),Dt(7,Object(pn.d)(dn.a))],He),He}(P),Ae=function(yt){ot(He,yt);function He(){return yt.call(this,{id:Fe.StartFindAction,label:T.a("startFindAction","Find"),alias:"Find",precondition:void 0,kbOpts:{kbExpr:null,primary:2048|36,weight:100},menuOpts:{menuId:17,group:"3_find",title:T.a({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})||this}return He.prototype.run=function(Oe,rt){var It=P.get(rt);It&&It.start({forceRevealReplace:!1,seedSearchStringFromSelection:rt.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:rt.getOption(28).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1})},He}(U.b),xe=function(yt){ot(He,yt);function He(){return yt.call(this,{id:Fe.StartFindWithSelection,label:T.a("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2048|35},weight:100}})||this}return He.prototype.run=function(Oe,rt){var It=P.get(rt);It&&(It.start({forceRevealReplace:!1,seedSearchStringFromSelection:!0,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),It.setGlobalBufferTerm(It.getState().searchString))},He}(U.b),Ne=function(yt){ot(He,yt);function He(){return yt!==null&&yt.apply(this,arguments)||this}return He.prototype.run=function(Oe,rt){var It=P.get(rt);It&&!this._run(It)&&(It.start({forceRevealReplace:!1,seedSearchStringFromSelection:It.getState().searchString.length===0&&rt.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(It))},He}(U.b),dt=function(yt){ot(He,yt);function He(){return yt.call(this,{id:Fe.NextMatchFindAction,label:T.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:61,mac:{primary:2048|37,secondary:[61]},weight:100}})||this}return He.prototype._run=function(Oe){return Oe.moveToNextMatch()},He}(Ne),ht=function(yt){ot(He,yt);function He(){return yt.call(this,{id:Fe.NextMatchFindAction,label:T.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:$.a.and(z.a.focus,W),primary:3,weight:100}})||this}return He.prototype._run=function(Oe){return Oe.moveToNextMatch()},He}(Ne),xt=function(yt){ot(He,yt);function He(){return yt.call(this,{id:Fe.PreviousMatchFindAction,label:T.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:1024|61,mac:{primary:2048|1024|37,secondary:[1024|61]},weight:100}})||this}return He.prototype._run=function(Oe){return Oe.moveToPrevMatch()},He}(Ne),Bt=function(yt){ot(He,yt);function He(){return yt.call(this,{id:Fe.PreviousMatchFindAction,label:T.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:$.a.and(z.a.focus,W),primary:1024|3,weight:100}})||this}return He.prototype._run=function(Oe){return Oe.moveToPrevMatch()},He}(Ne),Ht=function(yt){ot(He,yt);function He(){return yt!==null&&yt.apply(this,arguments)||this}return He.prototype.run=function(Oe,rt){var It=P.get(rt);if(!It)return;var pe=M(rt);pe&&It.setSearchString(pe),this._run(It)||(It.start({forceRevealReplace:!1,seedSearchStringFromSelection:rt.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(It))},He}(U.b),Ut=function(yt){ot(He,yt);function He(){return yt.call(this,{id:Fe.NextSelectionMatchFindAction,label:T.a("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:2048|61,weight:100}})||this}return He.prototype._run=function(Oe){return Oe.moveToNextMatch()},He}(Ht),oo=function(yt){ot(He,yt);function He(){return yt.call(this,{id:Fe.PreviousSelectionMatchFindAction,label:T.a("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:2048|1024|61,weight:100}})||this}return He.prototype._run=function(Oe){return Oe.moveToPrevMatch()},He}(Ht),Zt=function(yt){ot(He,yt);function He(){return yt.call(this,{id:Fe.StartFindReplaceAction,label:T.a("startReplace","Replace"),alias:"Replace",precondition:void 0,kbOpts:{kbExpr:null,primary:2048|38,mac:{primary:2048|512|36},weight:100},menuOpts:{menuId:17,group:"3_find",title:T.a({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})||this}return He.prototype.run=function(Oe,rt){if(!rt.hasModel()||rt.getOption(68))return;var It=P.get(rt),pe=rt.getSelection(),D=It.isFindInputFocused(),ye=!pe.isEmpty()&&pe.startLineNumber===pe.endLineNumber&&rt.getOption(28).seedSearchStringFromSelection&&!D,We=D||ye?2:1;It&&It.start({forceRevealReplace:!0,seedSearchStringFromSelection:ye,seedSearchStringFromGlobalClipboard:rt.getOption(28).seedSearchStringFromSelection,shouldFocus:We,shouldAnimate:!0,updateSearchScope:!1})},He}(U.b);Object(U.h)(P.ID,Z),Object(U.f)(Ae),Object(U.f)(xe),Object(U.f)(dt),Object(U.f)(ht),Object(U.f)(xt),Object(U.f)(Bt),Object(U.f)(Ut),Object(U.f)(oo),Object(U.f)(Zt);var fo=U.c.bindToContribution(P.get);Object(U.g)(new fo({id:Fe.CloseFindWidgetCommand,precondition:ie,handler:function(He){return He.closeFindWidget()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:9,secondary:[1024|9]}})),Object(U.g)(new fo({id:Fe.ToggleCaseSensitiveCommand,precondition:void 0,handler:function(He){return He.toggleCaseSensitive()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:le.primary,mac:le.mac,win:le.win,linux:le.linux}})),Object(U.g)(new fo({id:Fe.ToggleWholeWordCommand,precondition:void 0,handler:function(He){return He.toggleWholeWords()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:Ce.primary,mac:Ce.mac,win:Ce.win,linux:Ce.linux}})),Object(U.g)(new fo({id:Fe.ToggleRegexCommand,precondition:void 0,handler:function(He){return He.toggleRegex()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:Me.primary,mac:Me.mac,win:Me.win,linux:Me.linux}})),Object(U.g)(new fo({id:Fe.ToggleSearchScopeCommand,precondition:void 0,handler:function(He){return He.toggleSearchScope()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:Te.primary,mac:Te.mac,win:Te.win,linux:Te.linux}})),Object(U.g)(new fo({id:Fe.ReplaceOneAction,precondition:ie,handler:function(He){return He.replace()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:2048|1024|22}})),Object(U.g)(new fo({id:Fe.ReplaceOneAction,precondition:ie,handler:function(He){return He.replace()},kbOpts:{weight:100+5,kbExpr:$.a.and(z.a.focus,B),primary:3}})),Object(U.g)(new fo({id:Fe.ReplaceAllAction,precondition:ie,handler:function(He){return He.replaceAll()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:2048|512|3}})),Object(U.g)(new fo({id:Fe.ReplaceAllAction,precondition:ie,handler:function(He){return He.replaceAll()},kbOpts:{weight:100+5,kbExpr:$.a.and(z.a.focus,B),primary:void 0,mac:{primary:2048|3}}})),Object(U.g)(new fo({id:Fe.SelectAllMatchesAction,precondition:ie,handler:function(He){return He.selectAllMatches()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:512|3}}))},oiKk:function(Lt,j,e){"use strict";e.r(j),e.d(j,"IPadShowKeyboard",function(){return H});var T=e("ci+S"),re=e.n(T),J=e("D3Dy"),I=e("EffR"),U=e("pmY6"),z=e("sswD"),O=function(){var u=function(_,f){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,w){v.__proto__=w}||function(v,w){for(var p in w)w.hasOwnProperty(p)&&(v[p]=w[p])},u(_,f)};return function(y,_){u(y,_);function f(){this.constructor=y}y.prototype=_===null?Object.create(_):(f.prototype=_.prototype,new f)}}(),H=function(u){O(y,u);function y(_){var f=u.call(this)||this;return f.editor=_,f.widget=null,J.j&&(f._register(_.onDidChangeConfiguration(function(){return f.update()})),f.update()),f}return y.prototype.update=function(){var _=!this.editor.getOption(68);!this.widget&&_?this.widget=new x(this.editor):this.widget&&!_&&(this.widget.dispose(),this.widget=null)},y.prototype.dispose=function(){u.prototype.dispose.call(this),this.widget&&(this.widget.dispose(),this.widget=null)},y.ID="editor.contrib.iPadShowKeyboard",y}(U.a),x=function(u){O(y,u);function y(_){var f=u.call(this)||this;return f.editor=_,f._domNode=document.createElement("textarea"),f._domNode.className="iPadShowKeyboard",f._register(I.j(f._domNode,"touchstart",function(v){f.editor.focus()})),f._register(I.j(f._domNode,"focus",function(v){f.editor.focus()})),f.editor.addOverlayWidget(f),f}return y.prototype.dispose=function(){this.editor.removeOverlayWidget(this),u.prototype.dispose.call(this)},y.prototype.getId=function(){return y.ID},y.prototype.getDomNode=function(){return this._domNode},y.prototype.getPosition=function(){return{preference:1}},y.ID="editor.contrib.ShowKeyboardWidget",y}(U.a);Object(z.h)(H.ID,H)},p3Ex:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return e.e(279).then(e.bind(null,"/Om3"))}})},p5tG:function(Lt,j,e){"use strict";e.r(j),e.d(j,"LanguageServiceDefaultsImpl",function(){return I});var T=e("M/lh"),re=e.n(T);"use strict";var J=monaco.Emitter,I=function(){function u(y,_,f){this._onDidChange=new J,this._languageId=y,this.setDiagnosticsOptions(_),this.setModeConfiguration(f)}return Object.defineProperty(u.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!0,configurable:!0}),u.prototype.setDiagnosticsOptions=function(y){this._diagnosticsOptions=y||Object.create(null),this._onDidChange.fire(this)},u.prototype.setModeConfiguration=function(y){this._modeConfiguration=y||Object.create(null),this._onDidChange.fire(this)},u}(),U={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1},z={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},O=new I("json",U,z);function H(){return{jsonDefaults:O}}monaco.languages.json=H();function x(){return e.e(270).then(e.bind(null,"R7lK"))}monaco.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),monaco.languages.onLanguage("json",function(){x().then(function(u){return u.setupMode(O)})})},pAvP:function(Lt,j,e){"use strict";e.d(j,"a",function(){return J});var T=e("Cg/j"),re="editorWorkerService",J=Object(T.c)(re)},pI2L:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return e.e(311).then(e.bind(null,"KpXS"))}})},pg8w:function(Lt,j,e){"use strict";e.d(j,"a",function(){return O}),e.d(j,"b",function(){return H});var T=e("6OMU"),re=e("pmY6"),J=e("EffR"),I=e("ZCR3"),U=function(){var x=function(y,_){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,v){f.__proto__=v}||function(f,v){for(var w in v)v.hasOwnProperty(w)&&(f[w]=v[w])},x(y,_)};return function(u,y){x(u,y);function _(){this.constructor=u}u.prototype=y===null?Object.create(y):(_.prototype=y.prototype,new _)}}(),z=function(x,u,y,_){var f=arguments.length,v=f<3?u:_===null?_=Object.getOwnPropertyDescriptor(u,y):_,w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(x,u,y,_);else for(var p=x.length-1;p>=0;p--)(w=x[p])&&(v=(f<3?w(v):f>3?w(u,y,v):w(u,y))||v);return f>3&&v&&Object.defineProperty(u,y,v),v},O;(function(x){x.Tap="-monaco-gesturetap",x.Change="-monaco-gesturechange",x.Start="-monaco-gesturestart",x.End="-monaco-gesturesend",x.Contextmenu="-monaco-gesturecontextmenu"})(O||(O={}));var H=function(x){U(u,x);function u(){var y=x.call(this)||this;return y.dispatched=!1,y.activeTouches={},y.handle=null,y.targets=[],y.ignoreTargets=[],y._lastSetTapCountTime=0,y._register(J.j(document,"touchstart",function(_){return y.onTouchStart(_)})),y._register(J.j(document,"touchend",function(_){return y.onTouchEnd(_)})),y._register(J.j(document,"touchmove",function(_){return y.onTouchMove(_)})),y}return u.addTarget=function(y){return u.isTouchDevice()?(u.INSTANCE||(u.INSTANCE=new u),u.INSTANCE.targets.push(y),{dispose:function(){u.INSTANCE.targets=u.INSTANCE.targets.filter(function(f){return f!==y})}}):re.a.None},u.ignoreTarget=function(y){return u.isTouchDevice()?(u.INSTANCE||(u.INSTANCE=new u),u.INSTANCE.ignoreTargets.push(y),{dispose:function(){u.INSTANCE.ignoreTargets=u.INSTANCE.ignoreTargets.filter(function(f){return f!==y})}}):re.a.None},u.isTouchDevice=function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0},u.prototype.dispose=function(){this.handle&&(this.handle.dispose(),this.handle=null),x.prototype.dispose.call(this)},u.prototype.onTouchStart=function(y){var _=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(var f=0,v=y.targetTouches.length;f=u.HOLD_DELAY&&Math.abs(E.initialPageX-T.v(E.rollingPageX))<30&&Math.abs(E.initialPageY-T.v(E.rollingPageY))<30){var A=w.newGestureEvent(O.Contextmenu,E.initialTarget);A.pageX=T.v(E.rollingPageX),A.pageY=T.v(E.rollingPageY),w.dispatchEvent(A)}else if(f===1){var k=T.v(E.rollingPageX),R=T.v(E.rollingPageY),$=T.v(E.rollingTimestamps)-E.rollingTimestamps[0],ie=k-E.rollingPageX[0],W=R-E.rollingPageY[0],B=w.targets.filter(function(le){return E.initialTarget instanceof Node&&le.contains(E.initialTarget)});w.inertia(B,_,Math.abs(ie)/$,ie>0?1:-1,k,Math.abs(W)/$,W>0?1:-1,R)}w.dispatchEvent(w.newGestureEvent(O.End,E.initialTarget)),delete w.activeTouches[m.identifier]},w=this,p=0,c=y.changedTouches.length;pu.CLEAR_TAP_COUNT_TIME?v=1:v=2,this._lastSetTapCountTime=f,y.tapCount=v}else(y.type===O.Change||y.type===O.Contextmenu)&&(this._lastSetTapCountTime=0);for(var w=0;w0&&(A=!1,E=v*f*m),p>0&&(A=!1,L=c*p*m);var k=l.newGestureEvent(O.Change);k.translationX=E,k.translationY=L,y.forEach(function(R){return R.dispatchEvent(k)}),A||l.inertia(y,d,f,v,w+E,p,c,s+L)})},u.prototype.onTouchMove=function(y){for(var _=Date.now(),f=0,v=y.changedTouches.length;f3&&(p.rollingPageX.shift(),p.rollingPageY.shift(),p.rollingTimestamps.shift()),p.rollingPageX.push(w.pageX),p.rollingPageY.push(w.pageY),p.rollingTimestamps.push(_)}this.dispatched&&(y.preventDefault(),y.stopPropagation(),this.dispatched=!1)},u.SCROLL_FRICTION=-.005,u.HOLD_DELAY=700,u.CLEAR_TAP_COUNT_TIME=400,z([I.a],u,"isTouchDevice",null),u}(re.a)},pmY6:function(Lt,j,e){"use strict";e.d(j,"g",function(){return U}),e.d(j,"f",function(){return z}),e.d(j,"e",function(){return O}),e.d(j,"h",function(){return H}),e.d(j,"b",function(){return x}),e.d(j,"a",function(){return u}),e.d(j,"d",function(){return y}),e.d(j,"c",function(){return _});var T=!1,re="__is_disposable_tracked__";function J(f){if(!T)return;if(f&&f!==u.None)try{f[re]=!0}catch(v){}}function I(f){if(!T)return f;var v=new Error("Potentially leaked disposable").stack;return setTimeout(function(){f[re]||console.log(v)},3e3),f}function U(f){return typeof f.dispose=="function"&&f.dispose.length===0}function z(f){return Array.isArray(f)?(f.forEach(function(v){v&&(J(v),v.dispose())}),[]):f?(J(f),f.dispose(),f):void 0}function O(){for(var f=[],v=0;v0;){var f=_.shift();Object.freeze(f);for(var v in f)if(I.call(f,v)){var w=f[v];typeof w=="object"&&!Object.isFrozen(w)&&_.push(w)}}return y}var I=Object.prototype.hasOwnProperty;function U(y,_){return z(y,_,new Set)}function z(y,_,f){if(Object(T.l)(y))return y;var v=_(y);if(typeof v!="undefined")return v;if(Object(T.d)(y)){for(var w=[],p=0,c=y;put.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)},enumerable:!0,configurable:!0}),at.prototype.selectNextColorPresentation=function(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)},at.prototype.guessColorPresentation=function(tt,ut){for(var Ct=0;Ct0;return tt&&ut}var ee=e("X+cX"),ae=function(){function at(tt,ut,Ct,gt,bt){var Gt=this;this._computer=tt,this._state=0,this._hoverTime=bt,this._firstWaitScheduler=new ee.d(function(){return Gt._triggerAsyncComputation()},0),this._secondWaitScheduler=new ee.d(function(){return Gt._triggerSyncComputation()},0),this._loadingMessageScheduler=new ee.d(function(){return Gt._showLoadingMessage()},0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=ut,this._errorCallback=Ct,this._progressCallback=gt}return at.prototype.setHoverTime=function(tt){this._hoverTime=tt},at.prototype._firstWaitTime=function(){return this._hoverTime/2},at.prototype._secondWaitTime=function(){return this._hoverTime/2},at.prototype._loadingMessageTime=function(){return 3*this._hoverTime},at.prototype._triggerAsyncComputation=function(){var tt=this;this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=Object(ee.f)(function(ut){return tt._computer.computeAsync(ut)}),this._asyncComputationPromise.then(function(ut){tt._asyncComputationPromiseDone=!0,tt._withAsyncResult(ut)},function(ut){return tt._onError(ut)})):this._asyncComputationPromiseDone=!0},at.prototype._triggerSyncComputation=function(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))},at.prototype._showLoadingMessage=function(){this._state===3&&this._onProgress(this._computer.getResultWithLoadingMessage())},at.prototype._withAsyncResult=function(tt){tt&&this._computer.onResult(tt,!1),this._state===3&&(this._state=0,this._onComplete(this._computer.getResult()))},at.prototype._onComplete=function(tt){this._completeCallback&&this._completeCallback(tt)},at.prototype._onError=function(tt){this._errorCallback?this._errorCallback(tt):Object(Ue.e)(tt)},at.prototype._onProgress=function(tt){this._progressCallback&&this._progressCallback(tt)},at.prototype.start=function(tt){if(tt===0)this._state===0&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break}},at.prototype.cancel=function(){this._loadingMessageScheduler.cancel(),this._state===1&&this._firstWaitScheduler.cancel(),this._state===2&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),this._state===3&&(this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),this._state=0},at}(),q=e("GJhM"),ue=function(){var at=function(ut,Ct){return at=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(gt,bt){gt.__proto__=bt}||function(gt,bt){for(var Gt in bt)bt.hasOwnProperty(Gt)&&(gt[Gt]=bt[Gt])},at(ut,Ct)};return function(tt,ut){at(tt,ut);function Ct(){this.constructor=tt}tt.prototype=ut===null?Object.create(ut):(Ct.prototype=ut.prototype,new Ct)}}(),X=function(){for(var at=0,tt=0,ut=arguments.length;ttthis._editor.getModel().getLineCount())return[];var gt=c.ColorDetector.get(this._editor),bt=ut.getLineMaxColumn(Ct),Gt=this._editor.getLineDecorations(Ct),Nt=!1,Et=this._range,Je=Gt.map(function($e){var ze=$e.range.startLineNumber===Ct?$e.range.startColumn:1,Ke=$e.range.endLineNumber===Ct?$e.range.endColumn:bt;if(ze>Et.startColumn||Et.endColumn>Ke)return null;var fe=new z.a(Et.startLineNumber,ze,Et.startLineNumber,Ke),G=tt._markerDecorationsService.getMarker(ut,$e);if(G)return new be(fe,G);var te=gt.getColorData($e.range.getStartPosition());if(!Nt&&te){Nt=!0;var Y=te.colorInfo,de=Y.color,ke=Y.range;return new oe(ke,de,te.provider)}else{if(Object(_.b)($e.options.hoverMessage))return null;var lt=$e.options.hoverMessage?Object(Fe.b)($e.options.hoverMessage):[];return{contents:lt,range:fe}}});return Object(Fe.d)(Je)},at.prototype.onResult=function(tt,ut){ut?this._result=tt.concat(this._result.sort(function(Ct,gt){return Ct instanceof oe?-1:gt instanceof oe?1:0})):this._result=this._result.concat(tt)},at.prototype.getResult=function(){return this._result.slice(0)},at.prototype.getResultWithLoadingMessage=function(){return this._result.slice(0).concat([this._getLoadingMessage()])},at.prototype._getLoadingMessage=function(){return{range:this._range,contents:[new _.a().appendText(re.a("modesContentHover.loading","Loading..."))]}},at}(),Se={type:2,filter:{include:Q.b.QuickFix}},Ve=function(at){C(tt,at);function tt(ut,Ct,gt,bt,Gt,Nt){Nt===void 0&&(Nt=we.b);var Et=at.call(this,tt.ID,ut)||this;return Et._themeService=gt,Et._keybindingService=bt,Et._modeService=Gt,Et._openerService=Nt,Et.renderDisposable=Et._register(new I.d),Et._messages=[],Et._lastRange=null,Et._computer=new De(Et._editor,Ct),Et._highlightDecorations=[],Et._isChangingDecorations=!1,Et._shouldFocus=!1,Et._colorPicker=null,Et._hoverOperation=new ae(Et._computer,function(Je){return Et._withResult(Je,!0)},null,function(Je){return Et._withResult(Je,!1)},Et._editor.getOption(44).delay),Et._register(x.o(Et.getDomNode(),x.d.FOCUS,function(){Et._colorPicker&&x.f(Et.getDomNode(),"colorpicker-hover")})),Et._register(x.o(Et.getDomNode(),x.d.BLUR,function(){x.P(Et.getDomNode(),"colorpicker-hover")})),Et._register(ut.onDidChangeConfiguration(function(Je){Et._hoverOperation.setHoverTime(Et._editor.getOption(44).delay)})),Et._register(w.B.onDidChange(function(Je){Et.isVisible&&Et._lastRange&&Et._messages.length>0&&(Et._domNode.textContent="",Et._renderMessages(Et._lastRange,Et._messages))})),Et}return tt.prototype.dispose=function(){this._hoverOperation.cancel(),at.prototype.dispose.call(this)},tt.prototype.onModelDecorationsChanged=function(){if(this._isChangingDecorations)return;this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))},tt.prototype.startShowingAt=function(ut,Ct,gt){if(this._lastRange&&this._lastRange.equalsRange(ut))return;if(this._hoverOperation.cancel(),this.isVisible)if(!this._showAtPosition||this._showAtPosition.lineNumber!==ut.startLineNumber)this.hide();else{for(var bt=[],Gt=0,Nt=this._messages.length;Gt=ut.endColumn&&bt.push(Et)}if(bt.length>0){if(Qe(bt,this._messages))return;this._renderMessages(ut,bt)}else this.hide()}this._lastRange=ut,this._computer.setRange(ut),this._shouldFocus=gt,this._hoverOperation.start(Ct)},tt.prototype.hide=function(){this._lastRange=null,this._hoverOperation.cancel(),at.prototype.hide.call(this),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,[]),this._isChangingDecorations=!1,this.renderDisposable.clear(),this._colorPicker=null},tt.prototype.isColorPickerVisible=function(){return!!this._colorPicker},tt.prototype._withResult=function(ut,Ct){this._messages=ut,this._lastRange&&this._messages.length>0?this._renderMessages(this._lastRange,this._messages):Ct&&this.hide()},tt.prototype._renderMessages=function(ut,Ct){var gt=this;this.renderDisposable.dispose(),this._colorPicker=null;var bt=1073741824,Gt=Ct[0].range?z.a.lift(Ct[0].range):null,Nt=document.createDocumentFragment(),Et=!0,Je=!1,$e=new I.b,ze=[];if(Ct.forEach(function(fe){if(!fe.range)return;if(bt=Math.min(bt,fe.range.startColumn),Gt=Gt?z.a.plusRange(Gt,fe.range):z.a.lift(fe.range),fe instanceof oe){Je=!0;var G=fe.color,te=G.red,Y=G.green,de=G.blue,ke=G.alpha,lt=new y.c(Math.round(te*255),Math.round(Y*255),Math.round(de*255),ke),Tt=new y.a(lt);if(!gt._editor.hasModel())return;var Jt=gt._editor.getModel(),eo=new z.a(fe.range.startLineNumber,fe.range.startColumn,fe.range.endLineNumber,fe.range.endColumn),po={range:fe.range,color:fe.color},co=new l(Tt,[],0),Eo=new Te(Nt,co,gt._editor.getOption(105),gt._themeService);Object(p.a)(Jt,po,fe.provider,u.a.None).then(function(Oo){if(co.colorPresentations=Oo||[],!gt._editor.hasModel())return;var Ao=gt._editor.getModel().getValueInRange(fe.range);co.guessColorPresentation(Tt,Ao);var Zo=function(){var Mo,Qo;co.presentation.textEdit?(Mo=[co.presentation.textEdit],Qo=new z.a(co.presentation.textEdit.range.startLineNumber,co.presentation.textEdit.range.startColumn,co.presentation.textEdit.range.endLineNumber,co.presentation.textEdit.range.endColumn),Qo=Qo.setEndPosition(Qo.endLineNumber,Qo.startColumn+co.presentation.textEdit.text.length)):(Mo=[{identifier:null,range:eo,text:co.presentation.label,forceMoveMarkers:!1}],Qo=eo.setEndPosition(eo.endLineNumber,eo.startColumn+co.presentation.label.length)),gt._editor.pushUndoStop(),gt._editor.executeEdits("colorpicker",Mo),co.presentation.additionalTextEdits&&(Mo=F(co.presentation.additionalTextEdits),gt._editor.executeEdits("colorpicker",Mo),gt.hide()),gt._editor.pushUndoStop(),eo=Qo},Co=function(Mo){return Object(p.a)(Jt,{range:eo,color:{red:Mo.rgba.r/255,green:Mo.rgba.g/255,blue:Mo.rgba.b/255,alpha:Mo.rgba.a}},fe.provider,u.a.None).then(function(Qo){co.colorPresentations=Qo||[]})},Wo=co.onColorFlushed(function(Bo){Co(Bo).then(Zo)}),Go=co.onDidChangeColor(Co);gt._colorPicker=Eo,gt.showAt(eo.getStartPosition(),eo,gt._shouldFocus),gt.updateContents(Nt),gt._colorPicker.layout(),gt.renderDisposable.value=Object(I.e)(Wo,Go,Eo,$e)})}else fe instanceof be?(ze.push(fe),Et=!1):fe.contents.filter(function(Oo){return!Object(_.b)(Oo)}).forEach(function(Oo){var Ao=se("div.hover-row.markdown-hover"),Zo=x.q(Ao,se("div.hover-contents")),Co=$e.add(new Xe.a(gt._editor,gt._modeService,gt._openerService));$e.add(Co.onDidRenderCodeBlock(function(){Zo.className="hover-contents code-hover-contents",gt.onContentsChange()}));var Wo=$e.add(Co.render(Oo));Zo.appendChild(Wo.element),Nt.appendChild(Ao),Et=!1})}),ze.length){ze.forEach(function(fe){return Nt.appendChild(gt.renderMarkerHover(fe))});var Ke=ze.length===1?ze[0]:ze.sort(function(fe,G){return me.c.compare(fe.marker.severity,G.marker.severity)})[0];Nt.appendChild(this.renderMarkerStatusbar(Ke))}!Je&&!Et&&(this.showAt(new f.a(ut.startLineNumber,bt),Gt,this._shouldFocus),this.updateContents(Nt)),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,Gt?[{range:Gt,options:tt._DECORATION_OPTIONS}]:[]),this._isChangingDecorations=!1},tt.prototype.renderMarkerHover=function(ut){var Ct=this,gt=se("div.hover-row"),bt=x.q(gt,se("div.marker.hover-contents")),Gt=ut.marker,Nt=Gt.source,Et=Gt.message,Je=Gt.code,$e=Gt.relatedInformation;this._editor.applyFontInfo(bt);var ze=x.q(bt,se("span"));if(ze.style.whiteSpace="pre-wrap",ze.innerText=Et,Nt||Je){if(typeof Je=="string"){var Ke=x.q(bt,se("span"));Ke.style.opacity="0.6",Ke.style.paddingLeft="6px",Ke.innerText=Nt&&Je?Nt+"("+Je+")":Nt||"("+Je+")"}else if(Je){var fe=se("span");if(Nt){var G=x.q(fe,se("span"));G.innerText=Nt}this._codeLink=x.q(fe,se("a.code-link")),this._codeLink.setAttribute("href",Je.link.toString()),this._codeLink.onclick=function(Oo){Ct._openerService.open(Je.link),Oo.preventDefault(),Oo.stopPropagation()};var te=x.q(this._codeLink,se("span"));te.innerText=Je.value;var Ke=x.q(bt,fe);Ke.style.opacity="0.6",Ke.style.paddingLeft="6px"}}if(Object(Fe.q)($e))for(var Y=function(Oo,Ao,Zo,Co){var Wo=x.q(bt,se("div"));Wo.style.marginTop="8px";var Go=x.q(Wo,se("a"));Go.innerText=Object(ge.b)(Ao)+"("+Zo+", "+Co+"): ",Go.style.cursor="pointer",Go.onclick=function(Mo){Mo.stopPropagation(),Mo.preventDefault(),Ct._openerService&&Ct._openerService.open(Ao.with({fragment:Zo+","+Co}),{fromUserGesture:!0}).catch(Ue.e)};var Bo=x.q(Wo,se("span"));Bo.innerText=Oo,de._editor.applyFontInfo(Bo)},de=this,ke=0,lt=$e;ke0?this._renderMessages(this._lastLineNumber,this._messages):this.hide()},tt.prototype._renderMessages=function(ut,Ct){this._renderDisposeables.clear();for(var gt=document.createDocumentFragment(),bt=0,Gt=Ct;bt=0;Nt--)(Gt=at[Nt])&&(bt=(gt<3?Gt(bt):gt>3?Gt(tt,ut,bt):Gt(tt,ut))||bt);return gt>3&&bt&&Object.defineProperty(tt,ut,bt),bt},Pt=function(at,tt){return function(ut,Ct){tt(ut,Ct,at)}},ft=function(){function at(tt,ut,Ct,gt,bt,Gt){var Nt=this;this._editor=tt,this._openerService=ut,this._modeService=Ct,this._markerDecorationsService=gt,this._keybindingService=bt,this._themeService=Gt,this._toUnhook=new I.b,this._contentWidget=new I.d,this._glyphWidget=new I.d,this._isMouseDown=!1,this._hoverClicked=!1,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration(function(Et){Et.hasChanged(44)&&(Nt._hideWidgets(),Nt._unhookEvents(),Nt._hookEvents())})}return Object.defineProperty(at.prototype,"contentWidget",{get:function(){return this._contentWidget.value||this._createHoverWidgets(),this._contentWidget.value},enumerable:!0,configurable:!0}),Object.defineProperty(at.prototype,"glyphWidget",{get:function(){return this._glyphWidget.value||this._createHoverWidgets(),this._glyphWidget.value},enumerable:!0,configurable:!0}),at.get=function(tt){return tt.getContribution(at.ID)},at.prototype._hookEvents=function(){var tt=this,ut=function(){return tt._hideWidgets()},Ct=this._editor.getOption(44);this._isHoverEnabled=Ct.enabled,this._isHoverSticky=Ct.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(function(gt){return tt._onEditorMouseDown(gt)})),this._toUnhook.add(this._editor.onMouseUp(function(gt){return tt._onEditorMouseUp(gt)})),this._toUnhook.add(this._editor.onMouseMove(function(gt){return tt._onEditorMouseMove(gt)})),this._toUnhook.add(this._editor.onKeyDown(function(gt){return tt._onKeyDown(gt)})),this._toUnhook.add(this._editor.onDidChangeModelDecorations(function(){return tt._onModelDecorationsChanged()}))):this._toUnhook.add(this._editor.onMouseMove(ut)),this._toUnhook.add(this._editor.onMouseLeave(ut)),this._toUnhook.add(this._editor.onDidChangeModel(ut)),this._toUnhook.add(this._editor.onDidScrollChange(function(gt){return tt._onEditorScrollChanged(gt)}))},at.prototype._unhookEvents=function(){this._toUnhook.clear()},at.prototype._onModelDecorationsChanged=function(){this.contentWidget.onModelDecorationsChanged(),this.glyphWidget.onModelDecorationsChanged()},at.prototype._onEditorScrollChanged=function(tt){(tt.scrollTopChanged||tt.scrollLeftChanged)&&this._hideWidgets()},at.prototype._onEditorMouseDown=function(tt){this._isMouseDown=!0;var ut=tt.target.type;if(ut===9&&tt.target.detail===Ve.ID){this._hoverClicked=!0;return}if(ut===12&&tt.target.detail===Rt.ID)return;ut!==12&&tt.target.detail!==Rt.ID&&(this._hoverClicked=!1),this._hideWidgets()},at.prototype._onEditorMouseUp=function(tt){this._isMouseDown=!1},at.prototype._onEditorMouseMove=function(tt){var ut=tt.target.type;if(this._isMouseDown&&this._hoverClicked&&this.contentWidget.isColorPickerVisible())return;if(this._isHoverSticky&&ut===9&&tt.target.detail===Ve.ID)return;if(this._isHoverSticky&&ut===12&&tt.target.detail===Rt.ID)return;if(ut===7){var Ct=this._editor.getOption(34).typicalHalfwidthCharacterWidth/2,gt=tt.target.detail;gt&&!gt.isAfterLines&&typeof gt.horizontalDistanceToText=="number"&>.horizontalDistanceToText0)},fe.prototype.getChildren=function(G,te){var Y=this.modelProvider.getModel();return Promise.resolve(Y===te?Y.entries:[])},fe.prototype.getParent=function(G,te){return Promise.resolve(null)},fe}(),u=function(){function fe(G){this.modelProvider=G}return fe.prototype.getAriaLabel=function(G,te){var Y=this.modelProvider.getModel();return Y.accessibilityProvider?Y.accessibilityProvider.getAriaLabel(te):null},fe.prototype.getPosInSet=function(G,te){var Y=this.modelProvider.getModel(),de=0;if(Y.filter)for(var ke=0,lt=Y.entries;ke=0;te--){var Y=this._arr[te];if(G.toChord().equals(Y.keybinding))return Y.callback}return null},fe}(),s=function(){function fe(G){var te=this;G===void 0&&(G={clickBehavior:0,keyboardSupport:!0,openMode:0}),this.options=G,this.downKeyBindingDispatcher=new c,this.upKeyBindingDispatcher=new c,(typeof G.keyboardSupport!="boolean"||G.keyboardSupport)&&(this.downKeyBindingDispatcher.set(16,function(Y,de){return te.onUp(Y,de)}),this.downKeyBindingDispatcher.set(18,function(Y,de){return te.onDown(Y,de)}),this.downKeyBindingDispatcher.set(15,function(Y,de){return te.onLeft(Y,de)}),this.downKeyBindingDispatcher.set(17,function(Y,de){return te.onRight(Y,de)}),O.e&&(this.downKeyBindingDispatcher.set(2048|16,function(Y,de){return te.onLeft(Y,de)}),this.downKeyBindingDispatcher.set(256|44,function(Y,de){return te.onDown(Y,de)}),this.downKeyBindingDispatcher.set(256|46,function(Y,de){return te.onUp(Y,de)})),this.downKeyBindingDispatcher.set(11,function(Y,de){return te.onPageUp(Y,de)}),this.downKeyBindingDispatcher.set(12,function(Y,de){return te.onPageDown(Y,de)}),this.downKeyBindingDispatcher.set(14,function(Y,de){return te.onHome(Y,de)}),this.downKeyBindingDispatcher.set(13,function(Y,de){return te.onEnd(Y,de)}),this.downKeyBindingDispatcher.set(10,function(Y,de){return te.onSpace(Y,de)}),this.downKeyBindingDispatcher.set(9,function(Y,de){return te.onEscape(Y,de)}),this.upKeyBindingDispatcher.set(3,this.onEnter.bind(this)),this.upKeyBindingDispatcher.set(2048|3,this.onEnter.bind(this)))}return fe.prototype.onMouseDown=function(G,te,Y,de){if(de===void 0&&(de="mouse"),this.options.clickBehavior===0&&(Y.leftButton||Y.middleButton)){if(Y.target){if(Y.target.tagName&&Y.target.tagName.toLowerCase()==="input")return!1;if(I.x(Y.target,"scrollbar","monaco-tree"))return!1;if(I.x(Y.target,"monaco-action-bar","row"))return!1}return this.onLeftClick(G,te,Y,de)}return!1},fe.prototype.onClick=function(G,te,Y){var de=O.e;return de&&Y.ctrlKey?(Y.preventDefault(),Y.stopPropagation(),!1):Y.target&&Y.target.tagName&&Y.target.tagName.toLowerCase()==="input"||this.options.clickBehavior===0&&(Y.leftButton||Y.middleButton)?!1:this.onLeftClick(G,te,Y)},fe.prototype.onLeftClick=function(G,te,Y,de){de===void 0&&(de="mouse");var ke=Y,lt={origin:de,originalEvent:Y,didClickOnTwistie:this.isClickOnTwistie(ke)};if(G.getInput()===te)G.clearFocus(lt),G.clearSelection(lt);else{var Tt=Y&&ke.browserEvent&&ke.browserEvent.type==="mousedown"&&ke.browserEvent.detail===1;Tt||Y.preventDefault(),Y.stopPropagation(),G.domFocus(),G.setSelection([te],lt),G.setFocus(te,lt),this.shouldToggleExpansion(te,ke,de)&&(G.isExpanded(te)?G.collapse(te).then(void 0,w.e):G.expand(te).then(void 0,w.e))}return!0},fe.prototype.shouldToggleExpansion=function(G,te,Y){var de=Y==="mouse"&&te.detail===2;return this.openOnSingleClick||de||this.isClickOnTwistie(te)},Object.defineProperty(fe.prototype,"openOnSingleClick",{get:function(){return this.options.openMode===0},enumerable:!0,configurable:!0}),fe.prototype.isClickOnTwistie=function(G){var te=G.target;if(!I.I(te,"content"))return!1;var Y=window.getComputedStyle(te,":before");if(Y.backgroundImage==="none"||Y.display==="none")return!1;var de=parseInt(Y.width)+parseInt(Y.paddingRight);return G.browserEvent.offsetX<=de},fe.prototype.onContextMenu=function(G,te,Y){return Y.target&&Y.target.tagName&&Y.target.tagName.toLowerCase()==="input"||Y&&(Y.preventDefault(),Y.stopPropagation()),!1},fe.prototype.onTap=function(G,te,Y){var de=Y.initialTarget;return de&&de.tagName&&de.tagName.toLowerCase()==="input"?!1:this.onLeftClick(G,te,Y,"touch")},fe.prototype.onKeyDown=function(G,te){return this.onKey(this.downKeyBindingDispatcher,G,te)},fe.prototype.onKeyUp=function(G,te){return this.onKey(this.upKeyBindingDispatcher,G,te)},fe.prototype.onKey=function(G,te,Y){var de=G.dispatch(Y.toKeybinding());return de&&de(te,Y)?(Y.preventDefault(),Y.stopPropagation(),!0):!1},fe.prototype.onUp=function(G,te){var Y={origin:"keyboard",originalEvent:te};return G.getHighlight()?G.clearHighlight(Y):(G.focusPrevious(1,Y),G.reveal(G.getFocus()).then(void 0,w.e)),!0},fe.prototype.onPageUp=function(G,te){var Y={origin:"keyboard",originalEvent:te};return G.getHighlight()?G.clearHighlight(Y):(G.focusPreviousPage(Y),G.reveal(G.getFocus()).then(void 0,w.e)),!0},fe.prototype.onDown=function(G,te){var Y={origin:"keyboard",originalEvent:te};return G.getHighlight()?G.clearHighlight(Y):(G.focusNext(1,Y),G.reveal(G.getFocus()).then(void 0,w.e)),!0},fe.prototype.onPageDown=function(G,te){var Y={origin:"keyboard",originalEvent:te};return G.getHighlight()?G.clearHighlight(Y):(G.focusNextPage(Y),G.reveal(G.getFocus()).then(void 0,w.e)),!0},fe.prototype.onHome=function(G,te){var Y={origin:"keyboard",originalEvent:te};return G.getHighlight()?G.clearHighlight(Y):(G.focusFirst(Y),G.reveal(G.getFocus()).then(void 0,w.e)),!0},fe.prototype.onEnd=function(G,te){var Y={origin:"keyboard",originalEvent:te};return G.getHighlight()?G.clearHighlight(Y):(G.focusLast(Y),G.reveal(G.getFocus()).then(void 0,w.e)),!0},fe.prototype.onLeft=function(G,te){var Y={origin:"keyboard",originalEvent:te};if(G.getHighlight())G.clearHighlight(Y);else{var de=G.getFocus();G.collapse(de).then(function(ke){return de&&!ke?(G.focusParent(Y),G.reveal(G.getFocus())):void 0}).then(void 0,w.e)}return!0},fe.prototype.onRight=function(G,te){var Y={origin:"keyboard",originalEvent:te};if(G.getHighlight())G.clearHighlight(Y);else{var de=G.getFocus();G.expand(de).then(function(ke){return de&&!ke?(G.focusFirstChild(Y),G.reveal(G.getFocus())):void 0}).then(void 0,w.e)}return!0},fe.prototype.onEnter=function(G,te){var Y={origin:"keyboard",originalEvent:te};if(G.getHighlight())return!1;var de=G.getFocus();return de&&G.setSelection([de],Y),!0},fe.prototype.onSpace=function(G,te){if(G.getHighlight())return!1;var Y=G.getFocus();return Y&&G.toggleExpansion(Y),!0},fe.prototype.onEscape=function(G,te){var Y={origin:"keyboard",originalEvent:te};return G.getHighlight()?(G.clearHighlight(Y),!0):G.getSelection().length?(G.clearSelection(Y),!0):G.getFocus()?(G.clearFocus(Y),!0):!1},fe}(),l=function(){function fe(){}return fe.prototype.getDragURI=function(G,te){return null},fe.prototype.onDragStart=function(G,te,Y){return},fe.prototype.onDragOver=function(G,te,Y,de){return null},fe.prototype.drop=function(G,te,Y,de){return},fe}(),d=function(){function fe(){}return fe.prototype.isVisible=function(G,te){return!0},fe}(),m=function(){function fe(){}return fe.prototype.getAriaLabel=function(G,te){return null},fe}(),E=function(){function fe(G,te){this.styleElement=G,this.selectorSuffix=te}return fe.prototype.style=function(G){var te=this.selectorSuffix?"."+this.selectorSuffix:"",Y=[];G.listFocusBackground&&Y.push(".monaco-tree"+te+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) { background-color: "+G.listFocusBackground+"; }"),G.listFocusForeground&&Y.push(".monaco-tree"+te+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) { color: "+G.listFocusForeground+"; }"),G.listActiveSelectionBackground&&Y.push(".monaco-tree"+te+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { background-color: "+G.listActiveSelectionBackground+"; }"),G.listActiveSelectionForeground&&Y.push(".monaco-tree"+te+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { color: "+G.listActiveSelectionForeground+"; }"),G.listFocusAndSelectionBackground&&Y.push(` + `,constraint:u,schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["left","right","up","down","wrappedLineStart","wrappedLineEnd","wrappedLineColumnCenter","wrappedLineFirstNonWhitespaceCharacter","wrappedLineLastNonWhitespaceCharacter","viewPortTop","viewPortCenter","viewPortBottom","viewPortIfOutside"]},by:{type:"string",enum:["line","wrappedLine","character","halfLine"]},value:{type:"number",default:1},select:{type:"boolean",default:!1}}}}]},x.RawDirection={Left:"left",Right:"right",Up:"up",Down:"down",WrappedLineStart:"wrappedLineStart",WrappedLineFirstNonWhitespaceCharacter:"wrappedLineFirstNonWhitespaceCharacter",WrappedLineColumnCenter:"wrappedLineColumnCenter",WrappedLineEnd:"wrappedLineEnd",WrappedLineLastNonWhitespaceCharacter:"wrappedLineLastNonWhitespaceCharacter",ViewPortTop:"viewPortTop",ViewPortCenter:"viewPortCenter",ViewPortBottom:"viewPortBottom",ViewPortIfOutside:"viewPortIfOutside"},x.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"};function y(_){if(!_.to)return null;var f;switch(_.to){case x.RawDirection.Left:f=0;break;case x.RawDirection.Right:f=1;break;case x.RawDirection.Up:f=2;break;case x.RawDirection.Down:f=3;break;case x.RawDirection.WrappedLineStart:f=4;break;case x.RawDirection.WrappedLineFirstNonWhitespaceCharacter:f=5;break;case x.RawDirection.WrappedLineColumnCenter:f=6;break;case x.RawDirection.WrappedLineEnd:f=7;break;case x.RawDirection.WrappedLineLastNonWhitespaceCharacter:f=8;break;case x.RawDirection.ViewPortTop:f=9;break;case x.RawDirection.ViewPortBottom:f=11;break;case x.RawDirection.ViewPortCenter:f=10;break;case x.RawDirection.ViewPortIfOutside:f=12;break;default:return null}var v=0;switch(_.by){case x.RawUnit.Line:v=1;break;case x.RawUnit.WrappedLine:v=2;break;case x.RawUnit.Character:v=3;break;case x.RawUnit.HalfLine:v=4;break}return{direction:f,unit:v,select:!!_.select,value:_.value||1}}x.parse=y})(U||(U={}))},oKJv:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:function(){return e.e(301).then(e.bind(null,"HGU1"))}})},oQaD:function(Lt,j,e){"use strict";e.r(j),e.d(j,"getSelectionSearchString",function(){return M}),e.d(j,"CommonFindController",function(){return P}),e.d(j,"FindController",function(){return Z}),e.d(j,"StartFindAction",function(){return Ae}),e.d(j,"StartFindWithSelectionAction",function(){return xe}),e.d(j,"MatchFindAction",function(){return Ne}),e.d(j,"NextMatchFindAction",function(){return dt}),e.d(j,"NextMatchFindAction2",function(){return ht}),e.d(j,"PreviousMatchFindAction",function(){return xt}),e.d(j,"PreviousMatchFindAction2",function(){return Bt}),e.d(j,"SelectionMatchFindAction",function(){return Ut}),e.d(j,"NextSelectionMatchFindAction",function(){return Ht}),e.d(j,"PreviousSelectionMatchFindAction",function(){return oo}),e.d(j,"StartFindReplaceAction",function(){return Zt});var T=e("3/fG"),re=e("X+cX"),J=e("pmY6"),I=e("N0LK"),H=e("sswD"),z=e("wQH0"),O=e("LCkn"),U=e("cGHE"),x=e("aokT"),u=e("gCVg"),y=e("jAJ/"),_=e("M1Kb"),f=e("tX9W"),v=e("MD5Z"),w=e("t9D7"),p=function(){function yt(Ue){this._editor=Ue,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}return yt.prototype.dispose=function(){this._editor.deltaDecorations(this._allDecorations(),[]),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null},yt.prototype.reset=function(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null},yt.prototype.getCount=function(){return this._decorations.length},yt.prototype.getFindScope=function(){return this._findScopeDecorationId?this._editor.getModel().getDecorationRange(this._findScopeDecorationId):null},yt.prototype.getStartPosition=function(){return this._startPosition},yt.prototype.setStartPosition=function(Ue){this._startPosition=Ue,this.setCurrentFindMatch(null)},yt.prototype._getDecorationIndex=function(Ue){var Oe=this._decorations.indexOf(Ue);return Oe>=0?Oe+1:1},yt.prototype.getCurrentMatchesPosition=function(Ue){for(var Oe=this._editor.getModel().getDecorationsInRange(Ue),rt=0,It=Oe;rt1e3){pe=yt._FIND_MATCH_NO_OVERVIEW_DECORATION;for(var ye=rt._editor.getModel().getLineCount(),We=rt._editor.getLayoutInfo().height,Ze=We/ye,st=Math.max(2,Math.ceil(3/Ze)),mt=Ue[0].range.startLineNumber,Kt=Ue[0].range.endLineNumber,Xt=1,no=Ue.length;Xt=vo.startLineNumber?vo.endLineNumber>Kt&&(Kt=vo.endLineNumber):(D.push({range:new x.a(mt,1,Kt,1),options:yt._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),mt=vo.startLineNumber,Kt=vo.endLineNumber)}D.push({range:new x.a(mt,1,Kt,1),options:yt._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}for(var lo=new Array(Ue.length),Xt=0,no=Ue.length;Xt=0;Oe--){var rt=this._decorations[Oe],It=this._editor.getModel().getDecorationRange(rt);if(!It||It.endLineNumber>Ue.lineNumber)continue;if(It.endLineNumberUe.column)continue;return It}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])},yt.prototype.matchAfterPosition=function(Ue){if(this._decorations.length===0)return null;for(var Oe=0,rt=this._decorations.length;OeUe.lineNumber)return pe;if(pe.startColumn0){for(var rt=[],It=0;It0;){if(Ue=rt)break;var pe=yt.charCodeAt(Oe);switch(pe){case 92:Ue.emitUnchanged(Oe-1),Ue.emitStatic("\\",Oe+1);break;case 110:Ue.emitUnchanged(Oe-1),Ue.emitStatic(` +`,Oe+1);break;case 116:Ue.emitUnchanged(Oe-1),Ue.emitStatic(" ",Oe+1);break}continue}if(It===36){if(Oe++,Oe>=rt)break;var pe=yt.charCodeAt(Oe);if(pe===36){Ue.emitUnchanged(Oe-1),Ue.emitStatic("$",Oe+1);continue}if(pe===48||pe===38){Ue.emitUnchanged(Oe-1),Ue.emitMatchIndex(0,Oe+1);continue}if(49<=pe&&pe<=57){var D=pe-48;if(Oe+10},yt.prototype._cannotFind=function(){if(!this._hasMatches()){var Ue=this._decorations.getFindScope();return Ue&&this._editor.revealRangeInCenterIfOutsideViewport(Ue,0),!0}return!1},yt.prototype._setCurrentFindMatch=function(Ue){var Oe=this._decorations.setCurrentFindMatch(Ue);this._state.changeMatchInfo(Oe,this._decorations.getCount(),Ue),this._editor.setSelection(Ue),this._editor.revealRangeInCenterIfOutsideViewport(Ue,0)},yt.prototype._prevSearchPosition=function(Ue){var Oe=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),rt=Ue.lineNumber,It=Ue.column,pe=this._editor.getModel();return Oe||It===1?(rt===1?rt=pe.getLineCount():rt--,It=pe.getLineMaxColumn(rt)):It--,new U.a(rt,It)},yt.prototype._moveToPrevMatch=function(Ue,Oe){if(Oe===void 0&&(Oe=!1),this._decorations.getCount()=0||this._state.searchString.indexOf("$")>=0),rt=Ue.lineNumber,It=Ue.column,pe=this._editor.getModel();return Oe||It===pe.getLineMaxColumn(rt)?(rt===pe.getLineCount()?rt=1:rt++,It=1):It++,new U.a(rt,It)},yt.prototype._moveToNextMatch=function(Ue){if(this._decorations.getCount()=He?this._largeReplaceAll():this._regularReplaceAll(Ue),this.research(!1)},yt.prototype._largeReplaceAll=function(){var Ue=new y.a(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null),Oe=Ue.parseSearchRequest();if(!Oe)return;var rt=Oe.regex;if(!rt.multiline){var It="mu";rt.ignoreCase&&(It+="i"),rt.global&&(It+="g"),rt=new RegExp(rt.source,It)}var pe=this._editor.getModel(),D=pe.getValue(1),ye=pe.getFullModelRange(),We=this._getReplacePattern(),Ze,st=this._state.preserveCase;We.hasReplacementPatterns||st?Ze=D.replace(rt,function(){return We.buildReplaceString(arguments,st)}):Ze=D.replace(rt,We.buildReplaceString(null,st));var mt=new O.b(ye,Ze,this._editor.getSelection());this._executeEditorCommand("replaceAll",mt)},yt.prototype._regularReplaceAll=function(Ue){for(var Oe=this._getReplacePattern(),rt=this._findMatches(Ue,Oe.hasReplacementPatterns||this._state.preserveCase,1073741824),It=[],pe=0,D=rt.length;pert&&(Oe=rt),this._matchesPosition!==Oe&&(this._matchesPosition=Oe,pe.matchesPosition=!0,D=!0),this._matchesCount!==rt&&(this._matchesCount=rt,pe.matchesCount=!0,D=!0),typeof It!="undefined"&&(x.a.equalsRange(this._currentMatch,It)||(this._currentMatch=It,pe.currentMatch=!0,D=!0)),D&&this._onFindReplaceStateChange.fire(pe)},Ue.prototype.change=function(Oe,rt,It){It===void 0&&(It=!0);var pe={moveCursor:rt,updateHistory:It,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1},D=!1,ye=this.isRegex,We=this.wholeWord,Ze=this.matchCase,st=this.preserveCase;typeof Oe.searchString!="undefined"&&(this._searchString!==Oe.searchString&&(this._searchString=Oe.searchString,pe.searchString=!0,D=!0)),typeof Oe.replaceString!="undefined"&&(this._replaceString!==Oe.replaceString&&(this._replaceString=Oe.replaceString,pe.replaceString=!0,D=!0)),typeof Oe.isRevealed!="undefined"&&(this._isRevealed!==Oe.isRevealed&&(this._isRevealed=Oe.isRevealed,pe.isRevealed=!0,D=!0)),typeof Oe.isReplaceRevealed!="undefined"&&(this._isReplaceRevealed!==Oe.isReplaceRevealed&&(this._isReplaceRevealed=Oe.isReplaceRevealed,pe.isReplaceRevealed=!0,D=!0)),typeof Oe.isRegex!="undefined"&&(this._isRegex=Oe.isRegex),typeof Oe.wholeWord!="undefined"&&(this._wholeWord=Oe.wholeWord),typeof Oe.matchCase!="undefined"&&(this._matchCase=Oe.matchCase),typeof Oe.preserveCase!="undefined"&&(this._preserveCase=Oe.preserveCase),typeof Oe.searchScope!="undefined"&&(x.a.equalsRange(this._searchScope,Oe.searchScope)||(this._searchScope=Oe.searchScope,pe.searchScope=!0,D=!0)),this._isRegexOverride=typeof Oe.isRegexOverride!="undefined"?Oe.isRegexOverride:0,this._wholeWordOverride=typeof Oe.wholeWordOverride!="undefined"?Oe.wholeWordOverride:0,this._matchCaseOverride=typeof Oe.matchCaseOverride!="undefined"?Oe.matchCaseOverride:0,this._preserveCaseOverride=typeof Oe.preserveCaseOverride!="undefined"?Oe.preserveCaseOverride:0,ye!==this.isRegex&&(D=!0,pe.isRegex=!0),We!==this.wholeWord&&(D=!0,pe.wholeWord=!0),Ze!==this.matchCase&&(D=!0,pe.matchCase=!0),st!==this.preserveCase&&(D=!0,pe.preserveCase=!0),D&&this._onFindReplaceStateChange.fire(pe)},Ue}(J.a),Se=e("AbCa"),Ve=e("OBOq"),Qe=e("cMOf"),it=e("/cxE"),pt=e("MNsG"),Rt=e("yqFB"),Mt=e("0+8E"),zt=function(){var yt=function(Oe,rt){return yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(It,pe){It.__proto__=pe}||function(It,pe){for(var D in pe)pe.hasOwnProperty(D)&&(It[D]=pe[D])},yt(Oe,rt)};return function(Ue,Oe){yt(Ue,Oe);function rt(){this.constructor=Ue}Ue.prototype=Oe===null?Object.create(Oe):(rt.prototype=Oe.prototype,new rt)}}(),uo=T.a("defaultLabel","input"),ao=function(yt){zt(Ue,yt);function Ue(Oe,rt,It,pe){var D=yt.call(this)||this;D._showOptionButtons=It,D.fixFocusOnOptionClickEnabled=!0,D._onDidOptionChange=D._register(new X.a),D.onDidOptionChange=D._onDidOptionChange.event,D._onKeyDown=D._register(new X.a),D.onKeyDown=D._onKeyDown.event,D._onMouseDown=D._register(new X.a),D.onMouseDown=D._onMouseDown.event,D._onInput=D._register(new X.a),D._onKeyUp=D._register(new X.a),D._onCaseSensitiveKeyDown=D._register(new X.a),D.onCaseSensitiveKeyDown=D._onCaseSensitiveKeyDown.event,D._onRegexKeyDown=D._register(new X.a),D.onRegexKeyDown=D._onRegexKeyDown.event,D._lastHighlightFindOptions=0,D.contextViewProvider=rt,D.placeholder=pe.placeholder||"",D.validation=pe.validation,D.label=pe.label||uo,D.inputActiveOptionBorder=pe.inputActiveOptionBorder,D.inputActiveOptionBackground=pe.inputActiveOptionBackground,D.inputBackground=pe.inputBackground,D.inputForeground=pe.inputForeground,D.inputBorder=pe.inputBorder,D.inputValidationInfoBorder=pe.inputValidationInfoBorder,D.inputValidationInfoBackground=pe.inputValidationInfoBackground,D.inputValidationInfoForeground=pe.inputValidationInfoForeground,D.inputValidationWarningBorder=pe.inputValidationWarningBorder,D.inputValidationWarningBackground=pe.inputValidationWarningBackground,D.inputValidationWarningForeground=pe.inputValidationWarningForeground,D.inputValidationErrorBorder=pe.inputValidationErrorBorder,D.inputValidationErrorBackground=pe.inputValidationErrorBackground,D.inputValidationErrorForeground=pe.inputValidationErrorForeground;var ye=pe.appendCaseSensitiveLabel||"",We=pe.appendWholeWordsLabel||"",Ze=pe.appendRegexLabel||"",st=pe.history||[],mt=!!pe.flexibleHeight,Kt=!!pe.flexibleWidth,Xt=pe.flexibleMaxHeight;D.domNode=document.createElement("div"),ee.f(D.domNode,"monaco-findInput"),D.inputBox=D._register(new Mt.a(D.domNode,D.contextViewProvider,{placeholder:D.placeholder||"",ariaLabel:D.label||"",validationOptions:{validation:D.validation},inputBackground:D.inputBackground,inputForeground:D.inputForeground,inputBorder:D.inputBorder,inputValidationInfoBackground:D.inputValidationInfoBackground,inputValidationInfoForeground:D.inputValidationInfoForeground,inputValidationInfoBorder:D.inputValidationInfoBorder,inputValidationWarningBackground:D.inputValidationWarningBackground,inputValidationWarningForeground:D.inputValidationWarningForeground,inputValidationWarningBorder:D.inputValidationWarningBorder,inputValidationErrorBackground:D.inputValidationErrorBackground,inputValidationErrorForeground:D.inputValidationErrorForeground,inputValidationErrorBorder:D.inputValidationErrorBorder,history:st,flexibleHeight:mt,flexibleWidth:Kt,flexibleMaxHeight:Xt})),D.regex=D._register(new C({appendTitle:Ze,isChecked:!1,inputActiveOptionBorder:D.inputActiveOptionBorder,inputActiveOptionBackground:D.inputActiveOptionBackground})),D._register(D.regex.onChange(function(lo){D._onDidOptionChange.fire(lo),!lo&&D.fixFocusOnOptionClickEnabled&&D.inputBox.focus(),D.validate()})),D._register(D.regex.onKeyDown(function(lo){D._onRegexKeyDown.fire(lo)})),D.wholeWords=D._register(new Q({appendTitle:We,isChecked:!1,inputActiveOptionBorder:D.inputActiveOptionBorder,inputActiveOptionBackground:D.inputActiveOptionBackground})),D._register(D.wholeWords.onChange(function(lo){D._onDidOptionChange.fire(lo),!lo&&D.fixFocusOnOptionClickEnabled&&D.inputBox.focus(),D.validate()})),D.caseSensitive=D._register(new ve({appendTitle:ye,isChecked:!1,inputActiveOptionBorder:D.inputActiveOptionBorder,inputActiveOptionBackground:D.inputActiveOptionBackground})),D._register(D.caseSensitive.onChange(function(lo){D._onDidOptionChange.fire(lo),!lo&&D.fixFocusOnOptionClickEnabled&&D.inputBox.focus(),D.validate()})),D._register(D.caseSensitive.onKeyDown(function(lo){D._onCaseSensitiveKeyDown.fire(lo)})),D._showOptionButtons&&(D.inputBox.paddingRight=D.caseSensitive.width()+D.wholeWords.width()+D.regex.width());var no=[D.caseSensitive.domNode,D.wholeWords.domNode,D.regex.domNode];D.onkeydown(D.domNode,function(lo){if(lo.equals(15)||lo.equals(17)||lo.equals(9)){var Ro=no.indexOf(document.activeElement);if(Ro>=0){var wo=-1;lo.equals(17)?wo=(Ro+1)%no.length:lo.equals(15)&&(Ro===0?wo=no.length-1:wo=Ro-1),lo.equals(9)?no[Ro].blur():wo>=0&&no[wo].focus(),ee.c.stop(lo,!0)}}});var vo=document.createElement("div");return vo.className="controls",vo.style.display=D._showOptionButtons?"block":"none",vo.appendChild(D.caseSensitive.domNode),vo.appendChild(D.wholeWords.domNode),vo.appendChild(D.regex.domNode),D.domNode.appendChild(vo),Oe&&Oe.appendChild(D.domNode),D.onkeydown(D.inputBox.inputElement,function(lo){return D._onKeyDown.fire(lo)}),D.onkeyup(D.inputBox.inputElement,function(lo){return D._onKeyUp.fire(lo)}),D.oninput(D.inputBox.inputElement,function(lo){return D._onInput.fire()}),D.onmousedown(D.inputBox.inputElement,function(lo){return D._onMouseDown.fire(lo)}),D}return Ue.prototype.enable=function(){ee.P(this.domNode,"disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()},Ue.prototype.disable=function(){ee.f(this.domNode,"disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()},Ue.prototype.setFocusInputOnOptionClick=function(Oe){this.fixFocusOnOptionClickEnabled=Oe},Ue.prototype.setEnabled=function(Oe){Oe?this.enable():this.disable()},Ue.prototype.getValue=function(){return this.inputBox.value},Ue.prototype.setValue=function(Oe){this.inputBox.value!==Oe&&(this.inputBox.value=Oe)},Ue.prototype.style=function(Oe){this.inputActiveOptionBorder=Oe.inputActiveOptionBorder,this.inputActiveOptionBackground=Oe.inputActiveOptionBackground,this.inputBackground=Oe.inputBackground,this.inputForeground=Oe.inputForeground,this.inputBorder=Oe.inputBorder,this.inputValidationInfoBackground=Oe.inputValidationInfoBackground,this.inputValidationInfoForeground=Oe.inputValidationInfoForeground,this.inputValidationInfoBorder=Oe.inputValidationInfoBorder,this.inputValidationWarningBackground=Oe.inputValidationWarningBackground,this.inputValidationWarningForeground=Oe.inputValidationWarningForeground,this.inputValidationWarningBorder=Oe.inputValidationWarningBorder,this.inputValidationErrorBackground=Oe.inputValidationErrorBackground,this.inputValidationErrorForeground=Oe.inputValidationErrorForeground,this.inputValidationErrorBorder=Oe.inputValidationErrorBorder,this.applyStyles()},Ue.prototype.applyStyles=function(){if(this.domNode){var Oe={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionBackground:this.inputActiveOptionBackground};this.regex.style(Oe),this.wholeWords.style(Oe),this.caseSensitive.style(Oe);var rt={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(rt)}},Ue.prototype.select=function(){this.inputBox.select()},Ue.prototype.focus=function(){this.inputBox.focus()},Ue.prototype.getCaseSensitive=function(){return this.caseSensitive.checked},Ue.prototype.setCaseSensitive=function(Oe){this.caseSensitive.checked=Oe},Ue.prototype.getWholeWords=function(){return this.wholeWords.checked},Ue.prototype.setWholeWords=function(Oe){this.wholeWords.checked=Oe},Ue.prototype.getRegex=function(){return this.regex.checked},Ue.prototype.setRegex=function(Oe){this.regex.checked=Oe,this.validate()},Ue.prototype.focusOnCaseSensitive=function(){this.caseSensitive.focus()},Ue.prototype.highlightFindOptions=function(){ee.P(this.domNode,"highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,ee.f(this.domNode,"highlight-"+this._lastHighlightFindOptions)},Ue.prototype.validate=function(){this.inputBox.validate()},Ue.prototype.clearMessage=function(){this.inputBox.hideMessage()},Ue}(q.a),so=e("nrhi"),Pt=function(){var yt=function(Oe,rt){return yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(It,pe){It.__proto__=pe}||function(It,pe){for(var D in pe)pe.hasOwnProperty(D)&&(It[D]=pe[D])},yt(Oe,rt)};return function(Ue,Oe){yt(Ue,Oe);function rt(){this.constructor=Ue}Ue.prototype=Oe===null?Object.create(Oe):(rt.prototype=Oe.prototype,new rt)}}(),ft=T.a("defaultLabel","input"),vt=T.a("label.preserveCaseCheckbox","Preserve Case"),At=function(yt){Pt(Ue,yt);function Ue(Oe){return yt.call(this,{actionClassName:"codicon-preserve-case",title:vt+Oe.appendTitle,isChecked:Oe.isChecked,inputActiveOptionBorder:Oe.inputActiveOptionBorder,inputActiveOptionBackground:Oe.inputActiveOptionBackground})||this}return Ue}(me),at=function(yt){Pt(Ue,yt);function Ue(Oe,rt,It,pe){var D=yt.call(this)||this;D._showOptionButtons=It,D.fixFocusOnOptionClickEnabled=!0,D.cachedOptionsWidth=0,D._onDidOptionChange=D._register(new X.a),D.onDidOptionChange=D._onDidOptionChange.event,D._onKeyDown=D._register(new X.a),D.onKeyDown=D._onKeyDown.event,D._onMouseDown=D._register(new X.a),D._onInput=D._register(new X.a),D._onKeyUp=D._register(new X.a),D._onPreserveCaseKeyDown=D._register(new X.a),D.onPreserveCaseKeyDown=D._onPreserveCaseKeyDown.event,D.contextViewProvider=rt,D.placeholder=pe.placeholder||"",D.validation=pe.validation,D.label=pe.label||ft,D.inputActiveOptionBorder=pe.inputActiveOptionBorder,D.inputActiveOptionBackground=pe.inputActiveOptionBackground,D.inputBackground=pe.inputBackground,D.inputForeground=pe.inputForeground,D.inputBorder=pe.inputBorder,D.inputValidationInfoBorder=pe.inputValidationInfoBorder,D.inputValidationInfoBackground=pe.inputValidationInfoBackground,D.inputValidationInfoForeground=pe.inputValidationInfoForeground,D.inputValidationWarningBorder=pe.inputValidationWarningBorder,D.inputValidationWarningBackground=pe.inputValidationWarningBackground,D.inputValidationWarningForeground=pe.inputValidationWarningForeground,D.inputValidationErrorBorder=pe.inputValidationErrorBorder,D.inputValidationErrorBackground=pe.inputValidationErrorBackground,D.inputValidationErrorForeground=pe.inputValidationErrorForeground;var ye=pe.history||[],We=!!pe.flexibleHeight,Ze=!!pe.flexibleWidth,st=pe.flexibleMaxHeight;D.domNode=document.createElement("div"),ee.f(D.domNode,"monaco-findInput"),D.inputBox=D._register(new Mt.a(D.domNode,D.contextViewProvider,{ariaLabel:D.label||"",placeholder:D.placeholder||"",validationOptions:{validation:D.validation},inputBackground:D.inputBackground,inputForeground:D.inputForeground,inputBorder:D.inputBorder,inputValidationInfoBackground:D.inputValidationInfoBackground,inputValidationInfoForeground:D.inputValidationInfoForeground,inputValidationInfoBorder:D.inputValidationInfoBorder,inputValidationWarningBackground:D.inputValidationWarningBackground,inputValidationWarningForeground:D.inputValidationWarningForeground,inputValidationWarningBorder:D.inputValidationWarningBorder,inputValidationErrorBackground:D.inputValidationErrorBackground,inputValidationErrorForeground:D.inputValidationErrorForeground,inputValidationErrorBorder:D.inputValidationErrorBorder,history:ye,flexibleHeight:We,flexibleWidth:Ze,flexibleMaxHeight:st})),D.preserveCase=D._register(new At({appendTitle:"",isChecked:!1,inputActiveOptionBorder:D.inputActiveOptionBorder,inputActiveOptionBackground:D.inputActiveOptionBackground})),D._register(D.preserveCase.onChange(function(Xt){D._onDidOptionChange.fire(Xt),!Xt&&D.fixFocusOnOptionClickEnabled&&D.inputBox.focus(),D.validate()})),D._register(D.preserveCase.onKeyDown(function(Xt){D._onPreserveCaseKeyDown.fire(Xt)})),D._showOptionButtons?D.cachedOptionsWidth=D.preserveCase.width():D.cachedOptionsWidth=0;var mt=[D.preserveCase.domNode];D.onkeydown(D.domNode,function(Xt){if(Xt.equals(15)||Xt.equals(17)||Xt.equals(9)){var no=mt.indexOf(document.activeElement);if(no>=0){var vo=-1;Xt.equals(17)?vo=(no+1)%mt.length:Xt.equals(15)&&(no===0?vo=mt.length-1:vo=no-1),Xt.equals(9)?mt[no].blur():vo>=0&&mt[vo].focus(),ee.c.stop(Xt,!0)}}});var Kt=document.createElement("div");return Kt.className="controls",Kt.style.display=D._showOptionButtons?"block":"none",Kt.appendChild(D.preserveCase.domNode),D.domNode.appendChild(Kt),Oe&&Oe.appendChild(D.domNode),D.onkeydown(D.inputBox.inputElement,function(Xt){return D._onKeyDown.fire(Xt)}),D.onkeyup(D.inputBox.inputElement,function(Xt){return D._onKeyUp.fire(Xt)}),D.oninput(D.inputBox.inputElement,function(Xt){return D._onInput.fire()}),D.onmousedown(D.inputBox.inputElement,function(Xt){return D._onMouseDown.fire(Xt)}),D}return Ue.prototype.enable=function(){ee.P(this.domNode,"disabled"),this.inputBox.enable(),this.preserveCase.enable()},Ue.prototype.disable=function(){ee.f(this.domNode,"disabled"),this.inputBox.disable(),this.preserveCase.disable()},Ue.prototype.setEnabled=function(Oe){Oe?this.enable():this.disable()},Ue.prototype.style=function(Oe){this.inputActiveOptionBorder=Oe.inputActiveOptionBorder,this.inputActiveOptionBackground=Oe.inputActiveOptionBackground,this.inputBackground=Oe.inputBackground,this.inputForeground=Oe.inputForeground,this.inputBorder=Oe.inputBorder,this.inputValidationInfoBackground=Oe.inputValidationInfoBackground,this.inputValidationInfoForeground=Oe.inputValidationInfoForeground,this.inputValidationInfoBorder=Oe.inputValidationInfoBorder,this.inputValidationWarningBackground=Oe.inputValidationWarningBackground,this.inputValidationWarningForeground=Oe.inputValidationWarningForeground,this.inputValidationWarningBorder=Oe.inputValidationWarningBorder,this.inputValidationErrorBackground=Oe.inputValidationErrorBackground,this.inputValidationErrorForeground=Oe.inputValidationErrorForeground,this.inputValidationErrorBorder=Oe.inputValidationErrorBorder,this.applyStyles()},Ue.prototype.applyStyles=function(){if(this.domNode){var Oe={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionBackground:this.inputActiveOptionBackground};this.preserveCase.style(Oe);var rt={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(rt)}},Ue.prototype.select=function(){this.inputBox.select()},Ue.prototype.focus=function(){this.inputBox.focus()},Ue.prototype.getPreserveCase=function(){return this.preserveCase.checked},Ue.prototype.setPreserveCase=function(Oe){this.preserveCase.checked=Oe},Ue.prototype.focusOnPreserve=function(){this.preserveCase.focus()},Ue.prototype.validate=function(){this.inputBox&&this.inputBox.validate()},Object.defineProperty(Ue.prototype,"width",{set:function(rt){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=rt,this.domNode.style.width=rt+"px"},enumerable:!0,configurable:!0}),Ue.prototype.dispose=function(){yt.prototype.dispose.call(this)},Ue}(q.a),tt=function(){var yt=function(Oe,rt){return yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(It,pe){It.__proto__=pe}||function(It,pe){for(var D in pe)pe.hasOwnProperty(D)&&(It[D]=pe[D])},yt(Oe,rt)};return function(Ue,Oe){yt(Ue,Oe);function rt(){this.constructor=Ue}Ue.prototype=Oe===null?Object.create(Oe):(rt.prototype=Oe.prototype,new rt)}}(),ut=function(yt,Ue,Oe,rt){var It=arguments.length,pe=It<3?Ue:rt===null?rt=Object.getOwnPropertyDescriptor(Ue,Oe):rt,D;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")pe=Reflect.decorate(yt,Ue,Oe,rt);else for(var ye=yt.length-1;ye>=0;ye--)(D=yt[ye])&&(pe=(It<3?D(pe):It>3?D(Ue,Oe,pe):D(Ue,Oe))||pe);return It>3&&pe&&Object.defineProperty(Ue,Oe,pe),pe},Ct=function(yt,Ue){return function(Oe,rt){Ue(Oe,rt,yt)}},gt="historyNavigationWidget",bt="historyNavigationEnabled";function Gt(yt,Ue,Oe){new $.d(Oe,Ue).bindTo(yt)}function Nt(yt,Ue){return yt.createScoped(Ue.target)}function Et(yt,Ue){return yt.getContext(document.activeElement).getValue(Ue)}function Je(yt,Ue){var Oe=Nt(yt,Ue);Gt(Oe,Ue,gt);var rt=new $.d(bt,!0).bindTo(Oe);return{scopedContextKeyService:Oe,historyNavigationEnablement:rt}}var $e=function(yt){tt(Ue,yt);function Ue(Oe,rt,It,pe,D){D===void 0&&(D=!1);var ye=yt.call(this,Oe,rt,D,It)||this;return ye._register(Je(pe,{target:ye.inputBox.element,historyNavigator:ye.inputBox}).scopedContextKeyService),ye}return Ue=ut([Ct(3,$.c)],Ue),Ue}(ao),ze=function(yt){tt(Ue,yt);function Ue(Oe,rt,It,pe,D){D===void 0&&(D=!1);var ye=yt.call(this,Oe,rt,D,It)||this;return ye._register(Je(pe,{target:ye.inputBox.element,historyNavigator:ye.inputBox}).scopedContextKeyService),ye}return Ue=ut([Ct(3,$.c)],Ue),Ue}(at);so.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:$.a.and($.a.has(gt),$.a.equals(bt,!0)),primary:16,secondary:[512|16],handler:function(Ue,Oe){var rt=Et(Ue.get($.c),gt);if(rt){var It=rt.historyNavigator;It.showPreviousValue()}}}),so.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:$.a.and($.a.has(gt),$.a.equals(bt,!0)),primary:18,secondary:[512|18],handler:function(Ue,Oe){var rt=Et(Ue.get($.c),gt);if(rt){var It=rt.historyNavigator;It.showNextValue()}}});var Ke=function(){var yt=function(Oe,rt){return yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(It,pe){It.__proto__=pe}||function(It,pe){for(var D in pe)pe.hasOwnProperty(D)&&(It[D]=pe[D])},yt(Oe,rt)};return function(Ue,Oe){yt(Ue,Oe);function rt(){this.constructor=Ue}Ue.prototype=Oe===null?Object.create(Oe):(rt.prototype=Oe.prototype,new rt)}}(),fe=T.a("label.find","Find"),G=T.a("placeholder.find","Find"),te=T.a("label.previousMatchButton","Previous match"),Y=T.a("label.nextMatchButton","Next match"),de=T.a("label.toggleSelectionFind","Find in selection"),ke=T.a("label.closeButton","Close"),lt=T.a("label.replace","Replace"),Tt=T.a("placeholder.replace","Replace"),Jt=T.a("label.replaceButton","Replace"),eo=T.a("label.replaceAllButton","Replace All"),po=T.a("label.toggleReplaceButton","Toggle Replace mode"),co=T.a("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",He),Eo=T.a("label.matchesLocation","{0} of {1}"),Oo=T.a("label.noResults","No Results"),Ao=419,Zo=275,Co=Zo-54,Wo=69,Go=33,Bo="ctrlEnterReplaceAll.windows.donotask",Mo=pt.e?256:2048,Qo=function(){function yt(Ue){this.afterLineNumber=Ue,this.heightInPx=Go,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}return yt}();function fn(yt,Ue,Oe){var rt=!!Ue.match(/\n/);if(Oe&&rt&&Oe.selectionStart>0){yt.stopPropagation();return}}function Vo(yt,Ue,Oe){var rt=!!Ue.match(/\n/);if(Oe&&rt&&Oe.selectionEnd0&&this._state.matchesCount===0;ee.Y(this._domNode,"no-results",rt),this._updateMatchesCount(),this._updateButtons()}(Oe.searchString||Oe.currentMatch)&&this._layoutViewZone(),Oe.updateHistory&&this._delayedUpdateHistory()},Ue.prototype._delayedUpdateHistory=function(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this))},Ue.prototype._updateHistory=function(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()},Ue.prototype._updateMatchesCount=function(){this._matchesCount.style.minWidth=Wo+"px",this._state.matchesCount>=He?this._matchesCount.title=co:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild);var Oe;if(this._state.matchesCount>0){var rt=String(this._state.matchesCount);this._state.matchesCount>=He&&(rt+="+");var It=String(this._state.matchesPosition);It==="0"&&(It="?"),Oe=I.r(Eo,It,rt)}else Oe=Oo;this._matchesCount.appendChild(document.createTextNode(Oe)),Object(Ve.a)(this._getAriaLabel(Oe,this._state.currentMatch,this._state.searchString),!0),Wo=Math.max(Wo,this._matchesCount.clientWidth)},Ue.prototype._getAriaLabel=function(Oe,rt,It){return Oe===Oo?It===""?T.a("ariaSearchNoResultEmpty","{0} found",Oe):T.a("ariaSearchNoResult","{0} found for {1}",Oe,It):rt?T.a("ariaSearchNoResultWithLineNum","{0} found for {1} at {2}",Oe,It,rt.startLineNumber+":"+rt.startColumn):T.a("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for {1}",Oe,It)},Ue.prototype._updateToggleSelectionFindButton=function(){var Oe=this._codeEditor.getSelection(),rt=Oe?Oe.startLineNumber!==Oe.endLineNumber||Oe.startColumn!==Oe.endColumn:!1,It=this._toggleSelectionFind.checked;this._isVisible&&(It||rt)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()},Ue.prototype._updateButtons=function(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);var Oe=this._state.searchString.length>0,rt=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&Oe&&rt),this._nextBtn.setEnabled(this._isVisible&&Oe&&rt),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&Oe),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&Oe),ee.Y(this._domNode,"replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-right",!this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-down",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);var It=!this._codeEditor.getOption(68);this._toggleReplaceBtn.setEnabled(this._isVisible&&It)},Ue.prototype._reveal=function(){var Oe=this;if(!this._isVisible){this._isVisible=!0;var rt=this._codeEditor.getSelection();switch(this._codeEditor.getOption(28).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":var It=!!rt&&rt.startLineNumber!==rt.endLineNumber;this._toggleSelectionFind.checked=It;break;default:break}this._tryUpdateWidgetWidth(),this._updateButtons(),setTimeout(function(){ee.f(Oe._domNode,"visible"),Oe._domNode.setAttribute("aria-hidden","false")},0),setTimeout(function(){Oe._findInput.validate()},200),this._codeEditor.layoutOverlayWidget(this);var pe=!0;if(this._codeEditor.getOption(28).seedSearchStringFromSelection&&rt){var D=this._codeEditor.getDomNode();if(D){var ye=ee.C(D),We=this._codeEditor.getScrolledVisiblePosition(rt.getStartPosition()),Ze=ye.left+(We?We.left:0),st=We?We.top:0;if(this._viewZone&&strt.startLineNumber&&(pe=!1);var mt=ee.F(this._domNode).left;Ze>mt&&(pe=!1);var Kt=this._codeEditor.getScrolledVisiblePosition(rt.getEndPosition()),Xt=ye.left+(Kt?Kt.left:0);Xt>mt&&(pe=!1)}}}this._showViewZone(pe)}},Ue.prototype._hide=function(Oe){this._isVisible&&(this._isVisible=!1,this._updateButtons(),ee.P(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),Oe&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())},Ue.prototype._layoutViewZone=function(){var Oe=this,rt=this._codeEditor.getOption(28).addExtraSpaceOnTop;if(!rt){this._removeViewZone();return}if(!this._isVisible)return;var It=this._viewZone;if(this._viewZoneId!==void 0||!It)return;this._codeEditor.changeViewZones(function(pe){It.heightInPx=Oe._getHeight(),Oe._viewZoneId=pe.addZone(It),Oe._codeEditor.setScrollTop(Oe._codeEditor.getScrollTop()+It.heightInPx)})},Ue.prototype._showViewZone=function(Oe){var rt=this;if(Oe===void 0&&(Oe=!0),!this._isVisible)return;var It=this._codeEditor.getOption(28).addExtraSpaceOnTop;if(!It)return;this._viewZone===void 0&&(this._viewZone=new Qo(0));var pe=this._viewZone;this._codeEditor.changeViewZones(function(D){if(rt._viewZoneId!==void 0){var ye=rt._getHeight();if(ye===pe.heightInPx)return;var We=ye-pe.heightInPx;pe.heightInPx=ye,D.layoutZone(rt._viewZoneId),Oe&&rt._codeEditor.setScrollTop(rt._codeEditor.getScrollTop()+We);return}else{var We=rt._getHeight();pe.heightInPx=We,rt._viewZoneId=D.addZone(pe),Oe&&rt._codeEditor.setScrollTop(rt._codeEditor.getScrollTop()+We)}})},Ue.prototype._removeViewZone=function(){var Oe=this;this._codeEditor.changeViewZones(function(rt){Oe._viewZoneId!==void 0&&(rt.removeZone(Oe._viewZoneId),Oe._viewZoneId=void 0,Oe._viewZone&&(Oe._codeEditor.setScrollTop(Oe._codeEditor.getScrollTop()-Oe._viewZone.heightInPx),Oe._viewZone=void 0))})},Ue.prototype._applyTheme=function(Oe){var rt={inputActiveOptionBorder:Oe.getColor(v.Y),inputActiveOptionBackground:Oe.getColor(v.X),inputBackground:Oe.getColor(v.Z),inputForeground:Oe.getColor(v.bb),inputBorder:Oe.getColor(v.ab),inputValidationInfoBackground:Oe.getColor(v.fb),inputValidationInfoForeground:Oe.getColor(v.hb),inputValidationInfoBorder:Oe.getColor(v.gb),inputValidationWarningBackground:Oe.getColor(v.ib),inputValidationWarningForeground:Oe.getColor(v.kb),inputValidationWarningBorder:Oe.getColor(v.jb),inputValidationErrorBackground:Oe.getColor(v.cb),inputValidationErrorForeground:Oe.getColor(v.eb),inputValidationErrorBorder:Oe.getColor(v.db)};this._findInput.style(rt),this._replaceInput.style(rt),this._toggleSelectionFind.style(rt)},Ue.prototype._tryUpdateWidgetWidth=function(){if(!this._isVisible)return;if(!ee.M(this._domNode))return;var Oe=this._codeEditor.getLayoutInfo(),rt=Oe.contentWidth;if(rt<=0){ee.f(this._domNode,"hiddenEditor");return}else ee.I(this._domNode,"hiddenEditor")&&ee.P(this._domNode,"hiddenEditor");var It=Oe.width,pe=Oe.minimapWidth,D=!1,ye=!1,We=!1;if(this._resized){var Ze=ee.H(this._domNode);if(Ze>Ao){this._domNode.style.maxWidth=It-28-pe-15+"px",this._replaceInput.width=ee.H(this._findInput.domNode);return}}if(Ao+28+pe>=It&&(ye=!0),Ao+28+pe-Wo>=It&&(We=!0),Ao+28+pe-Wo>=It+50&&(D=!0),ee.Y(this._domNode,"collapsed-find-widget",D),ee.Y(this._domNode,"narrow-find-widget",We),ee.Y(this._domNode,"reduced-find-widget",ye),!We&&!D&&(this._domNode.style.maxWidth=It-28-pe-15+"px"),this._resized){this._findInput.inputBox.layout();var st=this._findInput.inputBox.element.clientWidth;st>0&&(this._replaceInput.width=st)}else this._isReplaceVisible&&(this._replaceInput.width=ee.H(this._findInput.domNode))},Ue.prototype._getHeight=function(){var Oe=0;return Oe+=4,Oe+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(Oe+=4,Oe+=this._replaceInput.inputBox.height+2),Oe+=4,Oe},Ue.prototype._tryUpdateHeight=function(){var Oe=this._getHeight();return this._cachedHeight!==null&&this._cachedHeight===Oe?!1:(this._cachedHeight=Oe,this._domNode.style.height=Oe+"px",!0)},Ue.prototype.focusFindInput=function(){this._findInput.select(),this._findInput.focus()},Ue.prototype.focusReplaceInput=function(){this._replaceInput.select(),this._replaceInput.focus()},Ue.prototype.highlightFindOptions=function(){this._findInput.highlightFindOptions()},Ue.prototype._updateSearchScope=function(){if(!this._codeEditor.hasModel())return;if(this._toggleSelectionFind.checked){var Oe=this._codeEditor.getSelection();Oe.endColumn===1&&Oe.endLineNumber>Oe.startLineNumber&&(Oe=Oe.setEndPosition(Oe.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(Oe.endLineNumber-1)));var rt=this._state.currentMatch;Oe.startLineNumber!==Oe.endLineNumber&&(x.a.equalsRange(Oe,rt)||this._state.change({searchScope:Oe},!0))}},Ue.prototype._onFindInputMouseDown=function(Oe){Oe.middleButton&&Oe.stopPropagation()},Ue.prototype._onFindInputKeyDown=function(Oe){if(Oe.equals(Mo|3)){this._findInput.inputBox.insertAtCursor(` +`),Oe.preventDefault();return}if(Oe.equals(2)){this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),Oe.preventDefault();return}if(Oe.equals(2048|18)){this._codeEditor.focus(),Oe.preventDefault();return}if(Oe.equals(16))return fn(Oe,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea"));if(Oe.equals(18))return Vo(Oe,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea"))},Ue.prototype._onReplaceInputKeyDown=function(Oe){if(Oe.equals(Mo|3)){pt.h&&pt.f&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(T.a("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(Bo,!0,0)),this._replaceInput.inputBox.insertAtCursor(` +`),Oe.preventDefault();return}if(Oe.equals(2)){this._findInput.focusOnCaseSensitive(),Oe.preventDefault();return}if(Oe.equals(1024|2)){this._findInput.focus(),Oe.preventDefault();return}if(Oe.equals(2048|18)){this._codeEditor.focus(),Oe.preventDefault();return}if(Oe.equals(16))return fn(Oe,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea"));if(Oe.equals(18))return Vo(Oe,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea"))},Ue.prototype.getHorizontalSashTop=function(Oe){return 0},Ue.prototype.getHorizontalSashLeft=function(Oe){return 0},Ue.prototype.getHorizontalSashWidth=function(Oe){return 500},Ue.prototype._keybindingLabelFor=function(Oe){var rt=this._keybindingService.lookupKeybinding(Oe);return rt?" ("+rt.getLabel()+")":""},Ue.prototype._buildDomNode=function(){var Oe=this,rt=!0,It=!0;this._findInput=this._register(new $e(null,this._contextViewProvider,{width:Co,label:fe,placeholder:G,appendCaseSensitiveLabel:this._keybindingLabelFor(Fe.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(Fe.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(Fe.ToggleRegexCommand),validation:function(mt){if(mt.length===0||!Oe._findInput.getRegex())return null;try{return new RegExp(mt),null}catch(Kt){return{content:Kt.message}}},flexibleHeight:rt,flexibleWidth:It,flexibleMaxHeight:118},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(function(st){return Oe._onFindInputKeyDown(st)})),this._register(this._findInput.inputBox.onDidChange(function(){if(Oe._ignoreChangeEvent)return;Oe._state.change({searchString:Oe._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(function(){Oe._state.change({isRegex:Oe._findInput.getRegex(),wholeWord:Oe._findInput.getWholeWords(),matchCase:Oe._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(function(st){st.equals(1024|2)&&(Oe._isReplaceVisible&&(Oe._replaceInput.focus(),st.preventDefault()))})),this._register(this._findInput.onRegexKeyDown(function(st){st.equals(2)&&(Oe._isReplaceVisible&&(Oe._replaceInput.focusOnPreserve(),st.preventDefault()))})),this._register(this._findInput.inputBox.onDidHeightChange(function(st){Oe._tryUpdateHeight()&&Oe._showViewZone()})),pt.d&&this._register(this._findInput.onMouseDown(function(st){return Oe._onFindInputMouseDown(st)})),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new yn({label:te+this._keybindingLabelFor(Fe.PreviousMatchFindAction),className:"codicon codicon-arrow-up",onTrigger:function(){Oe._codeEditor.getAction(Fe.PreviousMatchFindAction).run().then(void 0,it.e)}})),this._nextBtn=this._register(new yn({label:Y+this._keybindingLabelFor(Fe.NextMatchFindAction),className:"codicon codicon-arrow-down",onTrigger:function(){Oe._codeEditor.getAction(Fe.NextMatchFindAction).run().then(void 0,it.e)}}));var pe=document.createElement("div");pe.className="find-part",pe.appendChild(this._findInput.domNode);var D=document.createElement("div");D.className="find-actions",pe.appendChild(D),D.appendChild(this._matchesCount),D.appendChild(this._prevBtn.domNode),D.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new me({actionClassName:"codicon codicon-selection",title:de+this._keybindingLabelFor(Fe.ToggleSearchScopeCommand),isChecked:!1})),this._register(this._toggleSelectionFind.onChange(function(){if(Oe._toggleSelectionFind.checked){if(Oe._codeEditor.hasModel()){var st=Oe._codeEditor.getSelection();st.endColumn===1&&st.endLineNumber>st.startLineNumber&&(st=st.setEndPosition(st.endLineNumber-1,Oe._codeEditor.getModel().getLineMaxColumn(st.endLineNumber-1))),st.isEmpty()||Oe._state.change({searchScope:st},!0)}}else Oe._state.change({searchScope:null},!0)})),D.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new yn({label:ke+this._keybindingLabelFor(Fe.CloseFindWidgetCommand),className:"codicon codicon-close",onTrigger:function(){Oe._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:function(mt){mt.equals(2)&&(Oe._isReplaceVisible&&(Oe._replaceBtn.isEnabled()?Oe._replaceBtn.focus():Oe._codeEditor.focus(),mt.preventDefault()))}})),D.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new ze(null,void 0,{label:lt,placeholder:Tt,history:[],flexibleHeight:rt,flexibleWidth:It,flexibleMaxHeight:118},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(function(st){return Oe._onReplaceInputKeyDown(st)})),this._register(this._replaceInput.inputBox.onDidChange(function(){Oe._state.change({replaceString:Oe._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(function(st){Oe._isReplaceVisible&&Oe._tryUpdateHeight()&&Oe._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(function(){Oe._state.change({preserveCase:Oe._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(function(st){st.equals(2)&&(Oe._prevBtn.isEnabled()?Oe._prevBtn.focus():Oe._nextBtn.isEnabled()?Oe._nextBtn.focus():Oe._toggleSelectionFind.enabled?Oe._toggleSelectionFind.focus():Oe._closeBtn.isEnabled()&&Oe._closeBtn.focus(),st.preventDefault())})),this._replaceBtn=this._register(new yn({label:Jt+this._keybindingLabelFor(Fe.ReplaceOneAction),className:"codicon codicon-replace",onTrigger:function(){Oe._controller.replace()},onKeyDown:function(mt){mt.equals(1024|2)&&(Oe._closeBtn.focus(),mt.preventDefault())}})),this._replaceAllBtn=this._register(new yn({label:eo+this._keybindingLabelFor(Fe.ReplaceAllAction),className:"codicon codicon-replace-all",onTrigger:function(){Oe._controller.replaceAll()}}));var ye=document.createElement("div");ye.className="replace-part",ye.appendChild(this._replaceInput.domNode);var We=document.createElement("div");We.className="replace-actions",ye.appendChild(We),We.appendChild(this._replaceBtn.domNode),We.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new yn({label:po,className:"codicon toggle left",onTrigger:function(){Oe._state.change({isReplaceRevealed:!Oe._isReplaceVisible},!1),Oe._isReplaceVisible&&(Oe._replaceInput.width=ee.H(Oe._findInput.domNode),Oe._replaceInput.inputBox.layout()),Oe._showViewZone()}})),this._toggleReplaceBtn.toggleClass("codicon-chevron-down",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-right",!this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width=Ao+"px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(pe),this._domNode.appendChild(ye),this._resizeSash=new Qe.a(this._domNode,this,{orientation:0}),this._resized=!1;var Ze=Ao;this._register(this._resizeSash.onDidStart(function(){Ze=ee.H(Oe._domNode)})),this._register(this._resizeSash.onDidChange(function(st){Oe._resized=!0;var mt=Ze+st.startX-st.currentX;if(mtKt)return;Oe._domNode.style.width=mt+"px",Oe._isReplaceVisible&&(Oe._replaceInput.width=ee.H(Oe._findInput.domNode)),Oe._findInput.inputBox.layout(),Oe._tryUpdateHeight()})),this._register(this._resizeSash.onDidReset(function(){var st=ee.H(Oe._domNode);if(st=0},Ue.prototype.focus=function(){this._domNode.focus()},Ue.prototype.setEnabled=function(Oe){ee.Y(this._domNode,"disabled",!Oe),this._domNode.setAttribute("aria-disabled",String(!Oe)),this._domNode.tabIndex=Oe?0:-1},Ue.prototype.setExpanded=function(Oe){this._domNode.setAttribute("aria-expanded",String(!!Oe))},Ue.prototype.toggleClass=function(Oe,rt){ee.Y(this._domNode,Oe,rt)},Ue}(q.a);Object(w.e)(function(yt,Ue){var Oe=function(vo,lo){lo&&Ue.addRule(".monaco-editor "+vo+" { background-color: "+lo+"; }")};Oe(".findMatch",yt.getColor(v.t)),Oe(".currentFindMatch",yt.getColor(v.r)),Oe(".findScope",yt.getColor(v.v));var rt=yt.getColor(v.Q);Oe(".find-widget",rt);var It=yt.getColor(v.hc);It&&Ue.addRule(".monaco-editor .find-widget { box-shadow: 0 2px 8px "+It+"; }");var pe=yt.getColor(v.u);pe&&Ue.addRule(".monaco-editor .findMatch { border: 1px "+(yt.type==="hc"?"dotted":"solid")+" "+pe+"; box-sizing: border-box; }");var D=yt.getColor(v.s);D&&Ue.addRule(".monaco-editor .currentFindMatch { border: 2px solid "+D+"; padding: 1px; box-sizing: border-box; }");var ye=yt.getColor(v.w);ye&&Ue.addRule(".monaco-editor .findScope { border: 1px "+(yt.type==="hc"?"dashed":"solid")+" "+ye+"; }");var We=yt.getColor(v.e);We&&Ue.addRule(".monaco-editor .find-widget { border: 1px solid "+We+"; }");var Ze=yt.getColor(v.S);Ze&&Ue.addRule(".monaco-editor .find-widget { color: "+Ze+"; }");var st=yt.getColor(v.U);st&&Ue.addRule(".monaco-editor .find-widget.no-results .matchesCount { color: "+st+"; }");var mt=yt.getColor(v.T);if(mt)Ue.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+mt+"; width: 3px !important; margin-left: -4px;}");else{var Kt=yt.getColor(v.R);Kt&&Ue.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+Kt+"; width: 3px !important; margin-left: -4px;}")}var Xt=yt.getColor(v.V);Xt&&Ue.addRule(".monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: "+Xt+"; }")});var dn=e("9XeP"),rn=e("Uzvx"),pn=e("Cg/j"),zo=e("bexQ"),Uo=e("A+jI"),St=e("sM1p"),ot=function(){var yt=function(Oe,rt){return yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(It,pe){It.__proto__=pe}||function(It,pe){for(var D in pe)pe.hasOwnProperty(D)&&(It[D]=pe[D])},yt(Oe,rt)};return function(Ue,Oe){yt(Ue,Oe);function rt(){this.constructor=Ue}Ue.prototype=Oe===null?Object.create(Oe):(rt.prototype=Oe.prototype,new rt)}}(),nt=function(yt,Ue,Oe,rt){var It=arguments.length,pe=It<3?Ue:rt===null?rt=Object.getOwnPropertyDescriptor(Ue,Oe):rt,D;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")pe=Reflect.decorate(yt,Ue,Oe,rt);else for(var ye=yt.length-1;ye>=0;ye--)(D=yt[ye])&&(pe=(It<3?D(pe):It>3?D(Ue,Oe,pe):D(Ue,Oe))||pe);return It>3&&pe&&Object.defineProperty(Ue,Oe,pe),pe},Dt=function(yt,Ue){return function(Oe,rt){Ue(Oe,rt,yt)}},_e=524288;function M(yt){if(!yt.hasModel())return null;var Ue=yt.getSelection();if(Ue.startLineNumber===Ue.endLineNumber){if(Ue.isEmpty()){var Oe=yt.getModel().getWordAtPosition(Ue.getStartPosition());if(Oe)return Oe.word}else if(yt.getModel().getValueLengthInRange(Ue)<_e)return yt.getModel().getValueInRange(Ue)}return null}var P=function(yt){ot(Ue,yt);function Ue(Oe,rt,It,pe){var D=yt.call(this)||this;return D._editor=Oe,D._findWidgetVisible=ie.bindTo(rt),D._contextKeyService=rt,D._storageService=It,D._clipboardService=pe,D._updateHistoryDelayer=new re.a(500),D._state=D._register(new De),D.loadQueryState(),D._register(D._state.onFindReplaceStateChange(function(ye){return D._onStateChanged(ye)})),D._model=null,D._register(D._editor.onDidChangeModel(function(){var ye=D._editor.getModel()&&D._state.isRevealed;D.disposeModel(),D._state.change({searchScope:null,matchCase:D._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:D._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:D._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:D._storageService.getBoolean("editor.preserveCase",1,!1)},!1),ye&&D._start({forceRevealReplace:!1,seedSearchStringFromSelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1})})),D}return Ue.get=function(Oe){return Oe.getContribution(Ue.ID)},Ue.prototype.dispose=function(){this.disposeModel(),yt.prototype.dispose.call(this)},Ue.prototype.disposeModel=function(){this._model&&(this._model.dispose(),this._model=null)},Ue.prototype._onStateChanged=function(Oe){this.saveQueryState(Oe),Oe.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),Oe.searchString&&this.setGlobalBufferTerm(this._state.searchString)},Ue.prototype.saveQueryState=function(Oe){Oe.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1),Oe.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1),Oe.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1),Oe.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1)},Ue.prototype.loadQueryState=function(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)},Ue.prototype.isFindInputFocused=function(){return!!W.getValue(this._contextKeyService)},Ue.prototype.getState=function(){return this._state},Ue.prototype.closeFindWidget=function(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()},Ue.prototype.toggleCaseSensitive=function(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()},Ue.prototype.toggleWholeWords=function(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()},Ue.prototype.toggleRegex=function(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()},Ue.prototype.toggleSearchScope=function(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){var Oe=this._editor.getSelection();Oe.endColumn===1&&Oe.endLineNumber>Oe.startLineNumber&&(Oe=Oe.setEndPosition(Oe.endLineNumber-1,this._editor.getModel().getLineMaxColumn(Oe.endLineNumber-1))),Oe.isEmpty()||this._state.change({searchScope:Oe},!0)}},Ue.prototype.setSearchString=function(Oe){this._state.isRegex&&(Oe=I.p(Oe)),this._state.change({searchString:Oe},!1)},Ue.prototype.highlightFindOptions=function(){},Ue.prototype._start=function(Oe){if(this.disposeModel(),!this._editor.hasModel())return;var rt={isRevealed:!0};if(Oe.seedSearchStringFromSelection){var It=M(this._editor);It&&(this._state.isRegex?rt.searchString=I.p(It):rt.searchString=It)}if(!rt.searchString&&Oe.seedSearchStringFromGlobalClipboard){var It=this.getGlobalBufferTerm();It&&(rt.searchString=It)}if(Oe.forceRevealReplace?rt.isReplaceRevealed=!0:this._findWidgetVisible.get()||(rt.isReplaceRevealed=!1),Oe.updateSearchScope){var pe=this._editor.getSelection();pe.isEmpty()||(rt.searchScope=pe)}this._state.change(rt,!1),this._model||(this._model=new ne(this._editor,this._state))},Ue.prototype.start=function(Oe){this._start(Oe)},Ue.prototype.moveToNextMatch=function(){return this._model?(this._model.moveToNextMatch(),!0):!1},Ue.prototype.moveToPrevMatch=function(){return this._model?(this._model.moveToPrevMatch(),!0):!1},Ue.prototype.replace=function(){return this._model?(this._model.replace(),!0):!1},Ue.prototype.replaceAll=function(){return this._model?(this._model.replaceAll(),!0):!1},Ue.prototype.selectAllMatches=function(){return this._model?(this._model.selectAllMatches(),this._editor.focus(),!0):!1},Ue.prototype.getGlobalBufferTerm=function(){return this._editor.getOption(28).globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""},Ue.prototype.setGlobalBufferTerm=function(Oe){this._editor.getOption(28).globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(Oe)},Ue.ID="editor.contrib.findController",Ue=nt([Dt(1,$.c),Dt(2,Uo.a),Dt(3,dn.a)],Ue),Ue}(J.a),Z=function(yt){ot(Ue,yt);function Ue(Oe,rt,It,pe,D,ye,We,Ze){var st=yt.call(this,Oe,It,We,Ze)||this;return st._contextViewService=rt,st._keybindingService=pe,st._themeService=D,st._notificationService=ye,st._widget=null,st._findOptionsWidget=null,st}return Ue.prototype._start=function(Oe){this._widget||this._createFindWidget();var rt=this._editor.getSelection(),It=!1;switch(this._editor.getOption(28).autoFindInSelection){case"always":It=!0;break;case"never":It=!1;break;case"multiline":var pe=!!rt&&rt.startLineNumber!==rt.endLineNumber;It=pe;break;default:break}Oe.updateSearchScope=It,yt.prototype._start.call(this,Oe),Oe.shouldFocus===2?this._widget.focusReplaceInput():Oe.shouldFocus===1&&this._widget.focusFindInput()},Ue.prototype.highlightFindOptions=function(){this._widget||this._createFindWidget(),this._state.isRevealed?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()},Ue.prototype._createFindWidget=function(){this._widget=this._register(new mn(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new se(this._editor,this._state,this._keybindingService,this._themeService))},Ue=nt([Dt(1,rn.b),Dt(2,$.c),Dt(3,zo.a),Dt(4,w.c),Dt(5,St.a),Dt(6,Uo.a),Dt(7,Object(pn.d)(dn.a))],Ue),Ue}(P),Ae=function(yt){ot(Ue,yt);function Ue(){return yt.call(this,{id:Fe.StartFindAction,label:T.a("startFindAction","Find"),alias:"Find",precondition:void 0,kbOpts:{kbExpr:null,primary:2048|36,weight:100},menuOpts:{menuId:17,group:"3_find",title:T.a({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})||this}return Ue.prototype.run=function(Oe,rt){var It=P.get(rt);It&&It.start({forceRevealReplace:!1,seedSearchStringFromSelection:rt.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:rt.getOption(28).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1})},Ue}(H.b),xe=function(yt){ot(Ue,yt);function Ue(){return yt.call(this,{id:Fe.StartFindWithSelection,label:T.a("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2048|35},weight:100}})||this}return Ue.prototype.run=function(Oe,rt){var It=P.get(rt);It&&(It.start({forceRevealReplace:!1,seedSearchStringFromSelection:!0,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),It.setGlobalBufferTerm(It.getState().searchString))},Ue}(H.b),Ne=function(yt){ot(Ue,yt);function Ue(){return yt!==null&&yt.apply(this,arguments)||this}return Ue.prototype.run=function(Oe,rt){var It=P.get(rt);It&&!this._run(It)&&(It.start({forceRevealReplace:!1,seedSearchStringFromSelection:It.getState().searchString.length===0&&rt.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(It))},Ue}(H.b),dt=function(yt){ot(Ue,yt);function Ue(){return yt.call(this,{id:Fe.NextMatchFindAction,label:T.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:61,mac:{primary:2048|37,secondary:[61]},weight:100}})||this}return Ue.prototype._run=function(Oe){return Oe.moveToNextMatch()},Ue}(Ne),ht=function(yt){ot(Ue,yt);function Ue(){return yt.call(this,{id:Fe.NextMatchFindAction,label:T.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:$.a.and(z.a.focus,W),primary:3,weight:100}})||this}return Ue.prototype._run=function(Oe){return Oe.moveToNextMatch()},Ue}(Ne),xt=function(yt){ot(Ue,yt);function Ue(){return yt.call(this,{id:Fe.PreviousMatchFindAction,label:T.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:1024|61,mac:{primary:2048|1024|37,secondary:[1024|61]},weight:100}})||this}return Ue.prototype._run=function(Oe){return Oe.moveToPrevMatch()},Ue}(Ne),Bt=function(yt){ot(Ue,yt);function Ue(){return yt.call(this,{id:Fe.PreviousMatchFindAction,label:T.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:$.a.and(z.a.focus,W),primary:1024|3,weight:100}})||this}return Ue.prototype._run=function(Oe){return Oe.moveToPrevMatch()},Ue}(Ne),Ut=function(yt){ot(Ue,yt);function Ue(){return yt!==null&&yt.apply(this,arguments)||this}return Ue.prototype.run=function(Oe,rt){var It=P.get(rt);if(!It)return;var pe=M(rt);pe&&It.setSearchString(pe),this._run(It)||(It.start({forceRevealReplace:!1,seedSearchStringFromSelection:rt.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(It))},Ue}(H.b),Ht=function(yt){ot(Ue,yt);function Ue(){return yt.call(this,{id:Fe.NextSelectionMatchFindAction,label:T.a("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:2048|61,weight:100}})||this}return Ue.prototype._run=function(Oe){return Oe.moveToNextMatch()},Ue}(Ut),oo=function(yt){ot(Ue,yt);function Ue(){return yt.call(this,{id:Fe.PreviousSelectionMatchFindAction,label:T.a("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:2048|1024|61,weight:100}})||this}return Ue.prototype._run=function(Oe){return Oe.moveToPrevMatch()},Ue}(Ut),Zt=function(yt){ot(Ue,yt);function Ue(){return yt.call(this,{id:Fe.StartFindReplaceAction,label:T.a("startReplace","Replace"),alias:"Replace",precondition:void 0,kbOpts:{kbExpr:null,primary:2048|38,mac:{primary:2048|512|36},weight:100},menuOpts:{menuId:17,group:"3_find",title:T.a({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})||this}return Ue.prototype.run=function(Oe,rt){if(!rt.hasModel()||rt.getOption(68))return;var It=P.get(rt),pe=rt.getSelection(),D=It.isFindInputFocused(),ye=!pe.isEmpty()&&pe.startLineNumber===pe.endLineNumber&&rt.getOption(28).seedSearchStringFromSelection&&!D,We=D||ye?2:1;It&&It.start({forceRevealReplace:!0,seedSearchStringFromSelection:ye,seedSearchStringFromGlobalClipboard:rt.getOption(28).seedSearchStringFromSelection,shouldFocus:We,shouldAnimate:!0,updateSearchScope:!1})},Ue}(H.b);Object(H.h)(P.ID,Z),Object(H.f)(Ae),Object(H.f)(xe),Object(H.f)(dt),Object(H.f)(ht),Object(H.f)(xt),Object(H.f)(Bt),Object(H.f)(Ht),Object(H.f)(oo),Object(H.f)(Zt);var fo=H.c.bindToContribution(P.get);Object(H.g)(new fo({id:Fe.CloseFindWidgetCommand,precondition:ie,handler:function(Ue){return Ue.closeFindWidget()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:9,secondary:[1024|9]}})),Object(H.g)(new fo({id:Fe.ToggleCaseSensitiveCommand,precondition:void 0,handler:function(Ue){return Ue.toggleCaseSensitive()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:le.primary,mac:le.mac,win:le.win,linux:le.linux}})),Object(H.g)(new fo({id:Fe.ToggleWholeWordCommand,precondition:void 0,handler:function(Ue){return Ue.toggleWholeWords()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:Ce.primary,mac:Ce.mac,win:Ce.win,linux:Ce.linux}})),Object(H.g)(new fo({id:Fe.ToggleRegexCommand,precondition:void 0,handler:function(Ue){return Ue.toggleRegex()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:Me.primary,mac:Me.mac,win:Me.win,linux:Me.linux}})),Object(H.g)(new fo({id:Fe.ToggleSearchScopeCommand,precondition:void 0,handler:function(Ue){return Ue.toggleSearchScope()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:Te.primary,mac:Te.mac,win:Te.win,linux:Te.linux}})),Object(H.g)(new fo({id:Fe.ReplaceOneAction,precondition:ie,handler:function(Ue){return Ue.replace()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:2048|1024|22}})),Object(H.g)(new fo({id:Fe.ReplaceOneAction,precondition:ie,handler:function(Ue){return Ue.replace()},kbOpts:{weight:100+5,kbExpr:$.a.and(z.a.focus,B),primary:3}})),Object(H.g)(new fo({id:Fe.ReplaceAllAction,precondition:ie,handler:function(Ue){return Ue.replaceAll()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:2048|512|3}})),Object(H.g)(new fo({id:Fe.ReplaceAllAction,precondition:ie,handler:function(Ue){return Ue.replaceAll()},kbOpts:{weight:100+5,kbExpr:$.a.and(z.a.focus,B),primary:void 0,mac:{primary:2048|3}}})),Object(H.g)(new fo({id:Fe.SelectAllMatchesAction,precondition:ie,handler:function(Ue){return Ue.selectAllMatches()},kbOpts:{weight:100+5,kbExpr:z.a.focus,primary:512|3}}))},oiKk:function(Lt,j,e){"use strict";e.r(j),e.d(j,"IPadShowKeyboard",function(){return U});var T=e("ci+S"),re=e.n(T),J=e("D3Dy"),I=e("EffR"),H=e("pmY6"),z=e("sswD"),O=function(){var u=function(_,f){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,w){v.__proto__=w}||function(v,w){for(var p in w)w.hasOwnProperty(p)&&(v[p]=w[p])},u(_,f)};return function(y,_){u(y,_);function f(){this.constructor=y}y.prototype=_===null?Object.create(_):(f.prototype=_.prototype,new f)}}(),U=function(u){O(y,u);function y(_){var f=u.call(this)||this;return f.editor=_,f.widget=null,J.j&&(f._register(_.onDidChangeConfiguration(function(){return f.update()})),f.update()),f}return y.prototype.update=function(){var _=!this.editor.getOption(68);!this.widget&&_?this.widget=new x(this.editor):this.widget&&!_&&(this.widget.dispose(),this.widget=null)},y.prototype.dispose=function(){u.prototype.dispose.call(this),this.widget&&(this.widget.dispose(),this.widget=null)},y.ID="editor.contrib.iPadShowKeyboard",y}(H.a),x=function(u){O(y,u);function y(_){var f=u.call(this)||this;return f.editor=_,f._domNode=document.createElement("textarea"),f._domNode.className="iPadShowKeyboard",f._register(I.j(f._domNode,"touchstart",function(v){f.editor.focus()})),f._register(I.j(f._domNode,"focus",function(v){f.editor.focus()})),f.editor.addOverlayWidget(f),f}return y.prototype.dispose=function(){this.editor.removeOverlayWidget(this),u.prototype.dispose.call(this)},y.prototype.getId=function(){return y.ID},y.prototype.getDomNode=function(){return this._domNode},y.prototype.getPosition=function(){return{preference:1}},y.ID="editor.contrib.ShowKeyboardWidget",y}(H.a);Object(z.h)(U.ID,U)},p3Ex:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return e.e(279).then(e.bind(null,"/Om3"))}})},p5tG:function(Lt,j,e){"use strict";e.r(j),e.d(j,"LanguageServiceDefaultsImpl",function(){return I});var T=e("M/lh"),re=e.n(T);"use strict";var J=monaco.Emitter,I=function(){function u(y,_,f){this._onDidChange=new J,this._languageId=y,this.setDiagnosticsOptions(_),this.setModeConfiguration(f)}return Object.defineProperty(u.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!0,configurable:!0}),u.prototype.setDiagnosticsOptions=function(y){this._diagnosticsOptions=y||Object.create(null),this._onDidChange.fire(this)},u.prototype.setModeConfiguration=function(y){this._modeConfiguration=y||Object.create(null),this._onDidChange.fire(this)},u}(),H={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1},z={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},O=new I("json",H,z);function U(){return{jsonDefaults:O}}monaco.languages.json=U();function x(){return e.e(270).then(e.bind(null,"R7lK"))}monaco.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),monaco.languages.onLanguage("json",function(){x().then(function(u){return u.setupMode(O)})})},pAvP:function(Lt,j,e){"use strict";e.d(j,"a",function(){return J});var T=e("Cg/j"),re="editorWorkerService",J=Object(T.c)(re)},pI2L:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return e.e(311).then(e.bind(null,"KpXS"))}})},pg8w:function(Lt,j,e){"use strict";e.d(j,"a",function(){return O}),e.d(j,"b",function(){return U});var T=e("6OMU"),re=e("pmY6"),J=e("EffR"),I=e("ZCR3"),H=function(){var x=function(y,_){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,v){f.__proto__=v}||function(f,v){for(var w in v)v.hasOwnProperty(w)&&(f[w]=v[w])},x(y,_)};return function(u,y){x(u,y);function _(){this.constructor=u}u.prototype=y===null?Object.create(y):(_.prototype=y.prototype,new _)}}(),z=function(x,u,y,_){var f=arguments.length,v=f<3?u:_===null?_=Object.getOwnPropertyDescriptor(u,y):_,w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(x,u,y,_);else for(var p=x.length-1;p>=0;p--)(w=x[p])&&(v=(f<3?w(v):f>3?w(u,y,v):w(u,y))||v);return f>3&&v&&Object.defineProperty(u,y,v),v},O;(function(x){x.Tap="-monaco-gesturetap",x.Change="-monaco-gesturechange",x.Start="-monaco-gesturestart",x.End="-monaco-gesturesend",x.Contextmenu="-monaco-gesturecontextmenu"})(O||(O={}));var U=function(x){H(u,x);function u(){var y=x.call(this)||this;return y.dispatched=!1,y.activeTouches={},y.handle=null,y.targets=[],y.ignoreTargets=[],y._lastSetTapCountTime=0,y._register(J.j(document,"touchstart",function(_){return y.onTouchStart(_)})),y._register(J.j(document,"touchend",function(_){return y.onTouchEnd(_)})),y._register(J.j(document,"touchmove",function(_){return y.onTouchMove(_)})),y}return u.addTarget=function(y){return u.isTouchDevice()?(u.INSTANCE||(u.INSTANCE=new u),u.INSTANCE.targets.push(y),{dispose:function(){u.INSTANCE.targets=u.INSTANCE.targets.filter(function(f){return f!==y})}}):re.a.None},u.ignoreTarget=function(y){return u.isTouchDevice()?(u.INSTANCE||(u.INSTANCE=new u),u.INSTANCE.ignoreTargets.push(y),{dispose:function(){u.INSTANCE.ignoreTargets=u.INSTANCE.ignoreTargets.filter(function(f){return f!==y})}}):re.a.None},u.isTouchDevice=function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0},u.prototype.dispose=function(){this.handle&&(this.handle.dispose(),this.handle=null),x.prototype.dispose.call(this)},u.prototype.onTouchStart=function(y){var _=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(var f=0,v=y.targetTouches.length;f=u.HOLD_DELAY&&Math.abs(E.initialPageX-T.v(E.rollingPageX))<30&&Math.abs(E.initialPageY-T.v(E.rollingPageY))<30){var A=w.newGestureEvent(O.Contextmenu,E.initialTarget);A.pageX=T.v(E.rollingPageX),A.pageY=T.v(E.rollingPageY),w.dispatchEvent(A)}else if(f===1){var k=T.v(E.rollingPageX),R=T.v(E.rollingPageY),$=T.v(E.rollingTimestamps)-E.rollingTimestamps[0],ie=k-E.rollingPageX[0],W=R-E.rollingPageY[0],B=w.targets.filter(function(le){return E.initialTarget instanceof Node&&le.contains(E.initialTarget)});w.inertia(B,_,Math.abs(ie)/$,ie>0?1:-1,k,Math.abs(W)/$,W>0?1:-1,R)}w.dispatchEvent(w.newGestureEvent(O.End,E.initialTarget)),delete w.activeTouches[m.identifier]},w=this,p=0,c=y.changedTouches.length;pu.CLEAR_TAP_COUNT_TIME?v=1:v=2,this._lastSetTapCountTime=f,y.tapCount=v}else(y.type===O.Change||y.type===O.Contextmenu)&&(this._lastSetTapCountTime=0);for(var w=0;w0&&(A=!1,E=v*f*m),p>0&&(A=!1,L=c*p*m);var k=l.newGestureEvent(O.Change);k.translationX=E,k.translationY=L,y.forEach(function(R){return R.dispatchEvent(k)}),A||l.inertia(y,d,f,v,w+E,p,c,s+L)})},u.prototype.onTouchMove=function(y){for(var _=Date.now(),f=0,v=y.changedTouches.length;f3&&(p.rollingPageX.shift(),p.rollingPageY.shift(),p.rollingTimestamps.shift()),p.rollingPageX.push(w.pageX),p.rollingPageY.push(w.pageY),p.rollingTimestamps.push(_)}this.dispatched&&(y.preventDefault(),y.stopPropagation(),this.dispatched=!1)},u.SCROLL_FRICTION=-.005,u.HOLD_DELAY=700,u.CLEAR_TAP_COUNT_TIME=400,z([I.a],u,"isTouchDevice",null),u}(re.a)},pmY6:function(Lt,j,e){"use strict";e.d(j,"g",function(){return H}),e.d(j,"f",function(){return z}),e.d(j,"e",function(){return O}),e.d(j,"h",function(){return U}),e.d(j,"b",function(){return x}),e.d(j,"a",function(){return u}),e.d(j,"d",function(){return y}),e.d(j,"c",function(){return _});var T=!1,re="__is_disposable_tracked__";function J(f){if(!T)return;if(f&&f!==u.None)try{f[re]=!0}catch(v){}}function I(f){if(!T)return f;var v=new Error("Potentially leaked disposable").stack;return setTimeout(function(){f[re]||console.log(v)},3e3),f}function H(f){return typeof f.dispose=="function"&&f.dispose.length===0}function z(f){return Array.isArray(f)?(f.forEach(function(v){v&&(J(v),v.dispose())}),[]):f?(J(f),f.dispose(),f):void 0}function O(){for(var f=[],v=0;v0;){var f=_.shift();Object.freeze(f);for(var v in f)if(I.call(f,v)){var w=f[v];typeof w=="object"&&!Object.isFrozen(w)&&_.push(w)}}return y}var I=Object.prototype.hasOwnProperty;function H(y,_){return z(y,_,new Set)}function z(y,_,f){if(Object(T.l)(y))return y;var v=_(y);if(typeof v!="undefined")return v;if(Object(T.d)(y)){for(var w=[],p=0,c=y;put.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)},enumerable:!0,configurable:!0}),at.prototype.selectNextColorPresentation=function(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)},at.prototype.guessColorPresentation=function(tt,ut){for(var Ct=0;Ct0;return tt&&ut}var ee=e("X+cX"),ae=function(){function at(tt,ut,Ct,gt,bt){var Gt=this;this._computer=tt,this._state=0,this._hoverTime=bt,this._firstWaitScheduler=new ee.d(function(){return Gt._triggerAsyncComputation()},0),this._secondWaitScheduler=new ee.d(function(){return Gt._triggerSyncComputation()},0),this._loadingMessageScheduler=new ee.d(function(){return Gt._showLoadingMessage()},0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=ut,this._errorCallback=Ct,this._progressCallback=gt}return at.prototype.setHoverTime=function(tt){this._hoverTime=tt},at.prototype._firstWaitTime=function(){return this._hoverTime/2},at.prototype._secondWaitTime=function(){return this._hoverTime/2},at.prototype._loadingMessageTime=function(){return 3*this._hoverTime},at.prototype._triggerAsyncComputation=function(){var tt=this;this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=Object(ee.f)(function(ut){return tt._computer.computeAsync(ut)}),this._asyncComputationPromise.then(function(ut){tt._asyncComputationPromiseDone=!0,tt._withAsyncResult(ut)},function(ut){return tt._onError(ut)})):this._asyncComputationPromiseDone=!0},at.prototype._triggerSyncComputation=function(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))},at.prototype._showLoadingMessage=function(){this._state===3&&this._onProgress(this._computer.getResultWithLoadingMessage())},at.prototype._withAsyncResult=function(tt){tt&&this._computer.onResult(tt,!1),this._state===3&&(this._state=0,this._onComplete(this._computer.getResult()))},at.prototype._onComplete=function(tt){this._completeCallback&&this._completeCallback(tt)},at.prototype._onError=function(tt){this._errorCallback?this._errorCallback(tt):Object(He.e)(tt)},at.prototype._onProgress=function(tt){this._progressCallback&&this._progressCallback(tt)},at.prototype.start=function(tt){if(tt===0)this._state===0&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break}},at.prototype.cancel=function(){this._loadingMessageScheduler.cancel(),this._state===1&&this._firstWaitScheduler.cancel(),this._state===2&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),this._state===3&&(this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),this._state=0},at}(),q=e("GJhM"),ue=function(){var at=function(ut,Ct){return at=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(gt,bt){gt.__proto__=bt}||function(gt,bt){for(var Gt in bt)bt.hasOwnProperty(Gt)&&(gt[Gt]=bt[Gt])},at(ut,Ct)};return function(tt,ut){at(tt,ut);function Ct(){this.constructor=tt}tt.prototype=ut===null?Object.create(ut):(Ct.prototype=ut.prototype,new Ct)}}(),X=function(){for(var at=0,tt=0,ut=arguments.length;ttthis._editor.getModel().getLineCount())return[];var gt=c.ColorDetector.get(this._editor),bt=ut.getLineMaxColumn(Ct),Gt=this._editor.getLineDecorations(Ct),Nt=!1,Et=this._range,Je=Gt.map(function($e){var ze=$e.range.startLineNumber===Ct?$e.range.startColumn:1,Ke=$e.range.endLineNumber===Ct?$e.range.endColumn:bt;if(ze>Et.startColumn||Et.endColumn>Ke)return null;var fe=new z.a(Et.startLineNumber,ze,Et.startLineNumber,Ke),G=tt._markerDecorationsService.getMarker(ut,$e);if(G)return new be(fe,G);var te=gt.getColorData($e.range.getStartPosition());if(!Nt&&te){Nt=!0;var Y=te.colorInfo,de=Y.color,ke=Y.range;return new oe(ke,de,te.provider)}else{if(Object(_.b)($e.options.hoverMessage))return null;var lt=$e.options.hoverMessage?Object(Fe.b)($e.options.hoverMessage):[];return{contents:lt,range:fe}}});return Object(Fe.d)(Je)},at.prototype.onResult=function(tt,ut){ut?this._result=tt.concat(this._result.sort(function(Ct,gt){return Ct instanceof oe?-1:gt instanceof oe?1:0})):this._result=this._result.concat(tt)},at.prototype.getResult=function(){return this._result.slice(0)},at.prototype.getResultWithLoadingMessage=function(){return this._result.slice(0).concat([this._getLoadingMessage()])},at.prototype._getLoadingMessage=function(){return{range:this._range,contents:[new _.a().appendText(re.a("modesContentHover.loading","Loading..."))]}},at}(),Se={type:2,filter:{include:Q.b.QuickFix}},Ve=function(at){C(tt,at);function tt(ut,Ct,gt,bt,Gt,Nt){Nt===void 0&&(Nt=we.b);var Et=at.call(this,tt.ID,ut)||this;return Et._themeService=gt,Et._keybindingService=bt,Et._modeService=Gt,Et._openerService=Nt,Et.renderDisposable=Et._register(new I.d),Et._messages=[],Et._lastRange=null,Et._computer=new De(Et._editor,Ct),Et._highlightDecorations=[],Et._isChangingDecorations=!1,Et._shouldFocus=!1,Et._colorPicker=null,Et._hoverOperation=new ae(Et._computer,function(Je){return Et._withResult(Je,!0)},null,function(Je){return Et._withResult(Je,!1)},Et._editor.getOption(44).delay),Et._register(x.o(Et.getDomNode(),x.d.FOCUS,function(){Et._colorPicker&&x.f(Et.getDomNode(),"colorpicker-hover")})),Et._register(x.o(Et.getDomNode(),x.d.BLUR,function(){x.P(Et.getDomNode(),"colorpicker-hover")})),Et._register(ut.onDidChangeConfiguration(function(Je){Et._hoverOperation.setHoverTime(Et._editor.getOption(44).delay)})),Et._register(w.B.onDidChange(function(Je){Et.isVisible&&Et._lastRange&&Et._messages.length>0&&(Et._domNode.textContent="",Et._renderMessages(Et._lastRange,Et._messages))})),Et}return tt.prototype.dispose=function(){this._hoverOperation.cancel(),at.prototype.dispose.call(this)},tt.prototype.onModelDecorationsChanged=function(){if(this._isChangingDecorations)return;this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))},tt.prototype.startShowingAt=function(ut,Ct,gt){if(this._lastRange&&this._lastRange.equalsRange(ut))return;if(this._hoverOperation.cancel(),this.isVisible)if(!this._showAtPosition||this._showAtPosition.lineNumber!==ut.startLineNumber)this.hide();else{for(var bt=[],Gt=0,Nt=this._messages.length;Gt=ut.endColumn&&bt.push(Et)}if(bt.length>0){if(Qe(bt,this._messages))return;this._renderMessages(ut,bt)}else this.hide()}this._lastRange=ut,this._computer.setRange(ut),this._shouldFocus=gt,this._hoverOperation.start(Ct)},tt.prototype.hide=function(){this._lastRange=null,this._hoverOperation.cancel(),at.prototype.hide.call(this),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,[]),this._isChangingDecorations=!1,this.renderDisposable.clear(),this._colorPicker=null},tt.prototype.isColorPickerVisible=function(){return!!this._colorPicker},tt.prototype._withResult=function(ut,Ct){this._messages=ut,this._lastRange&&this._messages.length>0?this._renderMessages(this._lastRange,this._messages):Ct&&this.hide()},tt.prototype._renderMessages=function(ut,Ct){var gt=this;this.renderDisposable.dispose(),this._colorPicker=null;var bt=1073741824,Gt=Ct[0].range?z.a.lift(Ct[0].range):null,Nt=document.createDocumentFragment(),Et=!0,Je=!1,$e=new I.b,ze=[];if(Ct.forEach(function(fe){if(!fe.range)return;if(bt=Math.min(bt,fe.range.startColumn),Gt=Gt?z.a.plusRange(Gt,fe.range):z.a.lift(fe.range),fe instanceof oe){Je=!0;var G=fe.color,te=G.red,Y=G.green,de=G.blue,ke=G.alpha,lt=new y.c(Math.round(te*255),Math.round(Y*255),Math.round(de*255),ke),Tt=new y.a(lt);if(!gt._editor.hasModel())return;var Jt=gt._editor.getModel(),eo=new z.a(fe.range.startLineNumber,fe.range.startColumn,fe.range.endLineNumber,fe.range.endColumn),po={range:fe.range,color:fe.color},co=new l(Tt,[],0),Eo=new Te(Nt,co,gt._editor.getOption(105),gt._themeService);Object(p.a)(Jt,po,fe.provider,u.a.None).then(function(Oo){if(co.colorPresentations=Oo||[],!gt._editor.hasModel())return;var Ao=gt._editor.getModel().getValueInRange(fe.range);co.guessColorPresentation(Tt,Ao);var Zo=function(){var Mo,Qo;co.presentation.textEdit?(Mo=[co.presentation.textEdit],Qo=new z.a(co.presentation.textEdit.range.startLineNumber,co.presentation.textEdit.range.startColumn,co.presentation.textEdit.range.endLineNumber,co.presentation.textEdit.range.endColumn),Qo=Qo.setEndPosition(Qo.endLineNumber,Qo.startColumn+co.presentation.textEdit.text.length)):(Mo=[{identifier:null,range:eo,text:co.presentation.label,forceMoveMarkers:!1}],Qo=eo.setEndPosition(eo.endLineNumber,eo.startColumn+co.presentation.label.length)),gt._editor.pushUndoStop(),gt._editor.executeEdits("colorpicker",Mo),co.presentation.additionalTextEdits&&(Mo=F(co.presentation.additionalTextEdits),gt._editor.executeEdits("colorpicker",Mo),gt.hide()),gt._editor.pushUndoStop(),eo=Qo},Co=function(Mo){return Object(p.a)(Jt,{range:eo,color:{red:Mo.rgba.r/255,green:Mo.rgba.g/255,blue:Mo.rgba.b/255,alpha:Mo.rgba.a}},fe.provider,u.a.None).then(function(Qo){co.colorPresentations=Qo||[]})},Wo=co.onColorFlushed(function(Bo){Co(Bo).then(Zo)}),Go=co.onDidChangeColor(Co);gt._colorPicker=Eo,gt.showAt(eo.getStartPosition(),eo,gt._shouldFocus),gt.updateContents(Nt),gt._colorPicker.layout(),gt.renderDisposable.value=Object(I.e)(Wo,Go,Eo,$e)})}else fe instanceof be?(ze.push(fe),Et=!1):fe.contents.filter(function(Oo){return!Object(_.b)(Oo)}).forEach(function(Oo){var Ao=se("div.hover-row.markdown-hover"),Zo=x.q(Ao,se("div.hover-contents")),Co=$e.add(new Xe.a(gt._editor,gt._modeService,gt._openerService));$e.add(Co.onDidRenderCodeBlock(function(){Zo.className="hover-contents code-hover-contents",gt.onContentsChange()}));var Wo=$e.add(Co.render(Oo));Zo.appendChild(Wo.element),Nt.appendChild(Ao),Et=!1})}),ze.length){ze.forEach(function(fe){return Nt.appendChild(gt.renderMarkerHover(fe))});var Ke=ze.length===1?ze[0]:ze.sort(function(fe,G){return me.c.compare(fe.marker.severity,G.marker.severity)})[0];Nt.appendChild(this.renderMarkerStatusbar(Ke))}!Je&&!Et&&(this.showAt(new f.a(ut.startLineNumber,bt),Gt,this._shouldFocus),this.updateContents(Nt)),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,Gt?[{range:Gt,options:tt._DECORATION_OPTIONS}]:[]),this._isChangingDecorations=!1},tt.prototype.renderMarkerHover=function(ut){var Ct=this,gt=se("div.hover-row"),bt=x.q(gt,se("div.marker.hover-contents")),Gt=ut.marker,Nt=Gt.source,Et=Gt.message,Je=Gt.code,$e=Gt.relatedInformation;this._editor.applyFontInfo(bt);var ze=x.q(bt,se("span"));if(ze.style.whiteSpace="pre-wrap",ze.innerText=Et,Nt||Je){if(typeof Je=="string"){var Ke=x.q(bt,se("span"));Ke.style.opacity="0.6",Ke.style.paddingLeft="6px",Ke.innerText=Nt&&Je?Nt+"("+Je+")":Nt||"("+Je+")"}else if(Je){var fe=se("span");if(Nt){var G=x.q(fe,se("span"));G.innerText=Nt}this._codeLink=x.q(fe,se("a.code-link")),this._codeLink.setAttribute("href",Je.link.toString()),this._codeLink.onclick=function(Oo){Ct._openerService.open(Je.link),Oo.preventDefault(),Oo.stopPropagation()};var te=x.q(this._codeLink,se("span"));te.innerText=Je.value;var Ke=x.q(bt,fe);Ke.style.opacity="0.6",Ke.style.paddingLeft="6px"}}if(Object(Fe.q)($e))for(var Y=function(Oo,Ao,Zo,Co){var Wo=x.q(bt,se("div"));Wo.style.marginTop="8px";var Go=x.q(Wo,se("a"));Go.innerText=Object(ge.b)(Ao)+"("+Zo+", "+Co+"): ",Go.style.cursor="pointer",Go.onclick=function(Mo){Mo.stopPropagation(),Mo.preventDefault(),Ct._openerService&&Ct._openerService.open(Ao.with({fragment:Zo+","+Co}),{fromUserGesture:!0}).catch(He.e)};var Bo=x.q(Wo,se("span"));Bo.innerText=Oo,de._editor.applyFontInfo(Bo)},de=this,ke=0,lt=$e;ke0?this._renderMessages(this._lastLineNumber,this._messages):this.hide()},tt.prototype._renderMessages=function(ut,Ct){this._renderDisposeables.clear();for(var gt=document.createDocumentFragment(),bt=0,Gt=Ct;bt=0;Nt--)(Gt=at[Nt])&&(bt=(gt<3?Gt(bt):gt>3?Gt(tt,ut,bt):Gt(tt,ut))||bt);return gt>3&&bt&&Object.defineProperty(tt,ut,bt),bt},Pt=function(at,tt){return function(ut,Ct){tt(ut,Ct,at)}},ft=function(){function at(tt,ut,Ct,gt,bt,Gt){var Nt=this;this._editor=tt,this._openerService=ut,this._modeService=Ct,this._markerDecorationsService=gt,this._keybindingService=bt,this._themeService=Gt,this._toUnhook=new I.b,this._contentWidget=new I.d,this._glyphWidget=new I.d,this._isMouseDown=!1,this._hoverClicked=!1,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration(function(Et){Et.hasChanged(44)&&(Nt._hideWidgets(),Nt._unhookEvents(),Nt._hookEvents())})}return Object.defineProperty(at.prototype,"contentWidget",{get:function(){return this._contentWidget.value||this._createHoverWidgets(),this._contentWidget.value},enumerable:!0,configurable:!0}),Object.defineProperty(at.prototype,"glyphWidget",{get:function(){return this._glyphWidget.value||this._createHoverWidgets(),this._glyphWidget.value},enumerable:!0,configurable:!0}),at.get=function(tt){return tt.getContribution(at.ID)},at.prototype._hookEvents=function(){var tt=this,ut=function(){return tt._hideWidgets()},Ct=this._editor.getOption(44);this._isHoverEnabled=Ct.enabled,this._isHoverSticky=Ct.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(function(gt){return tt._onEditorMouseDown(gt)})),this._toUnhook.add(this._editor.onMouseUp(function(gt){return tt._onEditorMouseUp(gt)})),this._toUnhook.add(this._editor.onMouseMove(function(gt){return tt._onEditorMouseMove(gt)})),this._toUnhook.add(this._editor.onKeyDown(function(gt){return tt._onKeyDown(gt)})),this._toUnhook.add(this._editor.onDidChangeModelDecorations(function(){return tt._onModelDecorationsChanged()}))):this._toUnhook.add(this._editor.onMouseMove(ut)),this._toUnhook.add(this._editor.onMouseLeave(ut)),this._toUnhook.add(this._editor.onDidChangeModel(ut)),this._toUnhook.add(this._editor.onDidScrollChange(function(gt){return tt._onEditorScrollChanged(gt)}))},at.prototype._unhookEvents=function(){this._toUnhook.clear()},at.prototype._onModelDecorationsChanged=function(){this.contentWidget.onModelDecorationsChanged(),this.glyphWidget.onModelDecorationsChanged()},at.prototype._onEditorScrollChanged=function(tt){(tt.scrollTopChanged||tt.scrollLeftChanged)&&this._hideWidgets()},at.prototype._onEditorMouseDown=function(tt){this._isMouseDown=!0;var ut=tt.target.type;if(ut===9&&tt.target.detail===Ve.ID){this._hoverClicked=!0;return}if(ut===12&&tt.target.detail===Rt.ID)return;ut!==12&&tt.target.detail!==Rt.ID&&(this._hoverClicked=!1),this._hideWidgets()},at.prototype._onEditorMouseUp=function(tt){this._isMouseDown=!1},at.prototype._onEditorMouseMove=function(tt){var ut=tt.target.type;if(this._isMouseDown&&this._hoverClicked&&this.contentWidget.isColorPickerVisible())return;if(this._isHoverSticky&&ut===9&&tt.target.detail===Ve.ID)return;if(this._isHoverSticky&&ut===12&&tt.target.detail===Rt.ID)return;if(ut===7){var Ct=this._editor.getOption(34).typicalHalfwidthCharacterWidth/2,gt=tt.target.detail;gt&&!gt.isAfterLines&&typeof gt.horizontalDistanceToText=="number"&>.horizontalDistanceToText0)},fe.prototype.getChildren=function(G,te){var Y=this.modelProvider.getModel();return Promise.resolve(Y===te?Y.entries:[])},fe.prototype.getParent=function(G,te){return Promise.resolve(null)},fe}(),u=function(){function fe(G){this.modelProvider=G}return fe.prototype.getAriaLabel=function(G,te){var Y=this.modelProvider.getModel();return Y.accessibilityProvider?Y.accessibilityProvider.getAriaLabel(te):null},fe.prototype.getPosInSet=function(G,te){var Y=this.modelProvider.getModel(),de=0;if(Y.filter)for(var ke=0,lt=Y.entries;ke=0;te--){var Y=this._arr[te];if(G.toChord().equals(Y.keybinding))return Y.callback}return null},fe}(),s=function(){function fe(G){var te=this;G===void 0&&(G={clickBehavior:0,keyboardSupport:!0,openMode:0}),this.options=G,this.downKeyBindingDispatcher=new c,this.upKeyBindingDispatcher=new c,(typeof G.keyboardSupport!="boolean"||G.keyboardSupport)&&(this.downKeyBindingDispatcher.set(16,function(Y,de){return te.onUp(Y,de)}),this.downKeyBindingDispatcher.set(18,function(Y,de){return te.onDown(Y,de)}),this.downKeyBindingDispatcher.set(15,function(Y,de){return te.onLeft(Y,de)}),this.downKeyBindingDispatcher.set(17,function(Y,de){return te.onRight(Y,de)}),O.e&&(this.downKeyBindingDispatcher.set(2048|16,function(Y,de){return te.onLeft(Y,de)}),this.downKeyBindingDispatcher.set(256|44,function(Y,de){return te.onDown(Y,de)}),this.downKeyBindingDispatcher.set(256|46,function(Y,de){return te.onUp(Y,de)})),this.downKeyBindingDispatcher.set(11,function(Y,de){return te.onPageUp(Y,de)}),this.downKeyBindingDispatcher.set(12,function(Y,de){return te.onPageDown(Y,de)}),this.downKeyBindingDispatcher.set(14,function(Y,de){return te.onHome(Y,de)}),this.downKeyBindingDispatcher.set(13,function(Y,de){return te.onEnd(Y,de)}),this.downKeyBindingDispatcher.set(10,function(Y,de){return te.onSpace(Y,de)}),this.downKeyBindingDispatcher.set(9,function(Y,de){return te.onEscape(Y,de)}),this.upKeyBindingDispatcher.set(3,this.onEnter.bind(this)),this.upKeyBindingDispatcher.set(2048|3,this.onEnter.bind(this)))}return fe.prototype.onMouseDown=function(G,te,Y,de){if(de===void 0&&(de="mouse"),this.options.clickBehavior===0&&(Y.leftButton||Y.middleButton)){if(Y.target){if(Y.target.tagName&&Y.target.tagName.toLowerCase()==="input")return!1;if(I.x(Y.target,"scrollbar","monaco-tree"))return!1;if(I.x(Y.target,"monaco-action-bar","row"))return!1}return this.onLeftClick(G,te,Y,de)}return!1},fe.prototype.onClick=function(G,te,Y){var de=O.e;return de&&Y.ctrlKey?(Y.preventDefault(),Y.stopPropagation(),!1):Y.target&&Y.target.tagName&&Y.target.tagName.toLowerCase()==="input"||this.options.clickBehavior===0&&(Y.leftButton||Y.middleButton)?!1:this.onLeftClick(G,te,Y)},fe.prototype.onLeftClick=function(G,te,Y,de){de===void 0&&(de="mouse");var ke=Y,lt={origin:de,originalEvent:Y,didClickOnTwistie:this.isClickOnTwistie(ke)};if(G.getInput()===te)G.clearFocus(lt),G.clearSelection(lt);else{var Tt=Y&&ke.browserEvent&&ke.browserEvent.type==="mousedown"&&ke.browserEvent.detail===1;Tt||Y.preventDefault(),Y.stopPropagation(),G.domFocus(),G.setSelection([te],lt),G.setFocus(te,lt),this.shouldToggleExpansion(te,ke,de)&&(G.isExpanded(te)?G.collapse(te).then(void 0,w.e):G.expand(te).then(void 0,w.e))}return!0},fe.prototype.shouldToggleExpansion=function(G,te,Y){var de=Y==="mouse"&&te.detail===2;return this.openOnSingleClick||de||this.isClickOnTwistie(te)},Object.defineProperty(fe.prototype,"openOnSingleClick",{get:function(){return this.options.openMode===0},enumerable:!0,configurable:!0}),fe.prototype.isClickOnTwistie=function(G){var te=G.target;if(!I.I(te,"content"))return!1;var Y=window.getComputedStyle(te,":before");if(Y.backgroundImage==="none"||Y.display==="none")return!1;var de=parseInt(Y.width)+parseInt(Y.paddingRight);return G.browserEvent.offsetX<=de},fe.prototype.onContextMenu=function(G,te,Y){return Y.target&&Y.target.tagName&&Y.target.tagName.toLowerCase()==="input"||Y&&(Y.preventDefault(),Y.stopPropagation()),!1},fe.prototype.onTap=function(G,te,Y){var de=Y.initialTarget;return de&&de.tagName&&de.tagName.toLowerCase()==="input"?!1:this.onLeftClick(G,te,Y,"touch")},fe.prototype.onKeyDown=function(G,te){return this.onKey(this.downKeyBindingDispatcher,G,te)},fe.prototype.onKeyUp=function(G,te){return this.onKey(this.upKeyBindingDispatcher,G,te)},fe.prototype.onKey=function(G,te,Y){var de=G.dispatch(Y.toKeybinding());return de&&de(te,Y)?(Y.preventDefault(),Y.stopPropagation(),!0):!1},fe.prototype.onUp=function(G,te){var Y={origin:"keyboard",originalEvent:te};return G.getHighlight()?G.clearHighlight(Y):(G.focusPrevious(1,Y),G.reveal(G.getFocus()).then(void 0,w.e)),!0},fe.prototype.onPageUp=function(G,te){var Y={origin:"keyboard",originalEvent:te};return G.getHighlight()?G.clearHighlight(Y):(G.focusPreviousPage(Y),G.reveal(G.getFocus()).then(void 0,w.e)),!0},fe.prototype.onDown=function(G,te){var Y={origin:"keyboard",originalEvent:te};return G.getHighlight()?G.clearHighlight(Y):(G.focusNext(1,Y),G.reveal(G.getFocus()).then(void 0,w.e)),!0},fe.prototype.onPageDown=function(G,te){var Y={origin:"keyboard",originalEvent:te};return G.getHighlight()?G.clearHighlight(Y):(G.focusNextPage(Y),G.reveal(G.getFocus()).then(void 0,w.e)),!0},fe.prototype.onHome=function(G,te){var Y={origin:"keyboard",originalEvent:te};return G.getHighlight()?G.clearHighlight(Y):(G.focusFirst(Y),G.reveal(G.getFocus()).then(void 0,w.e)),!0},fe.prototype.onEnd=function(G,te){var Y={origin:"keyboard",originalEvent:te};return G.getHighlight()?G.clearHighlight(Y):(G.focusLast(Y),G.reveal(G.getFocus()).then(void 0,w.e)),!0},fe.prototype.onLeft=function(G,te){var Y={origin:"keyboard",originalEvent:te};if(G.getHighlight())G.clearHighlight(Y);else{var de=G.getFocus();G.collapse(de).then(function(ke){return de&&!ke?(G.focusParent(Y),G.reveal(G.getFocus())):void 0}).then(void 0,w.e)}return!0},fe.prototype.onRight=function(G,te){var Y={origin:"keyboard",originalEvent:te};if(G.getHighlight())G.clearHighlight(Y);else{var de=G.getFocus();G.expand(de).then(function(ke){return de&&!ke?(G.focusFirstChild(Y),G.reveal(G.getFocus())):void 0}).then(void 0,w.e)}return!0},fe.prototype.onEnter=function(G,te){var Y={origin:"keyboard",originalEvent:te};if(G.getHighlight())return!1;var de=G.getFocus();return de&&G.setSelection([de],Y),!0},fe.prototype.onSpace=function(G,te){if(G.getHighlight())return!1;var Y=G.getFocus();return Y&&G.toggleExpansion(Y),!0},fe.prototype.onEscape=function(G,te){var Y={origin:"keyboard",originalEvent:te};return G.getHighlight()?(G.clearHighlight(Y),!0):G.getSelection().length?(G.clearSelection(Y),!0):G.getFocus()?(G.clearFocus(Y),!0):!1},fe}(),l=function(){function fe(){}return fe.prototype.getDragURI=function(G,te){return null},fe.prototype.onDragStart=function(G,te,Y){return},fe.prototype.onDragOver=function(G,te,Y,de){return null},fe.prototype.drop=function(G,te,Y,de){return},fe}(),d=function(){function fe(){}return fe.prototype.isVisible=function(G,te){return!0},fe}(),m=function(){function fe(){}return fe.prototype.getAriaLabel=function(G,te){return null},fe}(),E=function(){function fe(G,te){this.styleElement=G,this.selectorSuffix=te}return fe.prototype.style=function(G){var te=this.selectorSuffix?"."+this.selectorSuffix:"",Y=[];G.listFocusBackground&&Y.push(".monaco-tree"+te+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) { background-color: "+G.listFocusBackground+"; }"),G.listFocusForeground&&Y.push(".monaco-tree"+te+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) { color: "+G.listFocusForeground+"; }"),G.listActiveSelectionBackground&&Y.push(".monaco-tree"+te+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { background-color: "+G.listActiveSelectionBackground+"; }"),G.listActiveSelectionForeground&&Y.push(".monaco-tree"+te+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { color: "+G.listActiveSelectionForeground+"; }"),G.listFocusAndSelectionBackground&&Y.push(` .monaco-tree-drag-image, .monaco-tree`+te+".focused .monaco-tree-rows > .monaco-tree-row.focused.selected:not(.highlighted) { background-color: "+G.listFocusAndSelectionBackground+`; } `),G.listFocusAndSelectionForeground&&Y.push(` @@ -199,32 +199,32 @@ Copyright (c) 2014 Forbes Lindesay .monaco-tree`+te+` .monaco-tree-wrapper.drop-target, .monaco-tree`+te+" .monaco-tree-rows > .monaco-tree-row.drop-target { border: 1px dashed "+G.listFocusOutline+`; } `);var de=Y.join(` -`);de!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=de)},fe}(),L=e("FWmy"),A=e("pmY6"),k=e("MI8n"),R=function(){var fe=function(te,Y){return fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,ke){de.__proto__=ke}||function(de,ke){for(var lt in ke)ke.hasOwnProperty(lt)&&(de[lt]=ke[lt])},fe(te,Y)};return function(G,te){fe(G,te);function Y(){this.constructor=G}G.prototype=te===null?Object.create(te):(Y.prototype=te.prototype,new Y)}}(),$=function(){function fe(G){this._onDispose=new k.a,this.onDispose=this._onDispose.event,this._item=G}return Object.defineProperty(fe.prototype,"item",{get:function(){return this._item},enumerable:!0,configurable:!0}),fe.prototype.dispose=function(){this._onDispose&&(this._onDispose.fire(),this._onDispose.dispose(),this._onDispose=void 0)},fe}(),ie=function(){function fe(){this.locks=Object.create({})}return fe.prototype.isLocked=function(G){return!!this.locks[G.id]},fe.prototype.run=function(G,te){var Y=this,de=this.getLock(G);if(de)return new Promise(function(lt,Tt){k.b.once(de.onDispose)(function(){return Y.run(G,te).then(lt,Tt)})});var ke;return new Promise(function(lt,Tt){if(G.isDisposed())return Tt(new Error("Item is disposed."));var Jt=Y.locks[G.id]=new $(G);return ke=te().then(function(eo){return delete Y.locks[G.id],Jt.dispose(),eo}).then(lt,Tt),ke})},fe.prototype.getLock=function(G){var te;for(te in this.locks){var Y=this.locks[te];if(G.intersects(Y.item))return Y}return null},fe}(),W=function(){function fe(){this._isDisposed=!1,this._onDidRevealItem=new k.d,this.onDidRevealItem=this._onDidRevealItem.event,this._onExpandItem=new k.d,this.onExpandItem=this._onExpandItem.event,this._onDidExpandItem=new k.d,this.onDidExpandItem=this._onDidExpandItem.event,this._onCollapseItem=new k.d,this.onCollapseItem=this._onCollapseItem.event,this._onDidCollapseItem=new k.d,this.onDidCollapseItem=this._onDidCollapseItem.event,this._onDidAddTraitItem=new k.d,this.onDidAddTraitItem=this._onDidAddTraitItem.event,this._onDidRemoveTraitItem=new k.d,this.onDidRemoveTraitItem=this._onDidRemoveTraitItem.event,this._onDidRefreshItem=new k.d,this.onDidRefreshItem=this._onDidRefreshItem.event,this._onRefreshItemChildren=new k.d,this.onRefreshItemChildren=this._onRefreshItemChildren.event,this._onDidRefreshItemChildren=new k.d,this.onDidRefreshItemChildren=this._onDidRefreshItemChildren.event,this._onDidDisposeItem=new k.d,this.onDidDisposeItem=this._onDidDisposeItem.event,this.items={}}return fe.prototype.register=function(G){L.a(!this.isRegistered(G.id),"item already registered: "+G.id);var te=Object(A.e)(this._onDidRevealItem.add(G.onDidReveal),this._onExpandItem.add(G.onExpand),this._onDidExpandItem.add(G.onDidExpand),this._onCollapseItem.add(G.onCollapse),this._onDidCollapseItem.add(G.onDidCollapse),this._onDidAddTraitItem.add(G.onDidAddTrait),this._onDidRemoveTraitItem.add(G.onDidRemoveTrait),this._onDidRefreshItem.add(G.onDidRefresh),this._onRefreshItemChildren.add(G.onRefreshChildren),this._onDidRefreshItemChildren.add(G.onDidRefreshChildren),this._onDidDisposeItem.add(G.onDidDispose));this.items[G.id]={item:G,disposable:te}},fe.prototype.deregister=function(G){L.a(this.isRegistered(G.id),"item not registered: "+G.id),this.items[G.id].disposable.dispose(),delete this.items[G.id]},fe.prototype.isRegistered=function(G){return this.items.hasOwnProperty(G)},fe.prototype.getItem=function(G){var te=this.items[G];return te?te.item:null},fe.prototype.dispose=function(){this.items={},this._onDidRevealItem.dispose(),this._onExpandItem.dispose(),this._onDidExpandItem.dispose(),this._onCollapseItem.dispose(),this._onDidCollapseItem.dispose(),this._onDidAddTraitItem.dispose(),this._onDidRemoveTraitItem.dispose(),this._onDidRefreshItem.dispose(),this._onRefreshItemChildren.dispose(),this._onDidRefreshItemChildren.dispose(),this._isDisposed=!0},fe.prototype.isDisposed=function(){return this._isDisposed},fe}(),B=function(){function fe(G,te,Y,de,ke){this._onDidCreate=new k.a,this._onDidReveal=new k.a,this.onDidReveal=this._onDidReveal.event,this._onExpand=new k.a,this.onExpand=this._onExpand.event,this._onDidExpand=new k.a,this.onDidExpand=this._onDidExpand.event,this._onCollapse=new k.a,this.onCollapse=this._onCollapse.event,this._onDidCollapse=new k.a,this.onDidCollapse=this._onDidCollapse.event,this._onDidAddTrait=new k.a,this.onDidAddTrait=this._onDidAddTrait.event,this._onDidRemoveTrait=new k.a,this.onDidRemoveTrait=this._onDidRemoveTrait.event,this._onDidRefresh=new k.a,this.onDidRefresh=this._onDidRefresh.event,this._onRefreshChildren=new k.a,this.onRefreshChildren=this._onRefreshChildren.event,this._onDidRefreshChildren=new k.a,this.onDidRefreshChildren=this._onDidRefreshChildren.event,this._onDidDispose=new k.a,this.onDidDispose=this._onDidDispose.event,this.registry=te,this.context=Y,this.lock=de,this.element=ke,this.id=G,this.registry.register(this),this.doesHaveChildren=this.context.dataSource.hasChildren(this.context.tree,this.element),this.needsChildrenRefresh=!0,this.parent=null,this.previous=null,this.next=null,this.firstChild=null,this.lastChild=null,this.traits={},this.depth=0,this.expanded=!!(this.context.dataSource.shouldAutoexpand&&this.context.dataSource.shouldAutoexpand(this.context.tree,ke)),this._onDidCreate.fire(this),this.visible=this._isVisible(),this.height=this._getHeight(),this._isDisposed=!1}return fe.prototype.getElement=function(){return this.element},fe.prototype.hasChildren=function(){return this.doesHaveChildren},fe.prototype.getDepth=function(){return this.depth},fe.prototype.isVisible=function(){return this.visible},fe.prototype.setVisible=function(G){this.visible=G},fe.prototype.isExpanded=function(){return this.expanded},fe.prototype._setExpanded=function(G){this.expanded=G},fe.prototype.reveal=function(G){G===void 0&&(G=null);var te={item:this,relativeTop:G};this._onDidReveal.fire(te)},fe.prototype.expand=function(){var G=this;if(this.isExpanded()||!this.doesHaveChildren||this.lock.isLocked(this))return Promise.resolve(!1);var te=this.lock.run(this,function(){if(G.isExpanded()||!G.doesHaveChildren)return Promise.resolve(!1);var Y={item:G},de;return G._onExpand.fire(Y),G.needsChildrenRefresh?de=G.refreshChildren(!1,!0,!0):de=Promise.resolve(null),de.then(function(){return G._setExpanded(!0),G._onDidExpand.fire(Y),!0})});return te.then(function(Y){return G.isDisposed()?!1:G.context.options.autoExpandSingleChildren&&Y&&G.firstChild!==null&&G.firstChild===G.lastChild&&G.firstChild.isVisible()?G.firstChild.expand().then(function(){return!0}):Y})},fe.prototype.collapse=function(G){var te=this;if(G===void 0&&(G=!1),G){var Y=Promise.resolve(null);return this.forEachChild(function(de){Y=Y.then(function(){return de.collapse(!0)})}),Y.then(function(){return te.collapse(!1)})}else return!this.isExpanded()||this.lock.isLocked(this)?Promise.resolve(!1):this.lock.run(this,function(){var de={item:te};return te._onCollapse.fire(de),te._setExpanded(!1),te._onDidCollapse.fire(de),Promise.resolve(!0)})},fe.prototype.addTrait=function(G){var te={item:this,trait:G};this.traits[G]=!0,this._onDidAddTrait.fire(te)},fe.prototype.removeTrait=function(G){var te={item:this,trait:G};delete this.traits[G],this._onDidRemoveTrait.fire(te)},fe.prototype.hasTrait=function(G){return this.traits[G]||!1},fe.prototype.getAllTraits=function(){var G=[],te;for(te in this.traits)this.traits.hasOwnProperty(te)&&this.traits[te]&&G.push(te);return G},fe.prototype.getHeight=function(){return this.height},fe.prototype.refreshChildren=function(G,te,Y){var de=this;if(te===void 0&&(te=!1),Y===void 0&&(Y=!1),!Y&&!this.isExpanded()){var ke=function Tt(Jt){Jt.needsChildrenRefresh=!0,Jt.forEachChild(Tt)};return ke(this),Promise.resolve(this)}this.needsChildrenRefresh=!1;var lt=function(){var Jt={item:de,isNested:te};de._onRefreshChildren.fire(Jt);var eo;de.doesHaveChildren?eo=de.context.dataSource.getChildren(de.context.tree,de.element):eo=Promise.resolve([]);var po=eo.then(function(co){if(de.isDisposed()||de.registry.isDisposed())return Promise.resolve(null);if(!Array.isArray(co))return Promise.reject(new Error("Please return an array of children."));co=co?co.slice(0):[],co=de.sort(co);for(var Eo={};de.firstChild!==null;)Eo[de.firstChild.id]=de.firstChild,de.removeChild(de.firstChild);for(var Oo=0,Ao=co.length;Oo=0;lt--)this.onInsertItem(po[lt]);for(lt=this.heightMap.length-1;lt>=ke;lt--)this.onRefreshItem(this.heightMap[lt]);return Jt},fe.prototype.onInsertItem=function(G){},fe.prototype.onRemoveItems=function(G){for(var te=null,Y,de=null,ke=0,lt=0;te=G.next();){if(ke=this.indexes[te],Y=this.heightMap[ke],!Y){console.error("view item doesnt exist");return}lt-=Y.height,delete this.indexes[te],this.onRemoveItem(Y),de===null&&(de=ke)}if(lt===0||de===null)return;for(this.heightMap.splice(de,ke-de+1),ke=de;ke=ke.top+ke.height){if(te===de)break;te=de}else return de;return this.heightMap.length},fe.prototype.indexAfter=function(G){return Math.min(this.indexAt(G)+1,this.heightMap.length)},fe.prototype.itemAtIndex=function(G){return this.heightMap[G]},fe.prototype.itemAfter=function(G){return this.heightMap[this.indexes[G.model.id]+1]||null},fe.prototype.createViewItem=function(G){throw new Error("not implemented")},fe.prototype.dispose=function(){this.heightMap=[],this.indexes={}},fe}(),Xe=function(){var fe=function(te,Y){return fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,ke){de.__proto__=ke}||function(de,ke){for(var lt in ke)ke.hasOwnProperty(lt)&&(de[lt]=ke[lt])},fe(te,Y)};return function(G,te){fe(G,te);function Y(){this.constructor=G}G.prototype=te===null?Object.create(te):(Y.prototype=te.prototype,new Y)}}(),me=function(){function fe(G,te,Y){this._posx=G,this._posy=te,this._target=Y}return fe.prototype.preventDefault=function(){},fe.prototype.stopPropagation=function(){},Object.defineProperty(fe.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),fe}(),ge=function(fe){Xe(G,fe);function G(te){var Y=fe.call(this,te.posx,te.posy,te.target)||this;return Y.originalEvent=te,Y}return G.prototype.preventDefault=function(){this.originalEvent.preventDefault()},G.prototype.stopPropagation=function(){this.originalEvent.stopPropagation()},G}(me),we=function(fe){Xe(G,fe);function G(te,Y,de){var ke=fe.call(this,te,Y,de.target)||this;return ke.originalEvent=de,ke}return G.prototype.preventDefault=function(){this.originalEvent.preventDefault()},G.prototype.stopPropagation=function(){this.originalEvent.stopPropagation()},G}(me),Re=e("ZQ78"),Ee=e("X+cX"),ve=function(){var fe=function(te,Y){return fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,ke){de.__proto__=ke}||function(de,ke){for(var lt in ke)ke.hasOwnProperty(lt)&&(de[lt]=ke[lt])},fe(te,Y)};return function(G,te){fe(G,te);function Y(){this.constructor=G}G.prototype=te===null?Object.create(te):(Y.prototype=te.prototype,new Y)}}();function Q(fe){try{fe.parentElement.removeChild(fe)}catch(G){}}var C=function(){function fe(G){this.context=G,this._cache={"":[]}}return fe.prototype.alloc=function(G){var te=this.cache(G).pop();if(!te){var Y=document.createElement("div");Y.className="content";var de=document.createElement("div");de.appendChild(Y);var ke=null;try{ke=this.context.renderer.renderTemplate(this.context.tree,G,Y)}catch(lt){console.error("Tree usage error: exception while rendering template"),console.error(lt)}te={element:de,templateId:G,templateData:ke}}return te},fe.prototype.release=function(G,te){Q(te.element),this.cache(G).push(te)},fe.prototype.cache=function(G){return this._cache[G]||(this._cache[G]=[])},fe.prototype.garbageCollect=function(){var G=this;this._cache&&Object.keys(this._cache).forEach(function(te){G._cache[te].forEach(function(Y){G.context.renderer.disposeTemplate(G.context.tree,te,Y.templateData),Y.element=null,Y.templateData=null}),delete G._cache[te]})},fe.prototype.dispose=function(){this.garbageCollect(),this._cache=null},fe}(),F=function(){function fe(G,te){var Y=this;this.width=0,this.needsRender=!1,this.uri=null,this.unbindDragStart=A.a.None,this._draggable=!1,this.context=G,this.model=te,this.id=this.model.id,this.row=null,this.top=0,this.height=te.getHeight(),this._styles={},te.getAllTraits().forEach(function(de){return Y._styles[de]=!0}),te.isExpanded()&&this.addClass("expanded")}return Object.defineProperty(fe.prototype,"expanded",{set:function(te){te?this.addClass("expanded"):this.removeClass("expanded")},enumerable:!0,configurable:!0}),Object.defineProperty(fe.prototype,"loading",{set:function(te){te?this.addClass("codicon-loading"):this.removeClass("codicon-loading")},enumerable:!0,configurable:!0}),Object.defineProperty(fe.prototype,"draggable",{get:function(){return this._draggable},set:function(te){this._draggable=te,this.render(!0)},enumerable:!0,configurable:!0}),Object.defineProperty(fe.prototype,"dropTarget",{set:function(te){te?this.addClass("drop-target"):this.removeClass("drop-target")},enumerable:!0,configurable:!0}),Object.defineProperty(fe.prototype,"element",{get:function(){return this.row&&this.row.element},enumerable:!0,configurable:!0}),Object.defineProperty(fe.prototype,"templateId",{get:function(){return this._templateId||(this._templateId=this.context.renderer.getTemplateId&&this.context.renderer.getTemplateId(this.context.tree,this.model.getElement()))},enumerable:!0,configurable:!0}),fe.prototype.addClass=function(G){this._styles[G]=!0,this.render(!0)},fe.prototype.removeClass=function(G){delete this._styles[G],this.render(!0)},fe.prototype.render=function(G){var te=this;if(G===void 0&&(G=!1),!this.model||!this.element)return;var Y=["monaco-tree-row"];Y.push.apply(Y,Object.keys(this._styles)),this.model.hasChildren()&&Y.push("has-children"),this.element.className=Y.join(" "),this.element.draggable=this.draggable,this.element.style.height=this.height+"px",this.element.setAttribute("role","treeitem");var de=this.context.accessibilityProvider,ke=de.getAriaLabel(this.context.tree,this.model.getElement());if(ke&&this.element.setAttribute("aria-label",ke),de.getPosInSet&&de.getSetSize&&(this.element.setAttribute("aria-setsize",de.getSetSize()),this.element.setAttribute("aria-posinset",de.getPosInSet(this.context.tree,this.model.getElement()))),this.model.hasTrait("focused")){var lt=Pe.L(this.model.id);this.element.setAttribute("aria-selected","true"),this.element.setAttribute("id",lt)}else this.element.setAttribute("aria-selected","false"),this.element.removeAttribute("id");this.model.hasChildren()?this.element.setAttribute("aria-expanded",String(!!this._styles.expanded)):this.element.removeAttribute("aria-expanded"),this.element.setAttribute("aria-level",String(this.model.getDepth())),this.context.options.paddingOnRow?this.element.style.paddingLeft=this.context.options.twistiePixels+(this.model.getDepth()-1)*this.context.options.indentPixels+"px":(this.element.style.paddingLeft=(this.model.getDepth()-1)*this.context.options.indentPixels+"px",this.row.element.firstElementChild.style.paddingLeft=this.context.options.twistiePixels+"px");var Tt=this.context.dnd.getDragURI(this.context.tree,this.model.getElement());if(Tt!==this.uri&&(this.unbindDragStart&&this.unbindDragStart.dispose(),Tt?(this.uri=Tt,this.draggable=!0,this.unbindDragStart=I.j(this.element,"dragstart",function(po){te.onDragStart(po)})):this.uri=null),!G&&this.element){var Jt=0;if(this.context.horizontalScrolling){var eo=window.getComputedStyle(this.element);Jt=parseFloat(eo.paddingLeft)}this.context.horizontalScrolling&&(this.element.style.width=Te.h?"-moz-fit-content":"fit-content");try{this.context.renderer.renderElement(this.context.tree,this.model.getElement(),this.templateId,this.row.templateData)}catch(po){console.error("Tree usage error: exception while rendering element"),console.error(po)}this.context.horizontalScrolling&&(this.width=I.B(this.element)+Jt,this.element.style.width="")}},fe.prototype.insertInDOM=function(G,te){if(this.row||(this.row=this.context.cache.alloc(this.templateId),this.element[be.BINDING]=this),this.element.parentElement)return;if(te===null)G.appendChild(this.element);else try{G.insertBefore(this.element,te)}catch(Y){console.warn("Failed to locate previous tree element"),G.appendChild(this.element)}this.render()},fe.prototype.removeFromDOM=function(){if(!this.row)return;this.unbindDragStart.dispose(),this.uri=null,this.element[be.BINDING]=null,this.context.cache.release(this.templateId,this.row),this.row=null},fe.prototype.dispose=function(){this.row=null},fe}(),se=function(fe){ve(G,fe);function G(te,Y,de){var ke=fe.call(this,te,Y)||this;return ke.row={element:de,templateData:null,templateId:null},ke}return G.prototype.render=function(){if(!this.model||!this.element)return;var te=["monaco-tree-wrapper"];te.push.apply(te,Object.keys(this._styles)),this.model.hasChildren()&&te.push("has-children"),this.element.className=te.join(" ")},G.prototype.insertInDOM=function(te,Y){},G.prototype.removeFromDOM=function(){},G}(F);function oe(fe,G){return!fe&&!G?!0:!fe||!G||(fe.accept!==G.accept||fe.bubble!==G.bubble)?!1:!(fe.effect!==G.effect)}var be=function(fe){ve(G,fe);function G(te,Y){var de=fe.call(this)||this;de.model=null,de.lastPointerType="",de.lastClickTimeStamp=0,de.contentWidthUpdateDelayer=new Ee.a(50),de.isRefreshing=!1,de.refreshingPreviousChildrenIds={},de.currentDragAndDropData=null,de.currentDropTarget=null,de.currentDropTargets=null,de.currentDropDisposable=A.a.None,de.gestureDisposable=A.a.None,de.dragAndDropScrollInterval=null,de.dragAndDropScrollTimeout=null,de.dragAndDropMouseY=null,de.highlightedItemWasDraggable=!1,de.onHiddenScrollTop=null,de._onDOMFocus=new k.a,de.onDOMFocus=de._onDOMFocus.event,de._onDOMBlur=new k.a,de._onDidScroll=new k.a,G.counter++,de.instance=G.counter;var ke=typeof te.options.horizontalScrollMode=="undefined"?2:te.options.horizontalScrollMode;de.horizontalScrolling=ke!==2,de.context={dataSource:te.dataSource,renderer:te.renderer,controller:te.controller,dnd:te.dnd,filter:te.filter,sorter:te.sorter,tree:te.tree,accessibilityProvider:te.accessibilityProvider,options:te.options,cache:new C(te),horizontalScrolling:de.horizontalScrolling},de.modelListeners=[],de.viewListeners=[],de.items={},de.domNode=document.createElement("div"),de.domNode.className="monaco-tree no-focused-item monaco-tree-instance-"+de.instance,de.domNode.tabIndex=te.options.preventRootFocus?-1:0,de.styleElement=I.w(de.domNode),de.treeStyler=te.styler||new E(de.styleElement,"monaco-tree-instance-"+de.instance),de.domNode.setAttribute("role","tree"),de.context.options.ariaLabel&&de.domNode.setAttribute("aria-label",de.context.options.ariaLabel),de.context.options.alwaysFocused&&I.f(de.domNode,"focused"),de.context.options.paddingOnRow||I.f(de.domNode,"no-row-padding"),de.wrapper=document.createElement("div"),de.wrapper.className="monaco-tree-wrapper",de.scrollableElement=new he.b(de.wrapper,{alwaysConsumeMouseWheel:!0,horizontal:ke,vertical:typeof te.options.verticalScrollMode!="undefined"?te.options.verticalScrollMode:1,useShadows:te.options.useShadows}),de.scrollableElement.onScroll(function(Tt){de.render(Tt.scrollTop,Tt.height,Tt.scrollLeft,Tt.width,Tt.scrollWidth),de._onDidScroll.fire()}),Te.i?(de.wrapper.style.msTouchAction="none",de.wrapper.style.msContentZooming="none"):de.gestureDisposable=Ue.b.addTarget(de.wrapper),de.rowsContainer=document.createElement("div"),de.rowsContainer.className="monaco-tree-rows",te.options.showTwistie&&(de.rowsContainer.className+=" show-twisties");var lt=I.Z(de.domNode);return de.viewListeners.push(lt.onDidFocus(function(){return de.onFocus()})),de.viewListeners.push(lt.onDidBlur(function(){return de.onBlur()})),de.viewListeners.push(lt),de.viewListeners.push(I.j(de.domNode,"keydown",function(Tt){return de.onKeyDown(Tt)})),de.viewListeners.push(I.j(de.domNode,"keyup",function(Tt){return de.onKeyUp(Tt)})),de.viewListeners.push(I.j(de.domNode,"mousedown",function(Tt){return de.onMouseDown(Tt)})),de.viewListeners.push(I.j(de.domNode,"mouseup",function(Tt){return de.onMouseUp(Tt)})),de.viewListeners.push(I.j(de.wrapper,"auxclick",function(Tt){Tt&&Tt.button===1&&de.onMouseMiddleClick(Tt)})),de.viewListeners.push(I.j(de.wrapper,"click",function(Tt){return de.onClick(Tt)})),de.viewListeners.push(I.j(de.domNode,"contextmenu",function(Tt){return de.onContextMenu(Tt)})),de.viewListeners.push(I.j(de.wrapper,Ue.a.Tap,function(Tt){return de.onTap(Tt)})),de.viewListeners.push(I.j(de.wrapper,Ue.a.Change,function(Tt){return de.onTouchChange(Tt)})),Te.i&&(de.viewListeners.push(I.j(de.wrapper,"MSPointerDown",function(Tt){return de.onMsPointerDown(Tt)})),de.viewListeners.push(I.j(de.wrapper,"MSGestureTap",function(Tt){return de.onMsGestureTap(Tt)})),de.viewListeners.push(I.m(de.wrapper,"MSGestureChange",function(Tt){return de.onThrottledMsGestureChange(Tt)},function(Tt,Jt){Jt.stopPropagation(),Jt.preventDefault();var eo={translationY:Jt.translationY,translationX:Jt.translationX};return Tt&&(eo.translationY+=Tt.translationY,eo.translationX+=Tt.translationX),eo}))),de.viewListeners.push(I.j(window,"dragover",function(Tt){return de.onDragOver(Tt)})),de.viewListeners.push(I.j(de.wrapper,"drop",function(Tt){return de.onDrop(Tt)})),de.viewListeners.push(I.j(window,"dragend",function(Tt){return de.onDragEnd(Tt)})),de.viewListeners.push(I.j(window,"dragleave",function(Tt){return de.onDragOver(Tt)})),de.wrapper.appendChild(de.rowsContainer),de.domNode.appendChild(de.scrollableElement.getDomNode()),Y.appendChild(de.domNode),de.lastRenderTop=0,de.lastRenderHeight=0,de.didJustPressContextMenuKey=!1,de.currentDropTarget=null,de.currentDropTargets=[],de.shouldInvalidateDropReaction=!1,de.dragAndDropScrollInterval=null,de.dragAndDropScrollTimeout=null,de.onRowsChanged(),de.layout(),de.setupMSGesture(),de.applyStyles(te.options),de}return G.prototype.applyStyles=function(te){this.treeStyler.style(te)},G.prototype.createViewItem=function(te){return new F(this.context,te)},G.prototype.getHTMLElement=function(){return this.domNode},G.prototype.focus=function(){this.domNode.focus()},G.prototype.isFocused=function(){return document.activeElement===this.domNode},G.prototype.blur=function(){this.domNode.blur()},G.prototype.setupMSGesture=function(){var te=this;window.MSGesture&&(this.msGesture=new MSGesture,setTimeout(function(){return te.msGesture.target=te.wrapper},100))},G.prototype.isTreeVisible=function(){return this.onHiddenScrollTop===null},G.prototype.layout=function(te,Y){if(!this.isTreeVisible())return;this.viewHeight=te||I.A(this.wrapper),this.scrollHeight=this.getContentHeight(),this.horizontalScrolling&&(this.viewWidth=Y||I.B(this.wrapper))},G.prototype.render=function(te,Y,de,ke,lt){var Tt,Jt,eo=te,po=te+Y,co=this.lastRenderTop+this.lastRenderHeight;for(Tt=this.indexAfter(po)-1,Jt=this.indexAt(Math.max(co,eo));Tt>=Jt;Tt--)this.insertItemInDOM(this.itemAtIndex(Tt));for(Tt=Math.min(this.indexAt(this.lastRenderTop),this.indexAfter(po))-1,Jt=this.indexAt(eo);Tt>=Jt;Tt--)this.insertItemInDOM(this.itemAtIndex(Tt));for(Tt=this.indexAt(this.lastRenderTop),Jt=Math.min(this.indexAt(eo),this.indexAfter(co));Tt1e3,co=[],Eo=!1;if(!po){var Oo=new Fe.a({getElements:function(){return lt}},{getElements:function(){return Tt.map(function(Bo){return Bo.id})}},null);co=Oo.ComputeDiff(!1).changes,Eo=co.some(function(Go){if(Go.modifiedLength>0){for(var Bo=Go.modifiedStart,Mo=Go.modifiedStart+Go.modifiedLength;Bo0&&this.onRemoveItems(new X.a(lt,Co.originalStart,Co.originalStart+Co.originalLength)),Co.modifiedLength>0){var Wo=Tt[Co.modifiedStart-1]||de;Wo=Wo.getDepth()>0?Wo:null,this.onInsertItems(new X.a(Tt,Co.modifiedStart,Co.modifiedStart+Co.modifiedLength),Wo?Wo.id:null)}}else(po||co.length)&&(this.onRemoveItems(new X.a(lt)),this.onInsertItems(new X.a(Tt),de.getDepth()>0?de.id:null));(po||co.length)&&this.onRowsChanged()}},G.prototype.onItemRefresh=function(te){this.onItemsRefresh([te])},G.prototype.onItemsRefresh=function(te){var Y=this;this.onRefreshItemSet(te.filter(function(de){return Y.items.hasOwnProperty(de.id)})),this.onRowsChanged()},G.prototype.onItemExpanding=function(te){var Y=this.items[te.item.id];Y&&(Y.expanded=!0)},G.prototype.onItemExpanded=function(te){var Y=te.item,de=this.items[Y.id];if(de){de.expanded=!0;var ke=this.onInsertItems(Y.getNavigator(),Y.id)||0,lt=this.scrollTop;de.top+de.height<=this.scrollTop&&(lt+=ke),this.onRowsChanged(lt)}},G.prototype.onItemCollapsing=function(te){var Y=te.item,de=this.items[Y.id];de&&(de.expanded=!1,this.onRemoveItems(new X.e(Y.getNavigator(),function(ke){return ke&&ke.id})),this.onRowsChanged())},G.prototype.onItemReveal=function(te){var Y=te.item,de=te.relativeTop,ke=this.items[Y.id];if(ke)if(de!==null){de=de<0?0:de,de=de>1?1:de;var lt=ke.height-this.viewHeight;this.scrollTop=lt*de+ke.top}else{var Tt=ke.top+ke.height,Jt=this.scrollTop+this.viewHeight;ke.top=Jt&&(this.scrollTop=Tt-this.viewHeight)}},G.prototype.onItemAddTrait=function(te){var Y=te.item,de=te.trait,ke=this.items[Y.id];ke&&ke.addClass(de),de==="highlighted"&&(I.f(this.domNode,de),ke&&(this.highlightedItemWasDraggable=!!ke.draggable,ke.draggable&&(ke.draggable=!1)))},G.prototype.onItemRemoveTrait=function(te){var Y=te.item,de=te.trait,ke=this.items[Y.id];ke&&ke.removeClass(de),de==="highlighted"&&(I.P(this.domNode,de),this.highlightedItemWasDraggable&&(ke.draggable=!0),this.highlightedItemWasDraggable=!1)},G.prototype.onModelFocusChange=function(){var te=this.model&&this.model.getFocus();I.Y(this.domNode,"no-focused-item",!te),te?this.domNode.setAttribute("aria-activedescendant",Pe.L(this.context.dataSource.getId(this.context.tree,te))):this.domNode.removeAttribute("aria-activedescendant")},G.prototype.onInsertItem=function(te){var Y=this;te.onDragStart=function(de){Y.onDragStart(te,de)},te.needsRender=!0,this.refreshViewItem(te),this.items[te.id]=te},G.prototype.onRefreshItem=function(te,Y){Y===void 0&&(Y=!1),te.needsRender=te.needsRender||Y,this.refreshViewItem(te)},G.prototype.onRemoveItem=function(te){this.removeItemFromDOM(te),te.dispose(),delete this.items[te.id]},G.prototype.refreshViewItem=function(te){te.render(),this.shouldBeRendered(te)?this.insertItemInDOM(te):this.removeItemFromDOM(te)},G.prototype.onClick=function(te){if(this.lastPointerType&&this.lastPointerType!=="mouse")return;var Y=new ne.b(te),de=this.getItemAround(Y.target);if(!de)return;Te.i&&Date.now()-this.lastClickTimeStamp<300&&(Y.detail=2),this.lastClickTimeStamp=Date.now(),this.context.controller.onClick(this.context.tree,de.model.getElement(),Y)},G.prototype.onMouseMiddleClick=function(te){if(!this.context.controller.onMouseMiddleClick)return;var Y=new ne.b(te),de=this.getItemAround(Y.target);if(!de)return;this.context.controller.onMouseMiddleClick(this.context.tree,de.model.getElement(),Y)},G.prototype.onMouseDown=function(te){if(this.didJustPressContextMenuKey=!1,!this.context.controller.onMouseDown)return;if(this.lastPointerType&&this.lastPointerType!=="mouse")return;var Y=new ne.b(te);if(Y.ctrlKey&&O.f&&O.e)return;var de=this.getItemAround(Y.target);if(!de)return;this.context.controller.onMouseDown(this.context.tree,de.model.getElement(),Y)},G.prototype.onMouseUp=function(te){if(!this.context.controller.onMouseUp)return;if(this.lastPointerType&&this.lastPointerType!=="mouse")return;var Y=new ne.b(te);if(Y.ctrlKey&&O.f&&O.e)return;var de=this.getItemAround(Y.target);if(!de)return;this.context.controller.onMouseUp(this.context.tree,de.model.getElement(),Y)},G.prototype.onTap=function(te){var Y=this.getItemAround(te.initialTarget);if(!Y)return;this.context.controller.onTap(this.context.tree,Y.model.getElement(),te)},G.prototype.onTouchChange=function(te){te.preventDefault(),te.stopPropagation(),this.scrollTop-=te.translationY},G.prototype.onContextMenu=function(te){var Y,de;if(te instanceof KeyboardEvent||this.didJustPressContextMenuKey){this.didJustPressContextMenuKey=!1;var ke=new ee.a(te);de=this.model.getFocus();var lt=void 0;if(!de)de=this.model.getInput(),lt=I.C(this.inputItem.element);else{var Tt=this.context.dataSource.getId(this.context.tree,de),Jt=this.items[Tt];lt=I.C(Jt.element)}Y=new we(lt.left+lt.width,lt.top,ke)}else{var eo=new ne.b(te),po=this.getItemAround(eo.target);if(!po)return;de=po.model.getElement(),Y=new ge(eo)}this.context.controller.onContextMenu(this.context.tree,de,Y)},G.prototype.onKeyDown=function(te){var Y=new ee.a(te);if(this.didJustPressContextMenuKey=Y.keyCode===58||Y.shiftKey&&Y.keyCode===68,Y.target&&Y.target.tagName&&Y.target.tagName.toLowerCase()==="input")return;this.didJustPressContextMenuKey&&(Y.preventDefault(),Y.stopPropagation()),this.context.controller.onKeyDown(this.context.tree,Y)},G.prototype.onKeyUp=function(te){this.didJustPressContextMenuKey&&this.onContextMenu(te),this.didJustPressContextMenuKey=!1,this.context.controller.onKeyUp(this.context.tree,new ee.a(te))},G.prototype.onDragStart=function(te,Y){if(this.model.getHighlight())return;var de=te.model.getElement(),ke=this.model.getSelection(),lt;if(ke.indexOf(de)>-1?lt=ke:lt=[de],Y.dataTransfer.effectAllowed="copyMove",Y.dataTransfer.setData(Re.a.RESOURCES,JSON.stringify([te.uri])),Y.dataTransfer.setDragImage){var Tt=void 0;this.context.dnd.getDragLabel?Tt=this.context.dnd.getDragLabel(this.context.tree,lt):Tt=String(lt.length);var Jt=document.createElement("div");Jt.className="monaco-tree-drag-image",Jt.textContent=Tt,document.body.appendChild(Jt),Y.dataTransfer.setDragImage(Jt,-10,-10),setTimeout(function(){return document.body.removeChild(Jt)},0)}this.currentDragAndDropData=new ae(lt),Re.c.CurrentDragAndDropData=new q(lt),this.context.dnd.onDragStart(this.context.tree,this.currentDragAndDropData,new ne.a(Y))},G.prototype.setupDragAndDropScrollInterval=function(){var te=this,Y=I.F(this.wrapper).top;this.dragAndDropScrollInterval||(this.dragAndDropScrollInterval=window.setInterval(function(){if(te.dragAndDropMouseY===null)return;var de=te.dragAndDropMouseY-Y,ke=0,lt=te.viewHeight-35;de<35?ke=Math.max(-14,.2*(de-35)):de>lt&&(ke=Math.min(14,.2*(de-lt))),te.scrollTop+=ke},10),this.cancelDragAndDropScrollTimeout(),this.dragAndDropScrollTimeout=window.setTimeout(function(){te.cancelDragAndDropScrollInterval(),te.dragAndDropScrollTimeout=null},1e3))},G.prototype.cancelDragAndDropScrollInterval=function(){this.dragAndDropScrollInterval&&(window.clearInterval(this.dragAndDropScrollInterval),this.dragAndDropScrollInterval=null),this.cancelDragAndDropScrollTimeout()},G.prototype.cancelDragAndDropScrollTimeout=function(){this.dragAndDropScrollTimeout&&(window.clearTimeout(this.dragAndDropScrollTimeout),this.dragAndDropScrollTimeout=null)},G.prototype.onDragOver=function(te){var Y=this;te.preventDefault();var de=new ne.a(te),ke=this.getItemAround(de.target);if(!ke||de.posx===0&&de.posy===0&&de.browserEvent.type===I.d.DRAG_LEAVE)return this.currentDropTarget&&(this.currentDropTargets.forEach(function(Ao){return Ao.dropTarget=!1}),this.currentDropTargets=[],this.currentDropDisposable.dispose()),this.cancelDragAndDropScrollInterval(),this.currentDropTarget=null,this.currentDropElement=null,this.dragAndDropMouseY=null,!1;if(this.setupDragAndDropScrollInterval(),this.dragAndDropMouseY=de.posy,!this.currentDragAndDropData)if(Re.c.CurrentDragAndDropData)this.currentDragAndDropData=Re.c.CurrentDragAndDropData;else{if(!de.dataTransfer.types)return!1;this.currentDragAndDropData=new ue}this.currentDragAndDropData.update(de.browserEvent.dataTransfer);var lt,Tt=ke.model,Jt;do{if(lt=Tt?Tt.getElement():this.model.getInput(),Jt=this.context.dnd.onDragOver(this.context.tree,this.currentDragAndDropData,lt,de),!Jt||Jt.bubble!==1)break;Tt=Tt&&Tt.parent}while(Tt);if(!Tt)return this.currentDropElement=null,!1;var eo=Jt&&Jt.accept;eo?(this.currentDropElement=Tt.getElement(),de.preventDefault(),de.dataTransfer.dropEffect=Jt.effect===0?"copy":"move"):this.currentDropElement=null;var po=Tt.id===this.inputItem.id?this.inputItem:this.items[Tt.id];if((this.shouldInvalidateDropReaction||this.currentDropTarget!==po||!oe(this.currentDropElementReaction,Jt))&&(this.shouldInvalidateDropReaction=!1,this.currentDropTarget&&(this.currentDropTargets.forEach(function(Ao){return Ao.dropTarget=!1}),this.currentDropTargets=[],this.currentDropDisposable.dispose()),this.currentDropTarget=po,this.currentDropElementReaction=Jt,eo)){if(this.currentDropTarget&&(this.currentDropTarget.dropTarget=!0,this.currentDropTargets.push(this.currentDropTarget)),Jt.bubble===0)for(var co=Tt.getNavigator(),Eo=void 0;Eo=co.next();)ke=this.items[Eo.id],ke&&(ke.dropTarget=!0,this.currentDropTargets.push(ke));if(Jt.autoExpand){var Oo=Object(Ee.l)(500);this.currentDropDisposable=A.h(function(){return Oo.cancel()}),Oo.then(function(){return Y.context.tree.expand(Y.currentDropElement)}).then(function(){return Y.shouldInvalidateDropReaction=!0})}}return!0},G.prototype.onDrop=function(te){if(this.currentDropElement){var Y=new ne.a(te);Y.preventDefault(),this.currentDragAndDropData.update(Y.browserEvent.dataTransfer),this.context.dnd.drop(this.context.tree,this.currentDragAndDropData,this.currentDropElement,Y),this.onDragEnd(te)}this.cancelDragAndDropScrollInterval()},G.prototype.onDragEnd=function(te){this.currentDropTarget&&(this.currentDropTargets.forEach(function(Y){return Y.dropTarget=!1}),this.currentDropTargets=[]),this.currentDropDisposable.dispose(),this.cancelDragAndDropScrollInterval(),this.currentDragAndDropData=null,Re.c.CurrentDragAndDropData=void 0,this.currentDropElement=null,this.currentDropTarget=null,this.dragAndDropMouseY=null},G.prototype.onFocus=function(){this.context.options.alwaysFocused||I.f(this.domNode,"focused"),this._onDOMFocus.fire()},G.prototype.onBlur=function(){this.context.options.alwaysFocused||I.P(this.domNode,"focused"),this.domNode.removeAttribute("aria-activedescendant"),this._onDOMBlur.fire()},G.prototype.onMsPointerDown=function(te){if(!this.msGesture)return;var Y=te.pointerType;if(Y===(te.MSPOINTER_TYPE_MOUSE||"mouse")){this.lastPointerType="mouse";return}else if(Y===(te.MSPOINTER_TYPE_TOUCH||"touch"))this.lastPointerType="touch";else return;te.stopPropagation(),te.preventDefault(),this.msGesture.addPointer(te.pointerId)},G.prototype.onThrottledMsGestureChange=function(te){this.scrollTop-=te.translationY},G.prototype.onMsGestureTap=function(te){te.initialTarget=document.elementFromPoint(te.clientX,te.clientY),this.onTap(te)},G.prototype.insertItemInDOM=function(te){var Y=null,de=this.itemAfter(te);de&&de.element&&(Y=de.element),te.insertInDOM(this.rowsContainer,Y)},G.prototype.removeItemFromDOM=function(te){if(!te)return;te.removeFromDOM()},G.prototype.shouldBeRendered=function(te){return te.topthis.lastRenderTop},G.prototype.getItemAround=function(te){var Y=this.inputItem,de=te;do{if(de[G.BINDING]&&(Y=de[G.BINDING]),de===this.wrapper||de===this.domNode)return Y;if(de===this.scrollableElement.getDomNode()||de===document.body)return}while(de=de.parentElement);return},G.prototype.releaseModel=function(){this.model&&(this.modelListeners=A.f(this.modelListeners),this.model=null)},G.prototype.dispose=function(){var te=this;this.scrollableElement.dispose(),this.releaseModel(),this.viewListeners=A.f(this.viewListeners),this._onDOMFocus.dispose(),this._onDOMBlur.dispose(),this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.items&&Object.keys(this.items).forEach(function(Y){return te.items[Y].removeFromDOM()}),this.context.cache&&this.context.cache.dispose(),this.gestureDisposable.dispose(),fe.prototype.dispose.call(this)},G.BINDING="monaco-tree-row",G.LOADING_DECORATION_DELAY=800,G.counter=0,G}(je),De=e("zrhQ"),Se=e("qj0h"),Ve=function(){function fe(G,te,Y){if(Y===void 0&&(Y={}),this.tree=G,this.configuration=te,this.options=Y,!te.dataSource)throw new Error("You must provide a Data Source to the tree.");this.dataSource=te.dataSource,this.renderer=te.renderer,this.controller=te.controller||new s({clickBehavior:1,keyboardSupport:typeof Y.keyboardSupport!="boolean"||Y.keyboardSupport}),this.dnd=te.dnd||new l,this.filter=te.filter||new d,this.sorter=te.sorter,this.accessibilityProvider=te.accessibilityProvider||new m,this.styler=te.styler}return fe}(),Qe={listFocusBackground:De.a.fromHex("#073655"),listActiveSelectionBackground:De.a.fromHex("#0E639C"),listActiveSelectionForeground:De.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:De.a.fromHex("#094771"),listFocusAndSelectionForeground:De.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:De.a.fromHex("#3F3F46"),listHoverBackground:De.a.fromHex("#2A2D2E"),listDropBackground:De.a.fromHex("#383B3D")},it=function(){function fe(G,te,Y){Y===void 0&&(Y={}),this._onDidChangeFocus=new k.f,this.onDidChangeFocus=this._onDidChangeFocus.event,this._onDidChangeSelection=new k.f,this.onDidChangeSelection=this._onDidChangeSelection.event,this._onHighlightChange=new k.f,this._onDidExpandItem=new k.f,this._onDidCollapseItem=new k.f,this._onDispose=new k.a,this.onDidDispose=this._onDispose.event,this.container=G,Object(Se.g)(Y,Qe,!1),Y.twistiePixels=typeof Y.twistiePixels=="number"?Y.twistiePixels:32,Y.showTwistie=!(Y.showTwistie===!1),Y.indentPixels=typeof Y.indentPixels=="number"?Y.indentPixels:12,Y.alwaysFocused=Y.alwaysFocused===!0,Y.useShadows=!(Y.useShadows===!1),Y.paddingOnRow=!(Y.paddingOnRow===!1),Y.showLoading=!(Y.showLoading===!1),this.context=new Ve(this,te,Y),this.model=new Me(this.context),this.view=new be(this.context,this.container),this.view.setModel(this.model),this._onDidChangeFocus.input=this.model.onDidFocus,this._onDidChangeSelection.input=this.model.onDidSelect,this._onHighlightChange.input=this.model.onDidHighlight,this._onDidExpandItem.input=this.model.onDidExpandItem,this._onDidCollapseItem.input=this.model.onDidCollapseItem}return fe.prototype.style=function(G){this.view.applyStyles(G)},Object.defineProperty(fe.prototype,"onDidFocus",{get:function(){return this.view.onDOMFocus},enumerable:!0,configurable:!0}),fe.prototype.getHTMLElement=function(){return this.view.getHTMLElement()},fe.prototype.layout=function(G,te){this.view.layout(G,te)},fe.prototype.domFocus=function(){this.view.focus()},fe.prototype.isDOMFocused=function(){return this.view.isFocused()},fe.prototype.domBlur=function(){this.view.blur()},fe.prototype.setInput=function(G){return this.model.setInput(G)},fe.prototype.getInput=function(){return this.model.getInput()},fe.prototype.expand=function(G){return this.model.expand(G)},fe.prototype.collapse=function(G,te){return te===void 0&&(te=!1),this.model.collapse(G,te)},fe.prototype.toggleExpansion=function(G,te){return te===void 0&&(te=!1),this.model.toggleExpansion(G,te)},fe.prototype.isExpanded=function(G){return this.model.isExpanded(G)},fe.prototype.reveal=function(G,te){return te===void 0&&(te=null),this.model.reveal(G,te)},fe.prototype.getHighlight=function(){return this.model.getHighlight()},fe.prototype.clearHighlight=function(G){this.model.setHighlight(null,G)},fe.prototype.setSelection=function(G,te){this.model.setSelection(G,te)},fe.prototype.getSelection=function(){return this.model.getSelection()},fe.prototype.clearSelection=function(G){this.model.setSelection([],G)},fe.prototype.setFocus=function(G,te){this.model.setFocus(G,te)},fe.prototype.getFocus=function(){return this.model.getFocus()},fe.prototype.focusNext=function(G,te){this.model.focusNext(G,te)},fe.prototype.focusPrevious=function(G,te){this.model.focusPrevious(G,te)},fe.prototype.focusParent=function(G){this.model.focusParent(G)},fe.prototype.focusFirstChild=function(G){this.model.focusFirstChild(G)},fe.prototype.focusFirst=function(G,te){this.model.focusFirst(G,te)},fe.prototype.focusNth=function(G,te){this.model.focusNth(G,te)},fe.prototype.focusLast=function(G,te){this.model.focusLast(G,te)},fe.prototype.focusNextPage=function(G){this.view.focusNextPage(G)},fe.prototype.focusPreviousPage=function(G){this.view.focusPreviousPage(G)},fe.prototype.clearFocus=function(G){this.model.setFocus(null,G)},fe.prototype.dispose=function(){this._onDispose.fire(),this.model.dispose(),this.view.dispose(),this._onDidChangeFocus.dispose(),this._onDidChangeSelection.dispose(),this._onHighlightChange.dispose(),this._onDidExpandItem.dispose(),this._onDidCollapseItem.dispose(),this._onDispose.dispose()},fe}(),pt=e("HyZH"),Rt=function(){var fe=function(te,Y){return fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,ke){de.__proto__=ke}||function(de,ke){for(var lt in ke)ke.hasOwnProperty(lt)&&(de[lt]=ke[lt])},fe(te,Y)};return function(G,te){fe(G,te);function Y(){this.constructor=G}G.prototype=te===null?Object.create(te):(Y.prototype=te.prototype,new Y)}}(),Mt="done",zt="active",uo="infinite",ao="discrete",so="monaco-progress-container",Pt="progress-bit",ft={progressBarBackground:De.a.fromHex("#0E70C0")},vt=function(fe){Rt(G,fe);function G(te,Y){var de=fe.call(this)||this;return de.options=Y||Object.create(null),Object(Se.g)(de.options,ft,!1),de.workedVal=0,de.progressBarBackground=de.options.progressBarBackground,de._register(de.showDelayedScheduler=new Ee.d(function(){return Object(I.X)(de.element)},0)),de.create(te),de}return G.prototype.create=function(te){this.element=document.createElement("div"),Object(I.f)(this.element,so),te.appendChild(this.element),this.bit=document.createElement("div"),Object(I.f)(this.bit,Pt),this.element.appendChild(this.bit),this.applyStyles()},G.prototype.off=function(){this.bit.style.width="inherit",this.bit.style.opacity="1",Object(I.Q)(this.element,zt,uo,ao),this.workedVal=0,this.totalWork=void 0},G.prototype.stop=function(){return this.doDone(!1)},G.prototype.doDone=function(te){var Y=this;return Object(I.f)(this.element,Mt),Object(I.I)(this.element,uo)?(this.bit.style.opacity="0",te?setTimeout(function(){return Y.off()},200):this.off()):(this.bit.style.width="inherit",te?setTimeout(function(){return Y.off()},200):this.off()),this},G.prototype.hide=function(){Object(I.J)(this.element),this.showDelayedScheduler.cancel()},G.prototype.style=function(te){this.progressBarBackground=te.progressBarBackground,this.applyStyles()},G.prototype.applyStyles=function(){if(this.bit){var te=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=te}},G}(A.a),At=function(){var fe=function(te,Y){return fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,ke){de.__proto__=ke}||function(de,ke){for(var lt in ke)ke.hasOwnProperty(lt)&&(de[lt]=ke[lt])},fe(te,Y)};return function(G,te){fe(G,te);function Y(){this.constructor=G}G.prototype=te===null?Object.create(te):(Y.prototype=te.prototype,new Y)}}(),at=function(fe){At(G,fe);function G(){return fe!==null&&fe.apply(this,arguments)||this}return G.prototype.onContextMenu=function(te,Y,de){return O.e?this.onLeftClick(te,Y,de):fe.prototype.onContextMenu.call(this,te,Y,de)},G}(s),tt={background:De.a.fromHex("#1E1E1E"),foreground:De.a.fromHex("#CCCCCC"),pickerGroupForeground:De.a.fromHex("#0097FB"),pickerGroupBorder:De.a.fromHex("#3F3F46"),widgetShadow:De.a.fromHex("#000000"),progressBarBackground:De.a.fromHex("#0E70C0")},ut=z.a("quickOpenAriaLabel","Quick picker. Type to narrow down results."),Ct=function(fe){At(G,fe);function G(te,Y,de){var ke=fe.call(this)||this;return ke.isDisposed=!1,ke.container=te,ke.callbacks=Y,ke.options=de,ke.styles=de||Object.create(null),Object(Se.g)(ke.styles,tt,!1),ke.model=null,ke}return G.prototype.getModel=function(){return this.model},G.prototype.create=function(){var te=this;this.element=document.createElement("div"),I.f(this.element,"monaco-quick-open-widget"),this.container.appendChild(this.element),this._register(I.j(this.element,I.d.CONTEXT_MENU,function(de){return I.c.stop(de,!0)})),this._register(I.j(this.element,I.d.FOCUS,function(de){return te.gainingFocus()},!0)),this._register(I.j(this.element,I.d.BLUR,function(de){return te.loosingFocus(de)},!0)),this._register(I.j(this.element,I.d.KEY_DOWN,function(de){var ke=new ee.a(de);if(ke.keyCode===9)I.c.stop(de,!0),te.hide(2);else if(ke.keyCode===2&&!ke.altKey&&!ke.ctrlKey&&!ke.metaKey){var lt=de.currentTarget.querySelectorAll("input, .monaco-tree, .monaco-tree-row.focused .action-label.icon");ke.shiftKey&&ke.target===lt[0]?(I.c.stop(de,!0),lt[lt.length-1].focus()):!ke.shiftKey&&ke.target===lt[lt.length-1]&&(I.c.stop(de,!0),lt[0].focus())}})),this.progressBar=this._register(new vt(this.element,{progressBarBackground:this.styles.progressBarBackground})),this.progressBar.hide(),this.inputContainer=document.createElement("div"),I.f(this.inputContainer,"quick-open-input"),this.element.appendChild(this.inputContainer),this.inputBox=this._register(new f.b(this.inputContainer,void 0,{placeholder:this.options.inputPlaceHolder||"",ariaLabel:ut,inputBackground:this.styles.inputBackground,inputForeground:this.styles.inputForeground,inputBorder:this.styles.inputBorder,inputValidationInfoBackground:this.styles.inputValidationInfoBackground,inputValidationInfoForeground:this.styles.inputValidationInfoForeground,inputValidationInfoBorder:this.styles.inputValidationInfoBorder,inputValidationWarningBackground:this.styles.inputValidationWarningBackground,inputValidationWarningForeground:this.styles.inputValidationWarningForeground,inputValidationWarningBorder:this.styles.inputValidationWarningBorder,inputValidationErrorBackground:this.styles.inputValidationErrorBackground,inputValidationErrorForeground:this.styles.inputValidationErrorForeground,inputValidationErrorBorder:this.styles.inputValidationErrorBorder})),this.inputElement=this.inputBox.inputElement,this.inputElement.setAttribute("role","combobox"),this.inputElement.setAttribute("aria-haspopup","false"),this.inputElement.setAttribute("aria-autocomplete","list"),this._register(I.j(this.inputBox.inputElement,I.d.INPUT,function(de){return te.onType()})),this._register(I.j(this.inputBox.inputElement,I.d.KEY_DOWN,function(de){var ke=new ee.a(de),lt=te.shouldOpenInBackground(ke);if(ke.keyCode===2)return;if(ke.keyCode===18||ke.keyCode===16||ke.keyCode===12||ke.keyCode===11)I.c.stop(de,!0),te.navigateInTree(ke.keyCode,ke.shiftKey),te.inputBox.inputElement.selectionStart===te.inputBox.inputElement.selectionEnd&&(te.inputBox.inputElement.selectionStart=te.inputBox.value.length);else if(ke.keyCode===3||lt){I.c.stop(de,!0);var Tt=te.tree.getFocus();Tt&&te.elementSelected(Tt,de,lt?2:1)}})),this.resultCount=document.createElement("div"),I.f(this.resultCount,"quick-open-result-count"),this.resultCount.setAttribute("aria-live","polite"),this.resultCount.setAttribute("aria-atomic","true"),this.element.appendChild(this.resultCount),this.treeContainer=document.createElement("div"),I.f(this.treeContainer,"quick-open-tree"),this.element.appendChild(this.treeContainer);var Y=this.options.treeCreator||function(de,ke,lt){return new it(de,ke,lt)};return this.tree=this._register(Y(this.treeContainer,{dataSource:new x(this),controller:new at({clickBehavior:1,keyboardSupport:this.options.keyboardSupport}),renderer:this.renderer=new _(this,this.styles),filter:new y(this),accessibilityProvider:new u(this)},{twistiePixels:11,indentPixels:0,alwaysFocused:!0,verticalScrollMode:3,horizontalScrollMode:2,ariaLabel:z.a("treeAriaLabel","Quick Picker"),keyboardSupport:this.options.keyboardSupport,preventRootFocus:!1})),this.treeElement=this.tree.getHTMLElement(),this._register(this.tree.onDidChangeFocus(function(de){te.elementFocused(de.focus,de)})),this._register(this.tree.onDidChangeSelection(function(de){if(de.selection&&de.selection.length>0){var ke=de.payload&&de.payload.originalEvent instanceof ne.b?de.payload.originalEvent:void 0,lt=ke?te.shouldOpenInBackground(ke):!1;te.elementSelected(de.selection[0],de,lt?2:1)}})),this._register(I.j(this.treeContainer,I.d.KEY_DOWN,function(de){var ke=new ee.a(de);if(!te.quickNavigateConfiguration)return;if(ke.keyCode===18||ke.keyCode===16||ke.keyCode===12||ke.keyCode===11)I.c.stop(de,!0),te.navigateInTree(ke.keyCode);else if(ke.keyCode===3){I.c.stop(de,!0);var lt=te.tree.getFocus();lt&&te.elementSelected(lt,de)}})),this._register(I.j(this.treeContainer,I.d.KEY_UP,function(de){var ke=new ee.a(de),lt=ke.keyCode;if(!te.quickNavigateConfiguration)return;var Tt=te.quickNavigateConfiguration.keybindings,Jt=Tt.some(function(po){var co=po.getParts(),Eo=co[0],Oo=co[1];return Oo?!1:Eo.shiftKey&<===4?!(ke.ctrlKey||ke.altKey||ke.metaKey):Eo.altKey&<===6||Eo.ctrlKey&<===5?!0:!!(Eo.metaKey&<===57)});if(Jt){var eo=te.tree.getFocus();eo&&te.elementSelected(eo,de)}})),this.layoutDimensions&&this.layout(this.layoutDimensions),this.applyStyles(),this._register(I.j(this.treeContainer,I.d.KEY_DOWN,function(de){var ke=new ee.a(de);if(te.quickNavigateConfiguration)return;(ke.keyCode===18||ke.keyCode===16||ke.keyCode===12||ke.keyCode===11)&&(I.c.stop(de,!0),te.navigateInTree(ke.keyCode,ke.shiftKey),te.treeElement.focus())})),this.element},G.prototype.style=function(te){this.styles=te,this.applyStyles()},G.prototype.applyStyles=function(){if(this.element){var te=this.styles.foreground?this.styles.foreground.toString():"",Y=this.styles.background?this.styles.background.toString():"",de=this.styles.borderColor?this.styles.borderColor.toString():"",ke=this.styles.widgetShadow?this.styles.widgetShadow.toString():"";this.element.style.color=te,this.element.style.backgroundColor=Y,this.element.style.borderColor=de,this.element.style.borderWidth=de?"1px":"",this.element.style.borderStyle=de?"solid":"",this.element.style.boxShadow=ke?"0 5px 8px "+ke:""}this.progressBar&&this.progressBar.style({progressBarBackground:this.styles.progressBarBackground}),this.inputBox&&this.inputBox.style({inputBackground:this.styles.inputBackground,inputForeground:this.styles.inputForeground,inputBorder:this.styles.inputBorder,inputValidationInfoBackground:this.styles.inputValidationInfoBackground,inputValidationInfoForeground:this.styles.inputValidationInfoForeground,inputValidationInfoBorder:this.styles.inputValidationInfoBorder,inputValidationWarningBackground:this.styles.inputValidationWarningBackground,inputValidationWarningForeground:this.styles.inputValidationWarningForeground,inputValidationWarningBorder:this.styles.inputValidationWarningBorder,inputValidationErrorBackground:this.styles.inputValidationErrorBackground,inputValidationErrorForeground:this.styles.inputValidationErrorForeground,inputValidationErrorBorder:this.styles.inputValidationErrorBorder}),this.tree&&!this.options.treeCreator&&this.tree.style(this.styles),this.renderer&&this.renderer.updateStyles(this.styles)},G.prototype.shouldOpenInBackground=function(te){if(te instanceof ee.a){if(te.keyCode!==17)return!1;if(te.metaKey||te.ctrlKey||te.shiftKey||te.altKey)return!1;var Y=this.inputBox.inputElement;return Y.selectionEnd===this.inputBox.value.length&&Y.selectionStart===Y.selectionEnd}return te.middleButton},G.prototype.onType=function(){var te=this.inputBox.value;this.helpText&&(te?I.J(this.helpText):I.X(this.helpText)),this.callbacks.onType(te)},G.prototype.navigateInTree=function(te,Y){var de=this.tree.getInput(),ke=de?de.entries:[],lt=this.tree.getFocus();switch(te){case 18:this.tree.focusNext();break;case 16:this.tree.focusPrevious();break;case 12:this.tree.focusNextPage();break;case 11:this.tree.focusPreviousPage();break;case 2:Y?this.tree.focusPrevious():this.tree.focusNext();break}var Tt=this.tree.getFocus();ke.length>1&<===Tt&&(te===16||te===2&&Y?this.tree.focusLast():(te===18||te===2&&!Y)&&this.tree.focusFirst()),Tt=this.tree.getFocus(),Tt&&this.tree.reveal(Tt)},G.prototype.elementFocused=function(te,Y){if(!te||!this.isVisible())return;var de=this.treeElement.getAttribute("aria-activedescendant");de?this.inputElement.setAttribute("aria-activedescendant",de):this.inputElement.removeAttribute("aria-activedescendant");var ke={event:Y,keymods:this.extractKeyMods(Y),quickNavigateConfiguration:this.quickNavigateConfiguration};this.model.runner.run(te,0,ke)},G.prototype.elementSelected=function(te,Y,de){var ke=!0;if(this.isVisible()){var lt=de||1,Tt={event:Y,keymods:this.extractKeyMods(Y),quickNavigateConfiguration:this.quickNavigateConfiguration};ke=this.model.runner.run(te,lt,Tt)}ke&&this.hide(0)},G.prototype.extractKeyMods=function(te){return{ctrlCmd:te&&(te.ctrlKey||te.metaKey||te.payload&&te.payload.originalEvent&&(te.payload.originalEvent.ctrlKey||te.payload.originalEvent.metaKey)),alt:te&&(te.altKey||te.payload&&te.payload.originalEvent&&te.payload.originalEvent.altKey)}},G.prototype.show=function(te,Y){this.visible=!0,this.isLoosingFocus=!1,this.quickNavigateConfiguration=Y?Y.quickNavigateConfiguration:void 0,this.quickNavigateConfiguration?(I.J(this.inputContainer),I.X(this.element),this.tree.domFocus()):(I.X(this.inputContainer),I.X(this.element),this.inputBox.focus()),this.helpText&&(this.quickNavigateConfiguration||H.j(te)?I.J(this.helpText):I.X(this.helpText)),H.j(te)?this.doShowWithPrefix(te):(Y&&Y.value&&this.restoreLastInput(Y.value),this.doShowWithInput(te,Y&&Y.autoFocus?Y.autoFocus:{})),Y&&Y.inputSelection&&!this.quickNavigateConfiguration&&this.inputBox.select(Y.inputSelection),this.callbacks.onShow&&this.callbacks.onShow()},G.prototype.restoreLastInput=function(te){this.inputBox.value=te,this.inputBox.select(),this.callbacks.onType(te)},G.prototype.doShowWithPrefix=function(te){this.inputBox.value=te,this.callbacks.onType(te)},G.prototype.doShowWithInput=function(te,Y){this.setInput(te,Y)},G.prototype.setInputAndLayout=function(te,Y){var de=this;this.treeContainer.style.height=this.getHeight(te)+"px",this.tree.setInput(null).then(function(){return de.model=te,de.inputElement.setAttribute("aria-haspopup",String(te&&te.entries&&te.entries.length>0)),de.tree.setInput(te)}).then(function(){de.tree.layout();var ke=te?te.entries.filter(function(lt){return de.isElementVisible(te,lt)}):[];de.updateResultCount(ke.length),ke.length&&de.autoFocus(te,ke,Y)})},G.prototype.isElementVisible=function(te,Y){return te.filter?te.filter.isVisible(Y):!0},G.prototype.autoFocus=function(te,Y,de){if(de===void 0&&(de={}),de.autoFocusPrefixMatch){for(var ke=void 0,lt=void 0,Tt=de.autoFocusPrefixMatch,Jt=Tt.toLowerCase(),eo=0,po=Y;eode.autoFocusIndex&&(this.tree.focusNth(de.autoFocusIndex),this.tree.reveal(this.tree.getFocus())):de.autoFocusSecondEntry?Y.length>1&&this.tree.focusNth(1):de.autoFocusLastEntry&&(Y.length>1&&(this.tree.focusLast(),this.tree.reveal(this.tree.getFocus())))},G.prototype.getHeight=function(te){var Y=this,de=te.renderer;if(!te){var ke=de.getHeight(null);return this.options.minItemsToShow?this.options.minItemsToShow*ke:0}var lt=0,Tt;this.layoutDimensions&&this.layoutDimensions.height&&(Tt=(this.layoutDimensions.height-50)*.4),(!Tt||Tt>G.MAX_ITEMS_HEIGHT)&&(Tt=G.MAX_ITEMS_HEIGHT);for(var Jt=te.entries.filter(function(Eo){return Y.isElementVisible(te,Eo)}),eo=this.options.maxItemsToShow||Jt.length,po=0;po=0;Tt--)(lt=fe[Tt])&&(ke=(de<3?lt(ke):de>3?lt(G,te,ke):lt(G,te))||ke);return de>3&&ke&&Object.defineProperty(G,te,ke),ke},$e=function(fe,G){return function(te,Y){G(te,Y,fe)}},ze=function(){function fe(G,te){this.themeService=te,this.widget=null,this.rangeHighlightDecorationId=null,this.lastKnownEditorSelection=null,this.editor=G}return fe.get=function(G){return G.getContribution(fe.ID)},fe.prototype.dispose=function(){this.widget&&(this.widget.destroy(),this.widget=null)},fe.prototype.run=function(G){var te=this;this.widget&&(this.widget.destroy(),this.widget=null);var Y=function(ke){te.clearDecorations(),ke&&te.lastKnownEditorSelection&&(te.editor.setSelection(te.lastKnownEditorSelection),te.editor.revealRangeInCenterIfOutsideViewport(te.lastKnownEditorSelection,0)),te.lastKnownEditorSelection=null,(document.activeElement===document.body||!ke)&&te.editor.focus()};this.widget=new Gt(this.editor,function(){return Y(!1)},function(){return Y(!0)},function(de){te.widget.setInput(G.getModel(de),G.getAutoFocus(de))},{inputAriaLabel:G.inputAriaLabel},this.themeService),this.lastKnownEditorSelection||(this.lastKnownEditorSelection=this.editor.getSelection()),this.widget.show("")},fe.prototype.decorateLine=function(G,te){var Y=[];this.rangeHighlightDecorationId&&(Y.push(this.rangeHighlightDecorationId),this.rangeHighlightDecorationId=null);var de=[{range:G,options:fe._RANGE_HIGHLIGHT_DECORATION}],ke=te.deltaDecorations(Y,de);this.rangeHighlightDecorationId=ke[0]},fe.prototype.clearDecorations=function(){this.rangeHighlightDecorationId&&(this.editor.deltaDecorations([this.rangeHighlightDecorationId],[]),this.rangeHighlightDecorationId=null)},fe.ID="editor.controller.quickOpenController",fe._RANGE_HIGHLIGHT_DECORATION=J.a.register({className:"rangeHighlight",isWholeLine:!0}),fe=Je([$e(1,Nt.c)],fe),fe}(),Ke=function(fe){Et(G,fe);function G(te,Y){var de=fe.call(this,Y)||this;return de._inputAriaLabel=te,de}return G.prototype.getController=function(te){return ze.get(te)},G.prototype._show=function(te,Y){te.run({inputAriaLabel:this._inputAriaLabel,getModel:function(ke){return Y.getModel(ke)},getAutoFocus:function(ke){return Y.getAutoFocus(ke)}})},G}(re.b);Object(re.h)(ze.ID,ze)},s7Km:function(Lt,j,e){"use strict";e.r(j),e.d(j,"MoveWordCommand",function(){return v}),e.d(j,"WordLeftCommand",function(){return w}),e.d(j,"WordRightCommand",function(){return p}),e.d(j,"CursorWordStartLeft",function(){return c}),e.d(j,"CursorWordEndLeft",function(){return s}),e.d(j,"CursorWordLeft",function(){return l}),e.d(j,"CursorWordStartLeftSelect",function(){return d}),e.d(j,"CursorWordEndLeftSelect",function(){return m}),e.d(j,"CursorWordLeftSelect",function(){return E}),e.d(j,"CursorWordAccessibilityLeft",function(){return L}),e.d(j,"CursorWordAccessibilityLeftSelect",function(){return A}),e.d(j,"CursorWordStartRight",function(){return k}),e.d(j,"CursorWordEndRight",function(){return R}),e.d(j,"CursorWordRight",function(){return $}),e.d(j,"CursorWordStartRightSelect",function(){return ie}),e.d(j,"CursorWordEndRightSelect",function(){return W}),e.d(j,"CursorWordRightSelect",function(){return B}),e.d(j,"CursorWordAccessibilityRight",function(){return le}),e.d(j,"CursorWordAccessibilityRightSelect",function(){return Ce}),e.d(j,"DeleteWordCommand",function(){return Me}),e.d(j,"DeleteWordLeftCommand",function(){return Te}),e.d(j,"DeleteWordRightCommand",function(){return Fe}),e.d(j,"DeleteWordStartLeft",function(){return Ue}),e.d(j,"DeleteWordEndLeft",function(){return Pe}),e.d(j,"DeleteWordLeft",function(){return ne}),e.d(j,"DeleteWordStartRight",function(){return ee}),e.d(j,"DeleteWordEndRight",function(){return ae}),e.d(j,"DeleteWordRight",function(){return q});var T=e("sswD"),re=e("LCkn"),J=e("Ll0s"),I=e("1I1M"),U=e("5v8Y"),z=e("cGHE"),O=e("aokT"),H=e("gCVg"),x=e("wQH0"),u=e("R3nR"),y=e("T8No"),_=e("/UlZ"),f=function(){var ue=function(he,je){return ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Xe,me){Xe.__proto__=me}||function(Xe,me){for(var ge in me)me.hasOwnProperty(ge)&&(Xe[ge]=me[ge])},ue(he,je)};return function(X,he){ue(X,he);function je(){this.constructor=X}X.prototype=he===null?Object.create(he):(je.prototype=he.prototype,new je)}}(),v=function(ue){f(X,ue);function X(he){var je=ue.call(this,he)||this;return je._inSelectionMode=he.inSelectionMode,je._wordNavigationType=he.wordNavigationType,je}return X.prototype.runEditorCommand=function(he,je,Xe){var me=this;if(!je.hasModel())return;var ge=Object(U.a)(je.getOption(96)),we=je.getModel(),Re=je.getSelections(),Ee=Re.map(function(Q){var C=new z.a(Q.positionLineNumber,Q.positionColumn),F=me._move(ge,we,C,me._wordNavigationType);return me._moveTo(Q,F,me._inSelectionMode)});if(je._getCursors().setStates("moveWordCommand",0,Ee.map(function(Q){return J.d.fromModelSelection(Q)})),Ee.length===1){var ve=new z.a(Ee[0].positionLineNumber,Ee[0].positionColumn);je.revealPosition(ve,0)}},X.prototype._moveTo=function(he,je,Xe){return Xe?new H.a(he.selectionStartLineNumber,he.selectionStartColumn,je.lineNumber,je.column):new H.a(je.lineNumber,je.column,je.lineNumber,je.column)},X}(T.c),w=function(ue){f(X,ue);function X(){return ue!==null&&ue.apply(this,arguments)||this}return X.prototype._move=function(he,je,Xe,me){return I.a.moveWordLeft(he,je,Xe,me)},X}(v),p=function(ue){f(X,ue);function X(){return ue!==null&&ue.apply(this,arguments)||this}return X.prototype._move=function(he,je,Xe,me){return I.a.moveWordRight(he,je,Xe,me)},X}(v),c=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0,kbOpts:{kbExpr:x.a.textInputFocus,primary:2048|15,mac:{primary:512|15},weight:100}})||this}return X}(w),s=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})||this}return X}(w),l=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0})||this}return X}(w),d=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0,kbOpts:{kbExpr:x.a.textInputFocus,primary:2048|1024|15,mac:{primary:512|1024|15},weight:100}})||this}return X}(w),m=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})||this}return X}(w),E=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0})||this}return X}(w),L=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0,kbOpts:{kbExpr:y.a.and(x.a.textInputFocus,u.a),win:{primary:2048|15},weight:100+1}})||this}return X.prototype._move=function(he,je,Xe,me){return ue.prototype._move.call(this,Object(U.a)(_.e.wordSeparators.defaultValue),je,Xe,me)},X}(w),A=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0,kbOpts:{kbExpr:y.a.and(x.a.textInputFocus,u.a),win:{primary:2048|1024|15},weight:100+1}})||this}return X.prototype._move=function(he,je,Xe,me){return ue.prototype._move.call(this,Object(U.a)(_.e.wordSeparators.defaultValue),je,Xe,me)},X}(w),k=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})||this}return X}(p),R=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:x.a.textInputFocus,primary:2048|17,mac:{primary:512|17},weight:100}})||this}return X}(p),$=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})||this}return X}(p),ie=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})||this}return X}(p),W=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:x.a.textInputFocus,primary:2048|1024|17,mac:{primary:512|1024|17},weight:100}})||this}return X}(p),B=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})||this}return X}(p),le=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0,kbOpts:{kbExpr:y.a.and(x.a.textInputFocus,u.a),win:{primary:2048|17},weight:100+1}})||this}return X.prototype._move=function(he,je,Xe,me){return ue.prototype._move.call(this,Object(U.a)(_.e.wordSeparators.defaultValue),je,Xe,me)},X}(p),Ce=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0,kbOpts:{kbExpr:y.a.and(x.a.textInputFocus,u.a),win:{primary:2048|1024|17},weight:100+1}})||this}return X.prototype._move=function(he,je,Xe,me){return ue.prototype._move.call(this,Object(U.a)(_.e.wordSeparators.defaultValue),je,Xe,me)},X}(p),Me=function(ue){f(X,ue);function X(he){var je=ue.call(this,he)||this;return je._whitespaceHeuristics=he.whitespaceHeuristics,je._wordNavigationType=he.wordNavigationType,je}return X.prototype.runEditorCommand=function(he,je,Xe){var me=this;if(!je.hasModel())return;var ge=Object(U.a)(je.getOption(96)),we=je.getModel(),Re=je.getSelections(),Ee=Re.map(function(ve){var Q=me._delete(ge,we,ve,me._whitespaceHeuristics,me._wordNavigationType);return new re.a(Q,"")});je.pushUndoStop(),je.executeCommands(this.id,Ee),je.pushUndoStop()},X}(T.c),Te=function(ue){f(X,ue);function X(){return ue!==null&&ue.apply(this,arguments)||this}return X.prototype._delete=function(he,je,Xe,me,ge){var we=I.a.deleteWordLeft(he,je,Xe,me,ge);return we||new O.a(1,1,1,1)},X}(Me),Fe=function(ue){f(X,ue);function X(){return ue!==null&&ue.apply(this,arguments)||this}return X.prototype._delete=function(he,je,Xe,me,ge){var we=I.a.deleteWordRight(he,je,Xe,me,ge);if(we)return we;var Re=je.getLineCount(),Ee=je.getLineMaxColumn(Re);return new O.a(Re,Ee,Re,Ee)},X}(Me),Ue=function(ue){f(X,ue);function X(){return ue.call(this,{whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:x.a.writable})||this}return X}(Te),Pe=function(ue){f(X,ue);function X(){return ue.call(this,{whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:x.a.writable})||this}return X}(Te),ne=function(ue){f(X,ue);function X(){return ue.call(this,{whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:x.a.writable,kbOpts:{kbExpr:x.a.textInputFocus,primary:2048|1,mac:{primary:512|1},weight:100}})||this}return X}(Te),ee=function(ue){f(X,ue);function X(){return ue.call(this,{whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:x.a.writable})||this}return X}(Fe),ae=function(ue){f(X,ue);function X(){return ue.call(this,{whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:x.a.writable})||this}return X}(Fe),q=function(ue){f(X,ue);function X(){return ue.call(this,{whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:x.a.writable,kbOpts:{kbExpr:x.a.textInputFocus,primary:2048|20,mac:{primary:512|20},weight:100}})||this}return X}(Fe);Object(T.g)(new c),Object(T.g)(new s),Object(T.g)(new l),Object(T.g)(new d),Object(T.g)(new m),Object(T.g)(new E),Object(T.g)(new k),Object(T.g)(new R),Object(T.g)(new $),Object(T.g)(new ie),Object(T.g)(new W),Object(T.g)(new B),Object(T.g)(new L),Object(T.g)(new A),Object(T.g)(new le),Object(T.g)(new Ce),Object(T.g)(new Ue),Object(T.g)(new Pe),Object(T.g)(new ne),Object(T.g)(new ee),Object(T.g)(new ae),Object(T.g)(new q)},sFUC:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("iuje");function re(J){return J&&typeof J.getEditorType=="function"?J.getEditorType()===T.a.ICodeEditor:!1}},sM1p:function(Lt,j,e){"use strict";e.d(j,"a",function(){return I}),e.d(j,"b",function(){return U});var T=e("S3by"),re=e("Cg/j"),J=T.a,I=Object(re.c)("notificationService"),U=function(){function z(){}return z}()},sStQ:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return e.e(300).then(e.bind(null,"QKwv"))}})},scqD:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("themeService")},siPX:function(Lt,j,e){},snIX:function(Lt,j,e){"use strict";e.d(j,"a",function(){return z});var T=e("N0LK"),re=e("LCkn"),J=e("Ll0s"),I=e("+Fos"),U=e("aokT"),z=function(){function O(){}return O.deleteRight=function(H,x,u,y){for(var _=[],f=H!==3,v=0,w=y.length;v1){var l=u.getLineContent(s.lineNumber),d=T.q(l),m=d===-1?l.length+1:d+1;if(s.column<=m){var E=J.a.visibleColumnFromColumn2(x,u,s),L=J.a.prevIndentTabStop(E,x.indentSize),A=J.a.columnFromVisibleColumn2(x,u,s.lineNumber,L);c=new U.a(s.lineNumber,A,s.lineNumber,s.column)}else c=new U.a(s.lineNumber,s.column-1,s.lineNumber,s.column)}else{var k=I.a.left(x,u,s.lineNumber,s.column);c=new U.a(k.lineNumber,k.column,s.lineNumber,s.column)}}if(c.isEmpty()){_[v]=null;continue}c.startLineNumber!==c.endLineNumber&&(f=!0),_[v]=new re.a(c,"")}return[f,_]},O.cut=function(H,x,u){for(var y=[],_=0,f=u.length;_1?(p=w.lineNumber-1,c=x.getLineMaxColumn(w.lineNumber-1),s=w.lineNumber,l=x.getLineMaxColumn(w.lineNumber)):(p=w.lineNumber,c=1,s=w.lineNumber,l=x.getLineMaxColumn(w.lineNumber));var d=new U.a(p,c,s,l);d.isEmpty()?y[_]=null:y[_]=new re.a(d,"")}else y[_]=null;else y[_]=new re.a(v,"")}return new J.e(0,y,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},O}()},sswD:function(Lt,j,e){"use strict";e.d(j,"a",function(){return w}),e.d(j,"c",function(){return p}),e.d(j,"b",function(){return c}),e.d(j,"j",function(){return s}),e.d(j,"e",function(){return l}),e.d(j,"k",function(){return d}),e.d(j,"l",function(){return m}),e.d(j,"g",function(){return E}),e.d(j,"f",function(){return L}),e.d(j,"i",function(){return A}),e.d(j,"h",function(){return k}),e.d(j,"d",function(){return R});var T=e("/cxE"),re=e("bY76"),J=e("Vxe3"),I=e("cGHE"),U=e("G2kB"),z=e("t49l"),O=e("fjLI"),H=e("nnTU"),x=e("T8No"),u=e("nrhi"),y=e("ic2d"),_=e("XXUj"),f=e("746U"),v=function(){var W=function(le,Ce){return W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Me,Te){Me.__proto__=Te}||function(Me,Te){for(var Fe in Te)Te.hasOwnProperty(Fe)&&(Me[Fe]=Te[Fe])},W(le,Ce)};return function(B,le){W(B,le);function Ce(){this.constructor=B}B.prototype=le===null?Object.create(le):(Ce.prototype=le.prototype,new Ce)}}(),w=function(){function W(B){this.id=B.id,this.precondition=B.precondition,this._kbOpts=B.kbOpts,this._menuOpts=B.menuOpts,this._description=B.description}return W.prototype.register=function(){var B=this;if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){var le=this._kbOpts.kbExpr;this.precondition&&(le?le=x.a.and(le,this.precondition):le=this.precondition),u.a.registerCommandAndKeybindingRule({id:this.id,handler:function(Me,Te){return B.runCommand(Me,Te)},weight:this._kbOpts.weight,when:le,primary:this._kbOpts.primary,secondary:this._kbOpts.secondary,win:this._kbOpts.win,linux:this._kbOpts.linux,mac:this._kbOpts.mac,description:this._description})}else H.a.registerCommand({id:this.id,handler:function(Me,Te){return B.runCommand(Me,Te)},description:this._description})},W.prototype._registerMenuItem=function(B){O.c.appendMenuItem(B.menuId,{group:B.group,command:{id:this.id,title:B.title},when:B.when,order:B.order})},W}(),p=function(W){v(B,W);function B(){return W!==null&&W.apply(this,arguments)||this}return B.bindToContribution=function(le){return function(Ce){v(Me,Ce);function Me(Te){var Fe=Ce.call(this,Te)||this;return Fe._callback=Te.handler,Fe}return Me.prototype.runEditorCommand=function(Te,Fe,Ue){var Pe=le(Fe);Pe&&this._callback(le(Fe),Ue)},Me}(B)},B.prototype.runCommand=function(le,Ce){var Me=this,Te=le.get(J.a),Fe=Te.getFocusedCodeEditor()||Te.getActiveCodeEditor();return Fe?Fe.invokeWithinContext(function(Ue){var Pe=Ue.get(x.c);return Pe.contextMatchesRules(Object(f.n)(Me.precondition))?Me.runEditorCommand(Ue,Fe,Ce):void 0}):void 0},B}(w),c=function(W){v(B,W);function B(le){var Ce=W.call(this,B.convertOptions(le))||this;return Ce.label=le.label,Ce.alias=le.alias,Ce}return B.convertOptions=function(le){var Ce;Array.isArray(le.menuOpts)?Ce=le.menuOpts:le.menuOpts?Ce=[le.menuOpts]:Ce=[];function Me(Te){return Te.menuId||(Te.menuId=7),Te.title||(Te.title=le.label),Te.when=x.a.and(le.precondition,Te.when),Te}return Array.isArray(le.contextMenuOpts)?Ce.push.apply(Ce,le.contextMenuOpts.map(Me)):le.contextMenuOpts&&Ce.push(Me(le.contextMenuOpts)),le.menuOpts=Ce,le},B.prototype.runEditorCommand=function(le,Ce,Me){return this.reportTelemetry(le,Ce),this.run(le,Ce,Me||{})},B.prototype.reportTelemetry=function(le,Ce){le.get(_.a).publicLog2("editorActionInvoked",{name:this.label,id:this.id})},B}(p);function s(W,B){H.a.registerCommand(W,function(le,Ce){return B(le,Ce||{})})}function l(W,B){s(W,function(le,Ce){var Me=Ce.resource,Te=Ce.position;if(!(Me instanceof re.a))throw Object(T.b)("resource");if(!I.a.isIPosition(Te))throw Object(T.b)("position");var Fe=le.get(U.a).getModel(Me);if(Fe){var Ue=I.a.lift(Te);return B(Fe,Ue,Ce)}return le.get(z.a).createModelReference(Me).then(function(Pe){return new Promise(function(ne,ee){try{var ae=B(Pe.object.textEditorModel,I.a.lift(Te),Ce);ne(ae)}catch(q){ee(q)}}).finally(function(){Pe.dispose()})})})}function d(W,B){H.a.registerCommand(W,function(le){for(var Ce=[],Me=1;Me=0})}W.getSomeEditorContributions=Me;function Te(){return ie.INSTANCE.getDiffEditorContributions()}W.getDiffEditorContributions=Te})(R||(R={}));var $={EditorCommonContributions:"editor.contributions"},ie=function(){function W(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}return W.prototype.registerEditorContribution=function(B,le){this.editorContributions.push({id:B,ctor:le})},W.prototype.getEditorContributions=function(){return this.editorContributions.slice(0)},W.prototype.getDiffEditorContributions=function(){return this.diffEditorContributions.slice(0)},W.prototype.registerEditorAction=function(B){B.register(),this.editorActions.push(B)},W.prototype.getEditorActions=function(){return this.editorActions.slice(0)},W.prototype.registerEditorCommand=function(B){B.register(),this.editorCommands[B.id]=B},W.prototype.getEditorCommand=function(B){return this.editorCommands[B]||null},W.INSTANCE=new W,W}();y.a.add($.EditorCommonContributions,ie.INSTANCE)},synD:function(Lt,j,e){},t49l:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("textModelService")},t9D7:function(Lt,j,e){"use strict";e.d(j,"c",function(){return U}),e.d(j,"f",function(){return z}),e.d(j,"b",function(){return H}),e.d(j,"d",function(){return x}),e.d(j,"a",function(){return u}),e.d(j,"e",function(){return f});var T=e("Cg/j"),re=e("pmY6"),J=e("ic2d"),I=e("MI8n"),U=Object(T.c)("themeService");function z(v){return{id:v}}var O="dark",H="hc";function x(v){switch(v){case O:return"vs-dark";case H:return"hc-black";default:return"vs"}}var u={ThemingContribution:"base.contributions.theming"},y=function(){function v(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new I.a}return v.prototype.onThemeChange=function(w){var p=this;return this.themingParticipants.push(w),this.onThemingParticipantAddedEmitter.fire(w),Object(re.h)(function(){var c=p.themingParticipants.indexOf(w);p.themingParticipants.splice(c,1)})},v.prototype.getThemingParticipants=function(){return this.themingParticipants},v}(),_=new y;J.a.add(u.ThemingContribution,_);function f(v){return _.onThemeChange(v)}},tADe:function(Lt,j,e){"use strict";e.d(j,"c",function(){return I}),e.d(j,"a",function(){return U}),e.d(j,"b",function(){return z});var T=e("Cg/j"),re=e("3/fG"),J=e("S3by"),I;(function(O){O[O.Hint=1]="Hint",O[O.Info=2]="Info",O[O.Warning=4]="Warning",O[O.Error=8]="Error"})(I||(I={})),function(O){function H(f,v){return v-f}O.compare=H;var x=Object.create(null);x[O.Error]=Object(re.a)("sev.error","Error"),x[O.Warning]=Object(re.a)("sev.warning","Warning"),x[O.Info]=Object(re.a)("sev.info","Info");function u(f){return x[f]||""}O.toString=u;function y(f){switch(f){case J.a.Error:return O.Error;case J.a.Warning:return O.Warning;case J.a.Info:return O.Info;case J.a.Ignore:return O.Hint}}O.fromSeverity=y;function _(f){switch(f){case O.Error:return J.a.Error;case O.Warning:return J.a.Warning;case O.Info:return J.a.Info;case O.Hint:return J.a.Ignore}}O.toSeverity=_}(I||(I={}));var U;(function(O){var H="";function x(y){return u(y,!0)}O.makeKey=x;function u(y,_){var f=[H];return y.source?f.push(y.source.replace("\xA6","\xA6")):f.push(H),y.code?typeof y.code=="string"?f.push(y.code.replace("\xA6","\xA6")):f.push(y.code.value.replace("\xA6","\xA6")):f.push(H),y.severity!==void 0&&y.severity!==null?f.push(I.toString(y.severity)):f.push(H),y.message&&_?f.push(y.message.replace("\xA6","\xA6")):f.push(H),y.startLineNumber!==void 0&&y.startLineNumber!==null?f.push(y.startLineNumber.toString()):f.push(H),y.startColumn!==void 0&&y.startColumn!==null?f.push(y.startColumn.toString()):f.push(H),y.endLineNumber!==void 0&&y.endLineNumber!==null?f.push(y.endLineNumber.toString()):f.push(H),y.endColumn!==void 0&&y.endColumn!==null?f.push(y.endColumn.toString()):f.push(H),f.push(H),f.join("\xA6")}O.makeKeyOptionalMessage=u})(U||(U={}));var z=Object(T.c)("markerService")},tTk5:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("editorProgressService")},tX9W:function(Lt,j,e){"use strict";e.d(j,"b",function(){return mn}),e.d(j,"a",function(){return Ho});var T=e("/cxE"),re=e("MI8n"),J=e("pmY6"),I=e("N0LK"),U=e("bY76"),z=e("/UlZ"),O=e("cGHE"),H=e("aokT"),x=e("gCVg"),u=e("M1Kb"),y=function(){function _e(M,P){this.beforeVersionId=M,this.beforeCursorState=P,this.afterCursorState=null,this.afterVersionId=-1,this.editOperations=[]}return _e.prototype.undo=function(M){for(var P=this.editOperations.length-1;P>=0;P--)this.editOperations[P]={operations:M.applyEdits(this.editOperations[P].operations)}},_e.prototype.redo=function(M){for(var P=0;P0){var M=this.past.pop();try{M.undo(this.model)}catch(P){return Object(T.e)(P),this.clear(),null}return this.future.push(M),{selections:M.beforeCursorState,recordedVersionId:M.beforeVersionId}}return null},_e.prototype.canUndo=function(){return this.past.length>0||this.currentOpenStackElement!==null},_e.prototype.redo=function(){if(this.future.length>0){var M=this.future.pop();try{M.redo(this.model)}catch(P){return Object(T.e)(P),this.clear(),null}return this.past.push(M),{selections:M.afterCursorState,recordedVersionId:M.afterVersionId}}return null},_e.prototype.canRedo=function(){return this.future.length>0},_e}(),w=function(){function _e(){this.spacesDiff=0,this.looksLikeAlignment=!1}return _e}();function p(_e,M,P,Z,Ae){Ae.spacesDiff=0,Ae.looksLikeAlignment=!1;var xe;for(xe=0;xe0&&xt>0)return;if(Ht>0&&Ut>0)return;var oo=Math.abs(xt-Ut),Zt=Math.abs(ht-Ht);if(oo===0){Ae.spacesDiff=Zt,Zt>0&&0<=Ht-1&&Ht-1<_e.length&&Ht0?Ae++:Oe>1&&xe++,p(Ne,dt,Zt,He,Ht),Ht.looksLikeAlignment&&!(P&&M===Ht.spacesDiff))continue;var ye=Ht.spacesDiff;ye<=xt&&Bt[ye]++,Ne=Zt,dt=He}var We=P;Ae!==xe&&(We=Aest&&(st=Kt,Ze=mt)}),Ze===4&&Bt[4]>0&&Bt[2]>0&&Bt[2]>=Bt[4]/2&&(Ze=2)}return{insertSpaces:We,tabSize:Ze}}function s(_e){return(_e.metadata&1)>>>0}function l(_e,M){_e.metadata=_e.metadata&254|M<<0}function d(_e){return(_e.metadata&2)>>>1===1}function m(_e,M){_e.metadata=_e.metadata&253|(M?1:0)<<1}function E(_e){return(_e.metadata&4)>>>2===1}function L(_e,M){_e.metadata=_e.metadata&251|(M?1:0)<<2}function A(_e){return(_e.metadata&8)>>>3===1}function k(_e,M){_e.metadata=_e.metadata&247|(M?1:0)<<3}function R(_e){return(_e.metadata&48)>>>4}function $(_e,M){_e.metadata=_e.metadata&207|M<<4}function ie(_e){return(_e.metadata&64)>>>6===1}function W(_e,M){_e.metadata=_e.metadata&191|(M?1:0)<<6}var B=function(){function _e(M,P,Z){this.metadata=0,this.parent=this,this.left=this,this.right=this,l(this,1),this.start=P,this.end=Z,this.delta=0,this.maxEnd=Z,this.id=M,this.ownerId=0,this.options=null,L(this,!1),$(this,1),k(this,!1),W(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=P,this.cachedAbsoluteEnd=Z,this.range=null,m(this,!1)}return _e.prototype.reset=function(M,P,Z,Ae){this.start=P,this.end=Z,this.maxEnd=Z,this.cachedVersionId=M,this.cachedAbsoluteStart=P,this.cachedAbsoluteEnd=Z,this.range=Ae},_e.prototype.setOptions=function(M){this.options=M;var P=this.options.className;L(this,P==="squiggly-error"||P==="squiggly-warning"||P==="squiggly-info"),$(this,this.options.stickiness),k(this,!!(this.options.overviewRuler&&this.options.overviewRuler.color)),W(this,this.options.collapseOnReplaceEdit)},_e.prototype.setCachedOffsets=function(M,P,Z){this.cachedVersionId!==Z&&(this.range=null),this.cachedVersionId=Z,this.cachedAbsoluteStart=M,this.cachedAbsoluteEnd=P},_e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},_e}(),le=new B(null,0,0);le.parent=le,le.left=le,le.right=le,l(le,0);var Ce=function(){function _e(){this.root=le,this.requestNormalizeDelta=!1}return _e.prototype.intervalSearch=function(M,P,Z,Ae,xe){return this.root===le?[]:q(this,M,P,Z,Ae,xe)},_e.prototype.search=function(M,P,Z){return this.root===le?[]:ae(this,M,P,Z)},_e.prototype.collectNodesFromOwner=function(M){return ne(this,M)},_e.prototype.collectNodesPostOrder=function(){return ee(this)},_e.prototype.insert=function(M){ue(this,M),this._normalizeDeltaIfNecessary()},_e.prototype.delete=function(M){he(this,M),this._normalizeDeltaIfNecessary()},_e.prototype.resolveNode=function(M,P){for(var Z=M,Ae=0;M!==this.root;)M===M.parent.right&&(Ae+=M.parent.delta),M=M.parent;var xe=Z.start+Ae,Ne=Z.end+Ae;Z.setCachedOffsets(xe,Ne,P)},_e.prototype.acceptReplace=function(M,P,Z,Ae){for(var xe=Ue(this,M,M+P),Ne=0,dt=xe.length;NeP||Z===1?!1:Z===2?!0:M}function Fe(_e,M,P,Z,Ae){var xe=R(_e),Ne=xe===0||xe===2,dt=xe===1||xe===2,ht=P-M,xt=Z,Bt=Math.min(ht,xt),Ht=_e.start,Ut=!1,oo=_e.end,Zt=!1;M<=Ht&&oo<=P&&ie(_e)&&(_e.start=M,Ut=!0,_e.end=M,Zt=!0);{var fo=Ae?1:ht>0?2:0;!Ut&&Te(Ht,Ne,M,fo)&&(Ut=!0),!Zt&&Te(oo,dt,M,fo)&&(Zt=!0)}if(Bt>0&&!Ae){var fo=ht>xt?2:0;!Ut&&Te(Ht,Ne,M+Bt,fo)&&(Ut=!0),!Zt&&Te(oo,dt,M+Bt,fo)&&(Zt=!0)}{var fo=Ae?1:0;!Ut&&Te(Ht,Ne,P,fo)&&(_e.start=M+xt,Ut=!0),!Zt&&Te(oo,dt,P,fo)&&(_e.end=M+xt,Zt=!0)}var yt=xt-ht;Ut||(_e.start=Math.max(0,Ht+yt)),Zt||(_e.end=Math.max(0,oo+yt)),_e.start>_e.end&&(_e.end=_e.start)}function Ue(_e,M,P){for(var Z=_e.root,Ae=0,xe=0,Ne=0,dt=0,ht=[],xt=0;Z!==le;){if(d(Z)){m(Z.left,!1),m(Z.right,!1),Z===Z.parent.right&&(Ae-=Z.parent.delta),Z=Z.parent;continue}if(!d(Z.left)){if(xe=Ae+Z.maxEnd,xeP){m(Z,!0);continue}if(dt=Ae+Z.end,dt>=M&&(Z.setCachedOffsets(Ne,dt,0),ht[xt++]=Z),m(Z,!0),Z.right!==le&&!d(Z.right)){Ae+=Z.delta,Z=Z.right;continue}}return m(_e.root,!1),ht}function Pe(_e,M,P,Z){for(var Ae=_e.root,xe=0,Ne=0,dt=0,ht=Z-(P-M);Ae!==le;){if(d(Ae)){m(Ae.left,!1),m(Ae.right,!1),Ae===Ae.parent.right&&(xe-=Ae.parent.delta),Re(Ae),Ae=Ae.parent;continue}if(!d(Ae.left)){if(Ne=xe+Ae.maxEnd,NeP){Ae.start+=ht,Ae.end+=ht,Ae.delta+=ht,(Ae.delta<-1073741824||Ae.delta>1073741824)&&(_e.requestNormalizeDelta=!0),m(Ae,!0);continue}if(m(Ae,!0),Ae.right!==le&&!d(Ae.right)){xe+=Ae.delta,Ae=Ae.right;continue}}m(_e.root,!1)}function ne(_e,M){for(var P=_e.root,Z=[],Ae=0;P!==le;){if(d(P)){m(P.left,!1),m(P.right,!1),P=P.parent;continue}if(P.left!==le&&!d(P.left)){P=P.left;continue}if(P.ownerId===M&&(Z[Ae++]=P),m(P,!0),P.right!==le&&!d(P.right)){P=P.right;continue}}return m(_e.root,!1),Z}function ee(_e){for(var M=_e.root,P=[],Z=0;M!==le;){if(d(M)){m(M.left,!1),m(M.right,!1),M=M.parent;continue}if(M.left!==le&&!d(M.left)){M=M.left;continue}if(M.right!==le&&!d(M.right)){M=M.right;continue}P[Z++]=M,m(M,!0)}return m(_e.root,!1),P}function ae(_e,M,P,Z){for(var Ae=_e.root,xe=0,Ne=0,dt=0,ht=[],xt=0;Ae!==le;){if(d(Ae)){m(Ae.left,!1),m(Ae.right,!1),Ae===Ae.parent.right&&(xe-=Ae.parent.delta),Ae=Ae.parent;continue}if(Ae.left!==le&&!d(Ae.left)){Ae=Ae.left;continue}Ne=xe+Ae.start,dt=xe+Ae.end,Ae.setCachedOffsets(Ne,dt,Z);var Bt=!0;if(M&&Ae.ownerId&&Ae.ownerId!==M&&(Bt=!1),P&&E(Ae)&&(Bt=!1),Bt&&(ht[xt++]=Ae),m(Ae,!0),Ae.right!==le&&!d(Ae.right)){xe+=Ae.delta,Ae=Ae.right;continue}}return m(_e.root,!1),ht}function q(_e,M,P,Z,Ae,xe){for(var Ne=_e.root,dt=0,ht=0,xt=0,Bt=0,Ht=[],Ut=0;Ne!==le;){if(d(Ne)){m(Ne.left,!1),m(Ne.right,!1),Ne===Ne.parent.right&&(dt-=Ne.parent.delta),Ne=Ne.parent;continue}if(!d(Ne.left)){if(ht=dt+Ne.maxEnd,htP){m(Ne,!0);continue}if(Bt=dt+Ne.end,Bt>=M){Ne.setCachedOffsets(xt,Bt,xe);var oo=!0;Z&&Ne.ownerId&&Ne.ownerId!==Z&&(oo=!1),Ae&&E(Ne)&&(oo=!1),oo&&(Ht[Ut++]=Ne)}if(m(Ne,!0),Ne.right!==le&&!d(Ne.right)){dt+=Ne.delta,Ne=Ne.right;continue}}return m(_e.root,!1),Ht}function ue(_e,M){if(_e.root===le)return M.parent=le,M.left=le,M.right=le,l(M,0),_e.root=M,_e.root;X(_e,M),Ee(M.parent);for(var P=M;P!==_e.root&&s(P.parent)===1;)if(P.parent===P.parent.parent.left){var Z=P.parent.parent.right;s(Z)===1?(l(P.parent,0),l(Z,0),l(P.parent.parent,1),P=P.parent.parent):(P===P.parent.right&&(P=P.parent,me(_e,P)),l(P.parent,0),l(P.parent.parent,1),ge(_e,P.parent.parent))}else{var Z=P.parent.parent.left;s(Z)===1?(l(P.parent,0),l(Z,0),l(P.parent.parent,1),P=P.parent.parent):(P===P.parent.left&&(P=P.parent,ge(_e,P)),l(P.parent,0),l(P.parent.parent,1),me(_e,P.parent.parent))}return l(_e.root,0),M}function X(_e,M){for(var P=0,Z=_e.root,Ae=M.start,xe=M.end;;){var Ne=ve(Ae,xe,Z.start+P,Z.end+P);if(Ne<0)if(Z.left===le){M.start-=P,M.end-=P,M.maxEnd-=P,Z.left=M;break}else Z=Z.left;else if(Z.right===le){M.start-=P+Z.delta,M.end-=P+Z.delta,M.maxEnd-=P+Z.delta,Z.right=M;break}else P+=Z.delta,Z=Z.right}M.parent=Z,M.left=le,M.right=le,l(M,1)}function he(_e,M){var P,Z;if(M.left===le?(P=M.right,Z=M,P.delta+=M.delta,(P.delta<-1073741824||P.delta>1073741824)&&(_e.requestNormalizeDelta=!0),P.start+=M.delta,P.end+=M.delta):M.right===le?(P=M.left,Z=M):(Z=je(M.right),P=Z.right,P.start+=Z.delta,P.end+=Z.delta,P.delta+=Z.delta,(P.delta<-1073741824||P.delta>1073741824)&&(_e.requestNormalizeDelta=!0),Z.start+=M.delta,Z.end+=M.delta,Z.delta=M.delta,(Z.delta<-1073741824||Z.delta>1073741824)&&(_e.requestNormalizeDelta=!0)),Z===_e.root){_e.root=P,l(P,0),M.detach(),Xe(),Re(P),_e.root.parent=le;return}var Ae=s(Z)===1;if(Z===Z.parent.left?Z.parent.left=P:Z.parent.right=P,Z===M?P.parent=Z.parent:(Z.parent===M?P.parent=Z:P.parent=Z.parent,Z.left=M.left,Z.right=M.right,Z.parent=M.parent,l(Z,s(M)),M===_e.root?_e.root=Z:M===M.parent.left?M.parent.left=Z:M.parent.right=Z,Z.left!==le&&(Z.left.parent=Z),Z.right!==le&&(Z.right.parent=Z)),M.detach(),Ae){Ee(P.parent),Z!==M&&(Ee(Z),Ee(Z.parent)),Xe();return}Ee(P),Ee(P.parent),Z!==M&&(Ee(Z),Ee(Z.parent));for(var xe;P!==_e.root&&s(P)===0;)P===P.parent.left?(xe=P.parent.right,s(xe)===1&&(l(xe,0),l(P.parent,1),me(_e,P.parent),xe=P.parent.right),s(xe.left)===0&&s(xe.right)===0?(l(xe,1),P=P.parent):(s(xe.right)===0&&(l(xe.left,0),l(xe,1),ge(_e,xe),xe=P.parent.right),l(xe,s(P.parent)),l(P.parent,0),l(xe.right,0),me(_e,P.parent),P=_e.root)):(xe=P.parent.left,s(xe)===1&&(l(xe,0),l(P.parent,1),ge(_e,P.parent),xe=P.parent.left),s(xe.left)===0&&s(xe.right)===0?(l(xe,1),P=P.parent):(s(xe.left)===0&&(l(xe.right,0),l(xe,1),me(_e,xe),xe=P.parent.left),l(xe,s(P.parent)),l(P.parent,0),l(xe.left,0),ge(_e,P.parent),P=_e.root));l(P,0),Xe()}function je(_e){for(;_e.left!==le;)_e=_e.left;return _e}function Xe(){le.parent=le,le.delta=0,le.start=0,le.end=0}function me(_e,M){var P=M.right;P.delta+=M.delta,(P.delta<-1073741824||P.delta>1073741824)&&(_e.requestNormalizeDelta=!0),P.start+=M.delta,P.end+=M.delta,M.right=P.left,P.left!==le&&(P.left.parent=M),P.parent=M.parent,M.parent===le?_e.root=P:M===M.parent.left?M.parent.left=P:M.parent.right=P,P.left=M,M.parent=P,Re(M),Re(P)}function ge(_e,M){var P=M.left;M.delta-=P.delta,(M.delta<-1073741824||M.delta>1073741824)&&(_e.requestNormalizeDelta=!0),M.start-=P.delta,M.end-=P.delta,M.left=P.right,P.right!==le&&(P.right.parent=M),P.parent=M.parent,M.parent===le?_e.root=P:M===M.parent.right?M.parent.right=P:M.parent.left=P,P.right=M,M.parent=P,Re(M),Re(P)}function we(_e){var M=_e.end;if(_e.left!==le){var P=_e.left.maxEnd;P>M&&(M=P)}if(_e.right!==le){var Z=_e.right.maxEnd+_e.delta;Z>M&&(M=Z)}return M}function Re(_e){_e.maxEnd=we(_e)}function Ee(_e){for(;_e!==le;){var M=we(_e);if(_e.maxEnd===M)return;_e.maxEnd=M,_e=_e.parent}}function ve(_e,M,P,Z){return _e===P?M-Z:_e-P}var Q=function(){function _e(M,P){this.piece=M,this.color=P,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}return _e.prototype.next=function(){if(this.right!==C)return F(this.right);for(var M=this;M.parent!==C&&!(M.parent.left===M);)M=M.parent;return M.parent===C?C:M.parent},_e.prototype.prev=function(){if(this.left!==C)return se(this.left);for(var M=this;M.parent!==C&&!(M.parent.right===M);)M=M.parent;return M.parent===C?C:M.parent},_e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},_e}(),C=new Q(null,0);C.parent=C,C.left=C,C.right=C,C.color=0;function F(_e){for(;_e.left!==C;)_e=_e.left;return _e}function se(_e){for(;_e.right!==C;)_e=_e.right;return _e}function oe(_e){return _e===C?0:_e.size_left+_e.piece.length+oe(_e.right)}function be(_e){return _e===C?0:_e.lf_left+_e.piece.lineFeedCnt+be(_e.right)}function De(){C.parent=C}function Se(_e,M){var P=M.right;P.size_left+=M.size_left+(M.piece?M.piece.length:0),P.lf_left+=M.lf_left+(M.piece?M.piece.lineFeedCnt:0),M.right=P.left,P.left!==C&&(P.left.parent=M),P.parent=M.parent,M.parent===C?_e.root=P:M.parent.left===M?M.parent.left=P:M.parent.right=P,P.left=M,M.parent=P}function Ve(_e,M){var P=M.left;M.left=P.right,P.right!==C&&(P.right.parent=M),P.parent=M.parent,M.size_left-=P.size_left+(P.piece?P.piece.length:0),M.lf_left-=P.lf_left+(P.piece?P.piece.lineFeedCnt:0),M.parent===C?_e.root=P:M===M.parent.right?M.parent.right=P:M.parent.left=P,P.right=M,M.parent=P}function Qe(_e,M){var P,Z;if(M.left===C?(Z=M,P=Z.right):M.right===C?(Z=M,P=Z.left):(Z=F(M.right),P=Z.right),Z===_e.root){_e.root=P,P.color=0,M.detach(),De(),_e.root.parent=C;return}var Ae=Z.color===1;if(Z===Z.parent.left?Z.parent.left=P:Z.parent.right=P,Z===M?(P.parent=Z.parent,Rt(_e,P)):(Z.parent===M?P.parent=Z:P.parent=Z.parent,Rt(_e,P),Z.left=M.left,Z.right=M.right,Z.parent=M.parent,Z.color=M.color,M===_e.root?_e.root=Z:M===M.parent.left?M.parent.left=Z:M.parent.right=Z,Z.left!==C&&(Z.left.parent=Z),Z.right!==C&&(Z.right.parent=Z),Z.size_left=M.size_left,Z.lf_left=M.lf_left,Rt(_e,Z)),M.detach(),P.parent.left===P){var xe=oe(P),Ne=be(P);if(xe!==P.parent.size_left||Ne!==P.parent.lf_left){var dt=xe-P.parent.size_left,ht=Ne-P.parent.lf_left;P.parent.size_left=xe,P.parent.lf_left=Ne,pt(_e,P.parent,dt,ht)}}if(Rt(_e,P.parent),Ae){De();return}for(var xt;P!==_e.root&&P.color===0;)P===P.parent.left?(xt=P.parent.right,xt.color===1&&(xt.color=0,P.parent.color=1,Se(_e,P.parent),xt=P.parent.right),xt.left.color===0&&xt.right.color===0?(xt.color=1,P=P.parent):(xt.right.color===0&&(xt.left.color=0,xt.color=1,Ve(_e,xt),xt=P.parent.right),xt.color=P.parent.color,P.parent.color=0,xt.right.color=0,Se(_e,P.parent),P=_e.root)):(xt=P.parent.left,xt.color===1&&(xt.color=0,P.parent.color=1,Ve(_e,P.parent),xt=P.parent.left),xt.left.color===0&&xt.right.color===0?(xt.color=1,P=P.parent):(xt.left.color===0&&(xt.right.color=0,xt.color=1,Se(_e,xt),xt=P.parent.left),xt.color=P.parent.color,P.parent.color=0,xt.left.color=0,Ve(_e,P.parent),P=_e.root));P.color=0,De()}function it(_e,M){for(Rt(_e,M);M!==_e.root&&M.parent.color===1;)if(M.parent===M.parent.parent.left){var P=M.parent.parent.right;P.color===1?(M.parent.color=0,P.color=0,M.parent.parent.color=1,M=M.parent.parent):(M===M.parent.right&&(M=M.parent,Se(_e,M)),M.parent.color=0,M.parent.parent.color=1,Ve(_e,M.parent.parent))}else{var P=M.parent.parent.left;P.color===1?(M.parent.color=0,P.color=0,M.parent.parent.color=1,M=M.parent.parent):(M===M.parent.left&&(M=M.parent,Ve(_e,M)),M.parent.color=0,M.parent.parent.color=1,Se(_e,M.parent.parent))}_e.root.color=0}function pt(_e,M,P,Z){for(;M!==_e.root&&M!==C;)M.parent.left===M&&(M.parent.size_left+=P,M.parent.lf_left+=Z),M=M.parent}function Rt(_e,M){var P=0,Z=0;if(M===_e.root)return;if(P===0){for(;M!==_e.root&&M===M.parent.right;)M=M.parent;if(M===_e.root)return;M=M.parent,P=oe(M.left)-M.size_left,Z=be(M.left)-M.lf_left,M.size_left+=P,M.lf_left+=Z}for(;M!==_e.root&&(P!==0||Z!==0);)M.parent.left===M&&(M.parent.size_left+=P,M.parent.lf_left+=Z),M=M.parent}var Mt=e("jAJ/"),zt=65535;function uo(_e){var M;return _e[_e.length-1]<65536?M=new Uint16Array(_e.length):M=new Uint32Array(_e.length),M.set(_e,0),M}var ao=function(){function _e(M,P,Z,Ae,xe){this.lineStarts=M,this.cr=P,this.lf=Z,this.crlf=Ae,this.isBasicASCII=xe}return _e}();function so(_e,M){M===void 0&&(M=!0);for(var P=[0],Z=1,Ae=0,xe=_e.length;Ae126)&&(Ne=!1))}var Bt=new ao(uo(_e),Z,Ae,xe,Ne);return _e.length=0,Bt}var ft=function(){function _e(M,P,Z,Ae,xe){this.bufferIndex=M,this.start=P,this.end=Z,this.lineFeedCnt=Ae,this.length=xe}return _e}(),vt=function(){function _e(M,P){this.buffer=M,this.lineStarts=P}return _e}(),At=function(){function _e(M){this._limit=M,this._cache=[]}return _e.prototype.get=function(M){for(var P=this._cache.length-1;P>=0;P--){var Z=this._cache[P];if(Z.nodeStartOffset<=M&&Z.nodeStartOffset+Z.node.piece.length>=M)return Z}return null},_e.prototype.get2=function(M){for(var P=this._cache.length-1;P>=0;P--){var Z=this._cache[P];if(Z.nodeStartLineNumber&&Z.nodeStartLineNumber=M)return Z}return null},_e.prototype.set=function(M){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(M)},_e.prototype.valdiate=function(M){for(var P=!1,Z=this._cache,Ae=0;Ae=M){Z[Ae]=null,P=!0;continue}}if(P){for(var Ne=[],dt=0,ht=Z;dt0){M[xe].lineStarts||(M[xe].lineStarts=so(M[xe].buffer));var dt=new ft(xe+1,{line:0,column:0},{line:M[xe].lineStarts.length-1,column:M[xe].buffer.length-M[xe].lineStarts[M[xe].lineStarts.length-1]},M[xe].lineStarts.length-1,M[xe].buffer.length);this._buffers.push(M[xe]),Ae=this.rbInsertRight(Ae,dt)}this._searchCache=new At(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()},_e.prototype.normalizeEOL=function(M){var P=this,Z=zt,Ae=Z-Math.floor(Z/3),xe=Ae*2,Ne="",dt=0,ht=[];if(this.iterate(this.root,function(Bt){var Ht=P.getNodeContent(Bt),Ut=Ht.length;if(dt<=Ae||dt+Ut0){var xt=Ne.replace(/\r\n|\r|\n/g,M);ht.push(new vt(xt,so(xt)))}this.create(ht,M,!0)},_e.prototype.getEOL=function(){return this._EOL},_e.prototype.setEOL=function(M){this._EOL=M,this._EOLLength=this._EOL.length,this.normalizeEOL(M)},_e.prototype.getOffsetAt=function(M,P){for(var Z=0,Ae=this.root;Ae!==C;)if(Ae.left!==C&&Ae.lf_left+1>=M)Ae=Ae.left;else if(Ae.lf_left+Ae.piece.lineFeedCnt+1>=M){Z+=Ae.size_left;var xe=this.getAccumulatedValue(Ae,M-Ae.lf_left-2);return Z+=xe+P-1}else M-=Ae.lf_left+Ae.piece.lineFeedCnt,Z+=Ae.size_left+Ae.piece.length,Ae=Ae.right;return Z},_e.prototype.getPositionAt=function(M){M=Math.floor(M),M=Math.max(0,M);for(var P=this.root,Z=0,Ae=M;P!==C;)if(P.size_left!==0&&P.size_left>=M)P=P.left;else if(P.size_left+P.piece.length>=M){var xe=this.getIndexOf(P,M-P.size_left);if(Z+=P.lf_left+xe.index,xe.index===0){var Ne=this.getOffsetAt(Z+1,1),dt=Ae-Ne;return new O.a(Z+1,dt+1)}return new O.a(Z+1,xe.remainder+1)}else if(M-=P.size_left+P.piece.length,Z+=P.lf_left+P.piece.lineFeedCnt,P.right===C){var Ne=this.getOffsetAt(Z+1,1),dt=Ae-M-Ne;return new O.a(Z+1,dt+1)}else P=P.right;return new O.a(1,1)},_e.prototype.getValueInRange=function(M,P){if(M.startLineNumber===M.endLineNumber&&M.startColumn===M.endColumn)return"";var Z=this.nodeAt2(M.startLineNumber,M.startColumn),Ae=this.nodeAt2(M.endLineNumber,M.endColumn),xe=this.getValueInRange2(Z,Ae);return P?P!==this._EOL||!this._EOLNormalized?xe.replace(/\r\n|\r|\n/g,P):P===this.getEOL()&&this._EOLNormalized?(P===`\r -`,xe):xe.replace(/\r\n|\r|\n/g,P):xe},_e.prototype.getValueInRange2=function(M,P){if(M.node===P.node){var Z=M.node,Ae=this._buffers[Z.piece.bufferIndex].buffer,xe=this.offsetInBuffer(Z.piece.bufferIndex,Z.piece.start);return Ae.substring(xe+M.remainder,xe+P.remainder)}var Ne=M.node,dt=this._buffers[Ne.piece.bufferIndex].buffer,ht=this.offsetInBuffer(Ne.piece.bufferIndex,Ne.piece.start),xt=dt.substring(ht+M.remainder,ht+Ne.piece.length);for(Ne=Ne.next();Ne!==C;){var Bt=this._buffers[Ne.piece.bufferIndex].buffer,Ht=this.offsetInBuffer(Ne.piece.bufferIndex,Ne.piece.start);if(Ne===P.node){xt+=Bt.substring(Ht,Ht+P.remainder);break}else xt+=Bt.substr(Ht,Ne.piece.length);Ne=Ne.next()}return xt},_e.prototype.getLinesContent=function(){var M=this,P=[],Z=0,Ae="",xe=!1;return this.iterate(this.root,function(Ne){if(Ne===C)return!0;var dt=Ne.piece,ht=dt.length;if(ht===0)return!0;var xt=M._buffers[dt.bufferIndex].buffer,Bt=M._buffers[dt.bufferIndex].lineStarts,Ht=dt.start.line,Ut=dt.end.line,oo=Bt[Ht]+dt.start.column;if(xe&&(xt.charCodeAt(oo)===10&&(oo++,ht--),P[Z++]=Ae,Ae="",xe=!1,ht===0))return!0;if(Ht===Ut)return!M._EOLNormalized&&xt.charCodeAt(oo+ht-1)===13?(xe=!0,Ae+=xt.substr(oo,ht-1)):Ae+=xt.substr(oo,ht),!0;Ae+=M._EOLNormalized?xt.substring(oo,Math.max(oo,Bt[Ht+1]-M._EOLLength)):xt.substring(oo,Bt[Ht+1]).replace(/(\r\n|\r|\n)$/,""),P[Z++]=Ae;for(var Zt=Ht+1;Zt=fo)return Bt;this.positionInBuffer(M,rt(yt.index)-oo,He);var It=this.getLineFeedCnt(M.piece.bufferIndex,xe,He),pe=He.line===xe.line?He.column-xe.column+Ae:He.column+1,D=pe+yt[0].length;if(Ht[Bt++]=Object(Mt.d)(new H.a(Z+It,pe,Z+It,D),yt,ht),rt(yt.index)+yt[0].length>=fo)return Bt;if(Bt>=xt)return Bt}while(yt);return Bt},_e.prototype.findMatchesLineByLine=function(M,P,Z,Ae){var xe=[],Ne=0,dt=new Mt.b(P.wordSeparators,P.regex),ht=this.nodeAt2(M.startLineNumber,M.startColumn);if(ht===null)return[];var xt=this.nodeAt2(M.endLineNumber,M.endColumn);if(xt===null)return[];var Bt=this.positionInBuffer(ht.node,ht.remainder),Ht=this.positionInBuffer(xt.node,xt.remainder);if(ht.node===xt.node)return this.findMatchesInNode(ht.node,dt,M.startLineNumber,M.startColumn,Bt,Ht,P,Z,Ae,Ne,xe),xe;for(var Ut=M.startLineNumber,oo=ht.node;oo!==xt.node;){var Zt=this.getLineFeedCnt(oo.piece.bufferIndex,Bt,oo.piece.end);if(Zt>=1){var fo=this._buffers[oo.piece.bufferIndex].lineStarts,yt=this.offsetInBuffer(oo.piece.bufferIndex,oo.piece.start),He=fo[Bt.line+Zt],Oe=Ut===M.startLineNumber?M.startColumn:1;if(Ne=this.findMatchesInNode(oo,dt,Ut,Oe,Bt,this.positionInBuffer(oo,He-yt),P,Z,Ae,Ne,xe),Ne>=Ae)return xe;Ut+=Zt}var rt=Ut===M.startLineNumber?M.startColumn-1:0;if(Ut===M.endLineNumber){var It=this.getLineContent(Ut).substring(rt,M.endColumn-1);return Ne=this._findMatchesInLine(P,dt,It,M.endLineNumber,rt,Ne,xe,Z,Ae),xe}if(Ne=this._findMatchesInLine(P,dt,this.getLineContent(Ut).substr(rt),Ut,rt,Ne,xe,Z,Ae),Ne>=Ae)return xe;Ut++,ht=this.nodeAt2(Ut,1),oo=ht.node,Bt=this.positionInBuffer(ht.node,ht.remainder)}if(Ut===M.endLineNumber){var pe=Ut===M.startLineNumber?M.startColumn-1:0,It=this.getLineContent(Ut).substring(pe,M.endColumn-1);return Ne=this._findMatchesInLine(P,dt,It,M.endLineNumber,pe,Ne,xe,Z,Ae),xe}var D=Ut===M.startLineNumber?M.startColumn:1;return Ne=this.findMatchesInNode(xt.node,dt,Ut,D,Bt,Ht,P,Z,Ae,Ne,xe),xe},_e.prototype._findMatchesInLine=function(M,P,Z,Ae,xe,Ne,dt,ht,xt){var Bt=M.wordSeparators;if(!ht&&M.simpleSearch){for(var Ht=M.simpleSearch,Ut=Ht.length,oo=Z.length,Zt=-Ut;(Zt=Z.indexOf(Ht,Zt+Ut))!==-1;)if((!Bt||Object(Mt.e)(Bt,Z,oo,Zt,Ut))&&(dt[Ne++]=new u.b(new H.a(Ae,Zt+1+xe,Ae,Zt+1+Ut+xe),null),Ne>=xt))return Ne;return Ne}var fo;P.reset(0);do if(fo=P.next(Z),fo&&(dt[Ne++]=Object(Mt.d)(new H.a(Ae,fo.index+1+xe,Ae,fo.index+1+fo[0].length+xe),fo,ht),Ne>=xt))return Ne;while(fo);return Ne},_e.prototype.insert=function(M,P,Z){if(Z===void 0&&(Z=!1),this._EOLNormalized=this._EOLNormalized&&Z,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==C){var Ae=this.nodeAt(M),xe=Ae.node,Ne=Ae.remainder,dt=Ae.nodeStartOffset,ht=xe.piece,xt=ht.bufferIndex,Bt=this.positionInBuffer(xe,Ne);if(xe.piece.bufferIndex===0&&ht.end.line===this._lastChangeBufferPos.line&&ht.end.column===this._lastChangeBufferPos.column&&dt+ht.length===M&&P.lengthM){var Ht=[],Ut=new ft(ht.bufferIndex,Bt,ht.end,this.getLineFeedCnt(ht.bufferIndex,Bt,ht.end),this.offsetInBuffer(xt,ht.end)-this.offsetInBuffer(xt,Bt));if(this.shouldCheckCRLF()&&this.endWithCR(P)){var oo=this.nodeCharCodeAt(xe,Ne);if(oo===10){var Zt={line:Ut.start.line+1,column:0};Ut=new ft(Ut.bufferIndex,Zt,Ut.end,this.getLineFeedCnt(Ut.bufferIndex,Zt,Ut.end),Ut.length-1),P+=` -`}}if(this.shouldCheckCRLF()&&this.startWithLF(P)){var fo=this.nodeCharCodeAt(xe,Ne-1);if(fo===13){var yt=this.positionInBuffer(xe,Ne-1);this.deleteNodeTail(xe,yt),P="\r"+P,xe.piece.length===0&&Ht.push(xe)}else this.deleteNodeTail(xe,Bt)}else this.deleteNodeTail(xe,Bt);var He=this.createNewPieces(P);Ut.length>0&&this.rbInsertRight(xe,Ut);for(var Oe=xe,rt=0;rt=0;lt--)this.onInsertItem(po[lt]);for(lt=this.heightMap.length-1;lt>=ke;lt--)this.onRefreshItem(this.heightMap[lt]);return Jt},fe.prototype.onInsertItem=function(G){},fe.prototype.onRemoveItems=function(G){for(var te=null,Y,de=null,ke=0,lt=0;te=G.next();){if(ke=this.indexes[te],Y=this.heightMap[ke],!Y){console.error("view item doesnt exist");return}lt-=Y.height,delete this.indexes[te],this.onRemoveItem(Y),de===null&&(de=ke)}if(lt===0||de===null)return;for(this.heightMap.splice(de,ke-de+1),ke=de;ke=ke.top+ke.height){if(te===de)break;te=de}else return de;return this.heightMap.length},fe.prototype.indexAfter=function(G){return Math.min(this.indexAt(G)+1,this.heightMap.length)},fe.prototype.itemAtIndex=function(G){return this.heightMap[G]},fe.prototype.itemAfter=function(G){return this.heightMap[this.indexes[G.model.id]+1]||null},fe.prototype.createViewItem=function(G){throw new Error("not implemented")},fe.prototype.dispose=function(){this.heightMap=[],this.indexes={}},fe}(),Xe=function(){var fe=function(te,Y){return fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,ke){de.__proto__=ke}||function(de,ke){for(var lt in ke)ke.hasOwnProperty(lt)&&(de[lt]=ke[lt])},fe(te,Y)};return function(G,te){fe(G,te);function Y(){this.constructor=G}G.prototype=te===null?Object.create(te):(Y.prototype=te.prototype,new Y)}}(),me=function(){function fe(G,te,Y){this._posx=G,this._posy=te,this._target=Y}return fe.prototype.preventDefault=function(){},fe.prototype.stopPropagation=function(){},Object.defineProperty(fe.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),fe}(),ge=function(fe){Xe(G,fe);function G(te){var Y=fe.call(this,te.posx,te.posy,te.target)||this;return Y.originalEvent=te,Y}return G.prototype.preventDefault=function(){this.originalEvent.preventDefault()},G.prototype.stopPropagation=function(){this.originalEvent.stopPropagation()},G}(me),we=function(fe){Xe(G,fe);function G(te,Y,de){var ke=fe.call(this,te,Y,de.target)||this;return ke.originalEvent=de,ke}return G.prototype.preventDefault=function(){this.originalEvent.preventDefault()},G.prototype.stopPropagation=function(){this.originalEvent.stopPropagation()},G}(me),Re=e("ZQ78"),Ee=e("X+cX"),ve=function(){var fe=function(te,Y){return fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,ke){de.__proto__=ke}||function(de,ke){for(var lt in ke)ke.hasOwnProperty(lt)&&(de[lt]=ke[lt])},fe(te,Y)};return function(G,te){fe(G,te);function Y(){this.constructor=G}G.prototype=te===null?Object.create(te):(Y.prototype=te.prototype,new Y)}}();function Q(fe){try{fe.parentElement.removeChild(fe)}catch(G){}}var C=function(){function fe(G){this.context=G,this._cache={"":[]}}return fe.prototype.alloc=function(G){var te=this.cache(G).pop();if(!te){var Y=document.createElement("div");Y.className="content";var de=document.createElement("div");de.appendChild(Y);var ke=null;try{ke=this.context.renderer.renderTemplate(this.context.tree,G,Y)}catch(lt){console.error("Tree usage error: exception while rendering template"),console.error(lt)}te={element:de,templateId:G,templateData:ke}}return te},fe.prototype.release=function(G,te){Q(te.element),this.cache(G).push(te)},fe.prototype.cache=function(G){return this._cache[G]||(this._cache[G]=[])},fe.prototype.garbageCollect=function(){var G=this;this._cache&&Object.keys(this._cache).forEach(function(te){G._cache[te].forEach(function(Y){G.context.renderer.disposeTemplate(G.context.tree,te,Y.templateData),Y.element=null,Y.templateData=null}),delete G._cache[te]})},fe.prototype.dispose=function(){this.garbageCollect(),this._cache=null},fe}(),F=function(){function fe(G,te){var Y=this;this.width=0,this.needsRender=!1,this.uri=null,this.unbindDragStart=A.a.None,this._draggable=!1,this.context=G,this.model=te,this.id=this.model.id,this.row=null,this.top=0,this.height=te.getHeight(),this._styles={},te.getAllTraits().forEach(function(de){return Y._styles[de]=!0}),te.isExpanded()&&this.addClass("expanded")}return Object.defineProperty(fe.prototype,"expanded",{set:function(te){te?this.addClass("expanded"):this.removeClass("expanded")},enumerable:!0,configurable:!0}),Object.defineProperty(fe.prototype,"loading",{set:function(te){te?this.addClass("codicon-loading"):this.removeClass("codicon-loading")},enumerable:!0,configurable:!0}),Object.defineProperty(fe.prototype,"draggable",{get:function(){return this._draggable},set:function(te){this._draggable=te,this.render(!0)},enumerable:!0,configurable:!0}),Object.defineProperty(fe.prototype,"dropTarget",{set:function(te){te?this.addClass("drop-target"):this.removeClass("drop-target")},enumerable:!0,configurable:!0}),Object.defineProperty(fe.prototype,"element",{get:function(){return this.row&&this.row.element},enumerable:!0,configurable:!0}),Object.defineProperty(fe.prototype,"templateId",{get:function(){return this._templateId||(this._templateId=this.context.renderer.getTemplateId&&this.context.renderer.getTemplateId(this.context.tree,this.model.getElement()))},enumerable:!0,configurable:!0}),fe.prototype.addClass=function(G){this._styles[G]=!0,this.render(!0)},fe.prototype.removeClass=function(G){delete this._styles[G],this.render(!0)},fe.prototype.render=function(G){var te=this;if(G===void 0&&(G=!1),!this.model||!this.element)return;var Y=["monaco-tree-row"];Y.push.apply(Y,Object.keys(this._styles)),this.model.hasChildren()&&Y.push("has-children"),this.element.className=Y.join(" "),this.element.draggable=this.draggable,this.element.style.height=this.height+"px",this.element.setAttribute("role","treeitem");var de=this.context.accessibilityProvider,ke=de.getAriaLabel(this.context.tree,this.model.getElement());if(ke&&this.element.setAttribute("aria-label",ke),de.getPosInSet&&de.getSetSize&&(this.element.setAttribute("aria-setsize",de.getSetSize()),this.element.setAttribute("aria-posinset",de.getPosInSet(this.context.tree,this.model.getElement()))),this.model.hasTrait("focused")){var lt=Pe.L(this.model.id);this.element.setAttribute("aria-selected","true"),this.element.setAttribute("id",lt)}else this.element.setAttribute("aria-selected","false"),this.element.removeAttribute("id");this.model.hasChildren()?this.element.setAttribute("aria-expanded",String(!!this._styles.expanded)):this.element.removeAttribute("aria-expanded"),this.element.setAttribute("aria-level",String(this.model.getDepth())),this.context.options.paddingOnRow?this.element.style.paddingLeft=this.context.options.twistiePixels+(this.model.getDepth()-1)*this.context.options.indentPixels+"px":(this.element.style.paddingLeft=(this.model.getDepth()-1)*this.context.options.indentPixels+"px",this.row.element.firstElementChild.style.paddingLeft=this.context.options.twistiePixels+"px");var Tt=this.context.dnd.getDragURI(this.context.tree,this.model.getElement());if(Tt!==this.uri&&(this.unbindDragStart&&this.unbindDragStart.dispose(),Tt?(this.uri=Tt,this.draggable=!0,this.unbindDragStart=I.j(this.element,"dragstart",function(po){te.onDragStart(po)})):this.uri=null),!G&&this.element){var Jt=0;if(this.context.horizontalScrolling){var eo=window.getComputedStyle(this.element);Jt=parseFloat(eo.paddingLeft)}this.context.horizontalScrolling&&(this.element.style.width=Te.h?"-moz-fit-content":"fit-content");try{this.context.renderer.renderElement(this.context.tree,this.model.getElement(),this.templateId,this.row.templateData)}catch(po){console.error("Tree usage error: exception while rendering element"),console.error(po)}this.context.horizontalScrolling&&(this.width=I.B(this.element)+Jt,this.element.style.width="")}},fe.prototype.insertInDOM=function(G,te){if(this.row||(this.row=this.context.cache.alloc(this.templateId),this.element[be.BINDING]=this),this.element.parentElement)return;if(te===null)G.appendChild(this.element);else try{G.insertBefore(this.element,te)}catch(Y){console.warn("Failed to locate previous tree element"),G.appendChild(this.element)}this.render()},fe.prototype.removeFromDOM=function(){if(!this.row)return;this.unbindDragStart.dispose(),this.uri=null,this.element[be.BINDING]=null,this.context.cache.release(this.templateId,this.row),this.row=null},fe.prototype.dispose=function(){this.row=null},fe}(),se=function(fe){ve(G,fe);function G(te,Y,de){var ke=fe.call(this,te,Y)||this;return ke.row={element:de,templateData:null,templateId:null},ke}return G.prototype.render=function(){if(!this.model||!this.element)return;var te=["monaco-tree-wrapper"];te.push.apply(te,Object.keys(this._styles)),this.model.hasChildren()&&te.push("has-children"),this.element.className=te.join(" ")},G.prototype.insertInDOM=function(te,Y){},G.prototype.removeFromDOM=function(){},G}(F);function oe(fe,G){return!fe&&!G?!0:!fe||!G||(fe.accept!==G.accept||fe.bubble!==G.bubble)?!1:!(fe.effect!==G.effect)}var be=function(fe){ve(G,fe);function G(te,Y){var de=fe.call(this)||this;de.model=null,de.lastPointerType="",de.lastClickTimeStamp=0,de.contentWidthUpdateDelayer=new Ee.a(50),de.isRefreshing=!1,de.refreshingPreviousChildrenIds={},de.currentDragAndDropData=null,de.currentDropTarget=null,de.currentDropTargets=null,de.currentDropDisposable=A.a.None,de.gestureDisposable=A.a.None,de.dragAndDropScrollInterval=null,de.dragAndDropScrollTimeout=null,de.dragAndDropMouseY=null,de.highlightedItemWasDraggable=!1,de.onHiddenScrollTop=null,de._onDOMFocus=new k.a,de.onDOMFocus=de._onDOMFocus.event,de._onDOMBlur=new k.a,de._onDidScroll=new k.a,G.counter++,de.instance=G.counter;var ke=typeof te.options.horizontalScrollMode=="undefined"?2:te.options.horizontalScrollMode;de.horizontalScrolling=ke!==2,de.context={dataSource:te.dataSource,renderer:te.renderer,controller:te.controller,dnd:te.dnd,filter:te.filter,sorter:te.sorter,tree:te.tree,accessibilityProvider:te.accessibilityProvider,options:te.options,cache:new C(te),horizontalScrolling:de.horizontalScrolling},de.modelListeners=[],de.viewListeners=[],de.items={},de.domNode=document.createElement("div"),de.domNode.className="monaco-tree no-focused-item monaco-tree-instance-"+de.instance,de.domNode.tabIndex=te.options.preventRootFocus?-1:0,de.styleElement=I.w(de.domNode),de.treeStyler=te.styler||new E(de.styleElement,"monaco-tree-instance-"+de.instance),de.domNode.setAttribute("role","tree"),de.context.options.ariaLabel&&de.domNode.setAttribute("aria-label",de.context.options.ariaLabel),de.context.options.alwaysFocused&&I.f(de.domNode,"focused"),de.context.options.paddingOnRow||I.f(de.domNode,"no-row-padding"),de.wrapper=document.createElement("div"),de.wrapper.className="monaco-tree-wrapper",de.scrollableElement=new he.b(de.wrapper,{alwaysConsumeMouseWheel:!0,horizontal:ke,vertical:typeof te.options.verticalScrollMode!="undefined"?te.options.verticalScrollMode:1,useShadows:te.options.useShadows}),de.scrollableElement.onScroll(function(Tt){de.render(Tt.scrollTop,Tt.height,Tt.scrollLeft,Tt.width,Tt.scrollWidth),de._onDidScroll.fire()}),Te.i?(de.wrapper.style.msTouchAction="none",de.wrapper.style.msContentZooming="none"):de.gestureDisposable=He.b.addTarget(de.wrapper),de.rowsContainer=document.createElement("div"),de.rowsContainer.className="monaco-tree-rows",te.options.showTwistie&&(de.rowsContainer.className+=" show-twisties");var lt=I.Z(de.domNode);return de.viewListeners.push(lt.onDidFocus(function(){return de.onFocus()})),de.viewListeners.push(lt.onDidBlur(function(){return de.onBlur()})),de.viewListeners.push(lt),de.viewListeners.push(I.j(de.domNode,"keydown",function(Tt){return de.onKeyDown(Tt)})),de.viewListeners.push(I.j(de.domNode,"keyup",function(Tt){return de.onKeyUp(Tt)})),de.viewListeners.push(I.j(de.domNode,"mousedown",function(Tt){return de.onMouseDown(Tt)})),de.viewListeners.push(I.j(de.domNode,"mouseup",function(Tt){return de.onMouseUp(Tt)})),de.viewListeners.push(I.j(de.wrapper,"auxclick",function(Tt){Tt&&Tt.button===1&&de.onMouseMiddleClick(Tt)})),de.viewListeners.push(I.j(de.wrapper,"click",function(Tt){return de.onClick(Tt)})),de.viewListeners.push(I.j(de.domNode,"contextmenu",function(Tt){return de.onContextMenu(Tt)})),de.viewListeners.push(I.j(de.wrapper,He.a.Tap,function(Tt){return de.onTap(Tt)})),de.viewListeners.push(I.j(de.wrapper,He.a.Change,function(Tt){return de.onTouchChange(Tt)})),Te.i&&(de.viewListeners.push(I.j(de.wrapper,"MSPointerDown",function(Tt){return de.onMsPointerDown(Tt)})),de.viewListeners.push(I.j(de.wrapper,"MSGestureTap",function(Tt){return de.onMsGestureTap(Tt)})),de.viewListeners.push(I.m(de.wrapper,"MSGestureChange",function(Tt){return de.onThrottledMsGestureChange(Tt)},function(Tt,Jt){Jt.stopPropagation(),Jt.preventDefault();var eo={translationY:Jt.translationY,translationX:Jt.translationX};return Tt&&(eo.translationY+=Tt.translationY,eo.translationX+=Tt.translationX),eo}))),de.viewListeners.push(I.j(window,"dragover",function(Tt){return de.onDragOver(Tt)})),de.viewListeners.push(I.j(de.wrapper,"drop",function(Tt){return de.onDrop(Tt)})),de.viewListeners.push(I.j(window,"dragend",function(Tt){return de.onDragEnd(Tt)})),de.viewListeners.push(I.j(window,"dragleave",function(Tt){return de.onDragOver(Tt)})),de.wrapper.appendChild(de.rowsContainer),de.domNode.appendChild(de.scrollableElement.getDomNode()),Y.appendChild(de.domNode),de.lastRenderTop=0,de.lastRenderHeight=0,de.didJustPressContextMenuKey=!1,de.currentDropTarget=null,de.currentDropTargets=[],de.shouldInvalidateDropReaction=!1,de.dragAndDropScrollInterval=null,de.dragAndDropScrollTimeout=null,de.onRowsChanged(),de.layout(),de.setupMSGesture(),de.applyStyles(te.options),de}return G.prototype.applyStyles=function(te){this.treeStyler.style(te)},G.prototype.createViewItem=function(te){return new F(this.context,te)},G.prototype.getHTMLElement=function(){return this.domNode},G.prototype.focus=function(){this.domNode.focus()},G.prototype.isFocused=function(){return document.activeElement===this.domNode},G.prototype.blur=function(){this.domNode.blur()},G.prototype.setupMSGesture=function(){var te=this;window.MSGesture&&(this.msGesture=new MSGesture,setTimeout(function(){return te.msGesture.target=te.wrapper},100))},G.prototype.isTreeVisible=function(){return this.onHiddenScrollTop===null},G.prototype.layout=function(te,Y){if(!this.isTreeVisible())return;this.viewHeight=te||I.A(this.wrapper),this.scrollHeight=this.getContentHeight(),this.horizontalScrolling&&(this.viewWidth=Y||I.B(this.wrapper))},G.prototype.render=function(te,Y,de,ke,lt){var Tt,Jt,eo=te,po=te+Y,co=this.lastRenderTop+this.lastRenderHeight;for(Tt=this.indexAfter(po)-1,Jt=this.indexAt(Math.max(co,eo));Tt>=Jt;Tt--)this.insertItemInDOM(this.itemAtIndex(Tt));for(Tt=Math.min(this.indexAt(this.lastRenderTop),this.indexAfter(po))-1,Jt=this.indexAt(eo);Tt>=Jt;Tt--)this.insertItemInDOM(this.itemAtIndex(Tt));for(Tt=this.indexAt(this.lastRenderTop),Jt=Math.min(this.indexAt(eo),this.indexAfter(co));Tt1e3,co=[],Eo=!1;if(!po){var Oo=new Fe.a({getElements:function(){return lt}},{getElements:function(){return Tt.map(function(Bo){return Bo.id})}},null);co=Oo.ComputeDiff(!1).changes,Eo=co.some(function(Go){if(Go.modifiedLength>0){for(var Bo=Go.modifiedStart,Mo=Go.modifiedStart+Go.modifiedLength;Bo0&&this.onRemoveItems(new X.a(lt,Co.originalStart,Co.originalStart+Co.originalLength)),Co.modifiedLength>0){var Wo=Tt[Co.modifiedStart-1]||de;Wo=Wo.getDepth()>0?Wo:null,this.onInsertItems(new X.a(Tt,Co.modifiedStart,Co.modifiedStart+Co.modifiedLength),Wo?Wo.id:null)}}else(po||co.length)&&(this.onRemoveItems(new X.a(lt)),this.onInsertItems(new X.a(Tt),de.getDepth()>0?de.id:null));(po||co.length)&&this.onRowsChanged()}},G.prototype.onItemRefresh=function(te){this.onItemsRefresh([te])},G.prototype.onItemsRefresh=function(te){var Y=this;this.onRefreshItemSet(te.filter(function(de){return Y.items.hasOwnProperty(de.id)})),this.onRowsChanged()},G.prototype.onItemExpanding=function(te){var Y=this.items[te.item.id];Y&&(Y.expanded=!0)},G.prototype.onItemExpanded=function(te){var Y=te.item,de=this.items[Y.id];if(de){de.expanded=!0;var ke=this.onInsertItems(Y.getNavigator(),Y.id)||0,lt=this.scrollTop;de.top+de.height<=this.scrollTop&&(lt+=ke),this.onRowsChanged(lt)}},G.prototype.onItemCollapsing=function(te){var Y=te.item,de=this.items[Y.id];de&&(de.expanded=!1,this.onRemoveItems(new X.e(Y.getNavigator(),function(ke){return ke&&ke.id})),this.onRowsChanged())},G.prototype.onItemReveal=function(te){var Y=te.item,de=te.relativeTop,ke=this.items[Y.id];if(ke)if(de!==null){de=de<0?0:de,de=de>1?1:de;var lt=ke.height-this.viewHeight;this.scrollTop=lt*de+ke.top}else{var Tt=ke.top+ke.height,Jt=this.scrollTop+this.viewHeight;ke.top=Jt&&(this.scrollTop=Tt-this.viewHeight)}},G.prototype.onItemAddTrait=function(te){var Y=te.item,de=te.trait,ke=this.items[Y.id];ke&&ke.addClass(de),de==="highlighted"&&(I.f(this.domNode,de),ke&&(this.highlightedItemWasDraggable=!!ke.draggable,ke.draggable&&(ke.draggable=!1)))},G.prototype.onItemRemoveTrait=function(te){var Y=te.item,de=te.trait,ke=this.items[Y.id];ke&&ke.removeClass(de),de==="highlighted"&&(I.P(this.domNode,de),this.highlightedItemWasDraggable&&(ke.draggable=!0),this.highlightedItemWasDraggable=!1)},G.prototype.onModelFocusChange=function(){var te=this.model&&this.model.getFocus();I.Y(this.domNode,"no-focused-item",!te),te?this.domNode.setAttribute("aria-activedescendant",Pe.L(this.context.dataSource.getId(this.context.tree,te))):this.domNode.removeAttribute("aria-activedescendant")},G.prototype.onInsertItem=function(te){var Y=this;te.onDragStart=function(de){Y.onDragStart(te,de)},te.needsRender=!0,this.refreshViewItem(te),this.items[te.id]=te},G.prototype.onRefreshItem=function(te,Y){Y===void 0&&(Y=!1),te.needsRender=te.needsRender||Y,this.refreshViewItem(te)},G.prototype.onRemoveItem=function(te){this.removeItemFromDOM(te),te.dispose(),delete this.items[te.id]},G.prototype.refreshViewItem=function(te){te.render(),this.shouldBeRendered(te)?this.insertItemInDOM(te):this.removeItemFromDOM(te)},G.prototype.onClick=function(te){if(this.lastPointerType&&this.lastPointerType!=="mouse")return;var Y=new ne.b(te),de=this.getItemAround(Y.target);if(!de)return;Te.i&&Date.now()-this.lastClickTimeStamp<300&&(Y.detail=2),this.lastClickTimeStamp=Date.now(),this.context.controller.onClick(this.context.tree,de.model.getElement(),Y)},G.prototype.onMouseMiddleClick=function(te){if(!this.context.controller.onMouseMiddleClick)return;var Y=new ne.b(te),de=this.getItemAround(Y.target);if(!de)return;this.context.controller.onMouseMiddleClick(this.context.tree,de.model.getElement(),Y)},G.prototype.onMouseDown=function(te){if(this.didJustPressContextMenuKey=!1,!this.context.controller.onMouseDown)return;if(this.lastPointerType&&this.lastPointerType!=="mouse")return;var Y=new ne.b(te);if(Y.ctrlKey&&O.f&&O.e)return;var de=this.getItemAround(Y.target);if(!de)return;this.context.controller.onMouseDown(this.context.tree,de.model.getElement(),Y)},G.prototype.onMouseUp=function(te){if(!this.context.controller.onMouseUp)return;if(this.lastPointerType&&this.lastPointerType!=="mouse")return;var Y=new ne.b(te);if(Y.ctrlKey&&O.f&&O.e)return;var de=this.getItemAround(Y.target);if(!de)return;this.context.controller.onMouseUp(this.context.tree,de.model.getElement(),Y)},G.prototype.onTap=function(te){var Y=this.getItemAround(te.initialTarget);if(!Y)return;this.context.controller.onTap(this.context.tree,Y.model.getElement(),te)},G.prototype.onTouchChange=function(te){te.preventDefault(),te.stopPropagation(),this.scrollTop-=te.translationY},G.prototype.onContextMenu=function(te){var Y,de;if(te instanceof KeyboardEvent||this.didJustPressContextMenuKey){this.didJustPressContextMenuKey=!1;var ke=new ee.a(te);de=this.model.getFocus();var lt=void 0;if(!de)de=this.model.getInput(),lt=I.C(this.inputItem.element);else{var Tt=this.context.dataSource.getId(this.context.tree,de),Jt=this.items[Tt];lt=I.C(Jt.element)}Y=new we(lt.left+lt.width,lt.top,ke)}else{var eo=new ne.b(te),po=this.getItemAround(eo.target);if(!po)return;de=po.model.getElement(),Y=new ge(eo)}this.context.controller.onContextMenu(this.context.tree,de,Y)},G.prototype.onKeyDown=function(te){var Y=new ee.a(te);if(this.didJustPressContextMenuKey=Y.keyCode===58||Y.shiftKey&&Y.keyCode===68,Y.target&&Y.target.tagName&&Y.target.tagName.toLowerCase()==="input")return;this.didJustPressContextMenuKey&&(Y.preventDefault(),Y.stopPropagation()),this.context.controller.onKeyDown(this.context.tree,Y)},G.prototype.onKeyUp=function(te){this.didJustPressContextMenuKey&&this.onContextMenu(te),this.didJustPressContextMenuKey=!1,this.context.controller.onKeyUp(this.context.tree,new ee.a(te))},G.prototype.onDragStart=function(te,Y){if(this.model.getHighlight())return;var de=te.model.getElement(),ke=this.model.getSelection(),lt;if(ke.indexOf(de)>-1?lt=ke:lt=[de],Y.dataTransfer.effectAllowed="copyMove",Y.dataTransfer.setData(Re.a.RESOURCES,JSON.stringify([te.uri])),Y.dataTransfer.setDragImage){var Tt=void 0;this.context.dnd.getDragLabel?Tt=this.context.dnd.getDragLabel(this.context.tree,lt):Tt=String(lt.length);var Jt=document.createElement("div");Jt.className="monaco-tree-drag-image",Jt.textContent=Tt,document.body.appendChild(Jt),Y.dataTransfer.setDragImage(Jt,-10,-10),setTimeout(function(){return document.body.removeChild(Jt)},0)}this.currentDragAndDropData=new ae(lt),Re.c.CurrentDragAndDropData=new q(lt),this.context.dnd.onDragStart(this.context.tree,this.currentDragAndDropData,new ne.a(Y))},G.prototype.setupDragAndDropScrollInterval=function(){var te=this,Y=I.F(this.wrapper).top;this.dragAndDropScrollInterval||(this.dragAndDropScrollInterval=window.setInterval(function(){if(te.dragAndDropMouseY===null)return;var de=te.dragAndDropMouseY-Y,ke=0,lt=te.viewHeight-35;de<35?ke=Math.max(-14,.2*(de-35)):de>lt&&(ke=Math.min(14,.2*(de-lt))),te.scrollTop+=ke},10),this.cancelDragAndDropScrollTimeout(),this.dragAndDropScrollTimeout=window.setTimeout(function(){te.cancelDragAndDropScrollInterval(),te.dragAndDropScrollTimeout=null},1e3))},G.prototype.cancelDragAndDropScrollInterval=function(){this.dragAndDropScrollInterval&&(window.clearInterval(this.dragAndDropScrollInterval),this.dragAndDropScrollInterval=null),this.cancelDragAndDropScrollTimeout()},G.prototype.cancelDragAndDropScrollTimeout=function(){this.dragAndDropScrollTimeout&&(window.clearTimeout(this.dragAndDropScrollTimeout),this.dragAndDropScrollTimeout=null)},G.prototype.onDragOver=function(te){var Y=this;te.preventDefault();var de=new ne.a(te),ke=this.getItemAround(de.target);if(!ke||de.posx===0&&de.posy===0&&de.browserEvent.type===I.d.DRAG_LEAVE)return this.currentDropTarget&&(this.currentDropTargets.forEach(function(Ao){return Ao.dropTarget=!1}),this.currentDropTargets=[],this.currentDropDisposable.dispose()),this.cancelDragAndDropScrollInterval(),this.currentDropTarget=null,this.currentDropElement=null,this.dragAndDropMouseY=null,!1;if(this.setupDragAndDropScrollInterval(),this.dragAndDropMouseY=de.posy,!this.currentDragAndDropData)if(Re.c.CurrentDragAndDropData)this.currentDragAndDropData=Re.c.CurrentDragAndDropData;else{if(!de.dataTransfer.types)return!1;this.currentDragAndDropData=new ue}this.currentDragAndDropData.update(de.browserEvent.dataTransfer);var lt,Tt=ke.model,Jt;do{if(lt=Tt?Tt.getElement():this.model.getInput(),Jt=this.context.dnd.onDragOver(this.context.tree,this.currentDragAndDropData,lt,de),!Jt||Jt.bubble!==1)break;Tt=Tt&&Tt.parent}while(Tt);if(!Tt)return this.currentDropElement=null,!1;var eo=Jt&&Jt.accept;eo?(this.currentDropElement=Tt.getElement(),de.preventDefault(),de.dataTransfer.dropEffect=Jt.effect===0?"copy":"move"):this.currentDropElement=null;var po=Tt.id===this.inputItem.id?this.inputItem:this.items[Tt.id];if((this.shouldInvalidateDropReaction||this.currentDropTarget!==po||!oe(this.currentDropElementReaction,Jt))&&(this.shouldInvalidateDropReaction=!1,this.currentDropTarget&&(this.currentDropTargets.forEach(function(Ao){return Ao.dropTarget=!1}),this.currentDropTargets=[],this.currentDropDisposable.dispose()),this.currentDropTarget=po,this.currentDropElementReaction=Jt,eo)){if(this.currentDropTarget&&(this.currentDropTarget.dropTarget=!0,this.currentDropTargets.push(this.currentDropTarget)),Jt.bubble===0)for(var co=Tt.getNavigator(),Eo=void 0;Eo=co.next();)ke=this.items[Eo.id],ke&&(ke.dropTarget=!0,this.currentDropTargets.push(ke));if(Jt.autoExpand){var Oo=Object(Ee.l)(500);this.currentDropDisposable=A.h(function(){return Oo.cancel()}),Oo.then(function(){return Y.context.tree.expand(Y.currentDropElement)}).then(function(){return Y.shouldInvalidateDropReaction=!0})}}return!0},G.prototype.onDrop=function(te){if(this.currentDropElement){var Y=new ne.a(te);Y.preventDefault(),this.currentDragAndDropData.update(Y.browserEvent.dataTransfer),this.context.dnd.drop(this.context.tree,this.currentDragAndDropData,this.currentDropElement,Y),this.onDragEnd(te)}this.cancelDragAndDropScrollInterval()},G.prototype.onDragEnd=function(te){this.currentDropTarget&&(this.currentDropTargets.forEach(function(Y){return Y.dropTarget=!1}),this.currentDropTargets=[]),this.currentDropDisposable.dispose(),this.cancelDragAndDropScrollInterval(),this.currentDragAndDropData=null,Re.c.CurrentDragAndDropData=void 0,this.currentDropElement=null,this.currentDropTarget=null,this.dragAndDropMouseY=null},G.prototype.onFocus=function(){this.context.options.alwaysFocused||I.f(this.domNode,"focused"),this._onDOMFocus.fire()},G.prototype.onBlur=function(){this.context.options.alwaysFocused||I.P(this.domNode,"focused"),this.domNode.removeAttribute("aria-activedescendant"),this._onDOMBlur.fire()},G.prototype.onMsPointerDown=function(te){if(!this.msGesture)return;var Y=te.pointerType;if(Y===(te.MSPOINTER_TYPE_MOUSE||"mouse")){this.lastPointerType="mouse";return}else if(Y===(te.MSPOINTER_TYPE_TOUCH||"touch"))this.lastPointerType="touch";else return;te.stopPropagation(),te.preventDefault(),this.msGesture.addPointer(te.pointerId)},G.prototype.onThrottledMsGestureChange=function(te){this.scrollTop-=te.translationY},G.prototype.onMsGestureTap=function(te){te.initialTarget=document.elementFromPoint(te.clientX,te.clientY),this.onTap(te)},G.prototype.insertItemInDOM=function(te){var Y=null,de=this.itemAfter(te);de&&de.element&&(Y=de.element),te.insertInDOM(this.rowsContainer,Y)},G.prototype.removeItemFromDOM=function(te){if(!te)return;te.removeFromDOM()},G.prototype.shouldBeRendered=function(te){return te.topthis.lastRenderTop},G.prototype.getItemAround=function(te){var Y=this.inputItem,de=te;do{if(de[G.BINDING]&&(Y=de[G.BINDING]),de===this.wrapper||de===this.domNode)return Y;if(de===this.scrollableElement.getDomNode()||de===document.body)return}while(de=de.parentElement);return},G.prototype.releaseModel=function(){this.model&&(this.modelListeners=A.f(this.modelListeners),this.model=null)},G.prototype.dispose=function(){var te=this;this.scrollableElement.dispose(),this.releaseModel(),this.viewListeners=A.f(this.viewListeners),this._onDOMFocus.dispose(),this._onDOMBlur.dispose(),this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.items&&Object.keys(this.items).forEach(function(Y){return te.items[Y].removeFromDOM()}),this.context.cache&&this.context.cache.dispose(),this.gestureDisposable.dispose(),fe.prototype.dispose.call(this)},G.BINDING="monaco-tree-row",G.LOADING_DECORATION_DELAY=800,G.counter=0,G}(je),De=e("zrhQ"),Se=e("qj0h"),Ve=function(){function fe(G,te,Y){if(Y===void 0&&(Y={}),this.tree=G,this.configuration=te,this.options=Y,!te.dataSource)throw new Error("You must provide a Data Source to the tree.");this.dataSource=te.dataSource,this.renderer=te.renderer,this.controller=te.controller||new s({clickBehavior:1,keyboardSupport:typeof Y.keyboardSupport!="boolean"||Y.keyboardSupport}),this.dnd=te.dnd||new l,this.filter=te.filter||new d,this.sorter=te.sorter,this.accessibilityProvider=te.accessibilityProvider||new m,this.styler=te.styler}return fe}(),Qe={listFocusBackground:De.a.fromHex("#073655"),listActiveSelectionBackground:De.a.fromHex("#0E639C"),listActiveSelectionForeground:De.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:De.a.fromHex("#094771"),listFocusAndSelectionForeground:De.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:De.a.fromHex("#3F3F46"),listHoverBackground:De.a.fromHex("#2A2D2E"),listDropBackground:De.a.fromHex("#383B3D")},it=function(){function fe(G,te,Y){Y===void 0&&(Y={}),this._onDidChangeFocus=new k.f,this.onDidChangeFocus=this._onDidChangeFocus.event,this._onDidChangeSelection=new k.f,this.onDidChangeSelection=this._onDidChangeSelection.event,this._onHighlightChange=new k.f,this._onDidExpandItem=new k.f,this._onDidCollapseItem=new k.f,this._onDispose=new k.a,this.onDidDispose=this._onDispose.event,this.container=G,Object(Se.g)(Y,Qe,!1),Y.twistiePixels=typeof Y.twistiePixels=="number"?Y.twistiePixels:32,Y.showTwistie=!(Y.showTwistie===!1),Y.indentPixels=typeof Y.indentPixels=="number"?Y.indentPixels:12,Y.alwaysFocused=Y.alwaysFocused===!0,Y.useShadows=!(Y.useShadows===!1),Y.paddingOnRow=!(Y.paddingOnRow===!1),Y.showLoading=!(Y.showLoading===!1),this.context=new Ve(this,te,Y),this.model=new Me(this.context),this.view=new be(this.context,this.container),this.view.setModel(this.model),this._onDidChangeFocus.input=this.model.onDidFocus,this._onDidChangeSelection.input=this.model.onDidSelect,this._onHighlightChange.input=this.model.onDidHighlight,this._onDidExpandItem.input=this.model.onDidExpandItem,this._onDidCollapseItem.input=this.model.onDidCollapseItem}return fe.prototype.style=function(G){this.view.applyStyles(G)},Object.defineProperty(fe.prototype,"onDidFocus",{get:function(){return this.view.onDOMFocus},enumerable:!0,configurable:!0}),fe.prototype.getHTMLElement=function(){return this.view.getHTMLElement()},fe.prototype.layout=function(G,te){this.view.layout(G,te)},fe.prototype.domFocus=function(){this.view.focus()},fe.prototype.isDOMFocused=function(){return this.view.isFocused()},fe.prototype.domBlur=function(){this.view.blur()},fe.prototype.setInput=function(G){return this.model.setInput(G)},fe.prototype.getInput=function(){return this.model.getInput()},fe.prototype.expand=function(G){return this.model.expand(G)},fe.prototype.collapse=function(G,te){return te===void 0&&(te=!1),this.model.collapse(G,te)},fe.prototype.toggleExpansion=function(G,te){return te===void 0&&(te=!1),this.model.toggleExpansion(G,te)},fe.prototype.isExpanded=function(G){return this.model.isExpanded(G)},fe.prototype.reveal=function(G,te){return te===void 0&&(te=null),this.model.reveal(G,te)},fe.prototype.getHighlight=function(){return this.model.getHighlight()},fe.prototype.clearHighlight=function(G){this.model.setHighlight(null,G)},fe.prototype.setSelection=function(G,te){this.model.setSelection(G,te)},fe.prototype.getSelection=function(){return this.model.getSelection()},fe.prototype.clearSelection=function(G){this.model.setSelection([],G)},fe.prototype.setFocus=function(G,te){this.model.setFocus(G,te)},fe.prototype.getFocus=function(){return this.model.getFocus()},fe.prototype.focusNext=function(G,te){this.model.focusNext(G,te)},fe.prototype.focusPrevious=function(G,te){this.model.focusPrevious(G,te)},fe.prototype.focusParent=function(G){this.model.focusParent(G)},fe.prototype.focusFirstChild=function(G){this.model.focusFirstChild(G)},fe.prototype.focusFirst=function(G,te){this.model.focusFirst(G,te)},fe.prototype.focusNth=function(G,te){this.model.focusNth(G,te)},fe.prototype.focusLast=function(G,te){this.model.focusLast(G,te)},fe.prototype.focusNextPage=function(G){this.view.focusNextPage(G)},fe.prototype.focusPreviousPage=function(G){this.view.focusPreviousPage(G)},fe.prototype.clearFocus=function(G){this.model.setFocus(null,G)},fe.prototype.dispose=function(){this._onDispose.fire(),this.model.dispose(),this.view.dispose(),this._onDidChangeFocus.dispose(),this._onDidChangeSelection.dispose(),this._onHighlightChange.dispose(),this._onDidExpandItem.dispose(),this._onDidCollapseItem.dispose(),this._onDispose.dispose()},fe}(),pt=e("HyZH"),Rt=function(){var fe=function(te,Y){return fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,ke){de.__proto__=ke}||function(de,ke){for(var lt in ke)ke.hasOwnProperty(lt)&&(de[lt]=ke[lt])},fe(te,Y)};return function(G,te){fe(G,te);function Y(){this.constructor=G}G.prototype=te===null?Object.create(te):(Y.prototype=te.prototype,new Y)}}(),Mt="done",zt="active",uo="infinite",ao="discrete",so="monaco-progress-container",Pt="progress-bit",ft={progressBarBackground:De.a.fromHex("#0E70C0")},vt=function(fe){Rt(G,fe);function G(te,Y){var de=fe.call(this)||this;return de.options=Y||Object.create(null),Object(Se.g)(de.options,ft,!1),de.workedVal=0,de.progressBarBackground=de.options.progressBarBackground,de._register(de.showDelayedScheduler=new Ee.d(function(){return Object(I.X)(de.element)},0)),de.create(te),de}return G.prototype.create=function(te){this.element=document.createElement("div"),Object(I.f)(this.element,so),te.appendChild(this.element),this.bit=document.createElement("div"),Object(I.f)(this.bit,Pt),this.element.appendChild(this.bit),this.applyStyles()},G.prototype.off=function(){this.bit.style.width="inherit",this.bit.style.opacity="1",Object(I.Q)(this.element,zt,uo,ao),this.workedVal=0,this.totalWork=void 0},G.prototype.stop=function(){return this.doDone(!1)},G.prototype.doDone=function(te){var Y=this;return Object(I.f)(this.element,Mt),Object(I.I)(this.element,uo)?(this.bit.style.opacity="0",te?setTimeout(function(){return Y.off()},200):this.off()):(this.bit.style.width="inherit",te?setTimeout(function(){return Y.off()},200):this.off()),this},G.prototype.hide=function(){Object(I.J)(this.element),this.showDelayedScheduler.cancel()},G.prototype.style=function(te){this.progressBarBackground=te.progressBarBackground,this.applyStyles()},G.prototype.applyStyles=function(){if(this.bit){var te=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=te}},G}(A.a),At=function(){var fe=function(te,Y){return fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,ke){de.__proto__=ke}||function(de,ke){for(var lt in ke)ke.hasOwnProperty(lt)&&(de[lt]=ke[lt])},fe(te,Y)};return function(G,te){fe(G,te);function Y(){this.constructor=G}G.prototype=te===null?Object.create(te):(Y.prototype=te.prototype,new Y)}}(),at=function(fe){At(G,fe);function G(){return fe!==null&&fe.apply(this,arguments)||this}return G.prototype.onContextMenu=function(te,Y,de){return O.e?this.onLeftClick(te,Y,de):fe.prototype.onContextMenu.call(this,te,Y,de)},G}(s),tt={background:De.a.fromHex("#1E1E1E"),foreground:De.a.fromHex("#CCCCCC"),pickerGroupForeground:De.a.fromHex("#0097FB"),pickerGroupBorder:De.a.fromHex("#3F3F46"),widgetShadow:De.a.fromHex("#000000"),progressBarBackground:De.a.fromHex("#0E70C0")},ut=z.a("quickOpenAriaLabel","Quick picker. Type to narrow down results."),Ct=function(fe){At(G,fe);function G(te,Y,de){var ke=fe.call(this)||this;return ke.isDisposed=!1,ke.container=te,ke.callbacks=Y,ke.options=de,ke.styles=de||Object.create(null),Object(Se.g)(ke.styles,tt,!1),ke.model=null,ke}return G.prototype.getModel=function(){return this.model},G.prototype.create=function(){var te=this;this.element=document.createElement("div"),I.f(this.element,"monaco-quick-open-widget"),this.container.appendChild(this.element),this._register(I.j(this.element,I.d.CONTEXT_MENU,function(de){return I.c.stop(de,!0)})),this._register(I.j(this.element,I.d.FOCUS,function(de){return te.gainingFocus()},!0)),this._register(I.j(this.element,I.d.BLUR,function(de){return te.loosingFocus(de)},!0)),this._register(I.j(this.element,I.d.KEY_DOWN,function(de){var ke=new ee.a(de);if(ke.keyCode===9)I.c.stop(de,!0),te.hide(2);else if(ke.keyCode===2&&!ke.altKey&&!ke.ctrlKey&&!ke.metaKey){var lt=de.currentTarget.querySelectorAll("input, .monaco-tree, .monaco-tree-row.focused .action-label.icon");ke.shiftKey&&ke.target===lt[0]?(I.c.stop(de,!0),lt[lt.length-1].focus()):!ke.shiftKey&&ke.target===lt[lt.length-1]&&(I.c.stop(de,!0),lt[0].focus())}})),this.progressBar=this._register(new vt(this.element,{progressBarBackground:this.styles.progressBarBackground})),this.progressBar.hide(),this.inputContainer=document.createElement("div"),I.f(this.inputContainer,"quick-open-input"),this.element.appendChild(this.inputContainer),this.inputBox=this._register(new f.b(this.inputContainer,void 0,{placeholder:this.options.inputPlaceHolder||"",ariaLabel:ut,inputBackground:this.styles.inputBackground,inputForeground:this.styles.inputForeground,inputBorder:this.styles.inputBorder,inputValidationInfoBackground:this.styles.inputValidationInfoBackground,inputValidationInfoForeground:this.styles.inputValidationInfoForeground,inputValidationInfoBorder:this.styles.inputValidationInfoBorder,inputValidationWarningBackground:this.styles.inputValidationWarningBackground,inputValidationWarningForeground:this.styles.inputValidationWarningForeground,inputValidationWarningBorder:this.styles.inputValidationWarningBorder,inputValidationErrorBackground:this.styles.inputValidationErrorBackground,inputValidationErrorForeground:this.styles.inputValidationErrorForeground,inputValidationErrorBorder:this.styles.inputValidationErrorBorder})),this.inputElement=this.inputBox.inputElement,this.inputElement.setAttribute("role","combobox"),this.inputElement.setAttribute("aria-haspopup","false"),this.inputElement.setAttribute("aria-autocomplete","list"),this._register(I.j(this.inputBox.inputElement,I.d.INPUT,function(de){return te.onType()})),this._register(I.j(this.inputBox.inputElement,I.d.KEY_DOWN,function(de){var ke=new ee.a(de),lt=te.shouldOpenInBackground(ke);if(ke.keyCode===2)return;if(ke.keyCode===18||ke.keyCode===16||ke.keyCode===12||ke.keyCode===11)I.c.stop(de,!0),te.navigateInTree(ke.keyCode,ke.shiftKey),te.inputBox.inputElement.selectionStart===te.inputBox.inputElement.selectionEnd&&(te.inputBox.inputElement.selectionStart=te.inputBox.value.length);else if(ke.keyCode===3||lt){I.c.stop(de,!0);var Tt=te.tree.getFocus();Tt&&te.elementSelected(Tt,de,lt?2:1)}})),this.resultCount=document.createElement("div"),I.f(this.resultCount,"quick-open-result-count"),this.resultCount.setAttribute("aria-live","polite"),this.resultCount.setAttribute("aria-atomic","true"),this.element.appendChild(this.resultCount),this.treeContainer=document.createElement("div"),I.f(this.treeContainer,"quick-open-tree"),this.element.appendChild(this.treeContainer);var Y=this.options.treeCreator||function(de,ke,lt){return new it(de,ke,lt)};return this.tree=this._register(Y(this.treeContainer,{dataSource:new x(this),controller:new at({clickBehavior:1,keyboardSupport:this.options.keyboardSupport}),renderer:this.renderer=new _(this,this.styles),filter:new y(this),accessibilityProvider:new u(this)},{twistiePixels:11,indentPixels:0,alwaysFocused:!0,verticalScrollMode:3,horizontalScrollMode:2,ariaLabel:z.a("treeAriaLabel","Quick Picker"),keyboardSupport:this.options.keyboardSupport,preventRootFocus:!1})),this.treeElement=this.tree.getHTMLElement(),this._register(this.tree.onDidChangeFocus(function(de){te.elementFocused(de.focus,de)})),this._register(this.tree.onDidChangeSelection(function(de){if(de.selection&&de.selection.length>0){var ke=de.payload&&de.payload.originalEvent instanceof ne.b?de.payload.originalEvent:void 0,lt=ke?te.shouldOpenInBackground(ke):!1;te.elementSelected(de.selection[0],de,lt?2:1)}})),this._register(I.j(this.treeContainer,I.d.KEY_DOWN,function(de){var ke=new ee.a(de);if(!te.quickNavigateConfiguration)return;if(ke.keyCode===18||ke.keyCode===16||ke.keyCode===12||ke.keyCode===11)I.c.stop(de,!0),te.navigateInTree(ke.keyCode);else if(ke.keyCode===3){I.c.stop(de,!0);var lt=te.tree.getFocus();lt&&te.elementSelected(lt,de)}})),this._register(I.j(this.treeContainer,I.d.KEY_UP,function(de){var ke=new ee.a(de),lt=ke.keyCode;if(!te.quickNavigateConfiguration)return;var Tt=te.quickNavigateConfiguration.keybindings,Jt=Tt.some(function(po){var co=po.getParts(),Eo=co[0],Oo=co[1];return Oo?!1:Eo.shiftKey&<===4?!(ke.ctrlKey||ke.altKey||ke.metaKey):Eo.altKey&<===6||Eo.ctrlKey&<===5?!0:!!(Eo.metaKey&<===57)});if(Jt){var eo=te.tree.getFocus();eo&&te.elementSelected(eo,de)}})),this.layoutDimensions&&this.layout(this.layoutDimensions),this.applyStyles(),this._register(I.j(this.treeContainer,I.d.KEY_DOWN,function(de){var ke=new ee.a(de);if(te.quickNavigateConfiguration)return;(ke.keyCode===18||ke.keyCode===16||ke.keyCode===12||ke.keyCode===11)&&(I.c.stop(de,!0),te.navigateInTree(ke.keyCode,ke.shiftKey),te.treeElement.focus())})),this.element},G.prototype.style=function(te){this.styles=te,this.applyStyles()},G.prototype.applyStyles=function(){if(this.element){var te=this.styles.foreground?this.styles.foreground.toString():"",Y=this.styles.background?this.styles.background.toString():"",de=this.styles.borderColor?this.styles.borderColor.toString():"",ke=this.styles.widgetShadow?this.styles.widgetShadow.toString():"";this.element.style.color=te,this.element.style.backgroundColor=Y,this.element.style.borderColor=de,this.element.style.borderWidth=de?"1px":"",this.element.style.borderStyle=de?"solid":"",this.element.style.boxShadow=ke?"0 5px 8px "+ke:""}this.progressBar&&this.progressBar.style({progressBarBackground:this.styles.progressBarBackground}),this.inputBox&&this.inputBox.style({inputBackground:this.styles.inputBackground,inputForeground:this.styles.inputForeground,inputBorder:this.styles.inputBorder,inputValidationInfoBackground:this.styles.inputValidationInfoBackground,inputValidationInfoForeground:this.styles.inputValidationInfoForeground,inputValidationInfoBorder:this.styles.inputValidationInfoBorder,inputValidationWarningBackground:this.styles.inputValidationWarningBackground,inputValidationWarningForeground:this.styles.inputValidationWarningForeground,inputValidationWarningBorder:this.styles.inputValidationWarningBorder,inputValidationErrorBackground:this.styles.inputValidationErrorBackground,inputValidationErrorForeground:this.styles.inputValidationErrorForeground,inputValidationErrorBorder:this.styles.inputValidationErrorBorder}),this.tree&&!this.options.treeCreator&&this.tree.style(this.styles),this.renderer&&this.renderer.updateStyles(this.styles)},G.prototype.shouldOpenInBackground=function(te){if(te instanceof ee.a){if(te.keyCode!==17)return!1;if(te.metaKey||te.ctrlKey||te.shiftKey||te.altKey)return!1;var Y=this.inputBox.inputElement;return Y.selectionEnd===this.inputBox.value.length&&Y.selectionStart===Y.selectionEnd}return te.middleButton},G.prototype.onType=function(){var te=this.inputBox.value;this.helpText&&(te?I.J(this.helpText):I.X(this.helpText)),this.callbacks.onType(te)},G.prototype.navigateInTree=function(te,Y){var de=this.tree.getInput(),ke=de?de.entries:[],lt=this.tree.getFocus();switch(te){case 18:this.tree.focusNext();break;case 16:this.tree.focusPrevious();break;case 12:this.tree.focusNextPage();break;case 11:this.tree.focusPreviousPage();break;case 2:Y?this.tree.focusPrevious():this.tree.focusNext();break}var Tt=this.tree.getFocus();ke.length>1&<===Tt&&(te===16||te===2&&Y?this.tree.focusLast():(te===18||te===2&&!Y)&&this.tree.focusFirst()),Tt=this.tree.getFocus(),Tt&&this.tree.reveal(Tt)},G.prototype.elementFocused=function(te,Y){if(!te||!this.isVisible())return;var de=this.treeElement.getAttribute("aria-activedescendant");de?this.inputElement.setAttribute("aria-activedescendant",de):this.inputElement.removeAttribute("aria-activedescendant");var ke={event:Y,keymods:this.extractKeyMods(Y),quickNavigateConfiguration:this.quickNavigateConfiguration};this.model.runner.run(te,0,ke)},G.prototype.elementSelected=function(te,Y,de){var ke=!0;if(this.isVisible()){var lt=de||1,Tt={event:Y,keymods:this.extractKeyMods(Y),quickNavigateConfiguration:this.quickNavigateConfiguration};ke=this.model.runner.run(te,lt,Tt)}ke&&this.hide(0)},G.prototype.extractKeyMods=function(te){return{ctrlCmd:te&&(te.ctrlKey||te.metaKey||te.payload&&te.payload.originalEvent&&(te.payload.originalEvent.ctrlKey||te.payload.originalEvent.metaKey)),alt:te&&(te.altKey||te.payload&&te.payload.originalEvent&&te.payload.originalEvent.altKey)}},G.prototype.show=function(te,Y){this.visible=!0,this.isLoosingFocus=!1,this.quickNavigateConfiguration=Y?Y.quickNavigateConfiguration:void 0,this.quickNavigateConfiguration?(I.J(this.inputContainer),I.X(this.element),this.tree.domFocus()):(I.X(this.inputContainer),I.X(this.element),this.inputBox.focus()),this.helpText&&(this.quickNavigateConfiguration||U.j(te)?I.J(this.helpText):I.X(this.helpText)),U.j(te)?this.doShowWithPrefix(te):(Y&&Y.value&&this.restoreLastInput(Y.value),this.doShowWithInput(te,Y&&Y.autoFocus?Y.autoFocus:{})),Y&&Y.inputSelection&&!this.quickNavigateConfiguration&&this.inputBox.select(Y.inputSelection),this.callbacks.onShow&&this.callbacks.onShow()},G.prototype.restoreLastInput=function(te){this.inputBox.value=te,this.inputBox.select(),this.callbacks.onType(te)},G.prototype.doShowWithPrefix=function(te){this.inputBox.value=te,this.callbacks.onType(te)},G.prototype.doShowWithInput=function(te,Y){this.setInput(te,Y)},G.prototype.setInputAndLayout=function(te,Y){var de=this;this.treeContainer.style.height=this.getHeight(te)+"px",this.tree.setInput(null).then(function(){return de.model=te,de.inputElement.setAttribute("aria-haspopup",String(te&&te.entries&&te.entries.length>0)),de.tree.setInput(te)}).then(function(){de.tree.layout();var ke=te?te.entries.filter(function(lt){return de.isElementVisible(te,lt)}):[];de.updateResultCount(ke.length),ke.length&&de.autoFocus(te,ke,Y)})},G.prototype.isElementVisible=function(te,Y){return te.filter?te.filter.isVisible(Y):!0},G.prototype.autoFocus=function(te,Y,de){if(de===void 0&&(de={}),de.autoFocusPrefixMatch){for(var ke=void 0,lt=void 0,Tt=de.autoFocusPrefixMatch,Jt=Tt.toLowerCase(),eo=0,po=Y;eode.autoFocusIndex&&(this.tree.focusNth(de.autoFocusIndex),this.tree.reveal(this.tree.getFocus())):de.autoFocusSecondEntry?Y.length>1&&this.tree.focusNth(1):de.autoFocusLastEntry&&(Y.length>1&&(this.tree.focusLast(),this.tree.reveal(this.tree.getFocus())))},G.prototype.getHeight=function(te){var Y=this,de=te.renderer;if(!te){var ke=de.getHeight(null);return this.options.minItemsToShow?this.options.minItemsToShow*ke:0}var lt=0,Tt;this.layoutDimensions&&this.layoutDimensions.height&&(Tt=(this.layoutDimensions.height-50)*.4),(!Tt||Tt>G.MAX_ITEMS_HEIGHT)&&(Tt=G.MAX_ITEMS_HEIGHT);for(var Jt=te.entries.filter(function(Eo){return Y.isElementVisible(te,Eo)}),eo=this.options.maxItemsToShow||Jt.length,po=0;po=0;Tt--)(lt=fe[Tt])&&(ke=(de<3?lt(ke):de>3?lt(G,te,ke):lt(G,te))||ke);return de>3&&ke&&Object.defineProperty(G,te,ke),ke},$e=function(fe,G){return function(te,Y){G(te,Y,fe)}},ze=function(){function fe(G,te){this.themeService=te,this.widget=null,this.rangeHighlightDecorationId=null,this.lastKnownEditorSelection=null,this.editor=G}return fe.get=function(G){return G.getContribution(fe.ID)},fe.prototype.dispose=function(){this.widget&&(this.widget.destroy(),this.widget=null)},fe.prototype.run=function(G){var te=this;this.widget&&(this.widget.destroy(),this.widget=null);var Y=function(ke){te.clearDecorations(),ke&&te.lastKnownEditorSelection&&(te.editor.setSelection(te.lastKnownEditorSelection),te.editor.revealRangeInCenterIfOutsideViewport(te.lastKnownEditorSelection,0)),te.lastKnownEditorSelection=null,(document.activeElement===document.body||!ke)&&te.editor.focus()};this.widget=new Gt(this.editor,function(){return Y(!1)},function(){return Y(!0)},function(de){te.widget.setInput(G.getModel(de),G.getAutoFocus(de))},{inputAriaLabel:G.inputAriaLabel},this.themeService),this.lastKnownEditorSelection||(this.lastKnownEditorSelection=this.editor.getSelection()),this.widget.show("")},fe.prototype.decorateLine=function(G,te){var Y=[];this.rangeHighlightDecorationId&&(Y.push(this.rangeHighlightDecorationId),this.rangeHighlightDecorationId=null);var de=[{range:G,options:fe._RANGE_HIGHLIGHT_DECORATION}],ke=te.deltaDecorations(Y,de);this.rangeHighlightDecorationId=ke[0]},fe.prototype.clearDecorations=function(){this.rangeHighlightDecorationId&&(this.editor.deltaDecorations([this.rangeHighlightDecorationId],[]),this.rangeHighlightDecorationId=null)},fe.ID="editor.controller.quickOpenController",fe._RANGE_HIGHLIGHT_DECORATION=J.a.register({className:"rangeHighlight",isWholeLine:!0}),fe=Je([$e(1,Nt.c)],fe),fe}(),Ke=function(fe){Et(G,fe);function G(te,Y){var de=fe.call(this,Y)||this;return de._inputAriaLabel=te,de}return G.prototype.getController=function(te){return ze.get(te)},G.prototype._show=function(te,Y){te.run({inputAriaLabel:this._inputAriaLabel,getModel:function(ke){return Y.getModel(ke)},getAutoFocus:function(ke){return Y.getAutoFocus(ke)}})},G}(re.b);Object(re.h)(ze.ID,ze)},s7Km:function(Lt,j,e){"use strict";e.r(j),e.d(j,"MoveWordCommand",function(){return v}),e.d(j,"WordLeftCommand",function(){return w}),e.d(j,"WordRightCommand",function(){return p}),e.d(j,"CursorWordStartLeft",function(){return c}),e.d(j,"CursorWordEndLeft",function(){return s}),e.d(j,"CursorWordLeft",function(){return l}),e.d(j,"CursorWordStartLeftSelect",function(){return d}),e.d(j,"CursorWordEndLeftSelect",function(){return m}),e.d(j,"CursorWordLeftSelect",function(){return E}),e.d(j,"CursorWordAccessibilityLeft",function(){return L}),e.d(j,"CursorWordAccessibilityLeftSelect",function(){return A}),e.d(j,"CursorWordStartRight",function(){return k}),e.d(j,"CursorWordEndRight",function(){return R}),e.d(j,"CursorWordRight",function(){return $}),e.d(j,"CursorWordStartRightSelect",function(){return ie}),e.d(j,"CursorWordEndRightSelect",function(){return W}),e.d(j,"CursorWordRightSelect",function(){return B}),e.d(j,"CursorWordAccessibilityRight",function(){return le}),e.d(j,"CursorWordAccessibilityRightSelect",function(){return Ce}),e.d(j,"DeleteWordCommand",function(){return Me}),e.d(j,"DeleteWordLeftCommand",function(){return Te}),e.d(j,"DeleteWordRightCommand",function(){return Fe}),e.d(j,"DeleteWordStartLeft",function(){return He}),e.d(j,"DeleteWordEndLeft",function(){return Pe}),e.d(j,"DeleteWordLeft",function(){return ne}),e.d(j,"DeleteWordStartRight",function(){return ee}),e.d(j,"DeleteWordEndRight",function(){return ae}),e.d(j,"DeleteWordRight",function(){return q});var T=e("sswD"),re=e("LCkn"),J=e("Ll0s"),I=e("1I1M"),H=e("5v8Y"),z=e("cGHE"),O=e("aokT"),U=e("gCVg"),x=e("wQH0"),u=e("R3nR"),y=e("T8No"),_=e("/UlZ"),f=function(){var ue=function(he,je){return ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Xe,me){Xe.__proto__=me}||function(Xe,me){for(var ge in me)me.hasOwnProperty(ge)&&(Xe[ge]=me[ge])},ue(he,je)};return function(X,he){ue(X,he);function je(){this.constructor=X}X.prototype=he===null?Object.create(he):(je.prototype=he.prototype,new je)}}(),v=function(ue){f(X,ue);function X(he){var je=ue.call(this,he)||this;return je._inSelectionMode=he.inSelectionMode,je._wordNavigationType=he.wordNavigationType,je}return X.prototype.runEditorCommand=function(he,je,Xe){var me=this;if(!je.hasModel())return;var ge=Object(H.a)(je.getOption(96)),we=je.getModel(),Re=je.getSelections(),Ee=Re.map(function(Q){var C=new z.a(Q.positionLineNumber,Q.positionColumn),F=me._move(ge,we,C,me._wordNavigationType);return me._moveTo(Q,F,me._inSelectionMode)});if(je._getCursors().setStates("moveWordCommand",0,Ee.map(function(Q){return J.d.fromModelSelection(Q)})),Ee.length===1){var ve=new z.a(Ee[0].positionLineNumber,Ee[0].positionColumn);je.revealPosition(ve,0)}},X.prototype._moveTo=function(he,je,Xe){return Xe?new U.a(he.selectionStartLineNumber,he.selectionStartColumn,je.lineNumber,je.column):new U.a(je.lineNumber,je.column,je.lineNumber,je.column)},X}(T.c),w=function(ue){f(X,ue);function X(){return ue!==null&&ue.apply(this,arguments)||this}return X.prototype._move=function(he,je,Xe,me){return I.a.moveWordLeft(he,je,Xe,me)},X}(v),p=function(ue){f(X,ue);function X(){return ue!==null&&ue.apply(this,arguments)||this}return X.prototype._move=function(he,je,Xe,me){return I.a.moveWordRight(he,je,Xe,me)},X}(v),c=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0,kbOpts:{kbExpr:x.a.textInputFocus,primary:2048|15,mac:{primary:512|15},weight:100}})||this}return X}(w),s=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})||this}return X}(w),l=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0})||this}return X}(w),d=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0,kbOpts:{kbExpr:x.a.textInputFocus,primary:2048|1024|15,mac:{primary:512|1024|15},weight:100}})||this}return X}(w),m=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})||this}return X}(w),E=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0})||this}return X}(w),L=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0,kbOpts:{kbExpr:y.a.and(x.a.textInputFocus,u.a),win:{primary:2048|15},weight:100+1}})||this}return X.prototype._move=function(he,je,Xe,me){return ue.prototype._move.call(this,Object(H.a)(_.e.wordSeparators.defaultValue),je,Xe,me)},X}(w),A=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0,kbOpts:{kbExpr:y.a.and(x.a.textInputFocus,u.a),win:{primary:2048|1024|15},weight:100+1}})||this}return X.prototype._move=function(he,je,Xe,me){return ue.prototype._move.call(this,Object(H.a)(_.e.wordSeparators.defaultValue),je,Xe,me)},X}(w),k=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})||this}return X}(p),R=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:x.a.textInputFocus,primary:2048|17,mac:{primary:512|17},weight:100}})||this}return X}(p),$=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})||this}return X}(p),ie=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})||this}return X}(p),W=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:x.a.textInputFocus,primary:2048|1024|17,mac:{primary:512|1024|17},weight:100}})||this}return X}(p),B=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})||this}return X}(p),le=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0,kbOpts:{kbExpr:y.a.and(x.a.textInputFocus,u.a),win:{primary:2048|17},weight:100+1}})||this}return X.prototype._move=function(he,je,Xe,me){return ue.prototype._move.call(this,Object(H.a)(_.e.wordSeparators.defaultValue),je,Xe,me)},X}(p),Ce=function(ue){f(X,ue);function X(){return ue.call(this,{inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0,kbOpts:{kbExpr:y.a.and(x.a.textInputFocus,u.a),win:{primary:2048|1024|17},weight:100+1}})||this}return X.prototype._move=function(he,je,Xe,me){return ue.prototype._move.call(this,Object(H.a)(_.e.wordSeparators.defaultValue),je,Xe,me)},X}(p),Me=function(ue){f(X,ue);function X(he){var je=ue.call(this,he)||this;return je._whitespaceHeuristics=he.whitespaceHeuristics,je._wordNavigationType=he.wordNavigationType,je}return X.prototype.runEditorCommand=function(he,je,Xe){var me=this;if(!je.hasModel())return;var ge=Object(H.a)(je.getOption(96)),we=je.getModel(),Re=je.getSelections(),Ee=Re.map(function(ve){var Q=me._delete(ge,we,ve,me._whitespaceHeuristics,me._wordNavigationType);return new re.a(Q,"")});je.pushUndoStop(),je.executeCommands(this.id,Ee),je.pushUndoStop()},X}(T.c),Te=function(ue){f(X,ue);function X(){return ue!==null&&ue.apply(this,arguments)||this}return X.prototype._delete=function(he,je,Xe,me,ge){var we=I.a.deleteWordLeft(he,je,Xe,me,ge);return we||new O.a(1,1,1,1)},X}(Me),Fe=function(ue){f(X,ue);function X(){return ue!==null&&ue.apply(this,arguments)||this}return X.prototype._delete=function(he,je,Xe,me,ge){var we=I.a.deleteWordRight(he,je,Xe,me,ge);if(we)return we;var Re=je.getLineCount(),Ee=je.getLineMaxColumn(Re);return new O.a(Re,Ee,Re,Ee)},X}(Me),He=function(ue){f(X,ue);function X(){return ue.call(this,{whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:x.a.writable})||this}return X}(Te),Pe=function(ue){f(X,ue);function X(){return ue.call(this,{whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:x.a.writable})||this}return X}(Te),ne=function(ue){f(X,ue);function X(){return ue.call(this,{whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:x.a.writable,kbOpts:{kbExpr:x.a.textInputFocus,primary:2048|1,mac:{primary:512|1},weight:100}})||this}return X}(Te),ee=function(ue){f(X,ue);function X(){return ue.call(this,{whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:x.a.writable})||this}return X}(Fe),ae=function(ue){f(X,ue);function X(){return ue.call(this,{whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:x.a.writable})||this}return X}(Fe),q=function(ue){f(X,ue);function X(){return ue.call(this,{whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:x.a.writable,kbOpts:{kbExpr:x.a.textInputFocus,primary:2048|20,mac:{primary:512|20},weight:100}})||this}return X}(Fe);Object(T.g)(new c),Object(T.g)(new s),Object(T.g)(new l),Object(T.g)(new d),Object(T.g)(new m),Object(T.g)(new E),Object(T.g)(new k),Object(T.g)(new R),Object(T.g)(new $),Object(T.g)(new ie),Object(T.g)(new W),Object(T.g)(new B),Object(T.g)(new L),Object(T.g)(new A),Object(T.g)(new le),Object(T.g)(new Ce),Object(T.g)(new He),Object(T.g)(new Pe),Object(T.g)(new ne),Object(T.g)(new ee),Object(T.g)(new ae),Object(T.g)(new q)},sFUC:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("iuje");function re(J){return J&&typeof J.getEditorType=="function"?J.getEditorType()===T.a.ICodeEditor:!1}},sM1p:function(Lt,j,e){"use strict";e.d(j,"a",function(){return I}),e.d(j,"b",function(){return H});var T=e("S3by"),re=e("Cg/j"),J=T.a,I=Object(re.c)("notificationService"),H=function(){function z(){}return z}()},sStQ:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return e.e(300).then(e.bind(null,"QKwv"))}})},scqD:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("themeService")},siPX:function(Lt,j,e){},snIX:function(Lt,j,e){"use strict";e.d(j,"a",function(){return z});var T=e("N0LK"),re=e("LCkn"),J=e("Ll0s"),I=e("+Fos"),H=e("aokT"),z=function(){function O(){}return O.deleteRight=function(U,x,u,y){for(var _=[],f=U!==3,v=0,w=y.length;v1){var l=u.getLineContent(s.lineNumber),d=T.q(l),m=d===-1?l.length+1:d+1;if(s.column<=m){var E=J.a.visibleColumnFromColumn2(x,u,s),L=J.a.prevIndentTabStop(E,x.indentSize),A=J.a.columnFromVisibleColumn2(x,u,s.lineNumber,L);c=new H.a(s.lineNumber,A,s.lineNumber,s.column)}else c=new H.a(s.lineNumber,s.column-1,s.lineNumber,s.column)}else{var k=I.a.left(x,u,s.lineNumber,s.column);c=new H.a(k.lineNumber,k.column,s.lineNumber,s.column)}}if(c.isEmpty()){_[v]=null;continue}c.startLineNumber!==c.endLineNumber&&(f=!0),_[v]=new re.a(c,"")}return[f,_]},O.cut=function(U,x,u){for(var y=[],_=0,f=u.length;_1?(p=w.lineNumber-1,c=x.getLineMaxColumn(w.lineNumber-1),s=w.lineNumber,l=x.getLineMaxColumn(w.lineNumber)):(p=w.lineNumber,c=1,s=w.lineNumber,l=x.getLineMaxColumn(w.lineNumber));var d=new H.a(p,c,s,l);d.isEmpty()?y[_]=null:y[_]=new re.a(d,"")}else y[_]=null;else y[_]=new re.a(v,"")}return new J.e(0,y,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},O}()},sswD:function(Lt,j,e){"use strict";e.d(j,"a",function(){return w}),e.d(j,"c",function(){return p}),e.d(j,"b",function(){return c}),e.d(j,"j",function(){return s}),e.d(j,"e",function(){return l}),e.d(j,"k",function(){return d}),e.d(j,"l",function(){return m}),e.d(j,"g",function(){return E}),e.d(j,"f",function(){return L}),e.d(j,"i",function(){return A}),e.d(j,"h",function(){return k}),e.d(j,"d",function(){return R});var T=e("/cxE"),re=e("bY76"),J=e("Vxe3"),I=e("cGHE"),H=e("G2kB"),z=e("t49l"),O=e("fjLI"),U=e("nnTU"),x=e("T8No"),u=e("nrhi"),y=e("ic2d"),_=e("XXUj"),f=e("746U"),v=function(){var W=function(le,Ce){return W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Me,Te){Me.__proto__=Te}||function(Me,Te){for(var Fe in Te)Te.hasOwnProperty(Fe)&&(Me[Fe]=Te[Fe])},W(le,Ce)};return function(B,le){W(B,le);function Ce(){this.constructor=B}B.prototype=le===null?Object.create(le):(Ce.prototype=le.prototype,new Ce)}}(),w=function(){function W(B){this.id=B.id,this.precondition=B.precondition,this._kbOpts=B.kbOpts,this._menuOpts=B.menuOpts,this._description=B.description}return W.prototype.register=function(){var B=this;if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){var le=this._kbOpts.kbExpr;this.precondition&&(le?le=x.a.and(le,this.precondition):le=this.precondition),u.a.registerCommandAndKeybindingRule({id:this.id,handler:function(Me,Te){return B.runCommand(Me,Te)},weight:this._kbOpts.weight,when:le,primary:this._kbOpts.primary,secondary:this._kbOpts.secondary,win:this._kbOpts.win,linux:this._kbOpts.linux,mac:this._kbOpts.mac,description:this._description})}else U.a.registerCommand({id:this.id,handler:function(Me,Te){return B.runCommand(Me,Te)},description:this._description})},W.prototype._registerMenuItem=function(B){O.c.appendMenuItem(B.menuId,{group:B.group,command:{id:this.id,title:B.title},when:B.when,order:B.order})},W}(),p=function(W){v(B,W);function B(){return W!==null&&W.apply(this,arguments)||this}return B.bindToContribution=function(le){return function(Ce){v(Me,Ce);function Me(Te){var Fe=Ce.call(this,Te)||this;return Fe._callback=Te.handler,Fe}return Me.prototype.runEditorCommand=function(Te,Fe,He){var Pe=le(Fe);Pe&&this._callback(le(Fe),He)},Me}(B)},B.prototype.runCommand=function(le,Ce){var Me=this,Te=le.get(J.a),Fe=Te.getFocusedCodeEditor()||Te.getActiveCodeEditor();return Fe?Fe.invokeWithinContext(function(He){var Pe=He.get(x.c);return Pe.contextMatchesRules(Object(f.n)(Me.precondition))?Me.runEditorCommand(He,Fe,Ce):void 0}):void 0},B}(w),c=function(W){v(B,W);function B(le){var Ce=W.call(this,B.convertOptions(le))||this;return Ce.label=le.label,Ce.alias=le.alias,Ce}return B.convertOptions=function(le){var Ce;Array.isArray(le.menuOpts)?Ce=le.menuOpts:le.menuOpts?Ce=[le.menuOpts]:Ce=[];function Me(Te){return Te.menuId||(Te.menuId=7),Te.title||(Te.title=le.label),Te.when=x.a.and(le.precondition,Te.when),Te}return Array.isArray(le.contextMenuOpts)?Ce.push.apply(Ce,le.contextMenuOpts.map(Me)):le.contextMenuOpts&&Ce.push(Me(le.contextMenuOpts)),le.menuOpts=Ce,le},B.prototype.runEditorCommand=function(le,Ce,Me){return this.reportTelemetry(le,Ce),this.run(le,Ce,Me||{})},B.prototype.reportTelemetry=function(le,Ce){le.get(_.a).publicLog2("editorActionInvoked",{name:this.label,id:this.id})},B}(p);function s(W,B){U.a.registerCommand(W,function(le,Ce){return B(le,Ce||{})})}function l(W,B){s(W,function(le,Ce){var Me=Ce.resource,Te=Ce.position;if(!(Me instanceof re.a))throw Object(T.b)("resource");if(!I.a.isIPosition(Te))throw Object(T.b)("position");var Fe=le.get(H.a).getModel(Me);if(Fe){var He=I.a.lift(Te);return B(Fe,He,Ce)}return le.get(z.a).createModelReference(Me).then(function(Pe){return new Promise(function(ne,ee){try{var ae=B(Pe.object.textEditorModel,I.a.lift(Te),Ce);ne(ae)}catch(q){ee(q)}}).finally(function(){Pe.dispose()})})})}function d(W,B){U.a.registerCommand(W,function(le){for(var Ce=[],Me=1;Me=0})}W.getSomeEditorContributions=Me;function Te(){return ie.INSTANCE.getDiffEditorContributions()}W.getDiffEditorContributions=Te})(R||(R={}));var $={EditorCommonContributions:"editor.contributions"},ie=function(){function W(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}return W.prototype.registerEditorContribution=function(B,le){this.editorContributions.push({id:B,ctor:le})},W.prototype.getEditorContributions=function(){return this.editorContributions.slice(0)},W.prototype.getDiffEditorContributions=function(){return this.diffEditorContributions.slice(0)},W.prototype.registerEditorAction=function(B){B.register(),this.editorActions.push(B)},W.prototype.getEditorActions=function(){return this.editorActions.slice(0)},W.prototype.registerEditorCommand=function(B){B.register(),this.editorCommands[B.id]=B},W.prototype.getEditorCommand=function(B){return this.editorCommands[B]||null},W.INSTANCE=new W,W}();y.a.add($.EditorCommonContributions,ie.INSTANCE)},synD:function(Lt,j,e){},t49l:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("textModelService")},t9D7:function(Lt,j,e){"use strict";e.d(j,"c",function(){return H}),e.d(j,"f",function(){return z}),e.d(j,"b",function(){return U}),e.d(j,"d",function(){return x}),e.d(j,"a",function(){return u}),e.d(j,"e",function(){return f});var T=e("Cg/j"),re=e("pmY6"),J=e("ic2d"),I=e("MI8n"),H=Object(T.c)("themeService");function z(v){return{id:v}}var O="dark",U="hc";function x(v){switch(v){case O:return"vs-dark";case U:return"hc-black";default:return"vs"}}var u={ThemingContribution:"base.contributions.theming"},y=function(){function v(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new I.a}return v.prototype.onThemeChange=function(w){var p=this;return this.themingParticipants.push(w),this.onThemingParticipantAddedEmitter.fire(w),Object(re.h)(function(){var c=p.themingParticipants.indexOf(w);p.themingParticipants.splice(c,1)})},v.prototype.getThemingParticipants=function(){return this.themingParticipants},v}(),_=new y;J.a.add(u.ThemingContribution,_);function f(v){return _.onThemeChange(v)}},tADe:function(Lt,j,e){"use strict";e.d(j,"c",function(){return I}),e.d(j,"a",function(){return H}),e.d(j,"b",function(){return z});var T=e("Cg/j"),re=e("3/fG"),J=e("S3by"),I;(function(O){O[O.Hint=1]="Hint",O[O.Info=2]="Info",O[O.Warning=4]="Warning",O[O.Error=8]="Error"})(I||(I={})),function(O){function U(f,v){return v-f}O.compare=U;var x=Object.create(null);x[O.Error]=Object(re.a)("sev.error","Error"),x[O.Warning]=Object(re.a)("sev.warning","Warning"),x[O.Info]=Object(re.a)("sev.info","Info");function u(f){return x[f]||""}O.toString=u;function y(f){switch(f){case J.a.Error:return O.Error;case J.a.Warning:return O.Warning;case J.a.Info:return O.Info;case J.a.Ignore:return O.Hint}}O.fromSeverity=y;function _(f){switch(f){case O.Error:return J.a.Error;case O.Warning:return J.a.Warning;case O.Info:return J.a.Info;case O.Hint:return J.a.Ignore}}O.toSeverity=_}(I||(I={}));var H;(function(O){var U="";function x(y){return u(y,!0)}O.makeKey=x;function u(y,_){var f=[U];return y.source?f.push(y.source.replace("\xA6","\xA6")):f.push(U),y.code?typeof y.code=="string"?f.push(y.code.replace("\xA6","\xA6")):f.push(y.code.value.replace("\xA6","\xA6")):f.push(U),y.severity!==void 0&&y.severity!==null?f.push(I.toString(y.severity)):f.push(U),y.message&&_?f.push(y.message.replace("\xA6","\xA6")):f.push(U),y.startLineNumber!==void 0&&y.startLineNumber!==null?f.push(y.startLineNumber.toString()):f.push(U),y.startColumn!==void 0&&y.startColumn!==null?f.push(y.startColumn.toString()):f.push(U),y.endLineNumber!==void 0&&y.endLineNumber!==null?f.push(y.endLineNumber.toString()):f.push(U),y.endColumn!==void 0&&y.endColumn!==null?f.push(y.endColumn.toString()):f.push(U),f.push(U),f.join("\xA6")}O.makeKeyOptionalMessage=u})(H||(H={}));var z=Object(T.c)("markerService")},tTk5:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("editorProgressService")},tX9W:function(Lt,j,e){"use strict";e.d(j,"b",function(){return mn}),e.d(j,"a",function(){return Uo});var T=e("/cxE"),re=e("MI8n"),J=e("pmY6"),I=e("N0LK"),H=e("bY76"),z=e("/UlZ"),O=e("cGHE"),U=e("aokT"),x=e("gCVg"),u=e("M1Kb"),y=function(){function _e(M,P){this.beforeVersionId=M,this.beforeCursorState=P,this.afterCursorState=null,this.afterVersionId=-1,this.editOperations=[]}return _e.prototype.undo=function(M){for(var P=this.editOperations.length-1;P>=0;P--)this.editOperations[P]={operations:M.applyEdits(this.editOperations[P].operations)}},_e.prototype.redo=function(M){for(var P=0;P0){var M=this.past.pop();try{M.undo(this.model)}catch(P){return Object(T.e)(P),this.clear(),null}return this.future.push(M),{selections:M.beforeCursorState,recordedVersionId:M.beforeVersionId}}return null},_e.prototype.canUndo=function(){return this.past.length>0||this.currentOpenStackElement!==null},_e.prototype.redo=function(){if(this.future.length>0){var M=this.future.pop();try{M.redo(this.model)}catch(P){return Object(T.e)(P),this.clear(),null}return this.past.push(M),{selections:M.afterCursorState,recordedVersionId:M.afterVersionId}}return null},_e.prototype.canRedo=function(){return this.future.length>0},_e}(),w=function(){function _e(){this.spacesDiff=0,this.looksLikeAlignment=!1}return _e}();function p(_e,M,P,Z,Ae){Ae.spacesDiff=0,Ae.looksLikeAlignment=!1;var xe;for(xe=0;xe0&&xt>0)return;if(Ut>0&&Ht>0)return;var oo=Math.abs(xt-Ht),Zt=Math.abs(ht-Ut);if(oo===0){Ae.spacesDiff=Zt,Zt>0&&0<=Ut-1&&Ut-1<_e.length&&Ut0?Ae++:Oe>1&&xe++,p(Ne,dt,Zt,Ue,Ut),Ut.looksLikeAlignment&&!(P&&M===Ut.spacesDiff))continue;var ye=Ut.spacesDiff;ye<=xt&&Bt[ye]++,Ne=Zt,dt=Ue}var We=P;Ae!==xe&&(We=Aest&&(st=Kt,Ze=mt)}),Ze===4&&Bt[4]>0&&Bt[2]>0&&Bt[2]>=Bt[4]/2&&(Ze=2)}return{insertSpaces:We,tabSize:Ze}}function s(_e){return(_e.metadata&1)>>>0}function l(_e,M){_e.metadata=_e.metadata&254|M<<0}function d(_e){return(_e.metadata&2)>>>1===1}function m(_e,M){_e.metadata=_e.metadata&253|(M?1:0)<<1}function E(_e){return(_e.metadata&4)>>>2===1}function L(_e,M){_e.metadata=_e.metadata&251|(M?1:0)<<2}function A(_e){return(_e.metadata&8)>>>3===1}function k(_e,M){_e.metadata=_e.metadata&247|(M?1:0)<<3}function R(_e){return(_e.metadata&48)>>>4}function $(_e,M){_e.metadata=_e.metadata&207|M<<4}function ie(_e){return(_e.metadata&64)>>>6===1}function W(_e,M){_e.metadata=_e.metadata&191|(M?1:0)<<6}var B=function(){function _e(M,P,Z){this.metadata=0,this.parent=this,this.left=this,this.right=this,l(this,1),this.start=P,this.end=Z,this.delta=0,this.maxEnd=Z,this.id=M,this.ownerId=0,this.options=null,L(this,!1),$(this,1),k(this,!1),W(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=P,this.cachedAbsoluteEnd=Z,this.range=null,m(this,!1)}return _e.prototype.reset=function(M,P,Z,Ae){this.start=P,this.end=Z,this.maxEnd=Z,this.cachedVersionId=M,this.cachedAbsoluteStart=P,this.cachedAbsoluteEnd=Z,this.range=Ae},_e.prototype.setOptions=function(M){this.options=M;var P=this.options.className;L(this,P==="squiggly-error"||P==="squiggly-warning"||P==="squiggly-info"),$(this,this.options.stickiness),k(this,!!(this.options.overviewRuler&&this.options.overviewRuler.color)),W(this,this.options.collapseOnReplaceEdit)},_e.prototype.setCachedOffsets=function(M,P,Z){this.cachedVersionId!==Z&&(this.range=null),this.cachedVersionId=Z,this.cachedAbsoluteStart=M,this.cachedAbsoluteEnd=P},_e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},_e}(),le=new B(null,0,0);le.parent=le,le.left=le,le.right=le,l(le,0);var Ce=function(){function _e(){this.root=le,this.requestNormalizeDelta=!1}return _e.prototype.intervalSearch=function(M,P,Z,Ae,xe){return this.root===le?[]:q(this,M,P,Z,Ae,xe)},_e.prototype.search=function(M,P,Z){return this.root===le?[]:ae(this,M,P,Z)},_e.prototype.collectNodesFromOwner=function(M){return ne(this,M)},_e.prototype.collectNodesPostOrder=function(){return ee(this)},_e.prototype.insert=function(M){ue(this,M),this._normalizeDeltaIfNecessary()},_e.prototype.delete=function(M){he(this,M),this._normalizeDeltaIfNecessary()},_e.prototype.resolveNode=function(M,P){for(var Z=M,Ae=0;M!==this.root;)M===M.parent.right&&(Ae+=M.parent.delta),M=M.parent;var xe=Z.start+Ae,Ne=Z.end+Ae;Z.setCachedOffsets(xe,Ne,P)},_e.prototype.acceptReplace=function(M,P,Z,Ae){for(var xe=He(this,M,M+P),Ne=0,dt=xe.length;NeP||Z===1?!1:Z===2?!0:M}function Fe(_e,M,P,Z,Ae){var xe=R(_e),Ne=xe===0||xe===2,dt=xe===1||xe===2,ht=P-M,xt=Z,Bt=Math.min(ht,xt),Ut=_e.start,Ht=!1,oo=_e.end,Zt=!1;M<=Ut&&oo<=P&&ie(_e)&&(_e.start=M,Ht=!0,_e.end=M,Zt=!0);{var fo=Ae?1:ht>0?2:0;!Ht&&Te(Ut,Ne,M,fo)&&(Ht=!0),!Zt&&Te(oo,dt,M,fo)&&(Zt=!0)}if(Bt>0&&!Ae){var fo=ht>xt?2:0;!Ht&&Te(Ut,Ne,M+Bt,fo)&&(Ht=!0),!Zt&&Te(oo,dt,M+Bt,fo)&&(Zt=!0)}{var fo=Ae?1:0;!Ht&&Te(Ut,Ne,P,fo)&&(_e.start=M+xt,Ht=!0),!Zt&&Te(oo,dt,P,fo)&&(_e.end=M+xt,Zt=!0)}var yt=xt-ht;Ht||(_e.start=Math.max(0,Ut+yt)),Zt||(_e.end=Math.max(0,oo+yt)),_e.start>_e.end&&(_e.end=_e.start)}function He(_e,M,P){for(var Z=_e.root,Ae=0,xe=0,Ne=0,dt=0,ht=[],xt=0;Z!==le;){if(d(Z)){m(Z.left,!1),m(Z.right,!1),Z===Z.parent.right&&(Ae-=Z.parent.delta),Z=Z.parent;continue}if(!d(Z.left)){if(xe=Ae+Z.maxEnd,xeP){m(Z,!0);continue}if(dt=Ae+Z.end,dt>=M&&(Z.setCachedOffsets(Ne,dt,0),ht[xt++]=Z),m(Z,!0),Z.right!==le&&!d(Z.right)){Ae+=Z.delta,Z=Z.right;continue}}return m(_e.root,!1),ht}function Pe(_e,M,P,Z){for(var Ae=_e.root,xe=0,Ne=0,dt=0,ht=Z-(P-M);Ae!==le;){if(d(Ae)){m(Ae.left,!1),m(Ae.right,!1),Ae===Ae.parent.right&&(xe-=Ae.parent.delta),Re(Ae),Ae=Ae.parent;continue}if(!d(Ae.left)){if(Ne=xe+Ae.maxEnd,NeP){Ae.start+=ht,Ae.end+=ht,Ae.delta+=ht,(Ae.delta<-1073741824||Ae.delta>1073741824)&&(_e.requestNormalizeDelta=!0),m(Ae,!0);continue}if(m(Ae,!0),Ae.right!==le&&!d(Ae.right)){xe+=Ae.delta,Ae=Ae.right;continue}}m(_e.root,!1)}function ne(_e,M){for(var P=_e.root,Z=[],Ae=0;P!==le;){if(d(P)){m(P.left,!1),m(P.right,!1),P=P.parent;continue}if(P.left!==le&&!d(P.left)){P=P.left;continue}if(P.ownerId===M&&(Z[Ae++]=P),m(P,!0),P.right!==le&&!d(P.right)){P=P.right;continue}}return m(_e.root,!1),Z}function ee(_e){for(var M=_e.root,P=[],Z=0;M!==le;){if(d(M)){m(M.left,!1),m(M.right,!1),M=M.parent;continue}if(M.left!==le&&!d(M.left)){M=M.left;continue}if(M.right!==le&&!d(M.right)){M=M.right;continue}P[Z++]=M,m(M,!0)}return m(_e.root,!1),P}function ae(_e,M,P,Z){for(var Ae=_e.root,xe=0,Ne=0,dt=0,ht=[],xt=0;Ae!==le;){if(d(Ae)){m(Ae.left,!1),m(Ae.right,!1),Ae===Ae.parent.right&&(xe-=Ae.parent.delta),Ae=Ae.parent;continue}if(Ae.left!==le&&!d(Ae.left)){Ae=Ae.left;continue}Ne=xe+Ae.start,dt=xe+Ae.end,Ae.setCachedOffsets(Ne,dt,Z);var Bt=!0;if(M&&Ae.ownerId&&Ae.ownerId!==M&&(Bt=!1),P&&E(Ae)&&(Bt=!1),Bt&&(ht[xt++]=Ae),m(Ae,!0),Ae.right!==le&&!d(Ae.right)){xe+=Ae.delta,Ae=Ae.right;continue}}return m(_e.root,!1),ht}function q(_e,M,P,Z,Ae,xe){for(var Ne=_e.root,dt=0,ht=0,xt=0,Bt=0,Ut=[],Ht=0;Ne!==le;){if(d(Ne)){m(Ne.left,!1),m(Ne.right,!1),Ne===Ne.parent.right&&(dt-=Ne.parent.delta),Ne=Ne.parent;continue}if(!d(Ne.left)){if(ht=dt+Ne.maxEnd,htP){m(Ne,!0);continue}if(Bt=dt+Ne.end,Bt>=M){Ne.setCachedOffsets(xt,Bt,xe);var oo=!0;Z&&Ne.ownerId&&Ne.ownerId!==Z&&(oo=!1),Ae&&E(Ne)&&(oo=!1),oo&&(Ut[Ht++]=Ne)}if(m(Ne,!0),Ne.right!==le&&!d(Ne.right)){dt+=Ne.delta,Ne=Ne.right;continue}}return m(_e.root,!1),Ut}function ue(_e,M){if(_e.root===le)return M.parent=le,M.left=le,M.right=le,l(M,0),_e.root=M,_e.root;X(_e,M),Ee(M.parent);for(var P=M;P!==_e.root&&s(P.parent)===1;)if(P.parent===P.parent.parent.left){var Z=P.parent.parent.right;s(Z)===1?(l(P.parent,0),l(Z,0),l(P.parent.parent,1),P=P.parent.parent):(P===P.parent.right&&(P=P.parent,me(_e,P)),l(P.parent,0),l(P.parent.parent,1),ge(_e,P.parent.parent))}else{var Z=P.parent.parent.left;s(Z)===1?(l(P.parent,0),l(Z,0),l(P.parent.parent,1),P=P.parent.parent):(P===P.parent.left&&(P=P.parent,ge(_e,P)),l(P.parent,0),l(P.parent.parent,1),me(_e,P.parent.parent))}return l(_e.root,0),M}function X(_e,M){for(var P=0,Z=_e.root,Ae=M.start,xe=M.end;;){var Ne=ve(Ae,xe,Z.start+P,Z.end+P);if(Ne<0)if(Z.left===le){M.start-=P,M.end-=P,M.maxEnd-=P,Z.left=M;break}else Z=Z.left;else if(Z.right===le){M.start-=P+Z.delta,M.end-=P+Z.delta,M.maxEnd-=P+Z.delta,Z.right=M;break}else P+=Z.delta,Z=Z.right}M.parent=Z,M.left=le,M.right=le,l(M,1)}function he(_e,M){var P,Z;if(M.left===le?(P=M.right,Z=M,P.delta+=M.delta,(P.delta<-1073741824||P.delta>1073741824)&&(_e.requestNormalizeDelta=!0),P.start+=M.delta,P.end+=M.delta):M.right===le?(P=M.left,Z=M):(Z=je(M.right),P=Z.right,P.start+=Z.delta,P.end+=Z.delta,P.delta+=Z.delta,(P.delta<-1073741824||P.delta>1073741824)&&(_e.requestNormalizeDelta=!0),Z.start+=M.delta,Z.end+=M.delta,Z.delta=M.delta,(Z.delta<-1073741824||Z.delta>1073741824)&&(_e.requestNormalizeDelta=!0)),Z===_e.root){_e.root=P,l(P,0),M.detach(),Xe(),Re(P),_e.root.parent=le;return}var Ae=s(Z)===1;if(Z===Z.parent.left?Z.parent.left=P:Z.parent.right=P,Z===M?P.parent=Z.parent:(Z.parent===M?P.parent=Z:P.parent=Z.parent,Z.left=M.left,Z.right=M.right,Z.parent=M.parent,l(Z,s(M)),M===_e.root?_e.root=Z:M===M.parent.left?M.parent.left=Z:M.parent.right=Z,Z.left!==le&&(Z.left.parent=Z),Z.right!==le&&(Z.right.parent=Z)),M.detach(),Ae){Ee(P.parent),Z!==M&&(Ee(Z),Ee(Z.parent)),Xe();return}Ee(P),Ee(P.parent),Z!==M&&(Ee(Z),Ee(Z.parent));for(var xe;P!==_e.root&&s(P)===0;)P===P.parent.left?(xe=P.parent.right,s(xe)===1&&(l(xe,0),l(P.parent,1),me(_e,P.parent),xe=P.parent.right),s(xe.left)===0&&s(xe.right)===0?(l(xe,1),P=P.parent):(s(xe.right)===0&&(l(xe.left,0),l(xe,1),ge(_e,xe),xe=P.parent.right),l(xe,s(P.parent)),l(P.parent,0),l(xe.right,0),me(_e,P.parent),P=_e.root)):(xe=P.parent.left,s(xe)===1&&(l(xe,0),l(P.parent,1),ge(_e,P.parent),xe=P.parent.left),s(xe.left)===0&&s(xe.right)===0?(l(xe,1),P=P.parent):(s(xe.left)===0&&(l(xe.right,0),l(xe,1),me(_e,xe),xe=P.parent.left),l(xe,s(P.parent)),l(P.parent,0),l(xe.left,0),ge(_e,P.parent),P=_e.root));l(P,0),Xe()}function je(_e){for(;_e.left!==le;)_e=_e.left;return _e}function Xe(){le.parent=le,le.delta=0,le.start=0,le.end=0}function me(_e,M){var P=M.right;P.delta+=M.delta,(P.delta<-1073741824||P.delta>1073741824)&&(_e.requestNormalizeDelta=!0),P.start+=M.delta,P.end+=M.delta,M.right=P.left,P.left!==le&&(P.left.parent=M),P.parent=M.parent,M.parent===le?_e.root=P:M===M.parent.left?M.parent.left=P:M.parent.right=P,P.left=M,M.parent=P,Re(M),Re(P)}function ge(_e,M){var P=M.left;M.delta-=P.delta,(M.delta<-1073741824||M.delta>1073741824)&&(_e.requestNormalizeDelta=!0),M.start-=P.delta,M.end-=P.delta,M.left=P.right,P.right!==le&&(P.right.parent=M),P.parent=M.parent,M.parent===le?_e.root=P:M===M.parent.right?M.parent.right=P:M.parent.left=P,P.right=M,M.parent=P,Re(M),Re(P)}function we(_e){var M=_e.end;if(_e.left!==le){var P=_e.left.maxEnd;P>M&&(M=P)}if(_e.right!==le){var Z=_e.right.maxEnd+_e.delta;Z>M&&(M=Z)}return M}function Re(_e){_e.maxEnd=we(_e)}function Ee(_e){for(;_e!==le;){var M=we(_e);if(_e.maxEnd===M)return;_e.maxEnd=M,_e=_e.parent}}function ve(_e,M,P,Z){return _e===P?M-Z:_e-P}var Q=function(){function _e(M,P){this.piece=M,this.color=P,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}return _e.prototype.next=function(){if(this.right!==C)return F(this.right);for(var M=this;M.parent!==C&&!(M.parent.left===M);)M=M.parent;return M.parent===C?C:M.parent},_e.prototype.prev=function(){if(this.left!==C)return se(this.left);for(var M=this;M.parent!==C&&!(M.parent.right===M);)M=M.parent;return M.parent===C?C:M.parent},_e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},_e}(),C=new Q(null,0);C.parent=C,C.left=C,C.right=C,C.color=0;function F(_e){for(;_e.left!==C;)_e=_e.left;return _e}function se(_e){for(;_e.right!==C;)_e=_e.right;return _e}function oe(_e){return _e===C?0:_e.size_left+_e.piece.length+oe(_e.right)}function be(_e){return _e===C?0:_e.lf_left+_e.piece.lineFeedCnt+be(_e.right)}function De(){C.parent=C}function Se(_e,M){var P=M.right;P.size_left+=M.size_left+(M.piece?M.piece.length:0),P.lf_left+=M.lf_left+(M.piece?M.piece.lineFeedCnt:0),M.right=P.left,P.left!==C&&(P.left.parent=M),P.parent=M.parent,M.parent===C?_e.root=P:M.parent.left===M?M.parent.left=P:M.parent.right=P,P.left=M,M.parent=P}function Ve(_e,M){var P=M.left;M.left=P.right,P.right!==C&&(P.right.parent=M),P.parent=M.parent,M.size_left-=P.size_left+(P.piece?P.piece.length:0),M.lf_left-=P.lf_left+(P.piece?P.piece.lineFeedCnt:0),M.parent===C?_e.root=P:M===M.parent.right?M.parent.right=P:M.parent.left=P,P.right=M,M.parent=P}function Qe(_e,M){var P,Z;if(M.left===C?(Z=M,P=Z.right):M.right===C?(Z=M,P=Z.left):(Z=F(M.right),P=Z.right),Z===_e.root){_e.root=P,P.color=0,M.detach(),De(),_e.root.parent=C;return}var Ae=Z.color===1;if(Z===Z.parent.left?Z.parent.left=P:Z.parent.right=P,Z===M?(P.parent=Z.parent,Rt(_e,P)):(Z.parent===M?P.parent=Z:P.parent=Z.parent,Rt(_e,P),Z.left=M.left,Z.right=M.right,Z.parent=M.parent,Z.color=M.color,M===_e.root?_e.root=Z:M===M.parent.left?M.parent.left=Z:M.parent.right=Z,Z.left!==C&&(Z.left.parent=Z),Z.right!==C&&(Z.right.parent=Z),Z.size_left=M.size_left,Z.lf_left=M.lf_left,Rt(_e,Z)),M.detach(),P.parent.left===P){var xe=oe(P),Ne=be(P);if(xe!==P.parent.size_left||Ne!==P.parent.lf_left){var dt=xe-P.parent.size_left,ht=Ne-P.parent.lf_left;P.parent.size_left=xe,P.parent.lf_left=Ne,pt(_e,P.parent,dt,ht)}}if(Rt(_e,P.parent),Ae){De();return}for(var xt;P!==_e.root&&P.color===0;)P===P.parent.left?(xt=P.parent.right,xt.color===1&&(xt.color=0,P.parent.color=1,Se(_e,P.parent),xt=P.parent.right),xt.left.color===0&&xt.right.color===0?(xt.color=1,P=P.parent):(xt.right.color===0&&(xt.left.color=0,xt.color=1,Ve(_e,xt),xt=P.parent.right),xt.color=P.parent.color,P.parent.color=0,xt.right.color=0,Se(_e,P.parent),P=_e.root)):(xt=P.parent.left,xt.color===1&&(xt.color=0,P.parent.color=1,Ve(_e,P.parent),xt=P.parent.left),xt.left.color===0&&xt.right.color===0?(xt.color=1,P=P.parent):(xt.left.color===0&&(xt.right.color=0,xt.color=1,Se(_e,xt),xt=P.parent.left),xt.color=P.parent.color,P.parent.color=0,xt.left.color=0,Ve(_e,P.parent),P=_e.root));P.color=0,De()}function it(_e,M){for(Rt(_e,M);M!==_e.root&&M.parent.color===1;)if(M.parent===M.parent.parent.left){var P=M.parent.parent.right;P.color===1?(M.parent.color=0,P.color=0,M.parent.parent.color=1,M=M.parent.parent):(M===M.parent.right&&(M=M.parent,Se(_e,M)),M.parent.color=0,M.parent.parent.color=1,Ve(_e,M.parent.parent))}else{var P=M.parent.parent.left;P.color===1?(M.parent.color=0,P.color=0,M.parent.parent.color=1,M=M.parent.parent):(M===M.parent.left&&(M=M.parent,Ve(_e,M)),M.parent.color=0,M.parent.parent.color=1,Se(_e,M.parent.parent))}_e.root.color=0}function pt(_e,M,P,Z){for(;M!==_e.root&&M!==C;)M.parent.left===M&&(M.parent.size_left+=P,M.parent.lf_left+=Z),M=M.parent}function Rt(_e,M){var P=0,Z=0;if(M===_e.root)return;if(P===0){for(;M!==_e.root&&M===M.parent.right;)M=M.parent;if(M===_e.root)return;M=M.parent,P=oe(M.left)-M.size_left,Z=be(M.left)-M.lf_left,M.size_left+=P,M.lf_left+=Z}for(;M!==_e.root&&(P!==0||Z!==0);)M.parent.left===M&&(M.parent.size_left+=P,M.parent.lf_left+=Z),M=M.parent}var Mt=e("jAJ/"),zt=65535;function uo(_e){var M;return _e[_e.length-1]<65536?M=new Uint16Array(_e.length):M=new Uint32Array(_e.length),M.set(_e,0),M}var ao=function(){function _e(M,P,Z,Ae,xe){this.lineStarts=M,this.cr=P,this.lf=Z,this.crlf=Ae,this.isBasicASCII=xe}return _e}();function so(_e,M){M===void 0&&(M=!0);for(var P=[0],Z=1,Ae=0,xe=_e.length;Ae126)&&(Ne=!1))}var Bt=new ao(uo(_e),Z,Ae,xe,Ne);return _e.length=0,Bt}var ft=function(){function _e(M,P,Z,Ae,xe){this.bufferIndex=M,this.start=P,this.end=Z,this.lineFeedCnt=Ae,this.length=xe}return _e}(),vt=function(){function _e(M,P){this.buffer=M,this.lineStarts=P}return _e}(),At=function(){function _e(M){this._limit=M,this._cache=[]}return _e.prototype.get=function(M){for(var P=this._cache.length-1;P>=0;P--){var Z=this._cache[P];if(Z.nodeStartOffset<=M&&Z.nodeStartOffset+Z.node.piece.length>=M)return Z}return null},_e.prototype.get2=function(M){for(var P=this._cache.length-1;P>=0;P--){var Z=this._cache[P];if(Z.nodeStartLineNumber&&Z.nodeStartLineNumber=M)return Z}return null},_e.prototype.set=function(M){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(M)},_e.prototype.valdiate=function(M){for(var P=!1,Z=this._cache,Ae=0;Ae=M){Z[Ae]=null,P=!0;continue}}if(P){for(var Ne=[],dt=0,ht=Z;dt0){M[xe].lineStarts||(M[xe].lineStarts=so(M[xe].buffer));var dt=new ft(xe+1,{line:0,column:0},{line:M[xe].lineStarts.length-1,column:M[xe].buffer.length-M[xe].lineStarts[M[xe].lineStarts.length-1]},M[xe].lineStarts.length-1,M[xe].buffer.length);this._buffers.push(M[xe]),Ae=this.rbInsertRight(Ae,dt)}this._searchCache=new At(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()},_e.prototype.normalizeEOL=function(M){var P=this,Z=zt,Ae=Z-Math.floor(Z/3),xe=Ae*2,Ne="",dt=0,ht=[];if(this.iterate(this.root,function(Bt){var Ut=P.getNodeContent(Bt),Ht=Ut.length;if(dt<=Ae||dt+Ht0){var xt=Ne.replace(/\r\n|\r|\n/g,M);ht.push(new vt(xt,so(xt)))}this.create(ht,M,!0)},_e.prototype.getEOL=function(){return this._EOL},_e.prototype.setEOL=function(M){this._EOL=M,this._EOLLength=this._EOL.length,this.normalizeEOL(M)},_e.prototype.getOffsetAt=function(M,P){for(var Z=0,Ae=this.root;Ae!==C;)if(Ae.left!==C&&Ae.lf_left+1>=M)Ae=Ae.left;else if(Ae.lf_left+Ae.piece.lineFeedCnt+1>=M){Z+=Ae.size_left;var xe=this.getAccumulatedValue(Ae,M-Ae.lf_left-2);return Z+=xe+P-1}else M-=Ae.lf_left+Ae.piece.lineFeedCnt,Z+=Ae.size_left+Ae.piece.length,Ae=Ae.right;return Z},_e.prototype.getPositionAt=function(M){M=Math.floor(M),M=Math.max(0,M);for(var P=this.root,Z=0,Ae=M;P!==C;)if(P.size_left!==0&&P.size_left>=M)P=P.left;else if(P.size_left+P.piece.length>=M){var xe=this.getIndexOf(P,M-P.size_left);if(Z+=P.lf_left+xe.index,xe.index===0){var Ne=this.getOffsetAt(Z+1,1),dt=Ae-Ne;return new O.a(Z+1,dt+1)}return new O.a(Z+1,xe.remainder+1)}else if(M-=P.size_left+P.piece.length,Z+=P.lf_left+P.piece.lineFeedCnt,P.right===C){var Ne=this.getOffsetAt(Z+1,1),dt=Ae-M-Ne;return new O.a(Z+1,dt+1)}else P=P.right;return new O.a(1,1)},_e.prototype.getValueInRange=function(M,P){if(M.startLineNumber===M.endLineNumber&&M.startColumn===M.endColumn)return"";var Z=this.nodeAt2(M.startLineNumber,M.startColumn),Ae=this.nodeAt2(M.endLineNumber,M.endColumn),xe=this.getValueInRange2(Z,Ae);return P?P!==this._EOL||!this._EOLNormalized?xe.replace(/\r\n|\r|\n/g,P):P===this.getEOL()&&this._EOLNormalized?(P===`\r +`,xe):xe.replace(/\r\n|\r|\n/g,P):xe},_e.prototype.getValueInRange2=function(M,P){if(M.node===P.node){var Z=M.node,Ae=this._buffers[Z.piece.bufferIndex].buffer,xe=this.offsetInBuffer(Z.piece.bufferIndex,Z.piece.start);return Ae.substring(xe+M.remainder,xe+P.remainder)}var Ne=M.node,dt=this._buffers[Ne.piece.bufferIndex].buffer,ht=this.offsetInBuffer(Ne.piece.bufferIndex,Ne.piece.start),xt=dt.substring(ht+M.remainder,ht+Ne.piece.length);for(Ne=Ne.next();Ne!==C;){var Bt=this._buffers[Ne.piece.bufferIndex].buffer,Ut=this.offsetInBuffer(Ne.piece.bufferIndex,Ne.piece.start);if(Ne===P.node){xt+=Bt.substring(Ut,Ut+P.remainder);break}else xt+=Bt.substr(Ut,Ne.piece.length);Ne=Ne.next()}return xt},_e.prototype.getLinesContent=function(){var M=this,P=[],Z=0,Ae="",xe=!1;return this.iterate(this.root,function(Ne){if(Ne===C)return!0;var dt=Ne.piece,ht=dt.length;if(ht===0)return!0;var xt=M._buffers[dt.bufferIndex].buffer,Bt=M._buffers[dt.bufferIndex].lineStarts,Ut=dt.start.line,Ht=dt.end.line,oo=Bt[Ut]+dt.start.column;if(xe&&(xt.charCodeAt(oo)===10&&(oo++,ht--),P[Z++]=Ae,Ae="",xe=!1,ht===0))return!0;if(Ut===Ht)return!M._EOLNormalized&&xt.charCodeAt(oo+ht-1)===13?(xe=!0,Ae+=xt.substr(oo,ht-1)):Ae+=xt.substr(oo,ht),!0;Ae+=M._EOLNormalized?xt.substring(oo,Math.max(oo,Bt[Ut+1]-M._EOLLength)):xt.substring(oo,Bt[Ut+1]).replace(/(\r\n|\r|\n)$/,""),P[Z++]=Ae;for(var Zt=Ut+1;Zt=fo)return Bt;this.positionInBuffer(M,rt(yt.index)-oo,Ue);var It=this.getLineFeedCnt(M.piece.bufferIndex,xe,Ue),pe=Ue.line===xe.line?Ue.column-xe.column+Ae:Ue.column+1,D=pe+yt[0].length;if(Ut[Bt++]=Object(Mt.d)(new U.a(Z+It,pe,Z+It,D),yt,ht),rt(yt.index)+yt[0].length>=fo)return Bt;if(Bt>=xt)return Bt}while(yt);return Bt},_e.prototype.findMatchesLineByLine=function(M,P,Z,Ae){var xe=[],Ne=0,dt=new Mt.b(P.wordSeparators,P.regex),ht=this.nodeAt2(M.startLineNumber,M.startColumn);if(ht===null)return[];var xt=this.nodeAt2(M.endLineNumber,M.endColumn);if(xt===null)return[];var Bt=this.positionInBuffer(ht.node,ht.remainder),Ut=this.positionInBuffer(xt.node,xt.remainder);if(ht.node===xt.node)return this.findMatchesInNode(ht.node,dt,M.startLineNumber,M.startColumn,Bt,Ut,P,Z,Ae,Ne,xe),xe;for(var Ht=M.startLineNumber,oo=ht.node;oo!==xt.node;){var Zt=this.getLineFeedCnt(oo.piece.bufferIndex,Bt,oo.piece.end);if(Zt>=1){var fo=this._buffers[oo.piece.bufferIndex].lineStarts,yt=this.offsetInBuffer(oo.piece.bufferIndex,oo.piece.start),Ue=fo[Bt.line+Zt],Oe=Ht===M.startLineNumber?M.startColumn:1;if(Ne=this.findMatchesInNode(oo,dt,Ht,Oe,Bt,this.positionInBuffer(oo,Ue-yt),P,Z,Ae,Ne,xe),Ne>=Ae)return xe;Ht+=Zt}var rt=Ht===M.startLineNumber?M.startColumn-1:0;if(Ht===M.endLineNumber){var It=this.getLineContent(Ht).substring(rt,M.endColumn-1);return Ne=this._findMatchesInLine(P,dt,It,M.endLineNumber,rt,Ne,xe,Z,Ae),xe}if(Ne=this._findMatchesInLine(P,dt,this.getLineContent(Ht).substr(rt),Ht,rt,Ne,xe,Z,Ae),Ne>=Ae)return xe;Ht++,ht=this.nodeAt2(Ht,1),oo=ht.node,Bt=this.positionInBuffer(ht.node,ht.remainder)}if(Ht===M.endLineNumber){var pe=Ht===M.startLineNumber?M.startColumn-1:0,It=this.getLineContent(Ht).substring(pe,M.endColumn-1);return Ne=this._findMatchesInLine(P,dt,It,M.endLineNumber,pe,Ne,xe,Z,Ae),xe}var D=Ht===M.startLineNumber?M.startColumn:1;return Ne=this.findMatchesInNode(xt.node,dt,Ht,D,Bt,Ut,P,Z,Ae,Ne,xe),xe},_e.prototype._findMatchesInLine=function(M,P,Z,Ae,xe,Ne,dt,ht,xt){var Bt=M.wordSeparators;if(!ht&&M.simpleSearch){for(var Ut=M.simpleSearch,Ht=Ut.length,oo=Z.length,Zt=-Ht;(Zt=Z.indexOf(Ut,Zt+Ht))!==-1;)if((!Bt||Object(Mt.e)(Bt,Z,oo,Zt,Ht))&&(dt[Ne++]=new u.b(new U.a(Ae,Zt+1+xe,Ae,Zt+1+Ht+xe),null),Ne>=xt))return Ne;return Ne}var fo;P.reset(0);do if(fo=P.next(Z),fo&&(dt[Ne++]=Object(Mt.d)(new U.a(Ae,fo.index+1+xe,Ae,fo.index+1+fo[0].length+xe),fo,ht),Ne>=xt))return Ne;while(fo);return Ne},_e.prototype.insert=function(M,P,Z){if(Z===void 0&&(Z=!1),this._EOLNormalized=this._EOLNormalized&&Z,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==C){var Ae=this.nodeAt(M),xe=Ae.node,Ne=Ae.remainder,dt=Ae.nodeStartOffset,ht=xe.piece,xt=ht.bufferIndex,Bt=this.positionInBuffer(xe,Ne);if(xe.piece.bufferIndex===0&&ht.end.line===this._lastChangeBufferPos.line&&ht.end.column===this._lastChangeBufferPos.column&&dt+ht.length===M&&P.lengthM){var Ut=[],Ht=new ft(ht.bufferIndex,Bt,ht.end,this.getLineFeedCnt(ht.bufferIndex,Bt,ht.end),this.offsetInBuffer(xt,ht.end)-this.offsetInBuffer(xt,Bt));if(this.shouldCheckCRLF()&&this.endWithCR(P)){var oo=this.nodeCharCodeAt(xe,Ne);if(oo===10){var Zt={line:Ht.start.line+1,column:0};Ht=new ft(Ht.bufferIndex,Zt,Ht.end,this.getLineFeedCnt(Ht.bufferIndex,Zt,Ht.end),Ht.length-1),P+=` +`}}if(this.shouldCheckCRLF()&&this.startWithLF(P)){var fo=this.nodeCharCodeAt(xe,Ne-1);if(fo===13){var yt=this.positionInBuffer(xe,Ne-1);this.deleteNodeTail(xe,yt),P="\r"+P,xe.piece.length===0&&Ut.push(xe)}else this.deleteNodeTail(xe,Bt)}else this.deleteNodeTail(xe,Bt);var Ue=this.createNewPieces(P);Ht.length>0&&this.rbInsertRight(xe,Ht);for(var Oe=xe,rt=0;rt=0;xt--)ht=this.rbInsertLeft(ht,dt[xt]);this.validateCRLFWithPrevNode(ht),this.deleteNodes(Z)},_e.prototype.insertContentToNodeRight=function(M,P){this.adjustCarriageReturnFromNext(M,P)&&(M+=` -`);for(var Z=this.createNewPieces(M),Ae=this.rbInsertRight(P,Z[0]),xe=Ae,Ne=1;Ne=Ut)xt=Ht+1;else break;return Z?(Z.line=Ht,Z.column=ht-oo,null):{line:Ht,column:ht-oo}},_e.prototype.getLineFeedCnt=function(M,P,Z){if(Z.column===0)return Z.line-P.line;var Ae=this._buffers[M].lineStarts;if(Z.line===Ae.length-1)return Z.line-P.line;var xe=Ae[Z.line+1],Ne=Ae[Z.line]+Z.column;if(xe>Ne+1)return Z.line-P.line;var dt=Ne-1,ht=this._buffers[M].buffer;return ht.charCodeAt(dt)===13?Z.line-P.line+1:Z.line-P.line},_e.prototype.offsetInBuffer=function(M,P){var Z=this._buffers[M].lineStarts;return Z[P.line]+P.column},_e.prototype.deleteNodes=function(M){for(var P=0;Pzt){for(var P=[];M.length>zt;){var Z=M.charCodeAt(zt-1),Ae=void 0;Z===13||Z>=55296&&Z<=56319?(Ae=M.substring(0,zt-1),M=M.substring(zt-1)):(Ae=M.substring(0,zt),M=M.substring(zt));var xe=so(Ae);P.push(new ft(this._buffers.length,{line:0,column:0},{line:xe.length-1,column:Ae.length-xe[xe.length-1]},xe.length-1,Ae.length)),this._buffers.push(new vt(Ae,xe))}var Ne=so(M);return P.push(new ft(this._buffers.length,{line:0,column:0},{line:Ne.length-1,column:M.length-Ne[Ne.length-1]},Ne.length-1,M.length)),this._buffers.push(new vt(M,Ne)),P}var dt=this._buffers[0].buffer.length,ht=so(M,!1),xt=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===dt&&dt!==0&&this.startWithLF(M)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},xt=this._lastChangeBufferPos;for(var Bt=0;Bt=M-1)Z=Z.left;else if(Z.lf_left+Z.piece.lineFeedCnt>M-1){var Ne=this.getAccumulatedValue(Z,M-Z.lf_left-2),xt=this.getAccumulatedValue(Z,M-Z.lf_left-1),dt=this._buffers[Z.piece.bufferIndex].buffer,ht=this.offsetInBuffer(Z.piece.bufferIndex,Z.piece.start);return Bt+=Z.size_left,this._searchCache.set({node:Z,nodeStartOffset:Bt,nodeStartLineNumber:Ht-(M-1-Z.lf_left)}),dt.substring(ht+Ne,ht+xt-P)}else if(Z.lf_left+Z.piece.lineFeedCnt===M-1){var Ne=this.getAccumulatedValue(Z,M-Z.lf_left-2),dt=this._buffers[Z.piece.bufferIndex].buffer,ht=this.offsetInBuffer(Z.piece.bufferIndex,Z.piece.start);Ae=dt.substring(ht+Ne,ht+Z.piece.length);break}else M-=Z.lf_left+Z.piece.lineFeedCnt,Bt+=Z.size_left+Z.piece.length,Z=Z.right;for(Z=Z.next();Z!==C;){var dt=this._buffers[Z.piece.bufferIndex].buffer;if(Z.piece.lineFeedCnt>0){var xt=this.getAccumulatedValue(Z,0),ht=this.offsetInBuffer(Z.piece.bufferIndex,Z.piece.start);return Ae+=dt.substring(ht,ht+xt-P),Ae}else{var ht=this.offsetInBuffer(Z.piece.bufferIndex,Z.piece.start);Ae+=dt.substr(ht,Z.piece.length)}Z=Z.next()}return Ae},_e.prototype.computeBufferMetadata=function(){for(var M=this.root,P=1,Z=0;M!==C;)P+=M.lf_left+M.piece.lineFeedCnt,Z+=M.size_left+M.piece.length,M=M.right;this._lineCnt=P,this._length=Z,this._searchCache.valdiate(this._length)},_e.prototype.getIndexOf=function(M,P){var Z=M.piece,Ae=this.positionInBuffer(M,P),xe=Ae.line-Z.start.line;if(this.offsetInBuffer(Z.bufferIndex,Z.end)-this.offsetInBuffer(Z.bufferIndex,Z.start)===P){var Ne=this.getLineFeedCnt(M.piece.bufferIndex,Z.start,Ae);if(Ne!==xe)return{index:Ne,remainder:0}}return{index:xe,remainder:Ae.column}},_e.prototype.getAccumulatedValue=function(M,P){if(P<0)return 0;var Z=M.piece,Ae=this._buffers[Z.bufferIndex].lineStarts,xe=Z.start.line+P+1;return xe>Z.end.line?Ae[Z.end.line]+Z.end.column-Ae[Z.start.line]-Z.start.column:Ae[xe]-Ae[Z.start.line]-Z.start.column},_e.prototype.deleteNodeTail=function(M,P){var Z=M.piece,Ae=Z.lineFeedCnt,xe=this.offsetInBuffer(Z.bufferIndex,Z.end),Ne=P,dt=this.offsetInBuffer(Z.bufferIndex,Ne),ht=this.getLineFeedCnt(Z.bufferIndex,Z.start,Ne),xt=ht-Ae,Bt=dt-xe,Ht=Z.length+Bt;M.piece=new ft(Z.bufferIndex,Z.start,Ne,ht,Ht),pt(this,M,Bt,xt)},_e.prototype.deleteNodeHead=function(M,P){var Z=M.piece,Ae=Z.lineFeedCnt,xe=this.offsetInBuffer(Z.bufferIndex,Z.start),Ne=P,dt=this.getLineFeedCnt(Z.bufferIndex,Ne,Z.end),ht=this.offsetInBuffer(Z.bufferIndex,Ne),xt=dt-Ae,Bt=xe-ht,Ht=Z.length+Bt;M.piece=new ft(Z.bufferIndex,Ne,Z.end,dt,Ht),pt(this,M,Bt,xt)},_e.prototype.shrinkNode=function(M,P,Z){var Ae=M.piece,xe=Ae.start,Ne=Ae.end,dt=Ae.length,ht=Ae.lineFeedCnt,xt=P,Bt=this.getLineFeedCnt(Ae.bufferIndex,Ae.start,xt),Ht=this.offsetInBuffer(Ae.bufferIndex,P)-this.offsetInBuffer(Ae.bufferIndex,xe);M.piece=new ft(Ae.bufferIndex,Ae.start,xt,Bt,Ht),pt(this,M,Ht-dt,Bt-ht);var Ut=new ft(Ae.bufferIndex,Z,Ne,this.getLineFeedCnt(Ae.bufferIndex,Z,Ne),this.offsetInBuffer(Ae.bufferIndex,Ne)-this.offsetInBuffer(Ae.bufferIndex,Z)),oo=this.rbInsertRight(M,Ut);this.validateCRLFWithPrevNode(oo)},_e.prototype.appendToNode=function(M,P){this.adjustCarriageReturnFromNext(P,M)&&(P+=` -`);var Z=this.shouldCheckCRLF()&&this.startWithLF(P)&&this.endWithCR(M),Ae=this._buffers[0].buffer.length;this._buffers[0].buffer+=P;for(var xe=so(P,!1),Ne=0;NeM)P=P.left;else if(P.size_left+P.piece.length>=M){Ae+=P.size_left;var xe={node:P,remainder:M-P.size_left,nodeStartOffset:Ae};return this._searchCache.set(xe),xe}else M-=P.size_left+P.piece.length,Ae+=P.size_left+P.piece.length,P=P.right;return null},_e.prototype.nodeAt2=function(M,P){for(var Z=this.root,Ae=0;Z!==C;)if(Z.left!==C&&Z.lf_left>=M-1)Z=Z.left;else if(Z.lf_left+Z.piece.lineFeedCnt>M-1){var xe=this.getAccumulatedValue(Z,M-Z.lf_left-2),Ne=this.getAccumulatedValue(Z,M-Z.lf_left-1);return Ae+=Z.size_left,{node:Z,remainder:Math.min(xe+P-1,Ne),nodeStartOffset:Ae}}else if(Z.lf_left+Z.piece.lineFeedCnt===M-1){var xe=this.getAccumulatedValue(Z,M-Z.lf_left-2);if(xe+P-1<=Z.piece.length)return{node:Z,remainder:xe+P-1,nodeStartOffset:Ae};P-=Z.piece.length-xe;break}else M-=Z.lf_left+Z.piece.lineFeedCnt,Ae+=Z.size_left+Z.piece.length,Z=Z.right;for(Z=Z.next();Z!==C;){if(Z.piece.lineFeedCnt>0){var Ne=this.getAccumulatedValue(Z,0),dt=this.offsetOfNode(Z);return{node:Z,remainder:Math.min(P-1,Ne),nodeStartOffset:dt}}else if(Z.piece.length>=P-1){var ht=this.offsetOfNode(Z);return{node:Z,remainder:P-1,nodeStartOffset:ht}}else P-=Z.piece.length;Z=Z.next()}return null},_e.prototype.nodeCharCodeAt=function(M,P){if(M.piece.lineFeedCnt<1)return-1;var Z=this._buffers[M.piece.bufferIndex],Ae=this.offsetInBuffer(M.piece.bufferIndex,M.piece.start)+P;return Z.buffer.charCodeAt(Ae)},_e.prototype.offsetOfNode=function(M){if(!M)return 0;for(var P=M.size_left;M!==this.root;)M.parent.right===M&&(P+=M.parent.size_left+M.parent.piece.length),M=M.parent;return P},_e.prototype.shouldCheckCRLF=function(){return!(this._EOLNormalized&&this._EOL===` -`)},_e.prototype.startWithLF=function(M){if(typeof M=="string")return M.charCodeAt(0)===10;if(M===C||M.piece.lineFeedCnt===0)return!1;var P=M.piece,Z=this._buffers[P.bufferIndex].lineStarts,Ae=P.start.line,xe=Z[Ae]+P.start.column;if(Ae===Z.length-1)return!1;var Ne=Z[Ae+1];return Ne>xe+1?!1:this._buffers[P.bufferIndex].buffer.charCodeAt(xe)===10},_e.prototype.endWithCR=function(M){return typeof M=="string"?M.charCodeAt(M.length-1)===13:M===C||M.piece.lineFeedCnt===0?!1:this.nodeCharCodeAt(M,M.piece.length-1)===13},_e.prototype.validateCRLFWithPrevNode=function(M){if(this.shouldCheckCRLF()&&this.startWithLF(M)){var P=M.prev();this.endWithCR(P)&&this.fixCRLF(P,M)}},_e.prototype.validateCRLFWithNextNode=function(M){if(this.shouldCheckCRLF()&&this.endWithCR(M)){var P=M.next();this.startWithLF(P)&&this.fixCRLF(M,P)}},_e.prototype.fixCRLF=function(M,P){var Z=[],Ae=this._buffers[M.piece.bufferIndex].lineStarts,xe;M.piece.end.column===0?xe={line:M.piece.end.line-1,column:Ae[M.piece.end.line]-Ae[M.piece.end.line-1]-1}:xe={line:M.piece.end.line,column:M.piece.end.column-1};var Ne=M.piece.length-1,dt=M.piece.lineFeedCnt-1;M.piece=new ft(M.piece.bufferIndex,M.piece.start,xe,dt,Ne),pt(this,M,-1,-1),M.piece.length===0&&Z.push(M);var ht={line:P.piece.start.line+1,column:0},xt=P.piece.length-1,Bt=this.getLineFeedCnt(P.piece.bufferIndex,ht,P.piece.end);P.piece=new ft(P.piece.bufferIndex,ht,P.piece.end,Bt,xt),pt(this,P,-1,-1),P.piece.length===0&&Z.push(P);var Ht=this.createNewPieces(`\r -`);this.rbInsertRight(M,Ht[0]);for(var Ut=0;Ut=Ht)xt=Ut+1;else break;return Z?(Z.line=Ut,Z.column=ht-oo,null):{line:Ut,column:ht-oo}},_e.prototype.getLineFeedCnt=function(M,P,Z){if(Z.column===0)return Z.line-P.line;var Ae=this._buffers[M].lineStarts;if(Z.line===Ae.length-1)return Z.line-P.line;var xe=Ae[Z.line+1],Ne=Ae[Z.line]+Z.column;if(xe>Ne+1)return Z.line-P.line;var dt=Ne-1,ht=this._buffers[M].buffer;return ht.charCodeAt(dt)===13?Z.line-P.line+1:Z.line-P.line},_e.prototype.offsetInBuffer=function(M,P){var Z=this._buffers[M].lineStarts;return Z[P.line]+P.column},_e.prototype.deleteNodes=function(M){for(var P=0;Pzt){for(var P=[];M.length>zt;){var Z=M.charCodeAt(zt-1),Ae=void 0;Z===13||Z>=55296&&Z<=56319?(Ae=M.substring(0,zt-1),M=M.substring(zt-1)):(Ae=M.substring(0,zt),M=M.substring(zt));var xe=so(Ae);P.push(new ft(this._buffers.length,{line:0,column:0},{line:xe.length-1,column:Ae.length-xe[xe.length-1]},xe.length-1,Ae.length)),this._buffers.push(new vt(Ae,xe))}var Ne=so(M);return P.push(new ft(this._buffers.length,{line:0,column:0},{line:Ne.length-1,column:M.length-Ne[Ne.length-1]},Ne.length-1,M.length)),this._buffers.push(new vt(M,Ne)),P}var dt=this._buffers[0].buffer.length,ht=so(M,!1),xt=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===dt&&dt!==0&&this.startWithLF(M)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},xt=this._lastChangeBufferPos;for(var Bt=0;Bt=M-1)Z=Z.left;else if(Z.lf_left+Z.piece.lineFeedCnt>M-1){var Ne=this.getAccumulatedValue(Z,M-Z.lf_left-2),xt=this.getAccumulatedValue(Z,M-Z.lf_left-1),dt=this._buffers[Z.piece.bufferIndex].buffer,ht=this.offsetInBuffer(Z.piece.bufferIndex,Z.piece.start);return Bt+=Z.size_left,this._searchCache.set({node:Z,nodeStartOffset:Bt,nodeStartLineNumber:Ut-(M-1-Z.lf_left)}),dt.substring(ht+Ne,ht+xt-P)}else if(Z.lf_left+Z.piece.lineFeedCnt===M-1){var Ne=this.getAccumulatedValue(Z,M-Z.lf_left-2),dt=this._buffers[Z.piece.bufferIndex].buffer,ht=this.offsetInBuffer(Z.piece.bufferIndex,Z.piece.start);Ae=dt.substring(ht+Ne,ht+Z.piece.length);break}else M-=Z.lf_left+Z.piece.lineFeedCnt,Bt+=Z.size_left+Z.piece.length,Z=Z.right;for(Z=Z.next();Z!==C;){var dt=this._buffers[Z.piece.bufferIndex].buffer;if(Z.piece.lineFeedCnt>0){var xt=this.getAccumulatedValue(Z,0),ht=this.offsetInBuffer(Z.piece.bufferIndex,Z.piece.start);return Ae+=dt.substring(ht,ht+xt-P),Ae}else{var ht=this.offsetInBuffer(Z.piece.bufferIndex,Z.piece.start);Ae+=dt.substr(ht,Z.piece.length)}Z=Z.next()}return Ae},_e.prototype.computeBufferMetadata=function(){for(var M=this.root,P=1,Z=0;M!==C;)P+=M.lf_left+M.piece.lineFeedCnt,Z+=M.size_left+M.piece.length,M=M.right;this._lineCnt=P,this._length=Z,this._searchCache.valdiate(this._length)},_e.prototype.getIndexOf=function(M,P){var Z=M.piece,Ae=this.positionInBuffer(M,P),xe=Ae.line-Z.start.line;if(this.offsetInBuffer(Z.bufferIndex,Z.end)-this.offsetInBuffer(Z.bufferIndex,Z.start)===P){var Ne=this.getLineFeedCnt(M.piece.bufferIndex,Z.start,Ae);if(Ne!==xe)return{index:Ne,remainder:0}}return{index:xe,remainder:Ae.column}},_e.prototype.getAccumulatedValue=function(M,P){if(P<0)return 0;var Z=M.piece,Ae=this._buffers[Z.bufferIndex].lineStarts,xe=Z.start.line+P+1;return xe>Z.end.line?Ae[Z.end.line]+Z.end.column-Ae[Z.start.line]-Z.start.column:Ae[xe]-Ae[Z.start.line]-Z.start.column},_e.prototype.deleteNodeTail=function(M,P){var Z=M.piece,Ae=Z.lineFeedCnt,xe=this.offsetInBuffer(Z.bufferIndex,Z.end),Ne=P,dt=this.offsetInBuffer(Z.bufferIndex,Ne),ht=this.getLineFeedCnt(Z.bufferIndex,Z.start,Ne),xt=ht-Ae,Bt=dt-xe,Ut=Z.length+Bt;M.piece=new ft(Z.bufferIndex,Z.start,Ne,ht,Ut),pt(this,M,Bt,xt)},_e.prototype.deleteNodeHead=function(M,P){var Z=M.piece,Ae=Z.lineFeedCnt,xe=this.offsetInBuffer(Z.bufferIndex,Z.start),Ne=P,dt=this.getLineFeedCnt(Z.bufferIndex,Ne,Z.end),ht=this.offsetInBuffer(Z.bufferIndex,Ne),xt=dt-Ae,Bt=xe-ht,Ut=Z.length+Bt;M.piece=new ft(Z.bufferIndex,Ne,Z.end,dt,Ut),pt(this,M,Bt,xt)},_e.prototype.shrinkNode=function(M,P,Z){var Ae=M.piece,xe=Ae.start,Ne=Ae.end,dt=Ae.length,ht=Ae.lineFeedCnt,xt=P,Bt=this.getLineFeedCnt(Ae.bufferIndex,Ae.start,xt),Ut=this.offsetInBuffer(Ae.bufferIndex,P)-this.offsetInBuffer(Ae.bufferIndex,xe);M.piece=new ft(Ae.bufferIndex,Ae.start,xt,Bt,Ut),pt(this,M,Ut-dt,Bt-ht);var Ht=new ft(Ae.bufferIndex,Z,Ne,this.getLineFeedCnt(Ae.bufferIndex,Z,Ne),this.offsetInBuffer(Ae.bufferIndex,Ne)-this.offsetInBuffer(Ae.bufferIndex,Z)),oo=this.rbInsertRight(M,Ht);this.validateCRLFWithPrevNode(oo)},_e.prototype.appendToNode=function(M,P){this.adjustCarriageReturnFromNext(P,M)&&(P+=` +`);var Z=this.shouldCheckCRLF()&&this.startWithLF(P)&&this.endWithCR(M),Ae=this._buffers[0].buffer.length;this._buffers[0].buffer+=P;for(var xe=so(P,!1),Ne=0;NeM)P=P.left;else if(P.size_left+P.piece.length>=M){Ae+=P.size_left;var xe={node:P,remainder:M-P.size_left,nodeStartOffset:Ae};return this._searchCache.set(xe),xe}else M-=P.size_left+P.piece.length,Ae+=P.size_left+P.piece.length,P=P.right;return null},_e.prototype.nodeAt2=function(M,P){for(var Z=this.root,Ae=0;Z!==C;)if(Z.left!==C&&Z.lf_left>=M-1)Z=Z.left;else if(Z.lf_left+Z.piece.lineFeedCnt>M-1){var xe=this.getAccumulatedValue(Z,M-Z.lf_left-2),Ne=this.getAccumulatedValue(Z,M-Z.lf_left-1);return Ae+=Z.size_left,{node:Z,remainder:Math.min(xe+P-1,Ne),nodeStartOffset:Ae}}else if(Z.lf_left+Z.piece.lineFeedCnt===M-1){var xe=this.getAccumulatedValue(Z,M-Z.lf_left-2);if(xe+P-1<=Z.piece.length)return{node:Z,remainder:xe+P-1,nodeStartOffset:Ae};P-=Z.piece.length-xe;break}else M-=Z.lf_left+Z.piece.lineFeedCnt,Ae+=Z.size_left+Z.piece.length,Z=Z.right;for(Z=Z.next();Z!==C;){if(Z.piece.lineFeedCnt>0){var Ne=this.getAccumulatedValue(Z,0),dt=this.offsetOfNode(Z);return{node:Z,remainder:Math.min(P-1,Ne),nodeStartOffset:dt}}else if(Z.piece.length>=P-1){var ht=this.offsetOfNode(Z);return{node:Z,remainder:P-1,nodeStartOffset:ht}}else P-=Z.piece.length;Z=Z.next()}return null},_e.prototype.nodeCharCodeAt=function(M,P){if(M.piece.lineFeedCnt<1)return-1;var Z=this._buffers[M.piece.bufferIndex],Ae=this.offsetInBuffer(M.piece.bufferIndex,M.piece.start)+P;return Z.buffer.charCodeAt(Ae)},_e.prototype.offsetOfNode=function(M){if(!M)return 0;for(var P=M.size_left;M!==this.root;)M.parent.right===M&&(P+=M.parent.size_left+M.parent.piece.length),M=M.parent;return P},_e.prototype.shouldCheckCRLF=function(){return!(this._EOLNormalized&&this._EOL===` +`)},_e.prototype.startWithLF=function(M){if(typeof M=="string")return M.charCodeAt(0)===10;if(M===C||M.piece.lineFeedCnt===0)return!1;var P=M.piece,Z=this._buffers[P.bufferIndex].lineStarts,Ae=P.start.line,xe=Z[Ae]+P.start.column;if(Ae===Z.length-1)return!1;var Ne=Z[Ae+1];return Ne>xe+1?!1:this._buffers[P.bufferIndex].buffer.charCodeAt(xe)===10},_e.prototype.endWithCR=function(M){return typeof M=="string"?M.charCodeAt(M.length-1)===13:M===C||M.piece.lineFeedCnt===0?!1:this.nodeCharCodeAt(M,M.piece.length-1)===13},_e.prototype.validateCRLFWithPrevNode=function(M){if(this.shouldCheckCRLF()&&this.startWithLF(M)){var P=M.prev();this.endWithCR(P)&&this.fixCRLF(P,M)}},_e.prototype.validateCRLFWithNextNode=function(M){if(this.shouldCheckCRLF()&&this.endWithCR(M)){var P=M.next();this.startWithLF(P)&&this.fixCRLF(M,P)}},_e.prototype.fixCRLF=function(M,P){var Z=[],Ae=this._buffers[M.piece.bufferIndex].lineStarts,xe;M.piece.end.column===0?xe={line:M.piece.end.line-1,column:Ae[M.piece.end.line]-Ae[M.piece.end.line-1]-1}:xe={line:M.piece.end.line,column:M.piece.end.column-1};var Ne=M.piece.length-1,dt=M.piece.lineFeedCnt-1;M.piece=new ft(M.piece.bufferIndex,M.piece.start,xe,dt,Ne),pt(this,M,-1,-1),M.piece.length===0&&Z.push(M);var ht={line:P.piece.start.line+1,column:0},xt=P.piece.length-1,Bt=this.getLineFeedCnt(P.piece.bufferIndex,ht,P.piece.end);P.piece=new ft(P.piece.bufferIndex,ht,P.piece.end,Bt,xt),pt(this,P,-1,-1),P.piece.length===0&&Z.push(P);var Ut=this.createNewPieces(`\r +`);this.rbInsertRight(M,Ut[0]);for(var Ht=0;Ht0){fo.sort(function(Ze,st){return st.lineNumber-Ze.lineNumber}),pe=[];for(var dt=0,D=fo.length;dt0&&fo[dt-1].lineNumber===He)continue;var ye=fo[dt].oldContent,We=this.getLineContent(He);if(We.length===0||We===ye||I.q(We)!==-1)continue;pe.push(He)}}return new u.a(rt,It,pe)},_e.prototype._reduceOperations=function(M){return M.length<1e3?M:[this._toSingleEditOperation(M)]},_e.prototype._toSingleEditOperation=function(M){for(var P=!1,Z=M[0].range,Ae=M[M.length-1].range,xe=new H.a(Z.startLineNumber,Z.startColumn,Ae.endLineNumber,Ae.endColumn),Ne=Z.startLineNumber,dt=Z.startColumn,ht=[],xt=0,Bt=M.length;xt0){var Ut=ht.lines.length,oo=ht.lines[0],Zt=ht.lines[Ut-1];Ut===1?Ht=new H.a(xt,Bt,xt,Bt+oo.length):Ht=new H.a(xt,Bt,xt+Ut-1,Zt.length+1)}else Ht=new H.a(xt,Bt,xt,Bt);Z=Ht.endLineNumber,Ae=Ht.endColumn,P.push(Ht),xe=ht}return P},_e._sortOpsAscending=function(M,P){var Z=H.a.compareRangesUsingEnds(M.range,P.range);return Z===0?M.sortIndex-P.sortIndex:Z},_e._sortOpsDescending=function(M,P){var Z=H.a.compareRangesUsingEnds(M.range,P.range);return Z===0?P.sortIndex-M.sortIndex:-Z},_e}(),ut=function(){function _e(M,P,Z,Ae,xe,Ne,dt,ht){this._chunks=M,this._bom=P,this._cr=Z,this._lf=Ae,this._crlf=xe,this._containsRTL=Ne,this._isBasicASCII=dt,this._normalizeEOL=ht}return _e.prototype._getEOL=function(M){var P=this._cr+this._lf+this._crlf,Z=this._cr+this._crlf;return P===0?M===1?` +`;case 0:return this.getEOL()}throw new Error("Unknown EOL preference")},_e.prototype.setEOL=function(M){this._pieceTree.setEOL(M)},_e.prototype.applyEdits=function(M,P){for(var Z=this._mightContainRTL,Ae=this._mightContainNonBasicASCII,xe=!0,Ne=[],dt=0;dt0){fo.sort(function(Ze,st){return st.lineNumber-Ze.lineNumber}),pe=[];for(var dt=0,D=fo.length;dt0&&fo[dt-1].lineNumber===Ue)continue;var ye=fo[dt].oldContent,We=this.getLineContent(Ue);if(We.length===0||We===ye||I.q(We)!==-1)continue;pe.push(Ue)}}return new u.a(rt,It,pe)},_e.prototype._reduceOperations=function(M){return M.length<1e3?M:[this._toSingleEditOperation(M)]},_e.prototype._toSingleEditOperation=function(M){for(var P=!1,Z=M[0].range,Ae=M[M.length-1].range,xe=new U.a(Z.startLineNumber,Z.startColumn,Ae.endLineNumber,Ae.endColumn),Ne=Z.startLineNumber,dt=Z.startColumn,ht=[],xt=0,Bt=M.length;xt0){var Ht=ht.lines.length,oo=ht.lines[0],Zt=ht.lines[Ht-1];Ht===1?Ut=new U.a(xt,Bt,xt,Bt+oo.length):Ut=new U.a(xt,Bt,xt+Ht-1,Zt.length+1)}else Ut=new U.a(xt,Bt,xt,Bt);Z=Ut.endLineNumber,Ae=Ut.endColumn,P.push(Ut),xe=ht}return P},_e._sortOpsAscending=function(M,P){var Z=U.a.compareRangesUsingEnds(M.range,P.range);return Z===0?M.sortIndex-P.sortIndex:Z},_e._sortOpsDescending=function(M,P){var Z=U.a.compareRangesUsingEnds(M.range,P.range);return Z===0?P.sortIndex-M.sortIndex:-Z},_e}(),ut=function(){function _e(M,P,Z,Ae,xe,Ne,dt,ht){this._chunks=M,this._bom=P,this._cr=Z,this._lf=Ae,this._crlf=xe,this._containsRTL=Ne,this._isBasicASCII=dt,this._normalizeEOL=ht}return _e.prototype._getEOL=function(M){var P=this._cr+this._lf+this._crlf,Z=this._cr+this._crlf;return P===0?M===1?` `:`\r `:Z>P/2?`\r `:` `},_e.prototype.create=function(M){var P=this._getEOL(M),Z=this._chunks;if(this._normalizeEOL&&(P===`\r `&&(this._cr>0||this._lf>0)||P===` -`&&(this._cr>0||this._crlf>0)))for(var Ae=0,xe=Z.length;Ae=55296&&P<=56319?(this._acceptChunk1(M.substr(0,M.length-1),!1),this._hasPreviousChar=!0,this._previousChar=P):(this._acceptChunk1(M,!1),this._hasPreviousChar=!1,this._previousChar=P)},_e.prototype._acceptChunk1=function(M,P){if(!P&&M.length===0)return;this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+M):this._acceptChunk2(M)},_e.prototype._acceptChunk2=function(M){var P=Pt(this._tmpLineStarts,M);this.chunks.push(new vt(M,P.lineStarts)),this.cr+=P.cr,this.lf+=P.lf,this.crlf+=P.crlf,this.isBasicASCII&&(this.isBasicASCII=P.isBasicASCII),!this.isBasicASCII&&!this.containsRTL&&(this.containsRTL=I.i(M))},_e.prototype.finish=function(M){return M===void 0&&(M=!0),this._finish(),new ut(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.isBasicASCII,M)},_e.prototype._finish=function(){if(this.chunks.length===0&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;var M=this.chunks[this.chunks.length-1];M.buffer+=String.fromCharCode(this._previousChar);var P=so(M.buffer);M.lineStarts=P,this._previousChar===13&&this.cr++}},_e}(),gt=function(){function _e(){this.changeType=1}return _e}(),bt=function(){function _e(M,P){this.changeType=2,this.lineNumber=M,this.detail=P}return _e}(),Gt=function(){function _e(M,P){this.changeType=3,this.fromLineNumber=M,this.toLineNumber=P}return _e}(),Nt=function(){function _e(M,P,Z){this.changeType=4,this.fromLineNumber=M,this.toLineNumber=P,this.detail=Z}return _e}(),Et=function(){function _e(){this.changeType=5}return _e}(),Je=function(){function _e(M,P,Z,Ae){this.changes=M,this.versionId=P,this.isUndoing=Z,this.isRedoing=Ae}return _e.prototype.containsEvent=function(M){for(var P=0,Z=this.changes.length;P=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++},_e.prototype._deleteLines=function(M,P){if(P===0)return;M+P>this._len&&(P=this._len-M),this._beginState.splice(M,P),this._valid.splice(M,P),this._len-=P},_e.prototype._insertLines=function(M,P){if(P===0)return;for(var Z=[],Ae=[],xe=0;xe=0;Ne--)this._invalidateLine(M.startLineNumber+Ne-1);this._acceptDeleteRange(M),this._acceptInsertText(new O.a(M.startLineNumber,M.startColumn),P)},_e.prototype._acceptDeleteRange=function(M){var P=M.startLineNumber-1;if(P>=this._len)return;this._deleteLines(M.startLineNumber,M.endLineNumber-M.startLineNumber)},_e.prototype._acceptInsertText=function(M,P){var Z=M.lineNumber-1;if(Z>=this._len)return;this._insertLines(M.lineNumber,P)},_e}(),Tt=function(_e){ke(M,_e);function M(P){var Z=_e.call(this)||this;return Z._isDisposed=!1,Z._textModel=P,Z._tokenizationStateStore=new lt,Z._tokenizationSupport=null,Z._register(fe.B.onDidChange(function(Ae){var xe=Z._textModel.getLanguageIdentifier();if(Ae.changedLanguages.indexOf(xe.language)===-1)return;Z._resetTokenizationState(),Z._textModel.clearTokens()})),Z._register(Z._textModel.onDidChangeRawContentFast(function(Ae){if(Ae.containsEvent(1)){Z._resetTokenizationState();return}})),Z._register(Z._textModel.onDidChangeContentFast(function(Ae){for(var xe=0,Ne=Ae.changes.length;xeZ);){var Ne=this._tokenizeOneInvalidLine(Ae);if(Ne>=P)break}this._beginBackgroundTokenization(),this._textModel.setTokens(Ae.tokens)},M.prototype.tokenizeViewport=function(P,Z){var Ae=new Y.b;this._tokenizeViewport(Ae,P,Z),this._textModel.setTokens(Ae.tokens)},M.prototype.reset=function(){this._resetTokenizationState(),this._textModel.clearTokens()},M.prototype.forceTokenization=function(P){var Z=new Y.b;this._updateTokensUntilLine(Z,P),this._textModel.setTokens(Z.tokens)},M.prototype.isCheapToTokenize=function(P){if(!this._tokenizationSupport)return!0;var Z=this._tokenizationStateStore.invalidLineStartIndex+1;return P>Z?!1:P0&&ht>=1;ht--){var xt=this._textModel.getLineFirstNonWhitespaceColumn(ht);if(xt===0)continue;if(xt=0;ht--){var Ut=eo(Bt,this._tokenizationSupport,Ne[ht],Ht);Ht=Ut.endState}for(var oo=Z;oo<=Ae;oo++){var Zt=this._textModel.getLineContent(oo),Ut=eo(Bt,this._tokenizationSupport,Zt,Ht);P.add(oo,Ut.tokens),this._tokenizationStateStore.setFakeTokens(oo-1),Ht=Ut.endState}},M}(J.a);function Jt(_e){var M=_e.getLanguageIdentifier(),P=_e.isTooLargeForTokenization()?null:fe.B.get(M.language),Z=null;if(P)try{Z=P.getInitialState()}catch(Ae){Object(T.e)(Ae),P=null}return[P,Z]}function eo(_e,M,P,Z){var Ae=null;if(M)try{Ae=M.tokenize2(P,Z.clone(),0)}catch(xe){Object(T.e)(xe)}return Ae||(Ae=Object(G.e)(_e.id,P,Z,0)),Ke.a.convertToEndOffset(Ae.tokens,P.length),Ae}var po=e("0JNc"),co=e("cMvZ"),Eo=e("BFtn"),Oo=e("EIAu"),Ao=e("746U"),Zo=e("zrhQ"),Co=function(){var _e=function(P,Z){return _e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ae,xe){Ae.__proto__=xe}||function(Ae,xe){for(var Ne in xe)xe.hasOwnProperty(Ne)&&(Ae[Ne]=xe[Ne])},_e(P,Z)};return function(M,P){_e(M,P);function Z(){this.constructor=M}M.prototype=P===null?Object.create(P):(Z.prototype=P.prototype,new Z)}}();function Wo(){return new Ct}function Go(_e){var M=Wo();return M.acceptChunk(_e),M.finish()}function Bo(_e,M){var P=typeof _e=="string"?Go(_e):_e;return P.create(M)}var Mo=0,Qo=999,fn=1e4,Vo=function(){throw new Error("Invalid change accessor")},mn=function(_e){Co(M,_e);function M(P,Z,Ae,xe){xe===void 0&&(xe=null);var Ne=_e.call(this)||this;Ne._onWillDispose=Ne._register(new re.a),Ne.onWillDispose=Ne._onWillDispose.event,Ne._onDidChangeDecorations=Ne._register(new nt),Ne.onDidChangeDecorations=Ne._onDidChangeDecorations.event,Ne._onDidChangeLanguage=Ne._register(new re.a),Ne.onDidChangeLanguage=Ne._onDidChangeLanguage.event,Ne._onDidChangeLanguageConfiguration=Ne._register(new re.a),Ne.onDidChangeLanguageConfiguration=Ne._onDidChangeLanguageConfiguration.event,Ne._onDidChangeTokens=Ne._register(new re.a),Ne.onDidChangeTokens=Ne._onDidChangeTokens.event,Ne._onDidChangeOptions=Ne._register(new re.a),Ne.onDidChangeOptions=Ne._onDidChangeOptions.event,Ne._onDidChangeAttached=Ne._register(new re.a),Ne.onDidChangeAttached=Ne._onDidChangeAttached.event,Ne._eventEmitter=Ne._register(new Dt),Mo++,Ne.id="$model"+Mo,Ne.isForSimpleWidget=Z.isForSimpleWidget,typeof xe=="undefined"||xe===null?Ne._associatedResource=U.a.parse("inmemory://model/"+Mo):Ne._associatedResource=xe,Ne._attachedEditorCount=0,Ne._buffer=Bo(P,Z.defaultEOL),Ne._options=M.resolveOptions(Ne._buffer,Z);var dt=Ne._buffer.getLineCount(),ht=Ne._buffer.getValueLengthInRange(new H.a(1,1,dt,Ne._buffer.getLineLength(dt)+1),0);return Z.largeFileOptimizations?Ne._isTooLargeForTokenization=ht>M.LARGE_FILE_SIZE_THRESHOLD||dt>M.LARGE_FILE_LINE_COUNT_THRESHOLD:Ne._isTooLargeForTokenization=!1,Ne._isTooLargeForSyncing=ht>M.MODEL_SYNC_LIMIT,Ne._versionId=1,Ne._alternativeVersionId=1,Ne._isDisposed=!1,Ne._isDisposing=!1,Ne._languageIdentifier=Ae||G.a,Ne._languageRegistryListener=co.a.onDidChange(function(xt){xt.languageIdentifier.id===Ne._languageIdentifier.id&&Ne._onDidChangeLanguageConfiguration.fire({})}),Ne._instanceId=I.M(Mo),Ne._lastDecorationId=0,Ne._decorations=Object.create(null),Ne._decorationsTree=new yn,Ne._commandManager=new v(Ne),Ne._isUndoing=!1,Ne._isRedoing=!1,Ne._trimAutoWhitespaceLines=null,Ne._tokens=new Y.d,Ne._tokens2=new Y.e,Ne._tokenization=new Tt(Ne),Ne}return M.createFromString=function(P,Z,Ae,xe){return Z===void 0&&(Z=M.DEFAULT_CREATION_OPTIONS),Ae===void 0&&(Ae=null),xe===void 0&&(xe=null),new M(P,Z,Ae,xe)},M.resolveOptions=function(P,Z){if(Z.detectIndentation){var Ae=c(P,Z.tabSize,Z.insertSpaces);return new u.e({tabSize:Ae.tabSize,indentSize:Ae.tabSize,insertSpaces:Ae.insertSpaces,trimAutoWhitespace:Z.trimAutoWhitespace,defaultEOL:Z.defaultEOL})}return new u.e({tabSize:Z.tabSize,indentSize:Z.indentSize,insertSpaces:Z.insertSpaces,trimAutoWhitespace:Z.trimAutoWhitespace,defaultEOL:Z.defaultEOL})},M.prototype.onDidChangeRawContentFast=function(P){return this._eventEmitter.fastEvent(function(Z){return P(Z.rawContentChangedEvent)})},M.prototype.onDidChangeRawContent=function(P){return this._eventEmitter.slowEvent(function(Z){return P(Z.rawContentChangedEvent)})},M.prototype.onDidChangeContentFast=function(P){return this._eventEmitter.fastEvent(function(Z){return P(Z.contentChangedEvent)})},M.prototype.onDidChangeContent=function(P){return this._eventEmitter.slowEvent(function(Z){return P(Z.contentChangedEvent)})},M.prototype.dispose=function(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,_e.prototype.dispose.call(this),this._isDisposing=!1},M.prototype._assertNotDisposed=function(){if(this._isDisposed)throw new Error("Model is disposed!")},M.prototype._emitContentChangedEvent=function(P,Z){if(this._isDisposing)return;this._eventEmitter.fire(new $e(P,Z))},M.prototype.setValue=function(P){if(this._assertNotDisposed(),P===null)return;var Z=Bo(P,this._options.defaultEOL);this.setValueFromTextBuffer(Z)},M.prototype._createContentChanged2=function(P,Z,Ae,xe,Ne,dt,ht){return{changes:[{range:P,rangeOffset:Z,rangeLength:Ae,text:xe}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:Ne,isRedoing:dt,isFlush:ht}},M.prototype.setValueFromTextBuffer=function(P){if(this._assertNotDisposed(),P===null)return;var Z=this.getFullModelRange(),Ae=this.getValueLengthInRange(Z),xe=this.getLineCount(),Ne=this.getLineMaxColumn(xe);this._buffer=P,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new yn,this._commandManager=new v(this),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new Je([new gt],this._versionId,!1,!1),this._createContentChanged2(new H.a(1,1,xe,Ne),0,Ae,this.getValue(),!1,!1,!0))},M.prototype.setEOL=function(P){this._assertNotDisposed();var Z=P===1?`\r +`&&(this._cr>0||this._crlf>0)))for(var Ae=0,xe=Z.length;Ae=55296&&P<=56319?(this._acceptChunk1(M.substr(0,M.length-1),!1),this._hasPreviousChar=!0,this._previousChar=P):(this._acceptChunk1(M,!1),this._hasPreviousChar=!1,this._previousChar=P)},_e.prototype._acceptChunk1=function(M,P){if(!P&&M.length===0)return;this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+M):this._acceptChunk2(M)},_e.prototype._acceptChunk2=function(M){var P=Pt(this._tmpLineStarts,M);this.chunks.push(new vt(M,P.lineStarts)),this.cr+=P.cr,this.lf+=P.lf,this.crlf+=P.crlf,this.isBasicASCII&&(this.isBasicASCII=P.isBasicASCII),!this.isBasicASCII&&!this.containsRTL&&(this.containsRTL=I.i(M))},_e.prototype.finish=function(M){return M===void 0&&(M=!0),this._finish(),new ut(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.isBasicASCII,M)},_e.prototype._finish=function(){if(this.chunks.length===0&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;var M=this.chunks[this.chunks.length-1];M.buffer+=String.fromCharCode(this._previousChar);var P=so(M.buffer);M.lineStarts=P,this._previousChar===13&&this.cr++}},_e}(),gt=function(){function _e(){this.changeType=1}return _e}(),bt=function(){function _e(M,P){this.changeType=2,this.lineNumber=M,this.detail=P}return _e}(),Gt=function(){function _e(M,P){this.changeType=3,this.fromLineNumber=M,this.toLineNumber=P}return _e}(),Nt=function(){function _e(M,P,Z){this.changeType=4,this.fromLineNumber=M,this.toLineNumber=P,this.detail=Z}return _e}(),Et=function(){function _e(){this.changeType=5}return _e}(),Je=function(){function _e(M,P,Z,Ae){this.changes=M,this.versionId=P,this.isUndoing=Z,this.isRedoing=Ae}return _e.prototype.containsEvent=function(M){for(var P=0,Z=this.changes.length;P=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++},_e.prototype._deleteLines=function(M,P){if(P===0)return;M+P>this._len&&(P=this._len-M),this._beginState.splice(M,P),this._valid.splice(M,P),this._len-=P},_e.prototype._insertLines=function(M,P){if(P===0)return;for(var Z=[],Ae=[],xe=0;xe=0;Ne--)this._invalidateLine(M.startLineNumber+Ne-1);this._acceptDeleteRange(M),this._acceptInsertText(new O.a(M.startLineNumber,M.startColumn),P)},_e.prototype._acceptDeleteRange=function(M){var P=M.startLineNumber-1;if(P>=this._len)return;this._deleteLines(M.startLineNumber,M.endLineNumber-M.startLineNumber)},_e.prototype._acceptInsertText=function(M,P){var Z=M.lineNumber-1;if(Z>=this._len)return;this._insertLines(M.lineNumber,P)},_e}(),Tt=function(_e){ke(M,_e);function M(P){var Z=_e.call(this)||this;return Z._isDisposed=!1,Z._textModel=P,Z._tokenizationStateStore=new lt,Z._tokenizationSupport=null,Z._register(fe.B.onDidChange(function(Ae){var xe=Z._textModel.getLanguageIdentifier();if(Ae.changedLanguages.indexOf(xe.language)===-1)return;Z._resetTokenizationState(),Z._textModel.clearTokens()})),Z._register(Z._textModel.onDidChangeRawContentFast(function(Ae){if(Ae.containsEvent(1)){Z._resetTokenizationState();return}})),Z._register(Z._textModel.onDidChangeContentFast(function(Ae){for(var xe=0,Ne=Ae.changes.length;xeZ);){var Ne=this._tokenizeOneInvalidLine(Ae);if(Ne>=P)break}this._beginBackgroundTokenization(),this._textModel.setTokens(Ae.tokens)},M.prototype.tokenizeViewport=function(P,Z){var Ae=new Y.b;this._tokenizeViewport(Ae,P,Z),this._textModel.setTokens(Ae.tokens)},M.prototype.reset=function(){this._resetTokenizationState(),this._textModel.clearTokens()},M.prototype.forceTokenization=function(P){var Z=new Y.b;this._updateTokensUntilLine(Z,P),this._textModel.setTokens(Z.tokens)},M.prototype.isCheapToTokenize=function(P){if(!this._tokenizationSupport)return!0;var Z=this._tokenizationStateStore.invalidLineStartIndex+1;return P>Z?!1:P0&&ht>=1;ht--){var xt=this._textModel.getLineFirstNonWhitespaceColumn(ht);if(xt===0)continue;if(xt=0;ht--){var Ht=eo(Bt,this._tokenizationSupport,Ne[ht],Ut);Ut=Ht.endState}for(var oo=Z;oo<=Ae;oo++){var Zt=this._textModel.getLineContent(oo),Ht=eo(Bt,this._tokenizationSupport,Zt,Ut);P.add(oo,Ht.tokens),this._tokenizationStateStore.setFakeTokens(oo-1),Ut=Ht.endState}},M}(J.a);function Jt(_e){var M=_e.getLanguageIdentifier(),P=_e.isTooLargeForTokenization()?null:fe.B.get(M.language),Z=null;if(P)try{Z=P.getInitialState()}catch(Ae){Object(T.e)(Ae),P=null}return[P,Z]}function eo(_e,M,P,Z){var Ae=null;if(M)try{Ae=M.tokenize2(P,Z.clone(),0)}catch(xe){Object(T.e)(xe)}return Ae||(Ae=Object(G.e)(_e.id,P,Z,0)),Ke.a.convertToEndOffset(Ae.tokens,P.length),Ae}var po=e("0JNc"),co=e("cMvZ"),Eo=e("BFtn"),Oo=e("EIAu"),Ao=e("746U"),Zo=e("zrhQ"),Co=function(){var _e=function(P,Z){return _e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ae,xe){Ae.__proto__=xe}||function(Ae,xe){for(var Ne in xe)xe.hasOwnProperty(Ne)&&(Ae[Ne]=xe[Ne])},_e(P,Z)};return function(M,P){_e(M,P);function Z(){this.constructor=M}M.prototype=P===null?Object.create(P):(Z.prototype=P.prototype,new Z)}}();function Wo(){return new Ct}function Go(_e){var M=Wo();return M.acceptChunk(_e),M.finish()}function Bo(_e,M){var P=typeof _e=="string"?Go(_e):_e;return P.create(M)}var Mo=0,Qo=999,fn=1e4,Vo=function(){throw new Error("Invalid change accessor")},mn=function(_e){Co(M,_e);function M(P,Z,Ae,xe){xe===void 0&&(xe=null);var Ne=_e.call(this)||this;Ne._onWillDispose=Ne._register(new re.a),Ne.onWillDispose=Ne._onWillDispose.event,Ne._onDidChangeDecorations=Ne._register(new nt),Ne.onDidChangeDecorations=Ne._onDidChangeDecorations.event,Ne._onDidChangeLanguage=Ne._register(new re.a),Ne.onDidChangeLanguage=Ne._onDidChangeLanguage.event,Ne._onDidChangeLanguageConfiguration=Ne._register(new re.a),Ne.onDidChangeLanguageConfiguration=Ne._onDidChangeLanguageConfiguration.event,Ne._onDidChangeTokens=Ne._register(new re.a),Ne.onDidChangeTokens=Ne._onDidChangeTokens.event,Ne._onDidChangeOptions=Ne._register(new re.a),Ne.onDidChangeOptions=Ne._onDidChangeOptions.event,Ne._onDidChangeAttached=Ne._register(new re.a),Ne.onDidChangeAttached=Ne._onDidChangeAttached.event,Ne._eventEmitter=Ne._register(new Dt),Mo++,Ne.id="$model"+Mo,Ne.isForSimpleWidget=Z.isForSimpleWidget,typeof xe=="undefined"||xe===null?Ne._associatedResource=H.a.parse("inmemory://model/"+Mo):Ne._associatedResource=xe,Ne._attachedEditorCount=0,Ne._buffer=Bo(P,Z.defaultEOL),Ne._options=M.resolveOptions(Ne._buffer,Z);var dt=Ne._buffer.getLineCount(),ht=Ne._buffer.getValueLengthInRange(new U.a(1,1,dt,Ne._buffer.getLineLength(dt)+1),0);return Z.largeFileOptimizations?Ne._isTooLargeForTokenization=ht>M.LARGE_FILE_SIZE_THRESHOLD||dt>M.LARGE_FILE_LINE_COUNT_THRESHOLD:Ne._isTooLargeForTokenization=!1,Ne._isTooLargeForSyncing=ht>M.MODEL_SYNC_LIMIT,Ne._versionId=1,Ne._alternativeVersionId=1,Ne._isDisposed=!1,Ne._isDisposing=!1,Ne._languageIdentifier=Ae||G.a,Ne._languageRegistryListener=co.a.onDidChange(function(xt){xt.languageIdentifier.id===Ne._languageIdentifier.id&&Ne._onDidChangeLanguageConfiguration.fire({})}),Ne._instanceId=I.M(Mo),Ne._lastDecorationId=0,Ne._decorations=Object.create(null),Ne._decorationsTree=new yn,Ne._commandManager=new v(Ne),Ne._isUndoing=!1,Ne._isRedoing=!1,Ne._trimAutoWhitespaceLines=null,Ne._tokens=new Y.d,Ne._tokens2=new Y.e,Ne._tokenization=new Tt(Ne),Ne}return M.createFromString=function(P,Z,Ae,xe){return Z===void 0&&(Z=M.DEFAULT_CREATION_OPTIONS),Ae===void 0&&(Ae=null),xe===void 0&&(xe=null),new M(P,Z,Ae,xe)},M.resolveOptions=function(P,Z){if(Z.detectIndentation){var Ae=c(P,Z.tabSize,Z.insertSpaces);return new u.e({tabSize:Ae.tabSize,indentSize:Ae.tabSize,insertSpaces:Ae.insertSpaces,trimAutoWhitespace:Z.trimAutoWhitespace,defaultEOL:Z.defaultEOL})}return new u.e({tabSize:Z.tabSize,indentSize:Z.indentSize,insertSpaces:Z.insertSpaces,trimAutoWhitespace:Z.trimAutoWhitespace,defaultEOL:Z.defaultEOL})},M.prototype.onDidChangeRawContentFast=function(P){return this._eventEmitter.fastEvent(function(Z){return P(Z.rawContentChangedEvent)})},M.prototype.onDidChangeRawContent=function(P){return this._eventEmitter.slowEvent(function(Z){return P(Z.rawContentChangedEvent)})},M.prototype.onDidChangeContentFast=function(P){return this._eventEmitter.fastEvent(function(Z){return P(Z.contentChangedEvent)})},M.prototype.onDidChangeContent=function(P){return this._eventEmitter.slowEvent(function(Z){return P(Z.contentChangedEvent)})},M.prototype.dispose=function(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,_e.prototype.dispose.call(this),this._isDisposing=!1},M.prototype._assertNotDisposed=function(){if(this._isDisposed)throw new Error("Model is disposed!")},M.prototype._emitContentChangedEvent=function(P,Z){if(this._isDisposing)return;this._eventEmitter.fire(new $e(P,Z))},M.prototype.setValue=function(P){if(this._assertNotDisposed(),P===null)return;var Z=Bo(P,this._options.defaultEOL);this.setValueFromTextBuffer(Z)},M.prototype._createContentChanged2=function(P,Z,Ae,xe,Ne,dt,ht){return{changes:[{range:P,rangeOffset:Z,rangeLength:Ae,text:xe}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:Ne,isRedoing:dt,isFlush:ht}},M.prototype.setValueFromTextBuffer=function(P){if(this._assertNotDisposed(),P===null)return;var Z=this.getFullModelRange(),Ae=this.getValueLengthInRange(Z),xe=this.getLineCount(),Ne=this.getLineMaxColumn(xe);this._buffer=P,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new yn,this._commandManager=new v(this),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new Je([new gt],this._versionId,!1,!1),this._createContentChanged2(new U.a(1,1,xe,Ne),0,Ae,this.getValue(),!1,!1,!0))},M.prototype.setEOL=function(P){this._assertNotDisposed();var Z=P===1?`\r `:` -`;if(this._buffer.getEOL()===Z)return;var Ae=this.getFullModelRange(),xe=this.getValueLengthInRange(Ae),Ne=this.getLineCount(),dt=this.getLineMaxColumn(Ne);this._onBeforeEOLChange(),this._buffer.setEOL(Z),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new Je([new Et],this._versionId,!1,!1),this._createContentChanged2(new H.a(1,1,Ne,dt),0,xe,this.getValue(),!1,!1,!1))},M.prototype._onBeforeEOLChange=function(){var P=this.getVersionId(),Z=this._decorationsTree.search(0,!1,!1,P);this._ensureNodesHaveRanges(Z)},M.prototype._onAfterEOLChange=function(){for(var P=this.getVersionId(),Z=this._decorationsTree.collectNodesPostOrder(),Ae=0,xe=Z.length;Ae0},M.prototype.getAttachedEditorCount=function(){return this._attachedEditorCount},M.prototype.isTooLargeForSyncing=function(){return this._isTooLargeForSyncing},M.prototype.isTooLargeForTokenization=function(){return this._isTooLargeForTokenization},M.prototype.isDisposed=function(){return this._isDisposed},M.prototype.isDominatedByLongLines=function(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;for(var P=0,Z=0,Ae=this._buffer.getLineCount(),xe=1;xe<=Ae;xe++){var Ne=this._buffer.getLineLength(xe);Ne>=fn?Z+=Ne:P+=Ne}return Z>P},Object.defineProperty(M.prototype,"uri",{get:function(){return this._associatedResource},enumerable:!0,configurable:!0}),M.prototype.getOptions=function(){return this._assertNotDisposed(),this._options},M.prototype.getFormattingOptions=function(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}},M.prototype.updateOptions=function(P){this._assertNotDisposed();var Z=typeof P.tabSize!="undefined"?P.tabSize:this._options.tabSize,Ae=typeof P.indentSize!="undefined"?P.indentSize:this._options.indentSize,xe=typeof P.insertSpaces!="undefined"?P.insertSpaces:this._options.insertSpaces,Ne=typeof P.trimAutoWhitespace!="undefined"?P.trimAutoWhitespace:this._options.trimAutoWhitespace,dt=new u.e({tabSize:Z,indentSize:Ae,insertSpaces:xe,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:Ne});if(this._options.equals(dt))return;var ht=this._options.createChangeEvent(dt);this._options=dt,this._onDidChangeOptions.fire(ht)},M.prototype.detectIndentation=function(P,Z){this._assertNotDisposed();var Ae=c(this._buffer,Z,P);this.updateOptions({insertSpaces:Ae.insertSpaces,tabSize:Ae.tabSize,indentSize:Ae.tabSize})},M._normalizeIndentationFromWhitespace=function(P,Z,Ae){for(var xe=0,Ne=0;Nethis.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(P)},M.prototype.getLineLength=function(P){if(this._assertNotDisposed(),P<1||P>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(P)},M.prototype.getLinesContent=function(){return this._assertNotDisposed(),this._buffer.getLinesContent()},M.prototype.getEOL=function(){return this._assertNotDisposed(),this._buffer.getEOL()},M.prototype.getLineMinColumn=function(P){return this._assertNotDisposed(),1},M.prototype.getLineMaxColumn=function(P){if(this._assertNotDisposed(),P<1||P>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(P)+1},M.prototype.getLineFirstNonWhitespaceColumn=function(P){if(this._assertNotDisposed(),P<1||P>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(P)},M.prototype.getLineLastNonWhitespaceColumn=function(P){if(this._assertNotDisposed(),P<1||P>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(P)},M.prototype._validateRangeRelaxedNoAllocations=function(P){var Z=this._buffer.getLineCount(),Ae=P.startLineNumber,xe=P.startColumn,Ne,dt;if(Ae<1)Ne=1,dt=1;else if(Ae>Z)Ne=Z,dt=this.getLineMaxColumn(Ne);else if(Ne=Ae|0,xe<=1)dt=1;else{var ht=this.getLineMaxColumn(Ne);xe>=ht?dt=ht:dt=xe|0}var xt=P.endLineNumber,Bt=P.endColumn,Ht,Ut;if(xt<1)Ht=1,Ut=1;else if(xt>Z)Ht=Z,Ut=this.getLineMaxColumn(Ht);else if(Ht=xt|0,Bt<=1)Ut=1;else{var ht=this.getLineMaxColumn(Ht);Bt>=ht?Ut=ht:Ut=Bt|0}return Ae===Ne&&xe===dt&&xt===Ht&&Bt===Ut&&P instanceof H.a&&!(P instanceof x.a)?P:new H.a(Ne,dt,Ht,Ut)},M.prototype._isValidPosition=function(P,Z,Ae){if(typeof P!="number"||typeof Z!="number")return!1;if(isNaN(P)||isNaN(Z))return!1;if(P<1||Z<1)return!1;if((P|0)!==P||(Z|0)!==Z)return!1;var xe=this._buffer.getLineCount();if(P>xe)return!1;if(Z===1)return!0;var Ne=this.getLineMaxColumn(P);if(Z>Ne)return!1;if(Ae===1){var dt=this._buffer.getLineCharCode(P,Z-2);if(I.z(dt))return!1}return!0},M.prototype._validatePosition=function(P,Z,Ae){var xe=Math.floor(typeof P=="number"&&!isNaN(P)?P:1),Ne=Math.floor(typeof Z=="number"&&!isNaN(Z)?Z:1),dt=this._buffer.getLineCount();if(xe<1)return new O.a(1,1);if(xe>dt)return new O.a(dt,this.getLineMaxColumn(dt));if(Ne<=1)return new O.a(xe,1);var ht=this.getLineMaxColumn(xe);if(Ne>=ht)return new O.a(xe,ht);if(Ae===1){var xt=this._buffer.getLineCharCode(xe,Ne-2);if(I.z(xt))return new O.a(xe,Ne-1)}return new O.a(xe,Ne)},M.prototype.validatePosition=function(P){var Z=1;return this._assertNotDisposed(),P instanceof O.a&&this._isValidPosition(P.lineNumber,P.column,Z)?P:this._validatePosition(P.lineNumber,P.column,Z)},M.prototype._isValidRange=function(P,Z){var Ae=P.startLineNumber,xe=P.startColumn,Ne=P.endLineNumber,dt=P.endColumn;if(!this._isValidPosition(Ae,xe,0))return!1;if(!this._isValidPosition(Ne,dt,0))return!1;if(Z===1){var ht=xe>1?this._buffer.getLineCharCode(Ae,xe-2):0,xt=dt>1&&dt<=this._buffer.getLineLength(Ne)?this._buffer.getLineCharCode(Ne,dt-2):0,Bt=I.z(ht),Ht=I.z(xt);return!Bt&&!Ht}return!0},M.prototype.validateRange=function(P){var Z=1;if(this._assertNotDisposed(),P instanceof H.a&&!(P instanceof x.a)&&this._isValidRange(P,Z))return P;var Ae=this._validatePosition(P.startLineNumber,P.startColumn,0),xe=this._validatePosition(P.endLineNumber,P.endColumn,0),Ne=Ae.lineNumber,dt=Ae.column,ht=xe.lineNumber,xt=xe.column;if(Z===1){var Bt=dt>1?this._buffer.getLineCharCode(Ne,dt-2):0,Ht=xt>1&&xt<=this._buffer.getLineLength(ht)?this._buffer.getLineCharCode(ht,xt-2):0,Ut=I.z(Bt),oo=I.z(Ht);return!Ut&&!oo?new H.a(Ne,dt,ht,xt):Ne===ht&&dt===xt?new H.a(Ne,dt-1,ht,xt-1):Ut&&oo?new H.a(Ne,dt-1,ht,xt+1):Ut?new H.a(Ne,dt-1,ht,xt):new H.a(Ne,dt,ht,xt+1)}return new H.a(Ne,dt,ht,xt)},M.prototype.modifyPosition=function(P,Z){this._assertNotDisposed();var Ae=this.getOffsetAt(P)+Z;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,Ae)))},M.prototype.getFullModelRange=function(){this._assertNotDisposed();var P=this.getLineCount();return new H.a(1,1,P,this.getLineMaxColumn(P))},M.prototype.findMatchesLineByLine=function(P,Z,Ae,xe){return this._buffer.findMatchesLineByLine(P,Z,Ae,xe)},M.prototype.findMatches=function(P,Z,Ae,xe,Ne,dt,ht){ht===void 0&&(ht=Qo),this._assertNotDisposed();var xt;if(H.a.isIRange(Z)?xt=this.validateRange(Z):xt=this.getFullModelRange(),!Ae&&P.indexOf(` -`)<0){var Bt=new Mt.a(P,Ae,xe,Ne),Ht=Bt.parseSearchRequest();return Ht?this.findMatchesLineByLine(xt,Ht,dt,ht):[]}return Mt.c.findMatches(this,new Mt.a(P,Ae,xe,Ne),xt,dt,ht)},M.prototype.findNextMatch=function(P,Z,Ae,xe,Ne,dt){this._assertNotDisposed();var ht=this.validatePosition(Z);if(!Ae&&P.indexOf(` -`)<0){var xt=new Mt.a(P,Ae,xe,Ne),Bt=xt.parseSearchRequest();if(!Bt)return null;var Ht=this.getLineCount(),Ut=new H.a(ht.lineNumber,ht.column,Ht,this.getLineMaxColumn(Ht)),oo=this.findMatchesLineByLine(Ut,Bt,dt,1);return Mt.c.findNextMatch(this,new Mt.a(P,Ae,xe,Ne),ht,dt),oo.length>0?oo[0]:(Ut=new H.a(1,1,ht.lineNumber,this.getLineMaxColumn(ht.lineNumber)),oo=this.findMatchesLineByLine(Ut,Bt,dt,1),oo.length>0?oo[0]:null)}return Mt.c.findNextMatch(this,new Mt.a(P,Ae,xe,Ne),ht,dt)},M.prototype.findPreviousMatch=function(P,Z,Ae,xe,Ne,dt){this._assertNotDisposed();var ht=this.validatePosition(Z);return Mt.c.findPreviousMatch(this,new Mt.a(P,Ae,xe,Ne),ht,dt)},M.prototype.pushStackElement=function(){this._commandManager.pushStackElement()},M.prototype.pushEOL=function(P){var Z=this.getEOL()===` -`?0:1;if(Z===P)return;try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._commandManager.pushEOL(P)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},M.prototype.pushEditOperations=function(P,Z,Ae){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(P,Z,Ae)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},M.prototype._pushEditOperations=function(P,Z,Ae){var xe=this;if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){for(var Ne=Z.map(function(pe){return{range:xe.validateRange(pe.range),text:pe.text}}),dt=!0,ht=0,xt=P.length;htBt.endLineNumber,yt=Bt.startLineNumber>Zt.endLineNumber;if(!fo&&!yt){Ht=!0;break}}if(!Ht){dt=!1;break}}if(dt)for(var ht=0,xt=this._trimAutoWhitespaceLines.length;htZt.endLineNumber)continue;if(He===Zt.startLineNumber&&Zt.startColumn===Oe&&Zt.isEmpty()&&It&&It.length>0&&It.charAt(0)===` -`)continue;if(He===Zt.startLineNumber&&Zt.startColumn===1&&Zt.isEmpty()&&It&&It.length>0&&It.charAt(It.length-1)===` -`)continue;rt=!1;break}rt&&Z.push({range:new H.a(He,1,He,Oe),text:null})}this._trimAutoWhitespaceLines=null}return this._commandManager.pushEditOperation(P,Z,Ae)},M.prototype.applyEdits=function(P){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._applyEdits(P)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},M.prototype._applyEdits=function(P){for(var Z=0,Ae=P.length;Z0?Ht.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(Ht.rangeOffset,Ht.rangeLength,Ht.text.length,Ht.forceMoveMarkers);for(var yt=Ht.range.startLineNumber,He=Ht.range.endLineNumber,Oe=He-yt,rt=oo,It=Math.min(Oe,rt),pe=rt-Oe,D=It;D>=0;D--){var ye=yt+D,We=dt-Bt-pe+ye;xt.push(new bt(ye,this.getLineContent(We)))}if(Itthis.getLineCount()?[]:this.getLinesDecorations(P,P,Z,Ae)},M.prototype.getLinesDecorations=function(P,Z,Ae,xe){Ae===void 0&&(Ae=0),xe===void 0&&(xe=!1);var Ne=this.getLineCount(),dt=Math.min(Ne,Math.max(1,P)),ht=Math.min(Ne,Math.max(1,Z)),xt=this.getLineMaxColumn(ht);return this._getDecorationsInRange(new H.a(dt,1,ht,xt),Ae,xe)},M.prototype.getDecorationsInRange=function(P,Z,Ae){Z===void 0&&(Z=0),Ae===void 0&&(Ae=!1);var xe=this.validateRange(P);return this._getDecorationsInRange(xe,Z,Ae)},M.prototype.getOverviewRulerDecorations=function(P,Z){P===void 0&&(P=0),Z===void 0&&(Z=!1);var Ae=this.getVersionId(),xe=this._decorationsTree.search(P,Z,!0,Ae);return this._ensureNodesHaveRanges(xe)},M.prototype.getAllDecorations=function(P,Z){P===void 0&&(P=0),Z===void 0&&(Z=!1);var Ae=this.getVersionId(),xe=this._decorationsTree.search(P,Z,!1,Ae);return this._ensureNodesHaveRanges(xe)},M.prototype._getDecorationsInRange=function(P,Z,Ae){var xe=this._buffer.getOffsetAt(P.startLineNumber,P.startColumn),Ne=this._buffer.getOffsetAt(P.endLineNumber,P.endColumn),dt=this.getVersionId(),ht=this._decorationsTree.intervalSearch(xe,Ne,Z,Ae,dt);return this._ensureNodesHaveRanges(ht)},M.prototype._ensureNodesHaveRanges=function(P){for(var Z=0,Ae=P.length;Zthis.getLineCount())throw new Error("Illegal value for lineNumber");this._tokens.setTokens(this._languageIdentifier.id,P-1,this._buffer.getLineLength(P),Z)},M.prototype.setTokens=function(P){if(P.length===0)return;for(var Z=[],Ae=0,xe=P.length;Aethis.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(P)},M.prototype.isCheapToTokenize=function(P){return this._tokenization.isCheapToTokenize(P)},M.prototype.tokenizeIfCheap=function(P){this.isCheapToTokenize(P)&&this.forceTokenization(P)},M.prototype.getLineTokens=function(P){if(P<1||P>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(P)},M.prototype._getLineTokens=function(P){var Z=this.getLineContent(P),Ae=this._tokens.getTokens(this._languageIdentifier.id,P-1,Z);return this._tokens2.addSemanticTokens(P,Ae)},M.prototype.getLanguageIdentifier=function(){return this._languageIdentifier},M.prototype.getModeId=function(){return this._languageIdentifier.language},M.prototype.setMode=function(P){if(this._languageIdentifier.id===P.id)return;var Z={oldLanguage:this._languageIdentifier.language,newLanguage:P.language};this._languageIdentifier=P,this._onDidChangeLanguage.fire(Z),this._onDidChangeLanguageConfiguration.fire({})},M.prototype.getLanguageIdAtPosition=function(P,Z){var Ae=this.validatePosition(new O.a(P,Z)),xe=this.getLineTokens(Ae.lineNumber);return xe.getLanguageId(xe.findTokenIndexAtOffset(Ae.column-1))},M.prototype.getWordAtPosition=function(P){this._assertNotDisposed();var Z=this.validatePosition(P),Ae=this.getLineContent(Z.lineNumber),xe=this._getLineTokens(Z.lineNumber),Ne=xe.findTokenIndexAtOffset(Z.column-1),dt=M._findLanguageBoundaries(xe,Ne),ht=dt[0],xt=dt[1],Bt=Object(po.d)(Z.column,co.a.getWordDefinition(xe.getLanguageId(Ne)),Ae.substring(ht,xt),ht);if(Bt&&Bt.startColumn<=P.column&&P.column<=Bt.endColumn)return Bt;if(Ne>0&&ht===Z.column-1){var Ht=M._findLanguageBoundaries(xe,Ne-1),Ut=Ht[0],oo=Ht[1],Zt=Object(po.d)(Z.column,co.a.getWordDefinition(xe.getLanguageId(Ne-1)),Ae.substring(Ut,oo),Ut);if(Zt&&Zt.startColumn<=P.column&&P.column<=Zt.endColumn)return Zt}return null},M._findLanguageBoundaries=function(P,Z){for(var Ae=P.getLanguageId(Z),xe=0,Ne=Z;Ne>=0&&P.getLanguageId(Ne)===Ae;Ne--)xe=P.getStartOffset(Ne);for(var dt=P.getLineContent().length,Ne=Z,ht=P.getCount();Ne=0;Bt--){var Ht=Ae.getEndOffset(Bt);if(Ht<=xt)break;Object(Eo.b)(Ae.getStandardTokenType(Bt))&&(xt=Ht)}for(var Ut=Math.min(Ne.length,P.column-1+ht.maxBracketLength),oo=null;;){var Zt=Oo.a.findNextBracketInRange(ht.forwardRegex,Z,Ne,xt,Ut);if(!Zt)break;if(Zt.startColumn<=P.column&&P.column<=Zt.endColumn){var fo=Ne.substring(Zt.startColumn-1,Zt.endColumn-1).toLowerCase(),yt=this._matchFoundBracket(Zt,ht.textIsBracket[fo],ht.textIsOpenBracket[fo]);yt&&(oo=yt)}xt=Zt.endColumn-1}if(oo)return oo}if(dt>0&&Ae.getStartOffset(dt)===P.column-1){var He=dt-1,Oe=co.a.getBracketsSupport(Ae.getLanguageId(He));if(Oe&&!Object(Eo.b)(Ae.getStandardTokenType(He))){for(var xt=Math.max(0,P.column-1-Oe.maxBracketLength),Ut=Math.min(Ne.length,P.column-1+Oe.maxBracketLength),Bt=He+1;Bt=Ut)break;Object(Eo.b)(Ae.getStandardTokenType(Bt))&&(Ut=rt)}var Zt=Oo.a.findPrevBracketInRange(Oe.reversedRegex,Z,Ne,xt,Ut);if(Zt&&Zt.startColumn<=P.column&&P.column<=Zt.endColumn){var fo=Ne.substring(Zt.startColumn-1,Zt.endColumn-1).toLowerCase(),yt=this._matchFoundBracket(Zt,Oe.textIsBracket[fo],Oe.textIsOpenBracket[fo]);if(yt)return yt}}}return null},M.prototype._matchFoundBracket=function(P,Z,Ae){if(!Z)return null;if(Ae){var xe=this._findMatchingBracketDown(Z,P.getEndPosition());if(xe)return[P,xe]}else{var xe=this._findMatchingBracketUp(Z,P.getStartPosition());if(xe)return[P,xe]}return null},M.prototype._findMatchingBracketUp=function(P,Z){for(var Ae=P.languageIdentifier.id,xe=P.reversedRegex,Ne=-1,dt=function(rt,It,pe,D){for(;;){var ye=Oo.a.findPrevBracketInRange(xe,rt,It,pe,D);if(!ye)break;var We=It.substring(ye.startColumn-1,ye.endColumn-1).toLowerCase();if(P.isOpen(We)?Ne++:P.isClose(We)&&Ne--,Ne===0)return ye;D=ye.startColumn-1}return null},ht=Z.lineNumber;ht>=1;ht--){var xt=this._getLineTokens(ht),Bt=xt.getCount(),Ht=this._buffer.getLineContent(ht),Ut=Bt-1,oo=Ht.length,Zt=Ht.length;ht===Z.lineNumber&&(Ut=xt.findTokenIndexAtOffset(Z.column-1),oo=Z.column-1,Zt=Z.column-1);for(var fo=!0;Ut>=0;Ut--){var yt=xt.getLanguageId(Ut)===Ae&&!Object(Eo.b)(xt.getStandardTokenType(Ut));if(yt)fo?oo=xt.getStartOffset(Ut):(oo=xt.getStartOffset(Ut),Zt=xt.getEndOffset(Ut));else if(fo&&oo!==Zt){var He=dt(ht,Ht,oo,Zt);if(He)return He}fo=yt}if(fo&&oo!==Zt){var He=dt(ht,Ht,oo,Zt);if(He)return He}}return null},M.prototype._findMatchingBracketDown=function(P,Z){for(var Ae=P.languageIdentifier.id,xe=P.forwardRegex,Ne=1,dt=function(It,pe,D,ye){for(;;){var We=Oo.a.findNextBracketInRange(xe,It,pe,D,ye);if(!We)break;var Ze=pe.substring(We.startColumn-1,We.endColumn-1).toLowerCase();if(P.isOpen(Ze)?Ne++:P.isClose(Ze)&&Ne--,Ne===0)return We;D=We.endColumn-1}return null},ht=this.getLineCount(),xt=Z.lineNumber;xt<=ht;xt++){var Bt=this._getLineTokens(xt),Ht=Bt.getCount(),Ut=this._buffer.getLineContent(xt),oo=0,Zt=0,fo=0;xt===Z.lineNumber&&(oo=Bt.findTokenIndexAtOffset(Z.column-1),Zt=Z.column-1,fo=Z.column-1);for(var yt=!0;oo=1;Ne--){var dt=this._getLineTokens(Ne),ht=dt.getCount(),xt=this._buffer.getLineContent(Ne),Bt=ht-1,Ht=xt.length,Ut=xt.length;if(Ne===Z.lineNumber){Bt=dt.findTokenIndexAtOffset(Z.column-1),Ht=Z.column-1,Ut=Z.column-1;var oo=dt.getLanguageId(Bt);Ae!==oo&&(Ae=oo,xe=co.a.getBracketsSupport(Ae))}for(var Zt=!0;Bt>=0;Bt--){var oo=dt.getLanguageId(Bt);if(Ae!==oo){if(xe&&Zt&&Ht!==Ut){var fo=Oo.a.findPrevBracketInRange(xe.reversedRegex,Ne,xt,Ht,Ut);if(fo)return this._toFoundBracket(xe,fo);Zt=!1}Ae=oo,xe=co.a.getBracketsSupport(Ae)}var yt=!!xe&&!Object(Eo.b)(dt.getStandardTokenType(Bt));if(yt)Zt?Ht=dt.getStartOffset(Bt):(Ht=dt.getStartOffset(Bt),Ut=dt.getEndOffset(Bt));else if(xe&&Zt&&Ht!==Ut){var fo=Oo.a.findPrevBracketInRange(xe.reversedRegex,Ne,xt,Ht,Ut);if(fo)return this._toFoundBracket(xe,fo)}Zt=yt}if(xe&&Zt&&Ht!==Ut){var fo=Oo.a.findPrevBracketInRange(xe.reversedRegex,Ne,xt,Ht,Ut);if(fo)return this._toFoundBracket(xe,fo)}}return null},M.prototype.findNextBracket=function(P){for(var Z=this.validatePosition(P),Ae=this.getLineCount(),xe=-1,Ne=null,dt=Z.lineNumber;dt<=Ae;dt++){var ht=this._getLineTokens(dt),xt=ht.getCount(),Bt=this._buffer.getLineContent(dt),Ht=0,Ut=0,oo=0;if(dt===Z.lineNumber){Ht=ht.findTokenIndexAtOffset(Z.column-1),Ut=Z.column-1,oo=Z.column-1;var Zt=ht.getLanguageId(Ht);xe!==Zt&&(xe=Zt,Ne=co.a.getBracketsSupport(xe))}for(var fo=!0;HtZ)return null;var yt=this._getLineTokens(Zt),He=yt.getCount(),Oe=this._buffer.getLineContent(Zt),rt=0,It=0,pe=0;if(Zt===xe.lineNumber){rt=yt.findTokenIndexAtOffset(xe.column-1),It=xe.column-1,pe=xe.column-1;var D=yt.getLanguageId(rt);Ht!==D&&(Ht=D,Ut=co.a.getBracketsSupport(Ht),xt(Ht,Ut))}for(var ye=!0;rtNe)throw new Error("Illegal value for lineNumber");for(var dt=co.a.getFoldingRules(this._languageIdentifier.id),ht=Boolean(dt&&dt.offSide),xt=-2,Bt=-1,Ht=-2,Ut=-1,oo=function(vo){if(xt!==-1&&(xt===-2||xt>vo-1)){xt=-1,Bt=-1;for(var lo=vo-2;lo>=0;lo--){var Ro=xe._computeIndentLevel(lo);if(Ro>=0){xt=lo,Bt=Ro;break}}}if(Ht===-2){Ht=-1,Ut=-1;for(var lo=vo;lo=0){Ht=lo,Ut=wo;break}}}},Zt=-2,fo=-1,yt=-2,He=-1,Oe=function(vo){if(Zt===-2){Zt=-1,fo=-1;for(var lo=vo-2;lo>=0;lo--){var Ro=xe._computeIndentLevel(lo);if(Ro>=0){Zt=lo,fo=Ro;break}}}if(yt!==-1&&(yt===-2||yt=0){yt=lo,He=wo;break}}}},rt=0,It=!0,pe=0,D=!0,ye=0,We=0;It||D;We++){var Ze=P-We,st=P+We;if(We!==0&&(Ze<1||ZeNe||st>Ae)&&(D=!1),We>5e4&&(It=!1,D=!1),It){var mt=void 0,Kt=this._computeIndentLevel(Ze-1);if(Kt>=0?(Ht=Ze-1,Ut=Kt,mt=Math.ceil(Kt/this._options.indentSize)):(oo(Ze),mt=this._getIndentLevelForWhitespaceLine(ht,Bt,Ut)),We===0){if(rt=Ze,pe=st,ye=mt,ye===0)return{startLineNumber:rt,endLineNumber:pe,indent:ye};continue}mt>=ye?rt=Ze:It=!1}if(D){var Xt=void 0,Kt=this._computeIndentLevel(st-1);Kt>=0?(Zt=st-1,fo=Kt,Xt=Math.ceil(Kt/this._options.indentSize)):(Oe(st),Xt=this._getIndentLevelForWhitespaceLine(ht,fo,He)),Xt>=ye?pe=st:D=!1}}return{startLineNumber:rt,endLineNumber:pe,indent:ye}},M.prototype.getLinesIndentGuides=function(P,Z){this._assertNotDisposed();var Ae=this.getLineCount();if(P<1||P>Ae)throw new Error("Illegal value for startLineNumber");if(Z<1||Z>Ae)throw new Error("Illegal value for endLineNumber");for(var xe=co.a.getFoldingRules(this._languageIdentifier.id),Ne=Boolean(xe&&xe.offSide),dt=new Array(Z-P+1),ht=-2,xt=-1,Bt=-2,Ht=-1,Ut=P;Ut<=Z;Ut++){var oo=Ut-P,Zt=this._computeIndentLevel(Ut-1);if(Zt>=0){ht=Ut-1,xt=Zt,dt[oo]=Math.ceil(Zt/this._options.indentSize);continue}if(ht===-2){ht=-1,xt=-1;for(var fo=Ut-2;fo>=0;fo--){var yt=this._computeIndentLevel(fo);if(yt>=0){ht=fo,xt=yt;break}}}if(Bt!==-1&&(Bt===-2||Bt=0){Bt=fo,Ht=yt;break}}}dt[oo]=this._getIndentLevelForWhitespaceLine(Ne,xt,Ht)}return dt},M.prototype._getIndentLevelForWhitespaceLine=function(P,Z,Ae){return Z===-1||Ae===-1?0:Z0){this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(P):this._deferredEvent=P;return}this._fastEmitter.fire(P),this._slowEmitter.fire(P)},M}(J.a)},tXSY:function(Lt,j,e){"use strict";e.r(j),e.d(j,"SnippetController2",function(){return je});var T=e("pmY6"),re=e("N0LK"),J=e("sswD"),I=e("aokT"),U=e("gCVg"),z=e("wQH0"),O=e("QVNv"),H=e("T8No"),x=e("09fa"),u=e("6OMU"),y=e("dFcq"),_=e("0/Sa"),f=e("tX9W"),v=e("9XeP"),w=e("EWX2"),p=e("Cg/j"),c=e("uACm"),s=e("3/fG"),l=e("MrjW"),d=e("gslv"),m=e("cMvZ"),E=e("bY76"),L="code-workspace";function A(me){return me instanceof E.a}function k(me){return me.configuration?{configPath:me.configuration,id:me.id}:me.folders.length===1?me.folders[0].uri:void 0}var R=e("3rx1"),$=function(){function me(ge){this._delegates=ge}return me.prototype.resolve=function(ge){for(var we=0,Re=this._delegates;we=0){for(var Re=[],Ee=0,ve=this._placeholderGroups[this._placeholderGroupsIdx];Ee0&&this._editor.executeEdits("snippet.placeholderTransform",Re)}var oe=!1;ge===!0&&this._placeholderGroupsIdx0&&(this._placeholderGroupsIdx-=1,oe=!0);var be=this._editor.getModel().changeDecorations(function(De){for(var Se=new Set,Ve=[],Qe=0,it=we._placeholderGroups[we._placeholderGroupsIdx];Qe0)return!0}we=we.parent}return!1},Object.defineProperty(me.prototype,"isAtFirstPlaceholder",{get:function(){return this._placeholderGroupsIdx<=0||this._placeholderGroups.length===0},enumerable:!0,configurable:!0}),Object.defineProperty(me.prototype,"isAtLastPlaceholder",{get:function(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1},enumerable:!0,configurable:!0}),Object.defineProperty(me.prototype,"hasPlaceholder",{get:function(){return this._snippet.placeholders.length>0},enumerable:!0,configurable:!0}),me.prototype.computePossibleSelections=function(){for(var ge=new Map,we=0,Re=this._placeholderGroups;we0&&Rt!==oe.getLineFirstNonWhitespaceColumn(so.positionLineNumber),!0),at.resolveVariables(new $([De,new B(Ve,Pt,Mt.length,ge.getOption(60)==="spread"),new ie(oe,so),new le(oe),new Ce,new Me(be),new Te]));var ut=oe.getOffsetAt(tt)+Qe;Qe+=at.toString().length-oe.getValueLengthInRange(At),F[Pt]=_.a.replace(At,at.toString()),se[Pt]=new ne(ge,at,ut)}return{edits:F,snippets:se}},me.prototype.dispose=function(){Object(T.f)(this._snippets)},me.prototype._logInfo=function(){return'template="'+this._template+'", merged_templates="'+this._templateMerges.join(" -> ")+'"'},me.prototype.insert=function(){var ge=this;if(!this._editor.hasModel())return;var we=me.createEditsAndSnippets(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText),Re=we.edits,Ee=we.snippets;this._snippets=Ee,this._editor.executeEdits("snippet",Re,function(ve){return ge._snippets[0].hasPlaceholder?ge._move(!0):ve.map(function(Q){return U.a.fromPositions(Q.range.getEndPosition())})}),this._editor.revealRange(this._editor.getSelections()[0])},me.prototype.merge=function(ge,we){var Re=this;if(we===void 0&&(we=ee),!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,ge]);var Ee=me.createEditsAndSnippets(this._editor,ge,we.overwriteBefore,we.overwriteAfter,!0,we.adjustWhitespace,we.clipboardText),ve=Ee.edits,Q=Ee.snippets;this._editor.executeEdits("snippet",ve,function(C){for(var F=0,se=Re._snippets;F0},me}(),q=function(){return q=Object.assign||function(me){for(var ge,we=1,Re=arguments.length;we=0;C--)(Q=me[C])&&(ve=(Ee<3?Q(ve):Ee>3?Q(ge,we,ve):Q(ge,we))||ve);return Ee>3&&ve&&Object.defineProperty(ge,we,ve),ve},X=function(me,ge){return function(we,Re){ge(we,Re,me)}},he={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0},je=function(){function me(ge,we,Re){this._editor=ge,this._logService=we,this._snippetListener=new T.b,this._modelVersionId=-1,this._inSnippet=me.InSnippetMode.bindTo(Re),this._hasNextTabstop=me.HasNextTabstop.bindTo(Re),this._hasPrevTabstop=me.HasPrevTabstop.bindTo(Re)}return me.get=function(ge){return ge.getContribution(me.ID)},me.prototype.dispose=function(){this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),Object(T.f)(this._session),this._snippetListener.dispose()},me.prototype.insert=function(ge,we){try{this._doInsert(ge,typeof we=="undefined"?he:q(q({},he),we))}catch(Re){this.cancel(),this._logService.error(Re),this._logService.error("snippet_error"),this._logService.error("insert_template=",ge),this._logService.error("existing_template=",this._session?this._session._logInfo():"")}},me.prototype._doInsert=function(ge,we){var Re=this;if(!this._editor.hasModel())return;this._snippetListener.clear(),we.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session?this._session.merge(ge,we):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new ae(this._editor,ge,we),this._session.insert()),we.undoStopAfter&&this._editor.getModel().pushStackElement(),this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent(function(Ee){return Ee.isFlush&&Re.cancel()})),this._snippetListener.add(this._editor.onDidChangeModel(function(){return Re.cancel()})),this._snippetListener.add(this._editor.onDidChangeCursorSelection(function(){return Re._updateState()}))},me.prototype._updateState=function(){if(!this._session||!this._editor.hasModel())return;if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()},me.prototype._handleChoice=function(){var ge=this;if(!this._session||!this._editor.hasModel()){this._currentChoice=void 0;return}var we=this._session.choice;if(!we){this._currentChoice=void 0;return}if(this._currentChoice!==we){this._currentChoice=we,this._editor.setSelections(this._editor.getSelections().map(function(Ee){return U.a.fromPositions(Ee.getStartPosition())}));var Re=we.options[0];Object(O.f)(this._editor,we.options.map(function(Ee,ve){return{kind:13,label:Ee.value,insertText:Ee.value,sortText:Object(re.J)("a",ve+1),range:I.a.fromPositions(ge._editor.getPosition(),ge._editor.getPosition().delta(0,Re.value.length))}}))}},me.prototype.finish=function(){for(;this._inSnippet.get();)this.next()},me.prototype.cancel=function(ge){ge===void 0&&(ge=!1),this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),Object(T.f)(this._session),this._session=void 0,this._modelVersionId=-1,ge&&this._editor.setSelections([this._editor.getSelection()])},me.prototype.prev=function(){this._session&&this._session.prev(),this._updateState()},me.prototype.next=function(){this._session&&this._session.next(),this._updateState()},me.prototype.isInSnippet=function(){return Boolean(this._inSnippet.get())},me.ID="snippetController2",me.InSnippetMode=new H.d("inSnippetMode",!1),me.HasNextTabstop=new H.d("hasNextTabstop",!1),me.HasPrevTabstop=new H.d("hasPrevTabstop",!1),me=ue([X(1,x.a),X(2,H.c)],me),me}();Object(J.h)(je.ID,je);var Xe=J.c.bindToContribution(je.get);Object(J.g)(new Xe({id:"jumpToNextSnippetPlaceholder",precondition:H.a.and(je.InSnippetMode,je.HasNextTabstop),handler:function(ge){return ge.next()},kbOpts:{weight:100+30,kbExpr:z.a.editorTextFocus,primary:2}})),Object(J.g)(new Xe({id:"jumpToPrevSnippetPlaceholder",precondition:H.a.and(je.InSnippetMode,je.HasPrevTabstop),handler:function(ge){return ge.prev()},kbOpts:{weight:100+30,kbExpr:z.a.editorTextFocus,primary:1024|2}})),Object(J.g)(new Xe({id:"leaveSnippet",precondition:je.InSnippetMode,handler:function(ge){return ge.cancel(!0)},kbOpts:{weight:100+30,kbExpr:z.a.editorTextFocus,primary:9,secondary:[1024|9]}})),Object(J.g)(new Xe({id:"acceptSnippet",precondition:je.InSnippetMode,handler:function(ge){return ge.finish()}}))},tYmi:function(Lt,j,e){"use strict";e.d(j,"b",function(){return J}),e.d(j,"a",function(){return U});var T=e("bY76"),re=e("MNsG"),J;(function(z){z.inMemory="inmemory",z.vscode="vscode",z.internal="private",z.walkThrough="walkThrough",z.walkThroughSnippet="walkThroughSnippet",z.http="http",z.https="https",z.file="file",z.mailto="mailto",z.untitled="untitled",z.data="data",z.command="command",z.vscodeRemote="vscode-remote",z.vscodeRemoteResource="vscode-remote-resource",z.userData="vscode-userdata"})(J||(J={}));var I=function(){function z(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}return z.prototype.setPreferredWebSchema=function(O){this._preferredWebSchema=O},z.prototype.rewrite=function(O){if(this._delegate)return this._delegate(O);var H=O.authority,x=this._hosts[H];x&&x.indexOf(":")!==-1&&(x="["+x+"]");var u=this._ports[H],y=this._connectionTokens[H],_="path="+encodeURIComponent(O.path);return typeof y=="string"&&(_+="&tkn="+encodeURIComponent(y)),T.a.from({scheme:re.g?this._preferredWebSchema:J.vscodeRemoteResource,authority:x+":"+u,path:"/vscode-remote-resource",query:_})},z}(),U=new I},twdY:function(Lt,j,e){"use strict";e.d(j,"r",function(){return f}),e.d(j,"A",function(){return v}),e.d(j,"F",function(){return w}),e.d(j,"E",function(){return p}),e.d(j,"y",function(){return c}),e.d(j,"h",function(){return s}),e.d(j,"G",function(){return l}),e.d(j,"z",function(){return d}),e.d(j,"n",function(){return m}),e.d(j,"D",function(){return L}),e.d(j,"u",function(){return A}),e.d(j,"v",function(){return k}),e.d(j,"d",function(){return R}),e.d(j,"x",function(){return $}),e.d(j,"p",function(){return ie}),e.d(j,"m",function(){return W}),e.d(j,"i",function(){return B}),e.d(j,"f",function(){return le}),e.d(j,"e",function(){return Ce}),e.d(j,"q",function(){return Me}),e.d(j,"C",function(){return Te}),e.d(j,"b",function(){return Fe}),e.d(j,"a",function(){return Ue}),e.d(j,"g",function(){return Pe}),e.d(j,"j",function(){return ne}),e.d(j,"t",function(){return ee}),e.d(j,"s",function(){return ae}),e.d(j,"c",function(){return q}),e.d(j,"w",function(){return ue}),e.d(j,"o",function(){return X}),e.d(j,"l",function(){return he}),e.d(j,"k",function(){return je}),e.d(j,"B",function(){return Xe});var T=e("746U"),re=e("bY76"),J=e("aokT"),I=e("MI8n"),U=e("pmY6"),z=e("l2gE");function O(me,ge,we,Re){if(Array.isArray(me)){for(var Ee=0,ve=0,Q=me;veEe&&(Ee=F)}return Ee}else{if(typeof me=="string")return Re?me==="*"?5:me===we?10:0:0;if(me){var se=me.language,oe=me.pattern,be=me.scheme,De=me.hasAccessToAllModels;if(!Re&&!De)return 0;var Ee=0;if(be)if(be===ge.scheme)Ee=10;else if(be==="*")Ee=5;else return 0;if(se)if(se===we)Ee=10;else if(se==="*")Ee=Math.max(Ee,5);else return 0;if(oe)if(oe===ge.fsPath||Object(z.a)(oe,ge.fsPath))Ee=10;else return 0;return Ee}else return 0}}var H=e("G2kB");function x(me){return typeof me=="string"?!1:Array.isArray(me)?me.every(x):!!me.exclusive}var u=function(){function me(){this._clock=0,this._entries=[],this._onDidChange=new I.a}return Object.defineProperty(me.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),me.prototype.register=function(ge,we){var Re=this,Ee={selector:ge,provider:we,_score:-1,_time:this._clock++};return this._entries.push(Ee),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(U.h)(function(){if(Ee){var ve=Re._entries.indexOf(Ee);ve>=0&&(Re._entries.splice(ve,1),Re._lastCandidate=void 0,Re._onDidChange.fire(Re._entries.length),Ee=void 0)}})},me.prototype.has=function(ge){return this.all(ge).length>0},me.prototype.all=function(ge){if(!ge)return[];this._updateScores(ge);for(var we=[],Re=0,Ee=this._entries;Re0&&we.push(ve.provider)}return we},me.prototype.ordered=function(ge){var we=[];return this._orderedForEach(ge,function(Re){return we.push(Re.provider)}),we},me.prototype.orderedGroups=function(ge){var we=[],Re,Ee;return this._orderedForEach(ge,function(ve){Re&&Ee===ve._score?Re.push(ve.provider):(Ee=ve._score,Re=[ve.provider],we.push(Re))}),we},me.prototype._orderedForEach=function(ge,we){if(!ge)return;this._updateScores(ge);for(var Re=0,Ee=this._entries;Re0&&we(ve)}},me.prototype._updateScores=function(ge){var we={uri:ge.uri.toString(),language:ge.getLanguageIdentifier().language};if(this._lastCandidate&&this._lastCandidate.language===we.language&&this._lastCandidate.uri===we.uri)return;this._lastCandidate=we;for(var Re=0,Ee=this._entries;Re0){for(var Q=0,C=this._entries;Qwe._score?-1:ge._timewe._time?-1:0},me}(),y=e("QDVR"),_=function(){function me(){this._map=new Map,this._promises=new Map,this._onDidChange=new I.a,this.onDidChange=this._onDidChange.event,this._colorMap=null}return me.prototype.fire=function(ge){this._onDidChange.fire({changedLanguages:ge,changedColorMap:!1})},me.prototype.register=function(ge,we){var Re=this;return this._map.set(ge,we),this.fire([ge]),Object(U.h)(function(){if(Re._map.get(ge)!==we)return;Re._map.delete(ge),Re.fire([ge])})},me.prototype.registerPromise=function(ge,we){var Re=this,Ee=null,ve=!1;return this._promises.set(ge,we.then(function(Q){if(Re._promises.delete(ge),ve||!Q)return;Ee=Re.register(ge,Q)})),Object(U.h)(function(){ve=!0,Ee&&Ee.dispose()})},me.prototype.getPromise=function(ge){var we=this,Re=this.get(ge);if(Re)return Promise.resolve(Re);var Ee=this._promises.get(ge);return Ee?Ee.then(function(ve){return we.get(ge)}):null},me.prototype.get=function(ge){return Object(T.o)(this._map.get(ge))},me.prototype.setColorMap=function(ge){this._colorMap=ge,this._onDidChange.fire({changedLanguages:Object(y.d)(this._map),changedColorMap:!0})},me.prototype.getColorMap=function(){return this._colorMap},me.prototype.getDefaultBackground=function(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null},me}(),f=function(){function me(ge,we){this.language=ge,this.id=we}return me}(),v=function(){function me(){}return me.getLanguageId=function(ge){return(ge&255)>>>0},me.getTokenType=function(ge){return(ge&1792)>>>8},me.getFontStyle=function(ge){return(ge&14336)>>>11},me.getForeground=function(ge){return(ge&8372224)>>>14},me.getBackground=function(ge){return(ge&4286578688)>>>23},me.getClassNameFromMetadata=function(ge){var we=this.getForeground(ge),Re="mtk"+we,Ee=this.getFontStyle(ge);return Ee&1&&(Re+=" mtki"),Ee&2&&(Re+=" mtkb"),Ee&4&&(Re+=" mtku"),Re},me.getInlineStyleFromMetadata=function(ge,we){var Re=this.getForeground(ge),Ee=this.getFontStyle(ge),ve="color: "+we[Re]+";";return Ee&1&&(ve+="font-style: italic;"),Ee&2&&(ve+="font-weight: bold;"),Ee&4&&(ve+="text-decoration: underline;"),ve},me}(),w=function(){var me=Object.create(null);return me[0]="method",me[1]="function",me[2]="constructor",me[3]="field",me[4]="variable",me[5]="class",me[6]="struct",me[7]="interface",me[8]="module",me[9]="property",me[10]="event",me[11]="operator",me[12]="unit",me[13]="value",me[14]="constant",me[15]="enum",me[16]="enum-member",me[17]="keyword",me[25]="snippet",me[18]="text",me[19]="color",me[20]="file",me[21]="reference",me[22]="customcolor",me[23]="folder",me[24]="type-parameter",function(ge){return me[ge]||"property"}}(),p=function(){var me=Object.create(null);return me.method=0,me.function=1,me.constructor=2,me.field=3,me.variable=4,me.class=5,me.struct=6,me.interface=7,me.module=8,me.property=9,me.event=10,me.operator=11,me.unit=12,me.value=13,me.constant=14,me.enum=15,me["enum-member"]=16,me.enumMember=16,me.keyword=17,me.snippet=25,me.text=18,me.color=19,me.file=20,me.reference=21,me.customcolor=22,me.folder=23,me["type-parameter"]=24,me.typeParameter=24,function(ge,we){var Re=me[ge];return typeof Re=="undefined"&&!we&&(Re=9),Re}}(),c;(function(me){me[me.Invoke=1]="Invoke",me[me.TriggerCharacter=2]="TriggerCharacter",me[me.ContentChange=3]="ContentChange"})(c||(c={}));var s;(function(me){me[me.Text=0]="Text",me[me.Read=1]="Read",me[me.Write=2]="Write"})(s||(s={}));function l(me){return me&&re.a.isUri(me.uri)&&J.a.isIRange(me.range)&&(J.a.isIRange(me.originSelectionRange)||J.a.isIRange(me.targetSelectionRange))}var d;(function(me){var ge=new Map;ge.set("file",0),ge.set("module",1),ge.set("namespace",2),ge.set("package",3),ge.set("class",4),ge.set("method",5),ge.set("property",6),ge.set("field",7),ge.set("constructor",8),ge.set("enum",9),ge.set("interface",10),ge.set("function",11),ge.set("variable",12),ge.set("constant",13),ge.set("string",14),ge.set("number",15),ge.set("boolean",16),ge.set("array",17),ge.set("object",18),ge.set("key",19),ge.set("null",20),ge.set("enum-member",21),ge.set("struct",22),ge.set("event",23),ge.set("operator",24),ge.set("type-parameter",25);var we=new Map;we.set(0,"file"),we.set(1,"module"),we.set(2,"namespace"),we.set(3,"package"),we.set(4,"class"),we.set(5,"method"),we.set(6,"property"),we.set(7,"field"),we.set(8,"constructor"),we.set(9,"enum"),we.set(10,"interface"),we.set(11,"function"),we.set(12,"variable"),we.set(13,"constant"),we.set(14,"string"),we.set(15,"number"),we.set(16,"boolean"),we.set(17,"array"),we.set(18,"object"),we.set(19,"key"),we.set(20,"null"),we.set(21,"enum-member"),we.set(22,"struct"),we.set(23,"event"),we.set(24,"operator"),we.set(25,"type-parameter");function Re(Q){return ge.get(Q)}me.fromString=Re;function Ee(Q){return we.get(Q)}me.toString=Ee;function ve(Q,C){return"codicon "+(C?"inline":"block")+" codicon-symbol-"+(we.get(Q)||"property")}me.toCssClassName=ve})(d||(d={}));var m=function(){function me(ge){this.value=ge}return me.Comment=new me("comment"),me.Imports=new me("imports"),me.Region=new me("region"),me}(),E;(function(me){function ge(we){return Object(T.i)(we)&&(Boolean(we.newUri)||Boolean(we.oldUri))}me.is=ge})(E||(E={}));var L;(function(me){function ge(we){return Object(T.i)(we)&&re.a.isUri(we.resource)&&Object(T.i)(we.edit)}me.is=ge})(L||(L={}));var A=new u,k=new u,R=new u,$=new u,ie=new u,W=new u,B=new u,le=new u,Ce=new u,Me=new u,Te=new u,Fe=new u,Ue=new u,Pe=new u,ne=new u,ee=new u,ae=new u,q=new u,ue=new u,X=new u,he=new u,je=new u,Xe=new _},uACm:function(Lt,j,e){"use strict";e.d(j,"d",function(){return z}),e.d(j,"b",function(){return H}),e.d(j,"a",function(){return x}),e.d(j,"c",function(){return w});var T=function(){var p=function(s,l){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,m){d.__proto__=m}||function(d,m){for(var E in m)m.hasOwnProperty(E)&&(d[E]=m[E])},p(s,l)};return function(c,s){p(c,s);function l(){this.constructor=c}c.prototype=s===null?Object.create(s):(l.prototype=s.prototype,new l)}}(),re=function(){for(var p=0,c=0,s=arguments.length;c=48&&c<=57},p.isVariableCharacter=function(c){return c===95||c>=97&&c<=122||c>=65&&c<=90},p.prototype.text=function(c){this.value=c,this.pos=0},p.prototype.tokenText=function(c){return this.value.substr(c.pos,c.len)},p.prototype.next=function(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};var c=this.pos,s=0,l=this.value.charCodeAt(c),d;if(d=p._table[l],typeof d=="number")return this.pos+=1,{type:d,pos:c,len:1};if(p.isDigitCharacter(l)){d=8;do s+=1,l=this.value.charCodeAt(c+s);while(p.isDigitCharacter(l));return this.pos+=s,{type:d,pos:c,len:s}}if(p.isVariableCharacter(l)){d=9;do l=this.value.charCodeAt(c+ ++s);while(p.isVariableCharacter(l)||p.isDigitCharacter(l));return this.pos+=s,{type:d,pos:c,len:s}}d=10;do s+=1,l=this.value.charCodeAt(c+s);while(!isNaN(l)&&typeof p._table[l]=="undefined"&&!p.isDigitCharacter(l)&&!p.isVariableCharacter(l));return this.pos+=s,{type:d,pos:c,len:s}},p._table=(J={},J[36]=0,J[58]=1,J[44]=2,J[123]=3,J[125]=4,J[92]=5,J[47]=6,J[124]=7,J[43]=11,J[45]=12,J[63]=13,J),p}(),U=function(){function p(){this._children=[]}return p.prototype.appendChild=function(c){return c instanceof z&&this._children[this._children.length-1]instanceof z?this._children[this._children.length-1].value+=c.value:(c.parent=this,this._children.push(c)),this},p.prototype.replace=function(c,s){var l=c.parent,d=l.children.indexOf(c),m=l.children.slice(0);m.splice.apply(m,re([d,1],s)),l._children=m,function E(L,A){for(var k=0,R=L;kl.index?1:0},Object.defineProperty(c.prototype,"isFinalTabstop",{get:function(){return this.index===0},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"choice",{get:function(){return this._children.length===1&&this._children[0]instanceof x?this._children[0]:void 0},enumerable:!0,configurable:!0}),c.prototype.clone=function(){var s=new c(this.index);return this.transform&&(s.transform=this.transform.clone()),s._children=this.children.map(function(l){return l.clone()}),s},c}(O),x=function(p){T(c,p);function c(){var s=p!==null&&p.apply(this,arguments)||this;return s.options=[],s}return c.prototype.appendChild=function(s){return s instanceof z&&(s.parent=this,this.options.push(s)),this},c.prototype.toString=function(){return this.options[0].value},c.prototype.len=function(){return this.options[0].len()},c.prototype.clone=function(){var s=new c;return this.options.forEach(s.appendChild,s),s},c}(U),u=function(p){T(c,p);function c(){var s=p!==null&&p.apply(this,arguments)||this;return s.regexp=new RegExp(""),s}return c.prototype.resolve=function(s){var l=this,d=!1,m=s.replace(this.regexp,function(){return d=!0,l._replace(Array.prototype.slice.call(arguments,0,-2))});return!d&&this._children.some(function(E){return E instanceof y&&Boolean(E.elseValue)})&&(m=this._replace([])),m},c.prototype._replace=function(s){for(var l="",d=0,m=this._children;d0;){var l=s.shift(),d=c(l);if(!d)break;s.unshift.apply(s,l.children)}}var v=function(p){T(c,p);function c(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(c.prototype,"placeholderInfo",{get:function(){if(!this._placeholders){var l=[],d;this.walk(function(m){return m instanceof H&&(l.push(m),d=!d||d.index0?m.set(Ce.index,Ce.children):E.push(Ce)),!0});for(var A=0,k=E;A0&&s),!m.has(0)&&l&&d.appendChild(new H(0)),d},p.prototype._accept=function(c,s){if(c===void 0||this._token.type===c){var l=s?this._scanner.tokenText(this._token):!0;return this._token=this._scanner.next(),l}return!1},p.prototype._backTo=function(c){return this._scanner.pos=c.pos+c.len,this._token=c,!1},p.prototype._until=function(c){for(var s=this._token;this._token.type!==c;){if(this._token.type===14)return!1;if(this._token.type===5){var l=this._scanner.next();if(l.type!==0&&l.type!==4&&l.type!==5)return!1}this._token=this._scanner.next()}var d=this._scanner.value.substring(s.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),d},p.prototype._parse=function(c){return this._parseEscaped(c)||this._parseTabstopOrVariableName(c)||this._parseComplexPlaceholder(c)||this._parseComplexVariable(c)||this._parseAnything(c)},p.prototype._parseEscaped=function(c){var s;return(s=this._accept(5,!0))?(s=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||s,c.appendChild(new z(s)),!0):!1},p.prototype._parseTabstopOrVariableName=function(c){var s,l=this._token,d=this._accept(0)&&(s=this._accept(9,!0)||this._accept(8,!0));return d?(c.appendChild(/^\d+$/.test(s)?new H(Number(s)):new _(s)),!0):this._backTo(l)},p.prototype._parseComplexPlaceholder=function(c){var s,l=this._token,d=this._accept(0)&&this._accept(3)&&(s=this._accept(8,!0));if(!d)return this._backTo(l);var m=new H(Number(s));if(this._accept(1))for(;;){if(this._accept(4))return c.appendChild(m),!0;if(this._parse(m))continue;return c.appendChild(new z("${"+s+":")),m.children.forEach(c.appendChild,c),!0}else if(m.index>0&&this._accept(7))for(var E=new x;;){if(this._parseChoiceElement(E)){if(this._accept(2))continue;if(this._accept(7)&&(m.appendChild(E),this._accept(4)))return c.appendChild(m),!0}return this._backTo(l),!1}else return this._accept(6)?this._parseTransform(m)?(c.appendChild(m),!0):(this._backTo(l),!1):this._accept(4)?(c.appendChild(m),!0):this._backTo(l)},p.prototype._parseChoiceElement=function(c){for(var s=this._token,l=[];!(this._token.type===2||this._token.type===7);){var d=void 0;if((d=this._accept(5,!0))?d=this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||d:d=this._accept(void 0,!0),!d)return this._backTo(s),!1;l.push(d)}return l.length===0?(this._backTo(s),!1):(c.appendChild(new z(l.join(""))),!0)},p.prototype._parseComplexVariable=function(c){var s,l=this._token,d=this._accept(0)&&this._accept(3)&&(s=this._accept(9,!0));if(!d)return this._backTo(l);var m=new _(s);if(this._accept(1))for(;;){if(this._accept(4))return c.appendChild(m),!0;if(this._parse(m))continue;return c.appendChild(new z("${"+s+":")),m.children.forEach(c.appendChild,c),!0}else return this._accept(6)?this._parseTransform(m)?(c.appendChild(m),!0):(this._backTo(l),!1):this._accept(4)?(c.appendChild(m),!0):this._backTo(l)},p.prototype._parseTransform=function(c){for(var s=new u,l="",d="";!this._accept(6);){var m=void 0;if(m=this._accept(5,!0)){m=this._accept(6,!0)||m,l+=m;continue}if(this._token.type!==14){l+=this._accept(void 0,!0);continue}return!1}for(;!this._accept(6);){var m=void 0;if(m=this._accept(5,!0)){m=this._accept(5,!0)||this._accept(6,!0)||m,s.appendChild(new z(m));continue}if(this._parseFormatString(s)||this._parseAnything(s))continue;return!1}for(;!this._accept(4);){if(this._token.type!==14){d+=this._accept(void 0,!0);continue}return!1}try{s.regexp=new RegExp(l,d)}catch(E){return!1}return c.transform=s,!0},p.prototype._parseFormatString=function(c){var s=this._token;if(!this._accept(0))return!1;var l=!1;this._accept(3)&&(l=!0);var d=this._accept(8,!0);if(d)if(l){if(this._accept(4))return c.appendChild(new y(Number(d))),!0;if(!this._accept(1))return this._backTo(s),!1}else return c.appendChild(new y(Number(d))),!0;else return this._backTo(s),!1;if(this._accept(6)){var m=this._accept(9,!0);return!m||!this._accept(4)?(this._backTo(s),!1):(c.appendChild(new y(Number(d),m)),!0)}else if(this._accept(11)){var E=this._until(4);if(E)return c.appendChild(new y(Number(d),void 0,E,void 0)),!0}else if(this._accept(12)){var L=this._until(4);if(L)return c.appendChild(new y(Number(d),void 0,void 0,L)),!0}else if(this._accept(13)){var E=this._until(1);if(E){var L=this._until(4);if(L)return c.appendChild(new y(Number(d),void 0,E,L)),!0}}else{var L=this._until(4);if(L)return c.appendChild(new y(Number(d),void 0,void 0,L)),!0}return this._backTo(s),!1},p.prototype._parseAnything=function(c){return this._token.type!==14?(c.appendChild(new z(this._scanner.tokenText(this._token))),this._accept(void 0),!0):!1},p}()},uAX5:function(Lt,j,e){},uDWl:function(Lt,j,e){"use strict";e.d(j,"a",function(){return y});var T=e("D3Dy"),re=e("/kV6"),J=e("MNsG"),I=new Array(230),U=new Array(112);(function(){for(var _=0;_0){d=E[0].getStartPosition();var L=l.getTopForPosition(d.lineNumber,d.column);m=l.getScrollTop()-L}}return new s(d,m)},s.prototype.restore=function(l){if(this._visiblePosition){var d=l.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);l.setScrollTop(d+this._visiblePositionScrollDelta)}},s}()},vMFT:function(Lt,j,e){},vRMv:function(Lt,j,e){"use strict";e.d(j,"b",function(){return x}),e.d(j,"a",function(){return u}),e.d(j,"c",function(){return y}),e.d(j,"e",function(){return _}),e.d(j,"d",function(){return f});var T=e("6OMU"),re=e("JQT/"),J=e("/cxE"),I=e("sswD"),U=e("twdY"),z=function(v,w,p,c){function s(l){return l instanceof p?l:new p(function(d){d(l)})}return new(p||(p=Promise))(function(l,d){function m(A){try{L(c.next(A))}catch(k){d(k)}}function E(A){try{L(c.throw(A))}catch(k){d(k)}}function L(A){A.done?l(A.value):s(A.value).then(m,E)}L((c=c.apply(v,w||[])).next())})},O=function(v,w){var p={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,s,l,d;return d={next:m(0),throw:m(1),return:m(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function m(L){return function(A){return E([L,A])}}function E(L){if(c)throw new TypeError("Generator is already executing.");for(;p;)try{if(c=1,s&&(l=L[0]&2?s.return:L[0]?s.throw||((l=s.return)&&l.call(s),0):s.next)&&!(l=l.call(s,L[1])).done)return l;(s=0,l)&&(L=[L[0]&2,l.value]);switch(L[0]){case 0:case 1:l=L;break;case 4:return p.label++,{value:L[1],done:!1};case 5:p.label++,s=L[1],L=[0];continue;case 7:L=p.ops.pop(),p.trys.pop();continue;default:if(!(l=p.trys,l=l.length>0&&l[l.length-1])&&(L[0]===6||L[0]===2)){p=0;continue}if(L[0]===3&&(!l||L[1]>l[0]&&L[1]0)for(var s=0,l=c;s1){var A=re.a.visibleColumnFromColumn(E,L+1,w);if(A%p!==0&&u.isCheapToTokenize(m-1)){var k=U.a.getEnterAction(this._opts.autoIndent,u,new J.a(m-1,u.getLineMaxColumn(m-1),m-1,u.getLineMaxColumn(m-1)));if(k){if(d=l,k.appendText)for(var R=0,$=k.appendText.length;R<$&&d0){w=Math.min(p<=.5?c/(2*p):c/(2-2*p),1);switch(_){case H:v=(x-u)/c+(x1&&(x-=1),x<1/6?O+(H-O)*6*x:x<1/2?H:x<2/3?O+(H-O)*(2/3-x)*6:O},z.toRGBA=function(O){var H=O.h/360,x=O.s,u=O.l,y=O.a,_,f,v;if(x===0)_=f=v=u;else{var w=u<.5?u*(1+x):u+x-u*x,p=2*u-w;_=z._hue2rgb(p,w,H+1/3),f=z._hue2rgb(p,w,H),v=z._hue2rgb(p,w,H-1/3)}return new re(Math.round(_*255),Math.round(f*255),Math.round(v*255),y)},z}(),I=function(){function z(O,H,x,u){this.h=Math.max(Math.min(360,O),0)|0,this.s=T(Math.max(Math.min(1,H),0),3),this.v=T(Math.max(Math.min(1,x),0),3),this.a=T(Math.max(Math.min(1,u),0),3)}return z.equals=function(O,H){return O.h===H.h&&O.s===H.s&&O.v===H.v&&O.a===H.a},z.fromRGBA=function(O){var H=O.r/255,x=O.g/255,u=O.b/255,y=Math.max(H,x,u),_=Math.min(H,x,u),f=y-_,v=y===0?0:f/y,w;return f===0?w=0:y===H?w=((x-u)/f%6+6)%6:y===x?w=(u-H)/f+2:w=(H-x)/f+4,new z(Math.round(w*60),v,y,O.a)},z.toRGBA=function(O){var H=O.h,x=O.s,u=O.v,y=O.a,_=u*x,f=_*(1-Math.abs(H/60%2-1)),v=u-_,w=[0,0,0],p=w[0],c=w[1],s=w[2];return H<60?(p=_,c=f):H<120?(p=f,c=_):H<180?(c=_,s=f):H<240?(c=f,s=_):H<300?(p=f,s=_):H<360&&(p=_,s=f),p=Math.round((p+v)*255),c=Math.round((c+v)*255),s=Math.round((s+v)*255),new re(p,c,s,y)},z}(),U=function(){function z(O){if(O)if(O instanceof re)this.rgba=O;else if(O instanceof J)this._hsla=O,this.rgba=J.toRGBA(O);else if(O instanceof I)this._hsva=O,this.rgba=I.toRGBA(O);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}return z.fromHex=function(O){return z.Format.CSS.parseHex(O)||z.red},Object.defineProperty(z.prototype,"hsla",{get:function(){return this._hsla?this._hsla:J.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),Object.defineProperty(z.prototype,"hsva",{get:function(){return this._hsva?this._hsva:I.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),z.prototype.equals=function(O){return!!O&&re.equals(this.rgba,O.rgba)&&J.equals(this.hsla,O.hsla)&&I.equals(this.hsva,O.hsva)},z.prototype.getRelativeLuminance=function(){var O=z._relativeLuminanceForComponent(this.rgba.r),H=z._relativeLuminanceForComponent(this.rgba.g),x=z._relativeLuminanceForComponent(this.rgba.b),u=.2126*O+.7152*H+.0722*x;return T(u,4)},z._relativeLuminanceForComponent=function(O){var H=O/255;return H<=.03928?H/12.92:Math.pow((H+.055)/1.055,2.4)},z.prototype.isLighter=function(){var O=(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3;return O>=128},z.prototype.isLighterThan=function(O){var H=this.getRelativeLuminance(),x=O.getRelativeLuminance();return H>x},z.prototype.isDarkerThan=function(O){var H=this.getRelativeLuminance(),x=O.getRelativeLuminance();return H0},M.prototype.getAttachedEditorCount=function(){return this._attachedEditorCount},M.prototype.isTooLargeForSyncing=function(){return this._isTooLargeForSyncing},M.prototype.isTooLargeForTokenization=function(){return this._isTooLargeForTokenization},M.prototype.isDisposed=function(){return this._isDisposed},M.prototype.isDominatedByLongLines=function(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;for(var P=0,Z=0,Ae=this._buffer.getLineCount(),xe=1;xe<=Ae;xe++){var Ne=this._buffer.getLineLength(xe);Ne>=fn?Z+=Ne:P+=Ne}return Z>P},Object.defineProperty(M.prototype,"uri",{get:function(){return this._associatedResource},enumerable:!0,configurable:!0}),M.prototype.getOptions=function(){return this._assertNotDisposed(),this._options},M.prototype.getFormattingOptions=function(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}},M.prototype.updateOptions=function(P){this._assertNotDisposed();var Z=typeof P.tabSize!="undefined"?P.tabSize:this._options.tabSize,Ae=typeof P.indentSize!="undefined"?P.indentSize:this._options.indentSize,xe=typeof P.insertSpaces!="undefined"?P.insertSpaces:this._options.insertSpaces,Ne=typeof P.trimAutoWhitespace!="undefined"?P.trimAutoWhitespace:this._options.trimAutoWhitespace,dt=new u.e({tabSize:Z,indentSize:Ae,insertSpaces:xe,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:Ne});if(this._options.equals(dt))return;var ht=this._options.createChangeEvent(dt);this._options=dt,this._onDidChangeOptions.fire(ht)},M.prototype.detectIndentation=function(P,Z){this._assertNotDisposed();var Ae=c(this._buffer,Z,P);this.updateOptions({insertSpaces:Ae.insertSpaces,tabSize:Ae.tabSize,indentSize:Ae.tabSize})},M._normalizeIndentationFromWhitespace=function(P,Z,Ae){for(var xe=0,Ne=0;Nethis.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(P)},M.prototype.getLineLength=function(P){if(this._assertNotDisposed(),P<1||P>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(P)},M.prototype.getLinesContent=function(){return this._assertNotDisposed(),this._buffer.getLinesContent()},M.prototype.getEOL=function(){return this._assertNotDisposed(),this._buffer.getEOL()},M.prototype.getLineMinColumn=function(P){return this._assertNotDisposed(),1},M.prototype.getLineMaxColumn=function(P){if(this._assertNotDisposed(),P<1||P>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(P)+1},M.prototype.getLineFirstNonWhitespaceColumn=function(P){if(this._assertNotDisposed(),P<1||P>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(P)},M.prototype.getLineLastNonWhitespaceColumn=function(P){if(this._assertNotDisposed(),P<1||P>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(P)},M.prototype._validateRangeRelaxedNoAllocations=function(P){var Z=this._buffer.getLineCount(),Ae=P.startLineNumber,xe=P.startColumn,Ne,dt;if(Ae<1)Ne=1,dt=1;else if(Ae>Z)Ne=Z,dt=this.getLineMaxColumn(Ne);else if(Ne=Ae|0,xe<=1)dt=1;else{var ht=this.getLineMaxColumn(Ne);xe>=ht?dt=ht:dt=xe|0}var xt=P.endLineNumber,Bt=P.endColumn,Ut,Ht;if(xt<1)Ut=1,Ht=1;else if(xt>Z)Ut=Z,Ht=this.getLineMaxColumn(Ut);else if(Ut=xt|0,Bt<=1)Ht=1;else{var ht=this.getLineMaxColumn(Ut);Bt>=ht?Ht=ht:Ht=Bt|0}return Ae===Ne&&xe===dt&&xt===Ut&&Bt===Ht&&P instanceof U.a&&!(P instanceof x.a)?P:new U.a(Ne,dt,Ut,Ht)},M.prototype._isValidPosition=function(P,Z,Ae){if(typeof P!="number"||typeof Z!="number")return!1;if(isNaN(P)||isNaN(Z))return!1;if(P<1||Z<1)return!1;if((P|0)!==P||(Z|0)!==Z)return!1;var xe=this._buffer.getLineCount();if(P>xe)return!1;if(Z===1)return!0;var Ne=this.getLineMaxColumn(P);if(Z>Ne)return!1;if(Ae===1){var dt=this._buffer.getLineCharCode(P,Z-2);if(I.z(dt))return!1}return!0},M.prototype._validatePosition=function(P,Z,Ae){var xe=Math.floor(typeof P=="number"&&!isNaN(P)?P:1),Ne=Math.floor(typeof Z=="number"&&!isNaN(Z)?Z:1),dt=this._buffer.getLineCount();if(xe<1)return new O.a(1,1);if(xe>dt)return new O.a(dt,this.getLineMaxColumn(dt));if(Ne<=1)return new O.a(xe,1);var ht=this.getLineMaxColumn(xe);if(Ne>=ht)return new O.a(xe,ht);if(Ae===1){var xt=this._buffer.getLineCharCode(xe,Ne-2);if(I.z(xt))return new O.a(xe,Ne-1)}return new O.a(xe,Ne)},M.prototype.validatePosition=function(P){var Z=1;return this._assertNotDisposed(),P instanceof O.a&&this._isValidPosition(P.lineNumber,P.column,Z)?P:this._validatePosition(P.lineNumber,P.column,Z)},M.prototype._isValidRange=function(P,Z){var Ae=P.startLineNumber,xe=P.startColumn,Ne=P.endLineNumber,dt=P.endColumn;if(!this._isValidPosition(Ae,xe,0))return!1;if(!this._isValidPosition(Ne,dt,0))return!1;if(Z===1){var ht=xe>1?this._buffer.getLineCharCode(Ae,xe-2):0,xt=dt>1&&dt<=this._buffer.getLineLength(Ne)?this._buffer.getLineCharCode(Ne,dt-2):0,Bt=I.z(ht),Ut=I.z(xt);return!Bt&&!Ut}return!0},M.prototype.validateRange=function(P){var Z=1;if(this._assertNotDisposed(),P instanceof U.a&&!(P instanceof x.a)&&this._isValidRange(P,Z))return P;var Ae=this._validatePosition(P.startLineNumber,P.startColumn,0),xe=this._validatePosition(P.endLineNumber,P.endColumn,0),Ne=Ae.lineNumber,dt=Ae.column,ht=xe.lineNumber,xt=xe.column;if(Z===1){var Bt=dt>1?this._buffer.getLineCharCode(Ne,dt-2):0,Ut=xt>1&&xt<=this._buffer.getLineLength(ht)?this._buffer.getLineCharCode(ht,xt-2):0,Ht=I.z(Bt),oo=I.z(Ut);return!Ht&&!oo?new U.a(Ne,dt,ht,xt):Ne===ht&&dt===xt?new U.a(Ne,dt-1,ht,xt-1):Ht&&oo?new U.a(Ne,dt-1,ht,xt+1):Ht?new U.a(Ne,dt-1,ht,xt):new U.a(Ne,dt,ht,xt+1)}return new U.a(Ne,dt,ht,xt)},M.prototype.modifyPosition=function(P,Z){this._assertNotDisposed();var Ae=this.getOffsetAt(P)+Z;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,Ae)))},M.prototype.getFullModelRange=function(){this._assertNotDisposed();var P=this.getLineCount();return new U.a(1,1,P,this.getLineMaxColumn(P))},M.prototype.findMatchesLineByLine=function(P,Z,Ae,xe){return this._buffer.findMatchesLineByLine(P,Z,Ae,xe)},M.prototype.findMatches=function(P,Z,Ae,xe,Ne,dt,ht){ht===void 0&&(ht=Qo),this._assertNotDisposed();var xt;if(U.a.isIRange(Z)?xt=this.validateRange(Z):xt=this.getFullModelRange(),!Ae&&P.indexOf(` +`)<0){var Bt=new Mt.a(P,Ae,xe,Ne),Ut=Bt.parseSearchRequest();return Ut?this.findMatchesLineByLine(xt,Ut,dt,ht):[]}return Mt.c.findMatches(this,new Mt.a(P,Ae,xe,Ne),xt,dt,ht)},M.prototype.findNextMatch=function(P,Z,Ae,xe,Ne,dt){this._assertNotDisposed();var ht=this.validatePosition(Z);if(!Ae&&P.indexOf(` +`)<0){var xt=new Mt.a(P,Ae,xe,Ne),Bt=xt.parseSearchRequest();if(!Bt)return null;var Ut=this.getLineCount(),Ht=new U.a(ht.lineNumber,ht.column,Ut,this.getLineMaxColumn(Ut)),oo=this.findMatchesLineByLine(Ht,Bt,dt,1);return Mt.c.findNextMatch(this,new Mt.a(P,Ae,xe,Ne),ht,dt),oo.length>0?oo[0]:(Ht=new U.a(1,1,ht.lineNumber,this.getLineMaxColumn(ht.lineNumber)),oo=this.findMatchesLineByLine(Ht,Bt,dt,1),oo.length>0?oo[0]:null)}return Mt.c.findNextMatch(this,new Mt.a(P,Ae,xe,Ne),ht,dt)},M.prototype.findPreviousMatch=function(P,Z,Ae,xe,Ne,dt){this._assertNotDisposed();var ht=this.validatePosition(Z);return Mt.c.findPreviousMatch(this,new Mt.a(P,Ae,xe,Ne),ht,dt)},M.prototype.pushStackElement=function(){this._commandManager.pushStackElement()},M.prototype.pushEOL=function(P){var Z=this.getEOL()===` +`?0:1;if(Z===P)return;try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._commandManager.pushEOL(P)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},M.prototype.pushEditOperations=function(P,Z,Ae){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(P,Z,Ae)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},M.prototype._pushEditOperations=function(P,Z,Ae){var xe=this;if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){for(var Ne=Z.map(function(pe){return{range:xe.validateRange(pe.range),text:pe.text}}),dt=!0,ht=0,xt=P.length;htBt.endLineNumber,yt=Bt.startLineNumber>Zt.endLineNumber;if(!fo&&!yt){Ut=!0;break}}if(!Ut){dt=!1;break}}if(dt)for(var ht=0,xt=this._trimAutoWhitespaceLines.length;htZt.endLineNumber)continue;if(Ue===Zt.startLineNumber&&Zt.startColumn===Oe&&Zt.isEmpty()&&It&&It.length>0&&It.charAt(0)===` +`)continue;if(Ue===Zt.startLineNumber&&Zt.startColumn===1&&Zt.isEmpty()&&It&&It.length>0&&It.charAt(It.length-1)===` +`)continue;rt=!1;break}rt&&Z.push({range:new U.a(Ue,1,Ue,Oe),text:null})}this._trimAutoWhitespaceLines=null}return this._commandManager.pushEditOperation(P,Z,Ae)},M.prototype.applyEdits=function(P){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._applyEdits(P)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},M.prototype._applyEdits=function(P){for(var Z=0,Ae=P.length;Z0?Ut.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(Ut.rangeOffset,Ut.rangeLength,Ut.text.length,Ut.forceMoveMarkers);for(var yt=Ut.range.startLineNumber,Ue=Ut.range.endLineNumber,Oe=Ue-yt,rt=oo,It=Math.min(Oe,rt),pe=rt-Oe,D=It;D>=0;D--){var ye=yt+D,We=dt-Bt-pe+ye;xt.push(new bt(ye,this.getLineContent(We)))}if(Itthis.getLineCount()?[]:this.getLinesDecorations(P,P,Z,Ae)},M.prototype.getLinesDecorations=function(P,Z,Ae,xe){Ae===void 0&&(Ae=0),xe===void 0&&(xe=!1);var Ne=this.getLineCount(),dt=Math.min(Ne,Math.max(1,P)),ht=Math.min(Ne,Math.max(1,Z)),xt=this.getLineMaxColumn(ht);return this._getDecorationsInRange(new U.a(dt,1,ht,xt),Ae,xe)},M.prototype.getDecorationsInRange=function(P,Z,Ae){Z===void 0&&(Z=0),Ae===void 0&&(Ae=!1);var xe=this.validateRange(P);return this._getDecorationsInRange(xe,Z,Ae)},M.prototype.getOverviewRulerDecorations=function(P,Z){P===void 0&&(P=0),Z===void 0&&(Z=!1);var Ae=this.getVersionId(),xe=this._decorationsTree.search(P,Z,!0,Ae);return this._ensureNodesHaveRanges(xe)},M.prototype.getAllDecorations=function(P,Z){P===void 0&&(P=0),Z===void 0&&(Z=!1);var Ae=this.getVersionId(),xe=this._decorationsTree.search(P,Z,!1,Ae);return this._ensureNodesHaveRanges(xe)},M.prototype._getDecorationsInRange=function(P,Z,Ae){var xe=this._buffer.getOffsetAt(P.startLineNumber,P.startColumn),Ne=this._buffer.getOffsetAt(P.endLineNumber,P.endColumn),dt=this.getVersionId(),ht=this._decorationsTree.intervalSearch(xe,Ne,Z,Ae,dt);return this._ensureNodesHaveRanges(ht)},M.prototype._ensureNodesHaveRanges=function(P){for(var Z=0,Ae=P.length;Zthis.getLineCount())throw new Error("Illegal value for lineNumber");this._tokens.setTokens(this._languageIdentifier.id,P-1,this._buffer.getLineLength(P),Z)},M.prototype.setTokens=function(P){if(P.length===0)return;for(var Z=[],Ae=0,xe=P.length;Aethis.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(P)},M.prototype.isCheapToTokenize=function(P){return this._tokenization.isCheapToTokenize(P)},M.prototype.tokenizeIfCheap=function(P){this.isCheapToTokenize(P)&&this.forceTokenization(P)},M.prototype.getLineTokens=function(P){if(P<1||P>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(P)},M.prototype._getLineTokens=function(P){var Z=this.getLineContent(P),Ae=this._tokens.getTokens(this._languageIdentifier.id,P-1,Z);return this._tokens2.addSemanticTokens(P,Ae)},M.prototype.getLanguageIdentifier=function(){return this._languageIdentifier},M.prototype.getModeId=function(){return this._languageIdentifier.language},M.prototype.setMode=function(P){if(this._languageIdentifier.id===P.id)return;var Z={oldLanguage:this._languageIdentifier.language,newLanguage:P.language};this._languageIdentifier=P,this._onDidChangeLanguage.fire(Z),this._onDidChangeLanguageConfiguration.fire({})},M.prototype.getLanguageIdAtPosition=function(P,Z){var Ae=this.validatePosition(new O.a(P,Z)),xe=this.getLineTokens(Ae.lineNumber);return xe.getLanguageId(xe.findTokenIndexAtOffset(Ae.column-1))},M.prototype.getWordAtPosition=function(P){this._assertNotDisposed();var Z=this.validatePosition(P),Ae=this.getLineContent(Z.lineNumber),xe=this._getLineTokens(Z.lineNumber),Ne=xe.findTokenIndexAtOffset(Z.column-1),dt=M._findLanguageBoundaries(xe,Ne),ht=dt[0],xt=dt[1],Bt=Object(po.d)(Z.column,co.a.getWordDefinition(xe.getLanguageId(Ne)),Ae.substring(ht,xt),ht);if(Bt&&Bt.startColumn<=P.column&&P.column<=Bt.endColumn)return Bt;if(Ne>0&&ht===Z.column-1){var Ut=M._findLanguageBoundaries(xe,Ne-1),Ht=Ut[0],oo=Ut[1],Zt=Object(po.d)(Z.column,co.a.getWordDefinition(xe.getLanguageId(Ne-1)),Ae.substring(Ht,oo),Ht);if(Zt&&Zt.startColumn<=P.column&&P.column<=Zt.endColumn)return Zt}return null},M._findLanguageBoundaries=function(P,Z){for(var Ae=P.getLanguageId(Z),xe=0,Ne=Z;Ne>=0&&P.getLanguageId(Ne)===Ae;Ne--)xe=P.getStartOffset(Ne);for(var dt=P.getLineContent().length,Ne=Z,ht=P.getCount();Ne=0;Bt--){var Ut=Ae.getEndOffset(Bt);if(Ut<=xt)break;Object(Eo.b)(Ae.getStandardTokenType(Bt))&&(xt=Ut)}for(var Ht=Math.min(Ne.length,P.column-1+ht.maxBracketLength),oo=null;;){var Zt=Oo.a.findNextBracketInRange(ht.forwardRegex,Z,Ne,xt,Ht);if(!Zt)break;if(Zt.startColumn<=P.column&&P.column<=Zt.endColumn){var fo=Ne.substring(Zt.startColumn-1,Zt.endColumn-1).toLowerCase(),yt=this._matchFoundBracket(Zt,ht.textIsBracket[fo],ht.textIsOpenBracket[fo]);yt&&(oo=yt)}xt=Zt.endColumn-1}if(oo)return oo}if(dt>0&&Ae.getStartOffset(dt)===P.column-1){var Ue=dt-1,Oe=co.a.getBracketsSupport(Ae.getLanguageId(Ue));if(Oe&&!Object(Eo.b)(Ae.getStandardTokenType(Ue))){for(var xt=Math.max(0,P.column-1-Oe.maxBracketLength),Ht=Math.min(Ne.length,P.column-1+Oe.maxBracketLength),Bt=Ue+1;Bt=Ht)break;Object(Eo.b)(Ae.getStandardTokenType(Bt))&&(Ht=rt)}var Zt=Oo.a.findPrevBracketInRange(Oe.reversedRegex,Z,Ne,xt,Ht);if(Zt&&Zt.startColumn<=P.column&&P.column<=Zt.endColumn){var fo=Ne.substring(Zt.startColumn-1,Zt.endColumn-1).toLowerCase(),yt=this._matchFoundBracket(Zt,Oe.textIsBracket[fo],Oe.textIsOpenBracket[fo]);if(yt)return yt}}}return null},M.prototype._matchFoundBracket=function(P,Z,Ae){if(!Z)return null;if(Ae){var xe=this._findMatchingBracketDown(Z,P.getEndPosition());if(xe)return[P,xe]}else{var xe=this._findMatchingBracketUp(Z,P.getStartPosition());if(xe)return[P,xe]}return null},M.prototype._findMatchingBracketUp=function(P,Z){for(var Ae=P.languageIdentifier.id,xe=P.reversedRegex,Ne=-1,dt=function(rt,It,pe,D){for(;;){var ye=Oo.a.findPrevBracketInRange(xe,rt,It,pe,D);if(!ye)break;var We=It.substring(ye.startColumn-1,ye.endColumn-1).toLowerCase();if(P.isOpen(We)?Ne++:P.isClose(We)&&Ne--,Ne===0)return ye;D=ye.startColumn-1}return null},ht=Z.lineNumber;ht>=1;ht--){var xt=this._getLineTokens(ht),Bt=xt.getCount(),Ut=this._buffer.getLineContent(ht),Ht=Bt-1,oo=Ut.length,Zt=Ut.length;ht===Z.lineNumber&&(Ht=xt.findTokenIndexAtOffset(Z.column-1),oo=Z.column-1,Zt=Z.column-1);for(var fo=!0;Ht>=0;Ht--){var yt=xt.getLanguageId(Ht)===Ae&&!Object(Eo.b)(xt.getStandardTokenType(Ht));if(yt)fo?oo=xt.getStartOffset(Ht):(oo=xt.getStartOffset(Ht),Zt=xt.getEndOffset(Ht));else if(fo&&oo!==Zt){var Ue=dt(ht,Ut,oo,Zt);if(Ue)return Ue}fo=yt}if(fo&&oo!==Zt){var Ue=dt(ht,Ut,oo,Zt);if(Ue)return Ue}}return null},M.prototype._findMatchingBracketDown=function(P,Z){for(var Ae=P.languageIdentifier.id,xe=P.forwardRegex,Ne=1,dt=function(It,pe,D,ye){for(;;){var We=Oo.a.findNextBracketInRange(xe,It,pe,D,ye);if(!We)break;var Ze=pe.substring(We.startColumn-1,We.endColumn-1).toLowerCase();if(P.isOpen(Ze)?Ne++:P.isClose(Ze)&&Ne--,Ne===0)return We;D=We.endColumn-1}return null},ht=this.getLineCount(),xt=Z.lineNumber;xt<=ht;xt++){var Bt=this._getLineTokens(xt),Ut=Bt.getCount(),Ht=this._buffer.getLineContent(xt),oo=0,Zt=0,fo=0;xt===Z.lineNumber&&(oo=Bt.findTokenIndexAtOffset(Z.column-1),Zt=Z.column-1,fo=Z.column-1);for(var yt=!0;oo=1;Ne--){var dt=this._getLineTokens(Ne),ht=dt.getCount(),xt=this._buffer.getLineContent(Ne),Bt=ht-1,Ut=xt.length,Ht=xt.length;if(Ne===Z.lineNumber){Bt=dt.findTokenIndexAtOffset(Z.column-1),Ut=Z.column-1,Ht=Z.column-1;var oo=dt.getLanguageId(Bt);Ae!==oo&&(Ae=oo,xe=co.a.getBracketsSupport(Ae))}for(var Zt=!0;Bt>=0;Bt--){var oo=dt.getLanguageId(Bt);if(Ae!==oo){if(xe&&Zt&&Ut!==Ht){var fo=Oo.a.findPrevBracketInRange(xe.reversedRegex,Ne,xt,Ut,Ht);if(fo)return this._toFoundBracket(xe,fo);Zt=!1}Ae=oo,xe=co.a.getBracketsSupport(Ae)}var yt=!!xe&&!Object(Eo.b)(dt.getStandardTokenType(Bt));if(yt)Zt?Ut=dt.getStartOffset(Bt):(Ut=dt.getStartOffset(Bt),Ht=dt.getEndOffset(Bt));else if(xe&&Zt&&Ut!==Ht){var fo=Oo.a.findPrevBracketInRange(xe.reversedRegex,Ne,xt,Ut,Ht);if(fo)return this._toFoundBracket(xe,fo)}Zt=yt}if(xe&&Zt&&Ut!==Ht){var fo=Oo.a.findPrevBracketInRange(xe.reversedRegex,Ne,xt,Ut,Ht);if(fo)return this._toFoundBracket(xe,fo)}}return null},M.prototype.findNextBracket=function(P){for(var Z=this.validatePosition(P),Ae=this.getLineCount(),xe=-1,Ne=null,dt=Z.lineNumber;dt<=Ae;dt++){var ht=this._getLineTokens(dt),xt=ht.getCount(),Bt=this._buffer.getLineContent(dt),Ut=0,Ht=0,oo=0;if(dt===Z.lineNumber){Ut=ht.findTokenIndexAtOffset(Z.column-1),Ht=Z.column-1,oo=Z.column-1;var Zt=ht.getLanguageId(Ut);xe!==Zt&&(xe=Zt,Ne=co.a.getBracketsSupport(xe))}for(var fo=!0;UtZ)return null;var yt=this._getLineTokens(Zt),Ue=yt.getCount(),Oe=this._buffer.getLineContent(Zt),rt=0,It=0,pe=0;if(Zt===xe.lineNumber){rt=yt.findTokenIndexAtOffset(xe.column-1),It=xe.column-1,pe=xe.column-1;var D=yt.getLanguageId(rt);Ut!==D&&(Ut=D,Ht=co.a.getBracketsSupport(Ut),xt(Ut,Ht))}for(var ye=!0;rtNe)throw new Error("Illegal value for lineNumber");for(var dt=co.a.getFoldingRules(this._languageIdentifier.id),ht=Boolean(dt&&dt.offSide),xt=-2,Bt=-1,Ut=-2,Ht=-1,oo=function(vo){if(xt!==-1&&(xt===-2||xt>vo-1)){xt=-1,Bt=-1;for(var lo=vo-2;lo>=0;lo--){var Ro=xe._computeIndentLevel(lo);if(Ro>=0){xt=lo,Bt=Ro;break}}}if(Ut===-2){Ut=-1,Ht=-1;for(var lo=vo;lo=0){Ut=lo,Ht=wo;break}}}},Zt=-2,fo=-1,yt=-2,Ue=-1,Oe=function(vo){if(Zt===-2){Zt=-1,fo=-1;for(var lo=vo-2;lo>=0;lo--){var Ro=xe._computeIndentLevel(lo);if(Ro>=0){Zt=lo,fo=Ro;break}}}if(yt!==-1&&(yt===-2||yt=0){yt=lo,Ue=wo;break}}}},rt=0,It=!0,pe=0,D=!0,ye=0,We=0;It||D;We++){var Ze=P-We,st=P+We;if(We!==0&&(Ze<1||ZeNe||st>Ae)&&(D=!1),We>5e4&&(It=!1,D=!1),It){var mt=void 0,Kt=this._computeIndentLevel(Ze-1);if(Kt>=0?(Ut=Ze-1,Ht=Kt,mt=Math.ceil(Kt/this._options.indentSize)):(oo(Ze),mt=this._getIndentLevelForWhitespaceLine(ht,Bt,Ht)),We===0){if(rt=Ze,pe=st,ye=mt,ye===0)return{startLineNumber:rt,endLineNumber:pe,indent:ye};continue}mt>=ye?rt=Ze:It=!1}if(D){var Xt=void 0,Kt=this._computeIndentLevel(st-1);Kt>=0?(Zt=st-1,fo=Kt,Xt=Math.ceil(Kt/this._options.indentSize)):(Oe(st),Xt=this._getIndentLevelForWhitespaceLine(ht,fo,Ue)),Xt>=ye?pe=st:D=!1}}return{startLineNumber:rt,endLineNumber:pe,indent:ye}},M.prototype.getLinesIndentGuides=function(P,Z){this._assertNotDisposed();var Ae=this.getLineCount();if(P<1||P>Ae)throw new Error("Illegal value for startLineNumber");if(Z<1||Z>Ae)throw new Error("Illegal value for endLineNumber");for(var xe=co.a.getFoldingRules(this._languageIdentifier.id),Ne=Boolean(xe&&xe.offSide),dt=new Array(Z-P+1),ht=-2,xt=-1,Bt=-2,Ut=-1,Ht=P;Ht<=Z;Ht++){var oo=Ht-P,Zt=this._computeIndentLevel(Ht-1);if(Zt>=0){ht=Ht-1,xt=Zt,dt[oo]=Math.ceil(Zt/this._options.indentSize);continue}if(ht===-2){ht=-1,xt=-1;for(var fo=Ht-2;fo>=0;fo--){var yt=this._computeIndentLevel(fo);if(yt>=0){ht=fo,xt=yt;break}}}if(Bt!==-1&&(Bt===-2||Bt=0){Bt=fo,Ut=yt;break}}}dt[oo]=this._getIndentLevelForWhitespaceLine(Ne,xt,Ut)}return dt},M.prototype._getIndentLevelForWhitespaceLine=function(P,Z,Ae){return Z===-1||Ae===-1?0:Z0){this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(P):this._deferredEvent=P;return}this._fastEmitter.fire(P),this._slowEmitter.fire(P)},M}(J.a)},tXSY:function(Lt,j,e){"use strict";e.r(j),e.d(j,"SnippetController2",function(){return je});var T=e("pmY6"),re=e("N0LK"),J=e("sswD"),I=e("aokT"),H=e("gCVg"),z=e("wQH0"),O=e("QVNv"),U=e("T8No"),x=e("09fa"),u=e("6OMU"),y=e("dFcq"),_=e("0/Sa"),f=e("tX9W"),v=e("9XeP"),w=e("EWX2"),p=e("Cg/j"),c=e("uACm"),s=e("3/fG"),l=e("MrjW"),d=e("gslv"),m=e("cMvZ"),E=e("bY76"),L="code-workspace";function A(me){return me instanceof E.a}function k(me){return me.configuration?{configPath:me.configuration,id:me.id}:me.folders.length===1?me.folders[0].uri:void 0}var R=e("3rx1"),$=function(){function me(ge){this._delegates=ge}return me.prototype.resolve=function(ge){for(var we=0,Re=this._delegates;we=0){for(var Re=[],Ee=0,ve=this._placeholderGroups[this._placeholderGroupsIdx];Ee0&&this._editor.executeEdits("snippet.placeholderTransform",Re)}var oe=!1;ge===!0&&this._placeholderGroupsIdx0&&(this._placeholderGroupsIdx-=1,oe=!0);var be=this._editor.getModel().changeDecorations(function(De){for(var Se=new Set,Ve=[],Qe=0,it=we._placeholderGroups[we._placeholderGroupsIdx];Qe0)return!0}we=we.parent}return!1},Object.defineProperty(me.prototype,"isAtFirstPlaceholder",{get:function(){return this._placeholderGroupsIdx<=0||this._placeholderGroups.length===0},enumerable:!0,configurable:!0}),Object.defineProperty(me.prototype,"isAtLastPlaceholder",{get:function(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1},enumerable:!0,configurable:!0}),Object.defineProperty(me.prototype,"hasPlaceholder",{get:function(){return this._snippet.placeholders.length>0},enumerable:!0,configurable:!0}),me.prototype.computePossibleSelections=function(){for(var ge=new Map,we=0,Re=this._placeholderGroups;we0&&Rt!==oe.getLineFirstNonWhitespaceColumn(so.positionLineNumber),!0),at.resolveVariables(new $([De,new B(Ve,Pt,Mt.length,ge.getOption(60)==="spread"),new ie(oe,so),new le(oe),new Ce,new Me(be),new Te]));var ut=oe.getOffsetAt(tt)+Qe;Qe+=at.toString().length-oe.getValueLengthInRange(At),F[Pt]=_.a.replace(At,at.toString()),se[Pt]=new ne(ge,at,ut)}return{edits:F,snippets:se}},me.prototype.dispose=function(){Object(T.f)(this._snippets)},me.prototype._logInfo=function(){return'template="'+this._template+'", merged_templates="'+this._templateMerges.join(" -> ")+'"'},me.prototype.insert=function(){var ge=this;if(!this._editor.hasModel())return;var we=me.createEditsAndSnippets(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText),Re=we.edits,Ee=we.snippets;this._snippets=Ee,this._editor.executeEdits("snippet",Re,function(ve){return ge._snippets[0].hasPlaceholder?ge._move(!0):ve.map(function(Q){return H.a.fromPositions(Q.range.getEndPosition())})}),this._editor.revealRange(this._editor.getSelections()[0])},me.prototype.merge=function(ge,we){var Re=this;if(we===void 0&&(we=ee),!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,ge]);var Ee=me.createEditsAndSnippets(this._editor,ge,we.overwriteBefore,we.overwriteAfter,!0,we.adjustWhitespace,we.clipboardText),ve=Ee.edits,Q=Ee.snippets;this._editor.executeEdits("snippet",ve,function(C){for(var F=0,se=Re._snippets;F0},me}(),q=function(){return q=Object.assign||function(me){for(var ge,we=1,Re=arguments.length;we=0;C--)(Q=me[C])&&(ve=(Ee<3?Q(ve):Ee>3?Q(ge,we,ve):Q(ge,we))||ve);return Ee>3&&ve&&Object.defineProperty(ge,we,ve),ve},X=function(me,ge){return function(we,Re){ge(we,Re,me)}},he={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0},je=function(){function me(ge,we,Re){this._editor=ge,this._logService=we,this._snippetListener=new T.b,this._modelVersionId=-1,this._inSnippet=me.InSnippetMode.bindTo(Re),this._hasNextTabstop=me.HasNextTabstop.bindTo(Re),this._hasPrevTabstop=me.HasPrevTabstop.bindTo(Re)}return me.get=function(ge){return ge.getContribution(me.ID)},me.prototype.dispose=function(){this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),Object(T.f)(this._session),this._snippetListener.dispose()},me.prototype.insert=function(ge,we){try{this._doInsert(ge,typeof we=="undefined"?he:q(q({},he),we))}catch(Re){this.cancel(),this._logService.error(Re),this._logService.error("snippet_error"),this._logService.error("insert_template=",ge),this._logService.error("existing_template=",this._session?this._session._logInfo():"")}},me.prototype._doInsert=function(ge,we){var Re=this;if(!this._editor.hasModel())return;this._snippetListener.clear(),we.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session?this._session.merge(ge,we):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new ae(this._editor,ge,we),this._session.insert()),we.undoStopAfter&&this._editor.getModel().pushStackElement(),this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent(function(Ee){return Ee.isFlush&&Re.cancel()})),this._snippetListener.add(this._editor.onDidChangeModel(function(){return Re.cancel()})),this._snippetListener.add(this._editor.onDidChangeCursorSelection(function(){return Re._updateState()}))},me.prototype._updateState=function(){if(!this._session||!this._editor.hasModel())return;if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()},me.prototype._handleChoice=function(){var ge=this;if(!this._session||!this._editor.hasModel()){this._currentChoice=void 0;return}var we=this._session.choice;if(!we){this._currentChoice=void 0;return}if(this._currentChoice!==we){this._currentChoice=we,this._editor.setSelections(this._editor.getSelections().map(function(Ee){return H.a.fromPositions(Ee.getStartPosition())}));var Re=we.options[0];Object(O.f)(this._editor,we.options.map(function(Ee,ve){return{kind:13,label:Ee.value,insertText:Ee.value,sortText:Object(re.J)("a",ve+1),range:I.a.fromPositions(ge._editor.getPosition(),ge._editor.getPosition().delta(0,Re.value.length))}}))}},me.prototype.finish=function(){for(;this._inSnippet.get();)this.next()},me.prototype.cancel=function(ge){ge===void 0&&(ge=!1),this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),Object(T.f)(this._session),this._session=void 0,this._modelVersionId=-1,ge&&this._editor.setSelections([this._editor.getSelection()])},me.prototype.prev=function(){this._session&&this._session.prev(),this._updateState()},me.prototype.next=function(){this._session&&this._session.next(),this._updateState()},me.prototype.isInSnippet=function(){return Boolean(this._inSnippet.get())},me.ID="snippetController2",me.InSnippetMode=new U.d("inSnippetMode",!1),me.HasNextTabstop=new U.d("hasNextTabstop",!1),me.HasPrevTabstop=new U.d("hasPrevTabstop",!1),me=ue([X(1,x.a),X(2,U.c)],me),me}();Object(J.h)(je.ID,je);var Xe=J.c.bindToContribution(je.get);Object(J.g)(new Xe({id:"jumpToNextSnippetPlaceholder",precondition:U.a.and(je.InSnippetMode,je.HasNextTabstop),handler:function(ge){return ge.next()},kbOpts:{weight:100+30,kbExpr:z.a.editorTextFocus,primary:2}})),Object(J.g)(new Xe({id:"jumpToPrevSnippetPlaceholder",precondition:U.a.and(je.InSnippetMode,je.HasPrevTabstop),handler:function(ge){return ge.prev()},kbOpts:{weight:100+30,kbExpr:z.a.editorTextFocus,primary:1024|2}})),Object(J.g)(new Xe({id:"leaveSnippet",precondition:je.InSnippetMode,handler:function(ge){return ge.cancel(!0)},kbOpts:{weight:100+30,kbExpr:z.a.editorTextFocus,primary:9,secondary:[1024|9]}})),Object(J.g)(new Xe({id:"acceptSnippet",precondition:je.InSnippetMode,handler:function(ge){return ge.finish()}}))},tYmi:function(Lt,j,e){"use strict";e.d(j,"b",function(){return J}),e.d(j,"a",function(){return H});var T=e("bY76"),re=e("MNsG"),J;(function(z){z.inMemory="inmemory",z.vscode="vscode",z.internal="private",z.walkThrough="walkThrough",z.walkThroughSnippet="walkThroughSnippet",z.http="http",z.https="https",z.file="file",z.mailto="mailto",z.untitled="untitled",z.data="data",z.command="command",z.vscodeRemote="vscode-remote",z.vscodeRemoteResource="vscode-remote-resource",z.userData="vscode-userdata"})(J||(J={}));var I=function(){function z(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}return z.prototype.setPreferredWebSchema=function(O){this._preferredWebSchema=O},z.prototype.rewrite=function(O){if(this._delegate)return this._delegate(O);var U=O.authority,x=this._hosts[U];x&&x.indexOf(":")!==-1&&(x="["+x+"]");var u=this._ports[U],y=this._connectionTokens[U],_="path="+encodeURIComponent(O.path);return typeof y=="string"&&(_+="&tkn="+encodeURIComponent(y)),T.a.from({scheme:re.g?this._preferredWebSchema:J.vscodeRemoteResource,authority:x+":"+u,path:"/vscode-remote-resource",query:_})},z}(),H=new I},twdY:function(Lt,j,e){"use strict";e.d(j,"r",function(){return f}),e.d(j,"A",function(){return v}),e.d(j,"F",function(){return w}),e.d(j,"E",function(){return p}),e.d(j,"y",function(){return c}),e.d(j,"h",function(){return s}),e.d(j,"G",function(){return l}),e.d(j,"z",function(){return d}),e.d(j,"n",function(){return m}),e.d(j,"D",function(){return L}),e.d(j,"u",function(){return A}),e.d(j,"v",function(){return k}),e.d(j,"d",function(){return R}),e.d(j,"x",function(){return $}),e.d(j,"p",function(){return ie}),e.d(j,"m",function(){return W}),e.d(j,"i",function(){return B}),e.d(j,"f",function(){return le}),e.d(j,"e",function(){return Ce}),e.d(j,"q",function(){return Me}),e.d(j,"C",function(){return Te}),e.d(j,"b",function(){return Fe}),e.d(j,"a",function(){return He}),e.d(j,"g",function(){return Pe}),e.d(j,"j",function(){return ne}),e.d(j,"t",function(){return ee}),e.d(j,"s",function(){return ae}),e.d(j,"c",function(){return q}),e.d(j,"w",function(){return ue}),e.d(j,"o",function(){return X}),e.d(j,"l",function(){return he}),e.d(j,"k",function(){return je}),e.d(j,"B",function(){return Xe});var T=e("746U"),re=e("bY76"),J=e("aokT"),I=e("MI8n"),H=e("pmY6"),z=e("l2gE");function O(me,ge,we,Re){if(Array.isArray(me)){for(var Ee=0,ve=0,Q=me;veEe&&(Ee=F)}return Ee}else{if(typeof me=="string")return Re?me==="*"?5:me===we?10:0:0;if(me){var se=me.language,oe=me.pattern,be=me.scheme,De=me.hasAccessToAllModels;if(!Re&&!De)return 0;var Ee=0;if(be)if(be===ge.scheme)Ee=10;else if(be==="*")Ee=5;else return 0;if(se)if(se===we)Ee=10;else if(se==="*")Ee=Math.max(Ee,5);else return 0;if(oe)if(oe===ge.fsPath||Object(z.a)(oe,ge.fsPath))Ee=10;else return 0;return Ee}else return 0}}var U=e("G2kB");function x(me){return typeof me=="string"?!1:Array.isArray(me)?me.every(x):!!me.exclusive}var u=function(){function me(){this._clock=0,this._entries=[],this._onDidChange=new I.a}return Object.defineProperty(me.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),me.prototype.register=function(ge,we){var Re=this,Ee={selector:ge,provider:we,_score:-1,_time:this._clock++};return this._entries.push(Ee),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(H.h)(function(){if(Ee){var ve=Re._entries.indexOf(Ee);ve>=0&&(Re._entries.splice(ve,1),Re._lastCandidate=void 0,Re._onDidChange.fire(Re._entries.length),Ee=void 0)}})},me.prototype.has=function(ge){return this.all(ge).length>0},me.prototype.all=function(ge){if(!ge)return[];this._updateScores(ge);for(var we=[],Re=0,Ee=this._entries;Re0&&we.push(ve.provider)}return we},me.prototype.ordered=function(ge){var we=[];return this._orderedForEach(ge,function(Re){return we.push(Re.provider)}),we},me.prototype.orderedGroups=function(ge){var we=[],Re,Ee;return this._orderedForEach(ge,function(ve){Re&&Ee===ve._score?Re.push(ve.provider):(Ee=ve._score,Re=[ve.provider],we.push(Re))}),we},me.prototype._orderedForEach=function(ge,we){if(!ge)return;this._updateScores(ge);for(var Re=0,Ee=this._entries;Re0&&we(ve)}},me.prototype._updateScores=function(ge){var we={uri:ge.uri.toString(),language:ge.getLanguageIdentifier().language};if(this._lastCandidate&&this._lastCandidate.language===we.language&&this._lastCandidate.uri===we.uri)return;this._lastCandidate=we;for(var Re=0,Ee=this._entries;Re0){for(var Q=0,C=this._entries;Qwe._score?-1:ge._timewe._time?-1:0},me}(),y=e("QDVR"),_=function(){function me(){this._map=new Map,this._promises=new Map,this._onDidChange=new I.a,this.onDidChange=this._onDidChange.event,this._colorMap=null}return me.prototype.fire=function(ge){this._onDidChange.fire({changedLanguages:ge,changedColorMap:!1})},me.prototype.register=function(ge,we){var Re=this;return this._map.set(ge,we),this.fire([ge]),Object(H.h)(function(){if(Re._map.get(ge)!==we)return;Re._map.delete(ge),Re.fire([ge])})},me.prototype.registerPromise=function(ge,we){var Re=this,Ee=null,ve=!1;return this._promises.set(ge,we.then(function(Q){if(Re._promises.delete(ge),ve||!Q)return;Ee=Re.register(ge,Q)})),Object(H.h)(function(){ve=!0,Ee&&Ee.dispose()})},me.prototype.getPromise=function(ge){var we=this,Re=this.get(ge);if(Re)return Promise.resolve(Re);var Ee=this._promises.get(ge);return Ee?Ee.then(function(ve){return we.get(ge)}):null},me.prototype.get=function(ge){return Object(T.o)(this._map.get(ge))},me.prototype.setColorMap=function(ge){this._colorMap=ge,this._onDidChange.fire({changedLanguages:Object(y.d)(this._map),changedColorMap:!0})},me.prototype.getColorMap=function(){return this._colorMap},me.prototype.getDefaultBackground=function(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null},me}(),f=function(){function me(ge,we){this.language=ge,this.id=we}return me}(),v=function(){function me(){}return me.getLanguageId=function(ge){return(ge&255)>>>0},me.getTokenType=function(ge){return(ge&1792)>>>8},me.getFontStyle=function(ge){return(ge&14336)>>>11},me.getForeground=function(ge){return(ge&8372224)>>>14},me.getBackground=function(ge){return(ge&4286578688)>>>23},me.getClassNameFromMetadata=function(ge){var we=this.getForeground(ge),Re="mtk"+we,Ee=this.getFontStyle(ge);return Ee&1&&(Re+=" mtki"),Ee&2&&(Re+=" mtkb"),Ee&4&&(Re+=" mtku"),Re},me.getInlineStyleFromMetadata=function(ge,we){var Re=this.getForeground(ge),Ee=this.getFontStyle(ge),ve="color: "+we[Re]+";";return Ee&1&&(ve+="font-style: italic;"),Ee&2&&(ve+="font-weight: bold;"),Ee&4&&(ve+="text-decoration: underline;"),ve},me}(),w=function(){var me=Object.create(null);return me[0]="method",me[1]="function",me[2]="constructor",me[3]="field",me[4]="variable",me[5]="class",me[6]="struct",me[7]="interface",me[8]="module",me[9]="property",me[10]="event",me[11]="operator",me[12]="unit",me[13]="value",me[14]="constant",me[15]="enum",me[16]="enum-member",me[17]="keyword",me[25]="snippet",me[18]="text",me[19]="color",me[20]="file",me[21]="reference",me[22]="customcolor",me[23]="folder",me[24]="type-parameter",function(ge){return me[ge]||"property"}}(),p=function(){var me=Object.create(null);return me.method=0,me.function=1,me.constructor=2,me.field=3,me.variable=4,me.class=5,me.struct=6,me.interface=7,me.module=8,me.property=9,me.event=10,me.operator=11,me.unit=12,me.value=13,me.constant=14,me.enum=15,me["enum-member"]=16,me.enumMember=16,me.keyword=17,me.snippet=25,me.text=18,me.color=19,me.file=20,me.reference=21,me.customcolor=22,me.folder=23,me["type-parameter"]=24,me.typeParameter=24,function(ge,we){var Re=me[ge];return typeof Re=="undefined"&&!we&&(Re=9),Re}}(),c;(function(me){me[me.Invoke=1]="Invoke",me[me.TriggerCharacter=2]="TriggerCharacter",me[me.ContentChange=3]="ContentChange"})(c||(c={}));var s;(function(me){me[me.Text=0]="Text",me[me.Read=1]="Read",me[me.Write=2]="Write"})(s||(s={}));function l(me){return me&&re.a.isUri(me.uri)&&J.a.isIRange(me.range)&&(J.a.isIRange(me.originSelectionRange)||J.a.isIRange(me.targetSelectionRange))}var d;(function(me){var ge=new Map;ge.set("file",0),ge.set("module",1),ge.set("namespace",2),ge.set("package",3),ge.set("class",4),ge.set("method",5),ge.set("property",6),ge.set("field",7),ge.set("constructor",8),ge.set("enum",9),ge.set("interface",10),ge.set("function",11),ge.set("variable",12),ge.set("constant",13),ge.set("string",14),ge.set("number",15),ge.set("boolean",16),ge.set("array",17),ge.set("object",18),ge.set("key",19),ge.set("null",20),ge.set("enum-member",21),ge.set("struct",22),ge.set("event",23),ge.set("operator",24),ge.set("type-parameter",25);var we=new Map;we.set(0,"file"),we.set(1,"module"),we.set(2,"namespace"),we.set(3,"package"),we.set(4,"class"),we.set(5,"method"),we.set(6,"property"),we.set(7,"field"),we.set(8,"constructor"),we.set(9,"enum"),we.set(10,"interface"),we.set(11,"function"),we.set(12,"variable"),we.set(13,"constant"),we.set(14,"string"),we.set(15,"number"),we.set(16,"boolean"),we.set(17,"array"),we.set(18,"object"),we.set(19,"key"),we.set(20,"null"),we.set(21,"enum-member"),we.set(22,"struct"),we.set(23,"event"),we.set(24,"operator"),we.set(25,"type-parameter");function Re(Q){return ge.get(Q)}me.fromString=Re;function Ee(Q){return we.get(Q)}me.toString=Ee;function ve(Q,C){return"codicon "+(C?"inline":"block")+" codicon-symbol-"+(we.get(Q)||"property")}me.toCssClassName=ve})(d||(d={}));var m=function(){function me(ge){this.value=ge}return me.Comment=new me("comment"),me.Imports=new me("imports"),me.Region=new me("region"),me}(),E;(function(me){function ge(we){return Object(T.i)(we)&&(Boolean(we.newUri)||Boolean(we.oldUri))}me.is=ge})(E||(E={}));var L;(function(me){function ge(we){return Object(T.i)(we)&&re.a.isUri(we.resource)&&Object(T.i)(we.edit)}me.is=ge})(L||(L={}));var A=new u,k=new u,R=new u,$=new u,ie=new u,W=new u,B=new u,le=new u,Ce=new u,Me=new u,Te=new u,Fe=new u,He=new u,Pe=new u,ne=new u,ee=new u,ae=new u,q=new u,ue=new u,X=new u,he=new u,je=new u,Xe=new _},uACm:function(Lt,j,e){"use strict";e.d(j,"d",function(){return z}),e.d(j,"b",function(){return U}),e.d(j,"a",function(){return x}),e.d(j,"c",function(){return w});var T=function(){var p=function(s,l){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,m){d.__proto__=m}||function(d,m){for(var E in m)m.hasOwnProperty(E)&&(d[E]=m[E])},p(s,l)};return function(c,s){p(c,s);function l(){this.constructor=c}c.prototype=s===null?Object.create(s):(l.prototype=s.prototype,new l)}}(),re=function(){for(var p=0,c=0,s=arguments.length;c=48&&c<=57},p.isVariableCharacter=function(c){return c===95||c>=97&&c<=122||c>=65&&c<=90},p.prototype.text=function(c){this.value=c,this.pos=0},p.prototype.tokenText=function(c){return this.value.substr(c.pos,c.len)},p.prototype.next=function(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};var c=this.pos,s=0,l=this.value.charCodeAt(c),d;if(d=p._table[l],typeof d=="number")return this.pos+=1,{type:d,pos:c,len:1};if(p.isDigitCharacter(l)){d=8;do s+=1,l=this.value.charCodeAt(c+s);while(p.isDigitCharacter(l));return this.pos+=s,{type:d,pos:c,len:s}}if(p.isVariableCharacter(l)){d=9;do l=this.value.charCodeAt(c+ ++s);while(p.isVariableCharacter(l)||p.isDigitCharacter(l));return this.pos+=s,{type:d,pos:c,len:s}}d=10;do s+=1,l=this.value.charCodeAt(c+s);while(!isNaN(l)&&typeof p._table[l]=="undefined"&&!p.isDigitCharacter(l)&&!p.isVariableCharacter(l));return this.pos+=s,{type:d,pos:c,len:s}},p._table=(J={},J[36]=0,J[58]=1,J[44]=2,J[123]=3,J[125]=4,J[92]=5,J[47]=6,J[124]=7,J[43]=11,J[45]=12,J[63]=13,J),p}(),H=function(){function p(){this._children=[]}return p.prototype.appendChild=function(c){return c instanceof z&&this._children[this._children.length-1]instanceof z?this._children[this._children.length-1].value+=c.value:(c.parent=this,this._children.push(c)),this},p.prototype.replace=function(c,s){var l=c.parent,d=l.children.indexOf(c),m=l.children.slice(0);m.splice.apply(m,re([d,1],s)),l._children=m,function E(L,A){for(var k=0,R=L;kl.index?1:0},Object.defineProperty(c.prototype,"isFinalTabstop",{get:function(){return this.index===0},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"choice",{get:function(){return this._children.length===1&&this._children[0]instanceof x?this._children[0]:void 0},enumerable:!0,configurable:!0}),c.prototype.clone=function(){var s=new c(this.index);return this.transform&&(s.transform=this.transform.clone()),s._children=this.children.map(function(l){return l.clone()}),s},c}(O),x=function(p){T(c,p);function c(){var s=p!==null&&p.apply(this,arguments)||this;return s.options=[],s}return c.prototype.appendChild=function(s){return s instanceof z&&(s.parent=this,this.options.push(s)),this},c.prototype.toString=function(){return this.options[0].value},c.prototype.len=function(){return this.options[0].len()},c.prototype.clone=function(){var s=new c;return this.options.forEach(s.appendChild,s),s},c}(H),u=function(p){T(c,p);function c(){var s=p!==null&&p.apply(this,arguments)||this;return s.regexp=new RegExp(""),s}return c.prototype.resolve=function(s){var l=this,d=!1,m=s.replace(this.regexp,function(){return d=!0,l._replace(Array.prototype.slice.call(arguments,0,-2))});return!d&&this._children.some(function(E){return E instanceof y&&Boolean(E.elseValue)})&&(m=this._replace([])),m},c.prototype._replace=function(s){for(var l="",d=0,m=this._children;d0;){var l=s.shift(),d=c(l);if(!d)break;s.unshift.apply(s,l.children)}}var v=function(p){T(c,p);function c(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(c.prototype,"placeholderInfo",{get:function(){if(!this._placeholders){var l=[],d;this.walk(function(m){return m instanceof U&&(l.push(m),d=!d||d.index0?m.set(Ce.index,Ce.children):E.push(Ce)),!0});for(var A=0,k=E;A0&&s),!m.has(0)&&l&&d.appendChild(new U(0)),d},p.prototype._accept=function(c,s){if(c===void 0||this._token.type===c){var l=s?this._scanner.tokenText(this._token):!0;return this._token=this._scanner.next(),l}return!1},p.prototype._backTo=function(c){return this._scanner.pos=c.pos+c.len,this._token=c,!1},p.prototype._until=function(c){for(var s=this._token;this._token.type!==c;){if(this._token.type===14)return!1;if(this._token.type===5){var l=this._scanner.next();if(l.type!==0&&l.type!==4&&l.type!==5)return!1}this._token=this._scanner.next()}var d=this._scanner.value.substring(s.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),d},p.prototype._parse=function(c){return this._parseEscaped(c)||this._parseTabstopOrVariableName(c)||this._parseComplexPlaceholder(c)||this._parseComplexVariable(c)||this._parseAnything(c)},p.prototype._parseEscaped=function(c){var s;return(s=this._accept(5,!0))?(s=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||s,c.appendChild(new z(s)),!0):!1},p.prototype._parseTabstopOrVariableName=function(c){var s,l=this._token,d=this._accept(0)&&(s=this._accept(9,!0)||this._accept(8,!0));return d?(c.appendChild(/^\d+$/.test(s)?new U(Number(s)):new _(s)),!0):this._backTo(l)},p.prototype._parseComplexPlaceholder=function(c){var s,l=this._token,d=this._accept(0)&&this._accept(3)&&(s=this._accept(8,!0));if(!d)return this._backTo(l);var m=new U(Number(s));if(this._accept(1))for(;;){if(this._accept(4))return c.appendChild(m),!0;if(this._parse(m))continue;return c.appendChild(new z("${"+s+":")),m.children.forEach(c.appendChild,c),!0}else if(m.index>0&&this._accept(7))for(var E=new x;;){if(this._parseChoiceElement(E)){if(this._accept(2))continue;if(this._accept(7)&&(m.appendChild(E),this._accept(4)))return c.appendChild(m),!0}return this._backTo(l),!1}else return this._accept(6)?this._parseTransform(m)?(c.appendChild(m),!0):(this._backTo(l),!1):this._accept(4)?(c.appendChild(m),!0):this._backTo(l)},p.prototype._parseChoiceElement=function(c){for(var s=this._token,l=[];!(this._token.type===2||this._token.type===7);){var d=void 0;if((d=this._accept(5,!0))?d=this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||d:d=this._accept(void 0,!0),!d)return this._backTo(s),!1;l.push(d)}return l.length===0?(this._backTo(s),!1):(c.appendChild(new z(l.join(""))),!0)},p.prototype._parseComplexVariable=function(c){var s,l=this._token,d=this._accept(0)&&this._accept(3)&&(s=this._accept(9,!0));if(!d)return this._backTo(l);var m=new _(s);if(this._accept(1))for(;;){if(this._accept(4))return c.appendChild(m),!0;if(this._parse(m))continue;return c.appendChild(new z("${"+s+":")),m.children.forEach(c.appendChild,c),!0}else return this._accept(6)?this._parseTransform(m)?(c.appendChild(m),!0):(this._backTo(l),!1):this._accept(4)?(c.appendChild(m),!0):this._backTo(l)},p.prototype._parseTransform=function(c){for(var s=new u,l="",d="";!this._accept(6);){var m=void 0;if(m=this._accept(5,!0)){m=this._accept(6,!0)||m,l+=m;continue}if(this._token.type!==14){l+=this._accept(void 0,!0);continue}return!1}for(;!this._accept(6);){var m=void 0;if(m=this._accept(5,!0)){m=this._accept(5,!0)||this._accept(6,!0)||m,s.appendChild(new z(m));continue}if(this._parseFormatString(s)||this._parseAnything(s))continue;return!1}for(;!this._accept(4);){if(this._token.type!==14){d+=this._accept(void 0,!0);continue}return!1}try{s.regexp=new RegExp(l,d)}catch(E){return!1}return c.transform=s,!0},p.prototype._parseFormatString=function(c){var s=this._token;if(!this._accept(0))return!1;var l=!1;this._accept(3)&&(l=!0);var d=this._accept(8,!0);if(d)if(l){if(this._accept(4))return c.appendChild(new y(Number(d))),!0;if(!this._accept(1))return this._backTo(s),!1}else return c.appendChild(new y(Number(d))),!0;else return this._backTo(s),!1;if(this._accept(6)){var m=this._accept(9,!0);return!m||!this._accept(4)?(this._backTo(s),!1):(c.appendChild(new y(Number(d),m)),!0)}else if(this._accept(11)){var E=this._until(4);if(E)return c.appendChild(new y(Number(d),void 0,E,void 0)),!0}else if(this._accept(12)){var L=this._until(4);if(L)return c.appendChild(new y(Number(d),void 0,void 0,L)),!0}else if(this._accept(13)){var E=this._until(1);if(E){var L=this._until(4);if(L)return c.appendChild(new y(Number(d),void 0,E,L)),!0}}else{var L=this._until(4);if(L)return c.appendChild(new y(Number(d),void 0,void 0,L)),!0}return this._backTo(s),!1},p.prototype._parseAnything=function(c){return this._token.type!==14?(c.appendChild(new z(this._scanner.tokenText(this._token))),this._accept(void 0),!0):!1},p}()},uAX5:function(Lt,j,e){},uDWl:function(Lt,j,e){"use strict";e.d(j,"a",function(){return y});var T=e("D3Dy"),re=e("/kV6"),J=e("MNsG"),I=new Array(230),H=new Array(112);(function(){for(var _=0;_0){d=E[0].getStartPosition();var L=l.getTopForPosition(d.lineNumber,d.column);m=l.getScrollTop()-L}}return new s(d,m)},s.prototype.restore=function(l){if(this._visiblePosition){var d=l.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);l.setScrollTop(d+this._visiblePositionScrollDelta)}},s}()},vMFT:function(Lt,j,e){},vRMv:function(Lt,j,e){"use strict";e.d(j,"b",function(){return x}),e.d(j,"a",function(){return u}),e.d(j,"c",function(){return y}),e.d(j,"e",function(){return _}),e.d(j,"d",function(){return f});var T=e("6OMU"),re=e("JQT/"),J=e("/cxE"),I=e("sswD"),H=e("twdY"),z=function(v,w,p,c){function s(l){return l instanceof p?l:new p(function(d){d(l)})}return new(p||(p=Promise))(function(l,d){function m(A){try{L(c.next(A))}catch(k){d(k)}}function E(A){try{L(c.throw(A))}catch(k){d(k)}}function L(A){A.done?l(A.value):s(A.value).then(m,E)}L((c=c.apply(v,w||[])).next())})},O=function(v,w){var p={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,s,l,d;return d={next:m(0),throw:m(1),return:m(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function m(L){return function(A){return E([L,A])}}function E(L){if(c)throw new TypeError("Generator is already executing.");for(;p;)try{if(c=1,s&&(l=L[0]&2?s.return:L[0]?s.throw||((l=s.return)&&l.call(s),0):s.next)&&!(l=l.call(s,L[1])).done)return l;(s=0,l)&&(L=[L[0]&2,l.value]);switch(L[0]){case 0:case 1:l=L;break;case 4:return p.label++,{value:L[1],done:!1};case 5:p.label++,s=L[1],L=[0];continue;case 7:L=p.ops.pop(),p.trys.pop();continue;default:if(!(l=p.trys,l=l.length>0&&l[l.length-1])&&(L[0]===6||L[0]===2)){p=0;continue}if(L[0]===3&&(!l||L[1]>l[0]&&L[1]0)for(var s=0,l=c;s1){var A=re.a.visibleColumnFromColumn(E,L+1,w);if(A%p!==0&&u.isCheapToTokenize(m-1)){var k=H.a.getEnterAction(this._opts.autoIndent,u,new J.a(m-1,u.getLineMaxColumn(m-1),m-1,u.getLineMaxColumn(m-1)));if(k){if(d=l,k.appendText)for(var R=0,$=k.appendText.length;R<$&&d0){w=Math.min(p<=.5?c/(2*p):c/(2-2*p),1);switch(_){case U:v=(x-u)/c+(x1&&(x-=1),x<1/6?O+(U-O)*6*x:x<1/2?U:x<2/3?O+(U-O)*(2/3-x)*6:O},z.toRGBA=function(O){var U=O.h/360,x=O.s,u=O.l,y=O.a,_,f,v;if(x===0)_=f=v=u;else{var w=u<.5?u*(1+x):u+x-u*x,p=2*u-w;_=z._hue2rgb(p,w,U+1/3),f=z._hue2rgb(p,w,U),v=z._hue2rgb(p,w,U-1/3)}return new re(Math.round(_*255),Math.round(f*255),Math.round(v*255),y)},z}(),I=function(){function z(O,U,x,u){this.h=Math.max(Math.min(360,O),0)|0,this.s=T(Math.max(Math.min(1,U),0),3),this.v=T(Math.max(Math.min(1,x),0),3),this.a=T(Math.max(Math.min(1,u),0),3)}return z.equals=function(O,U){return O.h===U.h&&O.s===U.s&&O.v===U.v&&O.a===U.a},z.fromRGBA=function(O){var U=O.r/255,x=O.g/255,u=O.b/255,y=Math.max(U,x,u),_=Math.min(U,x,u),f=y-_,v=y===0?0:f/y,w;return f===0?w=0:y===U?w=((x-u)/f%6+6)%6:y===x?w=(u-U)/f+2:w=(U-x)/f+4,new z(Math.round(w*60),v,y,O.a)},z.toRGBA=function(O){var U=O.h,x=O.s,u=O.v,y=O.a,_=u*x,f=_*(1-Math.abs(U/60%2-1)),v=u-_,w=[0,0,0],p=w[0],c=w[1],s=w[2];return U<60?(p=_,c=f):U<120?(p=f,c=_):U<180?(c=_,s=f):U<240?(c=f,s=_):U<300?(p=f,s=_):U<360&&(p=_,s=f),p=Math.round((p+v)*255),c=Math.round((c+v)*255),s=Math.round((s+v)*255),new re(p,c,s,y)},z}(),H=function(){function z(O){if(O)if(O instanceof re)this.rgba=O;else if(O instanceof J)this._hsla=O,this.rgba=J.toRGBA(O);else if(O instanceof I)this._hsva=O,this.rgba=I.toRGBA(O);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}return z.fromHex=function(O){return z.Format.CSS.parseHex(O)||z.red},Object.defineProperty(z.prototype,"hsla",{get:function(){return this._hsla?this._hsla:J.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),Object.defineProperty(z.prototype,"hsva",{get:function(){return this._hsva?this._hsva:I.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),z.prototype.equals=function(O){return!!O&&re.equals(this.rgba,O.rgba)&&J.equals(this.hsla,O.hsla)&&I.equals(this.hsva,O.hsva)},z.prototype.getRelativeLuminance=function(){var O=z._relativeLuminanceForComponent(this.rgba.r),U=z._relativeLuminanceForComponent(this.rgba.g),x=z._relativeLuminanceForComponent(this.rgba.b),u=.2126*O+.7152*U+.0722*x;return T(u,4)},z._relativeLuminanceForComponent=function(O){var U=O/255;return U<=.03928?U/12.92:Math.pow((U+.055)/1.055,2.4)},z.prototype.isLighter=function(){var O=(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3;return O>=128},z.prototype.isLighterThan=function(O){var U=this.getRelativeLuminance(),x=O.getRelativeLuminance();return U>x},z.prototype.isDarkerThan=function(O){var U=this.getRelativeLuminance(),x=O.getRelativeLuminance();return U5?(r.b.warn("\u586B\u7A7A\u9898\u6807\u51C6\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A/\u4E0D\u80FD\u8D85\u8FC75\u4E2A\uFF01"),!1):{name:g,analysis:l,standard_answers:J,is_ordered:Zt,remove_blank:it,part_match:fa!=="1"}},ya=function(){c(""),a(""),ke([]),Qe(!1),sa("1"),Wt(!1)},ma=function(J,$e,K){var re=Je.slice();if($e&&re.splice(J,$e),K)for(var i=0;i1&&_.a.createElement("span",{style:{marginLeft:52}},_.a.createElement(le.a,{checked:Zt,onChange:function(J){return Qe(J.target.checked)},className:"".concat(_e.a.color333," font14")},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),_.a.createElement("span",{className:"".concat(_e.a.color999," font12")},"\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09")))),_.a.createElement("p",{className:_e.a.titleWrap},_.a.createElement("span",{className:_e.a.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),_.a.createElement(Te.a,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:l,onChange:function(J){return a(J)}}))};R.a=Object(E.a)(function(me){var Ee=me.loading,O=me.globalSetting;return{globalSetting:O,loading:Ee.effects}},null,null,{forwardRef:!0})(Object(y.forwardRef)(se))},"5X0v":function(ee,R,e){ee.exports={bg:"bg___bX3xT",left:"left___1PQIg",list:"list___3SOvm",name:"name___13jx-",b:"b___24TIQ",r:"r___3buWY",l:"l___15yU4",answerSheet:"answerSheet___RsarG",tag:"tag___2RCsW",right:"right___3ybB6",wrap:"wrap___3CRHM",flexRow:"flexRow___pdcB8",flexColumn:"flexColumn___C--HN",flexJustifyBetween:"flexJustifyBetween___1c9Yo",relative:"relative___29BPp",questionNumber:"questionNumber___3NObm",score:"score___32aRR",selectTopicButton:"selectTopicButton___1_9To",line:"line___19jCA",typeActive:"typeActive___Iz2-H",typeName:"typeName___wLxs8",typeAction:"typeAction___NaqIo",mouseTypeActive:"mouseTypeActive___3C5xG",setScore:"setScore___2Q7_v",delete:"delete___3w-4D",modal:"modal___1M87I",modalColumn:"modalColumn___2k-xk",modalRow:"modalRow___34gSG",shixunModal:"shixunModal___2gtKF",shixunScore:"shixunScore___1v0QK",formWrap:"formWrap___2yPKd",fixedBtn:"fixedBtn___2Q3fn"}},"6/12":function(ee,R,e){"use strict";var Pe=e("oBTY"),le=e("5Dmo"),be=e("3S7+"),U=e("miYZ"),j=e("tsqr"),o=e("tJVT"),n=e("PpiC"),p=e("q1tI"),r=e.n(p),v=e("9kvl"),D=e("Ot1p"),y=e("9Bee"),_=e("xIf3"),E=e.n(_),Te=e("1vsH"),I=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],w=function(L,_e){var h=L.editData,se=L.globalSetting,me=L.loading,Ee=L.dispatch,O=L.onRef,b=O===void 0?function(){}:O,t=L.isEdit,x=Object(n.a)(L,["editData","globalSetting","loading","dispatch","onRef","isEdit"]),G=Object(p.useState)([]),d=Object(o.a)(G,2),f=d[0],s=d[1],T=Object(p.useState)(),g=Object(o.a)(T,2),c=g[0],Ce=g[1],Z=Object(p.useState)(),l=Object(o.a)(Z,2),a=l[0],xe=l[1],te=Object(p.useState)(""),Je=Object(o.a)(te,2),ke=Je[0],Ut=Je[1],nt=Object(p.useState)(""),Gt=Object(o.a)(nt,2),xt=Gt[0],_t=Gt[1];Object(p.useEffect)(function(){s(["","","",""])},[]),Object(p.useEffect)(function(){var Qe,P;if(!h||!t){console.log(!h,!t,"editDat2a");return}console.log(h,"editData"),Ut(h==null?void 0:h.name),_t(h==null?void 0:h.analysis),s(h==null||((Qe=h.choices)===null||Qe===void 0)?void 0:Qe.map(function(it){return it.choice_text}));var ye=h==null||((P=h.choices)===null||P===void 0)?void 0:P.findIndex(function(it){return it.is_answer});xe(ye===-1?"":ye)},[h,t]),Object(p.useImperativeHandle)(_e,function(){return{onSave:wt,Clear:Zt}});var wt=function(){if(!ke)return j.b.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;var P=f.findIndex(function(it){return!it});if(P>-1)return j.b.info("\u8BF7\u5148\u8F93\u5165 ".concat(I[P]," \u9009\u9879\u7684\u5185\u5BB9")),!1;if(console.log("activeAnswer: ",a),!(typeof a=="number"))return j.b.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(Object(Te.D)(f))return j.b.info("\u9009\u9879\u5DF2\u91CD\u590D"),!1;var ye=f.map(function(it,Wt){return{choice_text:it,is_answer:a===Wt?1:0}});return{name:ke,choices:ye,analysis:xt}},Zt=function(){Ut(""),_t(""),xe(""),s(["","","",""])};return r.a.createElement("section",{className:E.a.wrap},r.a.createElement("p",{className:E.a.titleWrap},r.a.createElement("span",{className:E.a.required},"*"),r.a.createElement("span",{className:E.a.title},"\u9898\u5E72\uFF1A")),r.a.createElement(D.a,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:ke,onChange:function(P){return Ut(P)}}),r.a.createElement("p",{className:E.a.titleWrap},r.a.createElement("span",{className:E.a.required},"*"),r.a.createElement("span",{className:E.a.title},"\u7B54\u6848\u9009\u9879\uFF1A",r.a.createElement("span",{className:E.a.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),f.map(function(Qe,P){return r.a.createElement("div",{className:E.a.choiceWrap,key:P},r.a.createElement(be.a,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},r.a.createElement("div",{className:"".concat(E.a.answer," ").concat(a===P?E.a.activeAnswer:""),onClick:function(){return xe(P)}},I[P])),r.a.createElement("div",{className:E.a.editorWrap},c===P?r.a.createElement(D.a,{id:"single-question-option-".concat(P),watch:!0,height:155,isFocus:!0,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:Qe,onChange:function(it){f[P]=it,s(f)}}):r.a.createElement("div",{className:E.a.htmlWrap,onClick:function(){return Ce(P)}},r.a.createElement(y.a,{value:Qe}))),P>1&&r.a.createElement(be.a,{title:"\u5220\u9664"},r.a.createElement("i",{className:"".concat(E.a.deleteIcon," iconfont icon-htmal5icon19"),onClick:function(){s(f.filter(function(it,Wt){return Wt!==P})),P===a&&xe("")}})),P<7&&P===f.length-1&&r.a.createElement(be.a,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},r.a.createElement("i",{className:"".concat(E.a.addIcon," iconfont icon-roundaddfill ml6"),onClick:function(){return s([].concat(Object(Pe.a)(f),[""]))}})))}),r.a.createElement("p",{className:E.a.titleWrap},r.a.createElement("span",{className:E.a.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),r.a.createElement(D.a,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:xt,onChange:function(P){return _t(P)}}))};R.a=Object(v.a)(function(k){var L=k.problemset,_e=k.loading,h=k.globalSetting;return{problemset:L,globalSetting:h,loading:_e.effects}},null,null,{forwardRef:!0})(Object(p.forwardRef)(w))},"6tVA":function(ee,R,e){"use strict";e.r(R);var Pe=e("cWXX"),le=e("/ezw"),be=e("DjyN"),U=e("NUBc"),j=e("2qtc"),o=e("kLXV"),n=e("sRBo"),p=e("kaz8"),r=e("+L6B"),v=e("2/Rp"),D=e("nRaC"),y=e("5RzL"),_=e("5NDa"),E=e("5rEg"),Te=e("14J3"),I=e("BMrR"),w=e("jCWc"),k=e("kPKH"),L=e("/zsF"),_e=e("PArb"),h=e("miYZ"),se=e("tsqr"),me=e("oBTY"),Ee=e("WmNS"),O=e.n(Ee),b=e("9og8"),t=e("k1fw"),x=e("y8nQ"),G=e("Vl3Y"),d=e("tJVT"),f=e("PpiC"),s=e("Znn+"),T=e("ZTPi"),g=e("iQDF"),c=e("+eQT"),Ce=e("OaEy"),Z=e("2fM7"),l=e("q1tI"),a=e.n(l),xe=e("S9qI"),te=e.n(xe),Je=e("1vsH"),ke=e("9kvl"),Ut=e("55Ip"),nt=e("ErOA"),Gt=e("qVdP"),xt=e("jsC+"),_t=e("5Dmo"),wt=e("3S7+"),Zt=e("lUTK"),Qe=e("BvKs"),P=e("7Kak"),ye=e("9yH6"),it=e("9Bee"),Wt=e("MB9C"),$=e.n(Wt),ia=e("wd/R"),fa=e.n(ia),sa=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],pa=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Ra=[{type:"SINGLE",name:"\u5355\u9009"},{type:"MULTIPLE",name:"\u591A\u9009"},{type:"JUDGMENT",name:"\u5224\u65AD"},{type:"PROGRAM",name:"\u7F16\u7A0B"},{type:"SUBJECTIVE",name:"\u7B80\u7B54"},{type:"COMPLETION",name:"\u586B\u7A7A"}],$t=function(Fe){var Tt,Ht,Ye,W,u,rt,Ne,ot,Ze=Fe.showCheckbox,qe=Ze===void 0?!1:Ze,B=Fe.isPreviewSelect,Y=B===void 0?!1:B,m=Fe.data,mt=Fe.activeTabsKey,et=Fe.selectIds,N=et===void 0?[]:et,M=Fe.loadingIdParams,A=Fe.onLoadingIdParams,Oe=A===void 0?function(){}:A,X=Fe.onSetSelectIds,we=X===void 0?function(){}:X,ht=Fe.onSetPrivate,He=ht===void 0?function(){}:ht,ge=Fe.onCopy,ze=ge===void 0?function(){}:ge,Ot=Fe.onSetPublic,Et=Ot===void 0?function(){}:Ot,ie=Fe.onDelete,Xe=ie===void 0?function(){}:ie,ut=Fe.onCancel,tt=ut===void 0?function(){}:ut,H=Fe.onSelect,C=H===void 0?function(){}:H,Ae=Object(l.useState)(!1),De=Object(d.a)(Ae,2),ft=De[0],Pt=De[1],Be=Object(l.useRef)(),Dt=function(){if(m.item_type==="JUDGMENT")return a.a.createElement("div",{className:$.a.judgmentContent},m.choices.map(function(Ft,V){return a.a.createElement(ye.a,{key:V,disabled:!0},Ft.choice_text)}));if(m.item_type==="PROGRAM"){var dt;return a.a.createElement("div",{className:$.a.programContent},a.a.createElement(it.a,{value:(dt=m.program_attr)===null||dt===void 0?void 0:dt.description}))}return a.a.createElement("div",{className:$.a.otherContent},m.choices.map(function(Ft,V){return a.a.createElement("div",{key:V,className:$.a.otherContentItem},a.a.createElement("p",null,sa[V]),a.a.createElement(it.a,{className:$.a.otehrContentHtml,value:Ft.choice_text}))}))},Bt=function(){var dt;return a.a.createElement("div",null,(dt=m.standard_answer)===null||dt===void 0?void 0:dt.map(function(Ft,V){return a.a.createElement(it.a,{key:V,className:$.a.answerHtml,value:"\u7B54\u6848\uFF08\u586B\u7A7A".concat(Ft.position,"\uFF09\uFF1A").concat(Ft.answer_text.join("\u3001"))})}))},qt=function(){var dt,Ft,V,Q={SUBJECTIVE:(dt=m.answer_texts)===null||dt===void 0?void 0:dt[0],JUDGMENT:(Ft=m.choices)===null||Ft===void 0||((V=Ft.find(function(ct){return ct.is_answer}))===null||V===void 0)?void 0:V.choice_text},ae=m.choices.map(function(ct){return ct.is_answer}).findIndex(function(ct){return ct}),Ie=ae>-1?pa[ae]:"",pt="";m.choices.map(function(ct,zt){ct.is_answer&&(pt+=pa[zt])});var je=Q[m.item_type],bt={SINGLE:a.a.createElement(it.a,{className:$.a.answerHtml,value:"\u7B54\u6848\uFF1A".concat(Ie||"\u65E0")}),MULTIPLE:a.a.createElement(it.a,{className:$.a.answerHtml,value:"\u7B54\u6848\uFF1A".concat(pt||"\u65E0")}),COMPLETION:Bt()},Nt=a.a.createElement(it.a,{className:$.a.answerHtml,value:"\u7B54\u6848\uFF1A".concat(je||"\u65E0")});return bt[m.item_type]||Nt},da=a.a.createElement(Qe.a,{forceSubMenuRender:!0},(m==null?void 0:m.public)?a.a.createElement(Qe.a.Item,{onClick:function(){return He(m.id)},key:"1"},a.a.createElement("span",{className:$.a.actionLink},"\u53D6\u6D88\u516C\u5F00")):a.a.createElement(Qe.a.Item,{onClick:function(){return Et(m.id)},key:"2"},a.a.createElement("span",{className:$.a.actionLink},"\u516C\u5F00")),a.a.createElement(Qe.a.Item,{onClick:function(){if(m==null?void 0:m.public){se.b.warn("\u8BD5\u9898\u5DF2\u516C\u5F00\u65E0\u6CD5\u5220\u9664");return}Xe(m.id)},key:"3"},a.a.createElement("span",{className:$.a.actionLink},"\u5220\u9664"))),jt=function(){var dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,Ft='\u7B80\u5355';return dt===2&&(Ft='\u9002\u4E2D'),dt===3&&(Ft='\u56F0\u96BE'),Ft},Ua=function(){Be.current.style.pointerEvents="none"},xa=function(){var dt;return console.log(jt(m==null?void 0:m.difficulty),44),''.concat((dt=Ra.find(function(Ft){return Ft.type===(m==null?void 0:m.item_type)}))===null||dt===void 0?void 0:dt.name,"").concat(jt(m==null?void 0:m.difficulty)," ")},Oa=function(){return(m==null?void 0:m.choosed)?'\u5DF2\u9009\u7528':""};return a.a.createElement("div",{className:$.a.itemWrap},qe&&a.a.createElement(p.a,{style:{marginTop:25},checked:N.includes(m.id),onChange:function(){we(m.id)}}),a.a.createElement("div",{className:$.a.listWrap},a.a.createElement("div",{className:$.a.list},a.a.createElement("div",{className:$.a.row,style:{alignItems:"baseline"}},a.a.createElement(it.a,{className:$.a.topicTitleContent,value:Oa()+"No.".concat(m.id," ")+m.name+xa()}),a.a.createElement("i",{onClick:function(){return Pt(!ft)},style:{transition:"0.5s",padding:"0px 10px",marginLeft:"auto",transform:ft?"rotate(0deg)":"rotate(180deg)"},className:"iconfont icon-shangjiantou c-grey-999 current"})),a.a.createElement("aside",{style:{overflow:"hidden",height:ft?"auto":0}},a.a.createElement("div",{className:"".concat($.a.row," mt15")},Dt()),a.a.createElement("div",{className:$.a.row},a.a.createElement("div",{className:$.a.updateTimeRow},a.a.createElement("div",{className:$.a.updateTimeWrap},m.item_type==="PROGRAM"&&a.a.createElement("p",{className:$.a.programLanguage},"\u7F16\u7A0B\u8BED\u8A00\uFF1A",(Tt=m.program_attr)===null||Tt===void 0?void 0:Tt.language)))),m.item_type!=="PROGRAM"&&a.a.createElement("div",null,a.a.createElement("div",{className:$.a.parseAnswerBorder}),a.a.createElement("div",{className:$.a.answer},qt()),a.a.createElement("div",{className:$.a.parse},a.a.createElement("div",{className:$.a.parseText},"\u89E3\u6790\uFF1A"),a.a.createElement("div",{className:$.a.parseAnswer},m.analysis?a.a.createElement(it.a,{className:$.a.parseAnswerHtml,value:m.analysis}):"\u6682\u65E0\u89E3\u6790"))))),a.a.createElement("div",{className:$.a.actionBar},a.a.createElement("div",{className:$.a.actionLeft},a.a.createElement("span",{className:"c-grey-7c7"},"\u9009\u7528\uFF1A"),a.a.createElement("span",{className:"c-black-111"},m.quotes,"\u6B21"),a.a.createElement("i",{className:$.a.line}),a.a.createElement("span",{className:"c-grey-7c7"},"\u66F4\u65B0\u65F6\u95F4\uFF1A"),a.a.createElement("span",{className:"c-black-111"},m.update_time?fa()(m.update_time).format("YYYY-MM-DD"):""),a.a.createElement("i",{className:$.a.line}),a.a.createElement("span",{className:"c-grey-7c7"},"\u6240\u9009\u79D1\u76EE\uFF1A"),(m==null||((Ht=m.exercise_subjects)===null||Ht===void 0)?void 0:Ht.length)?a.a.createElement(wt.a,{title:m==null||((Ye=m.exercise_subjects)===null||Ye===void 0)?void 0:Ye.join("\u3001")},a.a.createElement("span",{className:Y?$.a.longKnow:$.a.know},m==null||((W=m.exercise_subjects)===null||W===void 0)?void 0:W.join("\u3001"))):a.a.createElement("span",{className:$.a.know},"--"),a.a.createElement("i",{className:$.a.line}),a.a.createElement("span",{className:"c-grey-7c7"},"\u6240\u5C5E\u77E5\u8BC6\u70B9\uFF1A"),(m==null||((u=m.exercise_points)===null||u===void 0)?void 0:u.length)?a.a.createElement(wt.a,{title:m==null||((rt=m.exercise_points)===null||rt===void 0)?void 0:rt.join("\u3001")},a.a.createElement("span",{className:Y?$.a.longKnow:$.a.know},m==null||((Ne=m.exercise_points)===null||Ne===void 0)?void 0:Ne.join("\u3001"))):a.a.createElement("span",{className:$.a.know},"--")),a.a.createElement("div",{className:$.a.actionRight},mt==="0"&&!Y&&a.a.createElement(v.a,{ghost:!0,className:"".concat($.a.bottomAction," ").concat($.a.borderColorFFF)},a.a.createElement(Ut.Link,{target:"_blank",to:(m==null?void 0:m.item_type)==="PROGRAM"?"/exam/questionManagement/".concat((ot=m.program_attr)===null||ot===void 0?void 0:ot.identifier,"/edit?type=PROGRAM"):"/exam/questionManagement/".concat(m.id,"/edit")},"\u7F16\u8F91 ")),(m==null?void 0:m.choosed)?a.a.createElement(v.a,{ghost:!0,danger:!0,key:1,ref:Be,loading:(M==null?void 0:M.selectId)===m.id,className:"".concat($.a.bottomAction),onClick:function(){Ua(),Oe({selectId:m.id}),tt(m.id)}},"\u79FB\u9664 "):a.a.createElement(v.a,{ghost:!0,key:2,loading:(M==null?void 0:M.selectId)===m.id,className:"".concat($.a.bottomAction," ").concat($.a.borderColorFFF),onClick:function(){Oe({selectId:m.id}),C(m.id)}},"\u9009\u7528 "),mt==="1"&&!Y&&a.a.createElement(v.a,{ghost:!0,className:"".concat($.a.bottomAction," ").concat($.a.borderColorFFF),onClick:function(){return ze(m.id)}},"\u590D\u5236\u5230\u6211\u7684\u8BD5\u9898"),mt==="0"&&!Y&&a.a.createElement(xt.a,{arrow:!0,overlay:da,trigger:["click"]},a.a.createElement(v.a,{ghost:!0,className:"".concat($.a.bottomAction," ").concat($.a.borderColorFFF),onClick:function(dt){return dt.preventDefault()}}," \u66F4\u591A",a.a.createElement("i",{className:"iconfont icon-shangjiantou",style:{fontSize:12,marginLeft:4,display:"inherit",transform:"rotate(180deg)"}})," "))))))},Pa=$t,ja=e("bbsP"),ya=e("/wGt"),ma=e("GL1G"),Xt=e.n(ma),La=e("BdwD"),pe=e("V49x"),St=function(Fe){var Tt=Fe.visible,Ht=Fe.basketData,Ye=Fe.basketTotal,W=Fe.exerciseId,u=Fe.onClose,rt=u===void 0?function(){}:u,Ne=Fe.onDelete,ot=Ne===void 0?function(){}:Ne,Ze=Object(l.useRef)(),qe=Object(l.useRef)();Object(l.useEffect)(function(){return qe.current?(Ye>=0&&!Ze.current&&(Ze.current=pe.a.init(qe.current,function(){rt()})),function(){Ze.current&&Ze.current.clear()}):void 0},[qe.current]);var B=function(){rt(),Object(ke.b)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"}})},Y=function(){var m=Object(b.a)(O.a.mark(function mt(){var et;return O.a.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:if(et=W?"/exam/exerciseManagement/".concat(W,"/edit"):"/exam/questionManagement/preview",!W){M.next=4;break}return ke.c.push(et),M.abrupt("return");case 4:ke.c.push(et);case 5:case"end":return M.stop()}},mt)}));return function(){return m.apply(this,arguments)}}();return a.a.createElement(ya.a,{className:Xt.a.drawerWrap,placement:"right",closable:!1,mask:!1,visible:Tt,forceRender:!0,onClose:rt},a.a.createElement("div",{style:{height:"100%"},ref:qe},a.a.createElement("div",{className:Xt.a.title},a.a.createElement("i",{onClick:rt,className:"iconfont icon-fanhui2"}),a.a.createElement("span",{className:Xt.a.s1},"\u8BD5\u9898\u7BEE"),a.a.createElement("span",{className:Xt.a.s2},"(\u5DF2\u9009",Ye,")")),a.a.createElement("div",{className:Xt.a.listWarp},Ye>0?Ht.map(function(m){return a.a.createElement("div",{className:Xt.a.problemset,key:m.type},a.a.createElement("div",{className:Xt.a.content}," ",m.name," \uFF08",m.count,"\uFF09"),a.a.createElement("div",{className:Xt.a.delete,onClick:function(){return ot(m.type)}},a.a.createElement("i",{className:"iconfont icon-shanchu1 ".concat(Xt.a.deleteIcon)})))}):a.a.createElement(La.a,{styles:{margin:"120px auto"},customText:"\u8BF7\u9009\u62E9\u8BD5\u9898\u8FDB\u884C\u7EC4\u5377"})),a.a.createElement("div",{className:Xt.a.previewWrap},a.a.createElement("div",{onClick:B,className:Xt.a.add},"\u6DFB\u52A0\u5B9E\u8BAD\u9898"),Ye>0&&a.a.createElement("div",{onClick:Y,className:Xt.a.preview},"\u8BD5\u5377\u9884\u89C8"))))},Re=e("Tkyw"),J=e.n(Re),$e=function(Fe){var Tt=Fe.count,Ht=Fe.visibleBasket,Ye=Fe.onToggleVisible,W=Ye===void 0?function(){}:Ye;return a.a.createElement("div",{style:{display:Ht?"none":"block"},className:J.a.wrap,onClick:W},a.a.createElement("div",{className:J.a.basket},a.a.createElement("i",{className:"iconfont icon-lanzi"}),a.a.createElement("p",{className:J.a.name},"\u8BD5\u9898\u7BEE")),a.a.createElement("div",{className:J.a.count},"\u5DF2\u9009",a.a.createElement("span",null,Tt||0)))},K=e("Ty5D"),re=e("1HhV"),i=e.n(re),ue=e("HBuW"),st=e("NLgs"),Kt=e("xKgJ"),Jt=E.a.Search,Lt={id:"mine",name:"\u6765\u6E90",children:[{name:"\u4E2A\u4EBA\u521B\u5EFA",id:"true",type:"mine"},{name:"\u516C\u5F00\u8BD5\u9898",id:"false",type:"mine"}]},Rt={id:"diff",name:"\u96BE\u5EA6",children:[{name:"\u5168\u90E8",id:"",type:"diff"},{name:"\u521D\u7EA7",id:1,type:"diff"},{name:"\u4E2D\u7EA7",id:2,type:"diff"},{name:"\u4E2D\u9AD8\u7EA7",id:3,type:"diff"},{name:"\u9AD8\u7EA7",id:4,type:"diff"}]},la=function(Fe){var Tt,Ht,Ye,W,u=Fe.classroomList,rt=Fe.loading,Ne=Fe.dispatch,ot=Fe.cb,Ze=Fe.shixunIds,qe=Ze===void 0?[]:Ze,B=Object(K.m)(),Y=Object(K.l)(),m=u.actionTabs,mt=G.a.useForm(),et=Object(d.a)(mt,1),N=et[0],M=u.shixunLists,A=Object(l.useState)([]),Oe=Object(d.a)(A,2),X=Oe[0],we=Oe[1],ht=Object(l.useState)([]),He=Object(d.a)(ht,2),ge=He[0],ze=He[1],Ot=Object(l.useState)({page:1,mine:"true",type:"mine",diff:0,status:"published",order:"desc",limit:10,sort:"myshixuns_count",tag_level:null,sub_discipline_id:null,discipline_id:null}),Et=Object(d.a)(Ot,2),ie=Et[0],Xe=Et[1];Object(l.useEffect)(function(){u.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"&&Ne({type:"classroomList/getShixunLists",payload:Object(t.a)({},ie)})},[u.actionTabs.key,ie]),Object(l.useEffect)(function(){return u.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"?document.body.setAttribute("data-custom","height"):document.body.removeAttribute("data-custom"),function(){document.body.removeAttribute("data-custom")}},[u.actionTabs.key]),Object(l.useEffect)(function(){ut()},[B]);var ut=function(){var C=Object(b.a)(O.a.mark(function Ae(){var De;return O.a.wrap(function(Pt){for(;;)switch(Pt.prev=Pt.next){case 0:return Pt.next=2,Object(ue.jb)({});case 2:De=Pt.sent,ze((De==null?void 0:De.disciplines)||[]);case 4:case"end":return Pt.stop()}},Ae)}));return function(){return C.apply(this,arguments)}}(),tt=function(Ae,De,ft){ie.tag_level=Ae,ie.sub_discipline_id=De,ie.discipline_id=ft,Xe(Object(t.a)({},ie)),Ne({type:"classroomList/getShixunLists",payload:Object(t.a)({},ie)})},H=function(){Ne({type:"classroomList/setActionTabs",payload:{}}),Xe({page:1,type:"all",diff:0,status:"published",order:"desc",limit:10,sort:"myshixuns_count",tag_level:null,sub_discipline_id:null,discipline_id:null})};return u.actionTabs.key!=="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"?null:(console.log(X,"selectArrs"),a.a.createElement(ya.a,{placement:"bottom",height:"100%",closable:!0,onClose:H,visible:u.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",key:"bottom",className:i.a.drawer,footer:a.a.createElement("div",{className:"tc"},a.a.createElement(v.a,{size:"large",onClick:function(){H(),we([])},style:{marginRight:8}},"\u53D6\u6D88"),a.a.createElement(v.a,{size:"large",onClick:Object(b.a)(O.a.mark(function C(){var Ae,De,ft;return O.a.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:Ae=function(Bt){var qt=X[Bt];if(qe.includes(qt)){var da,jt;return se.b.info("\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\uFF1A".concat(M==null||((da=M.shixun_list)===null||da===void 0||((jt=da.find(function(Ua){return Ua.id===qt}))===null||jt===void 0))?void 0:jt.title)),{v:void 0}}},De=0;case 2:if(!(De<(X==null?void 0:X.length))){Be.next=9;break}if(ft=Ae(De),!(typeof ft=="object")){Be.next=6;break}return Be.abrupt("return",ft.v);case 6:De++,Be.next=2;break;case 9:H(),ot(X),we([]);case 12:case"end":return Be.stop()}},C)})),type:"primary"},"\u786E\u5B9A"))},a.a.createElement("section",{className:"tc"},a.a.createElement(Jt,{placeholder:"\u5B9E\u8BAD\u4FE1\u606F/\u9662\u6821\u540D\u79F0/\u521B\u5EFA\u8005",enterButton:"\u641C\u7D22",size:"large",className:i.a.search,onSearch:function(Ae){ie.keyword=Ae,ie.page=1,Ne({type:"classroomList/getShixunLists",payload:Object(t.a)({},ie)})}})),a.a.createElement("section",{className:"edu-container"},a.a.createElement("ul",{className:i.a.menu},a.a.createElement("li",null,Lt.name),Lt==null||((Tt=Lt.children)===null||Tt===void 0)?void 0:Tt.map(function(C,Ae){return a.a.createElement("li",{key:C.id,className:ie[Lt.id]==C.id?i.a.actived:"",onClick:function(){ie[Lt.id]=C.id,Xe(Object(t.a)({},ie)),Ne({type:"classroomList/getShixunLists",payload:Object(t.a)({},ie)})}},a.a.createElement("strong",null,C.name))})),a.a.createElement("ul",{className:i.a.menuDirection},a.a.createElement("li",{className:i.a.directionName},"\u65B9\u5411"),a.a.createElement("li",{className:ie.discipline_id?"":i.a.actived,onClick:function(){tt(null,null,null)}},a.a.createElement("strong",null,"\u5168\u90E8")),ge==null?void 0:ge.map(function(C,Ae){return a.a.createElement("li",{key:Ae,className:ie.discipline_id==C.id?i.a.actived:""},a.a.createElement("strong",{onClick:function(){tt(1,null,C.id)}},C.name),a.a.createElement("div",null,C.sub_disciplines.map(function(De,ft){return a.a.createElement("div",{key:ft,className:"mt5"},a.a.createElement("div",{className:ie.sub_discipline_id==De.id?"".concat(i.a.actived2," ").concat(i.a.subTag):i.a.subTag,onClick:function(){tt(2,De.id,C.id)}},De.name),a.a.createElement("ul",{className:"mt5"},De.tags&&De.tags.map(function(Pt,Be){return a.a.createElement("li",{key:Be,className:ie.sub_discipline_id==Pt.id&&ie.tag_level===3?i.a.actived2:"",onClick:function(){tt(3,Pt.id,C.id)}},Pt.name)})))})))})),a.a.createElement("ul",{className:i.a.menu},a.a.createElement("li",null,Rt.name),Rt==null||((Ht=Rt.children)===null||Ht===void 0)?void 0:Ht.map(function(C,Ae){return a.a.createElement("li",{className:ie[Rt.id]==C.id?i.a.actived:"",onClick:function(){ie[Rt.id]=C.id,Xe(Object(t.a)({},ie)),Ne({type:"classroomList/getShixunLists",payload:Object(t.a)({},ie)})}},a.a.createElement("strong",null,C.name))})),a.a.createElement(I.a,null,a.a.createElement(k.a,{flex:"1"},a.a.createElement("div",{className:i.a.menuCourse,style:{margin:"0px 15px"}},a.a.createElement("ul",null,a.a.createElement("li",null,"\u5DF2\u9009",a.a.createElement("span",{className:"c-blue"},X.length),"\u4E2A\u5B9E\u8BAD"),a.a.createElement("li",null,"\u5171",a.a.createElement("span",{className:"c-blue"},M.shixuns_count),"\u4E2A\u8BFE\u7A0B"),a.a.createElement("li",{className:"current",onClick:function(){ie.order=ie.order==="asc"?"desc":"asc",Xe(Object(t.a)({},ie))}},"\u5B66\u4E60\u4EBA\u6570",a.a.createElement("p",{className:"edu-sorter current ".concat(ie.order)},ie.order==="asc"?a.a.createElement("span",{className:"iconfont icon-sanjiaoxing-up"}):a.a.createElement("span",{className:"iconfont icon-sanjiaoxing-down"})))))),a.a.createElement(k.a,{className:"c-grey-999"},"\u4EC5\u5DF2\u53D1\u5E03\u7684\u5B9E\u8BAD\u8FDB\u5165\u672C\u5217\u8868\u5907\u9009")),M==null||((Ye=M.shixun_list)===null||Ye===void 0)?void 0:Ye.map(function(C,Ae){return a.a.createElement("div",{className:i.a.listItem,key:C.id},a.a.createElement(p.a,{checked:X.includes(C.id),value:C.id,disabled:C==null?void 0:C.need_authorize,onChange:function(ft){console.log(X,X.indexOf(C.id)>-1,444);var Pt=X.indexOf(C.id);X.indexOf(C.id)>-1?we(X.filter(function(Be){return Be!==C.id})):we(X.concat(C.id))}}),a.a.createElement("div",{className:i.a.info},a.a.createElement("div",{className:i.a.title},a.a.createElement("div",{className:i.a.titleLeft},a.a.createElement("a",{className:"c-black",href:"/shixuns/".concat(C==null?void 0:C.identifier,"/challenges"),target:"_blank"},a.a.createElement("strong",{className:"font16",dangerouslySetInnerHTML:{__html:C.title}})),(C==null?void 0:C.need_authorize)&&a.a.createElement("span",{onClick:function(){Object(st.a)(!1)},style:{marginRight:"auto"},className:"tag-style bg-pink current ml10"},"\u9700\u6388\u6743"),Object(Kt.w)()&&(C==null?void 0:C.mark_status)===1&&a.a.createElement(wt.a,{title:C==null?void 0:C.mark_content},a.a.createElement("span",{style:{marginRight:"auto",background:"#2FA34F"},className:"tag-style current ml10"},"\u6B63\u5E38")),Object(Kt.w)()&&(C==null?void 0:C.mark_status)===2&&a.a.createElement(wt.a,{title:C==null?void 0:C.mark_content},a.a.createElement("span",{style:{marginRight:"auto",background:"#FF8C29"},className:"tag-style current ml10"},"\u9700\u5B8C\u5584")),Object(Kt.w)()&&(C==null?void 0:C.mark_status)===3&&a.a.createElement(wt.a,{title:C==null?void 0:C.mark_content},a.a.createElement("span",{style:{marginRight:"auto",background:"#E53333"},className:"tag-style current ml10"},"\u65E0\u6CD5\u4F7F\u7528")))),a.a.createElement("div",{className:"flex-wrp mt10 font14 c-light-black"},a.a.createElement("span",{className:i.a.description,dangerouslySetInnerHTML:{__html:C.description}})),a.a.createElement("div",{className:" mt15"},C.challenge_names.map(function(De,ft){return a.a.createElement("span",{key:ft,className:"mr30 font12"},"\u7B2C",ft+1,"\u5173 ",De," ")})),a.a.createElement(_e.a,{dashed:!0}),a.a.createElement("div",{className:"c-light-black mt20 font12"},a.a.createElement("span",null,C.author_name),a.a.createElement("span",{className:"ml15 mr15"},"|"),a.a.createElement("span",null,C.author_school_name),a.a.createElement("span",{className:"ml15 mr15"},"|"),a.a.createElement("span",null,"\u96BE\u5EA6\u7CFB\u6570 ",C.level),a.a.createElement("span",{className:"ml15 mr15"},"|"),a.a.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570 "),a.a.createElement("span",null,C.study_count))))}),(M==null||((W=M.shixun_list)===null||W===void 0)?void 0:W.length)===0&&a.a.createElement(La.a,null),a.a.createElement("p",null)),a.a.createElement("div",{className:"tc mt20"},a.a.createElement(U.a,{defaultCurrent:1,hideOnSinglePage:!0,defaultPageSize:20,showSizeChanger:!1,current:ie.page||1,showQuickJumper:!0,total:M==null?void 0:M.shixuns_count,onChange:function(Ae){ie.page=Ae,Xe(Object(t.a)({},ie))}}))))},ra=Object(ke.a)(function(na){var Fe=na.classroomList,Tt=na.loading;return{classroomList:Fe,loading:Tt}})(la),ta=e("no3R"),At=e("mgmH"),va=e("/7ue"),ha=e("LvDl"),_a=e.n(ha),We=Z.a.Option,aa=c.a.RangePicker,lt=T.a.TabPane,ua={item_type:"ALL",exercise_subject_id:"ALL",exercise_point_id:"ALL",difficulty:"ALL"},Vt={page:1,per_page:10},oa=function(Fe){var Tt,Ht,Ye,W,u=Fe.match,rt=Object(f.a)(Fe,["match"]),Ne=G.a.useForm(),ot=Object(d.a)(Ne,1),Ze=ot[0],qe=Object(l.useState)(ua),B=Object(d.a)(qe,2),Y=B[0],m=B[1],mt=Object(l.useState)([{key:"ALL",title:"\u5168\u90E8",value:"ALL"}]),et=Object(d.a)(mt,2),N=et[0],M=et[1],A=Object(l.useState)([]),Oe=Object(d.a)(A,2),X=Oe[0],we=Oe[1],ht=Object(l.useState)([]),He=Object(d.a)(ht,2),ge=He[0],ze=He[1],Ot=Object(l.useState)([]),Et=Object(d.a)(Ot,2),ie=Et[0],Xe=Et[1],ut=Object(l.useState)("0"),tt=Object(d.a)(ut,2),H=tt[0],C=tt[1],Ae=Object(l.useState)({}),De=Object(d.a)(Ae,2),ft=De[0],Pt=De[1],Be=Object(l.useState)(0),Dt=Object(d.a)(Be,2),Bt=Dt[0],qt=Dt[1],da=Object(l.useState)(!1),jt=Object(d.a)(da,2),Ua=jt[0],xa=jt[1],Oa=Object(l.useState)(Object(t.a)({},Vt)),Qt=Object(d.a)(Oa,2),dt=Qt[0],Ft=Qt[1],V=Object(l.useState)(0),Q=Object(d.a)(V,2),ae=Q[0],Ie=Q[1],pt=Object(l.useState)(1),je=Object(d.a)(pt,2),bt=je[0],Nt=je[1],ct=Object(l.useState)(""),zt=Object(d.a)(ct,2),Ea=zt[0],Yt=zt[1],ea=Object(l.useState)(!1),Ma=Object(d.a)(ea,2),wa=Ma[0],Ia=Ma[1],Ga=Object(l.useState)(!1),ka=Object(d.a)(Ga,2),Qa=ka[0],Wa=ka[1],Ja=Object(l.useState)(!1),Xa=Object(d.a)(Ja,2),$a=Xa[0],Ka=Xa[1],en=Object(l.useState)([]),Ba=Object(d.a)(en,2),Ya=Ba[0],Ha=Ba[1],Za=Object(l.useState)(!1),Va=Object(d.a)(Za,2),Aa=Va[0],za=Va[1],qa=Object(l.useState)(),Fa=Object(d.a)(qa,2),ne=Fa[0],S=Fa[1],F=Object(l.useState)({}),fe=Object(d.a)(F,2),Me=fe[0],ve=fe[1],q=(u==null||((Tt=u.params)===null||Tt===void 0)?void 0:Tt.exerciseId)?(u==null||((Ht=u.params)===null||Ht===void 0)?void 0:Ht.exerciseId)==="add"?"":u==null||((Ye=u.params)===null||Ye===void 0)?void 0:Ye.exerciseId:"";Object(l.useEffect)(function(){Ct(),Ue(),ca(Object(t.a)(Object(t.a)({},ua),Vt),!0)},[]),Object(l.useEffect)(function(){var Le;(u==null||((Le=u.params)===null||Le===void 0)?void 0:Le.exerciseId)&&Ka(!0)},[u==null||((W=u.params)===null||W===void 0)?void 0:W.exerciseId]),Object(l.useEffect)(function(){if(bt===1){Nt(2);return}ca(Object(t.a)(Object(t.a)({},ua),Vt))},[H]);var Ue=function(){var Le=Object(b.a)(O.a.mark(function oe(){var z,Se,gt;return O.a.wrap(function(It){for(;;)switch(It.prev=It.next){case 0:return It.next=2,Object(nt.a)("/api/item_baskets/basket_list_items.json",{method:"get",params:{examination_bank_id:q}});case 2:Se=It.sent,gt=Se==null||((z=Se.data)===null||z===void 0)?void 0:z.reduce(function(ce,de){return ce+de.count},0),Pt(Object(ta.classifyType)(Se.data)),qt(gt);case 6:case"end":return It.stop()}},oe)}));return function(){return Le.apply(this,arguments)}}(),Ct=function(){var Le=Object(b.a)(O.a.mark(function oe(){var z;return O.a.wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:return gt.next=2,Object(nt.a)("/api/common_exercises/item_banks/exercise_subjects.json",{method:"get"});case 2:z=gt.sent,(z==null?void 0:z.data)&&Xe([{id:"ALL",name:"\u5168\u90E8"}].concat(Object(me.a)(z.data)));case 4:case"end":return gt.stop()}},oe)}));return function(){return Le.apply(this,arguments)}}(),Ge=function(){var Le=Object(b.a)(O.a.mark(function oe(z){var Se,gt,Ke;return O.a.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,Object(nt.a)("/api/common_exercises/item_banks/exercise_points.json",{method:"get",params:{exercise_subject_ids:[z]}});case 2:Se=ce.sent,(Se==null?void 0:Se.data)&&M([{key:"ALL",title:"\u5168\u90E8",value:"ALL"}].concat(Object(me.a)(Object(Je.U)(((gt=Se.data)===null||gt===void 0||((Ke=gt[0])===null||Ke===void 0)?void 0:Ke.exercise_points)||[]))));case 4:case"end":return ce.stop()}},oe)}));return function(z){return Le.apply(this,arguments)}}(),Mt=function(oe){m(Object(t.a)({},Ze.getFieldsValue())),"exercise_subject_id"in oe&&(Ge(oe.exercise_subject_id),Ze.setFieldsValue({exercise_point_id:"ALL"}),m(Object(t.a)(Object(t.a)({},Y),{},{exercise_point_id:"ALL"})))},vt=function(){var Le=Object(b.a)(O.a.mark(function oe(z){return O.a.wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:console.log(Vt,"values"),Ft(Vt),ca(Object(t.a)(Object(t.a)({},Vt),z),!0),ze([]);case 4:case"end":return gt.stop()}},oe)}));return function(z){return Le.apply(this,arguments)}}(),ba=function(oe){Ft(Vt),Ze.resetFields(),m(Object(t.a)({},ua)),ze([]),C(oe)},Da=function(oe){ze(oe?X==null?void 0:X.map(function(z){return z.id}):[])},ca=function(){var Le=Object(b.a)(O.a.mark(function oe(z,Se){var gt,Ke,It;return O.a.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return gt=_a.a.pickBy(z,function(he){return he!=="ALL"&&he!==void 0}),Ke={},gt.date&&(Ke={start_at:fa()(gt.date[0]).format("YYYY-MM-DD"),end_at:fa()(gt.date[1]).format("YYYY-MM-DD")},delete gt.date),Se&&xa(!0),de.next=6,Object(nt.a)("/api/common_exercises/item_banks",{method:"get",params:Object(t.a)(Object(t.a)(Object(t.a)({},gt),Ke),{},{type:H,examination_bank_id:q})});case 6:It=de.sent,(It==null?void 0:It.items)&&(we(It==null?void 0:It.items),Ie(It==null?void 0:It.items_count),xa(!1),S(It.used_shixun_ids||[]));case 8:case"end":return de.stop()}},oe)}));return function(z,Se){return Le.apply(this,arguments)}}(),Sa=function(oe,z){ze([]);var Se={page:oe,per_page:z};Ft(Se),ca(Object(t.a)(Object(t.a)({},Se),Y))},an=function(oe){ze((ge==null?void 0:ge.includes(oe))?ge.filter(function(z){return z!==oe}):[].concat(Object(me.a)(ge),[oe]))},nn=function(){var Le=Object(b.a)(O.a.mark(function oe(){var z,Se;return O.a.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:if(console.log(Ea,"inputText"),!(Ea!=="\u786E\u8BA4\u5220\u9664")){Ke.next=4;break}return Ia(!0),Ke.abrupt("return");case 4:return Ke.next=6,Object(nt.a)("/api/item_banks/batch_delete.json",{method:"post",body:{ids:Ya}});case 6:z=Ke.sent,(z==null?void 0:z.status)===0&&(ze([]),Se=Ya.length===X.length&&dt.page>1?dt.page-1:dt.page,ca(Object(t.a)(Object(t.a)(Object(t.a)({},Y),dt),{},{page:Se})),Wa(!1),Ue());case 8:case"end":return Ke.stop()}},oe)}));return function(){return Le.apply(this,arguments)}}(),tn=function(oe){var z=oe?[oe]:ge;if(console.log(z),z==null?void 0:z.length){Wa(!0),Ha(z),Ia(!1),Yt("");return}se.b.warn("\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u8BD5\u9898")},on=function(){var Le=Object(b.a)(O.a.mark(function oe(z){var Se,gt;return O.a.wrap(function(It){for(;;)switch(It.prev=It.next){case 0:return Se=z?[z]:ge,It.next=3,Object(nt.a)("/api/item_banks/set_batch_public.json",{method:"post",body:{ids:Se,source:"0"}});case 3:gt=It.sent,gt.status===0&&ca(Object(t.a)(Object(t.a)({},Y),dt));case 5:case"end":return It.stop()}},oe)}));return function(z){return Le.apply(this,arguments)}}(),sn=function(){var Le=Object(b.a)(O.a.mark(function oe(z){var Se;return O.a.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return Ke.next=2,Object(nt.a)("/api/item_banks/".concat(z,"/set_private.json"),{method:"post"});case 2:Se=Ke.sent,Se.status===0&&ca(Object(t.a)(Object(t.a)({},Y),dt));case 4:case"end":return Ke.stop()}},oe)}));return function(z){return Le.apply(this,arguments)}}(),dn=function(){var Le=Object(b.a)(O.a.mark(function oe(z){var Se;return O.a.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return Ke.next=2,Object(nt.a)("/api/common_exercises/item_banks/".concat(z,"/fork"),{method:"get"});case 2:Se=Ke.sent,Se.status===0&&se.b.success("\u590D\u5236\u6210\u529F");case 5:case"end":return Ke.stop()}},oe)}));return function(z){return Le.apply(this,arguments)}}(),ga=function(){var Le=Object(b.a)(O.a.mark(function oe(z){var Se,gt,Ke;return O.a.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:if(Se=z?_a.a.isArray(z)?z:[z]:ge,Se==null?void 0:Se.length){ce.next=4;break}return se.b.warn("\u8BF7\u9009\u62E9\u9700\u8981\u52A0\u5165\u7684\u8BD5\u9898"),ce.abrupt("return");case 4:return gt=_a.a.isArray(z)?{shixun_ids:Se}:{item_bank_ids:Se},ce.next=7,Object(nt.a)("/api/item_baskets.json",{method:"post",body:Object(t.a)(Object(t.a)({},gt),{},{examination_bank_id:q})});case 7:if(Ke=ce.sent,!q){ce.next=11;break}return ce.next=11,Object(nt.a)("/api/examination_banks/".concat(q,"/save_item_banks.json"),{method:"post"});case 11:Ke.status===0&&(Ue(),ca(Object(t.a)(Object(t.a)({},Y),dt)),ve({}));case 12:case"end":return ce.stop()}},oe)}));return function(z){return Le.apply(this,arguments)}}(),ln=function(){var Le=Object(b.a)(O.a.mark(function oe(z){var Se;return O.a.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return Ke.next=2,Object(nt.a)("/api/item_baskets/".concat(z,".json"),{method:"delete",body:{id:z,item_bank:1,examination_bank_id:q}});case 2:Se=Ke.sent,Se.status===0&&(Ue(),ca(Object(t.a)(Object(t.a)({},Y),dt)),ve({}));case 4:case"end":return Ke.stop()}},oe)}));return function(z){return Le.apply(this,arguments)}}(),rn=function(){var Le=Object(b.a)(O.a.mark(function oe(z){var Se;return O.a.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return Ke.next=2,Object(nt.a)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:z,examination_bank_id:q}});case 2:Se=Ke.sent,Se.status===0&&(Ue(),ca(Object(t.a)(Object(t.a)({},Y),dt)));case 4:case"end":return Ke.stop()}},oe)}));return function(z){return Le.apply(this,arguments)}}(),cn=function(oe){ve(oe)},un=function(){var oe;return $a?a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"pl40 pr40"},a.a.createElement(I.a,{align:"middle",justify:"space-between",className:te.a.head},a.a.createElement("span",{className:te.a.s1,onClick:function(){var Se;(u==null||((Se=u.params)===null||Se===void 0)?void 0:Se.exerciseId)==="add"?ke.c.push("/exam/exerciseManagement"):ke.c.goBack()}},a.a.createElement("i",{className:"icon-fanhui2"}),"\u8FD4\u56DE"),a.a.createElement(_e.a,{className:te.a.s2,type:"vertical"}),a.a.createElement(k.a,{style:{fontWeight:500},className:"font18 c-grey-333"},(u==null||((oe=u.params)===null||oe===void 0)?void 0:oe.exerciseId)==="add"?"\u65B0\u589E\u8BD5\u5377-\u9009\u62E9\u8BD5\u9898":"\u7F16\u8F91\u8BD5\u5377-\u9009\u62E9\u8BD5\u9898"))),a.a.createElement(G.a,{form:Ze,className:te.a.formWrap,scrollToFirstError:!0,onValuesChange:Mt,onFinish:vt,initialValues:ua,size:"large"},a.a.createElement(I.a,{justify:"space-between"},a.a.createElement(G.a.Item,{label:"\u9898\u53F7",name:"no"},a.a.createElement(E.a,{placeholder:"\u53EF\u8F93\u5165\u9898\u53F7\u8FDB\u884C\u641C\u7D22",style:{width:210}})),a.a.createElement(G.a.Item,{label:"\u9898\u5E72",name:"keyword"},a.a.createElement(E.a,{placeholder:"\u53EF\u8F93\u5165\u9898\u5E72\u8FDB\u884C\u641C\u7D22",style:{width:210}})),a.a.createElement(G.a.Item,{label:"\u79D1\u76EE",name:"exercise_subject_id"},a.a.createElement(Z.a,{showArrow:!0,optionFilterProp:"children",style:{width:210}},ie.map(function(z){return a.a.createElement(We,{key:z.id,title:z.name,value:z.id},z.name)}))),a.a.createElement(G.a.Item,{label:"\u77E5\u8BC6\u70B9",name:"exercise_point_id"},a.a.createElement(y.a,{style:{width:200},treeData:N,disabled:!(Y==null?void 0:Y.exercise_subject_id),showArrow:!0,showCheckedStrategy:y.a.SHOW_PARENT}))),a.a.createElement(I.a,{justify:"space-between"},a.a.createElement(G.a.Item,{label:"\u9898\u578B",name:"item_type"},a.a.createElement(Z.a,{style:{width:210}},a.a.createElement(We,{value:"ALL"},"\u5168\u90E8"),a.a.createElement(We,{value:"PROGRAM"},"\u7F16\u7A0B\u9898"),a.a.createElement(We,{value:"SINGLE"},"\u5355\u9009\u9898"),a.a.createElement(We,{value:"MULTIPLE"},"\u591A\u9009\u9898"),a.a.createElement(We,{value:"JUDGMENT"},"\u5224\u65AD\u9898"),a.a.createElement(We,{value:"COMPLETION"},"\u586B\u7A7A\u9898"),a.a.createElement(We,{value:"SUBJECTIVE"},"\u7B80\u7B54\u9898"))),a.a.createElement(G.a.Item,{label:"\u96BE\u5EA6",name:"difficulty"},a.a.createElement(Z.a,{style:{width:210}},a.a.createElement(We,{value:"ALL"},"\u5168\u90E8"),a.a.createElement(We,{value:"1"},"\u7B80\u5355"),a.a.createElement(We,{value:"2"},"\u9002\u4E2D"),a.a.createElement(We,{value:"3"},"\u56F0\u96BE"))),a.a.createElement(G.a.Item,{name:"date",label:"\u66F4\u65B0\u65F6\u95F4"},a.a.createElement(aa,{style:{width:222}})),a.a.createElement(G.a.Item,null,a.a.createElement(v.a,{type:"primary",htmlType:"submit"},"\u67E5\u8BE2 "))))):a.a.createElement(a.a.Fragment,null,a.a.createElement(va.a,{title:"\u8BD5\u9898\u7BA1\u7406",space:40},a.a.createElement(v.a,{type:"primary",ghost:!0},a.a.createElement(Ut.Link,{target:"_blank",to:"/exam/questionManagement/add"},"\u65B0\u589E\u8BD5\u9898"))),a.a.createElement(G.a,{form:Ze,className:te.a.formWrap,scrollToFirstError:!0,onValuesChange:Mt,onFinish:vt,initialValues:ua,size:"large"},a.a.createElement(I.a,{justify:"space-between"},a.a.createElement(G.a.Item,{label:"\u9898\u53F7",name:"no"},a.a.createElement(E.a,{placeholder:"\u53EF\u8F93\u5165\u9898\u53F7\u8FDB\u884C\u641C\u7D22",style:{width:250}})),a.a.createElement(G.a.Item,{label:"\u9898\u5E72",name:"keyword"},a.a.createElement(E.a,{placeholder:"\u53EF\u8F93\u5165\u9898\u5E72\u8FDB\u884C\u641C\u7D22",style:{width:250}})),a.a.createElement(G.a.Item,{label:"\u9898\u578B",name:"item_type"},a.a.createElement(Z.a,{style:{width:120}},a.a.createElement(We,{value:"ALL"},"\u5168\u90E8"),a.a.createElement(We,{value:"PROGRAM"},"\u7F16\u7A0B\u9898"),a.a.createElement(We,{value:"SINGLE"},"\u5355\u9009\u9898"),a.a.createElement(We,{value:"MULTIPLE"},"\u591A\u9009\u9898"),a.a.createElement(We,{value:"JUDGMENT"},"\u5224\u65AD\u9898"),a.a.createElement(We,{value:"COMPLETION"},"\u586B\u7A7A\u9898"),a.a.createElement(We,{value:"SUBJECTIVE"},"\u7B80\u7B54\u9898")))),a.a.createElement(I.a,{justify:"space-between"},a.a.createElement(G.a.Item,{label:"\u79D1\u76EE",name:"exercise_subject_id"},a.a.createElement(Z.a,{showArrow:!0,optionFilterProp:"children",style:{width:250}},ie.map(function(z){return a.a.createElement(We,{key:z.id,title:z.name,value:z.id},z.name)}))),a.a.createElement(G.a.Item,{label:"\u77E5\u8BC6\u70B9",name:"exercise_point_id"},a.a.createElement(y.a,{style:{width:236},treeData:N,disabled:!(Y==null?void 0:Y.exercise_subject_id),showArrow:!0,showCheckedStrategy:y.a.SHOW_PARENT})),a.a.createElement(G.a.Item,{label:"\u96BE\u5EA6",name:"difficulty"},a.a.createElement(Z.a,{style:{width:120}},a.a.createElement(We,{value:"ALL"},"\u5168\u90E8"),a.a.createElement(We,{value:"1"},"\u7B80\u5355"),a.a.createElement(We,{value:"2"},"\u9002\u4E2D"),a.a.createElement(We,{value:"3"},"\u56F0\u96BE")))),a.a.createElement(I.a,{justify:"space-between"},a.a.createElement(G.a.Item,{name:"date",label:"\u66F4\u65B0\u65F6\u95F4"},a.a.createElement(aa,{style:{width:222}})),a.a.createElement(G.a.Item,null,a.a.createElement(v.a,{type:"primary",htmlType:"submit"},"\u67E5\u8BE2 ")))))};return a.a.createElement("div",{className:$a?"".concat(te.a.wrap," ").concat(te.a.selectWrap):te.a.wrap},un(),a.a.createElement("div",{className:te.a.tabsWrap},a.a.createElement(T.a,{activeKey:H,onChange:ba},a.a.createElement(lt,{tab:"\u516C\u5F00\u8BD5\u9898",key:"1"}," "),a.a.createElement(lt,{tab:"\u4E2A\u4EBA\u521B\u5EFA",key:"0"}," "))),a.a.createElement(le.a,{className:"pl40 pr40 mt20",active:!0,paragraph:{rows:5},loading:Ua},a.a.createElement("div",{className:te.a.listWarp},a.a.createElement(I.a,{align:"middle",justify:"space-between",className:"mb20"},a.a.createElement(k.a,null,a.a.createElement(p.a,{className:"font14",disabled:X.length===0,checked:X.length?ge.length===X.length:!1,onChange:function(oe){return Da(oe.target.checked)}},"\xA0\xA0\u672C\u9875\u5168\u9009"),(ge==null?void 0:ge.length)>0&&a.a.createElement("span",{style:{color:"#1890FF"}},"\u5DF2\u52FE\u9009",ge==null?void 0:ge.length,"\u6761")),a.a.createElement(k.a,null,!$a&&a.a.createElement(a.a.Fragment,null,H==="0"&&a.a.createElement(v.a,{onClick:function(){if(!ge.length){se.b.warn("\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u8BD5\u9898");return}o.a.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u5BFC\u51FA\u63D0\u793A",maskClosable:!0,icon:null,content:a.a.createElement("div",{className:"font14 ".concat(te.a.overflow)},"\u5DF2\u9009\u4E2D",ge==null?void 0:ge.length,"\u9053\u9898"),onOk:function(){Object(At.j)({ids:ge})}})},type:"primary",ghost:!0,className:te.a.actionButton},"\u6279\u91CF\u5BFC\u51FA"),H==="0"&&a.a.createElement(v.a,{onClick:function(){return tn()},type:"primary",ghost:!0,className:te.a.actionButton},"\u6279\u91CF\u5220\u9664")),a.a.createElement(v.a,{onClick:function(){return ga()},type:"primary",ghost:!0,className:te.a.actionButton},"\u52A0\u5165\u8BD5\u9898\u7BEE"))),X.map(function(Le,oe){return a.a.createElement(Pa,{showCheckbox:!0,key:Le.id,onDelete:tn,data:Le,isPreviewSelect:$a,activeTabsKey:H,selectIds:ge,loadingIdParams:Me,onLoadingIdParams:cn,onSelect:ga,onCancel:ln,onCopy:dn,onSetPublic:on,onSetPrivate:sn,onSetSelectIds:an})})),!!(X==null?void 0:X.length)&&a.a.createElement(U.a,{style:{textAlign:"center",paddingBottom:20},showQuickJumper:!0,pageSizeOptions:["10","20","50","100","200"],pageSize:dt.per_page,showSizeChanger:!0,onChange:function(oe,z){Sa(oe,z)},hideOnSinglePage:!1,current:dt.page,total:ae,showTotal:function(oe){return a.a.createElement("span",{className:"mr10"},"\u5171",a.a.createElement("span",{className:"c-orange"},oe),"\u6761\u6570\u636E")}}),a.a.createElement(St,{basketData:ft,visible:Aa,exerciseId:q,basketTotal:Bt,onClose:function(){return za(!1)},onDelete:rn}),a.a.createElement($e,{visibleBasket:Aa,onToggleVisible:function(){return za(!Aa)},count:Bt})),a.a.createElement(o.a,{centered:!0,title:"\u5220\u9664\u8BD5\u9898",visible:Qa,okText:"\u786E\u8BA4\u5220\u9664",cancelText:"\u53D6\u6D88",onCancel:function(){return Wa(!1)},onOk:nn},a.a.createElement("div",{style:{padding:"10px 32px"}},a.a.createElement("p",null,"\u5220\u9664\u8BD5\u9898\u4F1A\u5BFC\u81F4\u5F15\u7528\u8BE5\u8BD5\u9898\u7684\u8BD5\u5377\u65E0\u6CD5\u6B63\u5E38\u4F7F\u7528\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002"),a.a.createElement("p",null,"\u82E5\u786E\u5B9A\u9700\u8981\u5220\u9664\u8BD5\u9898\uFF0C\u8BF7\u5728\u4E0B\u65B9\u6587\u672C\u6846\u4E2D\u8F93\u5165\u201C\u786E\u8BA4\u5220\u9664\u201D\u56DB\u4E2A\u5B57\u540E\uFF0C\u70B9\u51FB\u201C\u786E\u8BA4\u5220\u9664\u201D\u6309\u94AE\u3002"),a.a.createElement("p",null,a.a.createElement(E.a,{onChange:function(oe){Yt(oe.target.value),Ia(!1)},value:Ea,placeholder:"\u8BF7\u8F93\u5165\u201C\u786E\u8BA4\u5220\u9664\u201D",style:{width:250},size:"large"}),wa&&a.a.createElement("div",{className:"font12 c-red"},"\u8BF7\u8F93\u5165\u201C\u786E\u8BA4\u5220\u9664\u201D")))),a.a.createElement(ra,{shixunIds:ne,cb:ga}))},Na=R.default=oa},"7ahc":function(ee,R,e){"use strict";e.d(R,"a",function(){return h});var Pe=e("k1fw"),le=e("0Owb"),be=e("+L6B"),U=e("2/Rp"),j=e("y8nQ"),o=e("Vl3Y"),n=e("tJVT"),p=e("OaEy"),r=e("2fM7"),v=e("q1tI"),D=e.n(v),y=e("VrN/"),_=e.n(y),E=e("p77/"),Te=e.n(E),I=e("c5Ni"),w=e.n(I),k=r.a.Option,L={labelCol:{span:4},wrapperCol:{span:20}},_e={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};R.b=function(se){var me=se.callback,Ee=se.onCancel,O=Object(v.useState)("python"),b=Object(n.a)(O,2),t=b[0],x=b[1];function G(f){x(_e[f][1])}function d(f){me(f)}return D.a.createElement(o.a,Object(le.a)({},L,{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:d}),D.a.createElement(o.a.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},D.a.createElement(r.a,{onChange:G},Object.keys(_e).map(function(f){return D.a.createElement(k,{key:f,value:f},_e[f][0])}))),D.a.createElement(o.a.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},D.a.createElement(h,{mode:t})),D.a.createElement("div",{className:"flex-container flex-end"},D.a.createElement(U.a,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),D.a.createElement(U.a,{type:"ghost",onClick:Ee},"\u53D6\u6D88")))};function h(se){var me=se.value,Ee=se.onChange,O=se.mode,b=se.options,t=b===void 0?{}:b,x=Object(v.useRef)(),G=Object(v.useState)(),d=Object(n.a)(G,2),f=d[0],s=d[1];return Object(v.useEffect)(function(){if(f){var T=function(c){var Ce=c.getValue();Ee&&Ee(Ce)};return f.on("change",T),function(){f.off("change",T)}}},[f,Ee]),Object(v.useEffect)(function(){f&&f.setOption("mode",O)},[f,O]),Object(v.useEffect)(function(){f&&((me!==f.getValue()||me==="")&&setTimeout(function(){f.setValue(me||" ")},300))},[f,me]),Object(v.useEffect)(function(){if(x.current&&!f){var T=_.a.fromTextArea(x.current,Object(Pe.a)({mode:O,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},t));s(T)}},[x.current,f]),D.a.createElement("div",{className:"my-codemirror-container"},D.a.createElement("textarea",{ref:x}))}},"7qnI":function(ee,R,e){"use strict";var Pe=e("5Dmo"),le=e("3S7+"),be=e("fWQN"),U=e("mtLc"),j=e("yKVA"),o=e("879j"),n=e("5NDa"),p=e("5rEg"),r=e("q1tI"),v=e.n(r),D=e("O2Wb"),y=e.n(D),_=p.a.TextArea,E=function(Te){Object(j.a)(w,Te);var I=Object(o.a)(w);function w(){return Object(be.a)(this,w),I.apply(this,arguments)}return Object(U.a)(w,[{key:"render",value:function(){var L=this,_e=this.props,h=_e.index,se=_e.onAnswerChange,me=_e.addChildAnswer,Ee=_e.exerciseIsPublish,O=_e.answers,b=_e.activeOptionErrorIndex;return v.a.createElement("div",{className:y.a.flex},v.a.createElement("div",{className:"".concat(y.a.color666," mb5 mt6 font14"),style:{flex:"0 0 90px",flexShrink:0}},"\u7B54\u6848(\u586B\u7A7A",h+1,"):"),v.a.createElement("div",{className:"".concat(y.a.flex," ").concat(y.a.flex1),style:{flexDirection:"column"}},O.map(function(t,x){var G="".concat(h,"-").concat(x);return v.a.createElement("div",{className:"".concat(y.a.flex," ").concat(y.a.flex1),key:x},v.a.createElement("div",{className:y.a.flex1,style:{flex:1}},v.a.createElement("div",null,v.a.createElement(_,{className:G===b?y.a.error:"",spellCheck:!1,rows:4,value:t||"",defaultValue:"\u8BF7\u8F93\u5165\u53C2\u8003\u7B54\u6848".concat(x==0?"":"(\u53EF\u9009)"),onChange:function(f){return se(h,x,f.target.value)},style:{minHeight:95}}))),!Ee&&v.a.createElement(v.a.Fragment,null,x!=0&&v.a.createElement(le.a,{title:"\u5220\u9664"},v.a.createElement("i",{className:"".concat(y.a.deleteIcon," iconfont icon-htmal5icon19"),onClick:function(){return L.props.deleteChildAnswer(h,x)},style:{float:"right"}})),x===0&&v.a.createElement(le.a,{title:"\u5220\u9664"},v.a.createElement("i",{className:"".concat(y.a.deleteIcon," iconfont icon-htmal5icon19"),onClick:function(){return L.props.deleteChildAnswermain(h,x)},style:{float:"right"}})),v.a.createElement(le.a,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},v.a.createElement("i",{className:"".concat(y.a.addIcon," iconfont icon-roundaddfill ml6"),onClick:function(){return me(h)},style:{float:"right",visibility:x==O.length-1?"":"hidden"}}))))})))}}]),w}(r.Component);R.a=E},"9Bee":function(ee,R,e){"use strict";var Pe=e("q1tI"),le=e.n(Pe),be=e("vg9a"),U=e("tJVT"),j=e("DlQD"),o=e.n(j),n=e("rUJ1");function p(g,c){var Ce=g.match(/^(\s+)(?:```)/);if(Ce===null)return c;var Z=Ce[1];return c.split(` `).map(function(l){var a=l.match(/^\s+/);if(a===null)return l;var xe=Object(U.a)(a,1),te=xe[0];return te.length>=Z.length?l.slice(Z.length):l}).join(` `)}var r=[],v=["