From 4b849765e44002b3aa6315127ca7f3bd048d6e1c Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Thu, 21 May 2020 16:48:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8E=E7=9A=84=E4=B8=8A?= =?UTF-8?q?=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- asset-manifest.json | 352 +++++++++--------- css/demo_index.html | 253 +++++++++++++ css/edu-purge.css | 5 +- css/iconfont.css | 56 ++- css/iconfont.eot | Bin 95748 -> 98344 bytes css/iconfont.js | 2 +- css/iconfont.json | 77 ++++ css/iconfont.svg | 33 ++ css/iconfont.ttf | Bin 95580 -> 98176 bytes css/iconfont.woff | Bin 60168 -> 61804 bytes css/iconfont.woff2 | Bin 50424 -> 51740 bytes index.html | 2 +- js/applications.js | 8 +- js/edu_application.js | 0 service-worker.js | 2 +- ...9455ea.chunk.css => 11.089455ea.chunk.css} | 0 static/css/12.dd3f1c0d.chunk.css | 1 - ...89c362.chunk.css => 12.edc8c55b.chunk.css} | 2 +- ...89c362.chunk.css => 13.edc8c55b.chunk.css} | 2 +- static/css/14.f15d49d6.chunk.css | 1 + static/css/14.f34beff8.chunk.css | 1 - static/css/15.128951a0.chunk.css | 1 - ...1d3787.chunk.css => 15.82fc9e4f.chunk.css} | 2 +- static/css/16.932174dc.chunk.css | 1 - static/css/16.fb8dc903.chunk.css | 1 + static/css/17.5ab27a8d.chunk.css | 1 + static/css/17.e29a88be.chunk.css | 1 - static/css/18.31494bf9.chunk.css | 1 - static/css/18.703d6df4.chunk.css | 1 + static/css/19.74e7439c.chunk.css | 1 - ...d48dc5.chunk.css => 19.9849c88d.chunk.css} | 2 +- ...6a8e20.chunk.css => 20.4e24d5f0.chunk.css} | 2 +- static/css/20.71270af2.chunk.css | 1 - ...6a8e20.chunk.css => 21.7a216b61.chunk.css} | 2 +- static/css/22.379a62ff.chunk.css | 2 + static/css/23.32d26cd9.chunk.css | 1 + static/css/24.32d26cd9.chunk.css | 1 + static/css/24.4305c897.chunk.css | 1 - static/css/25.0169372f.chunk.css | 1 + static/css/25.8de3547a.chunk.css | 2 - static/css/26.49560bd2.chunk.css | 1 + static/css/27.6f09e5b0.chunk.css | 1 - static/css/27.9dc8e1bd.chunk.css | 1 + static/css/28.930f1248.chunk.css | 1 + static/css/28.a32faf81.chunk.css | 1 - static/css/29.a32faf81.chunk.css | 1 - static/css/29.ce602e91.chunk.css | 1 + ...ffe5b05.chunk.css => 3.5d2538f7.chunk.css} | 2 +- static/css/30.890be760.chunk.css | 1 + static/css/30.e0201e2b.chunk.css | 1 - static/css/31.63403ba5.chunk.css | 1 - static/css/31.b1b92739.chunk.css | 1 + static/css/32.77d68bd6.chunk.css | 1 + static/css/32.bf6223e5.chunk.css | 1 - static/css/33.3a3fd2ef.chunk.css | 1 - static/css/33.8725ffda.chunk.css | 1 + static/css/34.8725ffda.chunk.css | 1 + static/css/34.fac0c3b4.chunk.css | 1 - static/css/35.8725ffda.chunk.css | 1 + static/css/35.af8bb4b1.chunk.css | 1 - static/css/36.23a70c36.chunk.css | 1 - static/css/36.8725ffda.chunk.css | 1 + static/css/37.2a9648a1.chunk.css | 1 - static/css/37.8725ffda.chunk.css | 1 + static/css/38.9ffe5b05.chunk.css | 1 - ...d7fa63.chunk.css => 38.b6d7fa63.chunk.css} | 0 static/css/39.9ffe5b05.chunk.css | 1 - ...d7fa63.chunk.css => 39.b6d7fa63.chunk.css} | 0 ...c0097ca.chunk.css => 4.8c0097ca.chunk.css} | 0 static/css/40.9ffe5b05.chunk.css | 1 - static/css/40.d8dd2a7b.chunk.css | 1 + static/css/41.7b453293.chunk.css | 1 + static/css/41.9ffe5b05.chunk.css | 1 - static/css/42.9ffe5b05.chunk.css | 1 - ...d7fa63.chunk.css => 42.b6d7fa63.chunk.css} | 0 static/css/43.7b3e5ea2.chunk.css | 1 + static/css/44.644c6390.chunk.css | 1 + static/css/45.f614786a.chunk.css | 1 + static/css/47.cabdc601.chunk.css | 1 - ...7da85d.chunk.css => 47.fb7da85d.chunk.css} | 0 ...26ad61.chunk.css => 48.b326ad61.chunk.css} | 0 static/css/49.a7f085bd.chunk.css | 1 - ...d663fa5.chunk.css => 5.bd663fa5.chunk.css} | 0 static/css/51.57328ca7.chunk.css | 1 - ...89d762e.chunk.css => 6.f89d762e.chunk.css} | 0 ...e3c8bf4.chunk.css => 7.8e3c8bf4.chunk.css} | 0 ...f09e5b0.chunk.css => 8.c08196ba.chunk.css} | 0 static/css/9.8725ffda.chunk.css | 1 + static/css/main.28648a2b.chunk.css | 24 -- static/css/main.f0e83a21.chunk.css | 24 ++ static/js/10.654a0c83.chunk.js | 1 + static/js/10.77114396.chunk.js | 1 - static/js/100.24eb46e9.chunk.js | 1 - ...a109fb2.chunk.js => 100.c2975b68.chunk.js} | 2 +- static/js/101.b887172e.chunk.js | 1 - ...5dded3b.chunk.js => 101.ca0687c8.chunk.js} | 2 +- ...b1f7f30.chunk.js => 102.1bab3635.chunk.js} | 2 +- static/js/102.24df686f.chunk.js | 1 - ...f691f1a.chunk.js => 103.e8b3c9b9.chunk.js} | 2 +- ...3765579.chunk.js => 104.02c060c9.chunk.js} | 2 +- ...8903a8f.chunk.js => 105.0ebb4ada.chunk.js} | 2 +- ...fe8dbc5.chunk.js => 106.408eef90.chunk.js} | 2 +- ...047ff36.chunk.js => 107.8489e412.chunk.js} | 2 +- ...fc59794.chunk.js => 108.b072dc32.chunk.js} | 2 +- ...f5a99d8.chunk.js => 109.1c703d3f.chunk.js} | 2 +- static/js/11.61d86f26.chunk.js | 1 + static/js/11.6725e982.chunk.js | 1 - ...b0689a0.chunk.js => 110.7001d430.chunk.js} | 2 +- ...7d7516e.chunk.js => 111.2caef517.chunk.js} | 2 +- ...8cd3476.chunk.js => 112.91977aba.chunk.js} | 2 +- ...e0048fe.chunk.js => 113.68803de7.chunk.js} | 2 +- ...5a10d43.chunk.js => 114.c0292c0c.chunk.js} | 2 +- ...945aebd.chunk.js => 115.181de7a7.chunk.js} | 2 +- ...1a28e2a.chunk.js => 116.7b6a7794.chunk.js} | 2 +- ...e729906.chunk.js => 117.9ba3a8f5.chunk.js} | 2 +- ...0c3b69a.chunk.js => 118.99b51c21.chunk.js} | 4 +- ....txt => 118.99b51c21.chunk.js.LICENSE.txt} | 0 ...de10e54.chunk.js => 119.2c9f6719.chunk.js} | 2 +- static/js/12.2551ee7f.chunk.js | 1 + static/js/12.59b37e63.chunk.js | 1 - ...e6af605.chunk.js => 120.b20e270d.chunk.js} | 2 +- ...d03ec70.chunk.js => 121.20928a5f.chunk.js} | 2 +- ...09dc2c4.chunk.js => 122.e50008db.chunk.js} | 2 +- ...1307fba.chunk.js => 123.d1b560e2.chunk.js} | 2 +- ...20b8310.chunk.js => 124.2a975db3.chunk.js} | 2 +- ...baf47fd.chunk.js => 125.57ac08b8.chunk.js} | 2 +- static/js/13.7ace9408.chunk.js | 1 + static/js/13.e4b5a5e4.chunk.js | 1 - static/js/14.438665a5.chunk.js | 1 - static/js/14.ee633cb3.chunk.js | 1 + static/js/15.bf372cc7.chunk.js | 1 - static/js/15.cb4e69fe.chunk.js | 1 + static/js/16.76c2f976.chunk.js | 1 - static/js/16.94545404.chunk.js | 1 + static/js/17.0ab5d18e.chunk.js | 1 - static/js/17.9e48fb36.chunk.js | 1 + static/js/18.4d329821.chunk.js | 1 + static/js/18.741b2462.chunk.js | 1 - static/js/19.13d21551.chunk.js | 1 + static/js/19.fd05b637.chunk.js | 1 - static/js/20.ac42c25a.chunk.js | 2 - static/js/20.b67d89c8.chunk.js | 1 + static/js/21.75a938d6.chunk.js | 1 - static/js/21.d9bb8baf.chunk.js | 1 + static/js/22.49cddb8e.chunk.js | 1 - static/js/22.6f5d33c8.chunk.js | 1 + static/js/23.bec6e9d6.chunk.js | 1 + static/js/23.dbc27f38.chunk.js | 1 - static/js/24.adda8983.chunk.js | 1 + static/js/24.d9f008a6.chunk.js | 1 - static/js/25.69520557.chunk.js | 1 - static/js/25.ca1be4a3.chunk.js | 1 + static/js/26.1b2a6db8.chunk.js | 1 - static/js/26.2114cc7e.chunk.js | 1 + static/js/27.21793d5c.chunk.js | 1 + static/js/27.722e28a1.chunk.js | 1 - static/js/28.32436e24.chunk.js | 1 - static/js/28.f1e50d9d.chunk.js | 1 + static/js/29.7c82a2d4.chunk.js | 1 + static/js/29.c07d6f0b.chunk.js | 1 - static/js/3.68362e7c.chunk.js | 1 + static/js/3.6b6417df.chunk.js | 1 - static/js/30.8c7fcb04.chunk.js | 1 + static/js/30.e823fcdf.chunk.js | 1 - static/js/31.3cdd98d3.chunk.js | 1 + static/js/31.ba13f468.chunk.js | 1 - static/js/32.4b525425.chunk.js | 1 - static/js/32.abe52fd3.chunk.js | 1 + static/js/33.0edca06d.chunk.js | 1 - static/js/33.c23ee440.chunk.js | 1 + static/js/34.3ff12527.chunk.js | 1 + static/js/34.c49b90ba.chunk.js | 1 - static/js/35.37955068.chunk.js | 1 - static/js/35.7815b1a8.chunk.js | 1 + static/js/36.4bf9d514.chunk.js | 1 + static/js/36.a9dfb83c.chunk.js | 1 - static/js/37.20a54f59.chunk.js | 1 + static/js/37.8d079096.chunk.js | 1 - static/js/38.031c41eb.chunk.js | 1 - ...8470e5de.chunk.js => 38.4e840f8a.chunk.js} | 2 +- ...a1fe7a13.chunk.js => 39.8be705f0.chunk.js} | 2 +- static/js/39.e83eb6a4.chunk.js | 1 - static/js/4.16f9eab6.chunk.js | 1 - static/js/4.cb77fffc.chunk.js | 1 + static/js/40.04a4c763.chunk.js | 1 + static/js/40.a73a6d23.chunk.js | 1 - static/js/41.1e348f51.chunk.js | 1 + static/js/41.fb218a49.chunk.js | 1 - static/js/42.3b52869c.chunk.js | 1 - ...b812a9cc.chunk.js => 42.c3fe4226.chunk.js} | 2 +- static/js/43.b5c01c44.chunk.js | 1 + static/js/43.bc3ac9a1.chunk.js | 1 - static/js/44.5f4f020e.chunk.js | 2 + ...E.txt => 44.5f4f020e.chunk.js.LICENSE.txt} | 0 static/js/44.ab77fe0d.chunk.js | 1 - static/js/45.83c370c6.chunk.js | 1 + static/js/46.12928b44.chunk.js | 1 + static/js/47.4b07a974.chunk.js | 1 - static/js/47.95f0422c.chunk.js | 1 + ...7e2b7888.chunk.js => 48.42c93777.chunk.js} | 2 +- static/js/49.33473a16.chunk.js | 1 - static/js/49.5c6cd946.chunk.js | 1 + ....532a06f8.chunk.js => 5.09859213.chunk.js} | 2 +- static/js/5.dbfd3190.chunk.js | 1 - static/js/50.12401fca.chunk.js | 1 + static/js/50.1b37080d.chunk.js | 1 - static/js/51.024a580e.chunk.js | 1 - static/js/51.dc50f192.chunk.js | 1 + ...d6f939ca.chunk.js => 52.532fbf62.chunk.js} | 2 +- static/js/52.ea8f072d.chunk.js | 1 - ...3f71041c.chunk.js => 53.b19c6882.chunk.js} | 2 +- static/js/54.533a836f.chunk.js | 1 - ...11f3394f.chunk.js => 54.7d284a37.chunk.js} | 2 +- ...ddc2c6e0.chunk.js => 55.c4382b43.chunk.js} | 2 +- ...56bfd208.chunk.js => 56.cbc149b9.chunk.js} | 2 +- ...60feca34.chunk.js => 57.fda2bb3d.chunk.js} | 2 +- static/js/58.5d0eaacf.chunk.js | 1 + static/js/59.3e8db4b4.chunk.js | 1 + static/js/6.d9db8079.chunk.js | 1 + ...c1804d57.chunk.js => 60.51c8dc22.chunk.js} | 2 +- static/js/61.418efd4a.chunk.js | 1 - ...f43401b1.chunk.js => 61.93c58306.chunk.js} | 2 +- static/js/62.3cb78a72.chunk.js | 1 - ...d0325dd5.chunk.js => 62.b35395fd.chunk.js} | 2 +- ...b959a98e.chunk.js => 63.359ce89c.chunk.js} | 2 +- ...79b38518.chunk.js => 64.2e48eeb1.chunk.js} | 2 +- static/js/65.eeffd03b.chunk.js | 1 + ...948cd431.chunk.js => 66.1c12ee1c.chunk.js} | 2 +- ...ac60632e.chunk.js => 67.553b93c7.chunk.js} | 2 +- ...a5d810b7.chunk.js => 68.42571013.chunk.js} | 2 +- static/js/68.94ccdfb7.chunk.js | 1 - ...9da11458.chunk.js => 69.d4c3fbf9.chunk.js} | 2 +- static/js/7.08af198a.chunk.js | 1 - static/js/7.f4f5ba66.chunk.js | 1 + ...eb72b126.chunk.js => 70.0dd35c5a.chunk.js} | 2 +- ...7ad4268e.chunk.js => 71.119cd4d3.chunk.js} | 2 +- ...5b32ca95.chunk.js => 72.eb16f5cf.chunk.js} | 2 +- ...d6e3ba1e.chunk.js => 73.c9476dab.chunk.js} | 2 +- ...8376f663.chunk.js => 74.62cb2878.chunk.js} | 2 +- ...1c715b83.chunk.js => 75.8270ddf0.chunk.js} | 2 +- ...2fee27af.chunk.js => 76.de441764.chunk.js} | 2 +- ...8796f863.chunk.js => 77.37d11253.chunk.js} | 2 +- ...dfd04080.chunk.js => 78.f313dec9.chunk.js} | 2 +- ...829a29ec.chunk.js => 79.3fc05910.chunk.js} | 2 +- static/js/8.249b81d7.chunk.js | 1 + static/js/8.571bbd1a.chunk.js | 1 - ...a1807649.chunk.js => 80.b31d02b9.chunk.js} | 2 +- ...8a3d7a3c.chunk.js => 81.9b9da6ff.chunk.js} | 2 +- ...4241b1c8.chunk.js => 82.2d544878.chunk.js} | 2 +- ...3a37d1ce.chunk.js => 83.de289c8c.chunk.js} | 2 +- ...4f13c1d9.chunk.js => 84.17371b89.chunk.js} | 2 +- ...d78ff0b2.chunk.js => 85.144e8f2a.chunk.js} | 2 +- ...8d066201.chunk.js => 86.bdb437eb.chunk.js} | 2 +- ...1edade60.chunk.js => 87.b414cc2b.chunk.js} | 2 +- ...319717c2.chunk.js => 88.f5db67e6.chunk.js} | 2 +- ...8b9eefe3.chunk.js => 89.bec71278.chunk.js} | 2 +- static/js/9.1c67621b.chunk.js | 1 - static/js/9.4611b05e.chunk.js | 1 + ...0c3b3c2d.chunk.js => 90.b4a7c535.chunk.js} | 2 +- ...359d0867.chunk.js => 91.da51dc96.chunk.js} | 2 +- ...e21f0ed1.chunk.js => 92.bfe413f5.chunk.js} | 2 +- ...0fdbd844.chunk.js => 93.ce076e09.chunk.js} | 2 +- ...961fccf6.chunk.js => 94.acbaf74b.chunk.js} | 2 +- ...4d446e39.chunk.js => 95.86d0fe1f.chunk.js} | 2 +- ...55688a80.chunk.js => 96.12703d24.chunk.js} | 2 +- static/js/97.a9654657.chunk.js | 1 + static/js/98.11874a17.chunk.js | 1 + static/js/99.ae5937c1.chunk.js | 1 + ...d4a449.chunk.js => main.f825fce3.chunk.js} | 4 +- ...txt => main.f825fce3.chunk.js.LICENSE.txt} | 0 static/js/runtime~main.5f8faa04.js | 1 + static/js/runtime~main.ea1db01c.js | 1 - 272 files changed, 783 insertions(+), 385 deletions(-) delete mode 100644 js/edu_application.js rename static/css/{9.089455ea.chunk.css => 11.089455ea.chunk.css} (100%) delete mode 100644 static/css/12.dd3f1c0d.chunk.css rename static/css/{10.6389c362.chunk.css => 12.edc8c55b.chunk.css} (69%) rename static/css/{11.6389c362.chunk.css => 13.edc8c55b.chunk.css} (69%) create mode 100644 static/css/14.f15d49d6.chunk.css delete mode 100644 static/css/14.f34beff8.chunk.css delete mode 100644 static/css/15.128951a0.chunk.css rename static/css/{13.271d3787.chunk.css => 15.82fc9e4f.chunk.css} (68%) delete mode 100644 static/css/16.932174dc.chunk.css create mode 100644 static/css/16.fb8dc903.chunk.css create mode 100644 static/css/17.5ab27a8d.chunk.css delete mode 100644 static/css/17.e29a88be.chunk.css delete mode 100644 static/css/18.31494bf9.chunk.css create mode 100644 static/css/18.703d6df4.chunk.css delete mode 100644 static/css/19.74e7439c.chunk.css rename static/css/{21.dfd48dc5.chunk.css => 19.9849c88d.chunk.css} (71%) rename static/css/{22.356a8e20.chunk.css => 20.4e24d5f0.chunk.css} (59%) delete mode 100644 static/css/20.71270af2.chunk.css rename static/css/{23.356a8e20.chunk.css => 21.7a216b61.chunk.css} (59%) create mode 100644 static/css/22.379a62ff.chunk.css create mode 100644 static/css/23.32d26cd9.chunk.css create mode 100644 static/css/24.32d26cd9.chunk.css delete mode 100644 static/css/24.4305c897.chunk.css create mode 100644 static/css/25.0169372f.chunk.css delete mode 100644 static/css/25.8de3547a.chunk.css create mode 100644 static/css/26.49560bd2.chunk.css delete mode 100644 static/css/27.6f09e5b0.chunk.css create mode 100644 static/css/27.9dc8e1bd.chunk.css create mode 100644 static/css/28.930f1248.chunk.css delete mode 100644 static/css/28.a32faf81.chunk.css delete mode 100644 static/css/29.a32faf81.chunk.css create mode 100644 static/css/29.ce602e91.chunk.css rename static/css/{43.9ffe5b05.chunk.css => 3.5d2538f7.chunk.css} (76%) create mode 100644 static/css/30.890be760.chunk.css delete mode 100644 static/css/30.e0201e2b.chunk.css delete mode 100644 static/css/31.63403ba5.chunk.css create mode 100644 static/css/31.b1b92739.chunk.css create mode 100644 static/css/32.77d68bd6.chunk.css delete mode 100644 static/css/32.bf6223e5.chunk.css delete mode 100644 static/css/33.3a3fd2ef.chunk.css create mode 100644 static/css/33.8725ffda.chunk.css create mode 100644 static/css/34.8725ffda.chunk.css delete mode 100644 static/css/34.fac0c3b4.chunk.css create mode 100644 static/css/35.8725ffda.chunk.css delete mode 100644 static/css/35.af8bb4b1.chunk.css delete mode 100644 static/css/36.23a70c36.chunk.css create mode 100644 static/css/36.8725ffda.chunk.css delete mode 100644 static/css/37.2a9648a1.chunk.css create mode 100644 static/css/37.8725ffda.chunk.css delete mode 100644 static/css/38.9ffe5b05.chunk.css rename static/css/{45.b6d7fa63.chunk.css => 38.b6d7fa63.chunk.css} (100%) delete mode 100644 static/css/39.9ffe5b05.chunk.css rename static/css/{46.b6d7fa63.chunk.css => 39.b6d7fa63.chunk.css} (100%) rename static/css/{5.8c0097ca.chunk.css => 4.8c0097ca.chunk.css} (100%) delete mode 100644 static/css/40.9ffe5b05.chunk.css create mode 100644 static/css/40.d8dd2a7b.chunk.css create mode 100644 static/css/41.7b453293.chunk.css delete mode 100644 static/css/41.9ffe5b05.chunk.css delete mode 100644 static/css/42.9ffe5b05.chunk.css rename static/css/{48.b6d7fa63.chunk.css => 42.b6d7fa63.chunk.css} (100%) create mode 100644 static/css/43.7b3e5ea2.chunk.css create mode 100644 static/css/44.644c6390.chunk.css create mode 100644 static/css/45.f614786a.chunk.css delete mode 100644 static/css/47.cabdc601.chunk.css rename static/css/{52.fb7da85d.chunk.css => 47.fb7da85d.chunk.css} (100%) rename static/css/{53.b326ad61.chunk.css => 48.b326ad61.chunk.css} (100%) delete mode 100644 static/css/49.a7f085bd.chunk.css rename static/css/{6.bd663fa5.chunk.css => 5.bd663fa5.chunk.css} (100%) delete mode 100644 static/css/51.57328ca7.chunk.css rename static/css/{7.f89d762e.chunk.css => 6.f89d762e.chunk.css} (100%) rename static/css/{44.8e3c8bf4.chunk.css => 7.8e3c8bf4.chunk.css} (100%) rename static/css/{26.6f09e5b0.chunk.css => 8.c08196ba.chunk.css} (100%) create mode 100644 static/css/9.8725ffda.chunk.css delete mode 100644 static/css/main.28648a2b.chunk.css create mode 100644 static/css/main.f0e83a21.chunk.css create mode 100644 static/js/10.654a0c83.chunk.js delete mode 100644 static/js/10.77114396.chunk.js delete mode 100644 static/js/100.24eb46e9.chunk.js rename static/js/{103.9a109fb2.chunk.js => 100.c2975b68.chunk.js} (97%) delete mode 100644 static/js/101.b887172e.chunk.js rename static/js/{104.f5dded3b.chunk.js => 101.ca0687c8.chunk.js} (97%) rename static/js/{105.5b1f7f30.chunk.js => 102.1bab3635.chunk.js} (96%) delete mode 100644 static/js/102.24df686f.chunk.js rename static/js/{106.af691f1a.chunk.js => 103.e8b3c9b9.chunk.js} (96%) rename static/js/{107.83765579.chunk.js => 104.02c060c9.chunk.js} (99%) rename static/js/{108.f8903a8f.chunk.js => 105.0ebb4ada.chunk.js} (97%) rename static/js/{109.dfe8dbc5.chunk.js => 106.408eef90.chunk.js} (99%) rename static/js/{110.4047ff36.chunk.js => 107.8489e412.chunk.js} (97%) rename static/js/{111.cfc59794.chunk.js => 108.b072dc32.chunk.js} (98%) rename static/js/{112.ef5a99d8.chunk.js => 109.1c703d3f.chunk.js} (97%) create mode 100644 static/js/11.61d86f26.chunk.js delete mode 100644 static/js/11.6725e982.chunk.js rename static/js/{113.8b0689a0.chunk.js => 110.7001d430.chunk.js} (94%) rename static/js/{114.47d7516e.chunk.js => 111.2caef517.chunk.js} (93%) rename static/js/{115.b8cd3476.chunk.js => 112.91977aba.chunk.js} (98%) rename static/js/{116.9e0048fe.chunk.js => 113.68803de7.chunk.js} (96%) rename static/js/{117.25a10d43.chunk.js => 114.c0292c0c.chunk.js} (99%) rename static/js/{118.c945aebd.chunk.js => 115.181de7a7.chunk.js} (97%) rename static/js/{119.11a28e2a.chunk.js => 116.7b6a7794.chunk.js} (99%) rename static/js/{120.fe729906.chunk.js => 117.9ba3a8f5.chunk.js} (98%) rename static/js/{121.f0c3b69a.chunk.js => 118.99b51c21.chunk.js} (96%) rename static/js/{121.f0c3b69a.chunk.js.LICENSE.txt => 118.99b51c21.chunk.js.LICENSE.txt} (100%) rename static/js/{122.1de10e54.chunk.js => 119.2c9f6719.chunk.js} (96%) create mode 100644 static/js/12.2551ee7f.chunk.js delete mode 100644 static/js/12.59b37e63.chunk.js rename static/js/{123.4e6af605.chunk.js => 120.b20e270d.chunk.js} (98%) rename static/js/{124.7d03ec70.chunk.js => 121.20928a5f.chunk.js} (98%) rename static/js/{125.309dc2c4.chunk.js => 122.e50008db.chunk.js} (97%) rename static/js/{126.e1307fba.chunk.js => 123.d1b560e2.chunk.js} (95%) rename static/js/{127.920b8310.chunk.js => 124.2a975db3.chunk.js} (97%) rename static/js/{128.6baf47fd.chunk.js => 125.57ac08b8.chunk.js} (99%) create mode 100644 static/js/13.7ace9408.chunk.js delete mode 100644 static/js/13.e4b5a5e4.chunk.js delete mode 100644 static/js/14.438665a5.chunk.js create mode 100644 static/js/14.ee633cb3.chunk.js delete mode 100644 static/js/15.bf372cc7.chunk.js create mode 100644 static/js/15.cb4e69fe.chunk.js delete mode 100644 static/js/16.76c2f976.chunk.js create mode 100644 static/js/16.94545404.chunk.js delete mode 100644 static/js/17.0ab5d18e.chunk.js create mode 100644 static/js/17.9e48fb36.chunk.js create mode 100644 static/js/18.4d329821.chunk.js delete mode 100644 static/js/18.741b2462.chunk.js create mode 100644 static/js/19.13d21551.chunk.js delete mode 100644 static/js/19.fd05b637.chunk.js delete mode 100644 static/js/20.ac42c25a.chunk.js create mode 100644 static/js/20.b67d89c8.chunk.js delete mode 100644 static/js/21.75a938d6.chunk.js create mode 100644 static/js/21.d9bb8baf.chunk.js delete mode 100644 static/js/22.49cddb8e.chunk.js create mode 100644 static/js/22.6f5d33c8.chunk.js create mode 100644 static/js/23.bec6e9d6.chunk.js delete mode 100644 static/js/23.dbc27f38.chunk.js create mode 100644 static/js/24.adda8983.chunk.js delete mode 100644 static/js/24.d9f008a6.chunk.js delete mode 100644 static/js/25.69520557.chunk.js create mode 100644 static/js/25.ca1be4a3.chunk.js delete mode 100644 static/js/26.1b2a6db8.chunk.js create mode 100644 static/js/26.2114cc7e.chunk.js create mode 100644 static/js/27.21793d5c.chunk.js delete mode 100644 static/js/27.722e28a1.chunk.js delete mode 100644 static/js/28.32436e24.chunk.js create mode 100644 static/js/28.f1e50d9d.chunk.js create mode 100644 static/js/29.7c82a2d4.chunk.js delete mode 100644 static/js/29.c07d6f0b.chunk.js create mode 100644 static/js/3.68362e7c.chunk.js delete mode 100644 static/js/3.6b6417df.chunk.js create mode 100644 static/js/30.8c7fcb04.chunk.js delete mode 100644 static/js/30.e823fcdf.chunk.js create mode 100644 static/js/31.3cdd98d3.chunk.js delete mode 100644 static/js/31.ba13f468.chunk.js delete mode 100644 static/js/32.4b525425.chunk.js create mode 100644 static/js/32.abe52fd3.chunk.js delete mode 100644 static/js/33.0edca06d.chunk.js create mode 100644 static/js/33.c23ee440.chunk.js create mode 100644 static/js/34.3ff12527.chunk.js delete mode 100644 static/js/34.c49b90ba.chunk.js delete mode 100644 static/js/35.37955068.chunk.js create mode 100644 static/js/35.7815b1a8.chunk.js create mode 100644 static/js/36.4bf9d514.chunk.js delete mode 100644 static/js/36.a9dfb83c.chunk.js create mode 100644 static/js/37.20a54f59.chunk.js delete mode 100644 static/js/37.8d079096.chunk.js delete mode 100644 static/js/38.031c41eb.chunk.js rename static/js/{45.8470e5de.chunk.js => 38.4e840f8a.chunk.js} (99%) rename static/js/{46.a1fe7a13.chunk.js => 39.8be705f0.chunk.js} (99%) delete mode 100644 static/js/39.e83eb6a4.chunk.js delete mode 100644 static/js/4.16f9eab6.chunk.js create mode 100644 static/js/4.cb77fffc.chunk.js create mode 100644 static/js/40.04a4c763.chunk.js delete mode 100644 static/js/40.a73a6d23.chunk.js create mode 100644 static/js/41.1e348f51.chunk.js delete mode 100644 static/js/41.fb218a49.chunk.js delete mode 100644 static/js/42.3b52869c.chunk.js rename static/js/{48.b812a9cc.chunk.js => 42.c3fe4226.chunk.js} (99%) create mode 100644 static/js/43.b5c01c44.chunk.js delete mode 100644 static/js/43.bc3ac9a1.chunk.js create mode 100644 static/js/44.5f4f020e.chunk.js rename static/js/{20.ac42c25a.chunk.js.LICENSE.txt => 44.5f4f020e.chunk.js.LICENSE.txt} (100%) delete mode 100644 static/js/44.ab77fe0d.chunk.js create mode 100644 static/js/45.83c370c6.chunk.js create mode 100644 static/js/46.12928b44.chunk.js delete mode 100644 static/js/47.4b07a974.chunk.js create mode 100644 static/js/47.95f0422c.chunk.js rename static/js/{53.7e2b7888.chunk.js => 48.42c93777.chunk.js} (98%) delete mode 100644 static/js/49.33473a16.chunk.js create mode 100644 static/js/49.5c6cd946.chunk.js rename static/js/{6.532a06f8.chunk.js => 5.09859213.chunk.js} (99%) delete mode 100644 static/js/5.dbfd3190.chunk.js create mode 100644 static/js/50.12401fca.chunk.js delete mode 100644 static/js/50.1b37080d.chunk.js delete mode 100644 static/js/51.024a580e.chunk.js create mode 100644 static/js/51.dc50f192.chunk.js rename static/js/{55.d6f939ca.chunk.js => 52.532fbf62.chunk.js} (99%) delete mode 100644 static/js/52.ea8f072d.chunk.js rename static/js/{56.3f71041c.chunk.js => 53.b19c6882.chunk.js} (96%) delete mode 100644 static/js/54.533a836f.chunk.js rename static/js/{57.11f3394f.chunk.js => 54.7d284a37.chunk.js} (98%) rename static/js/{58.ddc2c6e0.chunk.js => 55.c4382b43.chunk.js} (99%) rename static/js/{59.56bfd208.chunk.js => 56.cbc149b9.chunk.js} (99%) rename static/js/{60.60feca34.chunk.js => 57.fda2bb3d.chunk.js} (99%) create mode 100644 static/js/58.5d0eaacf.chunk.js create mode 100644 static/js/59.3e8db4b4.chunk.js create mode 100644 static/js/6.d9db8079.chunk.js rename static/js/{63.c1804d57.chunk.js => 60.51c8dc22.chunk.js} (93%) delete mode 100644 static/js/61.418efd4a.chunk.js rename static/js/{64.f43401b1.chunk.js => 61.93c58306.chunk.js} (98%) delete mode 100644 static/js/62.3cb78a72.chunk.js rename static/js/{65.d0325dd5.chunk.js => 62.b35395fd.chunk.js} (94%) rename static/js/{66.b959a98e.chunk.js => 63.359ce89c.chunk.js} (94%) rename static/js/{67.79b38518.chunk.js => 64.2e48eeb1.chunk.js} (94%) create mode 100644 static/js/65.eeffd03b.chunk.js rename static/js/{69.948cd431.chunk.js => 66.1c12ee1c.chunk.js} (99%) rename static/js/{70.ac60632e.chunk.js => 67.553b93c7.chunk.js} (97%) rename static/js/{71.a5d810b7.chunk.js => 68.42571013.chunk.js} (98%) delete mode 100644 static/js/68.94ccdfb7.chunk.js rename static/js/{72.9da11458.chunk.js => 69.d4c3fbf9.chunk.js} (90%) delete mode 100644 static/js/7.08af198a.chunk.js create mode 100644 static/js/7.f4f5ba66.chunk.js rename static/js/{73.eb72b126.chunk.js => 70.0dd35c5a.chunk.js} (93%) rename static/js/{74.7ad4268e.chunk.js => 71.119cd4d3.chunk.js} (93%) rename static/js/{75.5b32ca95.chunk.js => 72.eb16f5cf.chunk.js} (98%) rename static/js/{76.d6e3ba1e.chunk.js => 73.c9476dab.chunk.js} (97%) rename static/js/{77.8376f663.chunk.js => 74.62cb2878.chunk.js} (97%) rename static/js/{78.1c715b83.chunk.js => 75.8270ddf0.chunk.js} (94%) rename static/js/{79.2fee27af.chunk.js => 76.de441764.chunk.js} (98%) rename static/js/{80.8796f863.chunk.js => 77.37d11253.chunk.js} (93%) rename static/js/{81.dfd04080.chunk.js => 78.f313dec9.chunk.js} (96%) rename static/js/{82.829a29ec.chunk.js => 79.3fc05910.chunk.js} (96%) create mode 100644 static/js/8.249b81d7.chunk.js delete mode 100644 static/js/8.571bbd1a.chunk.js rename static/js/{83.a1807649.chunk.js => 80.b31d02b9.chunk.js} (96%) rename static/js/{84.8a3d7a3c.chunk.js => 81.9b9da6ff.chunk.js} (98%) rename static/js/{85.4241b1c8.chunk.js => 82.2d544878.chunk.js} (98%) rename static/js/{86.3a37d1ce.chunk.js => 83.de289c8c.chunk.js} (92%) rename static/js/{87.4f13c1d9.chunk.js => 84.17371b89.chunk.js} (96%) rename static/js/{88.d78ff0b2.chunk.js => 85.144e8f2a.chunk.js} (96%) rename static/js/{89.8d066201.chunk.js => 86.bdb437eb.chunk.js} (96%) rename static/js/{90.1edade60.chunk.js => 87.b414cc2b.chunk.js} (96%) rename static/js/{91.319717c2.chunk.js => 88.f5db67e6.chunk.js} (97%) rename static/js/{92.8b9eefe3.chunk.js => 89.bec71278.chunk.js} (96%) delete mode 100644 static/js/9.1c67621b.chunk.js create mode 100644 static/js/9.4611b05e.chunk.js rename static/js/{93.0c3b3c2d.chunk.js => 90.b4a7c535.chunk.js} (97%) rename static/js/{94.359d0867.chunk.js => 91.da51dc96.chunk.js} (99%) rename static/js/{95.e21f0ed1.chunk.js => 92.bfe413f5.chunk.js} (95%) rename static/js/{96.0fdbd844.chunk.js => 93.ce076e09.chunk.js} (96%) rename static/js/{97.961fccf6.chunk.js => 94.acbaf74b.chunk.js} (95%) rename static/js/{98.4d446e39.chunk.js => 95.86d0fe1f.chunk.js} (99%) rename static/js/{99.55688a80.chunk.js => 96.12703d24.chunk.js} (99%) create mode 100644 static/js/97.a9654657.chunk.js create mode 100644 static/js/98.11874a17.chunk.js create mode 100644 static/js/99.ae5937c1.chunk.js rename static/js/{main.79d4a449.chunk.js => main.f825fce3.chunk.js} (99%) rename static/js/{main.79d4a449.chunk.js.LICENSE.txt => main.f825fce3.chunk.js.LICENSE.txt} (100%) create mode 100644 static/js/runtime~main.5f8faa04.js delete mode 100644 static/js/runtime~main.ea1db01c.js diff --git a/asset-manifest.json b/asset-manifest.json index 92599d782..11fcb7ab8 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -4,185 +4,179 @@ "./static/js/1.3c8bde58.chunk.js": "/react/build/./static/js/1.3c8bde58.chunk.js", "static/css/2.8fcaeca1.chunk.css": "/react/build/static/css/2.8fcaeca1.chunk.css", "./static/js/2.87c7f329.chunk.js": "/react/build/./static/js/2.87c7f329.chunk.js", - "./static/js/3.6b6417df.chunk.js": "/react/build/./static/js/3.6b6417df.chunk.js", - "./static/js/4.16f9eab6.chunk.js": "/react/build/./static/js/4.16f9eab6.chunk.js", - "static/css/5.8c0097ca.chunk.css": "/react/build/static/css/5.8c0097ca.chunk.css", - "./static/js/5.dbfd3190.chunk.js": "/react/build/./static/js/5.dbfd3190.chunk.js", - "static/css/6.bd663fa5.chunk.css": "/react/build/static/css/6.bd663fa5.chunk.css", - "./static/js/6.532a06f8.chunk.js": "/react/build/./static/js/6.532a06f8.chunk.js", - "static/css/7.f89d762e.chunk.css": "/react/build/static/css/7.f89d762e.chunk.css", - "./static/js/7.08af198a.chunk.js": "/react/build/./static/js/7.08af198a.chunk.js", - "./static/js/8.571bbd1a.chunk.js": "/react/build/./static/js/8.571bbd1a.chunk.js", - "static/css/9.089455ea.chunk.css": "/react/build/static/css/9.089455ea.chunk.css", - "./static/js/9.1c67621b.chunk.js": "/react/build/./static/js/9.1c67621b.chunk.js", - "static/css/10.6389c362.chunk.css": "/react/build/static/css/10.6389c362.chunk.css", - "./static/js/10.77114396.chunk.js": "/react/build/./static/js/10.77114396.chunk.js", - "static/css/11.6389c362.chunk.css": "/react/build/static/css/11.6389c362.chunk.css", - "./static/js/11.6725e982.chunk.js": "/react/build/./static/js/11.6725e982.chunk.js", - "static/css/12.dd3f1c0d.chunk.css": "/react/build/static/css/12.dd3f1c0d.chunk.css", - "./static/js/12.59b37e63.chunk.js": "/react/build/./static/js/12.59b37e63.chunk.js", - "static/css/13.271d3787.chunk.css": "/react/build/static/css/13.271d3787.chunk.css", - "./static/js/13.e4b5a5e4.chunk.js": "/react/build/./static/js/13.e4b5a5e4.chunk.js", - "static/css/14.f34beff8.chunk.css": "/react/build/static/css/14.f34beff8.chunk.css", - "./static/js/14.438665a5.chunk.js": "/react/build/./static/js/14.438665a5.chunk.js", - "static/css/15.128951a0.chunk.css": "/react/build/static/css/15.128951a0.chunk.css", - "./static/js/15.bf372cc7.chunk.js": "/react/build/./static/js/15.bf372cc7.chunk.js", - "static/css/16.932174dc.chunk.css": "/react/build/static/css/16.932174dc.chunk.css", - "./static/js/16.76c2f976.chunk.js": "/react/build/./static/js/16.76c2f976.chunk.js", - "static/css/17.e29a88be.chunk.css": "/react/build/static/css/17.e29a88be.chunk.css", - "./static/js/17.0ab5d18e.chunk.js": "/react/build/./static/js/17.0ab5d18e.chunk.js", - "static/css/18.31494bf9.chunk.css": "/react/build/static/css/18.31494bf9.chunk.css", - "./static/js/18.741b2462.chunk.js": "/react/build/./static/js/18.741b2462.chunk.js", - "static/css/19.74e7439c.chunk.css": "/react/build/static/css/19.74e7439c.chunk.css", - "./static/js/19.fd05b637.chunk.js": "/react/build/./static/js/19.fd05b637.chunk.js", - "static/css/20.71270af2.chunk.css": "/react/build/static/css/20.71270af2.chunk.css", - "./static/js/20.ac42c25a.chunk.js": "/react/build/./static/js/20.ac42c25a.chunk.js", - "static/css/21.dfd48dc5.chunk.css": "/react/build/static/css/21.dfd48dc5.chunk.css", - "./static/js/21.75a938d6.chunk.js": "/react/build/./static/js/21.75a938d6.chunk.js", - "static/css/22.356a8e20.chunk.css": "/react/build/static/css/22.356a8e20.chunk.css", - "./static/js/22.49cddb8e.chunk.js": "/react/build/./static/js/22.49cddb8e.chunk.js", - "static/css/23.356a8e20.chunk.css": "/react/build/static/css/23.356a8e20.chunk.css", - "./static/js/23.dbc27f38.chunk.js": "/react/build/./static/js/23.dbc27f38.chunk.js", - "static/css/24.4305c897.chunk.css": "/react/build/static/css/24.4305c897.chunk.css", - "./static/js/24.d9f008a6.chunk.js": "/react/build/./static/js/24.d9f008a6.chunk.js", - "static/css/25.8de3547a.chunk.css": "/react/build/static/css/25.8de3547a.chunk.css", - "./static/js/25.69520557.chunk.js": "/react/build/./static/js/25.69520557.chunk.js", - "static/css/26.6f09e5b0.chunk.css": "/react/build/static/css/26.6f09e5b0.chunk.css", - "./static/js/26.1b2a6db8.chunk.js": "/react/build/./static/js/26.1b2a6db8.chunk.js", - "static/css/27.6f09e5b0.chunk.css": "/react/build/static/css/27.6f09e5b0.chunk.css", - "./static/js/27.722e28a1.chunk.js": "/react/build/./static/js/27.722e28a1.chunk.js", - "static/css/28.a32faf81.chunk.css": "/react/build/static/css/28.a32faf81.chunk.css", - "./static/js/28.32436e24.chunk.js": "/react/build/./static/js/28.32436e24.chunk.js", - "static/css/29.a32faf81.chunk.css": "/react/build/static/css/29.a32faf81.chunk.css", - "./static/js/29.c07d6f0b.chunk.js": "/react/build/./static/js/29.c07d6f0b.chunk.js", - "static/css/30.e0201e2b.chunk.css": "/react/build/static/css/30.e0201e2b.chunk.css", - "./static/js/30.e823fcdf.chunk.js": "/react/build/./static/js/30.e823fcdf.chunk.js", - "static/css/31.63403ba5.chunk.css": "/react/build/static/css/31.63403ba5.chunk.css", - "./static/js/31.ba13f468.chunk.js": "/react/build/./static/js/31.ba13f468.chunk.js", - "static/css/32.bf6223e5.chunk.css": "/react/build/static/css/32.bf6223e5.chunk.css", - "./static/js/32.4b525425.chunk.js": "/react/build/./static/js/32.4b525425.chunk.js", - "static/css/33.3a3fd2ef.chunk.css": "/react/build/static/css/33.3a3fd2ef.chunk.css", - "./static/js/33.0edca06d.chunk.js": "/react/build/./static/js/33.0edca06d.chunk.js", - "static/css/34.fac0c3b4.chunk.css": "/react/build/static/css/34.fac0c3b4.chunk.css", - "./static/js/34.c49b90ba.chunk.js": "/react/build/./static/js/34.c49b90ba.chunk.js", - "static/css/35.af8bb4b1.chunk.css": "/react/build/static/css/35.af8bb4b1.chunk.css", - "./static/js/35.37955068.chunk.js": "/react/build/./static/js/35.37955068.chunk.js", - "static/css/36.23a70c36.chunk.css": "/react/build/static/css/36.23a70c36.chunk.css", - "./static/js/36.a9dfb83c.chunk.js": "/react/build/./static/js/36.a9dfb83c.chunk.js", - "static/css/37.2a9648a1.chunk.css": "/react/build/static/css/37.2a9648a1.chunk.css", - "./static/js/37.8d079096.chunk.js": "/react/build/./static/js/37.8d079096.chunk.js", - "static/css/38.9ffe5b05.chunk.css": "/react/build/static/css/38.9ffe5b05.chunk.css", - "./static/js/38.031c41eb.chunk.js": "/react/build/./static/js/38.031c41eb.chunk.js", - "static/css/39.9ffe5b05.chunk.css": "/react/build/static/css/39.9ffe5b05.chunk.css", - "./static/js/39.e83eb6a4.chunk.js": "/react/build/./static/js/39.e83eb6a4.chunk.js", - "static/css/40.9ffe5b05.chunk.css": "/react/build/static/css/40.9ffe5b05.chunk.css", - "./static/js/40.a73a6d23.chunk.js": "/react/build/./static/js/40.a73a6d23.chunk.js", - "static/css/41.9ffe5b05.chunk.css": "/react/build/static/css/41.9ffe5b05.chunk.css", - "./static/js/41.fb218a49.chunk.js": "/react/build/./static/js/41.fb218a49.chunk.js", - "static/css/42.9ffe5b05.chunk.css": "/react/build/static/css/42.9ffe5b05.chunk.css", - "./static/js/42.3b52869c.chunk.js": "/react/build/./static/js/42.3b52869c.chunk.js", - "static/css/43.9ffe5b05.chunk.css": "/react/build/static/css/43.9ffe5b05.chunk.css", - "./static/js/43.bc3ac9a1.chunk.js": "/react/build/./static/js/43.bc3ac9a1.chunk.js", - "static/css/44.8e3c8bf4.chunk.css": "/react/build/static/css/44.8e3c8bf4.chunk.css", - "./static/js/44.ab77fe0d.chunk.js": "/react/build/./static/js/44.ab77fe0d.chunk.js", - "static/css/45.b6d7fa63.chunk.css": "/react/build/static/css/45.b6d7fa63.chunk.css", - "./static/js/45.8470e5de.chunk.js": "/react/build/./static/js/45.8470e5de.chunk.js", - "static/css/46.b6d7fa63.chunk.css": "/react/build/static/css/46.b6d7fa63.chunk.css", - "./static/js/46.a1fe7a13.chunk.js": "/react/build/./static/js/46.a1fe7a13.chunk.js", - "static/css/47.cabdc601.chunk.css": "/react/build/static/css/47.cabdc601.chunk.css", - "./static/js/47.4b07a974.chunk.js": "/react/build/./static/js/47.4b07a974.chunk.js", - "static/css/48.b6d7fa63.chunk.css": "/react/build/static/css/48.b6d7fa63.chunk.css", - "./static/js/48.b812a9cc.chunk.js": "/react/build/./static/js/48.b812a9cc.chunk.js", - "static/css/49.a7f085bd.chunk.css": "/react/build/static/css/49.a7f085bd.chunk.css", - "./static/js/49.33473a16.chunk.js": "/react/build/./static/js/49.33473a16.chunk.js", - "./static/js/50.1b37080d.chunk.js": "/react/build/./static/js/50.1b37080d.chunk.js", - "static/css/51.57328ca7.chunk.css": "/react/build/static/css/51.57328ca7.chunk.css", - "./static/js/51.024a580e.chunk.js": "/react/build/./static/js/51.024a580e.chunk.js", - "static/css/52.fb7da85d.chunk.css": "/react/build/static/css/52.fb7da85d.chunk.css", - "./static/js/52.ea8f072d.chunk.js": "/react/build/./static/js/52.ea8f072d.chunk.js", - "static/css/53.b326ad61.chunk.css": "/react/build/static/css/53.b326ad61.chunk.css", - "./static/js/53.7e2b7888.chunk.js": "/react/build/./static/js/53.7e2b7888.chunk.js", - "./static/js/54.533a836f.chunk.js": "/react/build/./static/js/54.533a836f.chunk.js", - "./static/js/55.d6f939ca.chunk.js": "/react/build/./static/js/55.d6f939ca.chunk.js", - "./static/js/56.3f71041c.chunk.js": "/react/build/./static/js/56.3f71041c.chunk.js", - "./static/js/57.11f3394f.chunk.js": "/react/build/./static/js/57.11f3394f.chunk.js", - "./static/js/58.ddc2c6e0.chunk.js": "/react/build/./static/js/58.ddc2c6e0.chunk.js", - "./static/js/59.56bfd208.chunk.js": "/react/build/./static/js/59.56bfd208.chunk.js", - "./static/js/60.60feca34.chunk.js": "/react/build/./static/js/60.60feca34.chunk.js", - "./static/js/61.418efd4a.chunk.js": "/react/build/./static/js/61.418efd4a.chunk.js", - "./static/js/62.3cb78a72.chunk.js": "/react/build/./static/js/62.3cb78a72.chunk.js", - "./static/js/63.c1804d57.chunk.js": "/react/build/./static/js/63.c1804d57.chunk.js", - "./static/js/64.f43401b1.chunk.js": "/react/build/./static/js/64.f43401b1.chunk.js", - "./static/js/65.d0325dd5.chunk.js": "/react/build/./static/js/65.d0325dd5.chunk.js", - "./static/js/66.b959a98e.chunk.js": "/react/build/./static/js/66.b959a98e.chunk.js", - "./static/js/67.79b38518.chunk.js": "/react/build/./static/js/67.79b38518.chunk.js", - "./static/js/68.94ccdfb7.chunk.js": "/react/build/./static/js/68.94ccdfb7.chunk.js", - "./static/js/69.948cd431.chunk.js": "/react/build/./static/js/69.948cd431.chunk.js", - "./static/js/70.ac60632e.chunk.js": "/react/build/./static/js/70.ac60632e.chunk.js", - "./static/js/71.a5d810b7.chunk.js": "/react/build/./static/js/71.a5d810b7.chunk.js", - "./static/js/72.9da11458.chunk.js": "/react/build/./static/js/72.9da11458.chunk.js", - "./static/js/73.eb72b126.chunk.js": "/react/build/./static/js/73.eb72b126.chunk.js", - "./static/js/74.7ad4268e.chunk.js": "/react/build/./static/js/74.7ad4268e.chunk.js", - "./static/js/75.5b32ca95.chunk.js": "/react/build/./static/js/75.5b32ca95.chunk.js", - "./static/js/76.d6e3ba1e.chunk.js": "/react/build/./static/js/76.d6e3ba1e.chunk.js", - "./static/js/77.8376f663.chunk.js": "/react/build/./static/js/77.8376f663.chunk.js", - "./static/js/78.1c715b83.chunk.js": "/react/build/./static/js/78.1c715b83.chunk.js", - "./static/js/79.2fee27af.chunk.js": "/react/build/./static/js/79.2fee27af.chunk.js", - "./static/js/80.8796f863.chunk.js": "/react/build/./static/js/80.8796f863.chunk.js", - "./static/js/81.dfd04080.chunk.js": "/react/build/./static/js/81.dfd04080.chunk.js", - "./static/js/82.829a29ec.chunk.js": "/react/build/./static/js/82.829a29ec.chunk.js", - "./static/js/83.a1807649.chunk.js": "/react/build/./static/js/83.a1807649.chunk.js", - "./static/js/84.8a3d7a3c.chunk.js": "/react/build/./static/js/84.8a3d7a3c.chunk.js", - "./static/js/85.4241b1c8.chunk.js": "/react/build/./static/js/85.4241b1c8.chunk.js", - "./static/js/86.3a37d1ce.chunk.js": "/react/build/./static/js/86.3a37d1ce.chunk.js", - "./static/js/87.4f13c1d9.chunk.js": "/react/build/./static/js/87.4f13c1d9.chunk.js", - "./static/js/88.d78ff0b2.chunk.js": "/react/build/./static/js/88.d78ff0b2.chunk.js", - "./static/js/89.8d066201.chunk.js": "/react/build/./static/js/89.8d066201.chunk.js", - "./static/js/90.1edade60.chunk.js": "/react/build/./static/js/90.1edade60.chunk.js", - "./static/js/91.319717c2.chunk.js": "/react/build/./static/js/91.319717c2.chunk.js", - "./static/js/92.8b9eefe3.chunk.js": "/react/build/./static/js/92.8b9eefe3.chunk.js", - "./static/js/93.0c3b3c2d.chunk.js": "/react/build/./static/js/93.0c3b3c2d.chunk.js", - "./static/js/94.359d0867.chunk.js": "/react/build/./static/js/94.359d0867.chunk.js", - "./static/js/95.e21f0ed1.chunk.js": "/react/build/./static/js/95.e21f0ed1.chunk.js", - "./static/js/96.0fdbd844.chunk.js": "/react/build/./static/js/96.0fdbd844.chunk.js", - "./static/js/97.961fccf6.chunk.js": "/react/build/./static/js/97.961fccf6.chunk.js", - "./static/js/98.4d446e39.chunk.js": "/react/build/./static/js/98.4d446e39.chunk.js", - "./static/js/99.55688a80.chunk.js": "/react/build/./static/js/99.55688a80.chunk.js", - "./static/js/100.24eb46e9.chunk.js": "/react/build/./static/js/100.24eb46e9.chunk.js", - "./static/js/101.b887172e.chunk.js": "/react/build/./static/js/101.b887172e.chunk.js", - "./static/js/102.24df686f.chunk.js": "/react/build/./static/js/102.24df686f.chunk.js", - "./static/js/103.9a109fb2.chunk.js": "/react/build/./static/js/103.9a109fb2.chunk.js", - "./static/js/104.f5dded3b.chunk.js": "/react/build/./static/js/104.f5dded3b.chunk.js", - "./static/js/105.5b1f7f30.chunk.js": "/react/build/./static/js/105.5b1f7f30.chunk.js", - "./static/js/106.af691f1a.chunk.js": "/react/build/./static/js/106.af691f1a.chunk.js", - "./static/js/107.83765579.chunk.js": "/react/build/./static/js/107.83765579.chunk.js", - "./static/js/108.f8903a8f.chunk.js": "/react/build/./static/js/108.f8903a8f.chunk.js", - "./static/js/109.dfe8dbc5.chunk.js": "/react/build/./static/js/109.dfe8dbc5.chunk.js", - "./static/js/110.4047ff36.chunk.js": "/react/build/./static/js/110.4047ff36.chunk.js", - "./static/js/111.cfc59794.chunk.js": "/react/build/./static/js/111.cfc59794.chunk.js", - "./static/js/112.ef5a99d8.chunk.js": "/react/build/./static/js/112.ef5a99d8.chunk.js", - "./static/js/113.8b0689a0.chunk.js": "/react/build/./static/js/113.8b0689a0.chunk.js", - "./static/js/114.47d7516e.chunk.js": "/react/build/./static/js/114.47d7516e.chunk.js", - "./static/js/115.b8cd3476.chunk.js": "/react/build/./static/js/115.b8cd3476.chunk.js", - "./static/js/116.9e0048fe.chunk.js": "/react/build/./static/js/116.9e0048fe.chunk.js", - "./static/js/117.25a10d43.chunk.js": "/react/build/./static/js/117.25a10d43.chunk.js", - "./static/js/118.c945aebd.chunk.js": "/react/build/./static/js/118.c945aebd.chunk.js", - "./static/js/119.11a28e2a.chunk.js": "/react/build/./static/js/119.11a28e2a.chunk.js", - "./static/js/120.fe729906.chunk.js": "/react/build/./static/js/120.fe729906.chunk.js", - "./static/js/121.f0c3b69a.chunk.js": "/react/build/./static/js/121.f0c3b69a.chunk.js", - "./static/js/122.1de10e54.chunk.js": "/react/build/./static/js/122.1de10e54.chunk.js", - "./static/js/123.4e6af605.chunk.js": "/react/build/./static/js/123.4e6af605.chunk.js", - "./static/js/124.7d03ec70.chunk.js": "/react/build/./static/js/124.7d03ec70.chunk.js", - "./static/js/125.309dc2c4.chunk.js": "/react/build/./static/js/125.309dc2c4.chunk.js", - "./static/js/126.e1307fba.chunk.js": "/react/build/./static/js/126.e1307fba.chunk.js", - "./static/js/127.920b8310.chunk.js": "/react/build/./static/js/127.920b8310.chunk.js", - "./static/js/128.6baf47fd.chunk.js": "/react/build/./static/js/128.6baf47fd.chunk.js", - "main.css": "/react/build/static/css/main.28648a2b.chunk.css", - "main.js": "/react/build/./static/js/main.79d4a449.chunk.js", - "runtime~main.js": "/react/build/./static/js/runtime~main.ea1db01c.js", - "./static/js/121.f0c3b69a.chunk.js.LICENSE.txt": "/react/build/./static/js/121.f0c3b69a.chunk.js.LICENSE.txt", - "./static/js/20.ac42c25a.chunk.js.LICENSE.txt": "/react/build/./static/js/20.ac42c25a.chunk.js.LICENSE.txt", - "./static/js/main.79d4a449.chunk.js.LICENSE.txt": "/react/build/./static/js/main.79d4a449.chunk.js.LICENSE.txt", + "static/css/3.5d2538f7.chunk.css": "/react/build/static/css/3.5d2538f7.chunk.css", + "./static/js/3.68362e7c.chunk.js": "/react/build/./static/js/3.68362e7c.chunk.js", + "static/css/4.8c0097ca.chunk.css": "/react/build/static/css/4.8c0097ca.chunk.css", + "./static/js/4.cb77fffc.chunk.js": "/react/build/./static/js/4.cb77fffc.chunk.js", + "static/css/5.bd663fa5.chunk.css": "/react/build/static/css/5.bd663fa5.chunk.css", + "./static/js/5.09859213.chunk.js": "/react/build/./static/js/5.09859213.chunk.js", + "static/css/6.f89d762e.chunk.css": "/react/build/static/css/6.f89d762e.chunk.css", + "./static/js/6.d9db8079.chunk.js": "/react/build/./static/js/6.d9db8079.chunk.js", + "static/css/7.8e3c8bf4.chunk.css": "/react/build/static/css/7.8e3c8bf4.chunk.css", + "./static/js/7.f4f5ba66.chunk.js": "/react/build/./static/js/7.f4f5ba66.chunk.js", + "static/css/8.c08196ba.chunk.css": "/react/build/static/css/8.c08196ba.chunk.css", + "./static/js/8.249b81d7.chunk.js": "/react/build/./static/js/8.249b81d7.chunk.js", + "static/css/9.8725ffda.chunk.css": "/react/build/static/css/9.8725ffda.chunk.css", + "./static/js/9.4611b05e.chunk.js": "/react/build/./static/js/9.4611b05e.chunk.js", + "./static/js/10.654a0c83.chunk.js": "/react/build/./static/js/10.654a0c83.chunk.js", + "static/css/11.089455ea.chunk.css": "/react/build/static/css/11.089455ea.chunk.css", + "./static/js/11.61d86f26.chunk.js": "/react/build/./static/js/11.61d86f26.chunk.js", + "static/css/12.edc8c55b.chunk.css": "/react/build/static/css/12.edc8c55b.chunk.css", + "./static/js/12.2551ee7f.chunk.js": "/react/build/./static/js/12.2551ee7f.chunk.js", + "static/css/13.edc8c55b.chunk.css": "/react/build/static/css/13.edc8c55b.chunk.css", + "./static/js/13.7ace9408.chunk.js": "/react/build/./static/js/13.7ace9408.chunk.js", + "static/css/14.f15d49d6.chunk.css": "/react/build/static/css/14.f15d49d6.chunk.css", + "./static/js/14.ee633cb3.chunk.js": "/react/build/./static/js/14.ee633cb3.chunk.js", + "static/css/15.82fc9e4f.chunk.css": "/react/build/static/css/15.82fc9e4f.chunk.css", + "./static/js/15.cb4e69fe.chunk.js": "/react/build/./static/js/15.cb4e69fe.chunk.js", + "static/css/16.fb8dc903.chunk.css": "/react/build/static/css/16.fb8dc903.chunk.css", + "./static/js/16.94545404.chunk.js": "/react/build/./static/js/16.94545404.chunk.js", + "static/css/17.5ab27a8d.chunk.css": "/react/build/static/css/17.5ab27a8d.chunk.css", + "./static/js/17.9e48fb36.chunk.js": "/react/build/./static/js/17.9e48fb36.chunk.js", + "static/css/18.703d6df4.chunk.css": "/react/build/static/css/18.703d6df4.chunk.css", + "./static/js/18.4d329821.chunk.js": "/react/build/./static/js/18.4d329821.chunk.js", + "static/css/19.9849c88d.chunk.css": "/react/build/static/css/19.9849c88d.chunk.css", + "./static/js/19.13d21551.chunk.js": "/react/build/./static/js/19.13d21551.chunk.js", + "static/css/20.4e24d5f0.chunk.css": "/react/build/static/css/20.4e24d5f0.chunk.css", + "./static/js/20.b67d89c8.chunk.js": "/react/build/./static/js/20.b67d89c8.chunk.js", + "static/css/21.7a216b61.chunk.css": "/react/build/static/css/21.7a216b61.chunk.css", + "./static/js/21.d9bb8baf.chunk.js": "/react/build/./static/js/21.d9bb8baf.chunk.js", + "static/css/22.379a62ff.chunk.css": "/react/build/static/css/22.379a62ff.chunk.css", + "./static/js/22.6f5d33c8.chunk.js": "/react/build/./static/js/22.6f5d33c8.chunk.js", + "static/css/23.32d26cd9.chunk.css": "/react/build/static/css/23.32d26cd9.chunk.css", + "./static/js/23.bec6e9d6.chunk.js": "/react/build/./static/js/23.bec6e9d6.chunk.js", + "static/css/24.32d26cd9.chunk.css": "/react/build/static/css/24.32d26cd9.chunk.css", + "./static/js/24.adda8983.chunk.js": "/react/build/./static/js/24.adda8983.chunk.js", + "static/css/25.0169372f.chunk.css": "/react/build/static/css/25.0169372f.chunk.css", + "./static/js/25.ca1be4a3.chunk.js": "/react/build/./static/js/25.ca1be4a3.chunk.js", + "static/css/26.49560bd2.chunk.css": "/react/build/static/css/26.49560bd2.chunk.css", + "./static/js/26.2114cc7e.chunk.js": "/react/build/./static/js/26.2114cc7e.chunk.js", + "static/css/27.9dc8e1bd.chunk.css": "/react/build/static/css/27.9dc8e1bd.chunk.css", + "./static/js/27.21793d5c.chunk.js": "/react/build/./static/js/27.21793d5c.chunk.js", + "static/css/28.930f1248.chunk.css": "/react/build/static/css/28.930f1248.chunk.css", + "./static/js/28.f1e50d9d.chunk.js": "/react/build/./static/js/28.f1e50d9d.chunk.js", + "static/css/29.ce602e91.chunk.css": "/react/build/static/css/29.ce602e91.chunk.css", + "./static/js/29.7c82a2d4.chunk.js": "/react/build/./static/js/29.7c82a2d4.chunk.js", + "static/css/30.890be760.chunk.css": "/react/build/static/css/30.890be760.chunk.css", + "./static/js/30.8c7fcb04.chunk.js": "/react/build/./static/js/30.8c7fcb04.chunk.js", + "static/css/31.b1b92739.chunk.css": "/react/build/static/css/31.b1b92739.chunk.css", + "./static/js/31.3cdd98d3.chunk.js": "/react/build/./static/js/31.3cdd98d3.chunk.js", + "static/css/32.77d68bd6.chunk.css": "/react/build/static/css/32.77d68bd6.chunk.css", + "./static/js/32.abe52fd3.chunk.js": "/react/build/./static/js/32.abe52fd3.chunk.js", + "static/css/33.8725ffda.chunk.css": "/react/build/static/css/33.8725ffda.chunk.css", + "./static/js/33.c23ee440.chunk.js": "/react/build/./static/js/33.c23ee440.chunk.js", + "static/css/34.8725ffda.chunk.css": "/react/build/static/css/34.8725ffda.chunk.css", + "./static/js/34.3ff12527.chunk.js": "/react/build/./static/js/34.3ff12527.chunk.js", + "static/css/35.8725ffda.chunk.css": "/react/build/static/css/35.8725ffda.chunk.css", + "./static/js/35.7815b1a8.chunk.js": "/react/build/./static/js/35.7815b1a8.chunk.js", + "static/css/36.8725ffda.chunk.css": "/react/build/static/css/36.8725ffda.chunk.css", + "./static/js/36.4bf9d514.chunk.js": "/react/build/./static/js/36.4bf9d514.chunk.js", + "static/css/37.8725ffda.chunk.css": "/react/build/static/css/37.8725ffda.chunk.css", + "./static/js/37.20a54f59.chunk.js": "/react/build/./static/js/37.20a54f59.chunk.js", + "static/css/38.b6d7fa63.chunk.css": "/react/build/static/css/38.b6d7fa63.chunk.css", + "./static/js/38.4e840f8a.chunk.js": "/react/build/./static/js/38.4e840f8a.chunk.js", + "static/css/39.b6d7fa63.chunk.css": "/react/build/static/css/39.b6d7fa63.chunk.css", + "./static/js/39.8be705f0.chunk.js": "/react/build/./static/js/39.8be705f0.chunk.js", + "static/css/40.d8dd2a7b.chunk.css": "/react/build/static/css/40.d8dd2a7b.chunk.css", + "./static/js/40.04a4c763.chunk.js": "/react/build/./static/js/40.04a4c763.chunk.js", + "static/css/41.7b453293.chunk.css": "/react/build/static/css/41.7b453293.chunk.css", + "./static/js/41.1e348f51.chunk.js": "/react/build/./static/js/41.1e348f51.chunk.js", + "static/css/42.b6d7fa63.chunk.css": "/react/build/static/css/42.b6d7fa63.chunk.css", + "./static/js/42.c3fe4226.chunk.js": "/react/build/./static/js/42.c3fe4226.chunk.js", + "static/css/43.7b3e5ea2.chunk.css": "/react/build/static/css/43.7b3e5ea2.chunk.css", + "./static/js/43.b5c01c44.chunk.js": "/react/build/./static/js/43.b5c01c44.chunk.js", + "static/css/44.644c6390.chunk.css": "/react/build/static/css/44.644c6390.chunk.css", + "./static/js/44.5f4f020e.chunk.js": "/react/build/./static/js/44.5f4f020e.chunk.js", + "static/css/45.f614786a.chunk.css": "/react/build/static/css/45.f614786a.chunk.css", + "./static/js/45.83c370c6.chunk.js": "/react/build/./static/js/45.83c370c6.chunk.js", + "./static/js/46.12928b44.chunk.js": "/react/build/./static/js/46.12928b44.chunk.js", + "static/css/47.fb7da85d.chunk.css": "/react/build/static/css/47.fb7da85d.chunk.css", + "./static/js/47.95f0422c.chunk.js": "/react/build/./static/js/47.95f0422c.chunk.js", + "static/css/48.b326ad61.chunk.css": "/react/build/static/css/48.b326ad61.chunk.css", + "./static/js/48.42c93777.chunk.js": "/react/build/./static/js/48.42c93777.chunk.js", + "./static/js/49.5c6cd946.chunk.js": "/react/build/./static/js/49.5c6cd946.chunk.js", + "./static/js/50.12401fca.chunk.js": "/react/build/./static/js/50.12401fca.chunk.js", + "./static/js/51.dc50f192.chunk.js": "/react/build/./static/js/51.dc50f192.chunk.js", + "./static/js/52.532fbf62.chunk.js": "/react/build/./static/js/52.532fbf62.chunk.js", + "./static/js/53.b19c6882.chunk.js": "/react/build/./static/js/53.b19c6882.chunk.js", + "./static/js/54.7d284a37.chunk.js": "/react/build/./static/js/54.7d284a37.chunk.js", + "./static/js/55.c4382b43.chunk.js": "/react/build/./static/js/55.c4382b43.chunk.js", + "./static/js/56.cbc149b9.chunk.js": "/react/build/./static/js/56.cbc149b9.chunk.js", + "./static/js/57.fda2bb3d.chunk.js": "/react/build/./static/js/57.fda2bb3d.chunk.js", + "./static/js/58.5d0eaacf.chunk.js": "/react/build/./static/js/58.5d0eaacf.chunk.js", + "./static/js/59.3e8db4b4.chunk.js": "/react/build/./static/js/59.3e8db4b4.chunk.js", + "./static/js/60.51c8dc22.chunk.js": "/react/build/./static/js/60.51c8dc22.chunk.js", + "./static/js/61.93c58306.chunk.js": "/react/build/./static/js/61.93c58306.chunk.js", + "./static/js/62.b35395fd.chunk.js": "/react/build/./static/js/62.b35395fd.chunk.js", + "./static/js/63.359ce89c.chunk.js": "/react/build/./static/js/63.359ce89c.chunk.js", + "./static/js/64.2e48eeb1.chunk.js": "/react/build/./static/js/64.2e48eeb1.chunk.js", + "./static/js/65.eeffd03b.chunk.js": "/react/build/./static/js/65.eeffd03b.chunk.js", + "./static/js/66.1c12ee1c.chunk.js": "/react/build/./static/js/66.1c12ee1c.chunk.js", + "./static/js/67.553b93c7.chunk.js": "/react/build/./static/js/67.553b93c7.chunk.js", + "./static/js/68.42571013.chunk.js": "/react/build/./static/js/68.42571013.chunk.js", + "./static/js/69.d4c3fbf9.chunk.js": "/react/build/./static/js/69.d4c3fbf9.chunk.js", + "./static/js/70.0dd35c5a.chunk.js": "/react/build/./static/js/70.0dd35c5a.chunk.js", + "./static/js/71.119cd4d3.chunk.js": "/react/build/./static/js/71.119cd4d3.chunk.js", + "./static/js/72.eb16f5cf.chunk.js": "/react/build/./static/js/72.eb16f5cf.chunk.js", + "./static/js/73.c9476dab.chunk.js": "/react/build/./static/js/73.c9476dab.chunk.js", + "./static/js/74.62cb2878.chunk.js": "/react/build/./static/js/74.62cb2878.chunk.js", + "./static/js/75.8270ddf0.chunk.js": "/react/build/./static/js/75.8270ddf0.chunk.js", + "./static/js/76.de441764.chunk.js": "/react/build/./static/js/76.de441764.chunk.js", + "./static/js/77.37d11253.chunk.js": "/react/build/./static/js/77.37d11253.chunk.js", + "./static/js/78.f313dec9.chunk.js": "/react/build/./static/js/78.f313dec9.chunk.js", + "./static/js/79.3fc05910.chunk.js": "/react/build/./static/js/79.3fc05910.chunk.js", + "./static/js/80.b31d02b9.chunk.js": "/react/build/./static/js/80.b31d02b9.chunk.js", + "./static/js/81.9b9da6ff.chunk.js": "/react/build/./static/js/81.9b9da6ff.chunk.js", + "./static/js/82.2d544878.chunk.js": "/react/build/./static/js/82.2d544878.chunk.js", + "./static/js/83.de289c8c.chunk.js": "/react/build/./static/js/83.de289c8c.chunk.js", + "./static/js/84.17371b89.chunk.js": "/react/build/./static/js/84.17371b89.chunk.js", + "./static/js/85.144e8f2a.chunk.js": "/react/build/./static/js/85.144e8f2a.chunk.js", + "./static/js/86.bdb437eb.chunk.js": "/react/build/./static/js/86.bdb437eb.chunk.js", + "./static/js/87.b414cc2b.chunk.js": "/react/build/./static/js/87.b414cc2b.chunk.js", + "./static/js/88.f5db67e6.chunk.js": "/react/build/./static/js/88.f5db67e6.chunk.js", + "./static/js/89.bec71278.chunk.js": "/react/build/./static/js/89.bec71278.chunk.js", + "./static/js/90.b4a7c535.chunk.js": "/react/build/./static/js/90.b4a7c535.chunk.js", + "./static/js/91.da51dc96.chunk.js": "/react/build/./static/js/91.da51dc96.chunk.js", + "./static/js/92.bfe413f5.chunk.js": "/react/build/./static/js/92.bfe413f5.chunk.js", + "./static/js/93.ce076e09.chunk.js": "/react/build/./static/js/93.ce076e09.chunk.js", + "./static/js/94.acbaf74b.chunk.js": "/react/build/./static/js/94.acbaf74b.chunk.js", + "./static/js/95.86d0fe1f.chunk.js": "/react/build/./static/js/95.86d0fe1f.chunk.js", + "./static/js/96.12703d24.chunk.js": "/react/build/./static/js/96.12703d24.chunk.js", + "./static/js/97.a9654657.chunk.js": "/react/build/./static/js/97.a9654657.chunk.js", + "./static/js/98.11874a17.chunk.js": "/react/build/./static/js/98.11874a17.chunk.js", + "./static/js/99.ae5937c1.chunk.js": "/react/build/./static/js/99.ae5937c1.chunk.js", + "./static/js/100.c2975b68.chunk.js": "/react/build/./static/js/100.c2975b68.chunk.js", + "./static/js/101.ca0687c8.chunk.js": "/react/build/./static/js/101.ca0687c8.chunk.js", + "./static/js/102.1bab3635.chunk.js": "/react/build/./static/js/102.1bab3635.chunk.js", + "./static/js/103.e8b3c9b9.chunk.js": "/react/build/./static/js/103.e8b3c9b9.chunk.js", + "./static/js/104.02c060c9.chunk.js": "/react/build/./static/js/104.02c060c9.chunk.js", + "./static/js/105.0ebb4ada.chunk.js": "/react/build/./static/js/105.0ebb4ada.chunk.js", + "./static/js/106.408eef90.chunk.js": "/react/build/./static/js/106.408eef90.chunk.js", + "./static/js/107.8489e412.chunk.js": "/react/build/./static/js/107.8489e412.chunk.js", + "./static/js/108.b072dc32.chunk.js": "/react/build/./static/js/108.b072dc32.chunk.js", + "./static/js/109.1c703d3f.chunk.js": "/react/build/./static/js/109.1c703d3f.chunk.js", + "./static/js/110.7001d430.chunk.js": "/react/build/./static/js/110.7001d430.chunk.js", + "./static/js/111.2caef517.chunk.js": "/react/build/./static/js/111.2caef517.chunk.js", + "./static/js/112.91977aba.chunk.js": "/react/build/./static/js/112.91977aba.chunk.js", + "./static/js/113.68803de7.chunk.js": "/react/build/./static/js/113.68803de7.chunk.js", + "./static/js/114.c0292c0c.chunk.js": "/react/build/./static/js/114.c0292c0c.chunk.js", + "./static/js/115.181de7a7.chunk.js": "/react/build/./static/js/115.181de7a7.chunk.js", + "./static/js/116.7b6a7794.chunk.js": "/react/build/./static/js/116.7b6a7794.chunk.js", + "./static/js/117.9ba3a8f5.chunk.js": "/react/build/./static/js/117.9ba3a8f5.chunk.js", + "./static/js/118.99b51c21.chunk.js": "/react/build/./static/js/118.99b51c21.chunk.js", + "./static/js/119.2c9f6719.chunk.js": "/react/build/./static/js/119.2c9f6719.chunk.js", + "./static/js/120.b20e270d.chunk.js": "/react/build/./static/js/120.b20e270d.chunk.js", + "./static/js/121.20928a5f.chunk.js": "/react/build/./static/js/121.20928a5f.chunk.js", + "./static/js/122.e50008db.chunk.js": "/react/build/./static/js/122.e50008db.chunk.js", + "./static/js/123.d1b560e2.chunk.js": "/react/build/./static/js/123.d1b560e2.chunk.js", + "./static/js/124.2a975db3.chunk.js": "/react/build/./static/js/124.2a975db3.chunk.js", + "./static/js/125.57ac08b8.chunk.js": "/react/build/./static/js/125.57ac08b8.chunk.js", + "main.css": "/react/build/static/css/main.f0e83a21.chunk.css", + "main.js": "/react/build/./static/js/main.f825fce3.chunk.js", + "runtime~main.js": "/react/build/./static/js/runtime~main.5f8faa04.js", + "./static/js/118.99b51c21.chunk.js.LICENSE.txt": "/react/build/./static/js/118.99b51c21.chunk.js.LICENSE.txt", + "./static/js/44.5f4f020e.chunk.js.LICENSE.txt": "/react/build/./static/js/44.5f4f020e.chunk.js.LICENSE.txt", + "./static/js/main.f825fce3.chunk.js.LICENSE.txt": "/react/build/./static/js/main.f825fce3.chunk.js.LICENSE.txt", "css.worker.js": "/react/build/css.worker.js", "editor.worker.js": "/react/build/editor.worker.js", "html.worker.js": "/react/build/html.worker.js", diff --git a/css/demo_index.html b/css/demo_index.html index 979e6cfe0..2c1f6dd7d 100644 --- a/css/demo_index.html +++ b/css/demo_index.html @@ -30,6 +30,72 @@
"),!0)},e.prototype.layoutLine=function(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))},e}(),zm=function(e){function t(t){var n=e.call(this,t)||this;return n._contentWidth=n._context.configuration.editor.layoutInfo.contentWidth,n.domNode.setHeight(0),n}return jm(t,e),t.prototype.onConfigurationChanged=function(t){return t.layoutInfo&&(this._contentWidth=this._context.configuration.editor.layoutInfo.contentWidth),e.prototype.onConfigurationChanged.call(this,t)},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollWidthChanged},t.prototype._viewOverlaysRender=function(t){e.prototype._viewOverlaysRender.call(this,t),this.domNode.setWidth(Math.max(t.scrollWidth,this._contentWidth))},t}(Bm),Um=function(e){function t(t){var n=e.call(this,t)||this;return n._contentLeft=n._context.configuration.editor.layoutInfo.contentLeft,n.domNode.setClassName("margin-view-overlays"),n.domNode.setWidth(1),ec.applyFontInfo(n.domNode,n._context.configuration.editor.fontInfo),n}return jm(t,e),t.prototype.onConfigurationChanged=function(t){var n=!1;return t.fontInfo&&(ec.applyFontInfo(this.domNode,this._context.configuration.editor.fontInfo),n=!0),t.layoutInfo&&(this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft,n=!0),e.prototype.onConfigurationChanged.call(this,t)||n},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollHeightChanged},t.prototype._viewOverlaysRender=function(t){e.prototype._viewOverlaysRender.call(this,t);var n=Math.min(t.scrollHeight,1e6);this.domNode.setHeight(n),this.domNode.setWidth(this._contentLeft)},t}(Bm),Km=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),qm=function(e,t){this.top=e,this.left=t},Gm=function(e){function t(t,n){var i=e.call(this,t)||this;return i._viewDomNode=n,i._widgets={},i.domNode=Lc(document.createElement("div")),Kc.write(i.domNode,1),i.domNode.setClassName("contentWidgets"),i.domNode.setPosition("absolute"),i.domNode.setTop(0),i.overflowingContentWidgetsDomNode=Lc(document.createElement("div")),Kc.write(i.overflowingContentWidgetsDomNode,2),i.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets"),i}return Km(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._widgets={}},t.prototype.onConfigurationChanged=function(e){for(var t=0,n=Object.keys(this._widgets);t=i,c=a,d=o.viewportHeight-a>=i,h=e.left,p=t.left;return h+n>o.scrollLeft+o.viewportWidth&&(h=o.scrollLeft+o.viewportWidth-n),p+n>o.scrollLeft+o.viewportWidth&&(p=o.scrollLeft+o.viewportWidth-n),hthis._contentWidth)return null;var a,u=e.top-i,l=t.top+this._lineHeight,c=r+this._contentLeft,d=s+this._contentLeft,h=mi(this._viewDomNode.domNode),p=h.top+u-vi.scrollY,f=h.top+l-vi.scrollY,g=h.left+c-vi.scrollX,m=h.left+d-vi.scrollX,v=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,_=p>=22,y=f+i<=(window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)-22;g+n+20>v&&(g-=a=g-(v-n-20),c-=a);m+n+20>v&&(m-=a=m-(v-n-20),d-=a);g<0&&(g-=a=g,c-=a);m<0&&(m-=a=m,d-=a);return this._fixedOverflowWidgets&&(u=p,l=f,c=g,d=m),{fitsAbove:_,aboveTop:u,aboveLeft:c,fitsBelow:y,belowTop:l,belowLeft:d}},e.prototype._prepareRenderWidgetAtExactPositionOverflowing=function(e){return new qm(e.top,e.left+this._contentLeft)},e.prototype._getTopAndBottomLeft=function(e){if(!this._viewPosition)return[null,null];var t=e.visibleRangeForPosition(this._viewPosition);if(!t)return[null,null];var n=e.getVerticalOffsetForLineNumber(this._viewPosition.lineNumber)-e.scrollTop,i=new qm(n,t.left),o=this._viewPosition.lineNumber,r=t.left;if(this._viewRange){var s=e.linesVisibleRangesForRange(this._viewRange,!1);if(s&&s.length>0)for(var a=s.length-1;a>=0;a--){var u=s[a];if(u.lineNumber>=o){u.lineNumber>o&&(o=u.lineNumber,r=1073741824);for(var l=0,c=u.ranges.length;le.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))},e.prototype.prepareRender=function(e){this._renderData=this._prepareRenderWidget(e)},e.prototype.render=function(e){this._renderData?(this.allowEditorOverflow?(this.domNode.setTop(this._renderData.top),this.domNode.setLeft(this._renderData.left)):(this.domNode.setTop(this._renderData.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0)):this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden"))},e}(),Zm=(n("yczy"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Xm=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._lineHeight=n._context.configuration.editor.lineHeight,n._renderLineHighlight=n._context.configuration.editor.viewInfo.renderLineHighlight,n._selectionIsEmpty=!0,n._primaryCursorLineNumber=1,n._scrollWidth=0,n._contentWidth=n._context.configuration.editor.layoutInfo.contentWidth,n._context.addEventHandler(n),n}return Zm(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.viewInfo&&(this._renderLineHighlight=this._context.configuration.editor.viewInfo.renderLineHighlight),e.layoutInfo&&(this._contentWidth=this._context.configuration.editor.layoutInfo.contentWidth),!0},t.prototype.onCursorStateChanged=function(e){var t=!1,n=e.selections[0].positionLineNumber;this._primaryCursorLineNumber!==n&&(this._primaryCursorLineNumber=n,t=!0);var i=e.selections[0].isEmpty();return this._selectionIsEmpty!==i?(this._selectionIsEmpty=i,!0):t},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollWidthChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){this._scrollWidth=e.scrollWidth},t.prototype.render=function(e,t){return t===this._primaryCursorLineNumber&&this._shouldShowCurrentLine()?'
':""},t.prototype._shouldShowCurrentLine=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t.prototype._willRenderMarginCurrentLine=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t}(zd);id((function(e,t){var n=e.getColor(ep);if(n&&t.addRule(".monaco-editor .view-overlays .current-line { background-color: "+n+"; }"),!n||n.isTransparent()||e.defines(tp)){var i=e.getColor(tp);i&&(t.addRule(".monaco-editor .view-overlays .current-line { border: 2px solid "+i+"; }"),"hc"===e.type&&t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"))}}));n("VatG");var Qm=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Jm=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._lineHeight=n._context.configuration.editor.lineHeight,n._renderLineHighlight=n._context.configuration.editor.viewInfo.renderLineHighlight,n._selectionIsEmpty=!0,n._primaryCursorLineNumber=1,n._contentLeft=n._context.configuration.editor.layoutInfo.contentLeft,n._context.addEventHandler(n),n}return Qm(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.viewInfo&&(this._renderLineHighlight=this._context.configuration.editor.viewInfo.renderLineHighlight),e.layoutInfo&&(this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft),!0},t.prototype.onCursorStateChanged=function(e){var t=!1,n=e.selections[0].positionLineNumber;this._primaryCursorLineNumber!==n&&(this._primaryCursorLineNumber=n,t=!0);var i=e.selections[0].isEmpty();return this._selectionIsEmpty!==i?(this._selectionIsEmpty=i,!0):t},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e,t){if(t===this._primaryCursorLineNumber){var n="current-line";if(this._shouldShowCurrentLine())n="current-line current-line-margin"+(this._willRenderContentCurrentLine()?" current-line-margin-both":"");return'
'}return""},t.prototype._shouldShowCurrentLine=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t.prototype._willRenderContentCurrentLine=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t}(zd);id((function(e,t){var n=e.getColor(ep);if(n)t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { background-color: "+n+"; border: none; }");else{var i=e.getColor(tp);i&&t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid "+i+"; }"),"hc"===e.type&&t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")}}));n("+iC4");var $m=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ev=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._lineHeight=n._context.configuration.editor.lineHeight,n._typicalHalfwidthCharacterWidth=n._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,n._renderResult=null,n._context.addEventHandler(n),n}return $m(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.fontInfo&&(this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged||e.scrollWidthChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){for(var t=e.getDecorationsInViewport(),n=[],i=0,o=0,r=t.length;ot.options.zIndex)return 1;var n=e.options.className,i=t.options.className;return ni?1:It.compareRangesUsingStarts(e.range,t.range)}));for(var a=e.visibleRange.startLineNumber,u=e.visibleRange.endLineNumber,l=[],c=a;c<=u;c++){l[c-a]=""}this._renderWholeLineDecorations(e,n,l),this._renderNormalDecorations(e,n,l),this._renderResult=l},t.prototype._renderWholeLineDecorations=function(e,t,n){for(var i=String(this._lineHeight),o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,s=0,a=t.length;s',c=Math.max(u.range.startLineNumber,o),d=Math.min(u.range.endLineNumber,r),h=c;h<=d;h++){n[h-o]+=l}}},t.prototype._renderNormalDecorations=function(e,t,n){for(var i=String(this._lineHeight),o=e.visibleRange.startLineNumber,r=null,s=!1,a=null,u=0,l=t.length;u';s[d]+=m}}},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}(zd),tv=(n("YqZz"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),nv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return tv(t,e),t.prototype.onclick=function(e,t){this._register(jn(e,Si.CLICK,(function(e){return t(new vn(e))})))},t.prototype.onmousedown=function(e,t){this._register(jn(e,Si.MOUSE_DOWN,(function(e){return t(new vn(e))})))},t.prototype.onmouseover=function(e,t){this._register(jn(e,Si.MOUSE_OVER,(function(e){return t(new vn(e))})))},t.prototype.onnonbubblingmouseout=function(e,t){this._register(Hn(e,(function(e){return t(new vn(e))})))},t.prototype.onkeydown=function(e,t){this._register(jn(e,Si.KEY_DOWN,(function(e){return t(new cn(e))})))},t.prototype.onkeyup=function(e,t){this._register(jn(e,Si.KEY_UP,(function(e){return t(new cn(e))})))},t.prototype.oninput=function(e,t){this._register(jn(e,Si.INPUT,t))},t.prototype.onblur=function(e,t){this._register(jn(e,Si.BLUR,t))},t.prototype.onfocus=function(e,t){this._register(jn(e,Si.FOCUS,t))},t.prototype.onchange=function(e,t){this._register(jn(e,Si.CHANGE,t))},t}(me),iv=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ov=function(e){function t(t){var n=e.call(this)||this;return n._onActivate=t.onActivate,n.bgDomNode=document.createElement("div"),n.bgDomNode.className="arrow-background",n.bgDomNode.style.position="absolute",n.bgDomNode.style.width=t.bgWidth+"px",n.bgDomNode.style.height=t.bgHeight+"px",void 0!==t.top&&(n.bgDomNode.style.top="0px"),void 0!==t.left&&(n.bgDomNode.style.left="0px"),void 0!==t.bottom&&(n.bgDomNode.style.bottom="0px"),void 0!==t.right&&(n.bgDomNode.style.right="0px"),n.domNode=document.createElement("div"),n.domNode.className=t.className,n.domNode.style.position="absolute",n.domNode.style.width="11px",n.domNode.style.height="11px",void 0!==t.top&&(n.domNode.style.top=t.top+"px"),void 0!==t.left&&(n.domNode.style.left=t.left+"px"),void 0!==t.bottom&&(n.domNode.style.bottom=t.bottom+"px"),void 0!==t.right&&(n.domNode.style.right=t.right+"px"),n._mouseMoveMonitor=n._register(new Mc),n.onmousedown(n.bgDomNode,(function(e){return n._arrowMouseDown(e)})),n.onmousedown(n.domNode,(function(e){return n._arrowMouseDown(e)})),n._mousedownRepeatTimer=n._register(new Nn),n._mousedownScheduleRepeatTimer=n._register(new Ln),n}return iv(t,e),t.prototype._arrowMouseDown=function(e){var t=this;this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet((function(){t._mousedownRepeatTimer.cancelAndSet((function(){return t._onActivate()}),1e3/24)}),200),this._mouseMoveMonitor.startMonitoring(Ic,(function(e){}),(function(){t._mousedownRepeatTimer.cancel(),t._mousedownScheduleRepeatTimer.cancel()})),e.preventDefault()},t}(nv),rv=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),sv=function(e){function t(t,n,i){var o=e.call(this)||this;return o._visibility=t,o._visibleClassName=n,o._invisibleClassName=i,o._domNode=null,o._isVisible=!1,o._isNeeded=!1,o._shouldBeVisible=!1,o._revealTimer=o._register(new Ln),o}return rv(t,e),t.prototype.applyVisibilitySetting=function(e){return 2!==this._visibility&&(3===this._visibility||e)},t.prototype.setShouldBeVisible=function(e){var t=this.applyVisibilitySetting(e);this._shouldBeVisible!==t&&(this._shouldBeVisible=t,this.ensureVisibility())},t.prototype.setIsNeeded=function(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())},t.prototype.setDomNode=function(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)},t.prototype.ensureVisibility=function(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)},t.prototype._reveal=function(){var e=this;this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet((function(){e._domNode&&e._domNode.setClassName(e._visibleClassName)}),0))},t.prototype._hide=function(e){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(e?" fade":"")))},t}(me),av=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),uv=function(e){function t(t){var n=e.call(this)||this;return n._lazyRender=t.lazyRender,n._host=t.host,n._scrollable=t.scrollable,n._scrollbarState=t.scrollbarState,n._visibilityController=n._register(new sv(t.visibility,"visible scrollbar "+t.extraScrollbarClassName,"invisible scrollbar "+t.extraScrollbarClassName)),n._mouseMoveMonitor=n._register(new Mc),n._shouldRender=!0,n.domNode=Lc(document.createElement("div")),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n._visibilityController.setDomNode(n.domNode),n.domNode.setPosition("absolute"),n.onmousedown(n.domNode.domNode,(function(e){return n._domNodeMouseDown(e)})),n}return av(t,e),t.prototype._createArrow=function(e){var t=this._register(new ov(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)},t.prototype._createSlider=function(e,t,n,i){var o=this;this.slider=Lc(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"==typeof n&&this.slider.setWidth(n),"number"==typeof i&&this.slider.setHeight(i),this.slider.setLayerHinting(!0),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,(function(e){e.leftButton&&(e.preventDefault(),o._sliderMouseDown(e,(function(){})))}))},t.prototype._onElementSize=function(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype._onElementScrollSize=function(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype._onElementScrollPosition=function(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype.beginReveal=function(){this._visibilityController.setShouldBeVisible(!0)},t.prototype.beginHide=function(){this._visibilityController.setShouldBeVisible(!1)},t.prototype.render=function(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))},t.prototype._domNodeMouseDown=function(e){e.target===this.domNode.domNode&&this._onMouseDown(e)},t.prototype.delegateMouseDown=function(e){var t=this.domNode.domNode.getClientRects()[0].top,n=t+this._scrollbarState.getSliderPosition(),i=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),o=this._sliderMousePosition(e);n<=o&&o<=i?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(function(){}))):this._onMouseDown(e)},t.prototype._onMouseDown=function(e){var t,n;if(e.target===this.domNode.domNode&&"number"==typeof e.browserEvent.offsetX&&"number"==typeof e.browserEvent.offsetY)t=e.browserEvent.offsetX,n=e.browserEvent.offsetY;else{var i=mi(this.domNode.domNode);t=e.posx-i.left,n=e.posy-i.top}this._setDesiredScrollPositionNow(this._scrollbarState.getDesiredScrollPositionFromOffset(this._mouseDownRelativePosition(t,n))),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(function(){})))},t.prototype._sliderMouseDown=function(e,t){var n=this,i=this._sliderMousePosition(e),o=this._sliderOrthogonalMousePosition(e),r=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(Ic,(function(e){var t=n._sliderOrthogonalMousePosition(e),s=Math.abs(t-o);if(F.g&&s>140)n._setDesiredScrollPositionNow(r.getScrollPosition());else{var a=n._sliderMousePosition(e)-i;n._setDesiredScrollPositionNow(r.getDesiredScrollPositionFromDelta(a))}}),(function(){n.slider.toggleClassName("active",!1),n._host.onDragEnd(),t()})),this._host.onDragStart()},t.prototype._setDesiredScrollPositionNow=function(e){var t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)},t}(nv),lv=function(){function e(e,t,n){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(n),this._arrowSize=Math.round(e),this._visibleSize=0,this._scrollSize=0,this._scrollPosition=0,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}return e.prototype.clone=function(){var t=new e(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize);return t.setVisibleSize(this._visibleSize),t.setScrollSize(this._scrollSize),t.setScrollPosition(this._scrollPosition),t},e.prototype.setVisibleSize=function(e){var t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)},e.prototype.setScrollSize=function(e){var t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)},e.prototype.setScrollPosition=function(e){var t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)},e._computeValues=function(e,t,n,i,o){var r=Math.max(0,n-e),s=Math.max(0,r-2*t),a=i>0&&i>n;if(!a)return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(s),computedSliderRatio:0,computedSliderPosition:0};var u=Math.round(Math.max(20,Math.floor(n*s/i))),l=(s-u)/(i-n),c=o*l;return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(u),computedSliderRatio:l,computedSliderPosition:Math.round(c)}},e.prototype._refreshComputedValues=function(){var t=e._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=t.computedAvailableSize,this._computedIsNeeded=t.computedIsNeeded,this._computedSliderSize=t.computedSliderSize,this._computedSliderRatio=t.computedSliderRatio,this._computedSliderPosition=t.computedSliderPosition},e.prototype.getArrowSize=function(){return this._arrowSize},e.prototype.getScrollPosition=function(){return this._scrollPosition},e.prototype.getRectangleLargeSize=function(){return this._computedAvailableSize},e.prototype.getRectangleSmallSize=function(){return this._scrollbarSize},e.prototype.isNeeded=function(){return this._computedIsNeeded},e.prototype.getSliderSize=function(){return this._computedSliderSize},e.prototype.getSliderPosition=function(){return this._computedSliderPosition},e.prototype.getDesiredScrollPositionFromOffset=function(e){if(!this._computedIsNeeded)return 0;var t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)},e.prototype.getDesiredScrollPositionFromDelta=function(e){if(!this._computedIsNeeded)return 0;var t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)},e}(),cv=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),dv=function(e){function t(t,n,i){var o=e.call(this,{lazyRender:n.lazyRender,host:i,scrollbarState:new lv(n.horizontalHasArrows?n.arrowSize:0,2===n.horizontal?0:n.horizontalScrollbarSize,2===n.vertical?0:n.verticalScrollbarSize),visibility:n.horizontal,extraScrollbarClassName:"horizontal",scrollable:t})||this;if(n.horizontalHasArrows){var r=(n.arrowSize-11)/2,s=(n.horizontalScrollbarSize-11)/2;o._createArrow({className:"left-arrow",top:s,left:r,bottom:void 0,right:void 0,bgWidth:n.arrowSize,bgHeight:n.horizontalScrollbarSize,onActivate:function(){return o._host.onMouseWheel(new _n(null,1,0))}}),o._createArrow({className:"right-arrow",top:s,left:void 0,bottom:void 0,right:r,bgWidth:n.arrowSize,bgHeight:n.horizontalScrollbarSize,onActivate:function(){return o._host.onMouseWheel(new _n(null,-1,0))}})}return o._createSlider(Math.floor((n.horizontalScrollbarSize-n.horizontalSliderSize)/2),0,void 0,n.horizontalSliderSize),o}return cv(t,e),t.prototype._updateSlider=function(e,t){this.slider.setWidth(e),this.slider.setLeft(t)},t.prototype._renderDomNode=function(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)},t.prototype.onDidScroll=function(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender},t.prototype._mouseDownRelativePosition=function(e,t){return e},t.prototype._sliderMousePosition=function(e){return e.posx},t.prototype._sliderOrthogonalMousePosition=function(e){return e.posy},t.prototype.writeScrollPosition=function(e,t){e.scrollLeft=t},t}(uv),hv=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),pv=function(e){function t(t,n,i){var o=e.call(this,{lazyRender:n.lazyRender,host:i,scrollbarState:new lv(n.verticalHasArrows?n.arrowSize:0,2===n.vertical?0:n.verticalScrollbarSize,0),visibility:n.vertical,extraScrollbarClassName:"vertical",scrollable:t})||this;if(n.verticalHasArrows){var r=(n.arrowSize-11)/2,s=(n.verticalScrollbarSize-11)/2;o._createArrow({className:"up-arrow",top:r,left:s,bottom:void 0,right:void 0,bgWidth:n.verticalScrollbarSize,bgHeight:n.arrowSize,onActivate:function(){return o._host.onMouseWheel(new _n(null,0,1))}}),o._createArrow({className:"down-arrow",top:void 0,left:s,bottom:r,right:void 0,bgWidth:n.verticalScrollbarSize,bgHeight:n.arrowSize,onActivate:function(){return o._host.onMouseWheel(new _n(null,0,-1))}})}return o._createSlider(0,Math.floor((n.verticalScrollbarSize-n.verticalSliderSize)/2),n.verticalSliderSize,void 0),o}return hv(t,e),t.prototype._updateSlider=function(e,t){this.slider.setHeight(e),this.slider.setTop(t)},t.prototype._renderDomNode=function(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)},t.prototype.onDidScroll=function(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender},t.prototype._mouseDownRelativePosition=function(e,t){return t},t.prototype._sliderMousePosition=function(e){return e.posy},t.prototype._sliderOrthogonalMousePosition=function(e){return e.posx},t.prototype.writeScrollPosition=function(e,t){e.scrollTop=t},t}(uv),fv=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),gv=function(){function e(e,t,n,i,o,r){(e|=0)<0&&(e=0),(n|=0)+e>(t|=0)&&(n=t-e),n<0&&(n=0),(i|=0)<0&&(i=0),(r|=0)+i>(o|=0)&&(r=o-i),r<0&&(r=0),this.width=e,this.scrollWidth=t,this.scrollLeft=n,this.height=i,this.scrollHeight=o,this.scrollTop=r}return e.prototype.equals=function(e){return this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop},e.prototype.withScrollDimensions=function(t){return new e(void 0!==t.width?t.width:this.width,void 0!==t.scrollWidth?t.scrollWidth:this.scrollWidth,this.scrollLeft,void 0!==t.height?t.height:this.height,void 0!==t.scrollHeight?t.scrollHeight:this.scrollHeight,this.scrollTop)},e.prototype.withScrollPosition=function(t){return new e(this.width,this.scrollWidth,void 0!==t.scrollLeft?t.scrollLeft:this.scrollLeft,this.height,this.scrollHeight,void 0!==t.scrollTop?t.scrollTop:this.scrollTop)},e.prototype.createScrollEvent=function(e){var t=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,i=this.scrollLeft!==e.scrollLeft,o=this.height!==e.height,r=this.scrollHeight!==e.scrollHeight,s=this.scrollTop!==e.scrollTop;return{width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:t,scrollWidthChanged:n,scrollLeftChanged:i,heightChanged:o,scrollHeightChanged:r,scrollTopChanged:s}},e}(),mv=function(e){function t(t,n){var i=e.call(this)||this;return i._onScroll=i._register(new Ne),i.onScroll=i._onScroll.event,i._smoothScrollDuration=t,i._scheduleAtNextAnimationFrame=n,i._state=new gv(0,0,0,0,0,0),i._smoothScrolling=null,i}return fv(t,e),t.prototype.dispose=function(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),e.prototype.dispose.call(this)},t.prototype.setSmoothScrollDuration=function(e){this._smoothScrollDuration=e},t.prototype.validateScrollPosition=function(e){return this._state.withScrollPosition(e)},t.prototype.getScrollDimensions=function(){return this._state},t.prototype.setScrollDimensions=function(e){var t=this._state.withScrollDimensions(e);this._setState(t),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)},t.prototype.getFutureScrollPosition=function(){return this._smoothScrolling?this._smoothScrolling.to:this._state},t.prototype.getCurrentScrollPosition=function(){return this._state},t.prototype.setScrollPositionNow=function(e){var t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t)},t.prototype.setScrollPositionSmooth=function(e){var t=this;if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:void 0===e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:void 0===e.scrollTop?this._smoothScrolling.to.scrollTop:e.scrollTop};var n=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===n.scrollLeft&&this._smoothScrolling.to.scrollTop===n.scrollTop)return;var i=this._smoothScrolling.combine(this._state,n,this._smoothScrollDuration);this._smoothScrolling.dispose(),this._smoothScrolling=i}else{n=this._state.withScrollPosition(e);this._smoothScrolling=yv.start(this._state,n,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((function(){t._smoothScrolling&&(t._smoothScrolling.animationFrameDisposable=null,t._performSmoothScrolling())}))},t.prototype._performSmoothScrolling=function(){var e=this;if(this._smoothScrolling){var t=this._smoothScrolling.tick(),n=this._state.withScrollPosition(t);if(this._setState(n),t.isDone)return this._smoothScrolling.dispose(),void(this._smoothScrolling=null);this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((function(){e._smoothScrolling&&(e._smoothScrolling.animationFrameDisposable=null,e._performSmoothScrolling())}))}},t.prototype._setState=function(e){var t=this._state;t.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(t)))},t}(me),vv=function(e,t,n){this.scrollLeft=e,this.scrollTop=t,this.isDone=n};function _v(e,t){var n=t-e;return function(t){return e+n*(1-function(e){return Math.pow(e,3)}(1-t))}}var yv=function(){function e(e,t,n,i){this.from=e,this.to=t,this.duration=i,this._startTime=n,this.animationFrameDisposable=null,this._initAnimations()}return e.prototype._initAnimations=function(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)},e.prototype._initAnimation=function(e,t,n){var i,o,r;if(Math.abs(e-t)>2.5*n){var s=void 0,a=void 0;return e0&&Math.abs(e.deltaY)>0)return 1;var t=.5;-1===this._front&&-1===this._rear||this._memory[this._rear];return(Math.abs(e.deltaX-Math.round(e.deltaX))>0||Math.abs(e.deltaY-Math.round(e.deltaY))>0)&&(t+=.25),Math.min(Math.max(t,0),1)},e.INSTANCE=new e,e}(),Sv=function(e){function t(t,n,i){var o=e.call(this)||this;o._onScroll=o._register(new Ne),o.onScroll=o._onScroll.event,t.style.overflow="hidden",o._options=Dv(n),o._scrollable=i,o._register(o._scrollable.onScroll((function(e){o._onDidScroll(e),o._onScroll.fire(e)})));var r={onMouseWheel:function(e){return o._onMouseWheel(e)},onDragStart:function(){return o._onDragStart()},onDragEnd:function(){return o._onDragEnd()}};return o._verticalScrollbar=o._register(new pv(o._scrollable,o._options,r)),o._horizontalScrollbar=o._register(new dv(o._scrollable,o._options,r)),o._domNode=document.createElement("div"),o._domNode.className="monaco-scrollable-element "+o._options.className,o._domNode.setAttribute("role","presentation"),o._domNode.style.position="relative",o._domNode.style.overflow="hidden",o._domNode.appendChild(t),o._domNode.appendChild(o._horizontalScrollbar.domNode.domNode),o._domNode.appendChild(o._verticalScrollbar.domNode.domNode),o._options.useShadows&&(o._leftShadowDomNode=Lc(document.createElement("div")),o._leftShadowDomNode.setClassName("shadow"),o._domNode.appendChild(o._leftShadowDomNode.domNode),o._topShadowDomNode=Lc(document.createElement("div")),o._topShadowDomNode.setClassName("shadow"),o._domNode.appendChild(o._topShadowDomNode.domNode),o._topLeftShadowDomNode=Lc(document.createElement("div")),o._topLeftShadowDomNode.setClassName("shadow top-left-corner"),o._domNode.appendChild(o._topLeftShadowDomNode.domNode)),o._listenOnDomNode=o._options.listenOnDomNode||o._domNode,o._mouseWheelToDispose=[],o._setListeningToMouseWheel(o._options.handleMouseWheel),o.onmouseover(o._listenOnDomNode,(function(e){return o._onMouseOver(e)})),o.onnonbubblingmouseout(o._listenOnDomNode,(function(e){return o._onMouseOut(e)})),o._hideTimeout=o._register(new Ln),o._isDragging=!1,o._mouseIsOver=!1,o._shouldRender=!0,o._revealOnScroll=!0,o}return bv(t,e),t.prototype.dispose=function(){this._mouseWheelToDispose=de(this._mouseWheelToDispose),e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getOverviewRulerLayoutInfo=function(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this._verticalScrollbar.delegateMouseDown(e)},t.prototype.getScrollDimensions=function(){return this._scrollable.getScrollDimensions()},t.prototype.setScrollDimensions=function(e){this._scrollable.setScrollDimensions(e)},t.prototype.updateClassName=function(e){this._options.className=e,F.d&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className},t.prototype.updateOptions=function(e){var t=Dv(e);this._options.handleMouseWheel=t.handleMouseWheel,this._options.mouseWheelScrollSensitivity=t.mouseWheelScrollSensitivity,this._options.fastScrollSensitivity=t.fastScrollSensitivity,this._setListeningToMouseWheel(this._options.handleMouseWheel),this._options.lazyRender||this._render()},t.prototype._setListeningToMouseWheel=function(e){var t=this;if(this._mouseWheelToDispose.length>0!==e&&(this._mouseWheelToDispose=de(this._mouseWheelToDispose),e)){this._mouseWheelToDispose.push(jn(this._listenOnDomNode,"mousewheel",(function(e){t._onMouseWheel(new _n(e))})))}},t.prototype._onMouseWheel=function(e){var t,n=wv.INSTANCE;if(n.accept(Date.now(),e.deltaX,e.deltaY),e.deltaY||e.deltaX){var i=e.deltaY*this._options.mouseWheelScrollSensitivity,o=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.flipAxes&&(i=(t=[o,i])[0],o=t[1]);var r=!F.d&&e.browserEvent&&e.browserEvent.shiftKey;!this._options.scrollYToX&&!r||o||(o=i,i=0),e.browserEvent&&e.browserEvent.altKey&&(o*=this._options.fastScrollSensitivity,i*=this._options.fastScrollSensitivity);var s=this._scrollable.getFutureScrollPosition(),a={};if(i){var u=s.scrollTop-50*i;this._verticalScrollbar.writeScrollPosition(a,u)}if(o){var l=s.scrollLeft-50*o;this._horizontalScrollbar.writeScrollPosition(a,l)}if(a=this._scrollable.validateScrollPosition(a),s.scrollLeft!==a.scrollLeft||s.scrollTop!==a.scrollTop)this._options.mouseWheelSmoothScroll&&n.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(a):this._scrollable.setScrollPositionNow(a),this._shouldRender=!0}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(e.preventDefault(),e.stopPropagation())},t.prototype._onDidScroll=function(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()},t.prototype.renderNow=function(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()},t.prototype._render=function(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){var e=this._scrollable.getCurrentScrollPosition(),t=e.scrollTop>0,n=e.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(n?" left":"")),this._topShadowDomNode.setClassName("shadow"+(t?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(t?" top":"")+(n?" left":""))}},t.prototype._onDragStart=function(){this._isDragging=!0,this._reveal()},t.prototype._onDragEnd=function(){this._isDragging=!1,this._hide()},t.prototype._onMouseOut=function(e){this._mouseIsOver=!1,this._hide()},t.prototype._onMouseOver=function(e){this._mouseIsOver=!0,this._reveal()},t.prototype._reveal=function(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()},t.prototype._hide=function(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())},t.prototype._scheduleHide=function(){var e=this;this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet((function(){return e._hide()}),500)},t}(nv),Lv=function(e){function t(t,n){var i=this;(n=n||{}).mouseWheelSmoothScroll=!1;var o=new mv(0,(function(e){return Un(e)}));return(i=e.call(this,t,n,o)||this)._register(o),i}return bv(t,e),t.prototype.setScrollPosition=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.getScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},t}(Sv),Nv=function(e){function t(t,n,i){return e.call(this,t,n,i)||this}return bv(t,e),t}(Sv),Ov=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i._element=t,i.onScroll((function(e){e.scrollTopChanged&&(i._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(i._element.scrollLeft=e.scrollLeft)})),i.scanDomNode(),i}return bv(t,e),t.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})},t}(Lv);function Dv(e){var t={lazyRender:void 0!==e.lazyRender&&e.lazyRender,className:void 0!==e.className?e.className:"",useShadows:void 0===e.useShadows||e.useShadows,handleMouseWheel:void 0===e.handleMouseWheel||e.handleMouseWheel,flipAxes:void 0!==e.flipAxes&&e.flipAxes,alwaysConsumeMouseWheel:void 0!==e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:void 0!==e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:void 0!==e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==e.fastScrollSensitivity?e.fastScrollSensitivity:5,mouseWheelSmoothScroll:void 0===e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:void 0!==e.arrowSize?e.arrowSize:11,listenOnDomNode:void 0!==e.listenOnDomNode?e.listenOnDomNode:null,horizontal:void 0!==e.horizontal?e.horizontal:1,horizontalScrollbarSize:void 0!==e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:void 0!==e.horizontalHasArrows&&e.horizontalHasArrows,vertical:void 0!==e.vertical?e.vertical:1,verticalScrollbarSize:void 0!==e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:void 0!==e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:void 0!==e.verticalSliderSize?e.verticalSliderSize:0};return t.horizontalSliderSize=void 0!==e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize=void 0!==e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,F.d&&(t.className+=" mac"),t}var xv=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),kv=function(e){function t(t,n,i,o){var r=e.call(this,t)||this,s=r._context.configuration.editor.viewInfo.scrollbar,a={listenOnDomNode:i.domNode,className:"editor-scrollable "+ed(t.theme.type),useShadows:!1,lazyRender:!0,vertical:s.vertical,horizontal:s.horizontal,verticalHasArrows:s.verticalHasArrows,horizontalHasArrows:s.horizontalHasArrows,verticalScrollbarSize:s.verticalScrollbarSize,verticalSliderSize:s.verticalSliderSize,horizontalScrollbarSize:s.horizontalScrollbarSize,horizontalSliderSize:s.horizontalSliderSize,handleMouseWheel:s.handleMouseWheel,arrowSize:s.arrowSize,mouseWheelScrollSensitivity:s.mouseWheelScrollSensitivity,fastScrollSensitivity:s.fastScrollSensitivity};r.scrollbar=r._register(new Nv(n.domNode,a,r._context.viewLayout.scrollable)),Kc.write(r.scrollbar.getDomNode(),5),r.scrollbarDomNode=Lc(r.scrollbar.getDomNode()),r.scrollbarDomNode.setPosition("absolute"),r._setLayout();var u=function(e,t,n){var i={};if(t){var o=e.scrollTop;o&&(i.scrollTop=r._context.viewLayout.getCurrentScrollTop()+o,e.scrollTop=0)}if(n){var s=e.scrollLeft;s&&(i.scrollLeft=r._context.viewLayout.getCurrentScrollLeft()+s,e.scrollLeft=0)}r._context.viewLayout.setScrollPositionNow(i)};return r._register(jn(i.domNode,"scroll",(function(e){return u(i.domNode,!0,!0)}))),r._register(jn(n.domNode,"scroll",(function(e){return u(n.domNode,!0,!1)}))),r._register(jn(o.domNode,"scroll",(function(e){return u(o.domNode,!0,!1)}))),r._register(jn(r.scrollbarDomNode.domNode,"scroll",(function(e){return u(r.scrollbarDomNode.domNode,!0,!1)}))),r}return xv(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._setLayout=function(){var e=this._context.configuration.editor.layoutInfo;this.scrollbarDomNode.setLeft(e.contentLeft),"right"===this._context.configuration.editor.viewInfo.minimap.side?this.scrollbarDomNode.setWidth(e.contentWidth+e.minimapWidth):this.scrollbarDomNode.setWidth(e.contentWidth),this.scrollbarDomNode.setHeight(e.contentHeight)},t.prototype.getOverviewRulerLayoutInfo=function(){return this.scrollbar.getOverviewRulerLayoutInfo()},t.prototype.getDomNode=function(){return this.scrollbarDomNode},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)},t.prototype.onConfigurationChanged=function(e){if(e.viewInfo){var t=this._context.configuration.editor,n={handleMouseWheel:t.viewInfo.scrollbar.handleMouseWheel,mouseWheelScrollSensitivity:t.viewInfo.scrollbar.mouseWheelScrollSensitivity,fastScrollSensitivity:t.viewInfo.scrollbar.fastScrollSensitivity};this.scrollbar.updateOptions(n)}return e.layoutInfo&&this._setLayout(),!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onThemeChanged=function(e){return this.scrollbar.updateClassName("editor-scrollable "+ed(this._context.theme.type)),!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this.scrollbar.renderNow()},t}(Uc),Ev=(n("Ll4U"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Iv=function(e,t,n){this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(n)},Mv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ev(t,e),t.prototype._render=function(e,t,n){for(var i=[],o=e;o<=t;o++){i[o-e]=[]}if(0===n.length)return i;n.sort((function(e,t){return e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.className',s=[],a=t;a<=n;a++){var u=a-t,l=i[u];0===l.length?s[u]="":s[u]='
=this._renderResult.length?"":this._renderResult[n]},t}(Mv),Pv=(n("4Ir3"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Rv=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._primaryLineNumber=0,n._lineHeight=n._context.configuration.editor.lineHeight,n._spaceWidth=n._context.configuration.editor.fontInfo.spaceWidth,n._enabled=n._context.configuration.editor.viewInfo.renderIndentGuides,n._activeIndentEnabled=n._context.configuration.editor.viewInfo.highlightActiveIndentGuide,n._renderResult=null,n._context.addEventHandler(n),n}return Pv(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.fontInfo&&(this._spaceWidth=this._context.configuration.editor.fontInfo.spaceWidth),e.viewInfo&&(this._enabled=this._context.configuration.editor.viewInfo.renderIndentGuides,this._activeIndentEnabled=this._context.configuration.editor.viewInfo.highlightActiveIndentGuide),!0},t.prototype.onCursorStateChanged=function(e){var t=e.selections[0],n=t.isEmpty()?t.positionLineNumber:0;return this._primaryLineNumber!==n&&(this._primaryLineNumber=n,!0)},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.onLanguageConfigurationChanged=function(e){return!0},t.prototype.prepareRender=function(e){if(this._enabled){var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._context.model.getOptions().indentSize*this._spaceWidth,o=e.scrollWidth,r=this._lineHeight,s=this._context.model.getLinesIndentGuides(t,n),a=0,u=0,l=0;if(this._activeIndentEnabled&&this._primaryLineNumber){var c=this._context.model.getActiveIndentGuide(this._primaryLineNumber,t,n);a=c.startLineNumber,u=c.endLineNumber,l=c.indent}for(var d=[],h=t;h<=n;h++){for(var p=a<=h&&h<=u,f=h-t,g=s[f],m="",v=e.visibleRangeForPosition(new Et(h,1)),_=v?v.left:0,y=1;y<=g;y++){if(m+='
',(_+=i)>o)break}d[f]=m}this._renderResult=d}else this._renderResult=null},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}(zd);id((function(e,t){var n=e.getColor(ap);n&&t.addRule(".monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 "+n+" inset; }");var i=e.getColor(up)||n;i&&t.addRule(".monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 "+i+" inset; }")}));n("fewy");var Av=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Fv=function(){function e(){this._currentVisibleRange=new It(1,1,1,1)}return e.prototype.getCurrentVisibleRange=function(){return this._currentVisibleRange},e.prototype.setCurrentVisibleRange=function(e){this._currentVisibleRange=e},e}(),Wv=function(e,t,n,i,o,r){this.lineNumber=e,this.startColumn=t,this.endColumn=n,this.startScrollTop=i,this.stopScrollTop=o,this.scrollType=r},Vv=function(e){function t(t,n){var i=e.call(this,t)||this;i._linesContent=n,i._textRangeRestingSpot=document.createElement("div"),i._visibleLines=new Wm(i),i.domNode=i._visibleLines.domNode;var o=i._context.configuration;return i._lineHeight=o.editor.lineHeight,i._typicalHalfwidthCharacterWidth=o.editor.fontInfo.typicalHalfwidthCharacterWidth,i._isViewportWrapping=o.editor.wrappingInfo.isViewportWrapping,i._revealHorizontalRightPadding=o.editor.viewInfo.revealHorizontalRightPadding,i._canUseLayerHinting=o.editor.canUseLayerHinting,i._viewLineOptions=new ud(o,i._context.theme.type),Kc.write(i.domNode,7),i.domNode.setClassName("view-lines"),ec.applyFontInfo(i.domNode,o.editor.fontInfo),i._maxLineWidth=0,i._asyncUpdateLineWidths=new On((function(){i._updateLineWidthsSlow()}),200),i._lastRenderedData=new Fv,i._horizontalRevealRequest=null,i}return Av(t,e),t.prototype.dispose=function(){this._asyncUpdateLineWidths.dispose(),e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this.domNode},t.prototype.createVisibleLine=function(){return new ld(this._viewLineOptions)},t.prototype.onConfigurationChanged=function(e){this._visibleLines.onConfigurationChanged(e),e.wrappingInfo&&(this._maxLineWidth=0);var t=this._context.configuration;return e.lineHeight&&(this._lineHeight=t.editor.lineHeight),e.fontInfo&&(this._typicalHalfwidthCharacterWidth=t.editor.fontInfo.typicalHalfwidthCharacterWidth),e.wrappingInfo&&(this._isViewportWrapping=t.editor.wrappingInfo.isViewportWrapping),e.viewInfo&&(this._revealHorizontalRightPadding=t.editor.viewInfo.revealHorizontalRightPadding),e.canUseLayerHinting&&(this._canUseLayerHinting=t.editor.canUseLayerHinting),e.fontInfo&&ec.applyFontInfo(this.domNode,t.editor.fontInfo),this._onOptionsMaybeChanged(),e.layoutInfo&&(this._maxLineWidth=0),!0},t.prototype._onOptionsMaybeChanged=function(){var e=this._context.configuration,t=new ud(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;for(var n=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber(),o=n;o<=i;o++){this._visibleLines.getVisibleLine(o).onOptionsChanged(this._viewLineOptions)}return!0}return!1},t.prototype.onCursorStateChanged=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=!1,o=t;o<=n;o++)i=this._visibleLines.getVisibleLine(o).onSelectionChanged()||i;return i},t.prototype.onDecorationsChanged=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=t;i<=n;i++)this._visibleLines.getVisibleLine(i).onDecorationsChanged();return!0},t.prototype.onFlushed=function(e){var t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t},t.prototype.onLinesChanged=function(e){return this._visibleLines.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._visibleLines.onLinesDeleted(e)},t.prototype.onLinesInserted=function(e){return this._visibleLines.onLinesInserted(e)},t.prototype.onRevealRangeRequest=function(e){var t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.range,e.verticalType),n=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range.startLineNumber!==e.range.endLineNumber?n={scrollTop:n.scrollTop,scrollLeft:0}:this._horizontalRevealRequest=new Wv(e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType):this._horizontalRevealRequest=null;var i=Math.abs(this._context.viewLayout.getCurrentScrollTop()-n.scrollTop);return 0===e.scrollType&&i>this._lineHeight?this._context.viewLayout.setScrollPositionSmooth(n):this._context.viewLayout.setScrollPositionNow(n),!0},t.prototype.onScrollChanged=function(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){var t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),n=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTopn)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0},t.prototype.onTokensChanged=function(e){return this._visibleLines.onTokensChanged(e)},t.prototype.onZonesChanged=function(e){return this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth),this._visibleLines.onZonesChanged(e)},t.prototype.onThemeChanged=function(e){return this._onOptionsMaybeChanged()},t.prototype.getPositionFromDOMInfo=function(e,t){var n=this._getViewLineDomNode(e);if(null===n)return null;var i=this._getLineNumberFor(n);if(-1===i)return null;if(i<1||i>this._context.model.getLineCount())return null;if(1===this._context.model.getLineMaxColumn(i))return new Et(i,1);var o=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber();if(ir)return null;var s=this._visibleLines.getVisibleLine(i).getColumnOfNodeOffset(i,e,t),a=this._context.model.getLineMinColumn(i);return sn?-1:this._visibleLines.getVisibleLine(e).getWidth()},t.prototype.linesVisibleRangesForRange=function(e,t){if(this.shouldRender())return null;var n=e.endLineNumber,i=It.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!i)return null;var o=[],r=0,s=new ad(this.domNode.domNode,this._textRangeRestingSpot),a=0;t&&(a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new Et(i.startLineNumber,1)).lineNumber);for(var u=this._visibleLines.getStartLineNumber(),l=this._visibleLines.getEndLineNumber(),c=i.startLineNumber;c<=i.endLineNumber;c++)if(!(cl)){var d=c===i.startLineNumber?i.startColumn:1,h=c===i.endLineNumber?i.endColumn:this._context.model.getLineMaxColumn(c),p=this._visibleLines.getVisibleLine(c).getVisibleRangesForRange(d,h,s);if(p&&0!==p.length){if(t&&cr)){var a=s===t.startLineNumber?t.startColumn:1,u=s===t.endLineNumber?t.endColumn:this._context.model.getLineMaxColumn(s),l=this._visibleLines.getVisibleLine(s).getVisibleRangesForRange(a,u,i);l&&0!==l.length&&(n=n.concat(l))}return 0===n.length?null:n},t.prototype.visibleRangeForPosition=function(e){var t=this.visibleRangesForRange2(new It(e.lineNumber,e.column,e.lineNumber,e.column));return t?t[0]:null},t.prototype.updateLineWidths=function(){this._updateLineWidths(!1)},t.prototype._updateLineWidthsFast=function(){return this._updateLineWidths(!0)},t.prototype._updateLineWidthsSlow=function(){this._updateLineWidths(!1)},t.prototype._updateLineWidths=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=1,o=!0,r=t;r<=n;r++){var s=this._visibleLines.getVisibleLine(r);!e||s.getWidthIsFast()?i=Math.max(i,s.getWidth()):o=!1}return o&&1===t&&n===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(i),o},t.prototype.prepareRender=function(){throw new Error("Not supported")},t.prototype.render=function(){throw new Error("Not supported")},t.prototype.renderText=function(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){var t=this._horizontalRevealRequest.lineNumber,n=this._horizontalRevealRequest.startColumn,i=this._horizontalRevealRequest.endColumn,o=this._horizontalRevealRequest.scrollType;if(e.startLineNumber<=t&&t<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();var r=this._computeScrollLeftToRevealRange(t,n,i);this._isViewportWrapping||this._ensureMaxLineWidth(r.maxHorizontalOffset),0===o?this._context.viewLayout.setScrollPositionSmooth({scrollLeft:r.scrollLeft}):this._context.viewLayout.setScrollPositionNow({scrollLeft:r.scrollLeft})}}this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),this._linesContent.setLayerHinting(this._canUseLayerHinting);var s=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-s),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())},t.prototype._ensureMaxLineWidth=function(e){var t=Math.ceil(e);this._maxLineWidthc&&(c=p.left+p.width)}return o=c,l=Math.max(0,l-t.HORIZONTAL_EXTRA_PX),c+=this._revealHorizontalRightPadding,{scrollLeft:this._computeMinimumScrolling(s,a,l,c),maxHorizontalOffset:o}},t.prototype._computeMinimumScrolling=function(e,t,n,i,o,r){o=!!o,r=!!r;var s=(t|=0)-(e|=0);return(i|=0)-(n|=0)t?Math.max(0,i-s):e:n},t.HORIZONTAL_EXTRA_PX=30,t}(Uc),jv=(n("afy/"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Bv=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._decorationsLeft=n._context.configuration.editor.layoutInfo.decorationsLeft,n._decorationsWidth=n._context.configuration.editor.layoutInfo.decorationsWidth,n._renderResult=null,n._context.addEventHandler(n),n}return jv(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.layoutInfo&&(this._decorationsLeft=this._context.configuration.editor.layoutInfo.decorationsLeft,this._decorationsWidth=this._context.configuration.editor.layoutInfo.decorationsWidth),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],i=0,o=0,r=t.length;o
',r=[],s=t;s<=n;s++){for(var a=s-t,u=i[a],l="",c=0,d=u.length;c';o[s]=u}this._renderResult=o},t.prototype.render=function(e,t){return this._renderResult?this._renderResult[t-e]:""},t}(Mv),Uv=(n("Z668"),function(){function e(t,n,i,o){this.r=e._clamp(t),this.g=e._clamp(n),this.b=e._clamp(i),this.a=e._clamp(o)}return e._clamp=function(e){return e<0?0:e>255?255:0|e},e.Empty=new e(0,0,0,0),e}()),Kv=function(){function e(){var e=this;this._onDidChange=new Ne,this.onDidChange=this._onDidChange.event,this._updateColorMap(),Hr.onDidChange((function(t){t.changedColorMap&&e._updateColorMap()}))}return e.getInstance=function(){return this._INSTANCE||(this._INSTANCE=new e),this._INSTANCE},e.prototype._updateColorMap=function(){var e=Hr.getColorMap();if(!e)return this._colors=[Uv.Empty],void(this._backgroundIsLight=!0);this._colors=[Uv.Empty];for(var t=1;t=.5,this._onDidChange.fire(void 0)},e.prototype.getColor=function(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]},e.prototype.backgroundIsLight=function(){return this._backgroundIsLight},e._INSTANCE=null,e}(),qv=function(){function e(t,n){if(760!==t.length)throw new Error("Invalid x2CharData");if(190!==n.length)throw new Error("Invalid x1CharData");this.x2charData=t,this.x1charData=n,this.x2charDataLight=e.soften(t,.8),this.x1charDataLight=e.soften(n,50/60)}return e.soften=function(e,t){for(var n=new Uint8ClampedArray(e.length),i=0,o=e.length;it.width||i+4>t.height)console.warn("bad render request outside image data");else{var u=a?this.x2charDataLight:this.x2charData,l=e._getChIndex(o),c=4*t.width,d=s.r,h=s.g,p=s.b,f=r.r-d,g=r.g-h,m=r.b-p,v=t.data,_=4*l*2,y=i*c+4*n,b=u[_]/255;v[y+0]=d+f*b,v[y+1]=h+g*b,v[y+2]=p+m*b;b=u[_+1]/255;v[y+4]=d+f*b,v[y+5]=h+g*b,v[y+6]=p+m*b,y+=c;b=u[_+2]/255;v[y+0]=d+f*b,v[y+1]=h+g*b,v[y+2]=p+m*b;b=u[_+3]/255;v[y+4]=d+f*b,v[y+5]=h+g*b,v[y+6]=p+m*b,y+=c;b=u[_+4]/255;v[y+0]=d+f*b,v[y+1]=h+g*b,v[y+2]=p+m*b;b=u[_+5]/255;v[y+4]=d+f*b,v[y+5]=h+g*b,v[y+6]=p+m*b,y+=c;b=u[_+6]/255;v[y+0]=d+f*b,v[y+1]=h+g*b,v[y+2]=p+m*b;b=u[_+7]/255;v[y+4]=d+f*b,v[y+5]=h+g*b,v[y+6]=p+m*b}},e.prototype.x1RenderChar=function(t,n,i,o,r,s,a){if(n+1>t.width||i+2>t.height)console.warn("bad render request outside image data");else{var u=a?this.x1charDataLight:this.x1charData,l=e._getChIndex(o),c=4*t.width,d=s.r,h=s.g,p=s.b,f=r.r-d,g=r.g-h,m=r.b-p,v=t.data,_=2*l*1,y=i*c+4*n,b=u[_]/255;v[y+0]=d+f*b,v[y+1]=h+g*b,v[y+2]=p+m*b,y+=c;b=u[_+1]/255;v[y+0]=d+f*b,v[y+1]=h+g*b,v[y+2]=p+m*b}},e.prototype.x2BlockRenderChar=function(e,t,n,i,o,r){if(t+2>e.width||n+4>e.height)console.warn("bad render request outside image data");else{var s=4*e.width,a=o.r,u=o.g,l=o.b,c=a+.5*(i.r-a),d=u+.5*(i.g-u),h=l+.5*(i.b-l),p=e.data,f=n*s+4*t;p[f+0]=c,p[f+1]=d,p[f+2]=h,p[f+4]=c,p[f+5]=d,p[f+6]=h,p[(f+=s)+0]=c,p[f+1]=d,p[f+2]=h,p[f+4]=c,p[f+5]=d,p[f+6]=h,p[(f+=s)+0]=c,p[f+1]=d,p[f+2]=h,p[f+4]=c,p[f+5]=d,p[f+6]=h,p[(f+=s)+0]=c,p[f+1]=d,p[f+2]=h,p[f+4]=c,p[f+5]=d,p[f+6]=h}},e.prototype.x1BlockRenderChar=function(e,t,n,i,o,r){if(t+1>e.width||n+2>e.height)console.warn("bad render request outside image data");else{var s=4*e.width,a=o.r,u=o.g,l=o.b,c=a+.5*(i.r-a),d=u+.5*(i.g-u),h=l+.5*(i.b-l),p=e.data,f=n*s+4*t;p[f+0]=c,p[f+1]=d,p[f+2]=h,p[(f+=s)+0]=c,p[f+1]=d,p[f+2]=h}},e}();function Gv(e){for(var t=new Uint8ClampedArray(e.length),n=0,i=e.length;n=s)return new e(a,u,_,y,c,b=1,s);var b=Math.max(1,Math.floor(n-y*h/p));return l&&l.scrollHeight===u&&(l.scrollTop>a&&(b=Math.min(b,l.startLineNumber)),l.scrollTop140)n._context.viewLayout.setScrollPositionNow({scrollTop:o.scrollTop});else{var s=e.posy-t;n._context.viewLayout.setScrollPositionNow({scrollTop:o.getDesiredScrollTopFromDelta(s)})}}),(function(){n._slider.toggleClassName("active",!1)}))}})),n}return Jv(t,e),t.prototype.dispose=function(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),e.prototype.dispose.call(this)},t.prototype._getMinimapDomNodeClassName=function(){return"always"===this._options.showSlider?"minimap slider-always":"minimap slider-mouseover"},t.prototype.getDomNode=function(){return this._domNode},t.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._slider.setWidth(this._options.minimapWidth)},t.prototype._getBuffer=function(){return this._buffers||(this._buffers=new r_(this._canvas.domNode.getContext("2d"),this._options.canvasInnerWidth,this._options.canvasInnerHeight,this._tokensColorTracker.getColor(2))),this._buffers.getBuffer()},t.prototype._onOptionsMaybeChanged=function(){var e=new t_(this._context.configuration);return!this._options.equals(e)&&(this._options=e,this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName()),!0)},t.prototype.onConfigurationChanged=function(e){return this._onOptionsMaybeChanged()},t.prototype.onFlushed=function(e){return this._lastRenderData=null,!0},t.prototype.onLinesChanged=function(e){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(e),!0},t.prototype.onLinesInserted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesInserted(e),!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onTokensChanged=function(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)},t.prototype.onTokensColorsChanged=function(e){return this._lastRenderData=null,this._buffers=null,!0},t.prototype.onZonesChanged=function(e){return this._lastRenderData=null,!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){if(0===this._options.renderMinimap)return this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),void this._sliderHorizontal.setHeight(0);e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");var t=n_.create(this._options,e.visibleRange.startLineNumber,e.visibleRange.endLineNumber,e.viewportHeight,e.viewportData.whitespaceViewportData.length>0,this._context.model.getLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setTop(t.sliderTop),this._slider.setHeight(t.sliderHeight);var n=e.scrollLeft/this._options.typicalHalfwidthCharacterWidth,i=Math.min(this._options.minimapWidth,Math.round(n*e_(this._options.renderMinimap)/this._options.pixelRatio));this._sliderHorizontal.setLeft(i),this._sliderHorizontal.setWidth(this._options.minimapWidth-i),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(t.sliderHeight),this._lastRenderData=this.renderLines(t)},t.prototype.renderLines=function(e){var n=this._options.renderMinimap,i=e.startLineNumber,o=e.endLineNumber,r=$v(n);if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){var s=this._lastRenderData._get();return new o_(e,s.imageData,s.lines)}for(var a=this._getBuffer(),u=t._renderUntouchedLines(a,i,o,r,this._lastRenderData),l=u[0],c=u[1],d=u[2],h=this._context.model.getMinimapLinesRenderingData(i,o,d),p=h.tabSize,f=this._tokensColorTracker.getColor(2),g=this._tokensColorTracker.backgroundIsLight(),m=0,v=[],_=0,y=o-i+1;_=0&&Nh)return;var C=l.charCodeAt(f);if(9===C){var w=a-(f+g)%a;g+=w-1,p+=w*d}else if(32===C)p+=d;else for(var S=ao(C)?2:1,L=0;Lh)return}},t}(Uc);id((function(e,t){var n=e.getColor(Ch);if(n){var i=n.transparent(.5);t.addRule(".monaco-editor .minimap-slider, .monaco-editor .minimap-slider .minimap-slider-horizontal { background: "+i+"; }")}var o=e.getColor(wh);if(o){var r=o.transparent(.5);t.addRule(".monaco-editor .minimap-slider:hover, .monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: "+r+"; }")}var s=e.getColor(Sh);if(s){var a=s.transparent(.5);t.addRule(".monaco-editor .minimap-slider.active, .monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: "+a+"; }")}var u=e.getColor(bh);u&&t.addRule(".monaco-editor .minimap-shadow-visible { box-shadow: "+u+" -6px 0 6px -6px inset; }")}));n("T02k");var a_=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),u_=function(e){function t(t){var n=e.call(this,t)||this;return n._widgets={},n._verticalScrollbarWidth=n._context.configuration.editor.layoutInfo.verticalScrollbarWidth,n._minimapWidth=n._context.configuration.editor.layoutInfo.minimapWidth,n._horizontalScrollbarHeight=n._context.configuration.editor.layoutInfo.horizontalScrollbarHeight,n._editorHeight=n._context.configuration.editor.layoutInfo.height,n._editorWidth=n._context.configuration.editor.layoutInfo.width,n._domNode=Lc(document.createElement("div")),Kc.write(n._domNode,4),n._domNode.setClassName("overlayWidgets"),n}return a_(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._widgets={}},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){return!!e.layoutInfo&&(this._verticalScrollbarWidth=this._context.configuration.editor.layoutInfo.verticalScrollbarWidth,this._minimapWidth=this._context.configuration.editor.layoutInfo.minimapWidth,this._horizontalScrollbarHeight=this._context.configuration.editor.layoutInfo.horizontalScrollbarHeight,this._editorHeight=this._context.configuration.editor.layoutInfo.height,this._editorWidth=this._context.configuration.editor.layoutInfo.width,!0)},t.prototype.addWidget=function(e){var t=Lc(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),this._domNode.appendChild(t),this.setShouldRender()},t.prototype.setWidgetPosition=function(e,t){var n=this._widgets[e.getId()];return n.preference!==t&&(n.preference=t,this.setShouldRender(),!0)},t.prototype.removeWidget=function(e){var t=e.getId();if(this._widgets.hasOwnProperty(t)){var n=this._widgets[t].domNode.domNode;delete this._widgets[t],n.parentNode.removeChild(n),this.setShouldRender()}},t.prototype._renderWidget=function(e){var t=e.domNode;if(null!==e.preference)if(0===e.preference)t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(1===e.preference){var n=t.domNode.clientHeight;t.setTop(this._editorHeight-n-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else 2===e.preference&&(t.setTop(0),t.domNode.style.right="50%");else t.unsetTop()},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setWidth(this._editorWidth);for(var t=Object.keys(this._widgets),n=0,i=t.length;n=3){var o,r,s,a=i-(o=Math.floor(i/3))-(r=Math.floor(i/3)),u=(s=e)+o;return[[0,s,u,s,s+o+a,s,u,s],[0,o,a,o+a,r,o+a+r,a+r,o+a+r]]}if(2===n)return[[0,s=e,s,s,s+(o=Math.floor(i/2)),s,s,s],[0,o,o,o,r=i-o,o+r,o+r,o+r]];return[[0,e,e,e,e,e,e,e],[0,i,i,i,i,i,i,i]]},e.prototype.equals=function(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColor===e.cursorColor&&this.themeType===e.themeType&&this.backgroundColor===e.backgroundColor&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight},e}(),d_=function(e){function t(t){var n=e.call(this,t)||this;return n._domNode=Lc(document.createElement("canvas")),n._domNode.setClassName("decorationsOverviewRuler"),n._domNode.setPosition("absolute"),n._domNode.setLayerHinting(!0),n._domNode.setAttribute("aria-hidden","true"),n._updateSettings(!1),n._tokensColorTrackerListener=Hr.onDidChange((function(e){e.changedColorMap&&n._updateSettings(!0)})),n._cursorPositions=[],n}return l_(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._tokensColorTrackerListener.dispose()},t.prototype._updateSettings=function(e){var t=new c_(this._context.configuration,this._context.theme);return(!this._settings||!this._settings.equals(t))&&(this._settings=t,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,e&&this._render(),!0)},t.prototype.onConfigurationChanged=function(e){return this._updateSettings(!1)},t.prototype.onCursorStateChanged=function(e){this._cursorPositions=[];for(var t=0,n=e.selections.length;tt&&(k=t-a),L=k-a,I=k+a;L>_+1||C!==m?(0!==y&&u.fillRect(l[m],v,c[m],_-v),m=C,v=L,_=I):I>_&&(_=I)}u.fillRect(l[m],v,c[m],_-v)}if(!this._settings.hideCursor&&this._settings.cursorColor){var N=2*this._settings.pixelRatio|0,O=N/2|0,D=this._settings.x[7],x=this._settings.w[7];u.fillStyle=this._settings.cursorColor;for(v=-100,_=-100,y=0,b=this._cursorPositions.length;yt&&(k=t-O);var I=(L=k-O)+N;L>_+1?(0!==y&&u.fillRect(D,v,x,_-v),v=L,_=I):I>_&&(_=I)}u.fillRect(D,v,x,_-v)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(u.beginPath(),u.lineWidth=1,u.strokeStyle=this._settings.borderColor,u.moveTo(0,0),u.lineTo(0,t),u.stroke(),u.moveTo(0,0),u.lineTo(e,0),u.stroke())},t}(Uc),h_=function(){function e(e,t,n){this.from=0|e,this.to=0|t,this.colorId=0|n}return e.compare=function(e,t){return e.colorId===t.colorId?e.from===t.from?e.to-t.to:e.from-t.from:e.colorId-t.colorId},e}(),p_=function(){function e(e,t,n){this.startLineNumber=e,this.endLineNumber=t,this.color=n,this._colorZone=null}return e.compare=function(e,t){return e.color===t.color?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.colorn&&(h=n-p);var f=u.color,g=this._color2Id[f];g||(g=++this._lastAssignedId,this._color2Id[f]=g,this._id2Color[g]=f);var m=new h_(h-p,h+p,g);u.setColorZone(m),r.push(m)}return this._colorZonesInvalid=!1,r.sort(h_.compare),r},e}(),g_=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),m_=function(e){function t(t,n){var i=e.call(this)||this;return i._context=t,i._domNode=Lc(document.createElement("canvas")),i._domNode.setClassName(n),i._domNode.setPosition("absolute"),i._domNode.setLayerHinting(!0),i._zoneManager=new f_((function(e){return i._context.viewLayout.getVerticalOffsetForLineNumber(e)})),i._zoneManager.setDOMWidth(0),i._zoneManager.setDOMHeight(0),i._zoneManager.setOuterHeight(i._context.viewLayout.getScrollHeight()),i._zoneManager.setLineHeight(i._context.configuration.editor.lineHeight),i._zoneManager.setPixelRatio(i._context.configuration.editor.pixelRatio),i._context.addEventHandler(i),i}return g_(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._zoneManager.setLineHeight(this._context.configuration.editor.lineHeight),this._render()),e.pixelRatio&&(this._zoneManager.setPixelRatio(this._context.configuration.editor.pixelRatio),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},t.prototype.onFlushed=function(e){return this._render(),!0},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0},t.prototype.onZonesChanged=function(e){return this._render(),!0},t.prototype.getDomNode=function(){return this._domNode.domNode},t.prototype.setLayout=function(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);var t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,(t=this._zoneManager.setDOMHeight(e.height)||t)&&(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())},t.prototype.setZones=function(e){this._zoneManager.setZones(e),this._render()},t.prototype._render=function(){if(0===this._zoneManager.getOuterHeight())return!1;var e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),n=this._zoneManager.resolveColorZones(),i=this._zoneManager.getId2Color(),o=this._domNode.domNode.getContext("2d");return o.clearRect(0,0,e,t),n.length>0&&this._renderOneLane(o,n,i,e),!0},t.prototype._renderOneLane=function(e,t,n,i){for(var o=0,r=0,s=0,a=0,u=t;a=d?s=Math.max(s,h):(e.fillRect(0,r,i,s-r),r=d,s=h)}e.fillRect(0,r,i,s-r)},t}(Hc),v_=(n("ya7L"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),__=function(e){function t(t){var n=e.call(this,t)||this;return n.domNode=Lc(document.createElement("div")),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n.domNode.setClassName("view-rulers"),n._renderedRulers=[],n._rulers=n._context.configuration.editor.viewInfo.rulers,n._typicalHalfwidthCharacterWidth=n._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,n}return v_(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return!!(e.viewInfo||e.layoutInfo||e.fontInfo)&&(this._rulers=this._context.configuration.editor.viewInfo.rulers,this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,!0)},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged},t.prototype.prepareRender=function(e){},t.prototype._ensureRulersCount=function(){var e=this._renderedRulers.length,t=this._rulers.length;if(e!==t)if(e0;){(r=Lc(document.createElement("div"))).setClassName("view-ruler"),r.setWidth(n),this.domNode.appendChild(r),this._renderedRulers.push(r),i--}else for(var o=e-t;o>0;){var r=this._renderedRulers.pop();this.domNode.removeChild(r),o--}},t.prototype.render=function(e){this._ensureRulersCount();for(var t=0,n=this._rulers.length;t0;return this._shouldShow!==e&&(this._shouldShow=e,!0)},t.prototype.getDomNode=function(){return this._domNode},t.prototype._updateWidth=function(){var e=this._context.configuration.editor.layoutInfo,t=0;return t=0===e.renderMinimap||e.minimapWidth>0&&0===e.minimapLeft?e.width:e.width-e.minimapWidth-e.verticalScrollbarWidth,this._width!==t&&(this._width=t,!0)},t.prototype.onConfigurationChanged=function(e){var t=!1;return e.viewInfo&&(this._useShadows=this._context.configuration.editor.viewInfo.scrollbar.useShadows),e.layoutInfo&&(t=this._updateWidth()),this._updateShouldShow()||t},t.prototype.onScrollChanged=function(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")},t}(Uc);id((function(e,t){var n=e.getColor(bh);n&&t.addRule(".monaco-editor .scroll-decoration { box-shadow: "+n+" 0 6px 6px -6px inset; }")}));n("nRg7");var C_=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),w_=function(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null},S_=function(e,t){this.lineNumber=e,this.ranges=t};function L_(e){return new w_(e)}function N_(e){return new S_(e.lineNumber,e.ranges.map(L_))}var O_=Xt,D_=function(e){function t(t){var n=e.call(this)||this;return n._previousFrameVisibleRangesWithStyle=[],n._context=t,n._lineHeight=n._context.configuration.editor.lineHeight,n._roundedSelection=n._context.configuration.editor.viewInfo.roundedSelection,n._typicalHalfwidthCharacterWidth=n._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,n._selections=[],n._renderResult=null,n._context.addEventHandler(n),n}return C_(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.viewInfo&&(this._roundedSelection=this._context.configuration.editor.viewInfo.roundedSelection),e.fontInfo&&(this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth),!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._visibleRangesHaveGaps=function(e){for(var t=0,n=e.length;t1)return!0}return!1},t.prototype._enrichVisibleRangesWithStyle=function(e,t,n){var i=this._typicalHalfwidthCharacterWidth/4,o=null,r=null;if(n&&n.length>0&&t.length>0){var s=t[0].lineNumber;if(s===e.startLineNumber)for(var a=0;!o&&a=0;a--)n[a].lineNumber===u&&(r=n[a].ranges[0]);o&&!o.startStyle&&(o=null),r&&!r.startStyle&&(r=null)}a=0;for(var l=t.length;a0){var g=t[a-1].ranges[0].left,m=t[a-1].ranges[0].left+t[a-1].ranges[0].width;x_(d-g)g&&(p.top=1),x_(h-m)'},t.prototype._actualRenderOneSelection=function(e,n,i,o){for(var r=o.length>0&&o[0].ranges[0].startStyle,s=this._lineHeight.toString(),a=(this._lineHeight-1).toString(),u=o.length>0?o[0].lineNumber:0,l=o.length>0?o[o.length-1].lineNumber:0,c=0,d=o.length;c1,l)}}this._previousFrameVisibleRangesWithStyle=r,this._renderResult=t},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t.SELECTION_CLASS_NAME="selected-text",t.SELECTION_TOP_LEFT="top-left-radius",t.SELECTION_BOTTOM_LEFT="bottom-left-radius",t.SELECTION_TOP_RIGHT="top-right-radius",t.SELECTION_BOTTOM_RIGHT="bottom-right-radius",t.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",t.ROUNDED_PIECE_WIDTH=10,t}(zd);function x_(e){return e<0?-e:e}id((function(e,t){var n=e.getColor(Rh);n&&t.addRule(".monaco-editor .focused .selected-text { background-color: "+n+"; }");var i=e.getColor(Fh);i&&t.addRule(".monaco-editor .selected-text { background-color: "+i+"; }");var o=e.getColor(Ah);o&&t.addRule(".monaco-editor .view-line span.inline-selected-text { color: "+o+"; }")}));n("UyhG");var k_=function(e,t,n,i,o,r){this.top=e,this.left=t,this.width=n,this.height=i,this.textContent=o,this.textContentClassName=r},E_=function(){function e(e){this._context=e,this._cursorStyle=this._context.configuration.editor.viewInfo.cursorStyle,this._lineHeight=this._context.configuration.editor.lineHeight,this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(this._context.configuration.editor.viewInfo.cursorWidth,this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Lc(document.createElement("div")),this._domNode.setClassName("cursor"),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),ec.applyFontInfo(this._domNode,this._context.configuration.editor.fontInfo),this._domNode.setDisplay("none"),this.updatePosition(new Et(1,1)),this._lastRenderedContent="",this._renderData=null}return e.prototype.getDomNode=function(){return this._domNode},e.prototype.getPosition=function(){return this._position},e.prototype.show=function(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)},e.prototype.hide=function(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)},e.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.fontInfo&&(ec.applyFontInfo(this._domNode,this._context.configuration.editor.fontInfo),this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth),e.viewInfo&&(this._cursorStyle=this._context.configuration.editor.viewInfo.cursorStyle,this._lineCursorWidth=Math.min(this._context.configuration.editor.viewInfo.cursorWidth,this._typicalHalfwidthCharacterWidth)),!0},e.prototype.onCursorPositionChanged=function(e){return this.updatePosition(e),!0},e.prototype._prepareRender=function(e){var t="",n="";if(this._cursorStyle===B.Line||this._cursorStyle===B.LineThin){var i,o=e.visibleRangeForPosition(this._position);if(!o)return null;if(this._cursorStyle===B.Line){if((i=Pi(this._lineCursorWidth>0?this._lineCursorWidth:2))>2)t=this._context.model.getLineContent(this._position.lineNumber).charAt(this._position.column-1)}else i=Pi(1);var r=o.left;i>=2&&r>=1&&(r-=1);var s=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta;return new k_(s,r,i,this._lineHeight,t,n)}var a=e.linesVisibleRangesForRange(new It(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+1),!1);if(!a||0===a.length||0===a[0].ranges.length)return null;var u=a[0].ranges[0],l=u.width<1?this._typicalHalfwidthCharacterWidth:u.width;if(this._cursorStyle===B.Block){var c=this._context.model.getViewLineData(this._position.lineNumber);t=c.content.charAt(this._position.column-1),to(c.content.charCodeAt(this._position.column-1))&&(t+=c.content.charAt(this._position.column));var d=c.tokens.findTokenIndexAtOffset(this._position.column-1);n=c.tokens.getClassName(d)}var h=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta,p=this._lineHeight;return this._cursorStyle!==B.Underline&&this._cursorStyle!==B.UnderlineThin||(h+=this._lineHeight-2,p=2),new k_(h,u.left,l,p,t,n)},e.prototype.prepareRender=function(e){this._renderData=this._prepareRender(e)},e.prototype.render=function(e){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)},e.prototype.updatePosition=function(e){this._position=e},e}(),I_=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),M_=function(e){function t(t){var n=e.call(this,t)||this;return n._readOnly=n._context.configuration.editor.readOnly,n._cursorBlinking=n._context.configuration.editor.viewInfo.cursorBlinking,n._cursorStyle=n._context.configuration.editor.viewInfo.cursorStyle,n._cursorSmoothCaretAnimation=n._context.configuration.editor.viewInfo.cursorSmoothCaretAnimation,n._selectionIsEmpty=!0,n._primaryCursor=new E_(n._context),n._secondaryCursors=[],n._renderData=[],n._domNode=Lc(document.createElement("div")),n._domNode.setAttribute("role","presentation"),n._domNode.setAttribute("aria-hidden","true"),n._updateDomClassName(),n._domNode.appendChild(n._primaryCursor.getDomNode()),n._startCursorBlinkAnimation=new Ln,n._cursorFlatBlinkInterval=new Nn,n._blinkingEnabled=!1,n._editorHasFocus=!1,n._updateBlinking(),n}return I_(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){e.readOnly&&(this._readOnly=this._context.configuration.editor.readOnly),e.viewInfo&&(this._cursorBlinking=this._context.configuration.editor.viewInfo.cursorBlinking,this._cursorStyle=this._context.configuration.editor.viewInfo.cursorStyle,this._cursorSmoothCaretAnimation=this._context.configuration.editor.viewInfo.cursorSmoothCaretAnimation),this._primaryCursor.onConfigurationChanged(e),this._updateBlinking(),e.viewInfo&&this._updateDomClassName();for(var t=0,n=this._secondaryCursors.length;tt.length){var r=this._secondaryCursors.length-t.length;for(i=0;in){var r=t-n;for(o=0;o=e+1&&this.lastAddedCursorIndex--,this.secondaryCursors[e].dispose(this.context),this.secondaryCursors.splice(e,1)},e.prototype._getAll=function(){var e=[];e[0]=this.primaryCursor;for(var t=0,n=this.secondaryCursors.length;td&&S.index--}e.splice(d,1),t.splice(c,1),this._removeSecondaryCursor(d-1),o--}}}}},e}(),G_=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();var Y_=function(e,t,n){this.selections=e,this.source=t,this.reason=n},Z_=function(){function e(e,t){this.modelVersionId=e.getVersionId(),this.cursorState=t.getAll()}return e.prototype.equals=function(e){if(!e)return!1;if(this.modelVersionId!==e.modelVersionId)return!1;if(this.cursorState.length!==e.cursorState.length)return!1;for(var t=0,n=this.cursorState.length;tt.MAX_CURSOR_COUNT&&(i=i.slice(0,t.MAX_CURSOR_COUNT),this._onDidReachMaxCursorCount.fire(void 0));var o=new Z_(this._model,this);this._cursors.setStates(i),this._cursors.normalize(),this._columnSelectData=null,this._emitStateChangedIfNecessary(e,n,o)},t.prototype.setColumnSelectData=function(e){this._columnSelectData=e},t.prototype.reveal=function(e,t,n){this._revealRange(t,0,e,n)},t.prototype.revealRange=function(e,t,n,i){this.emitCursorRevealRange(t,n,e,i)},t.prototype.scrollTo=function(e){this._viewModel.viewLayout.setScrollPositionSmooth({scrollTop:e})},t.prototype.saveState=function(){for(var e=[],t=this._cursors.getSelections(),n=0,i=t.length;n1)return;var a=new It(r.lineNumber,r.column,r.lineNumber,r.column);this.emitCursorRevealRange(a,t,n,i)},t.prototype.emitCursorRevealRange=function(e,t,n,i){try{this._beginEmit().emit(new Gp(e,t,n,i))}finally{this._endEmit()}},t.prototype.trigger=function(e,t,n){var i=Mo;if(t!==i.CompositionStart)if(t===i.CompositionEnd&&(this._isDoingComposition=!1),this._configuration.editor.readOnly)this._onDidAttemptReadOnlyEdit.fire(void 0);else{var o=new Z_(this._model,this),r=0;t!==i.Undo&&t!==i.Redo&&this._cursors.stopTrackingSelections(),this._cursors.ensureValidState(),this._isHandling=!0;try{switch(t){case i.Type:this._type(e,n.text);break;case i.ReplacePreviousChar:this._replacePreviousChar(n.text,n.replaceCharCnt);break;case i.Paste:r=4,this._paste(n.text,n.pasteOnNewLine,n.multicursorText);break;case i.Cut:this._cut();break;case i.Undo:r=5,this._interpretCommandResult(this._model.undo());break;case i.Redo:r=6,this._interpretCommandResult(this._model.redo());break;case i.ExecuteCommand:this._externalExecuteCommand(n);break;case i.ExecuteCommands:this._externalExecuteCommands(n);break;case i.CompositionEnd:this._interpretCompositionEnd(e)}}catch(e){re(e)}this._isHandling=!1,t!==i.Undo&&t!==i.Redo&&this._cursors.startTrackingSelections(),this._emitStateChangedIfNecessary(e,r,o)&&this._revealRange(0,0,!0,0)}else this._isDoingComposition=!0},t.prototype._interpretCompositionEnd=function(e){this._isDoingComposition||"keyboard"!==e||this._executeEditOperation(Cm.compositionEndWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections()))},t.prototype._type=function(e,t){if(this._isDoingComposition||"keyboard"!==e)this._executeEditOperation(Cm.typeWithoutInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),t));else for(var n=0,i=t.length;n0&&(r[0]._isTracked=!0);var u=e.model.pushEditOperations(e.selectionsBefore,r,(function(n){for(var i=[],o=0;o0?(i[n].sort(u),l[n]=t[n].computeCursorState(e.model,{getInverseEditOperations:function(){return i[n]},getTrackedSelection:function(t){var n=parseInt(t,10),i=e.model._getTrackedRange(e.trackedRanges[n]);return 0===e.trackedRangesDirection[n]?new Tt(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn):new Tt(i.endLineNumber,i.endColumn,i.startLineNumber,i.startColumn)}})):l[n]=e.selectionsBefore[n]};for(o=0;oo.identifier.major?i.identifier.major:o.identifier.major).toString()]=!0;for(var s=0;s0&&n--}}return t},e}(),J_=function(){function e(e,t,n,i,o,r){this.id=e,this.label=t,this.alias=n,this._precondition=i,this._run=o,this._contextKeyService=r}return e.prototype.isSupported=function(){return this._contextKeyService.contextMatchesRules(this._precondition)},e.prototype.run=function(){if(!this.isSupported())return Promise.resolve(void 0);var e=this._run();return e||Promise.resolve(void 0)},e}();function $_(e,t,n,i,o,r){for(var s="
",a=i,u=0,l=0,c=t.getCount();l0;)h+=" ",f--;break;case 60:h+="<";break;case 62:h+=">";break;case 38:h+="&";break;case 0:h+="�";break;case 65279:case 8232:h+="�";break;case 13:h+="​";break;default:h+=String.fromCharCode(p)}}if(s+=''+h+"",d>o||a>=o)break}}return s+="
"}var ey=function(){function e(){this._heights=[],this._minWidths=[],this._ids=[],this._afterLineNumbers=[],this._ordinals=[],this._prefixSum=[],this._prefixSumValidIndex=-1,this._whitespaceId2Index={},this._lastWhitespaceId=0,this._minWidth=-1}return e.findInsertionIndex=function(e,t,n,i){for(var o=0,r=e.length;o>>1;t===e[s]?i=t&&(this._whitespaceId2Index[l]=c+1)}this._whitespaceId2Index[e.toString()]=t,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)},e.prototype.changeWhitespace=function(e,t,n){e|=0,t|=0,n|=0;var i=!1;return i=this.changeWhitespaceHeight(e,n)||i,i=this.changeWhitespaceAfterLineNumber(e,t)||i},e.prototype.changeWhitespaceHeight=function(e,t){t|=0;var n=(e|=0).toString();if(this._whitespaceId2Index.hasOwnProperty(n)){var i=this._whitespaceId2Index[n];if(this._heights[i]!==t)return this._heights[i]=t,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,i-1),!0}return!1},e.prototype.changeWhitespaceAfterLineNumber=function(t,n){n|=0;var i=(t|=0).toString();if(this._whitespaceId2Index.hasOwnProperty(i)){var o=this._whitespaceId2Index[i];if(this._afterLineNumbers[o]!==n){var r=this._ordinals[o],s=this._heights[o],a=this._minWidths[o];this.removeWhitespace(t);var u=e.findInsertionIndex(this._afterLineNumbers,n,this._ordinals,r);return this._insertWhitespaceAtIndex(t,u,n,r,s,a),!0}}return!1},e.prototype.removeWhitespace=function(e){var t=(e|=0).toString();if(this._whitespaceId2Index.hasOwnProperty(t)){var n=this._whitespaceId2Index[t];return delete this._whitespaceId2Index[t],this._removeWhitespaceAtIndex(n),this._minWidth=-1,!0}return!1},e.prototype._removeWhitespaceAtIndex=function(e){e|=0,this._heights.splice(e,1),this._minWidths.splice(e,1),this._ids.splice(e,1),this._afterLineNumbers.splice(e,1),this._ordinals.splice(e,1),this._prefixSum.splice(e,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,e-1);for(var t=Object.keys(this._whitespaceId2Index),n=0,i=t.length;n=e&&(this._whitespaceId2Index[o]=r-1)}},e.prototype.onLinesDeleted=function(e,t){e|=0,t|=0;for(var n=0,i=this._afterLineNumbers.length;nt&&(this._afterLineNumbers[n]-=t-e+1)}},e.prototype.onLinesInserted=function(e,t){e|=0,t|=0;for(var n=0,i=this._afterLineNumbers.length;n=t.length||t[o+1]>=e)return o;n=o+1|0}else i=o-1|0}return-1},e.prototype._findFirstWhitespaceAfterLineNumber=function(e){e|=0;var t=this._findLastWhitespaceBeforeLineNumber(e)+1;return t1?this._lineHeight*(e-1):0)+this._whitespaces.getAccumulatedHeightBeforeLineNumber(e)},e.prototype.getWhitespaceAccumulatedHeightBeforeLineNumber=function(e){return this._whitespaces.getAccumulatedHeightBeforeLineNumber(e)},e.prototype.getWhitespaceMinWidth=function(){return this._whitespaces.getMinWidth()},e.prototype.isAfterLines=function(e){return e>this.getLinesTotalHeight()},e.prototype.getLineNumberAtOrAfterVerticalOffset=function(e){if((e|=0)<0)return 1;for(var t=0|this._lineCount,n=this._lineHeight,i=1,o=t;i=s+n)i=r+1;else{if(e>=s)return r;o=r}}return i>t?t:i},e.prototype.getLinesViewportData=function(e,t){e|=0,t|=0;var n,i,o=this._lineHeight,r=0|this.getLineNumberAtOrAfterVerticalOffset(e),s=0|this.getVerticalOffsetForLineNumber(r),a=0|this._lineCount,u=0|this._whitespaces.getFirstWhitespaceIndexAfterLineNumber(r),l=0|this._whitespaces.getCount();-1===u?(u=l,i=a+1,n=0):(i=0|this._whitespaces.getAfterLineNumberForWhitespaceIndex(u),n=0|this._whitespaces.getHeightForWhitespaceIndex(u));var c=s,d=c,h=0;s>=5e5&&(h=5e5*Math.floor(s/5e5),d-=h=Math.floor(h/o)*o);for(var p=[],f=e+(t-e)/2,g=-1,m=r;m<=a;m++){if(-1===g){(c<=f&&ff)&&(g=m)}for(c+=o,p[m-r]=d,d+=o;i===m;)d+=n,c+=n,++u>=l?i=a+1:(i=0|this._whitespaces.getAfterLineNumberForWhitespaceIndex(u),n=0|this._whitespaces.getHeightForWhitespaceIndex(u));if(c>=t){a=m;break}}-1===g&&(g=a);var v=0|this.getVerticalOffsetForLineNumber(a),_=r,y=a;return _t&&y--,{bigNumbersDelta:h,startLineNumber:r,endLineNumber:a,relativeVerticalOffset:p,centeredLineNumber:g,completelyVisibleStartLineNumber:_,completelyVisibleEndLineNumber:y}},e.prototype.getVerticalOffsetForWhitespaceIndex=function(e){e|=0;var t=this._whitespaces.getAfterLineNumberForWhitespaceIndex(e);return(t>=1?this._lineHeight*t:0)+(e>0?this._whitespaces.getAccumulatedHeight(e-1):0)},e.prototype.getWhitespaceIndexAtOrAfterVerticallOffset=function(e){e|=0;var t,n,i=0,o=this._whitespaces.getCount()-1;if(o<0)return-1;if(e>=this.getVerticalOffsetForWhitespaceIndex(o)+this._whitespaces.getHeightForWhitespaceIndex(o))return-1;for(;i=(n=this.getVerticalOffsetForWhitespaceIndex(t))+this._whitespaces.getHeightForWhitespaceIndex(t))i=t+1;else{if(e>=n)return t;o=t}return i},e.prototype.getWhitespaceAtVerticalOffset=function(e){e|=0;var t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0)return null;if(t>=this._whitespaces.getCount())return null;var n=this.getVerticalOffsetForWhitespaceIndex(t);if(n>e)return null;var i=this._whitespaces.getHeightForWhitespaceIndex(t);return{id:this._whitespaces.getIdForWhitespaceIndex(t),afterLineNumber:this._whitespaces.getAfterLineNumberForWhitespaceIndex(t),verticalOffset:n,height:i}},e.prototype.getWhitespaceViewportData=function(e,t){e|=0,t|=0;var n=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),i=this._whitespaces.getCount()-1;if(n<0)return[];for(var o=[],r=n;r<=i;r++){var s=this.getVerticalOffsetForWhitespaceIndex(r),a=this._whitespaces.getHeightForWhitespaceIndex(r);if(s>=t)break;o.push({id:this._whitespaces.getIdForWhitespaceIndex(r),afterLineNumber:this._whitespaces.getAfterLineNumberForWhitespaceIndex(r),verticalOffset:s,height:a})}return o},e.prototype.getWhitespaces=function(){return this._whitespaces.getWhitespaces(this._lineHeight)},e}(),ny=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),iy=function(e){function t(t,n,i){var o=e.call(this)||this;return o._configuration=t,o._linesLayout=new ty(n,o._configuration.editor.lineHeight),o.scrollable=o._register(new mv(0,i)),o._configureSmoothScrollDuration(),o.scrollable.setScrollDimensions({width:t.editor.layoutInfo.contentWidth,height:t.editor.layoutInfo.contentHeight}),o.onDidScroll=o.scrollable.onScroll,o._updateHeight(),o}return ny(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.onHeightMaybeChanged=function(){this._updateHeight()},t.prototype._configureSmoothScrollDuration=function(){this.scrollable.setSmoothScrollDuration(this._configuration.editor.viewInfo.smoothScrolling?125:0)},t.prototype.onConfigurationChanged=function(e){e.lineHeight&&this._linesLayout.setLineHeight(this._configuration.editor.lineHeight),e.layoutInfo&&this.scrollable.setScrollDimensions({width:this._configuration.editor.layoutInfo.contentWidth,height:this._configuration.editor.layoutInfo.contentHeight}),e.viewInfo&&this._configureSmoothScrollDuration(),this._updateHeight()},t.prototype.onFlushed=function(e){this._linesLayout.onFlushed(e)},t.prototype.onLinesDeleted=function(e,t){this._linesLayout.onLinesDeleted(e,t)},t.prototype.onLinesInserted=function(e,t){this._linesLayout.onLinesInserted(e,t)},t.prototype._getHorizontalScrollbarHeight=function(e){return 2===this._configuration.editor.viewInfo.scrollbar.horizontal||e.width>=e.scrollWidth?0:this._configuration.editor.viewInfo.scrollbar.horizontalScrollbarSize},t.prototype._getTotalHeight=function(){var e=this.scrollable.getScrollDimensions(),t=this._linesLayout.getLinesTotalHeight();return this._configuration.editor.viewInfo.scrollBeyondLastLine?t+=e.height-this._configuration.editor.lineHeight:t+=this._getHorizontalScrollbarHeight(e),Math.max(e.height,t)},t.prototype._updateHeight=function(){this.scrollable.setScrollDimensions({scrollHeight:this._getTotalHeight()})},t.prototype.getCurrentViewport=function(){var e=this.scrollable.getScrollDimensions(),t=this.scrollable.getCurrentScrollPosition();return new Ia(t.scrollTop,t.scrollLeft,e.width,e.height)},t.prototype.getFutureViewport=function(){var e=this.scrollable.getScrollDimensions(),t=this.scrollable.getFutureScrollPosition();return new Ia(t.scrollTop,t.scrollLeft,e.width,e.height)},t.prototype._computeScrollWidth=function(e,t){if(!this._configuration.editor.wrappingInfo.isViewportWrapping){var n=this._configuration.editor.viewInfo.scrollBeyondLastColumn*this._configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,i=this._linesLayout.getWhitespaceMinWidth();return Math.max(e+n,t,i)}return Math.max(e,t)},t.prototype.onMaxLineWidthChanged=function(e){var t=this._computeScrollWidth(e,this.getCurrentViewport().width);this.scrollable.setScrollDimensions({scrollWidth:t}),this._updateHeight()},t.prototype.saveState=function(){var e=this.scrollable.getFutureScrollPosition(),t=e.scrollTop,n=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t);return{scrollTop:t,scrollTopWithoutViewZones:t-this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(n),scrollLeft:e.scrollLeft}},t.prototype.addWhitespace=function(e,t,n,i){return this._linesLayout.insertWhitespace(e,t,n,i)},t.prototype.changeWhitespace=function(e,t,n){return this._linesLayout.changeWhitespace(e,t,n)},t.prototype.removeWhitespace=function(e){return this._linesLayout.removeWhitespace(e)},t.prototype.getVerticalOffsetForLineNumber=function(e){return this._linesLayout.getVerticalOffsetForLineNumber(e)},t.prototype.isAfterLines=function(e){return this._linesLayout.isAfterLines(e)},t.prototype.getLineNumberAtVerticalOffset=function(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)},t.prototype.getWhitespaceAtVerticalOffset=function(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)},t.prototype.getLinesViewportData=function(){var e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)},t.prototype.getLinesViewportDataAtScrollTop=function(e){var t=this.scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)},t.prototype.getWhitespaceViewportData=function(){var e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)},t.prototype.getWhitespaces=function(){return this._linesLayout.getWhitespaces()},t.prototype.getScrollWidth=function(){return this.scrollable.getScrollDimensions().scrollWidth},t.prototype.getScrollHeight=function(){return this.scrollable.getScrollDimensions().scrollHeight},t.prototype.getCurrentScrollLeft=function(){return this.scrollable.getCurrentScrollPosition().scrollLeft},t.prototype.getCurrentScrollTop=function(){return this.scrollable.getCurrentScrollPosition().scrollTop},t.prototype.validateScrollPosition=function(e){return this.scrollable.validateScrollPosition(e)},t.prototype.setScrollPositionNow=function(e){this.scrollable.setScrollPositionNow(e)},t.prototype.setScrollPositionSmooth=function(e){this.scrollable.setScrollPositionSmooth(e)},t.prototype.deltaScrollNow=function(e,t){var n=this.scrollable.getCurrentScrollPosition();this.scrollable.setScrollPositionNow({scrollLeft:n.scrollLeft+e,scrollTop:n.scrollTop+t})},t}(me),oy=function(e,t){this.outputLineIndex=e,this.outputOffset=t},ry=function(){function e(e){this._lines=e}return e.prototype.convertViewPositionToModelPosition=function(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)},e.prototype.convertViewRangeToModelRange=function(e){var t=this._lines.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),n=this._lines.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new It(t.lineNumber,t.column,n.lineNumber,n.column)},e.prototype.validateViewPosition=function(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)},e.prototype.validateViewRange=function(e,t){var n=this._lines.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),i=this._lines.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new It(n.lineNumber,n.column,i.lineNumber,i.column)},e.prototype.convertModelPositionToViewPosition=function(e){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column)},e.prototype.convertModelRangeToViewRange=function(e){var t=this._lines.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn),n=this._lines.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn);return new It(t.lineNumber,t.column,n.lineNumber,n.column)},e.prototype.modelPositionIsVisible=function(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)},e}(),sy=function(){function e(e,t,n,i,o,r){this.model=e,this._validModelVersionId=-1,this.tabSize=n,this.wrappingColumn=i,this.columnsForFullWidthChar=o,this.wrappingIndent=r,this.linePositionMapperFactory=t,this._constructLines(!0)}return e.prototype.dispose=function(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])},e.prototype.createCoordinatesConverter=function(){return new ry(this)},e.prototype._ensureValidState=function(){if(this.model.getVersionId()!==this._validModelVersionId)throw new Error("ViewModel is out of sync with Model!");this.lines.length!==this.model.getLineCount()&&this._constructLines(!1)},e.prototype._constructLines=function(e){var t=this;this.lines=[],e&&(this.hiddenAreasIds=[]);for(var n=this.model.getLinesContent(),i=n.length,o=new Uint32Array(i),r=this.hiddenAreasIds.map((function(e){return t.model.getDecorationRange(e)})).sort(It.compareRangesUsingStarts),s=1,a=0,u=-1,l=u+1=s&&d<=a,p=cy(this.linePositionMapperFactory,n[c],this.tabSize,this.wrappingColumn,this.columnsForFullWidthChar,this.wrappingIndent,!h);o[c]=p.getViewLineCount(),this.lines[c]=p}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new zs(o)},e.prototype.getHiddenAreas=function(){var e=this;return this.hiddenAreasIds.map((function(t){return e.model.getDecorationRange(t)}))},e.prototype._reduceRanges=function(e){var t=this;if(0===e.length)return[];for(var n=e.map((function(e){return t.model.validateRange(e)})).sort(It.compareRangesUsingStarts),i=[],o=n[0].startLineNumber,r=n[0].endLineNumber,s=1,a=n.length;sr+1?(i.push(new It(o,1,r,1)),o=u.startLineNumber,r=u.endLineNumber):u.endLineNumber>r&&(r=u.endLineNumber)}return i.push(new It(o,1,r,1)),i},e.prototype.setHiddenAreas=function(e){var t=this,n=this._reduceRanges(e),i=this.hiddenAreasIds.map((function(e){return t.model.getDecorationRange(e)})).sort(It.compareRangesUsingStarts);if(n.length===i.length){for(var o=!1,r=0;r=d&&m<=h?this.lines[r].isVisible()&&(this.lines[r]=this.lines[r].setVisible(!1),v=!0):(g=!0,this.lines[r].isVisible()||(this.lines[r]=this.lines[r].setVisible(!0),v=!0)),v){var _=this.lines[r].getViewLineCount();this.prefixSumComputer.changeValue(r,_)}}return g||this.setHiddenAreas([]),!0},e.prototype.modelPositionIsVisible=function(e,t){return!(e<1||e>this.lines.length)&&this.lines[e-1].isVisible()},e.prototype.setTabSize=function(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1),!0)},e.prototype.setWrappingSettings=function(e,t,n){return(this.wrappingIndent!==e||this.wrappingColumn!==t||this.columnsForFullWidthChar!==n)&&(this.wrappingIndent=e,this.wrappingColumn=t,this.columnsForFullWidthChar=n,this._constructLines(!1),!0)},e.prototype.onModelFlushed=function(){this._constructLines(!0)},e.prototype.onModelLinesDeleted=function(e,t,n){if(e<=this._validModelVersionId)return null;var i=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,o=this.prefixSumComputer.getAccumulatedValue(n-1);return this.lines.splice(t-1,n-t+1),this.prefixSumComputer.removeValues(t-1,n-t+1),new Kp(i,o)},e.prototype.onModelLinesInserted=function(e,t,n,i){if(e<=this._validModelVersionId)return null;for(var o=this.getHiddenAreas(),r=!1,s=new Et(t,1),a=0,u=o;aa?(f=(p=(c=(l=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1)+a-1)+1)+(o-a)-1,u=!0):ot?t:e},e.prototype.warmUpLookupCache=function(e,t){this.prefixSumComputer.warmUpCache(e-1,t-1)},e.prototype.getActiveIndentGuide=function(e,t,n){this._ensureValidState(),e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),n=this._toValidViewLineNumber(n);var i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),o=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),r=this.convertViewPositionToModelPosition(n,this.getViewLineMinColumn(n)),s=this.model.getActiveIndentGuide(i.lineNumber,o.lineNumber,r.lineNumber),a=this.convertModelPositionToViewPosition(s.startLineNumber,1),u=this.convertModelPositionToViewPosition(s.endLineNumber,this.model.getLineMaxColumn(s.endLineNumber));return{startLineNumber:a.lineNumber,endLineNumber:u.lineNumber,indent:s.indent}},e.prototype.getViewLinesIndentGuides=function(e,t){this._ensureValidState(),e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);for(var n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),i=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),o=[],r=[],s=[],a=n.lineNumber-1,u=i.lineNumber-1,l=null,c=a;c<=u;c++){var d=this.lines[c];if(d.isVisible()){var h=d.getViewLineNumberOfModelPosition(0,c===a?n.column:1),p=d.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(c+1)),f=0;(C=p-h+1)>1&&1===d.getViewLineMinColumn(this.model,c+1,p)&&(f=0===h?1:2),r.push(C),s.push(f),null===l&&(l=new Et(c+1,0))}else null!==l&&(o=o.concat(this.model.getLinesIndentGuides(l.lineNumber,c)),l=null)}null!==l&&(o=o.concat(this.model.getLinesIndentGuides(l.lineNumber,i.lineNumber)),l=null);for(var g=t-e+1,m=new Array(g),v=0,_=0,y=o.length;_t&&(p=!0,h=t-o+1);var f=d+h;if(c.getViewLinesData(this.model,u+1,d,f,o-e,n,a),o+=h,p)break}}return a},e.prototype.validateViewPosition=function(e,t,n){this._ensureValidState(),e=this._toValidViewLineNumber(e);var i=this.prefixSumComputer.getIndexOf(e-1),o=i.index,r=i.remainder,s=this.lines[o],a=s.getViewLineMinColumn(this.model,o+1,r),u=s.getViewLineMaxColumn(this.model,o+1,r);tu&&(t=u);var l=s.getModelColumnOfViewPosition(r,t);return this.model.validatePosition(new Et(o+1,l)).equals(n)?new Et(e,t):this.convertModelPositionToViewPosition(n.lineNumber,n.column)},e.prototype.convertViewPositionToModelPosition=function(e,t){this._ensureValidState(),e=this._toValidViewLineNumber(e);var n=this.prefixSumComputer.getIndexOf(e-1),i=n.index,o=n.remainder,r=this.lines[i].getModelColumnOfViewPosition(o,t);return this.model.validatePosition(new Et(i+1,r))},e.prototype.convertModelPositionToViewPosition=function(e,t){this._ensureValidState();for(var n=this.model.validatePosition(new Et(e,t)),i=n.lineNumber,o=n.column,r=i-1,s=!1;r>0&&!this.lines[r].isVisible();)r--,s=!0;if(0===r&&!this.lines[r].isVisible())return new Et(1,1);var a=1+(0===r?0:this.prefixSumComputer.getAccumulatedValue(r-1));return s?this.lines[r].getViewPositionOfModelPosition(a,this.model.getLineMaxColumn(r+1)):this.lines[i-1].getViewPositionOfModelPosition(a,o)},e.prototype._getViewLineNumberForModelPosition=function(e,t){var n=e-1;if(this.lines[n].isVisible()){var i=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(i,t)}for(;n>0&&!this.lines[n].isVisible();)n--;if(0===n&&!this.lines[n].isVisible())return 1;var o=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(o,this.model.getLineMaxColumn(n+1))},e.prototype.getAllOverviewRulerDecorations=function(e,t,n){for(var i=this.model.getOverviewRulerDecorations(e,t),o=new py,r=0,s=i;rt.id?1:0:n}));for(var d=[],h=0,p=null,f=0,g=r;f0&&(r=this.wrappedIndent+r),r},e.prototype.getViewLineLength=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n)-i;return n>0&&(o=this.wrappedIndent.length+o),o},e.prototype.getViewLineMinColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return n>0?this.wrappedIndentLength+1:1},e.prototype.getViewLineMaxColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(e,t,n).length+1},e.prototype.getViewLineData=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n),r=e.getValueInRange({startLineNumber:t,startColumn:i+1,endLineNumber:t,endColumn:o+1});n>0&&(r=this.wrappedIndent+r);var s=n>0?this.wrappedIndentLength+1:1,a=r.length+1,u=n+10&&(l=this.wrappedIndentLength);var c=e.getLineTokens(t);return new Ta(r,u,s,a,c.sliceAndInflate(i,o,l))},e.prototype.getViewLinesData=function(e,t,n,i,o,r,s){if(!this._isVisible)throw new Error("Not supported");for(var a=n;a0&&(n0&&(o+=this.wrappedIndentLength),new Et(e+i,o)},e.prototype.getViewLineNumberOfModelPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");return e+this.positionMapper.getOutputPositionOfInputOffset(t-1).outputLineIndex},e}();function cy(e,t,n,i,o,r,s){var a=e.createLineMapping(t,n,i,o,r);return null===a?s?ay.INSTANCE:uy.INSTANCE:new ly(a,s)}var dy=function(){function e(e){this._lines=e}return e.prototype._validPosition=function(e){return this._lines.model.validatePosition(e)},e.prototype._validRange=function(e){return this._lines.model.validateRange(e)},e.prototype.convertViewPositionToModelPosition=function(e){return this._validPosition(e)},e.prototype.convertViewRangeToModelRange=function(e){return this._validRange(e)},e.prototype.validateViewPosition=function(e,t){return this._validPosition(t)},e.prototype.validateViewRange=function(e,t){return this._validRange(t)},e.prototype.convertModelPositionToViewPosition=function(e){return this._validPosition(e)},e.prototype.convertModelRangeToViewRange=function(e){return this._validRange(e)},e.prototype.modelPositionIsVisible=function(e){var t=this._lines.model.getLineCount();return!(e.lineNumber<1||e.lineNumber>t)},e}(),hy=function(){function e(e){this.model=e}return e.prototype.dispose=function(){},e.prototype.createCoordinatesConverter=function(){return new dy(this)},e.prototype.getHiddenAreas=function(){return[]},e.prototype.setHiddenAreas=function(e){return!1},e.prototype.setTabSize=function(e){return!1},e.prototype.setWrappingSettings=function(e,t,n){return!1},e.prototype.onModelFlushed=function(){},e.prototype.onModelLinesDeleted=function(e,t,n){return new Kp(t,n)},e.prototype.onModelLinesInserted=function(e,t,n,i){return new qp(t,n)},e.prototype.onModelLineChanged=function(e,t,n){return[!1,new Up(t,t),null,null]},e.prototype.acceptVersionId=function(e){},e.prototype.getViewLineCount=function(){return this.model.getLineCount()},e.prototype.warmUpLookupCache=function(e,t){},e.prototype.getActiveIndentGuide=function(e,t,n){return{startLineNumber:e,endLineNumber:e,indent:0}},e.prototype.getViewLinesIndentGuides=function(e,t){for(var n=t-e+1,i=new Array(n),o=0;o=t)return void(n>s&&(o[o.length-1]=n));o.push(i,t,n)}else this.result[e]=[i,t,n]},e}(),fy=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),gy=function(e){function t(t,n,i){for(var o=e.call(this,0)||this,r=0;r=12352&&t<=12543||t>=13312&&t<=19903||t>=19968&&t<=40959?4:e.prototype.get.call(this,t)},t}(Ks),my=function(){function e(e,t,n){this.classifier=new gy(e,t,n)}return e.nextVisibleColumn=function(e,t,n,i){return e=+e,t=+t,i=+i,n?e+(t-e%t):e+i},e.prototype.createLineMapping=function(t,n,i,o,r){if(-1===i)return null;n=+n,i=+i,o=+o;var s=0,a="",u=-1;if(0!==(r=+r)&&-1!==(u=qi(t))){a=t.substring(0,u);for(var l=0;li&&(a="",s=0)}var d=this.classifier,h=0,p=[],f=0,g=0,m=-1,v=0,_=-1,y=0,b=t.length;for(l=0;l0){var L=t.charCodeAt(l-1);1!==d.get(L)&&(m=l,v=s)}var N=1;if(ao(C)&&(N=o),(g=e.nextVisibleColumn(g,n,w,N))>i&&0!==l){var O=void 0,D=void 0;-1!==m&&v<=i?(O=m,D=v):-1!==_&&y<=i?(O=_,D=y):(O=l,D=s),p[f++]=O-h,h=O,g=e.nextVisibleColumn(D,n,w,N),m=-1,v=0,_=-1,y=0}if(-1!==m&&(v=e.nextVisibleColumn(v,n,w,N)),-1!==_&&(y=e.nextVisibleColumn(y,n,w,N)),2===S&&(0===r||l>=u)&&(m=l+1,v=s),4===S&&l=2&&e.viewportStartLineTrackedRange){var g=e.model._getTrackedRange(e.viewportStartLineTrackedRange);if(g){var m=e.coordinatesConverter.convertModelPositionToViewPosition(g.getStartPosition()),v=e.viewLayout.getVerticalOffsetForLineNumber(m.lineNumber);e.viewLayout.setScrollPositionNow({scrollTop:v+e.viewportStartLineDelta})}}}))),this._register(this.model.onDidChangeTokens((function(t){for(var n=[],i=0,o=t.ranges.length;ia||(r0&&s[u-1]===s[u]||(a+=this.model.getLineContent(s[u])+o);return a}for(var l=[],c=0,d=r;c'+this._getHTMLToCopy(n,r)+""},t.prototype._getHTMLToCopy=function(e,t){for(var n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn,s=this.getTabSize(),a="",u=n;u<=o;u++){var l=this.model.getLineTokens(u),c=l.getLineContent(),d=u===n?i-1:0,h=u===o?r-1:c.length;a+=""===c?"
":$_(c,l.inflate(),t,d,h,s)}return a},t.prototype._getColorMap=function(){var e=Hr.getColorMap(),t=["#000000"];if(e)for(var n=1,i=e.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ny=function(e,t){return function(n,i){t(n,i,e)}},Oy=0,Dy=function(){function e(e,t,n,i,o,r){this.model=e,this.viewModel=t,this.cursor=n,this.view=i,this.hasRealView=o,this.listenersToRemove=r}return e.prototype.dispose=function(){de(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.cursor.dispose(),this.viewModel.dispose()},e}(),xy=function(e){function t(t,n,i,o,r,s,a,u,l,c){var d,h=e.call(this)||this;h._onDidDispose=h._register(new Ne),h.onDidDispose=h._onDidDispose.event,h._onDidChangeModelContent=h._register(new Ne),h.onDidChangeModelContent=h._onDidChangeModelContent.event,h._onDidChangeModelLanguage=h._register(new Ne),h.onDidChangeModelLanguage=h._onDidChangeModelLanguage.event,h._onDidChangeModelLanguageConfiguration=h._register(new Ne),h.onDidChangeModelLanguageConfiguration=h._onDidChangeModelLanguageConfiguration.event,h._onDidChangeModelOptions=h._register(new Ne),h.onDidChangeModelOptions=h._onDidChangeModelOptions.event,h._onDidChangeModelDecorations=h._register(new Ne),h.onDidChangeModelDecorations=h._onDidChangeModelDecorations.event,h._onDidChangeConfiguration=h._register(new Ne),h.onDidChangeConfiguration=h._onDidChangeConfiguration.event,h._onDidChangeModel=h._register(new Ne),h.onDidChangeModel=h._onDidChangeModel.event,h._onDidChangeCursorPosition=h._register(new Ne),h.onDidChangeCursorPosition=h._onDidChangeCursorPosition.event,h._onDidChangeCursorSelection=h._register(new Ne),h.onDidChangeCursorSelection=h._onDidChangeCursorSelection.event,h._onDidAttemptReadOnlyEdit=h._register(new Ne),h.onDidAttemptReadOnlyEdit=h._onDidAttemptReadOnlyEdit.event,h._onDidLayoutChange=h._register(new Ne),h.onDidLayoutChange=h._onDidLayoutChange.event,h._editorTextFocus=h._register(new ky),h.onDidFocusEditorText=h._editorTextFocus.onDidChangeToTrue,h.onDidBlurEditorText=h._editorTextFocus.onDidChangeToFalse,h._editorWidgetFocus=h._register(new ky),h.onDidFocusEditorWidget=h._editorWidgetFocus.onDidChangeToTrue,h.onDidBlurEditorWidget=h._editorWidgetFocus.onDidChangeToFalse,h._onWillType=h._register(new Ne),h.onWillType=h._onWillType.event,h._onDidType=h._register(new Ne),h.onDidType=h._onDidType.event,h._onCompositionStart=h._register(new Ne),h.onCompositionStart=h._onCompositionStart.event,h._onCompositionEnd=h._register(new Ne),h.onCompositionEnd=h._onCompositionEnd.event,h._onDidPaste=h._register(new Ne),h.onDidPaste=h._onDidPaste.event,h._onMouseUp=h._register(new Ne),h.onMouseUp=h._onMouseUp.event,h._onMouseDown=h._register(new Ne),h.onMouseDown=h._onMouseDown.event,h._onMouseDrag=h._register(new Ne),h.onMouseDrag=h._onMouseDrag.event,h._onMouseDrop=h._register(new Ne),h.onMouseDrop=h._onMouseDrop.event,h._onContextMenu=h._register(new Ne),h.onContextMenu=h._onContextMenu.event,h._onMouseMove=h._register(new Ne),h.onMouseMove=h._onMouseMove.event,h._onMouseLeave=h._register(new Ne),h.onMouseLeave=h._onMouseLeave.event,h._onKeyUp=h._register(new Ne),h.onKeyUp=h._onKeyUp.event,h._onKeyDown=h._register(new Ne),h.onKeyDown=h._onKeyDown.event,h._onDidScrollChange=h._register(new Ne),h.onDidScrollChange=h._onDidScrollChange.event,h._onDidChangeViewZones=h._register(new Ne),h.onDidChangeViewZones=h._onDidChangeViewZones.event,h._domElement=t,h._id=++Oy,h._decorationTypeKeysToIds={},h._decorationTypeSubtypes={},h.isSimpleWidget=i.isSimpleWidget||!1,h._telemetryData=i.telemetryData,n=n||{},h._configuration=h._register(h._createConfiguration(n,c)),h._register(h._configuration.onDidChange((function(e){h._onDidChangeConfiguration.fire(e),e.layoutInfo&&h._onDidLayoutChange.fire(h._configuration.editor.layoutInfo),h._configuration.editor.showUnused?h._domElement.classList.add("showUnused"):h._domElement.classList.remove("showUnused")}))),h._contextKeyService=h._register(a.createScoped(h._domElement)),h._notificationService=l,h._codeEditorService=r,h._commandService=s,h._themeService=u,h._register(new Ey(h,h._contextKeyService)),h._register(new Iy(h,h._contextKeyService)),h._instantiationService=o.createChild(new Cy([ol,h._contextKeyService])),h._attachModel(null),h._contributions={},h._actions={},h._focusTracker=new My(t),h._focusTracker.onChange((function(){h._editorWidgetFocus.setValue(h._focusTracker.hasFocus())})),h._contentWidgets={},h._overlayWidgets={};for(var p=0,f=(d=Array.isArray(i.contributions)?i.contributions:uc.getEditorContributions()).length;p1),this._hasNonEmptySelection.set(e.some((function(e){return!e.isEmpty()})))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())},t.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())},t.prototype._updateFromModel=function(){var e=this._editor.getModel();this._canUndo.set(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))},t}(me),Iy=function(e){function t(t,n){var i=e.call(this)||this;i._editor=t,i._langId=vm.languageId.bindTo(n),i._hasCompletionItemProvider=vm.hasCompletionItemProvider.bindTo(n),i._hasCodeActionsProvider=vm.hasCodeActionsProvider.bindTo(n),i._hasCodeLensProvider=vm.hasCodeLensProvider.bindTo(n),i._hasDefinitionProvider=vm.hasDefinitionProvider.bindTo(n),i._hasDeclarationProvider=vm.hasDeclarationProvider.bindTo(n),i._hasImplementationProvider=vm.hasImplementationProvider.bindTo(n),i._hasTypeDefinitionProvider=vm.hasTypeDefinitionProvider.bindTo(n),i._hasHoverProvider=vm.hasHoverProvider.bindTo(n),i._hasDocumentHighlightProvider=vm.hasDocumentHighlightProvider.bindTo(n),i._hasDocumentSymbolProvider=vm.hasDocumentSymbolProvider.bindTo(n),i._hasReferenceProvider=vm.hasReferenceProvider.bindTo(n),i._hasRenameProvider=vm.hasRenameProvider.bindTo(n),i._hasDocumentFormattingProvider=vm.hasDocumentFormattingProvider.bindTo(n),i._hasDocumentSelectionFormattingProvider=vm.hasDocumentSelectionFormattingProvider.bindTo(n),i._hasSignatureHelpProvider=vm.hasSignatureHelpProvider.bindTo(n),i._isInWalkThrough=vm.isInEmbeddedEditor.bindTo(n);var o=function(){return i._update()};return i._register(t.onDidChangeModel(o)),i._register(t.onDidChangeModelLanguage(o)),i._register(Nr.onDidChange(o)),i._register(Rr.onDidChange(o)),i._register(Pr.onDidChange(o)),i._register(Er.onDidChange(o)),i._register(Ir.onDidChange(o)),i._register(Mr.onDidChange(o)),i._register(Tr.onDidChange(o)),i._register(Dr.onDidChange(o)),i._register(kr.onDidChange(o)),i._register(xr.onDidChange(o)),i._register(Sr.onDidChange(o)),i._register(Lr.onDidChange(o)),i._register(Ar.onDidChange(o)),i._register(Fr.onDidChange(o)),i._register(Or.onDidChange(o)),o(),i}return Sy(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.reset=function(){this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()},t.prototype._update=function(){var e=this._editor.getModel();e?(this._langId.set(e.getLanguageIdentifier().language),this._hasCompletionItemProvider.set(Nr.has(e)),this._hasCodeActionsProvider.set(Rr.has(e)),this._hasCodeLensProvider.set(Pr.has(e)),this._hasDefinitionProvider.set(Er.has(e)),this._hasDeclarationProvider.set(Ir.has(e)),this._hasImplementationProvider.set(Mr.has(e)),this._hasTypeDefinitionProvider.set(Tr.has(e)),this._hasHoverProvider.set(Dr.has(e)),this._hasDocumentHighlightProvider.set(kr.has(e)),this._hasDocumentSymbolProvider.set(xr.has(e)),this._hasReferenceProvider.set(Sr.has(e)),this._hasRenameProvider.set(Lr.has(e)),this._hasSignatureHelpProvider.set(Or.has(e)),this._hasDocumentFormattingProvider.set(Ar.has(e)||Fr.has(e)),this._hasDocumentSelectionFormattingProvider.set(Fr.has(e)),this._isInWalkThrough.set(e.uri.scheme===xi.walkThroughSnippet)):this.reset()},t}(me),My=function(e){function t(t){var n=e.call(this)||this;return n._onChange=n._register(new Ne),n.onChange=n._onChange.event,n._hasFocus=!1,n._domFocusTracker=n._register(Oi(t)),n._register(n._domFocusTracker.onDidFocus((function(){n._hasFocus=!0,n._onChange.fire(void 0)}))),n._register(n._domFocusTracker.onDidBlur((function(){n._hasFocus=!1,n._onChange.fire(void 0)}))),n}return Sy(t,e),t.prototype.hasFocus=function(){return this._hasFocus},t}(me),Ty=encodeURIComponent("");function Ry(e){return Ty+encodeURIComponent(e.toString())+Py}var Ay=encodeURIComponent('');id((function(e,t){var n=e.getColor(mp);n&&t.addRule(".monaco-editor .squiggly-error { border-bottom: 4px double "+n+"; }");var i=e.getColor(gp);i&&t.addRule('.monaco-editor .squiggly-error { background: url("data:image/svg+xml,'+Ry(i)+'") repeat-x bottom left; }');var o=e.getColor(_p);o&&t.addRule(".monaco-editor .squiggly-warning { border-bottom: 4px double "+o+"; }");var r=e.getColor(vp);r&&t.addRule('.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,'+Ry(r)+'") repeat-x bottom left; }');var s=e.getColor(bp);s&&t.addRule(".monaco-editor .squiggly-info { border-bottom: 4px double "+s+"; }");var a=e.getColor(yp);a&&t.addRule('.monaco-editor .squiggly-info { background: url("data:image/svg+xml,'+Ry(a)+'") repeat-x bottom left; }');var u=e.getColor(wp);u&&t.addRule(".monaco-editor .squiggly-hint { border-bottom: 2px dotted "+u+"; }");var l=e.getColor(Cp);l&&t.addRule('.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,'+(Ay+encodeURIComponent(l.toString())+Fy+'") no-repeat bottom left; }'));var c=e.getColor(Lp);c&&t.addRule(".showUnused .monaco-editor .squiggly-inline-unnecessary { opacity: "+c.rgba.a+"; }");var d=e.getColor(Sp);d&&t.addRule(".showUnused .monaco-editor .squiggly-unnecessary { border-bottom: 2px dashed "+d+"; }")}));n("tM/R"),n("prlp");var Wy=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Vy=function(e){function t(t,n,i){void 0===i&&(i={});var o=e.call(this)||this;return o._state=3,o._onDidEnablementChange=o._register(new Ne),o.onDidEnablementChange=o._onDidEnablementChange.event,o._onDidStart=o._register(new Ne),o.onDidStart=o._onDidStart.event,o._onDidChange=o._register(new Ne),o.onDidChange=o._onDidChange.event,o._onDidReset=o._register(new Ne),o.onDidReset=o._onDidReset.event,o._onDidEnd=o._register(new Ne),o.onDidEnd=o._onDidEnd.event,o.linkedSash=void 0,o.orthogonalStartSashDisposables=[],o.orthogonalEndSashDisposables=[],o.el=Di(t,Ei(".monaco-sash")),F.d&&Pn(o.el,"mac"),o._register(rn(o.el,"mousedown")(o.onMouseDown,o)),o._register(rn(o.el,"dblclick")(o.onMouseDoubleClick,o)),kc.addTarget(o.el),o._register(rn(o.el,Oc.Start)(o.onTouchStart,o)),nn&&Pn(o.el,"touch"),o.setOrientation(i.orientation||0),o.hidden=!1,o.layoutProvider=n,o.orthogonalStartSash=i.orthogonalStartSash,o.orthogonalEndSash=i.orthogonalEndSash,Wn(o.el,"debug",!1),o}return Wy(t,e),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},set:function(e){this._state!==e&&(Wn(this.el,"disabled",0===e),Wn(this.el,"minimum",1===e),Wn(this.el,"maximum",2===e),this._state=e,this._onDidEnablementChange.fire(e))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orthogonalStartSash",{get:function(){return this._orthogonalStartSash},set:function(e){this.orthogonalStartSashDisposables=de(this.orthogonalStartSashDisposables),e?(e.onDidEnablementChange(this.onOrthogonalStartSashEnablementChange,this,this.orthogonalStartSashDisposables),this.onOrthogonalStartSashEnablementChange(e.state)):this.onOrthogonalStartSashEnablementChange(0),this._orthogonalStartSash=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orthogonalEndSash",{get:function(){return this._orthogonalEndSash},set:function(e){this.orthogonalEndSashDisposables=de(this.orthogonalEndSashDisposables),e?(e.onDidEnablementChange(this.onOrthogonalEndSashEnablementChange,this,this.orthogonalEndSashDisposables),this.onOrthogonalEndSashEnablementChange(e.state)):this.onOrthogonalEndSashEnablementChange(0),this._orthogonalEndSash=e},enumerable:!0,configurable:!0}),t.prototype.setOrientation=function(e){this.orientation=e,1===this.orientation?(Pn(this.el,"horizontal"),An(this.el,"vertical")):(An(this.el,"horizontal"),Pn(this.el,"vertical")),this.layoutProvider&&this.layout()},t.prototype.onMouseDown=function(e){var t=this;Li(e,!1);var n=!1;if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onMouseDown(e)),!e.__orthogonalSashEvent){var i=void 0;0===this.orientation?e.offsetY<=4?i=this.orthogonalStartSash:e.offsetY>=this.el.clientHeight-4&&(i=this.orthogonalEndSash):e.offsetX<=4?i=this.orthogonalStartSash:e.offsetX>=this.el.clientWidth-4&&(i=this.orthogonalEndSash),i&&(n=!0,e.__orthogonalSashEvent=!0,i.onMouseDown(e))}if(this.state){for(var o=0,r=Ti("iframe");o0){n=o[0].getStartPosition();var r=t.getTopForPosition(n.lineNumber,n.column);i=t.getScrollTop()-r}}return new e(n,i)},e.prototype.restore=function(e){if(this._visiblePosition){var t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}},e}()),By=(n("C5fr"),n("eZvg"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Hy=function(e){function t(t,n,i){var o=e.call(this)||this;return o.options=i,o._context=t||o,o._action=n,n instanceof nc&&o._register(n.onDidChange((function(e){o.element&&o.handleActionChangeEvent(e)}))),o}return By(t,e),t.prototype.handleActionChangeEvent=function(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()},Object.defineProperty(t.prototype,"actionRunner",{get:function(){return this._actionRunner},set:function(e){this._actionRunner=e},enumerable:!0,configurable:!0}),t.prototype.getAction=function(){return this._action},t.prototype.isEnabled=function(){return this._action.enabled},t.prototype.setActionContext=function(e){this._context=e},t.prototype.render=function(e){var t=this;this.element=e,kc.addTarget(e);var n=this.options&&this.options.draggable;n&&(e.draggable=!0),this._register(jn(this.element,Oc.Tap,(function(e){return t.onClick(e)}))),this._register(jn(this.element,Si.MOUSE_DOWN,(function(e){n||Li(e,!0),t._action.enabled&&0===e.button&&t.element&&Pn(t.element,"active")}))),this._register(jn(this.element,Si.CLICK,(function(e){Li(e,!0),t.options&&t.options.isMenu?t.onClick(e):F.h((function(){return t.onClick(e)}))}))),this._register(jn(this.element,Si.DBLCLICK,(function(e){Li(e,!0)}))),[Si.MOUSE_UP,Si.MOUSE_OUT].forEach((function(e){t._register(jn(t.element,e,(function(e){Li(e),An(t.element,"active")})))}))},t.prototype.onClick=function(e){var t;Li(e,!0),S(this._context)?t=e:y(t=this._context)&&(t.event=e),this._actionRunner.run(this._action,t)},t.prototype.focus=function(){this.element&&(this.element.focus(),Pn(this.element,"focused"))},t.prototype.blur=function(){this.element&&(this.element.blur(),An(this.element,"focused"))},t.prototype.updateEnabled=function(){},t.prototype.updateLabel=function(){},t.prototype.updateTooltip=function(){},t.prototype.updateClass=function(){},t.prototype.updateChecked=function(){},t.prototype.dispose=function(){this.element&&(kn(this.element),this.element=void 0),e.prototype.dispose.call(this)},t}(me),zy=function(e){function t(n){var i=e.call(this,t.ID,n,n?"separator text":"separator")||this;return i.checked=!1,i.radio=!1,i.enabled=!1,i}return By(t,e),t.ID="vs.actions.separator",t}(nc),Uy=function(e){function t(t,n,i){void 0===i&&(i={});var o=e.call(this,t,n,i)||this;return o.options=i,o.options.icon=void 0!==i.icon&&i.icon,o.options.label=void 0===i.label||i.label,o.cssClass="",o}return By(t,e),t.prototype.render=function(t){e.prototype.render.call(this,t),this.element&&(this.label=Di(this.element,Ei("a.action-label"))),this._action.id===zy.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&&(Di(this.element,Ei("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()},t.prototype.focus=function(){e.prototype.focus.call(this),this.label.focus()},t.prototype.updateLabel=function(){this.options.label&&(this.label.textContent=this.getAction().label)},t.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=o({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&(this.label.title=e)},t.prototype.updateClass=function(){this.cssClass&&Fn(this.label,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class,Pn(this.label,"icon"),this.cssClass&&Rn(this.label,this.cssClass),this.updateEnabled()):An(this.label,"icon")},t.prototype.updateEnabled=function(){this.getAction().enabled?(this.label.removeAttribute("aria-disabled"),this.element&&An(this.element,"disabled"),An(this.label,"disabled"),this.label.tabIndex=0):(this.label.setAttribute("aria-disabled","true"),this.element&&Pn(this.element,"disabled"),Pn(this.label,"disabled"),Mi(this.label))},t.prototype.updateChecked=function(){this.getAction().checked?Pn(this.label,"checked"):An(this.label,"checked")},t}(Hy),Ky={orientation:0,context:null,triggerKeys:{keys:[3,10],keyDown:!1}},qy=function(e){function t(t,n){void 0===n&&(n=Ky);var i,o,r=e.call(this)||this;switch(r._onDidBlur=r._register(new Ne),r._onDidCancel=r._register(new Ne),r._onDidRun=r._register(new Ne),r._onDidBeforeRun=r._register(new Ne),r.options=n,r._context=n.context,r.options.triggerKeys||(r.options.triggerKeys=Ky.triggerKeys),r.options.actionRunner?r._actionRunner=r.options.actionRunner:(r._actionRunner=new ic,r._register(r._actionRunner)),r._register(r._actionRunner.onDidRun((function(e){return r._onDidRun.fire(e)}))),r._register(r._actionRunner.onDidBeforeRun((function(e){return r._onDidBeforeRun.fire(e)}))),r.items=[],r.focusedItem=void 0,r.domNode=document.createElement("div"),r.domNode.className="monaco-action-bar",!1!==n.animated&&Pn(r.domNode,"animated"),r.options.orientation){case 0:i=15,o=17;break;case 1:i=17,o=15,r.domNode.className+=" reverse";break;case 2:i=16,o=18,r.domNode.className+=" vertical";break;case 3:i=18,o=16,r.domNode.className+=" vertical reverse"}return r._register(jn(r.domNode,Si.KEY_DOWN,(function(e){var t=new cn(e),n=!0;t.equals(i)?r.focusPrevious():t.equals(o)?r.focusNext():t.equals(9)?r.cancel():r.isTriggerKeyEvent(t)?r.options.triggerKeys&&r.options.triggerKeys.keyDown&&r.doTrigger(t):n=!1,n&&(t.preventDefault(),t.stopPropagation())}))),r._register(jn(r.domNode,Si.KEY_UP,(function(e){var t=new cn(e);r.isTriggerKeyEvent(t)?(r.options.triggerKeys&&!r.options.triggerKeys.keyDown&&r.doTrigger(t),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&r.updateFocusedItem()}))),r.focusTracker=r._register(Oi(r.domNode)),r._register(r.focusTracker.onDidBlur((function(){document.activeElement!==r.domNode&&yi(document.activeElement,r.domNode)||(r._onDidBlur.fire(),r.focusedItem=void 0)}))),r._register(r.focusTracker.onDidFocus((function(){return r.updateFocusedItem()}))),r.actionsList=document.createElement("ul"),r.actionsList.className="actions-container",r.actionsList.setAttribute("role","toolbar"),r.options.ariaLabel&&r.actionsList.setAttribute("aria-label",r.options.ariaLabel),r.domNode.appendChild(r.actionsList),t.appendChild(r.domNode),r}return By(t,e),Object.defineProperty(t.prototype,"onDidBlur",{get:function(){return this._onDidBlur.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDidCancel",{get:function(){return this._onDidCancel.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDidRun",{get:function(){return this._onDidRun.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDidBeforeRun",{get:function(){return this._onDidBeforeRun.event},enumerable:!0,configurable:!0}),t.prototype.isTriggerKeyEvent=function(e){var t=!1;return this.options.triggerKeys&&this.options.triggerKeys.keys.forEach((function(n){t=t||e.equals(n)})),t},t.prototype.updateFocusedItem=function(){for(var e=0;e=n.actionsList.children.length?(n.actionsList.appendChild(i),n.items.push(r)):(n.actionsList.insertBefore(i,n.actionsList.children[o]),n.items.splice(o,0,r),o++)}))},t.prototype.clear=function(){this.items=de(this.items),xn(this.actionsList)},t.prototype.isEmpty=function(){return 0===this.items.length},t.prototype.focus=function(e){var t=!1,n=void 0;void 0===e?t=!0:"number"==typeof e?n=e:"boolean"==typeof e&&(t=e),t&&void 0===this.focusedItem?(this.focusedItem=this.items.length-1,this.focusNext()):(void 0!==n&&(this.focusedItem=n),this.updateFocus())},t.prototype.focusNext=function(){void 0===this.focusedItem&&(this.focusedItem=this.items.length-1);var e,t=this.focusedItem;do{this.focusedItem=(this.focusedItem+1)%this.items.length,e=this.items[this.focusedItem]}while(this.focusedItem!==t&&!e.isEnabled());this.focusedItem!==t||e.isEnabled()||(this.focusedItem=void 0),this.updateFocus()},t.prototype.focusPrevious=function(){void 0===this.focusedItem&&(this.focusedItem=0);var e,t=this.focusedItem;do{this.focusedItem=this.focusedItem-1,this.focusedItem<0&&(this.focusedItem=this.items.length-1),e=this.items[this.focusedItem]}while(this.focusedItem!==t&&!e.isEnabled());this.focusedItem!==t||e.isEnabled()||(this.focusedItem=void 0),this.updateFocus(!0)},t.prototype.updateFocus=function(e){void 0===this.focusedItem&&this.actionsList.focus();for(var t=0;t0){var _=e[r-1];m=0===_.originalEndLineNumber?_.originalStartLineNumber+1:_.originalEndLineNumber+1,v=0===_.modifiedEndLineNumber?_.modifiedStartLineNumber+1:_.modifiedEndLineNumber+1}var y=f-3+1,b=g-3+1;if(yS)D+=O=S-D,x+=O;if(x>L)D+=O=L-x,x+=O;h[p++]=new Yy(C,D,w,x),i[o++]=new Zy(h)}var k=i[0].entries,E=[],I=0;for(r=1,s=i.length;rh)&&(h=_),0!==y&&(0===p||yf)&&(f=b)}var C=document.createElement("div");C.className="diff-review-row";var w=document.createElement("div");w.className="diff-review-cell diff-review-summary";var S=h-d+1,L=f-p+1;w.appendChild(document.createTextNode(u+1+"/"+this._diffs.length+": @@ -"+d+","+S+" +"+p+","+L+" @@")),C.setAttribute("data-line",String(p));var N=function(e){return 0===e?o("no_lines","no lines"):1===e?o("one_line","1 line"):o("more_lines","{0} lines",e)},O=N(S),D=N(L);C.setAttribute("aria-label",o({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}",u+1,this._diffs.length,d,O,p,D)),C.appendChild(w),C.setAttribute("role","listitem"),c.appendChild(C);var x=p;for(g=0,m=l.length;g=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},nb=function(e,t){return function(n,i){t(n,i,e)}},ib=function(){function e(){this._zones=[],this._zonesMap={},this._decorations=[]}return e.prototype.getForeignViewZones=function(e){var t=this;return e.filter((function(e){return!t._zonesMap[String(e.id)]}))},e.prototype.clean=function(e){var t=this;this._zones.length>0&&e.changeViewZones((function(e){for(var n=0,i=t._zones.length;n0?o/n:0;return{height:Math.max(0,Math.floor(e.contentHeight*r)),top:Math.floor(t*r)}},t.prototype._createDataSource=function(){var e=this;return{getWidth:function(){return e._width},getHeight:function(){return e._height-e._reviewHeight},getContainerDomNode:function(){return e._containerDomElement},relayoutEditors:function(){e._doLayout()},getOriginalEditor:function(){return e.originalEditor},getModifiedEditor:function(){return e.modifiedEditor}}},t.prototype._setStrategy=function(e){this._strategy&&this._strategy.dispose(),this._strategy=e,e.applyColors(this._themeService.getTheme()),this._diffComputationResult&&this._updateDecorations(),this._measureDomElement(!0)},t.prototype._getLineChangeAtOrBeforeLineNumber=function(e,t){var n=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===n.length||e=a?i=r+1:(i=r,o=r)}return n[i]},t.prototype._getEquivalentLineForOriginalLineNumber=function(e){var t=this._getLineChangeAtOrBeforeLineNumber(e,(function(e){return e.originalStartLineNumber}));if(!t)return e;var n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-n;return s<=o?i+Math.min(s,r):i+r-o+s},t.prototype._getEquivalentLineForModifiedLineNumber=function(e){var t=this._getLineChangeAtOrBeforeLineNumber(e,(function(e){return e.modifiedStartLineNumber}));if(!t)return e;var n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-i;return s<=r?n+Math.min(s,o):n+o-r+s},t.prototype.getDiffLineInformationForOriginal=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(e)}:null},t.prototype.getDiffLineInformationForModified=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(e)}:null},t.ONE_OVERVIEW_WIDTH=15,t.ENTIRE_DIFF_OVERVIEW_WIDTH=30,t.UPDATE_DIFF_DECORATIONS_DELAY=200,t=tb([nb(2,qr),nb(3,ol),nb(4,jt),nb(5,Ut),nb(6,Jc),nb(7,yl)],t)}(me),sb=function(e){function t(t){var n=e.call(this)||this;return n._dataSource=t,n}return eb(t,e),t.prototype.applyColors=function(e){var t=(e.getColor(Hh)||jh).transparent(2),n=(e.getColor(zh)||Bh).transparent(2),i=!t.equals(this._insertColor)||!n.equals(this._removeColor);return this._insertColor=t,this._removeColor=n,i},t.prototype.getEditorsDiffDecorations=function(e,t,n,i,o,r,s){o=o.sort((function(e,t){return e.afterLineNumber-t.afterLineNumber})),i=i.sort((function(e,t){return e.afterLineNumber-t.afterLineNumber}));var a=this._getViewZones(e,i,o,r,s,n),u=this._getOriginalEditorDecorations(e,t,n,r,s),l=this._getModifiedEditorDecorations(e,t,n,r,s);return{original:{decorations:u.decorations,overviewZones:u.overviewZones,zones:a.original},modified:{decorations:l.decorations,overviewZones:l.overviewZones,zones:a.modified}}},t}(me),ab=function(){function e(e){this._source=e,this._index=-1,this.advance()}return e.prototype.advance=function(){this._index++,this._index0){var n=e[e.length-1];if(n.afterLineNumber===t.afterLineNumber&&null===n.domNode)return void(n.heightInLines+=t.heightInLines)}e.push(t)},d=new ab(this.modifiedForeignVZ),h=new ab(this.originalForeignVZ),p=0,f=this.lineChanges.length;p<=f;p++){var g=p0?-1:0),s=g.modifiedStartLineNumber+(g.modifiedEndLineNumber>0?-1:0),o=g.originalEndLineNumber>0?g.originalEndLineNumber-g.originalStartLineNumber+1:0,i=g.modifiedEndLineNumber>0?g.modifiedEndLineNumber-g.modifiedStartLineNumber+1:0,a=Math.max(g.originalStartLineNumber,g.originalEndLineNumber),u=Math.max(g.modifiedStartLineNumber,g.modifiedEndLineNumber)):(a=r+=1e7+o,u=s+=1e7+i);for(var m,v=[],_=[];d.current&&d.current.afterLineNumber<=u;){var y=void 0;y=d.current.afterLineNumber<=s?r-s+d.current.afterLineNumber:a;var b=null;g&&g.modifiedStartLineNumber<=d.current.afterLineNumber&&d.current.afterLineNumber<=g.modifiedEndLineNumber&&(b=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),v.push({afterLineNumber:y,heightInLines:d.current.heightInLines,domNode:null,marginDomNode:b}),d.advance()}for(;h.current&&h.current.afterLineNumber<=a;){y=void 0;y=h.current.afterLineNumber<=r?s-r+h.current.afterLineNumber:u,_.push({afterLineNumber:y,heightInLines:h.current.heightInLines,domNode:null}),h.advance()}if(null!==g&&gb(g))(m=this._produceOriginalFromDiff(g,o,i))&&v.push(m);if(null!==g&&mb(g))(m=this._produceModifiedFromDiff(g,o,i))&&_.push(m);var C=0,w=0;for(v=v.sort(l),_=_.sort(l);C=L.heightInLines?(S.heightInLines-=L.heightInLines,w++):(L.heightInLines-=S.heightInLines,C++)}for(;C2*t.MINIMUM_EDITOR_WIDTH?(in-t.MINIMUM_EDITOR_WIDTH&&(i=n-t.MINIMUM_EDITOR_WIDTH)):i=o,this._sashPosition!==i&&(this._sashPosition=i,this._sash.layout()),this._sashPosition},t.prototype.onSashDragStart=function(){this._startSashPosition=this._sashPosition},t.prototype.onSashDrag=function(e){var t=this._dataSource.getWidth()-rb.ENTIRE_DIFF_OVERVIEW_WIDTH,n=this.layout((this._startSashPosition+(e.currentX-e.startX))/t);this._sashRatio=n/t,this._dataSource.relayoutEditors()},t.prototype.onSashDragEnd=function(){this._sash.layout()},t.prototype.onSashReset=function(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()},t.prototype.getVerticalSashTop=function(e){return 0},t.prototype.getVerticalSashLeft=function(e){return this._sashPosition},t.prototype.getVerticalSashHeight=function(e){return this._dataSource.getHeight()},t.prototype._getViewZones=function(e,t,n,i,o){return new hb(e,t,n).getViewZones()},t.prototype._getOriginalEditorDecorations=function(e,t,n,i,o){for(var r=this._removeColor.toString(),s={decorations:[],overviewZones:[]},a=i.getModel(),u=0,l=e.length;ut?{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n-t,domNode:null}:null},t.prototype._produceModifiedFromDiff=function(e,t,n){return t>n?{afterLineNumber:Math.max(e.modifiedStartLineNumber,e.modifiedEndLineNumber),heightInLines:t-n,domNode:null}:null},t}(ub),pb=function(e){function t(t,n){var i=e.call(this,t)||this;return i.decorationsLeft=t.getOriginalEditor().getLayoutInfo().decorationsLeft,i._register(t.getOriginalEditor().onDidLayoutChange((function(e){i.decorationsLeft!==e.decorationsLeft&&(i.decorationsLeft=e.decorationsLeft,t.relayoutEditors())}))),i}return eb(t,e),t.prototype.setEnableSplitViewResizing=function(e){},t.prototype._getViewZones=function(e,t,n,i,o,r){return new fb(e,t,n,i,o,r).getViewZones()},t.prototype._getOriginalEditorDecorations=function(e,t,n,i,o){for(var r=this._removeColor.toString(),s={decorations:[],overviewZones:[]},a=0,u=e.length;a'])}h+=this.modifiedEditorConfiguration.viewInfo.scrollBeyondLastColumn;var g=document.createElement("div");g.className="view-lines line-delete",g.innerHTML=a.build(),ec.applyFontInfoSlow(g,this.modifiedEditorConfiguration.fontInfo);var m=document.createElement("div");return m.className="inline-deleted-margin-view-zone",m.innerHTML=u.join(""),ec.applyFontInfoSlow(m,this.modifiedEditorConfiguration.fontInfo),{shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:h*d,domNode:g,marginDomNode:m}},t.prototype._renderOriginalLine=function(e,t,n,i,o,r,s){var a=t.getLineTokens(o),u=a.getLineContent(),l=ya.filter(r,o,1,u.length+1);s.appendASCIIString('
');var c=Pa.isBasicASCII(u,t.mightContainNonBasicASCII()),d=Pa.containsRTL(u,c,t.mightContainRTL()),h=Da(new La(n.fontInfo.isMonospace&&!n.viewInfo.disableMonospaceOptimizations,n.fontInfo.canUseHalfwidthRightwardsArrow,u,!1,c,d,0,a,l,i,n.fontInfo.spaceWidth,n.viewInfo.stopRenderingLineAfter,n.viewInfo.renderWhitespace,n.viewInfo.renderControlCharacters,n.viewInfo.fontLigatures),s);s.appendASCIIString("
");var p=h.characterMapping.getAbsoluteOffsets();return p.length>0?p[p.length-1]:0},t}(ub);function gb(e){return e.modifiedEndLineNumber>0}function mb(e){return e.originalEndLineNumber>0}id((function(e,t){var n=e.getColor(Hh);n&&(t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { background-color: "+n+"; }"),t.addRule(".monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: "+n+"; }"),t.addRule(".monaco-editor .inline-added-margin-view-zone { background-color: "+n+"; }"));var i=e.getColor(zh);i&&(t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { background-color: "+i+"; }"),t.addRule(".monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: "+i+"; }"),t.addRule(".monaco-editor .inline-deleted-margin-view-zone { background-color: "+i+"; }"));var o=e.getColor(Uh);o&&t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+o+"; }");var r=e.getColor(Kh);r&&t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+r+"; }");var s=e.getColor(bh);s&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px "+s+"; }");var a=e.getColor(qh);a&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid "+a+"; }")}));var vb=Ht("themeService"),_b=Ht("contextViewService"),yb=Ht("contextMenuService"),bb=Ht("keybindingService"),Cb=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),wb=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Sb=function(e,t){return function(n,i){t(n,i,e)}},Lb=0,Nb=!1;function Ob(){var e;Nb||(Nb=!0,e=document.body,(Hl=document.createElement("div")).className="monaco-aria-container",(zl=document.createElement("div")).className="monaco-alert",zl.setAttribute("role","alert"),zl.setAttribute("aria-atomic","true"),Hl.appendChild(zl),(Ul=document.createElement("div")).className="monaco-status",Ul.setAttribute("role","status"),Ul.setAttribute("aria-atomic","true"),Hl.appendChild(Ul),e.appendChild(Hl))}var Db=function(e){function t(t,n,i,r,s,a,u,l,c,d){var h=this;return(n=n||{}).ariaLabel=n.ariaLabel||o("editorViewAccessibleLabel","Editor content"),n.ariaLabel=n.ariaLabel+";"+(Yt?o("accessibilityHelpMessageIE","Press Ctrl+F1 for Accessibility Options."):o("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")),h=e.call(this,t,n,{},i,r,s,a,l,c,d)||this,u instanceof Pl&&(h._standaloneKeybindingService=u),Ob(),h}return Cb(t,e),t.prototype.addCommand=function(e,t,n){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;var i="DYNAMIC_"+ ++Lb,o=Zu.deserialize(n);return this._standaloneKeybindingService.addDynamicKeybinding(i,e,t,o),i},t.prototype.createContextKey=function(e,t){return this._contextKeyService.createKey(e,t)},t.prototype.addAction=function(e){var t=this;if("string"!=typeof e.id||"string"!=typeof e.label||"function"!=typeof e.run)throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),me.None;var n=e.id,i=e.label,o=Zu.and(Zu.equals("editorId",this.getId()),Zu.deserialize(e.precondition)),r=e.keybindings,s=Zu.and(o,Zu.deserialize(e.keybindingContext)),a=e.contextMenuGroupId||null,u=e.contextMenuOrder||0,l=function(){return Promise.resolve(e.run(t))},c=[],d=this.getId()+":"+n;if(c.push(go.registerCommand(d,l)),a){var h={command:{id:d,title:i},when:o,group:a,order:u};c.push(cc.appendMenuItem(7,h))}Array.isArray(r)&&(c=c.concat(r.map((function(e){return t._standaloneKeybindingService.addDynamicKeybinding(d,e,l,s)}))));var p=new J_(d,i,i,o,l,this._contextKeyService);return this._actions[n]=p,c.push(pe((function(){delete t._actions[n]}))),he(c)},t=wb([Sb(2,jt),Sb(3,Ut),Sb(4,fo),Sb(5,ol),Sb(6,bb),Sb(7,Jc),Sb(8,yl),Sb(9,wy)],t)}(xy),xb=function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h,p){var f=this;Bl(h,n,!1),"string"==typeof(n=n||{}).theme&&c.setTheme(n.theme);var g,m=n.model;if(delete n.model,(f=e.call(this,t,n,o,r,s,a,u,c,d,p)||this)._contextViewService=l,f._configurationService=h,f._register(i),void 0===m?(g=self.monaco.editor.createModel(n.value||"",n.language||"text/plain"),f._ownsModel=!0):(g=m,f._ownsModel=!1),f._attachModel(g),g){var v={oldModelUrl:null,newModelUrl:g.uri};f._onDidChangeModel.fire(v)}return f}return Cb(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.updateOptions=function(t){Bl(this._configurationService,t,!1),e.prototype.updateOptions.call(this,t)},t.prototype._attachModel=function(t){e.prototype._attachModel.call(this,t),this._modelData&&this._contextViewService.setContainer(this._modelData.view.domNode.domNode)},t.prototype._postDetachModelCleanup=function(t){e.prototype._postDetachModelCleanup.call(this,t),t&&this._ownsModel&&(t.dispose(),this._ownsModel=!1)},t=wb([Sb(3,jt),Sb(4,Ut),Sb(5,fo),Sb(6,ol),Sb(7,bb),Sb(8,_b),Sb(9,vb),Sb(10,yl),Sb(11,Fu),Sb(12,wy)],t)}(Db),kb=function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h){var p=this;return Bl(h,n,!0),"string"==typeof(n=n||{}).theme&&(n.theme=c.setTheme(n.theme)),(p=e.call(this,t,n,u,r,o,l,c,d)||this)._contextViewService=a,p._configurationService=h,p._register(i),p._contextViewService.setContainer(p._containerDomElement),p}return Cb(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.updateOptions=function(t){Bl(this._configurationService,t,!0),e.prototype.updateOptions.call(this,t)},t.prototype._createInnerEditor=function(e,t,n){return e.createInstance(Db,t,n)},t.prototype.getOriginalEditor=function(){return e.prototype.getOriginalEditor.call(this)},t.prototype.getModifiedEditor=function(){return e.prototype.getModifiedEditor.call(this)},t.prototype.addCommand=function(e,t,n){return this.getModifiedEditor().addCommand(e,t,n)},t.prototype.createContextKey=function(e,t){return this.getModifiedEditor().createContextKey(e,t)},t.prototype.addAction=function(e){return this.getModifiedEditor().addAction(e)},t=wb([Sb(3,jt),Sb(4,ol),Sb(5,bb),Sb(6,_b),Sb(7,qr),Sb(8,Ut),Sb(9,vb),Sb(10,yl),Sb(11,Fu)],t)}(rb),Eb=Ht("IWorkspaceEditService"),Ib=Ht("modeService"),Mb=function(){function e(e){this._languageIdentifier=e}return e.prototype.getId=function(){return this._languageIdentifier.language},e}(),Tb=[],Pb=[],Rb=[];function Ab(e,t){void 0===t&&(t=!1);var n=function(e){return{id:e.id,mime:e.mime,filename:e.filename,extension:e.extension,filepattern:e.filepattern,firstline:e.firstline,userConfigured:e.userConfigured,filenameLowercase:e.filename?e.filename.toLowerCase():void 0,extensionLowercase:e.extension?e.extension.toLowerCase():void 0,filepatternLowercase:e.filepattern?e.filepattern.toLowerCase():void 0,filepatternOnPath:!!e.filepattern&&e.filepattern.indexOf(ho.posix.sep)>=0}}(e);Tb.push(n),n.userConfigured?Rb.push(n):Pb.push(n),t&&!n.userConfigured&&Tb.forEach((function(e){e.mime===n.mime||e.userConfigured||(n.extension&&e.extension===n.extension&&console.warn("Overwriting extension <<"+n.extension+">> to now point to mime <<"+n.mime+">>"),n.filename&&e.filename===n.filename&&console.warn("Overwriting filename <<"+n.filename+">> to now point to mime <<"+n.mime+">>"),n.filepattern&&e.filepattern===n.filepattern&&console.warn("Overwriting filepattern <<"+n.filepattern+">> to now point to mime <<"+n.mime+">>"),n.firstline&&e.firstline===n.firstline&&console.warn("Overwriting firstline <<"+n.firstline+">> to now point to mime <<"+n.mime+">>"))}))}function Fb(e,t){if(!e)return["application/unknown"];e=e.toLowerCase();var n=Object(ho.basename)(e),i=Wb(e,n,Rb);if(i)return[i,"text/plain"];var o=Wb(e,n,Pb);if(o)return[o,"text/plain"];if(t){var r=function(e){lo(e)&&(e=e.substr(1));if(e.length>0)for(var t=0,n=Tb;t0)return i.mime}}return null}(t);if(r)return[r,"text/plain"]}return["application/unknown"]}function Wb(e,t,n){for(var i=null,o=null,r=null,s=n.length-1;s>=0;s--){var a=n[s];if(t===a.filenameLowercase){i=a;break}if(a.filepattern&&(!o||a.filepattern.length>o.filepattern.length)){var u=a.filepatternOnPath?e:t;ar(a.filepatternLowercase,u)&&(o=a)}a.extension&&(!r||a.extension.length>r.extension.length)&&zi(t,a.extensionLowercase)&&(r=a)}return i?i.mime:o?o.mime:r?r.mime:null}var Vb=new(function(){function e(){this._onDidChangeLanguages=new Ne,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}return e.prototype.registerLanguage=function(e){this._languages.push(e),this._onDidChangeLanguages.fire(void 0)},e.prototype.getLanguages=function(){return[].concat(this._languages).concat(this._dynamicLanguages)},e}());uu.add("editor.modesRegistry",Vb);var jb=new _r("plaintext",1);Vb.registerLanguage({id:"plaintext",extensions:[".txt",".gitignore"],aliases:[o("plainText.alias","Plain Text"),"text"],mimetypes:["text/plain"]}),Ls.register(jb,{brackets:[["(",")"],["[","]"],["{","}"]]});var Bb=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Hb=Object.prototype.hasOwnProperty,zb=function(e){function t(t,n){void 0===t&&(t=!0),void 0===n&&(n=!1);var i=e.call(this)||this;return i._onDidChange=i._register(new Ne),i.onDidChange=i._onDidChange.event,i._warnOnOverwrite=n,i._nextLanguageId2=1,i._languageIdToLanguage=[],i._languageToLanguageId=Object.create(null),i._languages={},i._mimeTypesMap={},i._nameMap={},i._lowercaseNameMap={},t&&(i._initializeFromRegistry(),i._register(Vb.onDidChangeLanguages((function(e){return i._initializeFromRegistry()})))),i}return Bb(t,e),t.prototype._initializeFromRegistry=function(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};var e=Vb.getLanguages();this._registerLanguages(e)},t.prototype._registerLanguages=function(e){for(var t=this,n=0,i=e;n0&&((n=e.mimetypes).push.apply(n,t.mimetypes),r=t.mimetypes[0]),r||(r="text/x-"+o,e.mimetypes.push(r)),Array.isArray(t.extensions))for(var s=0,a=t.extensions;s0){var f=t.firstLine;"^"!==f.charAt(0)&&(f="^"+f);try{var g=new RegExp(f);"^"!==(i=g).source&&"^$"!==i.source&&"$"!==i.source&&"^\\s*$"!==i.source&&i.exec("")&&0===i.lastIndex||Ab({id:o,mime:r,firstline:g},this._warnOnOverwrite)}catch(e){re(e)}}e.aliases.push(o);var m=null;if(void 0!==t.aliases&&Array.isArray(t.aliases)&&(m=0===t.aliases.length?[null]:t.aliases),null!==m)for(var v=0,_=m;v<_.length;v++){var y=_[v];y&&0!==y.length&&e.aliases.push(y)}var b=null!==m&&m.length>0;if(b&&null===m[0]);else{var C=(b?m[0]:null)||o;!b&&e.name||(e.name=C)}t.configuration&&e.configurationFiles.push(t.configuration)},t.prototype.isRegisteredMode=function(e){return!!Hb.call(this._mimeTypesMap,e)||Hb.call(this._languages,e)},t.prototype.getModeIdForLanguageNameLowercase=function(e){return Hb.call(this._lowercaseNameMap,e)?this._lowercaseNameMap[e].language:null},t.prototype.extractModeIds=function(e){var t=this;return e?e.split(",").map((function(e){return e.trim()})).map((function(e){return Hb.call(t._mimeTypesMap,e)?t._mimeTypesMap[e].language:e})).filter((function(e){return Hb.call(t._languages,e)})):[]},t.prototype.getLanguageIdentifier=function(e){if("vs.editor.nullMode"===e||0===e)return Ur;var t;if("string"==typeof e)t=e;else if(!(t=this._languageIdToLanguage[e]))return null;return Hb.call(this._languages,t)?this._languages[t].identifier:null},t.prototype.getModeIdsFromFilepathOrFirstLine=function(e,t){if(!e&&!t)return[];var n=Fb(e,t);return this.extractModeIds(n.join(","))},t}(me),Ub=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Kb=function(e){function t(t,n){var i=e.call(this)||this;return i._onDidChange=i._register(new Ne),i.onDidChange=i._onDidChange.event,i._selector=n,i.languageIdentifier=i._selector(),i._register(t((function(){return i._evaluate()}))),i}return Ub(t,e),t.prototype._evaluate=function(){var e=this._selector();e.id!==this.languageIdentifier.id&&(this.languageIdentifier=e,this._onDidChange.fire(this.languageIdentifier))},t}(me),qb=function(){function e(e){void 0===e&&(e=!1);var t=this;this._onDidCreateMode=new Ne,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new Ne,this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new zb(!0,e),this._registry.onDidChange((function(){return t._onLanguagesMaybeChanged.fire()}))}return e.prototype.isRegisteredMode=function(e){return this._registry.isRegisteredMode(e)},e.prototype.getModeIdForLanguageName=function(e){return this._registry.getModeIdForLanguageNameLowercase(e)},e.prototype.getModeIdByFilepathOrFirstLine=function(e,t){var n=this._registry.getModeIdsFromFilepathOrFirstLine(e,t);return n.length>0?n[0]:null},e.prototype.getModeId=function(e){var t=this._registry.extractModeIds(e);return t.length>0?t[0]:null},e.prototype.getLanguageIdentifier=function(e){return this._registry.getLanguageIdentifier(e)},e.prototype.create=function(e){var t=this;return new Kb(this.onLanguagesMaybeChanged,(function(){var n=t.getModeId(e);return t._createModeAndGetLanguageIdentifier(n)}))},e.prototype.createByFilepathOrFirstLine=function(e,t){var n=this;return new Kb(this.onLanguagesMaybeChanged,(function(){var i=n.getModeIdByFilepathOrFirstLine(e,t);return n._createModeAndGetLanguageIdentifier(i)}))},e.prototype._createModeAndGetLanguageIdentifier=function(e){var t=this.getLanguageIdentifier(e||"plaintext")||Ur;return this._getOrCreateMode(t.language),t},e.prototype.triggerMode=function(e){var t=this.getModeId(e);this._getOrCreateMode(t||"plaintext")},e.prototype._getOrCreateMode=function(e){if(!this._instantiatedModes.hasOwnProperty(e)){var t=this.getLanguageIdentifier(e)||Ur;this._instantiatedModes[e]=new Mb(t),this._onDidCreateMode.fire(this._instantiatedModes[e])}return this._instantiatedModes[e]},e}(),Gb=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Yb=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Zb=function(e,t){return function(n,i){t(n,i,e)}};function Xb(e){return e.toString()}var Qb=function(){function e(e,t,n){this.model=e,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners=[],this._modelEventListeners.push(e.onWillDispose((function(){return t(e)}))),this._modelEventListeners.push(e.onDidChangeLanguage((function(t){return n(e,t)})))}return e.prototype._disposeLanguageSelection=function(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)},e.prototype.dispose=function(){this._modelEventListeners=de(this._modelEventListeners),this._disposeLanguageSelection()},e.prototype.setLanguage=function(e){var t=this;this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange((function(){return t.model.setMode(e.languageIdentifier)})),this.model.setMode(e.languageIdentifier)},e}(),Jb=F.c||F.d?1:2,$b=function(e){function t(t,n){var i=e.call(this)||this;return i._onModelAdded=i._register(new Ne),i.onModelAdded=i._onModelAdded.event,i._onModelRemoved=i._register(new Ne),i.onModelRemoved=i._onModelRemoved.event,i._onModelModeChanged=i._register(new Ne),i.onModelModeChanged=i._onModelModeChanged.event,i._configurationService=t,i._resourcePropertiesService=n,i._models={},i._modelCreationOptionsByLanguageAndResource=Object.create(null),i._configurationServiceSubscription=i._configurationService.onDidChangeConfiguration((function(e){return i._updateModelOptions()})),i._updateModelOptions(),i}return Gb(t,e),t._readModelOptions=function(e,t){var n=ne.tabSize;if(e.editor&&void 0!==e.editor.tabSize){var i=parseInt(e.editor.tabSize,10);isNaN(i)||(n=i),n<1&&(n=1)}var o=n;if(e.editor&&void 0!==e.editor.indentSize&&"tabSize"!==e.editor.indentSize){var r=parseInt(e.editor.indentSize,10);isNaN(r)||(o=r),o<1&&(o=1)}var s=ne.insertSpaces;e.editor&&void 0!==e.editor.insertSpaces&&(s="false"!==e.editor.insertSpaces&&Boolean(e.editor.insertSpaces));var a=Jb,u=e.eol;"\r\n"===u?a=2:"\n"===u&&(a=1);var l=ne.trimAutoWhitespace;e.editor&&void 0!==e.editor.trimAutoWhitespace&&(l="false"!==e.editor.trimAutoWhitespace&&Boolean(e.editor.trimAutoWhitespace));var c=ne.detectIndentation;e.editor&&void 0!==e.editor.detectIndentation&&(c="false"!==e.editor.detectIndentation&&Boolean(e.editor.detectIndentation));var d=ne.largeFileOptimizations;return e.editor&&void 0!==e.editor.largeFileOptimizations&&(d="false"!==e.editor.largeFileOptimizations&&Boolean(e.editor.largeFileOptimizations)),{isForSimpleWidget:t,tabSize:n,indentSize:o,insertSpaces:s,detectIndentation:c,defaultEOL:a,trimAutoWhitespace:l,largeFileOptimizations:d}},t.prototype.getCreationOptions=function(e,n,i){var o=this._modelCreationOptionsByLanguageAndResource[e+n];if(!o){var r=this._configurationService.getValue("editor",{overrideIdentifier:e,resource:n}),s=this._resourcePropertiesService.getEOL(n,e);o=t._readModelOptions({editor:r,eol:s},i),this._modelCreationOptionsByLanguageAndResource[e+n]=o}return o},t.prototype._updateModelOptions=function(){var e=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);for(var n=Object.keys(this._models),i=0,o=n.length;i=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},oC=function(e,t){return function(n,i){t(n,i,e)}},rC=function(e){function t(t,n){void 0===n&&(n=bi());var i=e.call(this)||this;return i._styleSheet=n,i._decorationOptionProviders=Object.create(null),i._themeService=t,i}return nC(t,e),t.prototype.registerDecorationType=function(e,t,n){var i=this._decorationOptionProviders[e];if(!i){var o={styleSheet:this._styleSheet,key:e,parentTypeKey:n,options:t||Object.create(null)};i=n?new sC(this._themeService,o):new aC(this._themeService,o),this._decorationOptionProviders[e]=i}i.refCount++},t.prototype.removeDecorationType=function(e){var t=this._decorationOptionProviders[e];t&&(t.refCount--,t.refCount<=0&&(delete this._decorationOptionProviders[e],t.dispose(),this.listCodeEditors().forEach((function(t){return t.removeDecorations(e)}))))},t.prototype.resolveDecorationOptions=function(e,t){var n=this._decorationOptionProviders[e];if(!n)throw new Error("Unknown decoration type key: "+e);return n.getOptions(this,t)},t=iC([oC(0,Jc)],t)}(tC),sC=function(){function e(e,t){this._parentTypeKey=t.parentTypeKey,this.refCount=0,this._beforeContentRules=new lC(3,t,e),this._afterContentRules=new lC(4,t,e)}return e.prototype.getOptions=function(e,t){var n=e.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(n.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(n.afterContentClassName=this._afterContentRules.className),n},e.prototype.dispose=function(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null)},e}(),aC=function(){function e(e,t){var n=this;this.refCount=0,this._disposables=[];var i=function(i){var o=new lC(i,t,e);if(n._disposables.push(o),o.hasContent)return o.className};this.className=i(0);var o,r=(o=new lC(1,t,e),n._disposables.push(o),o.hasContent?{className:o.className,hasLetterSpacing:o.hasLetterSpacing}:null);r&&(this.inlineClassName=r.className,this.inlineClassNameAffectsLetterSpacing=r.hasLetterSpacing),this.beforeContentClassName=i(3),this.afterContentClassName=i(4),this.glyphMarginClassName=i(2);var s=t.options;this.isWholeLine=Boolean(s.isWholeLine),this.stickiness=s.rangeBehavior;var a=s.light&&s.light.overviewRulerColor||s.overviewRulerColor,u=s.dark&&s.dark.overviewRulerColor||s.overviewRulerColor;void 0===a&&void 0===u||(this.overviewRuler={color:a||u,darkColor:u||a,position:s.overviewRulerLane||Eo.Center})}return e.prototype.getOptions=function(e,t){return t?{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},e.prototype.dispose=function(){this._disposables=de(this._disposables)},e}(),uC={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:url('{0}') center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:url('{0}');",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"},lC=function(){function e(e,t,n){var i=this;this._theme=n.getTheme(),this._ruleType=e,this._providerArgs=t,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;var o=cC.getClassName(this._providerArgs.key,e);this._providerArgs.parentTypeKey&&(o=o+" "+cC.getClassName(this._providerArgs.parentTypeKey,e)),this._className=o,this._unThemedSelector=cC.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,e),this._buildCSS(),this._usesThemeColors?this._themeListener=n.onThemeChange((function(e){i._theme=n.getTheme(),i._removeCSS(),i._buildCSS()})):this._themeListener=null}return e.prototype.dispose=function(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)},Object.defineProperty(e.prototype,"hasContent",{get:function(){return this._hasContent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasLetterSpacing",{get:function(){return this._hasLetterSpacing},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){return this._className},enumerable:!0,configurable:!0}),e.prototype._buildCSS=function(){var e,t,n,i=this._providerArgs.options;switch(this._ruleType){case 0:e=this.getCSSTextForModelDecorationClassName(i),t=this.getCSSTextForModelDecorationClassName(i.light),n=this.getCSSTextForModelDecorationClassName(i.dark);break;case 1:e=this.getCSSTextForModelDecorationInlineClassName(i),t=this.getCSSTextForModelDecorationInlineClassName(i.light),n=this.getCSSTextForModelDecorationInlineClassName(i.dark);break;case 2:e=this.getCSSTextForModelDecorationGlyphMarginClassName(i),t=this.getCSSTextForModelDecorationGlyphMarginClassName(i.light),n=this.getCSSTextForModelDecorationGlyphMarginClassName(i.dark);break;case 3:e=this.getCSSTextForModelDecorationContentClassName(i.before),t=this.getCSSTextForModelDecorationContentClassName(i.light&&i.light.before),n=this.getCSSTextForModelDecorationContentClassName(i.dark&&i.dark.before);break;case 4:e=this.getCSSTextForModelDecorationContentClassName(i.after),t=this.getCSSTextForModelDecorationContentClassName(i.light&&i.light.after),n=this.getCSSTextForModelDecorationContentClassName(i.dark&&i.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}var o=this._providerArgs.styleSheet.sheet,r=!1;e.length>0&&(o.insertRule(this._unThemedSelector+" {"+e+"}",0),r=!0),t.length>0&&(o.insertRule(".vs"+this._unThemedSelector+" {"+t+"}",0),r=!0),n.length>0&&(o.insertRule(".vs-dark"+this._unThemedSelector+", .hc-black"+this._unThemedSelector+" {"+n+"}",0),r=!0),this._hasContent=r},e.prototype._removeCSS=function(){!function(e,t){if(void 0===t&&(t=wi()),t){for(var n=function(e){return e&&e.sheet&&e.sheet.rules?e.sheet.rules:e&&e.sheet&&e.sheet.cssRules?e.sheet.cssRules:[]}(t),i=[],o=0;o=0;o--)t.sheet.deleteRule(i[o])}}(this._unThemedSelector,this._providerArgs.styleSheet)},e.prototype.getCSSTextForModelDecorationClassName=function(e){if(!e)return"";var t=[];return this.collectCSSText(e,["backgroundColor"],t),this.collectCSSText(e,["outline","outlineColor","outlineStyle","outlineWidth"],t),this.collectBorderSettingsCSSText(e,t),t.join("")},e.prototype.getCSSTextForModelDecorationInlineClassName=function(e){if(!e)return"";var t=[];return this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],t),e.letterSpacing&&(this._hasLetterSpacing=!0),t.join("")},e.prototype.getCSSTextForModelDecorationContentClassName=function(e){if(!e)return"";var t=[];if(void 0!==e){if(this.collectBorderSettingsCSSText(e,t),void 0!==e.contentIconPath&&t.push(Wi(uC.contentIconPath,Ze.revive(e.contentIconPath).toString(!0).replace(/'/g,"%27"))),"string"==typeof e.contentText){var n=e.contentText.match(/^.*$/m)[0].replace(/['\\]/g,"\\$&");t.push(Wi(uC.contentText,n))}this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],t),this.collectCSSText(e,["width","height"],t)&&t.push("display:inline-block;")}return t.join("")},e.prototype.getCSSTextForModelDecorationGlyphMarginClassName=function(e){if(!e)return"";var t=[];return void 0!==e.gutterIconPath&&(t.push(Wi(uC.gutterIconPath,Ze.revive(e.gutterIconPath).toString(!0).replace(/'/g,"%27"))),void 0!==e.gutterIconSize&&t.push(Wi(uC.gutterIconSize,e.gutterIconSize))),t.join("")},e.prototype.collectBorderSettingsCSSText=function(e,t){return!!this.collectCSSText(e,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],t)&&(t.push(Wi("box-sizing: border-box;")),!0)},e.prototype.collectCSSText=function(e,t,n){for(var i=n.length,o=0,r=t;ot)return 1;return 0}(e.token,t.token);return 0!==n?n:e.index-t.index}));for(var n=0,i="000000",o="ffffff";e.length>=1&&""===e[0].token;){var r=e.shift();-1!==r.fontStyle&&(n=r.fontStyle),null!==r.foreground&&(i=r.foreground),null!==r.background&&(o=r.background)}for(var s=new mC,a=0,u=t;a>>0,this._cache.set(t,n)}return(n|e<<0)>>>0},e}(),_C=/\b(comment|string|regex|regexp)\b/;var yC,bC,CC,wC=function(){function e(e,t,n){this._fontStyle=e,this._foreground=t,this._background=n,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}return e.prototype.clone=function(){return new e(this._fontStyle,this._foreground,this._background)},e.prototype.acceptOverwrite=function(e,t,n){-1!==e&&(this._fontStyle=e),0!==t&&(this._foreground=t),0!==n&&(this._background=n),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0},e}(),SC=function(){function e(e){this._mainRule=e,this._children=new Map}return e.prototype.match=function(e){if(""===e)return this._mainRule;var t,n,i=e.indexOf(".");-1===i?(t=e,n=""):(t=e.substring(0,i),n=e.substring(i+1));var o=this._children.get(t);return void 0!==o?o.match(n):this._mainRule},e.prototype.insert=function(t,n,i,o){if(""!==t){var r,s,a=t.indexOf(".");-1===a?(r=t,s=""):(r=t.substring(0,a),s=t.substring(a+1));var u=this._children.get(r);void 0===u&&(u=new e(this._mainRule.clone()),this._children.set(r,u)),u.insert(s,n,i,o)}else this._mainRule.acceptOverwrite(n,i,o)},e}();var LC={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"09885A"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"09885A"},{token:"attribute.value.unit",foreground:"09885A"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(yC={},yC[Ih]="#FFFFFE",yC[Mh]="#000000",yC[Fh]="#E5EBF1",yC[ap]="#D3D3D3",yC[up]="#939393",yC[Wh]="#ADD6FF4D",yC)},NC={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(bC={},bC[Ih]="#1E1E1E",bC[Mh]="#D4D4D4",bC[Fh]="#3A3D41",bC[ap]="#404040",bC[up]="#707070",bC[Wh]="#ADD6FF26",bC)},OC={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(CC={},CC[Ih]="#000000",CC[Mh]="#FFFFFF",CC[ap]="#FFFFFF",CC[up]="#FFFFFF",CC)},DC=uu.as(Zd),xC=uu.as(td),kC=function(){function e(e,t){this.themeData=t;var n=t.base;e.length>0?(this.id=n+" "+e,this.themeName=e):(this.id=n,this.themeName=n),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}return Object.defineProperty(e.prototype,"base",{get:function(){return this.themeData.base},enumerable:!0,configurable:!0}),e.prototype.notifyBaseUpdated=function(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)},e.prototype.getColors=function(){if(!this.colors){var e=Object.create(null);for(var t in this.themeData.colors)e[t]=Yd.fromHex(this.themeData.colors[t]);if(this.themeData.inherit){var n=IC(this.themeData.base);for(var t in n.colors)e[t]||(e[t]=Yd.fromHex(n.colors[t]))}this.colors=e}return this.colors},e.prototype.getColor=function(e,t){var n=this.getColors()[e];return n||(!1!==t?this.getDefault(e):void 0)},e.prototype.getDefault=function(e){var t=this.defaultColors[e];return t||(t=DC.resolveDefaultColor(e,this),this.defaultColors[e]=t,t)},e.prototype.defines=function(e){return Object.prototype.hasOwnProperty.call(this.getColors(),e)},Object.defineProperty(e.prototype,"type",{get:function(){switch(this.base){case"vs":return"light";case"hc-black":return"hc";default:return"dark"}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tokenTheme",{get:function(){if(!this._tokenTheme){var e=[],t=[];if(this.themeData.inherit){var n=IC(this.themeData.base);e=n.rules,n.encodedTokensColors&&(t=n.encodedTokensColors)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=vC.createFromRawTokenTheme(e,t)}return this._tokenTheme},enumerable:!0,configurable:!0}),e}();function EC(e){return"vs"===e||"vs-dark"===e||"hc-black"===e}function IC(e){switch(e){case"vs":return LC;case"vs-dark":return NC;case"hc-black":return OC}}function MC(e){var t=IC(e);return new kC(e,t)}var TC=function(){function e(){this.environment=Object.create(null),this._onThemeChange=new Ne,this._onIconThemeChange=new Ne,this._knownThemes=new Map,this._knownThemes.set("vs",MC("vs")),this._knownThemes.set("vs-dark",MC("vs-dark")),this._knownThemes.set("hc-black",MC("hc-black")),this._styleElement=bi(),this._styleElement.className="monaco-colors",this.setTheme("vs")}return Object.defineProperty(e.prototype,"onThemeChange",{get:function(){return this._onThemeChange.event},enumerable:!0,configurable:!0}),e.prototype.defineTheme=function(e,t){if(!/^[a-z0-9\-]+$/i.test(e))throw new Error("Illegal theme name!");if(!EC(t.base)&&!EC(e))throw new Error("Illegal theme base!");this._knownThemes.set(e,new kC(e,t)),EC(e)&&this._knownThemes.forEach((function(t){t.base===e&&t.notifyBaseUpdated()})),this._theme&&this._theme.themeName===e&&this.setTheme(e)},e.prototype.getTheme=function(){return this._theme},e.prototype.setTheme=function(e){var t,n=this;if(t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get("vs"),this._theme===t)return t.id;this._theme=t;var i=[],o={},r={addRule:function(e){o[e]||(i.push(e),o[e]=!0)}};xC.getThemingParticipants().forEach((function(e){return e(t,r,n.environment)}));var s=t.tokenTheme.getColorMap();return r.addRule(function(e){for(var t=[],n=1,i=e.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},AC=function(e,t){return function(n,i){t(n,i,e)}},FC=function(){function e(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value._contextId=e}return e.prototype.setValue=function(e,t){return this._value[e]!==t&&(this._value[e]=t,!0)},e.prototype.removeValue=function(e){return e in this._value&&(delete this._value[e],!0)},e.prototype.getValue=function(e){var t=this._value[e];return void 0===t&&this._parent?this._parent.getValue(e):t},e}(),WC=function(e){function t(){return e.call(this,-1,null)||this}return PC(t,e),t.prototype.setValue=function(e,t){return!1},t.prototype.removeValue=function(e){return!1},t.prototype.getValue=function(e){},t.INSTANCE=new t,t}(FC),VC=function(e){function t(t,n,i){var o=e.call(this,t,null)||this;return o._configurationService=n,o._values=new Map,o._listener=o._configurationService.onDidChangeConfiguration((function(e){if(4===e.source){var t=Wo(o._values);o._values.clear(),i.fire(t)}else{for(var n=[],r=0,s=e.affectedKeys;r1){var i=n.shift();i&&(o.focusItemByElement(i.container),n.push(i)),o.mnemonics.set(t,n)}}}))),F.c&&o._register(jn(r,Si.KEY_DOWN,(function(e){var t=new cn(e);t.equals(14)||t.equals(11)?(o.focusedItem=o.items.length-1,o.focusNext(),Li(e,!0)):(t.equals(13)||t.equals(12))&&(o.focusedItem=0,o.focusPrevious(),Li(e,!0))}))),o._register(jn(o.domNode,Si.MOUSE_OUT,(function(e){yi(e.relatedTarget,o.domNode)||(o.focusedItem=void 0,o.scrollTopHold=o.menuElement.scrollTop,o.updateFocus(),e.stopPropagation())}))),o._register(jn(o.domNode,Si.MOUSE_UP,(function(e){Li(e,!0)}))),o._register(jn(o.actionsList,Si.MOUSE_OVER,(function(e){var t=e.target;if(t&&yi(t,o.actionsList)&&t!==o.actionsList){for(;t.parentElement!==o.actionsList&&null!==t.parentElement;)t=t.parentElement;if(Tn(t,"action-item")){var n=o.focusedItem;o.scrollTopHold=o.menuElement.scrollTop,o.setFocusedItem(t),n!==o.focusedItem&&o.updateFocus()}}})));var s={parent:o};return o.mnemonics=new Map,o.push(n,{icon:!0,label:!0,isMenu:!0}),o.scrollableElement=o._register(new Ov(r,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0})),o.scrollableElement.getDomNode().style.position=null,r.style.maxHeight=Math.max(10,window.innerHeight-t.getBoundingClientRect().top-30)+"px",o.scrollableElement.onScroll((function(){o._onScroll.fire()}),o,o.menuDisposables),o._register(jn(o.menuElement,Si.SCROLL,(function(e){void 0!==o.scrollTopHold&&(o.menuElement.scrollTop=o.scrollTopHold,o.scrollTopHold=void 0),o.scrollableElement.scanDomNode()}))),t.appendChild(o.scrollableElement.getDomNode()),o.scrollableElement.scanDomNode(),o.items.filter((function(e){return!(e instanceof $C)})).forEach((function(e,t,n){e.updatePositionInSet(t+1,n.length)})),o}return qC(t,e),t.prototype.style=function(e){var t=this.getContainer(),n=e.foregroundColor?""+e.foregroundColor:null,i=e.backgroundColor?""+e.backgroundColor:null,o=e.borderColor?"2px solid "+e.borderColor:null,r=e.shadowColor?"0 2px 4px "+e.shadowColor:null;t.style.border=o,this.domNode.style.color=n,this.domNode.style.backgroundColor=i,t.style.boxShadow=r,this.items&&this.items.forEach((function(t){(t instanceof QC||t instanceof $C)&&t.style(e)}))},t.prototype.getContainer=function(){return this.scrollableElement.getDomNode()},Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollOffset",{get:function(){return this.menuElement.scrollTop},enumerable:!0,configurable:!0}),t.prototype.focusItemByElement=function(e){var t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()},t.prototype.setFocusedItem=function(e){for(var t=0;t