diff --git a/asset-manifest.json b/asset-manifest.json index bcec0ca0d..d5ba93916 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -19,220 +19,220 @@ "static/css/10.5d2538f7.chunk.css": "/react/build/static/css/10.5d2538f7.chunk.css", "./static/js/10.45613b05.chunk.js": "/react/build/./static/js/10.45613b05.chunk.js", "./static/js/11.d53c6155.chunk.js": "/react/build/./static/js/11.d53c6155.chunk.js", - "static/css/12.3bd39d6a.chunk.css": "/react/build/static/css/12.3bd39d6a.chunk.css", - "./static/js/12.fae064d0.chunk.js": "/react/build/./static/js/12.fae064d0.chunk.js", - "static/css/13.8725ffda.chunk.css": "/react/build/static/css/13.8725ffda.chunk.css", - "./static/js/13.4fd317fa.chunk.js": "/react/build/./static/js/13.4fd317fa.chunk.js", - "static/css/14.2ddee191.chunk.css": "/react/build/static/css/14.2ddee191.chunk.css", - "./static/js/14.284b09d5.chunk.js": "/react/build/./static/js/14.284b09d5.chunk.js", - "static/css/15.fac0c3b4.chunk.css": "/react/build/static/css/15.fac0c3b4.chunk.css", - "./static/js/15.159181eb.chunk.js": "/react/build/./static/js/15.159181eb.chunk.js", - "static/css/16.620a5b46.chunk.css": "/react/build/static/css/16.620a5b46.chunk.css", - "./static/js/16.04705757.chunk.js": "/react/build/./static/js/16.04705757.chunk.js", + "static/css/12.8725ffda.chunk.css": "/react/build/static/css/12.8725ffda.chunk.css", + "./static/js/12.0a30d90b.chunk.js": "/react/build/./static/js/12.0a30d90b.chunk.js", + "static/css/13.2ddee191.chunk.css": "/react/build/static/css/13.2ddee191.chunk.css", + "./static/js/13.16da931f.chunk.js": "/react/build/./static/js/13.16da931f.chunk.js", + "static/css/14.fac0c3b4.chunk.css": "/react/build/static/css/14.fac0c3b4.chunk.css", + "./static/js/14.15861d38.chunk.js": "/react/build/./static/js/14.15861d38.chunk.js", + "static/css/15.620a5b46.chunk.css": "/react/build/static/css/15.620a5b46.chunk.css", + "./static/js/15.5c6ddf43.chunk.js": "/react/build/./static/js/15.5c6ddf43.chunk.js", + "static/css/16.3bd39d6a.chunk.css": "/react/build/static/css/16.3bd39d6a.chunk.css", + "./static/js/16.8b21bef9.chunk.js": "/react/build/./static/js/16.8b21bef9.chunk.js", "static/css/17.f1c6115d.chunk.css": "/react/build/static/css/17.f1c6115d.chunk.css", "./static/js/17.f96c61a0.chunk.js": "/react/build/./static/js/17.f96c61a0.chunk.js", "./static/js/18.6ddbc269.chunk.js": "/react/build/./static/js/18.6ddbc269.chunk.js", "static/css/19.8a5a7ae0.chunk.css": "/react/build/static/css/19.8a5a7ae0.chunk.css", - "./static/js/19.85260560.chunk.js": "/react/build/./static/js/19.85260560.chunk.js", + "./static/js/19.6d3d5337.chunk.js": "/react/build/./static/js/19.6d3d5337.chunk.js", "static/css/20.e45b8e93.chunk.css": "/react/build/static/css/20.e45b8e93.chunk.css", - "./static/js/20.c3e9d90a.chunk.js": "/react/build/./static/js/20.c3e9d90a.chunk.js", + "./static/js/20.ba4ffb7d.chunk.js": "/react/build/./static/js/20.ba4ffb7d.chunk.js", "static/css/21.f2bec5c1.chunk.css": "/react/build/static/css/21.f2bec5c1.chunk.css", - "./static/js/21.3a9b35fd.chunk.js": "/react/build/./static/js/21.3a9b35fd.chunk.js", + "./static/js/21.abb9a450.chunk.js": "/react/build/./static/js/21.abb9a450.chunk.js", "static/css/22.bb471270.chunk.css": "/react/build/static/css/22.bb471270.chunk.css", - "./static/js/22.12be2e8b.chunk.js": "/react/build/./static/js/22.12be2e8b.chunk.js", - "static/css/23.6ef1122b.chunk.css": "/react/build/static/css/23.6ef1122b.chunk.css", - "./static/js/23.20a9f2f3.chunk.js": "/react/build/./static/js/23.20a9f2f3.chunk.js", + "./static/js/22.e00b4f8a.chunk.js": "/react/build/./static/js/22.e00b4f8a.chunk.js", + "static/css/23.8f983048.chunk.css": "/react/build/static/css/23.8f983048.chunk.css", + "./static/js/23.d3ed2627.chunk.js": "/react/build/./static/js/23.d3ed2627.chunk.js", "static/css/24.090b0b47.chunk.css": "/react/build/static/css/24.090b0b47.chunk.css", "./static/js/24.f78f121e.chunk.js": "/react/build/./static/js/24.f78f121e.chunk.js", "static/css/25.db569abc.chunk.css": "/react/build/static/css/25.db569abc.chunk.css", "./static/js/25.4c801c8e.chunk.js": "/react/build/./static/js/25.4c801c8e.chunk.js", - "static/css/26.aae5f5d1.chunk.css": "/react/build/static/css/26.aae5f5d1.chunk.css", - "./static/js/26.e2e3065a.chunk.js": "/react/build/./static/js/26.e2e3065a.chunk.js", + "static/css/26.8696968e.chunk.css": "/react/build/static/css/26.8696968e.chunk.css", + "./static/js/26.58bac8f2.chunk.js": "/react/build/./static/js/26.58bac8f2.chunk.js", "static/css/27.20551d9a.chunk.css": "/react/build/static/css/27.20551d9a.chunk.css", - "./static/js/27.b7c2354e.chunk.js": "/react/build/./static/js/27.b7c2354e.chunk.js", + "./static/js/27.af40bc5d.chunk.js": "/react/build/./static/js/27.af40bc5d.chunk.js", "static/css/28.7074823d.chunk.css": "/react/build/static/css/28.7074823d.chunk.css", - "./static/js/28.7868803c.chunk.js": "/react/build/./static/js/28.7868803c.chunk.js", + "./static/js/28.07981dc2.chunk.js": "/react/build/./static/js/28.07981dc2.chunk.js", "static/css/29.844e48b4.chunk.css": "/react/build/static/css/29.844e48b4.chunk.css", - "./static/js/29.d1fc95df.chunk.js": "/react/build/./static/js/29.d1fc95df.chunk.js", + "./static/js/29.f27cf662.chunk.js": "/react/build/./static/js/29.f27cf662.chunk.js", "static/css/30.77e99d9f.chunk.css": "/react/build/static/css/30.77e99d9f.chunk.css", - "./static/js/30.d7bb92ce.chunk.js": "/react/build/./static/js/30.d7bb92ce.chunk.js", - "static/css/31.d7e0c6e8.chunk.css": "/react/build/static/css/31.d7e0c6e8.chunk.css", - "./static/js/31.61f6807d.chunk.js": "/react/build/./static/js/31.61f6807d.chunk.js", - "static/css/32.51467b58.chunk.css": "/react/build/static/css/32.51467b58.chunk.css", - "./static/js/32.cc92466b.chunk.js": "/react/build/./static/js/32.cc92466b.chunk.js", - "static/css/33.ee93ce65.chunk.css": "/react/build/static/css/33.ee93ce65.chunk.css", - "./static/js/33.f3580cba.chunk.js": "/react/build/./static/js/33.f3580cba.chunk.js", - "static/css/34.3933e120.chunk.css": "/react/build/static/css/34.3933e120.chunk.css", - "./static/js/34.2d4cea29.chunk.js": "/react/build/./static/js/34.2d4cea29.chunk.js", - "static/css/35.d3aecd0b.chunk.css": "/react/build/static/css/35.d3aecd0b.chunk.css", - "./static/js/35.1a00f4bb.chunk.js": "/react/build/./static/js/35.1a00f4bb.chunk.js", - "static/css/36.2ddeb334.chunk.css": "/react/build/static/css/36.2ddeb334.chunk.css", - "./static/js/36.a3896db6.chunk.js": "/react/build/./static/js/36.a3896db6.chunk.js", - "static/css/37.c73da3e3.chunk.css": "/react/build/static/css/37.c73da3e3.chunk.css", - "./static/js/37.54741b87.chunk.js": "/react/build/./static/js/37.54741b87.chunk.js", - "static/css/38.098fe43a.chunk.css": "/react/build/static/css/38.098fe43a.chunk.css", - "./static/js/38.c9c44078.chunk.js": "/react/build/./static/js/38.c9c44078.chunk.js", - "static/css/39.701cd34a.chunk.css": "/react/build/static/css/39.701cd34a.chunk.css", - "./static/js/39.9c760331.chunk.js": "/react/build/./static/js/39.9c760331.chunk.js", - "static/css/40.8a8847f8.chunk.css": "/react/build/static/css/40.8a8847f8.chunk.css", - "./static/js/40.073ba93b.chunk.js": "/react/build/./static/js/40.073ba93b.chunk.js", - "static/css/41.51e68807.chunk.css": "/react/build/static/css/41.51e68807.chunk.css", - "./static/js/41.22948dca.chunk.js": "/react/build/./static/js/41.22948dca.chunk.js", - "static/css/42.77603282.chunk.css": "/react/build/static/css/42.77603282.chunk.css", - "./static/js/42.1cd44e97.chunk.js": "/react/build/./static/js/42.1cd44e97.chunk.js", - "static/css/43.22477e8a.chunk.css": "/react/build/static/css/43.22477e8a.chunk.css", - "./static/js/43.f75596fe.chunk.js": "/react/build/./static/js/43.f75596fe.chunk.js", - "static/css/44.313d73a4.chunk.css": "/react/build/static/css/44.313d73a4.chunk.css", - "./static/js/44.a7ad0710.chunk.js": "/react/build/./static/js/44.a7ad0710.chunk.js", - "static/css/45.13f20e1a.chunk.css": "/react/build/static/css/45.13f20e1a.chunk.css", - "./static/js/45.b13fc102.chunk.js": "/react/build/./static/js/45.b13fc102.chunk.js", - "static/css/46.e04406cc.chunk.css": "/react/build/static/css/46.e04406cc.chunk.css", - "./static/js/46.faf7a17c.chunk.js": "/react/build/./static/js/46.faf7a17c.chunk.js", - "static/css/47.3d5f30ce.chunk.css": "/react/build/static/css/47.3d5f30ce.chunk.css", - "./static/js/47.5a833056.chunk.js": "/react/build/./static/js/47.5a833056.chunk.js", - "static/css/48.cdb34e70.chunk.css": "/react/build/static/css/48.cdb34e70.chunk.css", - "./static/js/48.61f5fdd4.chunk.js": "/react/build/./static/js/48.61f5fdd4.chunk.js", - "static/css/49.40a03cf2.chunk.css": "/react/build/static/css/49.40a03cf2.chunk.css", - "./static/js/49.521a25b6.chunk.js": "/react/build/./static/js/49.521a25b6.chunk.js", - "static/css/50.58c2bda0.chunk.css": "/react/build/static/css/50.58c2bda0.chunk.css", - "./static/js/50.9f4b742d.chunk.js": "/react/build/./static/js/50.9f4b742d.chunk.js", - "static/css/51.6d201319.chunk.css": "/react/build/static/css/51.6d201319.chunk.css", - "./static/js/51.1e97cee8.chunk.js": "/react/build/./static/js/51.1e97cee8.chunk.js", - "static/css/52.c85e56ed.chunk.css": "/react/build/static/css/52.c85e56ed.chunk.css", - "./static/js/52.bf06d679.chunk.js": "/react/build/./static/js/52.bf06d679.chunk.js", - "static/css/53.8a532112.chunk.css": "/react/build/static/css/53.8a532112.chunk.css", - "./static/js/53.ca4fe31c.chunk.js": "/react/build/./static/js/53.ca4fe31c.chunk.js", - "static/css/54.2355f42e.chunk.css": "/react/build/static/css/54.2355f42e.chunk.css", - "./static/js/54.08cbdde8.chunk.js": "/react/build/./static/js/54.08cbdde8.chunk.js", - "static/css/55.ca447afa.chunk.css": "/react/build/static/css/55.ca447afa.chunk.css", - "./static/js/55.79d58366.chunk.js": "/react/build/./static/js/55.79d58366.chunk.js", - "static/css/56.44abd17c.chunk.css": "/react/build/static/css/56.44abd17c.chunk.css", - "./static/js/56.751659df.chunk.js": "/react/build/./static/js/56.751659df.chunk.js", - "static/css/57.87cfc76e.chunk.css": "/react/build/static/css/57.87cfc76e.chunk.css", - "./static/js/57.c85992a7.chunk.js": "/react/build/./static/js/57.c85992a7.chunk.js", - "static/css/58.588968e3.chunk.css": "/react/build/static/css/58.588968e3.chunk.css", - "./static/js/58.35d04bb9.chunk.js": "/react/build/./static/js/58.35d04bb9.chunk.js", - "static/css/59.680ea69c.chunk.css": "/react/build/static/css/59.680ea69c.chunk.css", - "./static/js/59.56953b0d.chunk.js": "/react/build/./static/js/59.56953b0d.chunk.js", - "static/css/60.709c9453.chunk.css": "/react/build/static/css/60.709c9453.chunk.css", - "./static/js/60.414cdc12.chunk.js": "/react/build/./static/js/60.414cdc12.chunk.js", + "./static/js/30.c21674f7.chunk.js": "/react/build/./static/js/30.c21674f7.chunk.js", + "static/css/31.e9221686.chunk.css": "/react/build/static/css/31.e9221686.chunk.css", + "./static/js/31.2b68ab84.chunk.js": "/react/build/./static/js/31.2b68ab84.chunk.js", + "static/css/32.74bd2ddd.chunk.css": "/react/build/static/css/32.74bd2ddd.chunk.css", + "./static/js/32.da5452ab.chunk.js": "/react/build/./static/js/32.da5452ab.chunk.js", + "static/css/33.51467b58.chunk.css": "/react/build/static/css/33.51467b58.chunk.css", + "./static/js/33.48a0c804.chunk.js": "/react/build/./static/js/33.48a0c804.chunk.js", + "static/css/34.ee93ce65.chunk.css": "/react/build/static/css/34.ee93ce65.chunk.css", + "./static/js/34.ff9c8b90.chunk.js": "/react/build/./static/js/34.ff9c8b90.chunk.js", + "static/css/35.3933e120.chunk.css": "/react/build/static/css/35.3933e120.chunk.css", + "./static/js/35.8f8bb901.chunk.js": "/react/build/./static/js/35.8f8bb901.chunk.js", + "static/css/36.d3aecd0b.chunk.css": "/react/build/static/css/36.d3aecd0b.chunk.css", + "./static/js/36.f284dd3e.chunk.js": "/react/build/./static/js/36.f284dd3e.chunk.js", + "static/css/37.80612921.chunk.css": "/react/build/static/css/37.80612921.chunk.css", + "./static/js/37.2eeb2cc6.chunk.js": "/react/build/./static/js/37.2eeb2cc6.chunk.js", + "static/css/38.c73da3e3.chunk.css": "/react/build/static/css/38.c73da3e3.chunk.css", + "./static/js/38.dda2ac5f.chunk.js": "/react/build/./static/js/38.dda2ac5f.chunk.js", + "static/css/39.098fe43a.chunk.css": "/react/build/static/css/39.098fe43a.chunk.css", + "./static/js/39.625eb2f2.chunk.js": "/react/build/./static/js/39.625eb2f2.chunk.js", + "static/css/40.701cd34a.chunk.css": "/react/build/static/css/40.701cd34a.chunk.css", + "./static/js/40.a112ab91.chunk.js": "/react/build/./static/js/40.a112ab91.chunk.js", + "static/css/41.8a8847f8.chunk.css": "/react/build/static/css/41.8a8847f8.chunk.css", + "./static/js/41.247edd7e.chunk.js": "/react/build/./static/js/41.247edd7e.chunk.js", + "static/css/42.51e68807.chunk.css": "/react/build/static/css/42.51e68807.chunk.css", + "./static/js/42.e560b073.chunk.js": "/react/build/./static/js/42.e560b073.chunk.js", + "static/css/43.77603282.chunk.css": "/react/build/static/css/43.77603282.chunk.css", + "./static/js/43.6cd9f3ab.chunk.js": "/react/build/./static/js/43.6cd9f3ab.chunk.js", + "static/css/44.22477e8a.chunk.css": "/react/build/static/css/44.22477e8a.chunk.css", + "./static/js/44.a5452a7c.chunk.js": "/react/build/./static/js/44.a5452a7c.chunk.js", + "static/css/45.313d73a4.chunk.css": "/react/build/static/css/45.313d73a4.chunk.css", + "./static/js/45.bb07836f.chunk.js": "/react/build/./static/js/45.bb07836f.chunk.js", + "static/css/46.13f20e1a.chunk.css": "/react/build/static/css/46.13f20e1a.chunk.css", + "./static/js/46.331a8456.chunk.js": "/react/build/./static/js/46.331a8456.chunk.js", + "static/css/47.e04406cc.chunk.css": "/react/build/static/css/47.e04406cc.chunk.css", + "./static/js/47.c51cc5cc.chunk.js": "/react/build/./static/js/47.c51cc5cc.chunk.js", + "static/css/48.3d5f30ce.chunk.css": "/react/build/static/css/48.3d5f30ce.chunk.css", + "./static/js/48.8e897873.chunk.js": "/react/build/./static/js/48.8e897873.chunk.js", + "static/css/49.cdb34e70.chunk.css": "/react/build/static/css/49.cdb34e70.chunk.css", + "./static/js/49.d25821c8.chunk.js": "/react/build/./static/js/49.d25821c8.chunk.js", + "static/css/50.40a03cf2.chunk.css": "/react/build/static/css/50.40a03cf2.chunk.css", + "./static/js/50.45f78302.chunk.js": "/react/build/./static/js/50.45f78302.chunk.js", + "static/css/51.58c2bda0.chunk.css": "/react/build/static/css/51.58c2bda0.chunk.css", + "./static/js/51.92eb8c3e.chunk.js": "/react/build/./static/js/51.92eb8c3e.chunk.js", + "static/css/52.6d201319.chunk.css": "/react/build/static/css/52.6d201319.chunk.css", + "./static/js/52.c34164c0.chunk.js": "/react/build/./static/js/52.c34164c0.chunk.js", + "static/css/53.c85e56ed.chunk.css": "/react/build/static/css/53.c85e56ed.chunk.css", + "./static/js/53.888153e3.chunk.js": "/react/build/./static/js/53.888153e3.chunk.js", + "static/css/54.8a532112.chunk.css": "/react/build/static/css/54.8a532112.chunk.css", + "./static/js/54.17a90566.chunk.js": "/react/build/./static/js/54.17a90566.chunk.js", + "static/css/55.2355f42e.chunk.css": "/react/build/static/css/55.2355f42e.chunk.css", + "./static/js/55.90a43f50.chunk.js": "/react/build/./static/js/55.90a43f50.chunk.js", + "static/css/56.ca447afa.chunk.css": "/react/build/static/css/56.ca447afa.chunk.css", + "./static/js/56.de5c148e.chunk.js": "/react/build/./static/js/56.de5c148e.chunk.js", + "static/css/57.44abd17c.chunk.css": "/react/build/static/css/57.44abd17c.chunk.css", + "./static/js/57.f201682a.chunk.js": "/react/build/./static/js/57.f201682a.chunk.js", + "static/css/58.87cfc76e.chunk.css": "/react/build/static/css/58.87cfc76e.chunk.css", + "./static/js/58.637cb9e2.chunk.js": "/react/build/./static/js/58.637cb9e2.chunk.js", + "static/css/59.588968e3.chunk.css": "/react/build/static/css/59.588968e3.chunk.css", + "./static/js/59.526052b3.chunk.js": "/react/build/./static/js/59.526052b3.chunk.js", + "static/css/60.680ea69c.chunk.css": "/react/build/static/css/60.680ea69c.chunk.css", + "./static/js/60.29b3f137.chunk.js": "/react/build/./static/js/60.29b3f137.chunk.js", "static/css/61.709c9453.chunk.css": "/react/build/static/css/61.709c9453.chunk.css", - "./static/js/61.0c97c8e0.chunk.js": "/react/build/./static/js/61.0c97c8e0.chunk.js", - "static/css/62.4219330f.chunk.css": "/react/build/static/css/62.4219330f.chunk.css", - "./static/js/62.527975f7.chunk.js": "/react/build/./static/js/62.527975f7.chunk.js", - "static/css/63.ad11592d.chunk.css": "/react/build/static/css/63.ad11592d.chunk.css", - "./static/js/63.5712236f.chunk.js": "/react/build/./static/js/63.5712236f.chunk.js", + "./static/js/61.5b00a464.chunk.js": "/react/build/./static/js/61.5b00a464.chunk.js", + "static/css/62.709c9453.chunk.css": "/react/build/static/css/62.709c9453.chunk.css", + "./static/js/62.d2c8bab7.chunk.js": "/react/build/./static/js/62.d2c8bab7.chunk.js", + "static/css/63.4219330f.chunk.css": "/react/build/static/css/63.4219330f.chunk.css", + "./static/js/63.ff96086b.chunk.js": "/react/build/./static/js/63.ff96086b.chunk.js", "static/css/64.ad11592d.chunk.css": "/react/build/static/css/64.ad11592d.chunk.css", - "./static/js/64.95e3e803.chunk.js": "/react/build/./static/js/64.95e3e803.chunk.js", - "static/css/65.d88771b5.chunk.css": "/react/build/static/css/65.d88771b5.chunk.css", - "./static/js/65.7c3540bc.chunk.js": "/react/build/./static/js/65.7c3540bc.chunk.js", - "static/css/66.e65ce4e5.chunk.css": "/react/build/static/css/66.e65ce4e5.chunk.css", - "./static/js/66.e31920fb.chunk.js": "/react/build/./static/js/66.e31920fb.chunk.js", - "static/css/67.77be1f1b.chunk.css": "/react/build/static/css/67.77be1f1b.chunk.css", - "./static/js/67.df6f4533.chunk.js": "/react/build/./static/js/67.df6f4533.chunk.js", - "static/css/68.83842e32.chunk.css": "/react/build/static/css/68.83842e32.chunk.css", - "./static/js/68.43977134.chunk.js": "/react/build/./static/js/68.43977134.chunk.js", - "static/css/69.bbc4aeb3.chunk.css": "/react/build/static/css/69.bbc4aeb3.chunk.css", - "./static/js/69.816f2464.chunk.js": "/react/build/./static/js/69.816f2464.chunk.js", - "static/css/70.492c615f.chunk.css": "/react/build/static/css/70.492c615f.chunk.css", - "./static/js/70.f380ecba.chunk.js": "/react/build/./static/js/70.f380ecba.chunk.js", - "static/css/71.fa8d3de0.chunk.css": "/react/build/static/css/71.fa8d3de0.chunk.css", - "./static/js/71.21cc6da9.chunk.js": "/react/build/./static/js/71.21cc6da9.chunk.js", - "static/css/72.640f37d5.chunk.css": "/react/build/static/css/72.640f37d5.chunk.css", - "./static/js/72.6eb71db9.chunk.js": "/react/build/./static/js/72.6eb71db9.chunk.js", - "static/css/73.06b0b148.chunk.css": "/react/build/static/css/73.06b0b148.chunk.css", - "./static/js/73.8f7acc3a.chunk.js": "/react/build/./static/js/73.8f7acc3a.chunk.js", - "static/css/74.9a288bf0.chunk.css": "/react/build/static/css/74.9a288bf0.chunk.css", - "./static/js/74.70e63dbe.chunk.js": "/react/build/./static/js/74.70e63dbe.chunk.js", - "static/css/75.8835d764.chunk.css": "/react/build/static/css/75.8835d764.chunk.css", - "./static/js/75.807e60f2.chunk.js": "/react/build/./static/js/75.807e60f2.chunk.js", - "static/css/76.37514e3d.chunk.css": "/react/build/static/css/76.37514e3d.chunk.css", - "./static/js/76.d4647337.chunk.js": "/react/build/./static/js/76.d4647337.chunk.js", - "static/css/77.07c2270b.chunk.css": "/react/build/static/css/77.07c2270b.chunk.css", - "./static/js/77.d201b4d0.chunk.js": "/react/build/./static/js/77.d201b4d0.chunk.js", - "static/css/78.55a39d39.chunk.css": "/react/build/static/css/78.55a39d39.chunk.css", - "./static/js/78.6810592c.chunk.js": "/react/build/./static/js/78.6810592c.chunk.js", - "static/css/79.6a082e80.chunk.css": "/react/build/static/css/79.6a082e80.chunk.css", - "./static/js/79.829b1f0d.chunk.js": "/react/build/./static/js/79.829b1f0d.chunk.js", - "static/css/80.03efc9d0.chunk.css": "/react/build/static/css/80.03efc9d0.chunk.css", - "./static/js/80.4fdf7001.chunk.js": "/react/build/./static/js/80.4fdf7001.chunk.js", - "static/css/81.5f454762.chunk.css": "/react/build/static/css/81.5f454762.chunk.css", - "./static/js/81.10060cc2.chunk.js": "/react/build/./static/js/81.10060cc2.chunk.js", - "static/css/82.7bca74e1.chunk.css": "/react/build/static/css/82.7bca74e1.chunk.css", - "./static/js/82.cf9055f3.chunk.js": "/react/build/./static/js/82.cf9055f3.chunk.js", - "static/css/83.59962e7d.chunk.css": "/react/build/static/css/83.59962e7d.chunk.css", - "./static/js/83.85fa3e63.chunk.js": "/react/build/./static/js/83.85fa3e63.chunk.js", - "./static/js/84.c7c1fab3.chunk.js": "/react/build/./static/js/84.c7c1fab3.chunk.js", - "static/css/85.640f37d5.chunk.css": "/react/build/static/css/85.640f37d5.chunk.css", - "./static/js/85.fdefedf8.chunk.js": "/react/build/./static/js/85.fdefedf8.chunk.js", - "static/css/86.cce966d7.chunk.css": "/react/build/static/css/86.cce966d7.chunk.css", - "./static/js/86.0fa99e93.chunk.js": "/react/build/./static/js/86.0fa99e93.chunk.js", - "static/css/87.c347466a.chunk.css": "/react/build/static/css/87.c347466a.chunk.css", - "./static/js/87.e01af1ea.chunk.js": "/react/build/./static/js/87.e01af1ea.chunk.js", - "static/css/88.e391b358.chunk.css": "/react/build/static/css/88.e391b358.chunk.css", - "./static/js/88.3c14954c.chunk.js": "/react/build/./static/js/88.3c14954c.chunk.js", - "static/css/89.3575dd00.chunk.css": "/react/build/static/css/89.3575dd00.chunk.css", - "./static/js/89.8d710d7a.chunk.js": "/react/build/./static/js/89.8d710d7a.chunk.js", - "static/css/90.640f37d5.chunk.css": "/react/build/static/css/90.640f37d5.chunk.css", - "./static/js/90.fd1dbc5b.chunk.js": "/react/build/./static/js/90.fd1dbc5b.chunk.js", - "static/css/91.d1223b0c.chunk.css": "/react/build/static/css/91.d1223b0c.chunk.css", - "./static/js/91.1fe57d29.chunk.js": "/react/build/./static/js/91.1fe57d29.chunk.js", - "./static/js/92.14e79ea7.chunk.js": "/react/build/./static/js/92.14e79ea7.chunk.js", - "static/css/93.98bbb7ab.chunk.css": "/react/build/static/css/93.98bbb7ab.chunk.css", - "./static/js/93.8b658a26.chunk.js": "/react/build/./static/js/93.8b658a26.chunk.js", - "static/css/94.6a92deeb.chunk.css": "/react/build/static/css/94.6a92deeb.chunk.css", - "./static/js/94.a6199597.chunk.js": "/react/build/./static/js/94.a6199597.chunk.js", + "./static/js/64.cc7a1c78.chunk.js": "/react/build/./static/js/64.cc7a1c78.chunk.js", + "static/css/65.ad11592d.chunk.css": "/react/build/static/css/65.ad11592d.chunk.css", + "./static/js/65.d6ad04b2.chunk.js": "/react/build/./static/js/65.d6ad04b2.chunk.js", + "static/css/66.d88771b5.chunk.css": "/react/build/static/css/66.d88771b5.chunk.css", + "./static/js/66.03d00bfd.chunk.js": "/react/build/./static/js/66.03d00bfd.chunk.js", + "static/css/67.e65ce4e5.chunk.css": "/react/build/static/css/67.e65ce4e5.chunk.css", + "./static/js/67.8fa10c91.chunk.js": "/react/build/./static/js/67.8fa10c91.chunk.js", + "static/css/68.77be1f1b.chunk.css": "/react/build/static/css/68.77be1f1b.chunk.css", + "./static/js/68.8038c2c4.chunk.js": "/react/build/./static/js/68.8038c2c4.chunk.js", + "static/css/69.83842e32.chunk.css": "/react/build/static/css/69.83842e32.chunk.css", + "./static/js/69.0a8b909f.chunk.js": "/react/build/./static/js/69.0a8b909f.chunk.js", + "static/css/70.bbc4aeb3.chunk.css": "/react/build/static/css/70.bbc4aeb3.chunk.css", + "./static/js/70.7ff537be.chunk.js": "/react/build/./static/js/70.7ff537be.chunk.js", + "static/css/71.492c615f.chunk.css": "/react/build/static/css/71.492c615f.chunk.css", + "./static/js/71.1c648982.chunk.js": "/react/build/./static/js/71.1c648982.chunk.js", + "static/css/72.fa8d3de0.chunk.css": "/react/build/static/css/72.fa8d3de0.chunk.css", + "./static/js/72.bc57bbb7.chunk.js": "/react/build/./static/js/72.bc57bbb7.chunk.js", + "static/css/73.640f37d5.chunk.css": "/react/build/static/css/73.640f37d5.chunk.css", + "./static/js/73.2efbf7da.chunk.js": "/react/build/./static/js/73.2efbf7da.chunk.js", + "static/css/74.06b0b148.chunk.css": "/react/build/static/css/74.06b0b148.chunk.css", + "./static/js/74.eb20975e.chunk.js": "/react/build/./static/js/74.eb20975e.chunk.js", + "static/css/75.9a288bf0.chunk.css": "/react/build/static/css/75.9a288bf0.chunk.css", + "./static/js/75.be4e3989.chunk.js": "/react/build/./static/js/75.be4e3989.chunk.js", + "static/css/76.8835d764.chunk.css": "/react/build/static/css/76.8835d764.chunk.css", + "./static/js/76.b36853cb.chunk.js": "/react/build/./static/js/76.b36853cb.chunk.js", + "static/css/77.37514e3d.chunk.css": "/react/build/static/css/77.37514e3d.chunk.css", + "./static/js/77.2bf27052.chunk.js": "/react/build/./static/js/77.2bf27052.chunk.js", + "static/css/78.07c2270b.chunk.css": "/react/build/static/css/78.07c2270b.chunk.css", + "./static/js/78.e4c47a37.chunk.js": "/react/build/./static/js/78.e4c47a37.chunk.js", + "static/css/79.55a39d39.chunk.css": "/react/build/static/css/79.55a39d39.chunk.css", + "./static/js/79.42656252.chunk.js": "/react/build/./static/js/79.42656252.chunk.js", + "static/css/80.6a082e80.chunk.css": "/react/build/static/css/80.6a082e80.chunk.css", + "./static/js/80.235023e4.chunk.js": "/react/build/./static/js/80.235023e4.chunk.js", + "static/css/81.03efc9d0.chunk.css": "/react/build/static/css/81.03efc9d0.chunk.css", + "./static/js/81.f39702df.chunk.js": "/react/build/./static/js/81.f39702df.chunk.js", + "static/css/82.5f454762.chunk.css": "/react/build/static/css/82.5f454762.chunk.css", + "./static/js/82.ff07dc5d.chunk.js": "/react/build/./static/js/82.ff07dc5d.chunk.js", + "static/css/83.7bca74e1.chunk.css": "/react/build/static/css/83.7bca74e1.chunk.css", + "./static/js/83.04a11ccf.chunk.js": "/react/build/./static/js/83.04a11ccf.chunk.js", + "static/css/84.59962e7d.chunk.css": "/react/build/static/css/84.59962e7d.chunk.css", + "./static/js/84.c9fe8ac2.chunk.js": "/react/build/./static/js/84.c9fe8ac2.chunk.js", + "./static/js/85.10c90210.chunk.js": "/react/build/./static/js/85.10c90210.chunk.js", + "static/css/86.640f37d5.chunk.css": "/react/build/static/css/86.640f37d5.chunk.css", + "./static/js/86.1fc60eb6.chunk.js": "/react/build/./static/js/86.1fc60eb6.chunk.js", + "static/css/87.cce966d7.chunk.css": "/react/build/static/css/87.cce966d7.chunk.css", + "./static/js/87.32ef0205.chunk.js": "/react/build/./static/js/87.32ef0205.chunk.js", + "static/css/88.c347466a.chunk.css": "/react/build/static/css/88.c347466a.chunk.css", + "./static/js/88.bcdd17c6.chunk.js": "/react/build/./static/js/88.bcdd17c6.chunk.js", + "static/css/89.e391b358.chunk.css": "/react/build/static/css/89.e391b358.chunk.css", + "./static/js/89.1af6c234.chunk.js": "/react/build/./static/js/89.1af6c234.chunk.js", + "static/css/90.3575dd00.chunk.css": "/react/build/static/css/90.3575dd00.chunk.css", + "./static/js/90.f58c5286.chunk.js": "/react/build/./static/js/90.f58c5286.chunk.js", + "static/css/91.640f37d5.chunk.css": "/react/build/static/css/91.640f37d5.chunk.css", + "./static/js/91.b9e16778.chunk.js": "/react/build/./static/js/91.b9e16778.chunk.js", + "static/css/92.d1223b0c.chunk.css": "/react/build/static/css/92.d1223b0c.chunk.css", + "./static/js/92.206a3144.chunk.js": "/react/build/./static/js/92.206a3144.chunk.js", + "./static/js/93.1f850907.chunk.js": "/react/build/./static/js/93.1f850907.chunk.js", + "static/css/94.98bbb7ab.chunk.css": "/react/build/static/css/94.98bbb7ab.chunk.css", + "./static/js/94.129db19a.chunk.js": "/react/build/./static/js/94.129db19a.chunk.js", "static/css/95.6a92deeb.chunk.css": "/react/build/static/css/95.6a92deeb.chunk.css", - "./static/js/95.78f546a8.chunk.js": "/react/build/./static/js/95.78f546a8.chunk.js", - "static/css/96.b2e18bca.chunk.css": "/react/build/static/css/96.b2e18bca.chunk.css", - "./static/js/96.811c85a1.chunk.js": "/react/build/./static/js/96.811c85a1.chunk.js", - "static/css/97.5695dd0f.chunk.css": "/react/build/static/css/97.5695dd0f.chunk.css", - "./static/js/97.7cceb9d3.chunk.js": "/react/build/./static/js/97.7cceb9d3.chunk.js", - "static/css/98.6a92deeb.chunk.css": "/react/build/static/css/98.6a92deeb.chunk.css", - "./static/js/98.10f58f16.chunk.js": "/react/build/./static/js/98.10f58f16.chunk.js", - "static/css/99.0d39367d.chunk.css": "/react/build/static/css/99.0d39367d.chunk.css", - "./static/js/99.9403ad62.chunk.js": "/react/build/./static/js/99.9403ad62.chunk.js", - "static/css/100.b0c79f6f.chunk.css": "/react/build/static/css/100.b0c79f6f.chunk.css", - "./static/js/100.94471444.chunk.js": "/react/build/./static/js/100.94471444.chunk.js", - "static/css/101.16248bea.chunk.css": "/react/build/static/css/101.16248bea.chunk.css", - "./static/js/101.563f7744.chunk.js": "/react/build/./static/js/101.563f7744.chunk.js", - "static/css/102.6a3d2d2d.chunk.css": "/react/build/static/css/102.6a3d2d2d.chunk.css", - "./static/js/102.82a41b6e.chunk.js": "/react/build/./static/js/102.82a41b6e.chunk.js", - "static/css/103.da94820a.chunk.css": "/react/build/static/css/103.da94820a.chunk.css", - "./static/js/103.4cf73a1d.chunk.js": "/react/build/./static/js/103.4cf73a1d.chunk.js", + "./static/js/95.e7af8414.chunk.js": "/react/build/./static/js/95.e7af8414.chunk.js", + "static/css/96.6a92deeb.chunk.css": "/react/build/static/css/96.6a92deeb.chunk.css", + "./static/js/96.3eb7381f.chunk.js": "/react/build/./static/js/96.3eb7381f.chunk.js", + "static/css/97.b2e18bca.chunk.css": "/react/build/static/css/97.b2e18bca.chunk.css", + "./static/js/97.871a1a13.chunk.js": "/react/build/./static/js/97.871a1a13.chunk.js", + "static/css/98.5695dd0f.chunk.css": "/react/build/static/css/98.5695dd0f.chunk.css", + "./static/js/98.7d78389e.chunk.js": "/react/build/./static/js/98.7d78389e.chunk.js", + "static/css/99.6a92deeb.chunk.css": "/react/build/static/css/99.6a92deeb.chunk.css", + "./static/js/99.070ff91c.chunk.js": "/react/build/./static/js/99.070ff91c.chunk.js", + "static/css/100.0d39367d.chunk.css": "/react/build/static/css/100.0d39367d.chunk.css", + "./static/js/100.49eb9af1.chunk.js": "/react/build/./static/js/100.49eb9af1.chunk.js", + "static/css/101.b0c79f6f.chunk.css": "/react/build/static/css/101.b0c79f6f.chunk.css", + "./static/js/101.1e6754fe.chunk.js": "/react/build/./static/js/101.1e6754fe.chunk.js", + "static/css/102.38de94fa.chunk.css": "/react/build/static/css/102.38de94fa.chunk.css", + "./static/js/102.c324969b.chunk.js": "/react/build/./static/js/102.c324969b.chunk.js", + "static/css/103.47269479.chunk.css": "/react/build/static/css/103.47269479.chunk.css", + "./static/js/103.4a271447.chunk.js": "/react/build/./static/js/103.4a271447.chunk.js", "static/css/104.d0be1f88.chunk.css": "/react/build/static/css/104.d0be1f88.chunk.css", - "./static/js/104.76f00514.chunk.js": "/react/build/./static/js/104.76f00514.chunk.js", + "./static/js/104.02516a2f.chunk.js": "/react/build/./static/js/104.02516a2f.chunk.js", "static/css/105.f9ddef41.chunk.css": "/react/build/static/css/105.f9ddef41.chunk.css", - "./static/js/105.815f6c84.chunk.js": "/react/build/./static/js/105.815f6c84.chunk.js", + "./static/js/105.a7b5bbf9.chunk.js": "/react/build/./static/js/105.a7b5bbf9.chunk.js", "./static/js/106.a0b45c17.chunk.js": "/react/build/./static/js/106.a0b45c17.chunk.js", "static/css/107.6a92deeb.chunk.css": "/react/build/static/css/107.6a92deeb.chunk.css", "./static/js/107.24373f0c.chunk.js": "/react/build/./static/js/107.24373f0c.chunk.js", "./static/js/108.413881ed.chunk.js": "/react/build/./static/js/108.413881ed.chunk.js", "./static/js/109.7f963502.chunk.js": "/react/build/./static/js/109.7f963502.chunk.js", "static/css/110.4f61230e.chunk.css": "/react/build/static/css/110.4f61230e.chunk.css", - "./static/js/110.87c397e4.chunk.js": "/react/build/./static/js/110.87c397e4.chunk.js", + "./static/js/110.5d15bd03.chunk.js": "/react/build/./static/js/110.5d15bd03.chunk.js", "static/css/111.f9ddef41.chunk.css": "/react/build/static/css/111.f9ddef41.chunk.css", "./static/js/111.f09ee0ba.chunk.js": "/react/build/./static/js/111.f09ee0ba.chunk.js", - "./static/js/112.0e59a7ad.chunk.js": "/react/build/./static/js/112.0e59a7ad.chunk.js", + "./static/js/112.94373bd6.chunk.js": "/react/build/./static/js/112.94373bd6.chunk.js", "./static/js/113.4e60a41c.chunk.js": "/react/build/./static/js/113.4e60a41c.chunk.js", "static/css/114.444685d7.chunk.css": "/react/build/static/css/114.444685d7.chunk.css", - "./static/js/114.5cc6940d.chunk.js": "/react/build/./static/js/114.5cc6940d.chunk.js", + "./static/js/114.d2eda47e.chunk.js": "/react/build/./static/js/114.d2eda47e.chunk.js", "static/css/115.444685d7.chunk.css": "/react/build/static/css/115.444685d7.chunk.css", - "./static/js/115.c228baff.chunk.js": "/react/build/./static/js/115.c228baff.chunk.js", + "./static/js/115.fb42bf0b.chunk.js": "/react/build/./static/js/115.fb42bf0b.chunk.js", "static/css/116.d0be1f88.chunk.css": "/react/build/static/css/116.d0be1f88.chunk.css", - "./static/js/116.9ca79c7c.chunk.js": "/react/build/./static/js/116.9ca79c7c.chunk.js", + "./static/js/116.aeed3a5a.chunk.js": "/react/build/./static/js/116.aeed3a5a.chunk.js", "static/css/117.d0be1f88.chunk.css": "/react/build/static/css/117.d0be1f88.chunk.css", - "./static/js/117.f32cd175.chunk.js": "/react/build/./static/js/117.f32cd175.chunk.js", - "./static/js/118.0f292951.chunk.js": "/react/build/./static/js/118.0f292951.chunk.js", + "./static/js/117.2774e491.chunk.js": "/react/build/./static/js/117.2774e491.chunk.js", + "./static/js/118.bbcb8554.chunk.js": "/react/build/./static/js/118.bbcb8554.chunk.js", "./static/js/119.81d2eea7.chunk.js": "/react/build/./static/js/119.81d2eea7.chunk.js", "static/css/120.790eec8a.chunk.css": "/react/build/static/css/120.790eec8a.chunk.css", - "./static/js/120.3b4ab2ab.chunk.js": "/react/build/./static/js/120.3b4ab2ab.chunk.js", + "./static/js/120.86232112.chunk.js": "/react/build/./static/js/120.86232112.chunk.js", "./static/js/121.61365e11.chunk.js": "/react/build/./static/js/121.61365e11.chunk.js", "static/css/122.4c369704.chunk.css": "/react/build/static/css/122.4c369704.chunk.css", - "./static/js/122.7e5b5a8f.chunk.js": "/react/build/./static/js/122.7e5b5a8f.chunk.js", + "./static/js/122.51363b93.chunk.js": "/react/build/./static/js/122.51363b93.chunk.js", "static/css/123.1231a5ef.chunk.css": "/react/build/static/css/123.1231a5ef.chunk.css", "./static/js/123.31a6e700.chunk.js": "/react/build/./static/js/123.31a6e700.chunk.js", - "./static/js/124.8d088943.chunk.js": "/react/build/./static/js/124.8d088943.chunk.js", + "./static/js/124.20acc9de.chunk.js": "/react/build/./static/js/124.20acc9de.chunk.js", "./static/js/125.b73bb5a8.chunk.js": "/react/build/./static/js/125.b73bb5a8.chunk.js", "./static/js/126.1f50d721.chunk.js": "/react/build/./static/js/126.1f50d721.chunk.js", "./static/js/127.cf807136.chunk.js": "/react/build/./static/js/127.cf807136.chunk.js", @@ -240,7 +240,7 @@ "./static/js/129.7b286abb.chunk.js": "/react/build/./static/js/129.7b286abb.chunk.js", "./static/js/130.c0df528c.chunk.js": "/react/build/./static/js/130.c0df528c.chunk.js", "./static/js/131.5770a756.chunk.js": "/react/build/./static/js/131.5770a756.chunk.js", - "./static/js/132.83bc6ffc.chunk.js": "/react/build/./static/js/132.83bc6ffc.chunk.js", + "./static/js/132.f94ef10b.chunk.js": "/react/build/./static/js/132.f94ef10b.chunk.js", "./static/js/133.4079a1fc.chunk.js": "/react/build/./static/js/133.4079a1fc.chunk.js", "./static/js/134.f069b9a0.chunk.js": "/react/build/./static/js/134.f069b9a0.chunk.js", "./static/js/135.9bd502ec.chunk.js": "/react/build/./static/js/135.9bd502ec.chunk.js", @@ -294,21 +294,21 @@ "./static/js/183.e18008cc.chunk.js": "/react/build/./static/js/183.e18008cc.chunk.js", "./static/js/184.a4fb8257.chunk.js": "/react/build/./static/js/184.a4fb8257.chunk.js", "main.css": "/react/build/static/css/main.40ae46d8.chunk.css", - "main.js": "/react/build/./static/js/main.6b5c8dea.chunk.js", - "runtime~main.js": "/react/build/./static/js/runtime~main.3e245fcc.js", + "main.js": "/react/build/./static/js/main.a40ca6e3.chunk.js", + "runtime~main.js": "/react/build/./static/js/runtime~main.9b31a1db.js", "./static/js/11.d53c6155.chunk.js.LICENSE.txt": "/react/build/./static/js/11.d53c6155.chunk.js.LICENSE.txt", "./static/js/17.f96c61a0.chunk.js.LICENSE.txt": "/react/build/./static/js/17.f96c61a0.chunk.js.LICENSE.txt", "./static/js/179.276a869d.chunk.js.LICENSE.txt": "/react/build/./static/js/179.276a869d.chunk.js.LICENSE.txt", - "./static/js/19.85260560.chunk.js.LICENSE.txt": "/react/build/./static/js/19.85260560.chunk.js.LICENSE.txt", - "./static/js/21.3a9b35fd.chunk.js.LICENSE.txt": "/react/build/./static/js/21.3a9b35fd.chunk.js.LICENSE.txt", - "./static/js/38.c9c44078.chunk.js.LICENSE.txt": "/react/build/./static/js/38.c9c44078.chunk.js.LICENSE.txt", - "./static/js/40.073ba93b.chunk.js.LICENSE.txt": "/react/build/./static/js/40.073ba93b.chunk.js.LICENSE.txt", - "./static/js/41.22948dca.chunk.js.LICENSE.txt": "/react/build/./static/js/41.22948dca.chunk.js.LICENSE.txt", - "./static/js/42.1cd44e97.chunk.js.LICENSE.txt": "/react/build/./static/js/42.1cd44e97.chunk.js.LICENSE.txt", - "./static/js/44.a7ad0710.chunk.js.LICENSE.txt": "/react/build/./static/js/44.a7ad0710.chunk.js.LICENSE.txt", - "./static/js/52.bf06d679.chunk.js.LICENSE.txt": "/react/build/./static/js/52.bf06d679.chunk.js.LICENSE.txt", - "./static/js/72.6eb71db9.chunk.js.LICENSE.txt": "/react/build/./static/js/72.6eb71db9.chunk.js.LICENSE.txt", - "./static/js/main.6b5c8dea.chunk.js.LICENSE.txt": "/react/build/./static/js/main.6b5c8dea.chunk.js.LICENSE.txt", + "./static/js/19.6d3d5337.chunk.js.LICENSE.txt": "/react/build/./static/js/19.6d3d5337.chunk.js.LICENSE.txt", + "./static/js/21.abb9a450.chunk.js.LICENSE.txt": "/react/build/./static/js/21.abb9a450.chunk.js.LICENSE.txt", + "./static/js/39.625eb2f2.chunk.js.LICENSE.txt": "/react/build/./static/js/39.625eb2f2.chunk.js.LICENSE.txt", + "./static/js/41.247edd7e.chunk.js.LICENSE.txt": "/react/build/./static/js/41.247edd7e.chunk.js.LICENSE.txt", + "./static/js/42.e560b073.chunk.js.LICENSE.txt": "/react/build/./static/js/42.e560b073.chunk.js.LICENSE.txt", + "./static/js/43.6cd9f3ab.chunk.js.LICENSE.txt": "/react/build/./static/js/43.6cd9f3ab.chunk.js.LICENSE.txt", + "./static/js/45.bb07836f.chunk.js.LICENSE.txt": "/react/build/./static/js/45.bb07836f.chunk.js.LICENSE.txt", + "./static/js/53.888153e3.chunk.js.LICENSE.txt": "/react/build/./static/js/53.888153e3.chunk.js.LICENSE.txt", + "./static/js/73.2efbf7da.chunk.js.LICENSE.txt": "/react/build/./static/js/73.2efbf7da.chunk.js.LICENSE.txt", + "./static/js/main.a40ca6e3.chunk.js.LICENSE.txt": "/react/build/./static/js/main.a40ca6e3.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/index.html b/index.html index 46bcf280a..0fd802455 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,i=e.className,f=e.style,d=void 0===f?{}:f,p=e.url,m=String(n),E=(0,r.useMemo)((function(){var e=(0,s.default)(m),t=(0,o.getMathExpressions)();return m.match(/\[TOC\]/)&&(e=e.replace("[TOC]
",(0,o.getTocContent)()),(0,o.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var r=t[n],a=r.type,o=r.expression;return(0,c.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(o)||"",{displayMode:"block"===a,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,o.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,r.useEffect)((function(){if(p&&p.hash&&E){var e=p.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+220)}}}),[p]);var b=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(b.current&&E&&E.match(u)&&window.PR.prettyPrint(),b.current)return b.current.addEventListener("click",v),function(){b.current.removeEventListener("click",v),(0,o.resetMathExpressions)(),(0,o.cleanToc)()}}),[E,b.current,v]),a.default.createElement("div",{ref:b,style:d,className:(i||"")+" markdown-body",dangerouslySetInnerHTML:{__html:E}})}},dF3D:function(e,t){e.exports="data:image/png;base64,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"},eV6p:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/100.94471444.chunk.js b/static/js/100.94471444.chunk.js deleted file mode 100644 index 5f88418d1..000000000 --- a/static/js/100.94471444.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[100],{QQLf:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(a("kLXV")),n=f(a("2/Rp")),l=f(a("5rEg")),i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var a=[],r=!0,n=!1,l=void 0;try{for(var i,d=e[Symbol.iterator]();!(r=(i=d.next()).done)&&(a.push(i.value),!t||a.length!==t);r=!0);}catch(e){n=!0,l=e}finally{try{!r&&d.return&&d.return()}finally{if(n)throw l}}return a}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};a("k3Gp"),a("L/Qf"),a("1vPl");var d=a("q1tI"),u=f(d),o=f(a("fGd5")),c=a("EqSN");function f(e){return e&&e.__esModule?e:{default:e}}a("wZUf");var s=l.default.Search;t.default=function(e){var t=e.showNotification,a=(0,d.useState)(),l=i(a,2),f=l[0],m=l[1],p=(0,d.useState)(!1),x=i(p,2),h=x[0],y=x[1],v=(0,d.useState)(1),w=i(v,2),g=w[0],I=w[1],S=(0,d.useState)([]),b=i(S,2),k=b[0],E=b[1],N=(0,d.useState)(0),A=i(N,2),T=A[0],O=A[1],P=(0,d.useState)(""),_=i(P,2),j=_[0],C=_[1],M=(0,d.useState)(10),L=i(M,2),U=L[0],z=(L[1],(0,d.useMemo)((function(){return[{title:"姓名",dataIndex:"expertName",width:55,key:"expertName",fixed:"left"},{title:"最高学历",dataIndex:"highestDegree",width:100,key:"highestDegree",fixed:"left"},{title:"手机号码",dataIndex:"phone",width:100,key:"phone",fixed:"left"},{title:"工作单位",dataIndex:"workplace"},{title:"单位类别",dataIndex:"workplaceType"},{title:"工作性质",dataIndex:"workNature"},{title:"专业职称",dataIndex:"professionalTitle"},{title:"职称职级",dataIndex:"professionalYears"},{title:"专业类别",dataIndex:"expertType"},{title:"评审领域1",dataIndex:"reviewAreaOne"},{title:"评审领域2",dataIndex:"reviewAreaTwo"},{title:"评审领域3",dataIndex:"reviewAreaThree"},{title:"毕业院校",dataIndex:"graduatedFrom"},{title:"院校专业",dataIndex:"major"},{title:"身份证号",dataIndex:"idNumber"},{title:"邮箱地址",dataIndex:"expertEmail"},{title:"开户银行",dataIndex:"bankName"},{title:"银行账号",dataIndex:"bankAccount"},{title:"个人简介",dataIndex:"resume"},{title:"操作",dataIndex:"action",width:80,fixed:"right",render:function(e,t){return u.default.createElement(u.default.Fragment,null,u.default.createElement(n.default,{className:"mr5 font-12",type:"primary",size:"small",onClick:function(){D(t,"1")}},"同意"),u.default.createElement(n.default,{className:"mr5 font-12",type:"danger",size:"small",onClick:function(){D(t,"2")}},"拒绝"))}}]}),[]));function D(e,a){r.default.confirm({title:"警告",content:"1"==a?"确认通过吗?通过后该用户将成为专家库的一员":"确认拒绝吗?拒绝后该用户此次不能成为专家",okText:"确定",cancelText:"取消",onOk:function(){(0,c.registerCheck)({expertId:e.id,isPassed:a,userId:e.userId}).then((function(e){"success"===e.message&&(t("操作成功!"),m(Math.random()))}))}})}return(0,d.useEffect)((function(){y(!0);var e={searchInput:j,pageSize:U,curPage:g,statusString:"-1"};(0,c.expertList)(e).then((function(e){if(e&&Array.isArray(e.rows)){var t=!0,a=!1,r=void 0;try{for(var n,l=e.rows[Symbol.iterator]();!(t=(n=l.next()).done);t=!0){var i=n.value;i.detail=i.paperDetail&&i.paperDetail.content}}catch(e){a=!0,r=e}finally{try{!t&&l.return&&l.return()}finally{if(a)throw r}}}E(e.rows||[]),y(!1),O(e.total)}))}),[g,f,j]),u.default.createElement("div",{className:"expert-list centerbox"},u.default.createElement("div",{className:"center-screen"},u.default.createElement("div",{className:"center-right-but"},u.default.createElement(s,{maxLength:20,style:{width:"300px"},placeholder:"请输入专家全名或手机号",onSearch:function(e){C(e),I(1)}}))),u.default.createElement(o.default,{loading:h,dataSource:k,columns:z,total:T,setCurPage:I,current:g,scroll:{x:1600,y:600}}))}},fGd5:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(a("NUBc")),n=u(a("wCAj")),l=Object.assign||function(e){for(var t=1;t10&&d.default.createElement(r.default,{onChange:f,current:s,total:c}))}},"pUN+":function(e,t,a){},wZUf:function(e,t,a){}}]); \ No newline at end of file diff --git a/static/js/101.1e6754fe.chunk.js b/static/js/101.1e6754fe.chunk.js new file mode 100644 index 000000000..7fd119d5e --- /dev/null +++ b/static/js/101.1e6754fe.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[101],{QQLf:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=f(a("kLXV")),r=f(a("2/Rp")),l=f(a("5rEg")),i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var a=[],n=!0,r=!1,l=void 0;try{for(var i,d=e[Symbol.iterator]();!(n=(i=d.next()).done)&&(a.push(i.value),!t||a.length!==t);n=!0);}catch(e){r=!0,l=e}finally{try{!n&&d.return&&d.return()}finally{if(r)throw l}}return a}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};a("k3Gp"),a("L/Qf"),a("1vPl");var d=a("q1tI"),o=f(d),u=f(a("fGd5")),c=a("EqSN");function f(e){return e&&e.__esModule?e:{default:e}}a("wZUf");var s=l.default.Search;t.default=function(e){var t=e.showNotification,a=(0,d.useState)(),l=i(a,2),f=l[0],p=l[1],m=(0,d.useState)(!1),x=i(m,2),h=x[0],w=x[1],y=(0,d.useState)(1),I=i(y,2),v=I[0],g=I[1],S=(0,d.useState)([]),b=i(S,2),k=b[0],E=b[1],N=(0,d.useState)(0),A=i(N,2),C=A[0],T=A[1],O=(0,d.useState)(""),P=i(O,2),_=P[0],j=P[1],R=(0,d.useState)(10),M=i(R,2),L=M[0],U=(M[1],(0,d.useMemo)((function(){return[{title:"姓名",dataIndex:"expertName",width:55,key:"expertName",fixed:"left"},{title:"最高学历",dataIndex:"highestDegree",width:100,key:"highestDegree",fixed:"left"},{title:"手机号码",dataIndex:"phone",width:100,key:"phone",fixed:"left"},{title:"工作单位",dataIndex:"workplace"},{title:"单位类别",dataIndex:"workplaceType"},{title:"工作性质",dataIndex:"workNature"},{title:"专业职称",dataIndex:"professionalTitle"},{title:"职称职级",dataIndex:"professionalYears"},{title:"专家类别",dataIndex:"expertType"},{title:"评审领域1",dataIndex:"reviewAreaOne"},{title:"评审领域2",dataIndex:"reviewAreaTwo"},{title:"评审领域3",dataIndex:"reviewAreaThree"},{title:"毕业院校",dataIndex:"graduatedFrom"},{title:"院校专业",dataIndex:"major"},{title:"身份证号",dataIndex:"idNumber"},{title:"邮箱地址",dataIndex:"expertEmail"},{title:"开户银行",dataIndex:"bankName"},{title:"银行账号",dataIndex:"bankAccount"},{title:"个人简介",dataIndex:"resume"},{title:"操作",dataIndex:"action",width:80,fixed:"right",render:function(e,t){return o.default.createElement(o.default.Fragment,null,o.default.createElement(r.default,{className:"mr5 font-12",type:"primary",size:"small",onClick:function(){z(t,"1")}},"同意"),o.default.createElement(r.default,{className:"mr5 font-12",type:"danger",size:"small",onClick:function(){z(t,"2")}},"拒绝"))}}]}),[]));function z(e,a){n.default.confirm({title:"警告",content:"1"==a?"确认通过吗?通过后该用户将成为专家库的一员":"确认拒绝吗?拒绝后该用户此次不能成为专家",okText:"确定",cancelText:"取消",onOk:function(){(0,c.registerCheck)({expertId:e.id,isPassed:a,userId:e.userId}).then((function(e){"success"===e.message&&(t("操作成功!"),p(Math.random()))}))}})}return(0,d.useEffect)((function(){w(!0);var e={searchInput:_,pageSize:L,curPage:v,statusString:"-1"};(0,c.expertList)(e).then((function(e){if(e&&Array.isArray(e.rows)){var t=!0,a=!1,n=void 0;try{for(var r,l=e.rows[Symbol.iterator]();!(t=(r=l.next()).done);t=!0){var i=r.value;i.detail=i.paperDetail&&i.paperDetail.content}}catch(e){a=!0,n=e}finally{try{!t&&l.return&&l.return()}finally{if(a)throw n}}}E(e.rows||[]),w(!1),T(e.total)}))}),[v,f,_]),o.default.createElement("div",{className:"expert-list centerbox"},o.default.createElement("div",{className:"center-screen"},o.default.createElement("div",{className:"center-right-but"},o.default.createElement(s,{maxLength:20,style:{width:"300px"},placeholder:"请输入专家全名或手机号",onSearch:function(e){j(e),g(1)}}))),o.default.createElement(u.default,{loading:h,dataSource:k,columns:U,total:C,setCurPage:g,current:v,scroll:{x:1600,y:600}}))}},fGd5:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(a("NUBc")),r=o(a("wCAj")),l=Object.assign||function(e){for(var t=1;t 10&&d.default.createElement(n.default,{onChange:f,current:s,total:c}))}},"pUN+":function(e,t,a){},wZUf:function(e,t,a){}}]); \ No newline at end of file diff --git a/static/js/101.563f7744.chunk.js b/static/js/102.c324969b.chunk.js similarity index 98% rename from static/js/101.563f7744.chunk.js rename to static/js/102.c324969b.chunk.js index 5d86eca7b..beb43b357 100644 --- a/static/js/101.563f7744.chunk.js +++ b/static/js/102.c324969b.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[101],{"4ji1":function(e,t,a){},QEKh:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=c(a("Vl3Y")),r=c(a("+eQT"));a("tULf"),a("U8R4");var u=c(a("q1tI")),n=c(a("zrsA"));function c(e){return e&&e.__esModule?e:{default:e}}a("qjXi"),a("4ji1");var m=r.default.RangePicker;t.default=l.default.create()((function(e){var t=e.form.getFieldDecorator;return u.default.createElement("div",{className:"centerbox setRules"},u.default.createElement("div",{className:"head_title mb20"},u.default.createElement("div",{className:"-layout pb10"},u.default.createElement("span",{className:"font-16"},"任务信息"),u.default.createElement("button",{className:"but41_border"},"返回上一页")),u.default.createElement("p",{className:"mt10"},"任务名称"),u.default.createElement("p",{className:"mt10 pb20"},"任务链接")),u.default.createElement(l.default,{className:"pt10"},u.default.createElement(l.default.Item,{label:"评审规则"},t("reviewRule",{rules:[{required:!0,message:"请输入评审规则"}]})(u.default.createElement(n.default,{placeholder:"请输入评审规则",rows:4,maxLength:"200"}))),u.default.createElement("p",{className:"rules_bar"}),u.default.createElement("p",{className:"font-16 criteria_title mt25 mb10"},"评分标准",u.default.createElement("span",{className:"ml5 be_carful"},"注:管理员可设置1-5个评分项及对应评分标准,每个评分项固定设置为100分")),u.default.createElement(l.default.Item,{label:"评分标准一"},t("criteria1",{rules:[{required:!0,message:"请输入一个评分标准"}]})(u.default.createElement(n.default,{placeholder:"请输入评分项对应分值及评分标准",rows:3,maxLength:"100"}))),u.default.createElement(l.default.Item,{label:"评分标准二"},t("criteria2",{rules:[{}]})(u.default.createElement(n.default,{placeholder:"请输入评分项对应分值及评分标准",rows:3,maxLength:"100"}))),u.default.createElement(l.default.Item,{label:"评分标准三"},t("criteria3",{rules:[{}]})(u.default.createElement(n.default,{placeholder:"请输入评分项对应分值及评分标准",rows:3,maxLength:"100"}))),u.default.createElement(l.default.Item,{label:"评分标准四"},t("criteria4",{rules:[{}]})(u.default.createElement(n.default,{placeholder:"请输入评分项对应分值及评分标准",rows:3,maxLength:"100"}))),u.default.createElement(l.default.Item,{label:"评分标准五"},t("criteria5",{rules:[{}]})(u.default.createElement(n.default,{placeholder:"请输入评分项对应分值及评分标准",rows:3,maxLength:"100"}))),u.default.createElement("p",{className:"rules_bar"}),u.default.createElement(l.default.Item,{label:"评审时间"},t("reviewDate",{rules:[{required:!0,message:"请选择评审时间"}]})(u.default.createElement(m,{showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",placeholder:["Start Time","End Time"]})))),u.default.createElement("div",{className:"rules_buttom mt20"},u.default.createElement("button",{className:"but41_fill"},"保存"),u.default.createElement("button",{className:"butE3_border ml30"},"取消")))}))},qjXi:function(e,t,a){},zrsA:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=c(a("5rEg")),r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var a=[],l=!0,r=!1,u=void 0;try{for(var n,c=e[Symbol.iterator]();!(l=(n=c.next()).done)&&(a.push(n.value),!t||a.length!==t);l=!0);}catch(e){r=!0,u=e}finally{try{!l&&c.return&&c.return()}finally{if(r)throw u}}return a}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};a("1vPl");var u=a("q1tI"),n=c(u);function c(e){return e&&e.__esModule?e:{default:e}}var m=l.default.TextArea;t.default=function(e){var t=(0,u.useState)(0),a=r(t,2),l=a[0],c=a[1];return n.default.createElement("div",{style:{position:"relative"}},n.default.createElement(m,{placeholder:e.placeholder,rows:e.rows,maxLength:e.maxLength,onChange:function(e){return c(e.target.value.length)}}),n.default.createElement("span",{style:{position:"absolute",bottom:"-4px",right:"12px",fontSize:"12px"}},l,"/",e.maxLength))}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[102],{"4ji1":function(e,t,a){},QEKh:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=c(a("Vl3Y")),r=c(a("+eQT"));a("tULf"),a("U8R4");var u=c(a("q1tI")),n=c(a("zrsA"));function c(e){return e&&e.__esModule?e:{default:e}}a("qjXi"),a("4ji1");var m=r.default.RangePicker;t.default=l.default.create()((function(e){var t=e.form.getFieldDecorator;return u.default.createElement("div",{className:"centerbox setRules"},u.default.createElement("div",{className:"head_title mb20"},u.default.createElement("div",{className:"-layout pb10"},u.default.createElement("span",{className:"font-16"},"任务信息"),u.default.createElement("button",{className:"but41_border"},"返回上一页")),u.default.createElement("p",{className:"mt10"},"任务名称"),u.default.createElement("p",{className:"mt10 pb20"},"任务链接")),u.default.createElement(l.default,{className:"pt10"},u.default.createElement(l.default.Item,{label:"评审规则"},t("reviewRule",{rules:[{required:!0,message:"请输入评审规则"}]})(u.default.createElement(n.default,{placeholder:"请输入评审规则",rows:4,maxLength:"200"}))),u.default.createElement("p",{className:"rules_bar"}),u.default.createElement("p",{className:"font-16 criteria_title mt25 mb10"},"评分标准",u.default.createElement("span",{className:"ml5 be_carful"},"注:管理员可设置1-5个评分项及对应评分标准,每个评分项固定设置为100分")),u.default.createElement(l.default.Item,{label:"评分标准一"},t("criteria1",{rules:[{required:!0,message:"请输入一个评分标准"}]})(u.default.createElement(n.default,{placeholder:"请输入评分项对应分值及评分标准",rows:3,maxLength:"100"}))),u.default.createElement(l.default.Item,{label:"评分标准二"},t("criteria2",{rules:[{}]})(u.default.createElement(n.default,{placeholder:"请输入评分项对应分值及评分标准",rows:3,maxLength:"100"}))),u.default.createElement(l.default.Item,{label:"评分标准三"},t("criteria3",{rules:[{}]})(u.default.createElement(n.default,{placeholder:"请输入评分项对应分值及评分标准",rows:3,maxLength:"100"}))),u.default.createElement(l.default.Item,{label:"评分标准四"},t("criteria4",{rules:[{}]})(u.default.createElement(n.default,{placeholder:"请输入评分项对应分值及评分标准",rows:3,maxLength:"100"}))),u.default.createElement(l.default.Item,{label:"评分标准五"},t("criteria5",{rules:[{}]})(u.default.createElement(n.default,{placeholder:"请输入评分项对应分值及评分标准",rows:3,maxLength:"100"}))),u.default.createElement("p",{className:"rules_bar"}),u.default.createElement(l.default.Item,{label:"评审时间"},t("reviewDate",{rules:[{required:!0,message:"请选择评审时间"}]})(u.default.createElement(m,{showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",placeholder:["Start Time","End Time"]})))),u.default.createElement("div",{className:"rules_buttom mt20"},u.default.createElement("button",{className:"but41_fill"},"保存"),u.default.createElement("button",{className:"butE3_border ml30"},"取消")))}))},qjXi:function(e,t,a){},zrsA:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=c(a("5rEg")),r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var a=[],l=!0,r=!1,u=void 0;try{for(var n,c=e[Symbol.iterator]();!(l=(n=c.next()).done)&&(a.push(n.value),!t||a.length!==t);l=!0);}catch(e){r=!0,u=e}finally{try{!l&&c.return&&c.return()}finally{if(r)throw u}}return a}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};a("1vPl");var u=a("q1tI"),n=c(u);function c(e){return e&&e.__esModule?e:{default:e}}var m=l.default.TextArea;t.default=function(e){var t=(0,u.useState)(0),a=r(t,2),l=a[0],c=a[1];return n.default.createElement("div",{style:{position:"relative"}},n.default.createElement(m,{placeholder:e.placeholder,rows:e.rows,maxLength:e.maxLength,onChange:function(e){return c(e.target.value.length)}}),n.default.createElement("span",{style:{position:"absolute",bottom:"-4px",right:"12px",fontSize:"12px"}},l,"/",e.maxLength))}}}]); \ No newline at end of file diff --git a/static/js/102.82a41b6e.chunk.js b/static/js/103.4a271447.chunk.js similarity index 89% rename from static/js/102.82a41b6e.chunk.js rename to static/js/103.4a271447.chunk.js index c3167b5f2..37c96fd3f 100644 --- a/static/js/102.82a41b6e.chunk.js +++ b/static/js/103.4a271447.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[102],{"4ji1":function(e,t,a){},"4yNN":function(e,t,a){},atEh:function(e,t,a){"use strict";a.r(t),t.default=a.p+"static/media/system.590b32ec.svg"},nc1g:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=c(a("q1tI")),n=a("eO8H"),s=c(a("atEh"));function c(e){return e&&e.__esModule?e:{default:e}}a("4yNN"),a("4ji1"),t.default=function(){return l.default.createElement("div",{className:"expert_review_system centerbox"},l.default.createElement("div",{className:"navigation"},l.default.createElement("span",null,"首页")," > ",l.default.createElement("span",null,"专家评审系统")),l.default.createElement("div",{className:"notExpert center_flex"},l.default.createElement("img",{src:s.default}),l.default.createElement("p",{className:"ne_title"},"红山开源平台专家评审系统"),l.default.createElement("p",{className:"ne_tips"},"您尚未被入选本平台专家团队,可提交专家资料进行注册申请加入专家团队"),l.default.createElement("p",{className:"ne_bar"}),l.default.createElement(n.Link,{to:"/expert/register"},l.default.createElement("button",{className:"but41_fill"},"专家注册"))))}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[103],{"4ji1":function(e,t,a){},"4yNN":function(e,t,a){},atEh:function(e,t,a){"use strict";a.r(t),t.default=a.p+"static/media/system.590b32ec.svg"},nc1g:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=c(a("q1tI")),n=a("eO8H"),s=c(a("atEh"));function c(e){return e&&e.__esModule?e:{default:e}}a("4yNN"),a("4ji1"),t.default=function(){return l.default.createElement("div",{className:"expert_review_system centerbox"},l.default.createElement("div",{className:"navigation"},l.default.createElement("span",null,"首页")," > ",l.default.createElement("span",null,"专家评审系统")),l.default.createElement("div",{className:"notExpert center_flex"},l.default.createElement("img",{src:s.default}),l.default.createElement("p",{className:"ne_title"},"红山开源平台专家评审系统"),l.default.createElement("p",{className:"ne_tips"},"您尚未被入选本平台专家团队,可提交专家资料进行注册申请加入专家团队"),l.default.createElement("p",{className:"ne_bar"}),l.default.createElement(n.Link,{to:"/expert/register"},l.default.createElement("button",{className:"but41_fill"},"专家注册"))))}}}]); \ No newline at end of file diff --git a/static/js/103.4cf73a1d.chunk.js b/static/js/103.4cf73a1d.chunk.js deleted file mode 100644 index e13b055ce..000000000 --- a/static/js/103.4cf73a1d.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[103],{"4ji1":function(e,l,a){},LGnZ:function(e,l,a){"use strict";Object.defineProperty(l,"__esModule",{value:!0});l.unitType=[{value:"企业",label:"企业"},{value:"科研院所",label:"科研院所"},{value:"高等院校",label:"高等院校"},{value:"医疗机构",label:"医疗机构"},{value:"行政机关",label:"行政机关"},{value:"社会团体",label:"社会团体"},{value:"其他",label:"其他"}],l.natureOfWork=[{value:"研究",label:"研究"},{value:"管理",label:"管理"},{value:"开发",label:"开发"},{value:"服务",label:"服务"},{value:"其他",label:"其他"}],l.highestEducation=[{value:"博士",label:"博士"},{value:"硕士",label:"硕士"},{value:"本科",label:"本科"},{value:"大专",label:"大专"},{value:"其他",label:"其他"}],l.positionLevel=[{value:"正高级",label:"正高级"},{value:"副高级",label:"副高级"},{value:"中级",label:"中级"},{value:"初级",label:"初级"},{value:"未取得",label:"未取得"}],l.professionalType=[{value:"技术类",label:"技术类"},{value:"经济类",label:"经济类"},{value:"管理类",label:"管理类"}],l.reviewArea=[{value:"军事理论",label:"军事理论"},{value:"政策法规",label:"政策法规"},{value:"医学",label:"医学"},{value:"电子",label:"电子"},{value:"通信",label:"通信"},{value:"计算机科学",label:"计算机科学"},{value:"软件工程",label:"软件工程"},{value:"有机化学",label:"有机化学"},{value:"人工智能",label:"人工智能"},{value:"文学交流",label:"文学交流"},{value:"体育活动",label:"体育活动"}]},ukpr:function(e,l,a){},wRCo:function(e,l,a){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=d(a("5rEg")),u=d(a("2fM7")),n=d(a("ZTPi"));a("1vPl"),a("8QGh"),a("AUBz");var c=d(a("q1tI")),r=a("LGnZ");function d(e){return e&&e.__esModule?e:{default:e}}a("ukpr"),a("4ji1");var v=n.default.TabPane,f=u.default.Option;l.default=function(){return c.default.createElement("div",{className:"centerbox select_expert"},c.default.createElement("p",{className:"title_one font-16"},"评审专家选取"),c.default.createElement(n.default,{defaultActiveKey:"1",animated:!1,type:"card"},c.default.createElement(v,{tab:"已选专家",key:"0"},c.default.createElement("div",null,c.default.createElement("div",{className:"box"}),c.default.createElement("p",{className:"font-16"},"任务信息"),c.default.createElement("p",{className:"mt10"},"任务名称"),c.default.createElement("p",{className:"mt10 pb20"},"任务链接"))),c.default.createElement(v,{tab:"专家选取",key:"1"},c.default.createElement("div",null,c.default.createElement("div",{className:"box"}),c.default.createElement("p",{className:"font-16"},"任务信息"),c.default.createElement("p",{className:"mt10"},"任务名称"),c.default.createElement("p",{className:"mt10 pb20"},"任务链接")),c.default.createElement("div",{className:"df"},c.default.createElement("p",null,"添加评审专家"),c.default.createElement("div",null,c.default.createElement("button",{className:"but41_fill"},"批量添加"),c.default.createElement("button",{className:"but41_fill"},"随机抽取"))),c.default.createElement("div",{className:"df"},"查询条件:",c.default.createElement(t.default,{style:{width:220}}),"专家类别:",c.default.createElement(u.default,{placeholder:"所有类别",style:{width:220}},c.default.createElement(f,{value:"all"},"所有类别"),r.unitType.map((function(e){return c.default.createElement(f,{key:e.value,value:e.value},e.label)}))),"评审领域:",c.default.createElement(u.default,{style:{width:220}},c.default.createElement(f,{value:"all"},"所有领域"),r.reviewArea.map((function(e){return c.default.createElement(f,{key:e.value,value:e.value},e.label)}))),c.default.createElement("button",{className:"but41_fill ml80"},"查询"),c.default.createElement("button",{className:"butE3_border"},"清除")))))}}}]); \ No newline at end of file diff --git a/static/js/104.76f00514.chunk.js b/static/js/104.02516a2f.chunk.js similarity index 98% rename from static/js/104.76f00514.chunk.js rename to static/js/104.02516a2f.chunk.js index 58956e79f..4cbb90199 100644 --- a/static/js/104.76f00514.chunk.js +++ b/static/js/104.02516a2f.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[104],{DqQ0:function(e,t,a){},XG39:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.httpUrl=void 0;var r,n=a("P+r3"),u=(r=n)&&r.__esModule?r:{default:r};var s=JSON.parse(localStorage.chromesetting),o=s.api_urls?s.api_urls.task:"https://task.osredm.com",i=(0,u.default)(o);t.httpUrl=o;t.default=i},i4AD:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delayList=t.uploadPayProofList=t.agreementList=t.publicityComplainList=t.proofList=t.complainPaperList=t.myPapers=t.readyCheckPapers=t.getTaskPaper=t.getTaskDetail=t.getJoinTaskList=t.getMyTaskList=t.getTaskAdminList=t.getTaskList=t.getTaskCategory=void 0;var r,n,u,s,o,i,d,p,c,l,f,m,h,g,k,y=w(a("14Xm")),b=w(a("TeRw"));t.getTaskCategory=(r=P(y.default.mark((function e(){var t;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/taskCategory/getTaskCategory",method:"get"});case 2:if(t=e.sent,!Array.isArray(t.data.rows)){e.next=7;break}return e.abrupt("return",t.data.rows);case 7:b.default.open({message:"提示",description:t.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)}),t.getTaskList=(n=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/tasks/",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)}),t.getTaskAdminList=(u=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/tasks/backend/list",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)}),t.getMyTaskList=(s=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/myTasks/",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)}),t.getJoinTaskList=(o=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/myTasks/myPapers",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)}),t.getTaskDetail=(i=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/tasks/getTask/"+t,method:"get"});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:a.message&&a.message.indexOf("exist")>-1?b.default.open({message:"提示",description:"未查到该任务"}):b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)}),t.getTaskPaper=(d=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/paper/",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return d.apply(this,arguments)}),t.readyCheckPapers=(p=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/paper/admin/readyCheckPapers",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return p.apply(this,arguments)}),t.myPapers=(c=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/paper/my",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)}),t.complainPaperList=(l=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/paper/admin/readyComplaintPapers",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return l.apply(this,arguments)}),t.proofList=(f=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/tasks/backend/proofList",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return f.apply(this,arguments)}),t.publicityComplainList=(m=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/tasks/backend/complaintMaterialList",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return m.apply(this,arguments)}),t.agreementList=(h=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/sign/task/contract",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return h.apply(this,arguments)}),t.uploadPayProofList=(g=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/sign/admin/paper/payOrders",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return g.apply(this,arguments)}),t.delayList=(k=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/tasks/backend/admin/delayList",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return k.apply(this,arguments)});t.getDictionary=function(e){return(0,v.default)({url:"/dicItem/getData?dicTypeCode="+e,method:"get"})},t.getUserInfo=function(){return(0,v.default)({url:"/user/getUserInfo",method:"get"})},t.getCompanyInfo=function(){return(0,v.default)({url:"/api/tasks/getEnterpriseUserInfo",method:"get"})},t.addTask=function(e){return(0,v.default)({url:"/api/tasks/add",method:"post",data:e})},t.updateTask=function(e){return(0,v.default)({url:"/api/tasks/",method:"PUT",data:e})},t.deleteTask=function(e,t){return(0,v.default)({url:"/api/tasks/"+e+"?isDelete="+t,method:"DELETE"})},t.recommendTask=function(e,t){return(0,v.default)({url:"/api/tasks/backend/changeTaskRecommendedStatus/"+e+"?recommend="+t,method:"PUT"})},t.addPaper=function(e){return(0,v.default)({url:"/api/paper/",method:"post",data:e})},t.updatePaper=function(e){return(0,v.default)({url:"/api/paper/",method:"put",data:e})},t.deletePaper=function(e){return(0,v.default)({url:"api/paper/"+e,method:"delete"})},t.makePublic=function(e){return(0,v.default)({url:"/api/tasks/makeApplicantListPublic/"+e,method:"put"})},t.reportPaper=function(e){return(0,v.default)({url:"/api/paper/"+e.paperId+"/paperReport",method:"post",data:e})},t.thumbUpPaper=function(e){return(0,v.default)({url:"/api/paper/"+e+"/thumbUp",method:"post",data:{paperId:e}})},t.checkAgreement=function(e){return(0,v.default)({url:"/api/paper/"+e+"/agreement",method:"get"})},t.checkHavePaper=function(e){return(0,v.default)({url:"/api/paper/"+e+"/check",method:"get"})},t.getAgreement=function(){return(0,v.default)({url:"/api/paper/agreementSettings/1",method:"get"})},t.agreement=function(e){return(0,v.default)({url:"/api/paper/"+e+"/agreement",method:"post",data:{taskId:e}})},t.commentAdd=function(e){return(0,v.default)({url:"/api/paper/"+e.paperId+"/comment",method:"post",data:e})},t.checkTask=function(e){return(0,v.default)({url:"/api/tasks/backend/adminCheck",method:"post",data:e})},t.checkPaper=function(e){return(0,v.default)({url:"/api/paper/admin/complainPaper/"+e.paperId,method:"post",data:e.auditingVo})},t.complainPaper=function(e){return(0,v.default)({url:"/api/paper/complainInfo/"+e.paperId,method:"post",data:e.params})},t.checkComplain=function(e){return(0,v.default)({url:"/api/paper/admin/complainMaterial/"+e.paperId,method:"post",data:e.auditingVo})},t.proofAdd=function(e){return(0,v.default)({url:"/api/taskResultProof/addTaskResultProof",method:"post",data:e})},t.checkProof=function(e){return(0,v.default)({url:"/api/taskResultProof/adminCheckResultAndProof",method:"post",data:e})},t.publicityComplain=function(e){return(0,v.default)({url:"/api/myTasks/applicantComplaintDuringPublicity",method:"post",data:e})},t.checkPublicity=function(e){return(0,v.default)({url:"/api/tasks/backend/adminCheck/complaintMaterialDuringPublicity",method:"post",data:e})},t.signMethod=function(e){return(0,v.default)({url:"/api/sign/method/"+e.taskId+"/"+e.method,method:"post"})},t.uploadAgreeRequire=function(e){return(0,v.default)({url:"/api/sign/task/contract/"+e.taskId,method:"post",data:e.params})},t.adminCheckAgreement=function(e){return(0,v.default)({url:"/api/sign/admin/"+(1===e.type?"task":"paper")+"/contract/"+e.agreementId,method:"post",data:e.params})},t.uploadAgreePaper=function(e){return(0,v.default)({url:"/api/sign/paper/contract/"+e.paperId,method:"post",data:e.params})},t.uploadPayProof=function(e){return(0,v.default)({url:"/api/sign/admin/paper/payment/"+e.paperId,method:"post",data:e.params})},t.confirmReceipt=function(e){return(0,v.default)({url:"/api/sign/paper/money/"+e,method:"post"})},t.downAgreement=function(e){return(0,v.default)({url:"/api/myTasks/getWinnersContractsByTaskId",method:"get",params:e})},t.changeShowUserMode=function(e){return(0,v.default)({url:"/api/tasks/backend/changeShowUserMode",method:"post",data:e})},t.delayTask=function(e){return(0,v.default)({url:"/api/tasks/backend/admin/task/delay/"+e.taskId,method:"post",data:e.params})},t.closeTask=function(e){return(0,v.default)({url:"/api/tasks/backend/admin/task/close/"+e,method:"post"})},t.addExpertReview=function(e){return(0,v.default)({url:"/api/tasks/backend/admin/task/close/"+e,method:"post"})},a("O+I2");var v=w(a("XG39"));function w(e){return e&&e.__esModule?e:{default:e}}function P(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,a){return function r(n,u){try{var s=t[n](u),o=s.value}catch(e){return void a(e)}if(!s.done)return Promise.resolve(o).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(o)}("next")}))}}},l2Aw:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t 0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(a){function u(e){p(this,u);var t=c(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,e));return t.onDelegateClick=function(e){var a=e.target.src||e.target.getAttribute("src")||e.target.getAttribute("href"),r=e.target.innerHTML.trim();if((0,i.isImageExtension)(a.trim())||(0,i.isImageExtension)(r)||"IMG"==e.target.tagName)return-1===a.indexOf("/images/avatars/User")&&-1===a.indexOf("kindeditor/plugins/emoticons")&&t.setState({showImage:!0,imageSrc:a}),e.stopPropagation(),e.preventDefault&&e.preventDefault(),e.originalEvent.preventDefault(),!1},t.onImageLayerClose=function(){t.setState({showImage:!1,imageSrc:""})},t.MdifHasAnchorJustScorll=function(){var e=decodeURI(t.props.location.hash).replace("#","");if(e){var a=document.getElementsByName(e);a&&0!=a.length&&a[a.length-1].scrollIntoView()}},t.state={showImage:!1,imageSrc:""},t}return l(u,a),n(u,[{key:"componentDidMount",value:function(){var t=this;this.props.wrappedComponentRef&&this.props.wrappedComponentRef(this.refs.wrappedComponentRef),setTimeout((function(){f(e.parentSelector||".commentsDelegateParent").delegate(e.imgSelector||".J_Comment_Reply .comment_content img, .J_Comment_Reply .childrenCommentsView img","click",t.onDelegateClick)}),1200)}},{key:"componentWillUnmount",value:function(){f(e.parentSelector||".commentsDelegateParent","click",this.onDelegateClick)}},{key:"render",value:function(){return this.MdifHasAnchorJustScorll(),s.default.createElement(s.default.Fragment,null,s.default.createElement(o.default,r({},this.state,{onImageLayerClose:this.onImageLayerClose})),s.default.createElement(t,r({},this.props,{ref:"wrappedComponentRef"})))}}]),u}(u.Component)}};var u=a("q1tI"),s=d(u),o=d(a("Ozcj")),i=a("sYIF");function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=window.$}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[104],{DqQ0:function(e,t,a){},XG39:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.httpUrl=void 0;var r,n=a("P+r3"),u=(r=n)&&r.__esModule?r:{default:r};var s=JSON.parse(localStorage.chromesetting),o=s.api_urls?s.api_urls.task:"https://task.osredm.com",i=(0,u.default)(o);t.httpUrl=o;t.default=i},i4AD:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delayList=t.uploadPayProofList=t.agreementList=t.publicityComplainList=t.proofList=t.complainPaperList=t.myPapers=t.readyCheckPapers=t.getTaskPaper=t.getTaskDetail=t.getJoinTaskList=t.getMyTaskList=t.getTaskAdminList=t.getTaskList=t.getTaskCategory=void 0;var r,n,u,s,o,i,d,p,c,l,f,m,h,g,k,y=w(a("14Xm")),b=w(a("TeRw"));t.getTaskCategory=(r=P(y.default.mark((function e(){var t;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/taskCategory/getTaskCategory",method:"get"});case 2:if(t=e.sent,!Array.isArray(t.data.rows)){e.next=7;break}return e.abrupt("return",t.data.rows);case 7:b.default.open({message:"提示",description:t.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)}),t.getTaskList=(n=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/tasks/",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)}),t.getTaskAdminList=(u=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/tasks/backend/list",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)}),t.getMyTaskList=(s=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/myTasks/",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)}),t.getJoinTaskList=(o=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/myTasks/myPapers",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)}),t.getTaskDetail=(i=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/tasks/getTask/"+t,method:"get"});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:a.message&&a.message.indexOf("exist")>-1?b.default.open({message:"提示",description:"未查到该任务"}):b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)}),t.getTaskPaper=(d=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/paper/",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return d.apply(this,arguments)}),t.readyCheckPapers=(p=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/paper/admin/readyCheckPapers",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return p.apply(this,arguments)}),t.myPapers=(c=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/paper/my",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)}),t.complainPaperList=(l=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/paper/admin/readyComplaintPapers",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return l.apply(this,arguments)}),t.proofList=(f=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/tasks/backend/proofList",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return f.apply(this,arguments)}),t.publicityComplainList=(m=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/tasks/backend/complaintMaterialList",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return m.apply(this,arguments)}),t.agreementList=(h=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/sign/task/contract",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return h.apply(this,arguments)}),t.uploadPayProofList=(g=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/sign/admin/paper/payOrders",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return g.apply(this,arguments)}),t.delayList=(k=P(y.default.mark((function e(t){var a;return y.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({url:"/api/tasks/backend/admin/delayList",method:"get",params:t});case 2:if(!(a=e.sent).data){e.next=7;break}return e.abrupt("return",a.data);case 7:b.default.open({message:"提示",description:a.message||"请求错误"});case 8:case"end":return e.stop()}}),e,this)}))),function(e){return k.apply(this,arguments)});t.getDictionary=function(e){return(0,v.default)({url:"/dicItem/getData?dicTypeCode="+e,method:"get"})},t.getUserInfo=function(){return(0,v.default)({url:"/user/getUserInfo",method:"get"})},t.getCompanyInfo=function(){return(0,v.default)({url:"/api/tasks/getEnterpriseUserInfo",method:"get"})},t.addTask=function(e){return(0,v.default)({url:"/api/tasks/add",method:"post",data:e})},t.updateTask=function(e){return(0,v.default)({url:"/api/tasks/",method:"PUT",data:e})},t.deleteTask=function(e,t){return(0,v.default)({url:"/api/tasks/"+e+"?isDelete="+t,method:"DELETE"})},t.recommendTask=function(e,t){return(0,v.default)({url:"/api/tasks/backend/changeTaskRecommendedStatus/"+e+"?recommend="+t,method:"PUT"})},t.addPaper=function(e){return(0,v.default)({url:"/api/paper/",method:"post",data:e})},t.updatePaper=function(e){return(0,v.default)({url:"/api/paper/",method:"put",data:e})},t.deletePaper=function(e){return(0,v.default)({url:"api/paper/"+e,method:"delete"})},t.makePublic=function(e){return(0,v.default)({url:"/api/tasks/makeApplicantListPublic/"+e,method:"put"})},t.reportPaper=function(e){return(0,v.default)({url:"/api/paper/"+e.paperId+"/paperReport",method:"post",data:e})},t.thumbUpPaper=function(e){return(0,v.default)({url:"/api/paper/"+e+"/thumbUp",method:"post",data:{paperId:e}})},t.checkAgreement=function(e){return(0,v.default)({url:"/api/paper/"+e+"/agreement",method:"get"})},t.checkHavePaper=function(e){return(0,v.default)({url:"/api/paper/"+e+"/check",method:"get"})},t.getAgreement=function(){return(0,v.default)({url:"/api/paper/agreementSettings/1",method:"get"})},t.agreement=function(e){return(0,v.default)({url:"/api/paper/"+e+"/agreement",method:"post",data:{taskId:e}})},t.commentAdd=function(e){return(0,v.default)({url:"/api/paper/"+e.paperId+"/comment",method:"post",data:e})},t.checkTask=function(e){return(0,v.default)({url:"/api/tasks/backend/adminCheck",method:"post",data:e})},t.checkPaper=function(e){return(0,v.default)({url:"/api/paper/admin/complainPaper/"+e.paperId,method:"post",data:e.auditingVo})},t.complainPaper=function(e){return(0,v.default)({url:"/api/paper/complainInfo/"+e.paperId,method:"post",data:e.params})},t.checkComplain=function(e){return(0,v.default)({url:"/api/paper/admin/complainMaterial/"+e.paperId,method:"post",data:e.auditingVo})},t.proofAdd=function(e){return(0,v.default)({url:"/api/taskResultProof/addTaskResultProof",method:"post",data:e})},t.checkProof=function(e){return(0,v.default)({url:"/api/taskResultProof/adminCheckResultAndProof",method:"post",data:e})},t.publicityComplain=function(e){return(0,v.default)({url:"/api/myTasks/applicantComplaintDuringPublicity",method:"post",data:e})},t.checkPublicity=function(e){return(0,v.default)({url:"/api/tasks/backend/adminCheck/complaintMaterialDuringPublicity",method:"post",data:e})},t.signMethod=function(e){return(0,v.default)({url:"/api/sign/method/"+e.taskId+"/"+e.method,method:"post"})},t.uploadAgreeRequire=function(e){return(0,v.default)({url:"/api/sign/task/contract/"+e.taskId,method:"post",data:e.params})},t.adminCheckAgreement=function(e){return(0,v.default)({url:"/api/sign/admin/"+(1===e.type?"task":"paper")+"/contract/"+e.agreementId,method:"post",data:e.params})},t.uploadAgreePaper=function(e){return(0,v.default)({url:"/api/sign/paper/contract/"+e.paperId,method:"post",data:e.params})},t.uploadPayProof=function(e){return(0,v.default)({url:"/api/sign/admin/paper/payment/"+e.paperId,method:"post",data:e.params})},t.confirmReceipt=function(e){return(0,v.default)({url:"/api/sign/paper/money/"+e,method:"post"})},t.downAgreement=function(e){return(0,v.default)({url:"/api/myTasks/getWinnersContractsByTaskId",method:"get",params:e})},t.changeShowUserMode=function(e){return(0,v.default)({url:"/api/tasks/backend/changeShowUserMode",method:"post",data:e})},t.delayTask=function(e){return(0,v.default)({url:"/api/tasks/backend/admin/task/delay/"+e.taskId,method:"post",data:e.params})},t.closeTask=function(e){return(0,v.default)({url:"/api/tasks/backend/admin/task/close/"+e,method:"post"})},t.addExpertReview=function(e){return(0,v.default)({url:"/api/tasks/backend/admin/task/close/"+e,method:"post"})},a("O+I2");var v=w(a("XG39"));function w(e){return e&&e.__esModule?e:{default:e}}function P(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,a){return function r(n,u){try{var s=t[n](u),o=s.value}catch(e){return void a(e)}if(!s.done)return Promise.resolve(o).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(o)}("next")}))}}},l2Aw:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t 0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(a){function u(e){p(this,u);var t=c(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,e));return t.onDelegateClick=function(e){var a=e.target.src||e.target.getAttribute("src")||e.target.getAttribute("href"),r=e.target.innerHTML.trim();if((0,i.isImageExtension)(a.trim())||(0,i.isImageExtension)(r)||"IMG"==e.target.tagName)return-1===a.indexOf("/images/avatars/User")&&-1===a.indexOf("kindeditor/plugins/emoticons")&&t.setState({showImage:!0,imageSrc:a}),e.stopPropagation(),e.preventDefault&&e.preventDefault(),e.originalEvent.preventDefault(),!1},t.onImageLayerClose=function(){t.setState({showImage:!1,imageSrc:""})},t.MdifHasAnchorJustScorll=function(){var e=decodeURI(t.props.location.hash).replace("#","");if(e){var a=document.getElementsByName(e);a&&0!=a.length&&a[a.length-1].scrollIntoView()}},t.state={showImage:!1,imageSrc:""},t}return l(u,a),n(u,[{key:"componentDidMount",value:function(){var t=this;this.props.wrappedComponentRef&&this.props.wrappedComponentRef(this.refs.wrappedComponentRef),setTimeout((function(){f(e.parentSelector||".commentsDelegateParent").delegate(e.imgSelector||".J_Comment_Reply .comment_content img, .J_Comment_Reply .childrenCommentsView img","click",t.onDelegateClick)}),1200)}},{key:"componentWillUnmount",value:function(){f(e.parentSelector||".commentsDelegateParent","click",this.onDelegateClick)}},{key:"render",value:function(){return this.MdifHasAnchorJustScorll(),s.default.createElement(s.default.Fragment,null,s.default.createElement(o.default,r({},this.state,{onImageLayerClose:this.onImageLayerClose})),s.default.createElement(t,r({},this.props,{ref:"wrappedComponentRef"})))}}]),u}(u.Component)}};var u=a("q1tI"),s=d(u),o=d(a("Ozcj")),i=a("sYIF");function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=window.$}}]); \ No newline at end of file diff --git a/static/js/105.815f6c84.chunk.js b/static/js/105.a7b5bbf9.chunk.js similarity index 97% rename from static/js/105.815f6c84.chunk.js rename to static/js/105.a7b5bbf9.chunk.js index 2f918af53..6e7fd8c33 100644 --- a/static/js/105.815f6c84.chunk.js +++ b/static/js/105.a7b5bbf9.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[105],{"CSm+":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(n){for(var e=1;e -1?w(!1):w(!0),t.indexOf("/organize/"+e+"/group")>-1||t.indexOf("/organize/"+e+"/member")>-1?C(!0):C(!1))}),[t]),(0,r.useEffect)((function(){var n;e&&(n="/organizations/"+e+".json",f.default.get(n).then((function(n){n&&n.data&&k(n.data)})).catch((function(n){})))}),[e]),l.default.createElement("div",{className:"teamDetail"},x&&l.default.createElement(c.default,{src:"/organize/"+x.name,title:x.name,desc:!O&&x.description,img:x.avatar_url,rightBtn:l.default.createElement(l.default.Fragment,null,B&&!O&&x.is_admin?l.default.createElement(u.AlignCenter,{className:"color-blue"},l.default.createElement(o.Link,{to:"/organize/"+e+"/setting",className:"color-blue"},"设置"),l.default.createElement("i",{className:"iconfont icon-shezhi2 ml3"})):"",O&&l.default.createElement("span",{className:"subNavs"},l.default.createElement(o.Link,{to:"/organize/"+e+"/member",className:t==="/organize/"+e+"/member"?"active":""},l.default.createElement("span",null,"组织成员"),x.num_users&&l.default.createElement("lable",null,x.num_users)),l.default.createElement(o.Link,{to:"/organize/"+e+"/group",className:t==="/organize/"+e+"/group"?"active":""},l.default.createElement("span",null,"组织团队"),x.num_teams&&l.default.createElement("lable",null,x.num_teams))))}),l.default.createElement(o.Switch,n,l.default.createElement(o.Route,{path:"/organize/:OIdentifier/group/:groupId",render:function(e){return l.default.createElement(s,i({},n,e,{group:x}))}}),l.default.createElement(o.Route,{path:"/organize/:OIdentifier/member",render:function(e){return l.default.createElement(b,i({},n,e,{organizeDetail:x}))}}),l.default.createElement(o.Route,{path:"/organize/:OIdentifier/group",render:function(e){return l.default.createElement(g,i({},n,e,{organizeDetail:x}))}}),l.default.createElement(o.Route,{path:"/organize/:OIdentifier/setting",render:function(e){return l.default.createElement(h,i({},n,e,{organizeDetail:x,updateFunc:j}))}}),l.default.createElement(o.Route,{path:"/organize/:OIdentifier",render:function(e){return l.default.createElement(m,i({},n,e,{organizeDetail:x}))}})))}},KkuB:function(n,e,t){},eGzb:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,a=t("q1tI"),r=(i=a)&&i.__esModule?i:{default:i},l=t("sYIF"),o=t("eO8H");t("KkuB"),e.default=function(n){var e=n.img,t=n.title,i=n.desc,a=n.rightBtn,d=n.src;return r.default.createElement("div",{className:"cards"},e&&r.default.createElement("div",{className:"img"},r.default.createElement("img",{src:(0,l.getImageUrl)("images/"+e),alt:""})),r.default.createElement("div",{className:"content"},r.default.createElement("p",{className:"titles"},r.default.createElement(o.Link,{to:d},t),a),r.default.createElement("div",{className:"desc"},i)))}},spEH:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GroupProjectBackgroup=e.Content=e.Cancel=e.GreenUnder=e.NumUl=e.Redback=e.Blueback=e.Greenback=e.Greenline=e.Redline=e.Blueline=e.WhiteBack=e.Gap=e.Short=e.Long=e.Box=e.AlignCenter=e.FlexAJ=e.AlignCenterBetween=e.Banner=void 0;var i,a=O(["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"],["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"]),r=O(["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"],["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"]),l=O(["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"],["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"]),o=O(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),d=O(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),p=O(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),u=O(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=O(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),f=O(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),x=O(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"]),s=O(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),g=O(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),b=O(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),m=O(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),h=O(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),k=O(["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"],["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"]),y=O(["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"],["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"]),v=O(["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"],["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"]),B=O(["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"],["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"]),w=O(["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"],["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"]),E=t("vOnD"),z=(i=E)&&i.__esModule?i:{default:i};function O(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}e.Banner=z.default.div(a),e.AlignCenterBetween=z.default.div(r),e.FlexAJ=z.default.div(l),e.AlignCenter=z.default.div(o),e.Box=z.default.div(d),e.Long=z.default.div(p),e.Short=z.default.div(u),e.Gap=z.default.div(c),e.WhiteBack=z.default.div(f),e.Blueline=z.default.a(x),e.Redline=z.default.a(s,(function(n){return n.bold?"#fff":"#F73030"}),(function(n){return n.bold?"#F73030":"#fff"})),e.Greenline=z.default.a(g,(function(n){return n.bold?"#fff":"#28BD6C"}),(function(n){return n.bold?"#28BD6C":"#fff"})),e.Greenback=z.default.a(b),e.Blueback=z.default.a(m),e.Redback=z.default.a(h),e.NumUl=z.default.ul(k),e.GreenUnder=z.default.a(y),e.Cancel=z.default.a(v),e.Content=z.default.div(B),e.GroupProjectBackgroup=z.default.div(w)}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[105],{"CSm+":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(n){for(var e=1;e -1?w(!1):w(!0),t.indexOf("/organize/"+e+"/group")>-1||t.indexOf("/organize/"+e+"/member")>-1?C(!0):C(!1))}),[t]),(0,r.useEffect)((function(){var n;e&&(n="/organizations/"+e+".json",f.default.get(n).then((function(n){n&&n.data&&k(n.data)})).catch((function(n){})))}),[e]),l.default.createElement("div",{className:"teamDetail"},x&&l.default.createElement(c.default,{src:"/organize/"+x.name,title:x.name,desc:!O&&x.description,img:x.avatar_url,rightBtn:l.default.createElement(l.default.Fragment,null,B&&!O&&x.is_admin?l.default.createElement(u.AlignCenter,{className:"color-blue"},l.default.createElement(o.Link,{to:"/organize/"+e+"/setting",className:"color-blue"},"设置"),l.default.createElement("i",{className:"iconfont icon-shezhi2 ml3"})):"",O&&l.default.createElement("span",{className:"subNavs"},l.default.createElement(o.Link,{to:"/organize/"+e+"/member",className:t==="/organize/"+e+"/member"?"active":""},l.default.createElement("span",null,"组织成员"),x.num_users&&l.default.createElement("lable",null,x.num_users)),l.default.createElement(o.Link,{to:"/organize/"+e+"/group",className:t==="/organize/"+e+"/group"?"active":""},l.default.createElement("span",null,"组织团队"),x.num_teams&&l.default.createElement("lable",null,x.num_teams))))}),l.default.createElement(o.Switch,n,l.default.createElement(o.Route,{path:"/organize/:OIdentifier/group/:groupId",render:function(e){return l.default.createElement(s,i({},n,e,{group:x}))}}),l.default.createElement(o.Route,{path:"/organize/:OIdentifier/member",render:function(e){return l.default.createElement(b,i({},n,e,{organizeDetail:x}))}}),l.default.createElement(o.Route,{path:"/organize/:OIdentifier/group",render:function(e){return l.default.createElement(g,i({},n,e,{organizeDetail:x}))}}),l.default.createElement(o.Route,{path:"/organize/:OIdentifier/setting",render:function(e){return l.default.createElement(h,i({},n,e,{organizeDetail:x,updateFunc:j}))}}),l.default.createElement(o.Route,{path:"/organize/:OIdentifier",render:function(e){return l.default.createElement(m,i({},n,e,{organizeDetail:x}))}})))}},KkuB:function(n,e,t){},eGzb:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,a=t("q1tI"),r=(i=a)&&i.__esModule?i:{default:i},l=t("sYIF"),o=t("eO8H");t("KkuB"),e.default=function(n){var e=n.img,t=n.title,i=n.desc,a=n.rightBtn,d=n.src;return r.default.createElement("div",{className:"cards"},e&&r.default.createElement("div",{className:"img"},r.default.createElement("img",{src:(0,l.getImageUrl)("images/"+e),alt:""})),r.default.createElement("div",{className:"content"},r.default.createElement("p",{className:"titles"},r.default.createElement(o.Link,{to:d},t),a),r.default.createElement("div",{className:"desc"},i)))}},spEH:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GroupProjectBackgroup=e.Content=e.Cancel=e.GreenUnder=e.NumUl=e.Redback=e.Blueback=e.Greenback=e.Greenline=e.Redline=e.Blueline=e.WhiteBack=e.Gap=e.Short=e.Long=e.Box=e.AlignCenter=e.FlexAJ=e.AlignCenterBetween=e.Banner=void 0;var i,a=O(["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"],["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"]),r=O(["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"],["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"]),l=O(["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"],["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"]),o=O(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),d=O(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),p=O(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),u=O(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=O(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),f=O(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),x=O(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"]),s=O(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),g=O(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),b=O(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),m=O(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),h=O(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),k=O(["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"],["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"]),y=O(["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"],["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"]),v=O(["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"],["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"]),B=O(["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"],["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"]),w=O(["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"],["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"]),E=t("vOnD"),z=(i=E)&&i.__esModule?i:{default:i};function O(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}e.Banner=z.default.div(a),e.AlignCenterBetween=z.default.div(r),e.FlexAJ=z.default.div(l),e.AlignCenter=z.default.div(o),e.Box=z.default.div(d),e.Long=z.default.div(p),e.Short=z.default.div(u),e.Gap=z.default.div(c),e.WhiteBack=z.default.div(f),e.Blueline=z.default.a(x),e.Redline=z.default.a(s,(function(n){return n.bold?"#fff":"#F73030"}),(function(n){return n.bold?"#F73030":"#fff"})),e.Greenline=z.default.a(g,(function(n){return n.bold?"#fff":"#28BD6C"}),(function(n){return n.bold?"#28BD6C":"#fff"})),e.Greenback=z.default.a(b),e.Blueback=z.default.a(m),e.Redback=z.default.a(h),e.NumUl=z.default.ul(k),e.GreenUnder=z.default.a(y),e.Cancel=z.default.a(v),e.Content=z.default.div(B),e.GroupProjectBackgroup=z.default.div(w)}}]); \ No newline at end of file diff --git a/static/js/110.87c397e4.chunk.js b/static/js/110.5d15bd03.chunk.js similarity index 92% rename from static/js/110.87c397e4.chunk.js rename to static/js/110.5d15bd03.chunk.js index db27dcc6e..21accf287 100644 --- a/static/js/110.87c397e4.chunk.js +++ b/static/js/110.5d15bd03.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[110],{"7dqz":function(e,t,n){},VUSe:function(e,t,n){},"p+DR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t 0?t.list.map((function(n,e){return a.default.createElement("li",{key:e,className:t.active===e?"active":""},a.default.createElement("p",null,a.default.createElement(l.Link,{to:n.href},a.default.createElement("i",{className:"iconfont "+(n.icon||"icon-huabanfuben")+" font-18 mr10"}),n.name)))})):"")}},spEH:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GroupProjectBackgroup=e.Content=e.Cancel=e.GreenUnder=e.NumUl=e.Redback=e.Blueback=e.Greenback=e.Greenline=e.Redline=e.Blueline=e.WhiteBack=e.Gap=e.Short=e.Long=e.Box=e.AlignCenter=e.FlexAJ=e.AlignCenterBetween=e.Banner=void 0;var i,r=j(["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"],["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"]),a=j(["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"],["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"]),l=j(["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"],["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"]),o=j(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),d=j(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),p=j(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=j(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),u=j(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),f=j(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),x=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"]),g=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),s=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),b=j(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),h=j(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),m=j(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),k=j(["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"],["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"]),y=j(["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"],["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"]),v=j(["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"],["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"]),B=j(["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"],["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"]),w=j(["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"],["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"]),z=t("vOnD"),E=(i=z)&&i.__esModule?i:{default:i};function j(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}e.Banner=E.default.div(r),e.AlignCenterBetween=E.default.div(a),e.FlexAJ=E.default.div(l),e.AlignCenter=E.default.div(o),e.Box=E.default.div(d),e.Long=E.default.div(p),e.Short=E.default.div(c),e.Gap=E.default.div(u),e.WhiteBack=E.default.div(f),e.Blueline=E.default.a(x),e.Redline=E.default.a(g,(function(n){return n.bold?"#fff":"#F73030"}),(function(n){return n.bold?"#F73030":"#fff"})),e.Greenline=E.default.a(s,(function(n){return n.bold?"#fff":"#28BD6C"}),(function(n){return n.bold?"#28BD6C":"#fff"})),e.Greenback=E.default.a(b),e.Blueback=E.default.a(h),e.Redback=E.default.a(m),e.NumUl=E.default.ul(k),e.GreenUnder=E.default.a(y),e.Cancel=E.default.a(v),e.Content=E.default.div(B),e.GroupProjectBackgroup=E.default.div(w)}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[112],{"8Or8":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=c(t("q1tI")),r=t("spEH"),a=c(t("ess8")),l=c(t("rzEP")),o=t("eO8H"),d=c(t("CnBM")),p=c(t("HUFq"));function c(n){return n&&n.__esModule?n:{default:n}}var u=(0,d.default)({loader:function(){return Promise.all([t.e(3),t.e(4),t.e(9),t.e(8),t.e(86)]).then(t.t.bind(null,"gfdF",7))},loading:p.default}),f=(0,d.default)({loader:function(){return Promise.all([t.e(0),t.e(1),t.e(2),t.e(5),t.e(30)]).then(t.t.bind(null,"aQ+q",7))},loading:p.default}),x=(0,d.default)({loader:function(){return Promise.all([t.e(0),t.e(1),t.e(2),t.e(3),t.e(80)]).then(t.t.bind(null,"eWQA",7))},loading:p.default});e.default=function(n){var e=n.location.pathname,t=n.match.params.OIdentifier,d=n.match.params.groupId;var p=function(n){var e=0;return n==="/organize/"+t+"/group/"+d+"/setting/member"?e=1:n==="/organize/"+t+"/group/"+d+"/setting/project"&&(e=2),e}(e),c={list:[{name:"基本设置",icon:"icon-base",href:"/organize/"+t+"/group/"+d+"/setting"},{name:"团队成员管理",icon:"icon-zuzhichengyuan",href:"/organize/"+t+"/group/"+d+"/setting/member"},{name:"团队项目管理",icon:"icon-zuzhixiangmu",href:"/organize/"+t+"/group/"+d+"/setting/project"}],active:p};return i.default.createElement(r.Box,null,i.default.createElement(r.Short,null,i.default.createElement(l.default,{header:i.default.createElement(a.default,null,"团队设置"),nav:c})),i.default.createElement(r.Long,null,i.default.createElement(r.Gap,null,i.default.createElement(r.WhiteBack,null,i.default.createElement(o.Switch,null,i.default.createElement(o.Route,{path:"/organize/:OIdentifier/group/:groupId/setting/project",render:function(){return i.default.createElement(x,n)}}),i.default.createElement(o.Route,{path:"/organize/:OIdentifier/group/:groupId/setting/member",render:function(){return i.default.createElement(f,n)}}),i.default.createElement(o.Route,{path:"/organize/:OIdentifier/group/:groupId/setting",render:function(){return i.default.createElement(u,n)}}))))))}},ess8:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r,a=(i=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(r)}}))),l=o(t("q1tI"));function o(n){return n&&n.__esModule?n:{default:n}}var d=o(t("vOnD")).default.div(a);e.default=function(n){var e=n.children;return l.default.createElement(d,null,e)}},rzEP:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=t("q1tI"),a=(i=r)&&i.__esModule?i:{default:i},l=t("eO8H");e.default=function(n){var e=n.header,t=n.nav;return a.default.createElement("ul",{className:"list-l-Menu"},e,t&&t.list&&t.list.length>0?t.list.map((function(n,e){return a.default.createElement("li",{key:e,className:t.active===e?"active":""},a.default.createElement("p",null,a.default.createElement(l.Link,{to:n.href},a.default.createElement("i",{className:"iconfont "+(n.icon||"icon-huabanfuben")+" font-18 mr10"}),n.name)))})):"")}},spEH:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GroupProjectBackgroup=e.Content=e.Cancel=e.GreenUnder=e.NumUl=e.Redback=e.Blueback=e.Greenback=e.Greenline=e.Redline=e.Blueline=e.WhiteBack=e.Gap=e.Short=e.Long=e.Box=e.AlignCenter=e.FlexAJ=e.AlignCenterBetween=e.Banner=void 0;var i,r=j(["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"],["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"]),a=j(["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"],["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"]),l=j(["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"],["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"]),o=j(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),d=j(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),p=j(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=j(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),u=j(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),f=j(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),x=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"]),g=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),s=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),b=j(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),h=j(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),m=j(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),k=j(["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"],["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"]),y=j(["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"],["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"]),v=j(["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"],["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"]),B=j(["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"],["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"]),w=j(["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"],["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"]),z=t("vOnD"),E=(i=z)&&i.__esModule?i:{default:i};function j(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}e.Banner=E.default.div(r),e.AlignCenterBetween=E.default.div(a),e.FlexAJ=E.default.div(l),e.AlignCenter=E.default.div(o),e.Box=E.default.div(d),e.Long=E.default.div(p),e.Short=E.default.div(c),e.Gap=E.default.div(u),e.WhiteBack=E.default.div(f),e.Blueline=E.default.a(x),e.Redline=E.default.a(g,(function(n){return n.bold?"#fff":"#F73030"}),(function(n){return n.bold?"#F73030":"#fff"})),e.Greenline=E.default.a(s,(function(n){return n.bold?"#fff":"#28BD6C"}),(function(n){return n.bold?"#28BD6C":"#fff"})),e.Greenback=E.default.a(b),e.Blueback=E.default.a(h),e.Redback=E.default.a(m),e.NumUl=E.default.ul(k),e.GreenUnder=E.default.a(y),e.Cancel=E.default.a(v),e.Content=E.default.div(B),e.GroupProjectBackgroup=E.default.div(w)}}]); \ No newline at end of file diff --git a/static/js/114.5cc6940d.chunk.js b/static/js/114.5cc6940d.chunk.js deleted file mode 100644 index b2c8fbe64..000000000 --- a/static/js/114.5cc6940d.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[114],{AGEj:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t 0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n){function o(e){f(this,o);var t=s(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return t.onDelegateClick=function(e){var n=e.target.src||e.target.getAttribute("src")||e.target.getAttribute("href"),r=e.target.innerHTML.trim();if((0,u.isImageExtension)(n.trim())||(0,u.isImageExtension)(r)||"IMG"==e.target.tagName)return-1===n.indexOf("/images/avatars/User")&&-1===n.indexOf("kindeditor/plugins/emoticons")&&t.setState({showImage:!0,imageSrc:n}),e.stopPropagation(),e.preventDefault&&e.preventDefault(),e.originalEvent.preventDefault(),!1},t.onImageLayerClose=function(){t.setState({showImage:!1,imageSrc:""})},t.MdifHasAnchorJustScorll=function(){var e=decodeURI(t.props.location.hash).replace("#","");if(e){var n=document.getElementsByName(e);n&&0!=n.length&&n[n.length-1].scrollIntoView()}},t.state={showImage:!1,imageSrc:""},t}return d(o,n),a(o,[{key:"componentDidMount",value:function(){var t=this;this.props.wrappedComponentRef&&this.props.wrappedComponentRef(this.refs.wrappedComponentRef),setTimeout((function(){m(e.parentSelector||".commentsDelegateParent").delegate(e.imgSelector||".J_Comment_Reply .comment_content img, .J_Comment_Reply .childrenCommentsView img","click",t.onDelegateClick)}),1200)}},{key:"componentWillUnmount",value:function(){m(e.parentSelector||".commentsDelegateParent","click",this.onDelegateClick)}},{key:"render",value:function(){return this.MdifHasAnchorJustScorll(),i.default.createElement(i.default.Fragment,null,i.default.createElement(l.default,r({},this.state,{onImageLayerClose:this.onImageLayerClose})),i.default.createElement(t,r({},this.props,{ref:"wrappedComponentRef"})))}}]),o}(o.Component)}};var o=n("q1tI"),i=c(o),l=c(n("Ozcj")),u=n("sYIF");function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=window.$},teaL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t 0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n){function o(e){f(this,o);var t=s(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return t.onDelegateClick=function(e){var n=e.target.src||e.target.getAttribute("src")||e.target.getAttribute("href"),r=e.target.innerHTML.trim();if((0,u.isImageExtension)(n.trim())||(0,u.isImageExtension)(r)||"IMG"==e.target.tagName)return-1===n.indexOf("/images/avatars/User")&&-1===n.indexOf("kindeditor/plugins/emoticons")&&t.setState({showImage:!0,imageSrc:n}),e.stopPropagation(),e.preventDefault&&e.preventDefault(),e.originalEvent.preventDefault(),!1},t.onImageLayerClose=function(){t.setState({showImage:!1,imageSrc:""})},t.MdifHasAnchorJustScorll=function(){var e=decodeURI(t.props.location.hash).replace("#","");if(e){var n=document.getElementsByName(e);n&&0!=n.length&&n[n.length-1].scrollIntoView()}},t.state={showImage:!1,imageSrc:""},t}return d(o,n),a(o,[{key:"componentDidMount",value:function(){var t=this;this.props.wrappedComponentRef&&this.props.wrappedComponentRef(this.refs.wrappedComponentRef),setTimeout((function(){m(e.parentSelector||".commentsDelegateParent").delegate(e.imgSelector||".J_Comment_Reply .comment_content img, .J_Comment_Reply .childrenCommentsView img","click",t.onDelegateClick)}),1200)}},{key:"componentWillUnmount",value:function(){m(e.parentSelector||".commentsDelegateParent","click",this.onDelegateClick)}},{key:"render",value:function(){return this.MdifHasAnchorJustScorll(),i.default.createElement(i.default.Fragment,null,i.default.createElement(l.default,r({},this.state,{onImageLayerClose:this.onImageLayerClose})),i.default.createElement(t,r({},this.props,{ref:"wrappedComponentRef"})))}}]),o}(o.Component)}};var o=n("q1tI"),i=c(o),l=c(n("Ozcj")),u=n("sYIF");function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=window.$},teaL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t 0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n){function a(e){f(this,a);var t=s(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.onDelegateClick=function(e){var n=e.target.src||e.target.getAttribute("src")||e.target.getAttribute("href"),r=e.target.innerHTML.trim();if((0,c.isImageExtension)(n.trim())||(0,c.isImageExtension)(r)||"IMG"==e.target.tagName)return-1===n.indexOf("/images/avatars/User")&&-1===n.indexOf("kindeditor/plugins/emoticons")&&t.setState({showImage:!0,imageSrc:n}),e.stopPropagation(),e.preventDefault&&e.preventDefault(),e.originalEvent.preventDefault(),!1},t.onImageLayerClose=function(){t.setState({showImage:!1,imageSrc:""})},t.MdifHasAnchorJustScorll=function(){var e=decodeURI(t.props.location.hash).replace("#","");if(e){var n=document.getElementsByName(e);n&&0!=n.length&&n[n.length-1].scrollIntoView()}},t.state={showImage:!1,imageSrc:""},t}return p(a,n),o(a,[{key:"componentDidMount",value:function(){var t=this;this.props.wrappedComponentRef&&this.props.wrappedComponentRef(this.refs.wrappedComponentRef),setTimeout((function(){m(e.parentSelector||".commentsDelegateParent").delegate(e.imgSelector||".J_Comment_Reply .comment_content img, .J_Comment_Reply .childrenCommentsView img","click",t.onDelegateClick)}),1200)}},{key:"componentWillUnmount",value:function(){m(e.parentSelector||".commentsDelegateParent","click",this.onDelegateClick)}},{key:"render",value:function(){return this.MdifHasAnchorJustScorll(),i.default.createElement(i.default.Fragment,null,i.default.createElement(l.default,r({},this.state,{onImageLayerClose:this.onImageLayerClose})),i.default.createElement(t,r({},this.props,{ref:"wrappedComponentRef"})))}}]),a}(a.Component)}};var a=n("q1tI"),i=u(a),l=u(n("Ozcj")),c=n("sYIF");function u(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=window.$}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[117],{DqQ0:function(e,t,n){},aZpN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t 0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n){function a(e){f(this,a);var t=s(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.onDelegateClick=function(e){var n=e.target.src||e.target.getAttribute("src")||e.target.getAttribute("href"),r=e.target.innerHTML.trim();if((0,c.isImageExtension)(n.trim())||(0,c.isImageExtension)(r)||"IMG"==e.target.tagName)return-1===n.indexOf("/images/avatars/User")&&-1===n.indexOf("kindeditor/plugins/emoticons")&&t.setState({showImage:!0,imageSrc:n}),e.stopPropagation(),e.preventDefault&&e.preventDefault(),e.originalEvent.preventDefault(),!1},t.onImageLayerClose=function(){t.setState({showImage:!1,imageSrc:""})},t.MdifHasAnchorJustScorll=function(){var e=decodeURI(t.props.location.hash).replace("#","");if(e){var n=document.getElementsByName(e);n&&0!=n.length&&n[n.length-1].scrollIntoView()}},t.state={showImage:!1,imageSrc:""},t}return p(a,n),o(a,[{key:"componentDidMount",value:function(){var t=this;this.props.wrappedComponentRef&&this.props.wrappedComponentRef(this.refs.wrappedComponentRef),setTimeout((function(){m(e.parentSelector||".commentsDelegateParent").delegate(e.imgSelector||".J_Comment_Reply .comment_content img, .J_Comment_Reply .childrenCommentsView img","click",t.onDelegateClick)}),1200)}},{key:"componentWillUnmount",value:function(){m(e.parentSelector||".commentsDelegateParent","click",this.onDelegateClick)}},{key:"render",value:function(){return this.MdifHasAnchorJustScorll(),i.default.createElement(i.default.Fragment,null,i.default.createElement(l.default,r({},this.state,{onImageLayerClose:this.onImageLayerClose})),i.default.createElement(t,r({},this.props,{ref:"wrappedComponentRef"})))}}]),a}(a.Component)}};var a=n("q1tI"),i=u(a),l=u(n("Ozcj")),c=n("sYIF");function u(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=window.$}}]); \ No newline at end of file diff --git a/static/js/118.0f292951.chunk.js b/static/js/118.bbcb8554.chunk.js similarity index 92% rename from static/js/118.0f292951.chunk.js rename to static/js/118.bbcb8554.chunk.js index 6f55922d4..2638427ec 100644 --- a/static/js/118.0f292951.chunk.js +++ b/static/js/118.bbcb8554.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[118],{"093b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=d(n("q1tI")),r=n("spEH"),l=d(n("ess8")),u=d(n("rzEP")),i=n("eO8H"),o=d(n("CnBM")),f=d(n("HUFq"));function d(e){return e&&e.__esModule?e:{default:e}}var c=(0,o.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(15),n.e(129)]).then(n.t.bind(null,"Smcf",7))},loading:f.default}),s=(0,o.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(5),n.e(33)]).then(n.t.bind(null,"5DC0",7))},loading:f.default}),m=(0,o.default)({loader:function(){return Promise.all([n.e(3),n.e(4),n.e(9),n.e(8),n.e(45)]).then(n.t.bind(null,"4k9F",7))},loading:f.default}),g=(0,o.default)({loader:function(){return n.e(130).then(n.t.bind(null,"gSX0",7))},loading:f.default});t.default=function(e){var t=e.location.pathname,n=e.match.params.OIdentifier;var o=function(e){var t=0;return e==="/organize/"+n+"/setting/member"?t=1:e==="/organize/"+n+"/setting/group"?t=2:e==="/organize/"+n+"/setting/hooks"&&(t=3),t}(t),f={list:[{name:"基本设置",icon:"icon-base",href:"/organize/"+n+"/setting"},{name:"组织成员管理",icon:"icon-zuzhichengyuan",href:"/organize/"+n+"/setting/member"},{name:"组织团队管理",icon:"icon-zuzhixiangmu",href:"/organize/"+n+"/setting/group"}],active:o};return a.default.createElement(r.Box,null,a.default.createElement(r.Short,null,a.default.createElement(u.default,{header:a.default.createElement(l.default,null,"组织设置"),nav:f})),a.default.createElement(r.Long,null,a.default.createElement(r.Gap,null,a.default.createElement(i.Switch,null,a.default.createElement(i.Route,{path:"/organize/:OIdentifier/setting/hooks",render:function(){return a.default.createElement(g,e)}}),a.default.createElement(i.Route,{path:"/organize/:OIdentifier/setting/group",render:function(){return a.default.createElement(c,e)}}),a.default.createElement(i.Route,{path:"/organize/:OIdentifier/setting/member",render:function(){return a.default.createElement(s,e)}}),a.default.createElement(i.Route,{path:"/organize/:OIdentifier/setting",render:function(){return a.default.createElement(m,e)}})))))}},ess8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r,l=(a=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(r)}}))),u=i(n("q1tI"));function i(e){return e&&e.__esModule?e:{default:e}}var o=i(n("vOnD")).default.div(l);t.default=function(e){var t=e.children;return u.default.createElement(o,null,t)}},rzEP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n("q1tI"),l=(a=r)&&a.__esModule?a:{default:a},u=n("eO8H");t.default=function(e){var t=e.header,n=e.nav;return l.default.createElement("ul",{className:"list-l-Menu"},t,n&&n.list&&n.list.length>0?n.list.map((function(e,t){return l.default.createElement("li",{key:t,className:n.active===t?"active":""},l.default.createElement("p",null,l.default.createElement(u.Link,{to:e.href},l.default.createElement("i",{className:"iconfont "+(e.icon||"icon-huabanfuben")+" font-18 mr10"}),e.name)))})):"")}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[118],{"093b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=d(n("q1tI")),r=n("spEH"),l=d(n("ess8")),u=d(n("rzEP")),i=n("eO8H"),o=d(n("CnBM")),f=d(n("HUFq"));function d(e){return e&&e.__esModule?e:{default:e}}var c=(0,o.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(14),n.e(129)]).then(n.t.bind(null,"Smcf",7))},loading:f.default}),s=(0,o.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(5),n.e(34)]).then(n.t.bind(null,"5DC0",7))},loading:f.default}),m=(0,o.default)({loader:function(){return Promise.all([n.e(3),n.e(4),n.e(9),n.e(8),n.e(46)]).then(n.t.bind(null,"4k9F",7))},loading:f.default}),g=(0,o.default)({loader:function(){return n.e(130).then(n.t.bind(null,"gSX0",7))},loading:f.default});t.default=function(e){var t=e.location.pathname,n=e.match.params.OIdentifier;var o=function(e){var t=0;return e==="/organize/"+n+"/setting/member"?t=1:e==="/organize/"+n+"/setting/group"?t=2:e==="/organize/"+n+"/setting/hooks"&&(t=3),t}(t),f={list:[{name:"基本设置",icon:"icon-base",href:"/organize/"+n+"/setting"},{name:"组织成员管理",icon:"icon-zuzhichengyuan",href:"/organize/"+n+"/setting/member"},{name:"组织团队管理",icon:"icon-zuzhixiangmu",href:"/organize/"+n+"/setting/group"}],active:o};return a.default.createElement(r.Box,null,a.default.createElement(r.Short,null,a.default.createElement(u.default,{header:a.default.createElement(l.default,null,"组织设置"),nav:f})),a.default.createElement(r.Long,null,a.default.createElement(r.Gap,null,a.default.createElement(i.Switch,null,a.default.createElement(i.Route,{path:"/organize/:OIdentifier/setting/hooks",render:function(){return a.default.createElement(g,e)}}),a.default.createElement(i.Route,{path:"/organize/:OIdentifier/setting/group",render:function(){return a.default.createElement(c,e)}}),a.default.createElement(i.Route,{path:"/organize/:OIdentifier/setting/member",render:function(){return a.default.createElement(s,e)}}),a.default.createElement(i.Route,{path:"/organize/:OIdentifier/setting",render:function(){return a.default.createElement(m,e)}})))))}},ess8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r,l=(a=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(r)}}))),u=i(n("q1tI"));function i(e){return e&&e.__esModule?e:{default:e}}var o=i(n("vOnD")).default.div(l);t.default=function(e){var t=e.children;return u.default.createElement(o,null,t)}},rzEP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n("q1tI"),l=(a=r)&&a.__esModule?a:{default:a},u=n("eO8H");t.default=function(e){var t=e.header,n=e.nav;return l.default.createElement("ul",{className:"list-l-Menu"},t,n&&n.list&&n.list.length>0?n.list.map((function(e,t){return l.default.createElement("li",{key:t,className:n.active===t?"active":""},l.default.createElement("p",null,l.default.createElement(u.Link,{to:e.href},l.default.createElement("i",{className:"iconfont "+(e.icon||"icon-huabanfuben")+" font-18 mr10"}),e.name)))})):"")}}}]); \ No newline at end of file diff --git a/static/js/13.4fd317fa.chunk.js b/static/js/12.0a30d90b.chunk.js similarity index 99% rename from static/js/13.4fd317fa.chunk.js rename to static/js/12.0a30d90b.chunk.js index f826a144f..5ad58782e 100644 --- a/static/js/13.4fd317fa.chunk.js +++ b/static/js/12.0a30d90b.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[13],{"7Lfq":function(e,t,n){},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),l=n("i8i4"),c=n.n(l),s=n("uciX"),p=n("TSYQ"),f=n.n(p),u={adjustX:1,adjustY:1},y=[0,0],b={topLeft:{points:["bl","tl"],overflow:u,offset:[0,-4],targetOffset:y},topCenter:{points:["bc","tc"],overflow:u,offset:[0,-4],targetOffset:y},topRight:{points:["br","tr"],overflow:u,offset:[0,-4],targetOffset:y},bottomLeft:{points:["tl","bl"],overflow:u,offset:[0,4],targetOffset:y},bottomCenter:{points:["tc","bc"],overflow:u,offset:[0,4],targetOffset:y},bottomRight:{points:["tr","br"],overflow:u,offset:[0,4],targetOffset:y}},g=n("VCL8"),h=Object.assign||function(e){for(var t=1;t =0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),m=p;return m||-1===y.indexOf("contextMenu")||(m=["click"]),o.a.createElement(s.a,h({},g,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:u,builtinPlacements:b,action:y,showAction:c,hideAction:m||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(r.Component);m.propTypes={minOverlayWidthMatchTrigger:a.a.bool,onVisibleChange:a.a.func,onOverlayClick:a.a.func,prefixCls:a.a.string,children:a.a.any,transitionName:a.a.string,overlayClassName:a.a.string,openClassName:a.a.string,animation:a.a.any,align:a.a.object,overlayStyle:a.a.object,placement:a.a.string,overlay:a.a.oneOfType([a.a.node,a.a.func]),trigger:a.a.array,alignPoint:a.a.bool,showAction:a.a.array,hideAction:a.a.array,getPopupContainer:a.a.func,visible:a.a.bool,defaultVisible:a.a.bool},m.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var v=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=c.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(g.polyfill)(m);var d=m,O=n("eHJ2"),C=n.n(O),w=n("H84U"),P=n("6CfX"),j=n("CtXQ"),E=n("CWQg");function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(){return(N=Object.assign||function(e){for(var t=1;t =0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(w.a,null,this.renderDropDown)}}])&&_(t.prototype,n),o&&_(t,o),a}(r.Component);V.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var M=n("2/Rp");function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(){return(A=Object.assign||function(e){for(var t=1;t =0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),m=p;return m||-1===y.indexOf("contextMenu")||(m=["click"]),o.a.createElement(s.a,h({},g,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:u,builtinPlacements:b,action:y,showAction:c,hideAction:m||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(r.Component);m.propTypes={minOverlayWidthMatchTrigger:a.a.bool,onVisibleChange:a.a.func,onOverlayClick:a.a.func,prefixCls:a.a.string,children:a.a.any,transitionName:a.a.string,overlayClassName:a.a.string,openClassName:a.a.string,animation:a.a.any,align:a.a.object,overlayStyle:a.a.object,placement:a.a.string,overlay:a.a.oneOfType([a.a.node,a.a.func]),trigger:a.a.array,alignPoint:a.a.bool,showAction:a.a.array,hideAction:a.a.array,getPopupContainer:a.a.func,visible:a.a.bool,defaultVisible:a.a.bool},m.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var v=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=c.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(g.polyfill)(m);var d=m,O=n("eHJ2"),C=n.n(O),w=n("H84U"),P=n("6CfX"),j=n("CtXQ"),E=n("CWQg");function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(){return(N=Object.assign||function(e){for(var t=1;t =0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(w.a,null,this.renderDropDown)}}])&&_(t.prototype,n),o&&_(t,o),a}(r.Component);V.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var M=n("2/Rp");function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(){return(A=Object.assign||function(e){for(var t=1;t -1?"active":""},o.default.createElement("p",null,o.default.createElement(c.Link,{to:"/projects/"+r+"/"+n+"/setting/collaborator",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-chengyuan font-18 mr10"}),"协作者管理"))),o.default.createElement("li",{className:l.indexOf("setting/branch")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(c.Link,{to:"/projects/"+r+"/"+n+"/setting/branch",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-fenzhi font-20 mr10"}),"分支设置"))),o.default.createElement("li",{className:l.indexOf("setting/tags")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(c.Link,{to:"/projects/"+r+"/"+n+"/setting/tags",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-biaoqian3 font-18 mr10"}),"项目标签"))),u&&u.permission&&("Owner"===u.permission||"Admin"===u.permission)?o.default.createElement("li",{className:l.indexOf("setting/special")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(c.Link,{to:"/projects/"+r+"/"+n+"/setting/special",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-jingyan font-18 mr10"}),"特殊开源许可证项目管理"))):"")),o.default.createElement(s.Long,null,o.default.createElement(s.Gap,null,o.default.createElement(c.Switch,this.props,o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting/collaborator",render:function(t){return o.default.createElement(g,a({},e.props,t,e.state))}}),o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting/special",render:function(t){return o.default.createElement(j,a({},e.props,t,e.state))}}),o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting/tags",render:function(t){return o.default.createElement(b,a({},e.props,t,e.state))}}),o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting/branch/:branch",render:function(t){return o.default.createElement(m,a({},e.props,t,e.state))}}),o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting/branch",render:function(t){return o.default.createElement(h,a({},e.props,t,e.state))}}),o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting/manage/new",render:function(t){return o.default.createElement(y,a({},e.props,t,e.state))}}),o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting/manage",render:function(t){return o.default.createElement(w,a({},e.props,t,e.state))}}),o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting",render:function(t){return o.default.createElement(E,a({},e.props,t,e.state))}})))))}}]),t}(l.Component);t.default=N},NzgE:function(e,t,n){}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[122],{"6dZj":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t -1?"active":""},o.default.createElement("p",null,o.default.createElement(c.Link,{to:"/projects/"+r+"/"+n+"/setting/collaborator",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-chengyuan font-18 mr10"}),"协作者管理"))),o.default.createElement("li",{className:l.indexOf("setting/branch")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(c.Link,{to:"/projects/"+r+"/"+n+"/setting/branch",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-fenzhi font-20 mr10"}),"分支设置"))),o.default.createElement("li",{className:l.indexOf("setting/tags")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(c.Link,{to:"/projects/"+r+"/"+n+"/setting/tags",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-biaoqian3 font-18 mr10"}),"项目标签"))),u&&u.permission&&("Owner"===u.permission||"Admin"===u.permission)?o.default.createElement("li",{className:l.indexOf("setting/special")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(c.Link,{to:"/projects/"+r+"/"+n+"/setting/special",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-jingyan font-18 mr10"}),"特殊开源许可证项目管理"))):"")),o.default.createElement(s.Long,null,o.default.createElement(s.Gap,null,o.default.createElement(c.Switch,this.props,o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting/collaborator",render:function(t){return o.default.createElement(g,a({},e.props,t,e.state))}}),o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting/special",render:function(t){return o.default.createElement(j,a({},e.props,t,e.state))}}),o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting/tags",render:function(t){return o.default.createElement(b,a({},e.props,t,e.state))}}),o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting/branch/:branch",render:function(t){return o.default.createElement(m,a({},e.props,t,e.state))}}),o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting/branch",render:function(t){return o.default.createElement(h,a({},e.props,t,e.state))}}),o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting/manage/new",render:function(t){return o.default.createElement(y,a({},e.props,t,e.state))}}),o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting/manage",render:function(t){return o.default.createElement(w,a({},e.props,t,e.state))}}),o.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting",render:function(t){return o.default.createElement(E,a({},e.props,t,e.state))}})))))}}]),t}(l.Component);t.default=N},NzgE:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/124.20acc9de.chunk.js b/static/js/124.20acc9de.chunk.js new file mode 100644 index 000000000..5740873c6 --- /dev/null +++ b/static/js/124.20acc9de.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[124],{"+JVH":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t 0?"active":""},l.default.createElement("i",{className:"iconfont icon-tijiaojilu font-20 mr3 font-bd"}),l.default.createElement("span",null,t&&t.commits_count||0),"个提交"),l.default.createElement(u.Link,{to:"/projects/"+o+"/"+a+"/branchs",className:c.indexOf("/branchs")>0?"active":""},l.default.createElement("i",{className:"iconfont icon-fenzhi1 font-18 mr3"}),l.default.createElement("span",null,t&&t.branches_count||0),"个分支"),l.default.createElement(u.Link,{to:"/projects/"+o+"/"+a+"/tag",className:c.indexOf("/tag")>0?"active":""},l.default.createElement("i",{className:"iconfont icon-biaoqian3 font-18 mr3"}),l.default.createElement("span",null,t&&t.tags_count||0),"个标签"),l.default.createElement(u.Link,{to:"/projects/"+o+"/"+a+"/releases",className:c.indexOf("/releases")>0?"active":""},l.default.createElement("i",{className:"iconfont icon-fahangban font-18 mr3"}),l.default.createElement("span",null,t&&t.version_releasesed_count||0),"个发行版")):l.default.createElement(l.default.Fragment,null,l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-tijiaojilu font-20 mr3 font-bd"}),l.default.createElement("span",null,t&&t.commits_count||0),"个提交"),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-fenzhi1 font-18 mr3"}),l.default.createElement("span",null,t&&t.branches_count||0),"个分支"),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-biaoqian3 font-18 mr3"}),l.default.createElement("span",null,t&&t.tags_count||0),"个标签"),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-fahangban font-18 mr3"}),l.default.createElement("span",null,t&&t.version_releasesed_count||0),"个发行版")),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-cangku font-18 mr3"}),"仓库 ",l.default.createElement("span",{className:"ml3"},t&&t.size||0)))}}]),t}(o.Component);t.default=i}}]); \ No newline at end of file diff --git a/static/js/124.8d088943.chunk.js b/static/js/124.8d088943.chunk.js deleted file mode 100644 index f7bc68aef..000000000 --- a/static/js/124.8d088943.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[124],{"+JVH":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t 0?"active":""},l.default.createElement("i",{className:"iconfont icon-tijiaojilu font-20 mr3 font-bd"}),l.default.createElement("span",null,t&&t.commits_count||0),"个提交"),l.default.createElement(u.Link,{to:"/projects/"+o+"/"+a+"/branchs",className:c.indexOf("/branchs")>0?"active":""},l.default.createElement("i",{className:"iconfont icon-fenzhi1 font-18 mr3"}),l.default.createElement("span",null,t&&t.branches_count||0),"个分支"),l.default.createElement(u.Link,{to:"/projects/"+o+"/"+a+"/tag",className:c.indexOf("/tag")>0?"active":""},l.default.createElement("i",{className:"iconfont icon-biaoqian3 font-18 mr3"}),l.default.createElement("span",null,t&&t.tags_count||0),"个标签"),l.default.createElement(u.Link,{to:"/projects/"+o+"/"+a+"/releases",className:c.indexOf("/releases")>0?"active":""},l.default.createElement("i",{className:"iconfont icon-fahangban font-18 mr3"}),l.default.createElement("span",null,t&&t.version_releasesed_count||0),"个发行版")):l.default.createElement(l.default.Fragment,null,l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-tijiaojilu font-20 mr3 font-bd"}),l.default.createElement("span",null,t&&t.commits_count||0),"个提交"),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-fenzhi1 font-18 mr3"}),l.default.createElement("span",null,t&&t.branches_count||0),"个分支"),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-biaoqian3 font-18 mr3"}),l.default.createElement("span",null,t&&t.tags_count||0),"个标签"),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-fahangban font-18 mr3"}),l.default.createElement("span",null,t&&t.version_releasesed_count||0),"个发行版")),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-cangku font-18 mr3"}),"仓库 ",l.default.createElement("span",{className:"ml3"},t&&t.size||0)))}}]),t}(o.Component);t.default=i}}]); \ No newline at end of file diff --git a/static/js/14.284b09d5.chunk.js b/static/js/13.16da931f.chunk.js similarity index 99% rename from static/js/14.284b09d5.chunk.js rename to static/js/13.16da931f.chunk.js index f8277e816..eec613466 100644 --- a/static/js/14.284b09d5.chunk.js +++ b/static/js/13.16da931f.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[14],{"+hnl":function(e,t,n){},"2oGH":function(e,t,n){},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("CtXQ")),o=f(n("8z0m")),a=Object.assign||function(e){for(var t=1;t 0&&n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(e)})},n.onAttachmentRemove=function(e){if(!e.percent||100===e.percent)return n.deleteAttachment(e),!1},n.deleteAttachment=function(e){var t="/attachments/"+(e.response?e.response.id:e.uid)+".json";s.default.delete(t).then((function(t){t.data&&(0===t.data.status?(n.setState((function(t){var n=t.fileList.indexOf(e),r=t.fileList.slice();return r.splice(n,1),{fileList:r}})),n.fileIdList(n.state.fileList)):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.handleChange=function(e){var t=n.props.changeIsComplete;if(t&&t(!0),"uploading"===e.file.status||"done"===e.file.status||"removed"===e.file.status){var r=e.fileList;if(n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(r)}),n.fileIdList(r),"done"===e.file.status){var o=e.fileList&&e.fileList.length>0&&e.fileList[e.fileList.length-1];o&&o.response&&-1===o.response.status&&(n.props.showNotification(o.response.message),n.setState((function(e){return e.fileList.pop(),{fileList:e.fileList}})),n.fileIdList(n.state.fileList))}}},n.fileIdList=function(e){var t=[];e&&e.length>0&&e.map((function(e){return t.push(e.response&&e.response.id)})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,r=e.size/1024/1024 -1},n.deleteAttachment=function(e){var t="/attachments/"+e+".json";s.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState({Deleted:n.state.Deleted.concat(e)}),n.props.showNotification("附件删除成功")):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.state={canDelete:!1,show_video:!1,video_url:void 0,video_title:void 0,video_id:void 0,move_spin:!1,Deleted:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.Deleted,i=t.canDelete,l=t.show_video,s=t.video_url,p=t.video_title,d=t.move_spin,m=this.props.attachments;return c.default.createElement("div",null,m?c.default.createElement("div",{className:"attachmentsList mt5"},m.map((function(t,r){return c.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},c.default.createElement(o.default,{spinning:d},e.is_video(t.title)?c.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)):c.default.createElement(u.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)),i?c.default.createElement(a.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},c.default.createElement("span",{className:"attachment-list-delete fr"},c.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?c.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},c.default.createElement(f.default,{video_url:s})):"")}}]),t}(l.Component);t.default=d},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),c=n("YMnH"),u=n("ZvpZ"),s=n("H84U");function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t 4&&void 0!==arguments[4])||arguments[4];return y.default.createElement(y.default.Fragment,null,y.default.createElement("span",{required:o},e),y.default.createElement(s.default.Item,null,N(t,{rules:n,validateFirst:!0})(r)))}),[]);return y.default.createElement("div",{className:"main df"},y.default.createElement(s.default,{className:"versionForm"},y.default.createElement("div",null,y.default.createElement("p",{className:"font-16 color-grey-3 mb15"},ae?"编辑":"创建","发行版"),y.default.createElement("div",null,y.default.createElement("div",{className:"itemInline"},ue("","tag_name",[{required:!0,message:"请输入获取或选择一个标签"}],y.default.createElement(f.default,{placeholder:"标记一个版本",onChange:function(e){var t=T.filter((function(t){return t.name.indexOf(e)>-1}));ne(ce(t))},style:{width:"200px"}},te)),y.default.createElement(le,null,"@"),ue("","target_commitish",[{required:!0,message:"请选择一个分支"}],y.default.createElement(c.default,{placeholder:"请选择一个分支",style:{width:"200px"},showArrow:!1},ce(M)))),y.default.createElement("p",{className:"font-13 color-grey-8"},"选择一个已经存在的标签,或者在发布时新建一个标签")),y.default.createElement("div",{className:"pt20"},ue("","name",[{required:!0,message:"请输入发行版的标题"}],y.default.createElement(l.default,{placeholder:"发行版的标题"}))),y.default.createElement("div",null,y.default.createElement(b.default,{placeholder:"描述此发行版",height:200,mdID:"version-comments-description",initValue:U,onChange:q})),y.default.createElement("div",{className:"set-ant-row"},ue("","prerelease",[],y.default.createElement(i.default,null,"这是一个预览版本"))),y.default.createElement("div",null,y.default.createElement(g.default,{className:"versionStyle",isComplete:!0,load:K,icon:y.default.createElement("img",{src:w.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:S}),ae&&Y&&Y.length>0?y.default.createElement(O.default,{attachments:Y,showNotification:S,canDelete:!0}):""),y.default.createElement("p",{className:"pt20"},y.default.createElement(a.default,{onClick:function(){V((function(e,t){if(!e)if(ae){var n="/"+ie+"/"+oe+"/releases/"+ae+".json";E.default.put(n,p({},t,{body:U,attachment_ids:X})).then((function(e){e&&(S("版本修改成功!"),_.push("/projects/"+ie+"/"+oe+"/releases"))}))}else{var r="/"+ie+"/"+oe+"/releases.json";E.default.post(r,p({},t,{body:U,attachment_ids:X})).then((function(e){e&&(S("版本发布成功!"),_.push("/projects/"+ie+"/"+oe+"/releases"))}))}}))},type:"primary",className:"mr30"},ae?"保存":"创建","发行版"),y.default.createElement(a.default,{onClick:function(){return _.push("/projects/"+ie+"/"+oe+"/releases")},style:{backgroundColor:"rgba(187,187,187,1)",color:"#fff"}},"取消")))),y.default.createElement("div",{className:"versionTips"},y.default.createElement("div",{className:"infosTip"},y.default.createElement("p",{className:"font-16 mb15"},"标签命名建议"),y.default.createElement("p",{className:"mb15"},"通常的做法是在版本名称前加上字母 v 前缀, v1.0 或者 v2.3.4。"),y.default.createElement("p",null,"如果标签不适合在生产环境下使用,请在版本名称后添加预发行版本。例如:v0.2-alpha 或者 v5.9-beta.3。")),y.default.createElement("div",{className:"infosTip"},y.default.createElement("p",{className:"font-16 mb15"},"语义化版本"),y.default.createElement("p",{className:"mb15"},"如果你是第一次发布版本,我们强烈建议你阅读语义化版本。")),y.default.createElement("div",{className:"infosTip"},y.default.createElement("p",{className:"font-16 mb15"},"附件大小说明"),y.default.createElement("p",{className:"mb15"},"单个附件不能超过 100M(GVP 项目200M),每个仓库总附件不可超过 1G(推荐项目不可超过 5G;GVP 项目不可超过 20G)。附件总容量统计包括仓库附件和发行版附件。"))))})))},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),i=n("eHJ2"),l=n.n(i),c=n("x1Ya"),u=n("Gytx"),s=n.n(u),f=n("H84U"),p=n("6CfX");function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(){return(h=Object.assign||function(e){for(var t=1;t e.length)&&(t=e.length);for(var n=0,r=new Array(t);n 0&&(y=t.getOptions().map((function(e){return r.createElement(C,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(m,"-item")},e.label)})));var v=l()(m,u);return r.createElement("div",_({className:v,style:s},h),y)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return t=i,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(n=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&V(t.prototype,n),o&&V(t,o),i}(r.Component);G.defaultProps={options:[]},G.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},G.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(G);var M=G;C.Group=M;t.default=C},lrIw:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return P}));var r=n("q1tI"),o=n("i+PK"),a=n("eHJ2"),i=n.n(a);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t 0&&n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(e)})},n.onAttachmentRemove=function(e){if(!e.percent||100===e.percent)return n.deleteAttachment(e),!1},n.deleteAttachment=function(e){var t="/attachments/"+(e.response?e.response.id:e.uid)+".json";s.default.delete(t).then((function(t){t.data&&(0===t.data.status?(n.setState((function(t){var n=t.fileList.indexOf(e),r=t.fileList.slice();return r.splice(n,1),{fileList:r}})),n.fileIdList(n.state.fileList)):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.handleChange=function(e){var t=n.props.changeIsComplete;if(t&&t(!0),"uploading"===e.file.status||"done"===e.file.status||"removed"===e.file.status){var r=e.fileList;if(n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(r)}),n.fileIdList(r),"done"===e.file.status){var o=e.fileList&&e.fileList.length>0&&e.fileList[e.fileList.length-1];o&&o.response&&-1===o.response.status&&(n.props.showNotification(o.response.message),n.setState((function(e){return e.fileList.pop(),{fileList:e.fileList}})),n.fileIdList(n.state.fileList))}}},n.fileIdList=function(e){var t=[];e&&e.length>0&&e.map((function(e){return t.push(e.response&&e.response.id)})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,r=e.size/1024/1024 -1},n.deleteAttachment=function(e){var t="/attachments/"+e+".json";s.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState({Deleted:n.state.Deleted.concat(e)}),n.props.showNotification("附件删除成功")):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.state={canDelete:!1,show_video:!1,video_url:void 0,video_title:void 0,video_id:void 0,move_spin:!1,Deleted:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.Deleted,i=t.canDelete,l=t.show_video,s=t.video_url,p=t.video_title,d=t.move_spin,m=this.props.attachments;return c.default.createElement("div",null,m?c.default.createElement("div",{className:"attachmentsList mt5"},m.map((function(t,r){return c.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},c.default.createElement(o.default,{spinning:d},e.is_video(t.title)?c.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)):c.default.createElement(u.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)),i?c.default.createElement(a.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},c.default.createElement("span",{className:"attachment-list-delete fr"},c.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?c.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},c.default.createElement(f.default,{video_url:s})):"")}}]),t}(l.Component);t.default=d},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),c=n("YMnH"),u=n("ZvpZ"),s=n("H84U");function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t 4&&void 0!==arguments[4])||arguments[4];return y.default.createElement(y.default.Fragment,null,y.default.createElement("span",{required:o},e),y.default.createElement(s.default.Item,null,N(t,{rules:n,validateFirst:!0})(r)))}),[]);return y.default.createElement("div",{className:"main df"},y.default.createElement(s.default,{className:"versionForm"},y.default.createElement("div",null,y.default.createElement("p",{className:"font-16 color-grey-3 mb15"},ae?"编辑":"创建","发行版"),y.default.createElement("div",null,y.default.createElement("div",{className:"itemInline"},ue("","tag_name",[{required:!0,message:"请输入获取或选择一个标签"}],y.default.createElement(f.default,{placeholder:"标记一个版本",onChange:function(e){var t=T.filter((function(t){return t.name.indexOf(e)>-1}));ne(ce(t))},style:{width:"200px"}},te)),y.default.createElement(le,null,"@"),ue("","target_commitish",[{required:!0,message:"请选择一个分支"}],y.default.createElement(c.default,{placeholder:"请选择一个分支",style:{width:"200px"},showArrow:!1},ce(M)))),y.default.createElement("p",{className:"font-13 color-grey-8"},"选择一个已经存在的标签,或者在发布时新建一个标签")),y.default.createElement("div",{className:"pt20"},ue("","name",[{required:!0,message:"请输入发行版的标题"}],y.default.createElement(l.default,{placeholder:"发行版的标题"}))),y.default.createElement("div",null,y.default.createElement(b.default,{placeholder:"描述此发行版",height:200,mdID:"version-comments-description",initValue:U,onChange:q})),y.default.createElement("div",{className:"set-ant-row"},ue("","prerelease",[],y.default.createElement(i.default,null,"这是一个预览版本"))),y.default.createElement("div",null,y.default.createElement(g.default,{className:"versionStyle",isComplete:!0,load:K,icon:y.default.createElement("img",{src:w.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:S}),ae&&Y&&Y.length>0?y.default.createElement(O.default,{attachments:Y,showNotification:S,canDelete:!0}):""),y.default.createElement("p",{className:"pt20"},y.default.createElement(a.default,{onClick:function(){V((function(e,t){if(!e)if(ae){var n="/"+ie+"/"+oe+"/releases/"+ae+".json";E.default.put(n,p({},t,{body:U,attachment_ids:X})).then((function(e){e&&(S("版本修改成功!"),_.push("/projects/"+ie+"/"+oe+"/releases"))}))}else{var r="/"+ie+"/"+oe+"/releases.json";E.default.post(r,p({},t,{body:U,attachment_ids:X})).then((function(e){e&&(S("版本发布成功!"),_.push("/projects/"+ie+"/"+oe+"/releases"))}))}}))},type:"primary",className:"mr30"},ae?"保存":"创建","发行版"),y.default.createElement(a.default,{onClick:function(){return _.push("/projects/"+ie+"/"+oe+"/releases")},style:{backgroundColor:"rgba(187,187,187,1)",color:"#fff"}},"取消")))),y.default.createElement("div",{className:"versionTips"},y.default.createElement("div",{className:"infosTip"},y.default.createElement("p",{className:"font-16 mb15"},"标签命名建议"),y.default.createElement("p",{className:"mb15"},"通常的做法是在版本名称前加上字母 v 前缀, v1.0 或者 v2.3.4。"),y.default.createElement("p",null,"如果标签不适合在生产环境下使用,请在版本名称后添加预发行版本。例如:v0.2-alpha 或者 v5.9-beta.3。")),y.default.createElement("div",{className:"infosTip"},y.default.createElement("p",{className:"font-16 mb15"},"语义化版本"),y.default.createElement("p",{className:"mb15"},"如果你是第一次发布版本,我们强烈建议你阅读语义化版本。")),y.default.createElement("div",{className:"infosTip"},y.default.createElement("p",{className:"font-16 mb15"},"附件大小说明"),y.default.createElement("p",{className:"mb15"},"单个附件不能超过 100M(GVP 项目200M),每个仓库总附件不可超过 1G(推荐项目不可超过 5G;GVP 项目不可超过 20G)。附件总容量统计包括仓库附件和发行版附件。"))))})))},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),i=n("eHJ2"),l=n.n(i),c=n("x1Ya"),u=n("Gytx"),s=n.n(u),f=n("H84U"),p=n("6CfX");function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(){return(h=Object.assign||function(e){for(var t=1;t e.length)&&(t=e.length);for(var n=0,r=new Array(t);n 0&&(y=t.getOptions().map((function(e){return r.createElement(C,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(m,"-item")},e.label)})));var v=l()(m,u);return r.createElement("div",_({className:v,style:s},h),y)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return t=i,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(n=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&V(t.prototype,n),o&&V(t,o),i}(r.Component);G.defaultProps={options:[]},G.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},G.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(G);var M=G;C.Group=M;t.default=C},lrIw:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return P}));var r=n("q1tI"),o=n("i+PK"),a=n("eHJ2"),i=n.n(a);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t 0&&s.default.createElement("div",{className:"groupBox"},R.map((function(e,n){return s.default.createElement("div",{key:n},s.default.createElement("p",{className:"g-head"},s.default.createElement(m.Link,{to:"/organize/"+t.name+"/group/"+e.id,className:"color-grey-3 font-16"},e.name),s.default.createElement("span",null,e.is_admin&&"owner"!==e.authorize&&s.default.createElement(o.default,{title:"确定解散团队"+e.name+"?",okText:"是",cancelText:"否",onConfirm:function(){return n=e.id,r="/organizations/"+t.id+"/teams/"+n+".json",void p.default.delete(r).then((function(e){e&&e.data&&S()})).catch((function(e){}));var n,r}},s.default.createElement("a",{className:"color-red"},"解散团队")),e.is_member&&s.default.createElement(b.default,{className:"ml15",teamID:e.id,onOk:F}),e.is_admin&&s.default.createElement("a",{className:"ml15 color-blue",onClick:function(){return n=e.id,void u.push("/organize/"+(t&&t.name)+"/group/"+n+"/setting");var n}},"团队设置"))),s.default.createElement("div",{className:"g-body"},e.users&&e.users.map((function(n,r){return r0&&s.default.createElement(f.default,{_html:"暂无数据"}),D>n&&s.default.createElement("div",{className:"mt20 pb20 edu-txt-center"},s.default.createElement(a.default,{simple:!0,current:g,total:D,pageSize:n,onChange:function(e){return O(e)}}))))}},dF3D:function(e,t){e.exports="data:image/png;base64,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"},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},kksi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n("kLXV"));n("k3Gp");var a=o(n("q1tI"));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.visible,n=e.okText,o=e.cancelText,l=e.onOk,i=e.onCancel,u=e.children;return a.default.createElement(r.default,{visible:t,okText:n,onCancel:i,onOk:l,cancelText:o,title:"提示",closable:!1,centered:!0},u)}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[14],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n 0&&s.default.createElement("div",{className:"groupBox"},R.map((function(e,n){return s.default.createElement("div",{key:n},s.default.createElement("p",{className:"g-head"},s.default.createElement(m.Link,{to:"/organize/"+t.name+"/group/"+e.id,className:"color-grey-3 font-16"},e.name),s.default.createElement("span",null,e.is_admin&&"owner"!==e.authorize&&s.default.createElement(o.default,{title:"确定解散团队"+e.name+"?",okText:"是",cancelText:"否",onConfirm:function(){return n=e.id,r="/organizations/"+t.id+"/teams/"+n+".json",void p.default.delete(r).then((function(e){e&&e.data&&S()})).catch((function(e){}));var n,r}},s.default.createElement("a",{className:"color-red"},"解散团队")),e.is_member&&s.default.createElement(b.default,{className:"ml15",teamID:e.id,onOk:F}),e.is_admin&&s.default.createElement("a",{className:"ml15 color-blue",onClick:function(){return n=e.id,void u.push("/organize/"+(t&&t.name)+"/group/"+n+"/setting");var n}},"团队设置"))),s.default.createElement("div",{className:"g-body"},e.users&&e.users.map((function(n,r){return r0&&s.default.createElement(f.default,{_html:"暂无数据"}),D>n&&s.default.createElement("div",{className:"mt20 pb20 edu-txt-center"},s.default.createElement(a.default,{simple:!0,current:g,total:D,pageSize:n,onChange:function(e){return O(e)}}))))}},dF3D:function(e,t){e.exports="data:image/png;base64,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"},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},kksi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n("kLXV"));n("k3Gp");var a=o(n("q1tI"));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.visible,n=e.okText,o=e.cancelText,l=e.onOk,i=e.onCancel,u=e.children;return a.default.createElement(r.default,{visible:t,okText:n,onCancel:i,onOk:l,cancelText:o,title:"提示",closable:!1,centered:!0},u)}}}]); \ No newline at end of file diff --git a/static/js/16.04705757.chunk.js b/static/js/15.5c6ddf43.chunk.js similarity index 98% rename from static/js/16.04705757.chunk.js rename to static/js/15.5c6ddf43.chunk.js index 59715a1d4..298f407d3 100644 --- a/static/js/16.04705757.chunk.js +++ b/static/js/15.5c6ddf43.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[16],{"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},GJlF:function(e,t,n){},Tckk:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return d}));var r=n("q1tI"),o=n("eHJ2"),c=n.n(o),a=n("CtXQ"),i=n("H84U");function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(){return(u=Object.assign||function(e){for(var t=1;t =0}(e,t.activeKey)||(n.activeKey=Y(e)),Object.keys(n).length>0?n:null}}]),t}(a.a.Component),X=function(){var e=this;this.onTabClick=function(t,n){e.tabBar.props.onTabClick&&e.tabBar.props.onTabClick(t,n),e.setActiveKey(t)},this.onNavKeyDown=function(t){var n=t.keyCode;if(n===S||n===N){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===w||n===R){t.preventDefault();var a=e.getNextActiveKey(!1);e.onTabClick(a)}},this.onScroll=function(e){var t=e.target;t===e.currentTarget&&t.scrollLeft>0&&(t.scrollLeft=0)},this.setSentinelStart=function(t){e.sentinelStart=t},this.setSentinelEnd=function(t){e.sentinelEnd=t},this.setPanelSentinelStart=function(t){t!==e.panelSentinelStart&&e.updateSentinelContext(),e.panelSentinelStart=t},this.setPanelSentinelEnd=function(t){t!==e.panelSentinelEnd&&e.updateSentinelContext(),e.panelSentinelEnd=t},this.setActiveKey=function(t){e.state.activeKey!==t&&("activeKey"in e.props||e.setState({activeKey:t}),e.props.onChange(t))},this.getNextActiveKey=function(t){var n=e.state.activeKey,r=[];a.a.Children.forEach(e.props.children,(function(e){e&&!e.props.disabled&&(t?r.push(e):r.unshift(e))}));var o=r.length,i=o&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===o-1?r[0].key:r[t+1].key)})),i}};Z.propTypes={destroyInactiveTabPane:P.a.bool,renderTabBar:P.a.func.isRequired,renderTabContent:P.a.func.isRequired,navWrapper:P.a.func,onChange:P.a.func,children:P.a.node,prefixCls:P.a.string,className:P.a.string,tabBarPosition:P.a.string,style:P.a.object,activeKey:P.a.string,defaultActiveKey:P.a.string,direction:P.a.string},Z.defaultProps={prefixCls:"rc-tabs",destroyInactiveTabPane:!1,onChange:function(){},navWrapper:function(e){return e},tabBarPosition:"top",children:null,style:{},direction:"ltr"},Z.TabPane=J,Object(O.polyfill)(Z);var $=Z,ee=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"getTabPanes",value:function(){var e=this.props,t=e.activeKey,n=e.children,r=[];return a.a.Children.forEach(n,(function(n){if(n){var o=n.key,i=t===o;r.push(a.a.cloneElement(n,{active:i,destroyInactiveTabPane:e.destroyInactiveTabPane,rootPrefixCls:e.prefixCls}))}})),r}},{key:"render",value:function(){var e,t,n=this.props,r=n.prefixCls,o=n.children,i=n.activeKey,c=n.className,f=n.tabBarPosition,u=n.animated,p=n.animatedWithMargin,d=n.direction,v=n.style,h=k()((e={},l()(e,r+"-content",!0),l()(e,u?r+"-content-animated":r+"-content-no-animated",!0),e),c);if(u){var b=_(o,i);if(-1!==b){var y=p?function(e,t){var n=W(t)?"marginTop":"marginLeft";return l()({},n,100*-e+"%")}(b,f):{transform:t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=W(t)?"translateY":"translateX";return W(t)||"rtl"!==n?r+"("+100*-e+"%) translateZ(0)":r+"("+100*e+"%) translateZ(0)"}(b,f,d),WebkitTransform:t,MozTransform:t};v=s()({},v,y)}else v=s()({},v,{display:"none"})}return a.a.createElement("div",{className:h,style:v},this.getTabPanes())}}]),t}(a.a.Component),te=ee;ee.propTypes={animated:P.a.bool,animatedWithMargin:P.a.bool,prefixCls:P.a.string,children:P.a.node,activeKey:P.a.string,style:P.a.any,tabBarPosition:P.a.string,className:P.a.string,destroyInactiveTabPane:P.a.bool,direction:P.a.string},ee.defaultProps={animated:!0};var ne=$,re=n("eHJ2"),ae=n.n(re),oe=n("BGR+");function ie(e,t){var n=e.props,r=n.styles,a=n.panels,o=n.activeKey,i=n.direction,s=e.props.getRef("root"),c=e.props.getRef("nav")||s,l=e.props.getRef("inkBar"),f=e.props.getRef("activeTab"),u=l.style,p=e.props.tabBarPosition,d=_(a,o);if(t&&(u.display="none"),f){var v=f,h=K(u);if(j(u,""),u.width="",u.height="",u.left="",u.top="",u.bottom="",u.right="","top"===p||"bottom"===p){var b=function(e,t){return z("left","offsetWidth","right",e,t)}(v,c),y=v.offsetWidth;y===s.offsetWidth?y=0:r.inkBar&&void 0!==r.inkBar.width&&(y=parseFloat(r.inkBar.width,10))&&(b+=(v.offsetWidth-y)/2),"rtl"===i&&(b=A(v,"margin-left")-b),h?j(u,"translate3d("+b+"px,0,0)"):u.left=b+"px",u.width=y+"px"}else{var m=function(e,t){return z("top","offsetHeight","bottom",e,t)}(v,c),g=v.offsetHeight;r.inkBar&&void 0!==r.inkBar.height&&(g=parseFloat(r.inkBar.height,10))&&(m+=(v.offsetHeight-g)/2),h?(j(u,"translate3d(0,"+m+"px,0)"),u.top="0"):u.top=m+"px",u.height=g+"px"}}u.display=-1!==d?"block":"none"}var se=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.timeout=setTimeout((function(){ie(e,!0)}),0)}},{key:"componentDidUpdate",value:function(){ie(this)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.styles,o=t.inkBarAnimated,i=n+"-ink-bar",s=k()((e={},l()(e,i,!0),l()(e,o?i+"-animated":i+"-no-animated",!0),e));return a.a.createElement("div",{style:r.inkBar,className:s,key:"inkBar",ref:this.props.saveRef("inkBar")})}}]),t}(a.a.Component),ce=se;se.propTypes={prefixCls:P.a.string,styles:P.a.object,inkBarAnimated:P.a.bool,saveRef:P.a.func,direction:P.a.string},se.defaultProps={prefixCls:"",inkBarAnimated:!0,styles:{},saveRef:function(){}};var le=n("2W6z"),fe=n.n(le),ue=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.panels,r=t.activeKey,o=t.prefixCls,i=t.tabBarGutter,c=t.saveRef,f=t.tabBarPosition,u=t.renderTabBarNode,p=t.direction,d=[];return a.a.Children.forEach(n,(function(t,v){if(t){var h=t.key,b=r===h?o+"-tab-active":"";b+=" "+o+"-tab";var y={};t.props.disabled?b+=" "+o+"-tab-disabled":y={onClick:e.props.onTabClick.bind(e,h)};var m={};r===h&&(m.ref=c("activeTab"));var g=i&&v===n.length-1?0:i,x="rtl"===p?"marginLeft":"marginRight",P=l()({},W(f)?"marginBottom":x,g);fe()("tab"in t.props,"There must be `tab` property on children of Tabs.");var C=a.a.createElement("div",s()({role:"tab","aria-disabled":t.props.disabled?"true":"false","aria-selected":r===h?"true":"false"},y,{className:b,key:h,style:P},m),t.props.tab);u&&(C=u(C)),d.push(C)}})),a.a.createElement("div",{ref:c("navTabsContainer")},d)}}]),t}(a.a.Component),pe=ue;ue.propTypes={activeKey:P.a.string,panels:P.a.node,prefixCls:P.a.string,tabBarGutter:P.a.number,onTabClick:P.a.func,saveRef:P.a.func,renderTabBarNode:P.a.func,tabBarPosition:P.a.string,direction:P.a.string},ue.defaultProps={panels:[],prefixCls:[],tabBarGutter:null,onTabClick:function(){},saveRef:function(){}};var de=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,o=e.className,i=e.extraContent,c=e.style,f=e.tabBarPosition,p=e.children,d=u()(e,["prefixCls","onKeyDown","className","extraContent","style","tabBarPosition","children"]),v=k()(t+"-bar",l()({},o,!!o)),h="top"===f||"bottom"===f,b=h?{float:"right"}:{},y=i&&i.props?i.props.style:{},m=p;return i&&(m=[Object(r.cloneElement)(i,{key:"extra",style:s()({},b,y)}),Object(r.cloneElement)(p,{key:"content"})],m=h?m:m.reverse()),a.a.createElement("div",s()({role:"tablist",className:v,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:c},I(d)),m)}}]),t}(a.a.Component),ve=de;de.propTypes={prefixCls:P.a.string,className:P.a.string,style:P.a.object,tabBarPosition:P.a.oneOf(["left","right","top","bottom"]),children:P.a.node,extraContent:P.a.node,onKeyDown:P.a.func,saveRef:P.a.func},de.defaultProps={prefixCls:"",className:"",style:{},tabBarPosition:"top",extraContent:null,children:null,onKeyDown:function(){},saveRef:function(){}};var he=n("sEfC"),be=n.n(he),ye=n("bdgK"),me=function(e){function t(e){d()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.prevTransitionEnd=function(e){if("opacity"===e.propertyName){var t=n.props.getRef("container");n.scrollToActiveTab({target:t,currentTarget:t})}},n.scrollToActiveTab=function(e){var t=n.props.getRef("activeTab"),r=n.props.getRef("navWrap");if((!e||e.target===e.currentTarget)&&t){var a=n.isNextPrevShown()&&n.lastNextPrevShown;if(n.lastNextPrevShown=n.isNextPrevShown(),a){var o=n.getScrollWH(t),i=n.getOffsetWH(r),s=n.offset,c=n.getOffsetLT(r),l=n.getOffsetLT(t);c>l?(s+=c-l,n.setOffset(s)):c+i =0)c=!1,this.setOffset(0,!1),o=0;else if(i 1&&void 0!==arguments[1])||arguments[1],n=Math.min(0,e);if(this.offset!==n){this.offset=n;var r={},a=this.props.tabBarPosition,o=this.props.getRef("nav").style,i=K(o);"left"===a||"right"===a?r=i?{value:"translate3d(0,"+n+"px,0)"}:{name:"top",value:n+"px"}:i?("rtl"===this.props.direction&&(n=-n),r={value:"translate3d("+n+"px,0,0)"}):r={name:"left",value:n+"px"},i?j(o,r.value):o[r.name]=r.value,t&&this.setNextPrev()}}},{key:"setPrev",value:function(e){this.state.prev!==e&&this.setState({prev:e})}},{key:"setNext",value:function(e){this.state.next!==e&&this.setState({next:e})}},{key:"isNextPrevShown",value:function(e){return e?e.next||e.prev:this.state.next||this.state.prev}},{key:"render",value:function(){var e,t,n,r,o=this.state,i=o.next,s=o.prev,c=this.props,f=c.prefixCls,u=c.scrollAnimated,p=c.navWrapper,d=c.prevIcon,v=c.nextIcon,h=s||i,b=a.a.createElement("span",{onClick:s?this.prev:null,unselectable:"unselectable",className:k()((e={},l()(e,f+"-tab-prev",1),l()(e,f+"-tab-btn-disabled",!s),l()(e,f+"-tab-arrow-show",h),e)),onTransitionEnd:this.prevTransitionEnd},d||a.a.createElement("span",{className:f+"-tab-prev-icon"})),y=a.a.createElement("span",{onClick:i?this.next:null,unselectable:"unselectable",className:k()((t={},l()(t,f+"-tab-next",1),l()(t,f+"-tab-btn-disabled",!i),l()(t,f+"-tab-arrow-show",h),t))},v||a.a.createElement("span",{className:f+"-tab-next-icon"})),m=f+"-nav",g=k()((n={},l()(n,m,!0),l()(n,u?m+"-animated":m+"-no-animated",!0),n));return a.a.createElement("div",{className:k()((r={},l()(r,f+"-nav-container",1),l()(r,f+"-nav-container-scrolling",h),r)),key:"container",ref:this.props.saveRef("container")},b,y,a.a.createElement("div",{className:f+"-nav-wrap",ref:this.props.saveRef("navWrap")},a.a.createElement("div",{className:f+"-nav-scroll"},a.a.createElement("div",{className:g,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(a.a.Component),ge=me;me.propTypes={activeKey:P.a.string,getRef:P.a.func.isRequired,saveRef:P.a.func.isRequired,tabBarPosition:P.a.oneOf(["left","right","top","bottom"]),prefixCls:P.a.string,scrollAnimated:P.a.bool,onPrevClick:P.a.func,onNextClick:P.a.func,navWrapper:P.a.func,children:P.a.node,prevIcon:P.a.node,nextIcon:P.a.node,direction:P.a.node},me.defaultProps={tabBarPosition:"left",prefixCls:"",scrollAnimated:!0,onPrevClick:function(){},onNextClick:function(){},navWrapper:function(e){return e}};var xe=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),s=0;s =0),e),f),x=Te(Te({},this.props),{children:null,inkBarAnimated:d,extraContent:s,style:a,prevIcon:y,nextIcon:m,className:g});return t=i?i(x,ke):r.createElement(ke,x),r.cloneElement(t)}}])&&Se(t.prototype,n),a&&Se(t,a),i}(r.Component);Ke.defaultProps={animated:!0,type:"line"};var We=n("H84U"),Ae=n("6CfX"),Ie=n("R3zJ");function De(){return(De=Object.assign||function(e){for(var t=1;t =0&&("small"===l||"large"===l)),"Tabs","`type=card|editable-card` doesn't have small or large size, it's by design.");var g=a("tabs",i),x=ae()(c,(ze(n={},"".concat(g,"-vertical"),"left"===p||"right"===p),ze(n,"".concat(g,"-").concat(l),!!l),ze(n,"".concat(g,"-card"),u.indexOf("card")>=0),ze(n,"".concat(g,"-").concat(u),!0),ze(n,"".concat(g,"-no-animation"),!m),n)),P=[];"editable-card"===u&&(P=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var a=t.props.closable,o=(a=void 0===a||a)?r.createElement(Ee.default,{type:"close",className:"".concat(g,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;P.push(r.cloneElement(t,{tab:r.createElement("div",{className:a?void 0:"".concat(g,"-tab-unclosable")},t.props.tab,o),key:t.key||n}))})),b||(y=r.createElement("span",null,r.createElement(Ee.default,{type:"plus",className:"".concat(g,"-new-tab"),onClick:e.createNewTab}),y))),y=y?r.createElement("div",{className:"".concat(g,"-extra-content")},y):null;var C=Ge(e.props,[]),k=ae()("".concat(g,"-").concat(p,"-content"),u.indexOf("card")>=0&&"".concat(g,"-card-content"));return r.createElement(ne,De({},e.props,{prefixCls:g,className:x,tabBarPosition:p,renderTabBar:function(){return r.createElement(Ke,De({},Object(oe.a)(C,["className"]),{tabBarExtraContent:y}))},renderTabContent:function(){return r.createElement(te,{className:k,animated:m,animatedWithMargin:!0})},onChange:e.handleChange}),P.length>0?P:d)},e}return t=s,(n=[{key:"componentDidMount",value:function(){var e=o.findDOMNode(this);e&&!Ie.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(We.a,null,this.renderTabs)}}])&&qe(t.prototype,n),a&&qe(t,a),s}(r.Component);Ve.TabPane=J,Ve.defaultProps={hideAdd:!1,tabPosition:"top"}},n1GQ:function(e,t,n){(function(t){for(var r=n("bQgK"),a="undefined"==typeof window?t:window,o=["moz","webkit"],i="AnimationFrame",s=a["request"+i],c=a["cancel"+i]||a["cancelRequest"+i],l=0;!s&&l =0}(e,t.activeKey)||(n.activeKey=Y(e)),Object.keys(n).length>0?n:null}}]),t}(a.a.Component),X=function(){var e=this;this.onTabClick=function(t,n){e.tabBar.props.onTabClick&&e.tabBar.props.onTabClick(t,n),e.setActiveKey(t)},this.onNavKeyDown=function(t){var n=t.keyCode;if(n===S||n===N){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===w||n===R){t.preventDefault();var a=e.getNextActiveKey(!1);e.onTabClick(a)}},this.onScroll=function(e){var t=e.target;t===e.currentTarget&&t.scrollLeft>0&&(t.scrollLeft=0)},this.setSentinelStart=function(t){e.sentinelStart=t},this.setSentinelEnd=function(t){e.sentinelEnd=t},this.setPanelSentinelStart=function(t){t!==e.panelSentinelStart&&e.updateSentinelContext(),e.panelSentinelStart=t},this.setPanelSentinelEnd=function(t){t!==e.panelSentinelEnd&&e.updateSentinelContext(),e.panelSentinelEnd=t},this.setActiveKey=function(t){e.state.activeKey!==t&&("activeKey"in e.props||e.setState({activeKey:t}),e.props.onChange(t))},this.getNextActiveKey=function(t){var n=e.state.activeKey,r=[];a.a.Children.forEach(e.props.children,(function(e){e&&!e.props.disabled&&(t?r.push(e):r.unshift(e))}));var o=r.length,i=o&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===o-1?r[0].key:r[t+1].key)})),i}};Z.propTypes={destroyInactiveTabPane:P.a.bool,renderTabBar:P.a.func.isRequired,renderTabContent:P.a.func.isRequired,navWrapper:P.a.func,onChange:P.a.func,children:P.a.node,prefixCls:P.a.string,className:P.a.string,tabBarPosition:P.a.string,style:P.a.object,activeKey:P.a.string,defaultActiveKey:P.a.string,direction:P.a.string},Z.defaultProps={prefixCls:"rc-tabs",destroyInactiveTabPane:!1,onChange:function(){},navWrapper:function(e){return e},tabBarPosition:"top",children:null,style:{},direction:"ltr"},Z.TabPane=J,Object(O.polyfill)(Z);var $=Z,ee=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"getTabPanes",value:function(){var e=this.props,t=e.activeKey,n=e.children,r=[];return a.a.Children.forEach(n,(function(n){if(n){var o=n.key,i=t===o;r.push(a.a.cloneElement(n,{active:i,destroyInactiveTabPane:e.destroyInactiveTabPane,rootPrefixCls:e.prefixCls}))}})),r}},{key:"render",value:function(){var e,t,n=this.props,r=n.prefixCls,o=n.children,i=n.activeKey,c=n.className,f=n.tabBarPosition,u=n.animated,p=n.animatedWithMargin,d=n.direction,v=n.style,h=k()((e={},l()(e,r+"-content",!0),l()(e,u?r+"-content-animated":r+"-content-no-animated",!0),e),c);if(u){var b=_(o,i);if(-1!==b){var y=p?function(e,t){var n=W(t)?"marginTop":"marginLeft";return l()({},n,100*-e+"%")}(b,f):{transform:t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=W(t)?"translateY":"translateX";return W(t)||"rtl"!==n?r+"("+100*-e+"%) translateZ(0)":r+"("+100*e+"%) translateZ(0)"}(b,f,d),WebkitTransform:t,MozTransform:t};v=s()({},v,y)}else v=s()({},v,{display:"none"})}return a.a.createElement("div",{className:h,style:v},this.getTabPanes())}}]),t}(a.a.Component),te=ee;ee.propTypes={animated:P.a.bool,animatedWithMargin:P.a.bool,prefixCls:P.a.string,children:P.a.node,activeKey:P.a.string,style:P.a.any,tabBarPosition:P.a.string,className:P.a.string,destroyInactiveTabPane:P.a.bool,direction:P.a.string},ee.defaultProps={animated:!0};var ne=$,re=n("eHJ2"),ae=n.n(re),oe=n("BGR+");function ie(e,t){var n=e.props,r=n.styles,a=n.panels,o=n.activeKey,i=n.direction,s=e.props.getRef("root"),c=e.props.getRef("nav")||s,l=e.props.getRef("inkBar"),f=e.props.getRef("activeTab"),u=l.style,p=e.props.tabBarPosition,d=_(a,o);if(t&&(u.display="none"),f){var v=f,h=K(u);if(j(u,""),u.width="",u.height="",u.left="",u.top="",u.bottom="",u.right="","top"===p||"bottom"===p){var b=function(e,t){return z("left","offsetWidth","right",e,t)}(v,c),y=v.offsetWidth;y===s.offsetWidth?y=0:r.inkBar&&void 0!==r.inkBar.width&&(y=parseFloat(r.inkBar.width,10))&&(b+=(v.offsetWidth-y)/2),"rtl"===i&&(b=A(v,"margin-left")-b),h?j(u,"translate3d("+b+"px,0,0)"):u.left=b+"px",u.width=y+"px"}else{var m=function(e,t){return z("top","offsetHeight","bottom",e,t)}(v,c),g=v.offsetHeight;r.inkBar&&void 0!==r.inkBar.height&&(g=parseFloat(r.inkBar.height,10))&&(m+=(v.offsetHeight-g)/2),h?(j(u,"translate3d(0,"+m+"px,0)"),u.top="0"):u.top=m+"px",u.height=g+"px"}}u.display=-1!==d?"block":"none"}var se=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.timeout=setTimeout((function(){ie(e,!0)}),0)}},{key:"componentDidUpdate",value:function(){ie(this)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.styles,o=t.inkBarAnimated,i=n+"-ink-bar",s=k()((e={},l()(e,i,!0),l()(e,o?i+"-animated":i+"-no-animated",!0),e));return a.a.createElement("div",{style:r.inkBar,className:s,key:"inkBar",ref:this.props.saveRef("inkBar")})}}]),t}(a.a.Component),ce=se;se.propTypes={prefixCls:P.a.string,styles:P.a.object,inkBarAnimated:P.a.bool,saveRef:P.a.func,direction:P.a.string},se.defaultProps={prefixCls:"",inkBarAnimated:!0,styles:{},saveRef:function(){}};var le=n("2W6z"),fe=n.n(le),ue=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.panels,r=t.activeKey,o=t.prefixCls,i=t.tabBarGutter,c=t.saveRef,f=t.tabBarPosition,u=t.renderTabBarNode,p=t.direction,d=[];return a.a.Children.forEach(n,(function(t,v){if(t){var h=t.key,b=r===h?o+"-tab-active":"";b+=" "+o+"-tab";var y={};t.props.disabled?b+=" "+o+"-tab-disabled":y={onClick:e.props.onTabClick.bind(e,h)};var m={};r===h&&(m.ref=c("activeTab"));var g=i&&v===n.length-1?0:i,x="rtl"===p?"marginLeft":"marginRight",P=l()({},W(f)?"marginBottom":x,g);fe()("tab"in t.props,"There must be `tab` property on children of Tabs.");var C=a.a.createElement("div",s()({role:"tab","aria-disabled":t.props.disabled?"true":"false","aria-selected":r===h?"true":"false"},y,{className:b,key:h,style:P},m),t.props.tab);u&&(C=u(C)),d.push(C)}})),a.a.createElement("div",{ref:c("navTabsContainer")},d)}}]),t}(a.a.Component),pe=ue;ue.propTypes={activeKey:P.a.string,panels:P.a.node,prefixCls:P.a.string,tabBarGutter:P.a.number,onTabClick:P.a.func,saveRef:P.a.func,renderTabBarNode:P.a.func,tabBarPosition:P.a.string,direction:P.a.string},ue.defaultProps={panels:[],prefixCls:[],tabBarGutter:null,onTabClick:function(){},saveRef:function(){}};var de=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,o=e.className,i=e.extraContent,c=e.style,f=e.tabBarPosition,p=e.children,d=u()(e,["prefixCls","onKeyDown","className","extraContent","style","tabBarPosition","children"]),v=k()(t+"-bar",l()({},o,!!o)),h="top"===f||"bottom"===f,b=h?{float:"right"}:{},y=i&&i.props?i.props.style:{},m=p;return i&&(m=[Object(r.cloneElement)(i,{key:"extra",style:s()({},b,y)}),Object(r.cloneElement)(p,{key:"content"})],m=h?m:m.reverse()),a.a.createElement("div",s()({role:"tablist",className:v,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:c},I(d)),m)}}]),t}(a.a.Component),ve=de;de.propTypes={prefixCls:P.a.string,className:P.a.string,style:P.a.object,tabBarPosition:P.a.oneOf(["left","right","top","bottom"]),children:P.a.node,extraContent:P.a.node,onKeyDown:P.a.func,saveRef:P.a.func},de.defaultProps={prefixCls:"",className:"",style:{},tabBarPosition:"top",extraContent:null,children:null,onKeyDown:function(){},saveRef:function(){}};var he=n("sEfC"),be=n.n(he),ye=n("bdgK"),me=function(e){function t(e){d()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.prevTransitionEnd=function(e){if("opacity"===e.propertyName){var t=n.props.getRef("container");n.scrollToActiveTab({target:t,currentTarget:t})}},n.scrollToActiveTab=function(e){var t=n.props.getRef("activeTab"),r=n.props.getRef("navWrap");if((!e||e.target===e.currentTarget)&&t){var a=n.isNextPrevShown()&&n.lastNextPrevShown;if(n.lastNextPrevShown=n.isNextPrevShown(),a){var o=n.getScrollWH(t),i=n.getOffsetWH(r),s=n.offset,c=n.getOffsetLT(r),l=n.getOffsetLT(t);c>l?(s+=c-l,n.setOffset(s)):c+i =0)c=!1,this.setOffset(0,!1),o=0;else if(i 1&&void 0!==arguments[1])||arguments[1],n=Math.min(0,e);if(this.offset!==n){this.offset=n;var r={},a=this.props.tabBarPosition,o=this.props.getRef("nav").style,i=K(o);"left"===a||"right"===a?r=i?{value:"translate3d(0,"+n+"px,0)"}:{name:"top",value:n+"px"}:i?("rtl"===this.props.direction&&(n=-n),r={value:"translate3d("+n+"px,0,0)"}):r={name:"left",value:n+"px"},i?j(o,r.value):o[r.name]=r.value,t&&this.setNextPrev()}}},{key:"setPrev",value:function(e){this.state.prev!==e&&this.setState({prev:e})}},{key:"setNext",value:function(e){this.state.next!==e&&this.setState({next:e})}},{key:"isNextPrevShown",value:function(e){return e?e.next||e.prev:this.state.next||this.state.prev}},{key:"render",value:function(){var e,t,n,r,o=this.state,i=o.next,s=o.prev,c=this.props,f=c.prefixCls,u=c.scrollAnimated,p=c.navWrapper,d=c.prevIcon,v=c.nextIcon,h=s||i,b=a.a.createElement("span",{onClick:s?this.prev:null,unselectable:"unselectable",className:k()((e={},l()(e,f+"-tab-prev",1),l()(e,f+"-tab-btn-disabled",!s),l()(e,f+"-tab-arrow-show",h),e)),onTransitionEnd:this.prevTransitionEnd},d||a.a.createElement("span",{className:f+"-tab-prev-icon"})),y=a.a.createElement("span",{onClick:i?this.next:null,unselectable:"unselectable",className:k()((t={},l()(t,f+"-tab-next",1),l()(t,f+"-tab-btn-disabled",!i),l()(t,f+"-tab-arrow-show",h),t))},v||a.a.createElement("span",{className:f+"-tab-next-icon"})),m=f+"-nav",g=k()((n={},l()(n,m,!0),l()(n,u?m+"-animated":m+"-no-animated",!0),n));return a.a.createElement("div",{className:k()((r={},l()(r,f+"-nav-container",1),l()(r,f+"-nav-container-scrolling",h),r)),key:"container",ref:this.props.saveRef("container")},b,y,a.a.createElement("div",{className:f+"-nav-wrap",ref:this.props.saveRef("navWrap")},a.a.createElement("div",{className:f+"-nav-scroll"},a.a.createElement("div",{className:g,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(a.a.Component),ge=me;me.propTypes={activeKey:P.a.string,getRef:P.a.func.isRequired,saveRef:P.a.func.isRequired,tabBarPosition:P.a.oneOf(["left","right","top","bottom"]),prefixCls:P.a.string,scrollAnimated:P.a.bool,onPrevClick:P.a.func,onNextClick:P.a.func,navWrapper:P.a.func,children:P.a.node,prevIcon:P.a.node,nextIcon:P.a.node,direction:P.a.node},me.defaultProps={tabBarPosition:"left",prefixCls:"",scrollAnimated:!0,onPrevClick:function(){},onNextClick:function(){},navWrapper:function(e){return e}};var xe=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),s=0;s =0),e),f),x=Te(Te({},this.props),{children:null,inkBarAnimated:d,extraContent:s,style:a,prevIcon:y,nextIcon:m,className:g});return t=i?i(x,ke):r.createElement(ke,x),r.cloneElement(t)}}])&&Se(t.prototype,n),a&&Se(t,a),i}(r.Component);Ke.defaultProps={animated:!0,type:"line"};var We=n("H84U"),Ae=n("6CfX"),Ie=n("R3zJ");function De(){return(De=Object.assign||function(e){for(var t=1;t =0&&("small"===l||"large"===l)),"Tabs","`type=card|editable-card` doesn't have small or large size, it's by design.");var g=a("tabs",i),x=ae()(c,(ze(n={},"".concat(g,"-vertical"),"left"===p||"right"===p),ze(n,"".concat(g,"-").concat(l),!!l),ze(n,"".concat(g,"-card"),u.indexOf("card")>=0),ze(n,"".concat(g,"-").concat(u),!0),ze(n,"".concat(g,"-no-animation"),!m),n)),P=[];"editable-card"===u&&(P=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var a=t.props.closable,o=(a=void 0===a||a)?r.createElement(Ee.default,{type:"close",className:"".concat(g,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;P.push(r.cloneElement(t,{tab:r.createElement("div",{className:a?void 0:"".concat(g,"-tab-unclosable")},t.props.tab,o),key:t.key||n}))})),b||(y=r.createElement("span",null,r.createElement(Ee.default,{type:"plus",className:"".concat(g,"-new-tab"),onClick:e.createNewTab}),y))),y=y?r.createElement("div",{className:"".concat(g,"-extra-content")},y):null;var C=Ge(e.props,[]),k=ae()("".concat(g,"-").concat(p,"-content"),u.indexOf("card")>=0&&"".concat(g,"-card-content"));return r.createElement(ne,De({},e.props,{prefixCls:g,className:x,tabBarPosition:p,renderTabBar:function(){return r.createElement(Ke,De({},Object(oe.a)(C,["className"]),{tabBarExtraContent:y}))},renderTabContent:function(){return r.createElement(te,{className:k,animated:m,animatedWithMargin:!0})},onChange:e.handleChange}),P.length>0?P:d)},e}return t=s,(n=[{key:"componentDidMount",value:function(){var e=o.findDOMNode(this);e&&!Ie.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(We.a,null,this.renderTabs)}}])&&qe(t.prototype,n),a&&qe(t,a),s}(r.Component);Ve.TabPane=J,Ve.defaultProps={hideAdd:!1,tabPosition:"top"}},n1GQ:function(e,t,n){(function(t){for(var r=n("bQgK"),a="undefined"==typeof window?t:window,o=["moz","webkit"],i="AnimationFrame",s=a["request"+i],c=a["cancel"+i]||a["cancelRequest"+i],l=0;!s&&l e.getLineMinColumn(t)?n-=s.D(e.getLineContent(t),n-1):t>1&&(t-=1,n=e.getLineMaxColumn(t)),new o.a(t,n)},e.left=function(t,n,i,o){var r=e.leftPosition(n,i,o);return new a(r.lineNumber,r.column,0)},e.moveLeft=function(t,n,i,o,r){var s,a;if(i.hasSelection()&&!o)s=i.selection.startLineNumber,a=i.selection.startColumn;else{var u=e.left(t,n,i.position.lineNumber,i.position.column-(r-1));s=u.lineNumber,a=u.column}return i.move(o,s,a,0)},e.rightPosition=function(e,t,n){return n c?(n=c,o=u?t.getLineMaxColumn(n):Math.min(t.getLineMaxColumn(n),o)):o=i.a.columnFromVisibleColumn2(e,t,n,l),r=l-i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize),new a(n,o,r)},e.moveDown=function(t,n,i,o,r){var s,a;i.hasSelection()&&!o?(s=i.selection.endLineNumber,a=i.selection.endColumn):(s=i.position.lineNumber,a=i.position.column);var u=e.down(t,n,s,a,i.leftoverVisibleColumns,r,!0);return i.move(o,u.lineNumber,u.column,u.leftoverVisibleColumns)},e.translateDown=function(t,n,s){var a=s.selection,u=e.down(t,n,a.selectionStartLineNumber,a.selectionStartColumn,s.selectionStartLeftoverVisibleColumns,1,!1),l=e.down(t,n,a.positionLineNumber,a.positionColumn,s.leftoverVisibleColumns,1,!1);return new i.f(new r.a(u.lineNumber,u.column,u.lineNumber,u.column),u.leftoverVisibleColumns,new o.a(l.lineNumber,l.column),l.leftoverVisibleColumns)},e.up=function(e,t,n,o,r,s,u){var l=i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize)+r;return(n-=s)<1?(n=1,o=u?t.getLineMinColumn(n):Math.min(t.getLineMaxColumn(n),o)):o=i.a.columnFromVisibleColumn2(e,t,n,l),r=l-i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize),new a(n,o,r)},e.moveUp=function(t,n,i,o,r){var s,a;i.hasSelection()&&!o?(s=i.selection.startLineNumber,a=i.selection.startColumn):(s=i.position.lineNumber,a=i.position.column);var u=e.up(t,n,s,a,i.leftoverVisibleColumns,r,!0);return i.move(o,u.lineNumber,u.column,u.leftoverVisibleColumns)},e.translateUp=function(t,n,s){var a=s.selection,u=e.up(t,n,a.selectionStartLineNumber,a.selectionStartColumn,s.selectionStartLeftoverVisibleColumns,1,!1),l=e.up(t,n,a.positionLineNumber,a.positionColumn,s.leftoverVisibleColumns,1,!1);return new i.f(new r.a(u.lineNumber,u.column,u.lineNumber,u.column),u.leftoverVisibleColumns,new o.a(l.lineNumber,l.column),l.leftoverVisibleColumns)},e.moveToBeginningOfLine=function(e,t,n,i){var o,r=n.position.lineNumber,s=t.getLineMinColumn(r),a=t.getLineFirstNonWhitespaceColumn(r)||s;return o=n.position.column===a?s:a,n.move(i,r,o,0)},e.moveToEndOfLine=function(e,t,n,i){var o=n.position.lineNumber,r=t.getLineMaxColumn(o);return n.move(i,o,r,0)},e.moveToBeginningOfBuffer=function(e,t,n,i){return n.move(i,1,1,0)},e.moveToEndOfBuffer=function(e,t,n,i){var o=t.getLineCount(),r=t.getLineMaxColumn(o);return n.move(i,o,r,0)},e}()},"+K+b":function(e,t,n){var i=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}},"+Qka":function(e,t,n){var i=n("fmRc"),o=n("t2Dn"),r=n("cq/+"),s=n("T1AV"),a=n("GoyQ"),u=n("mTTR"),l=n("itsj");e.exports=function e(t,n,c,d,h){t!==n&&r(n,(function(r,u){if(h||(h=new i),a(r))s(t,n,u,c,e,d,h);else{var f=d?d(l(t,u),r,u+"",t,n,h):void 0;void 0===f&&(f=r),o(t,u,f)}}),u)}},"+a1H":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars"],mimetypes:["text/x-handlebars-template"],loader:function(){return n.e(149).then(n.bind(null,"O3xE"))}})},"+hIS":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i="undefined"==typeof monaco?self.monaco:monaco,o={},r={},s=function(){function e(e){var t=this;this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((function(e,n){t._lazyLoadPromiseResolve=e,t._lazyLoadPromiseReject=n}))}return e.getOrCreate=function(t){return r[t]||(r[t]=new e(t)),r[t]},e.prototype.whenLoaded=function(){return this._lazyLoadPromise},e.prototype.load=function(){var e=this;return this._loadingTriggered||(this._loadingTriggered=!0,o[this._languageId].loader().then((function(t){return e._lazyLoadPromiseResolve(t)}),(function(t){return e._lazyLoadPromiseReject(t)}))),this._lazyLoadPromise},e}();function a(e){var t=e.id;o[t]=e,i.languages.register(e);var n=s.getOrCreate(t);i.languages.setMonarchTokensProvider(t,n.whenLoaded().then((function(e){return e.language}))),i.languages.onLanguage(t,(function(){n.load().then((function(e){i.languages.setLanguageConfiguration(t,e.conf)}))}))}},"+hnl":function(e,t,n){},"+iFO":function(e,t,n){var i=n("dTAl"),o=n("LcsW"),r=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||r(e)?{}:i(o(e))}},"+kn0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t =s)return e;switch(e){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(e){return"[Circular]"}break;default:return e}})),u=t[i];i n?n:e},t.float=function(e,t){if("number"==typeof e)return e;if(void 0===e)return t;var n=parseFloat(e);return isNaN(n)?t:n},t.prototype.validate=function(e){return this.validationFn(t.float(e,this.defaultValue))},t}(p),y=function(e){function t(t,n,i,o){void 0===o&&(o=void 0);return void 0!==o&&(o.type="string",o.default=i),e.call(this,t,n,i,o)||this}return a(t,e),t.string=function(e,t){return"string"!=typeof e?t:e},t.prototype.validate=function(e){return t.string(e,this.defaultValue)},t}(p),_=function(e){function t(t,n,i,o,r){void 0===r&&(r=void 0);var s=this;return void 0!==r&&(r.type="string",r.enum=o,r.default=i),(s=e.call(this,t,n,i,r)||this)._allowedValues=o,s}return a(t,e),t.stringSet=function(e,t,n){return"string"!=typeof e||-1===n.indexOf(e)?t:e},t.prototype.validate=function(e){return t.stringSet(e,this.defaultValue,this._allowedValues)},t}(p),b=function(e){function t(t,n,i,o,r,s,a){void 0===a&&(a=void 0);var u=this;return void 0!==a&&(a.type="string",a.enum=r,a.default=o),(u=e.call(this,t,n,i,a)||this)._allowedValues=r,u._convert=s,u}return a(t,e),t.prototype.validate=function(e){return"string"!=typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)},t}(h);var C,w=function(e){function t(){return e.call(this,2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[o.a("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),o.a("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),o.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:o.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")})||this}return a(t,e),t.prototype.validate=function(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue},t.prototype.compute=function(e,t,n){return 0===n?e.accessibilitySupport:n},t}(h),S=function(e){function t(){var t={insertSpace:!0};return e.call(this,13,"comments",t,{"editor.comments.insertSpace":{type:"boolean",default:t.insertSpace,description:o.a("comments.insertSpace","Controls whether a space character is inserted when commenting.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{insertSpace:g.boolean(t.insertSpace,this.defaultValue.insertSpace)}},t}(h);!function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(C||(C={}));var O=function(e){function t(){return e.call(this,104,[55,26])||this}return a(t,e),t.prototype.compute=function(e,t,n){var i="monaco-editor";return t.get(26)&&(i+=" "+t.get(26)),e.extraEditorClassName&&(i+=" "+e.extraEditorClassName),"default"===t.get(55)?i+=" mouse-default":"copy"===t.get(55)&&(i+=" mouse-copy"),t.get(85)&&(i+=" showUnused"),i},t}(f),x=function(e){function t(){return e.call(this,25,"emptySelectionClipboard",!0,{description:o.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})||this}return a(t,e),t.prototype.compute=function(e,t,n){return n&&e.emptySelectionClipboard},t}(g),N=function(e){function t(){var t={seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0};return e.call(this,28,"find",t,{"editor.find.seedSearchStringFromSelection":{type:"boolean",default:t.seedSearchStringFromSelection,description:o.a("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:t.autoFindInSelection,enumDescriptions:[o.a("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)"),o.a("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically"),o.a("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:o.a("find.autoFindInSelection","Controls whether the find operation is carried out on selected text or the entire file in the editor.")},"editor.find.globalFindClipboard":{type:"boolean",default:t.globalFindClipboard,description:o.a("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:r.e},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:t.addExtraSpaceOnTop,description:o.a("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{seedSearchStringFromSelection:g.boolean(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:"boolean"==typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":_.stringSet(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:g.boolean(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:g.boolean(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop)}},t}(h),L=function(e){function t(){return e.call(this,35,"fontLigatures",t.OFF,{anyOf:[{type:"boolean",description:o.a("fontLigatures","Enables/Disables font ligatures.")},{type:"string",description:o.a("fontFeatureSettings","Explicit font-feature-settings.")}],description:o.a("fontLigaturesGeneral","Configures font ligatures."),default:!1})||this}return a(t,e),t.prototype.validate=function(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e?t.OFF:"true"===e?t.ON:e:Boolean(e)?t.ON:t.OFF},t.OFF='"liga" off, "calt" off',t.ON='"liga" on, "calt" on',t}(h),E=function(e){function t(){return e.call(this,34)||this}return a(t,e),t.prototype.compute=function(e,t,n){return e.fontInfo},t}(f),D=function(e){function t(){return e.call(this,36,"fontSize",G.fontSize,{type:"number",minimum:6,maximum:100,default:G.fontSize,description:o.a("fontSize","Controls the font size in pixels.")})||this}return a(t,e),t.prototype.validate=function(e){var t=v.float(e,this.defaultValue);return 0===t?G.fontSize:v.clamp(t,6,100)},t.prototype.compute=function(e,t,n){return e.fontInfo.fontSize},t}(p),k=function(e){function t(){var t={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},n={type:"string",enum:["peek","gotoAndPeek","goto"],default:t.multiple,enumDescriptions:[o.a("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),o.a("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),o.a("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]};return e.call(this,41,"gotoLocation",t,{"editor.gotoLocation.multiple":{deprecationMessage:o.a("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":u({description:o.a("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleTypeDefinitions":u({description:o.a("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleDeclarations":u({description:o.a("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleImplementations":u({description:o.a("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleReferences":u({description:o.a("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},n),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:t.alternativeDefinitionCommand,description:o.a("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:t.alternativeTypeDefinitionCommand,description:o.a("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:t.alternativeDeclarationCommand,description:o.a("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:t.alternativeImplementationCommand,description:o.a("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:t.alternativeReferenceCommand,description:o.a("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})||this}return a(t,e),t.prototype.validate=function(e){var t,n,i,o,r;if("object"!=typeof e)return this.defaultValue;var s=e;return{multiple:_.stringSet(s.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=s.multipleDefinitions)&&void 0!==t?t:_.stringSet(s.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(n=s.multipleTypeDefinitions)&&void 0!==n?n:_.stringSet(s.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(i=s.multipleDeclarations)&&void 0!==i?i:_.stringSet(s.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(o=s.multipleImplementations)&&void 0!==o?o:_.stringSet(s.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(r=s.multipleReferences)&&void 0!==r?r:_.stringSet(s.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:y.string(s.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:y.string(s.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:y.string(s.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:y.string(s.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:y.string(s.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}},t}(h),M=function(e){function t(){var t={enabled:!0,delay:300,sticky:!0};return e.call(this,44,"hover",t,{"editor.hover.enabled":{type:"boolean",default:t.enabled,description:o.a("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:t.delay,description:o.a("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:t.sticky,description:o.a("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:g.boolean(t.enabled,this.defaultValue.enabled),delay:m.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:g.boolean(t.sticky,this.defaultValue.sticky)}},t}(h),I=function(e){function t(){return e.call(this,107,[40,48,30,54,78,50])||this}return a(t,e),t.prototype.compute=function(e,n,i){return t.computeLayout(n,{outerWidth:e.outerWidth,outerHeight:e.outerHeight,lineHeight:e.fontInfo.lineHeight,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})},t.computeLayout=function(e,t){var n,i=0|t.outerWidth,o=0|t.outerHeight,r=0|t.lineHeight,s=0|t.lineNumbersDigitCount,a=t.typicalHalfwidthCharacterWidth,u=t.maxDigitWidth,c=t.pixelRatio,d=e.get(40),h=0!==e.get(50).renderType,f=0|e.get(51),p=e.get(54),g=p.enabled,v=p.side,y=p.renderCharacters,_=c>=2?Math.round(2*p.scale):p.scale,b=0|p.maxColumn,C=e.get(78),w=0|C.verticalScrollbarSize,S=C.verticalHasArrows,O=0|C.arrowSize,x=0|C.horizontalScrollbarSize,N=e.get(48),L=e.get(30);if("string"==typeof N&&/^\d+(\.\d+)?ch$/.test(N)){var E=parseFloat(N.substr(0,N.length-2));n=m.clampedInt(E*a,0,0,1e3)}else n=m.clampedInt(N,0,0,1e3);L&&(n+=16);var D=0;if(h){var k=Math.max(s,f);D=Math.round(k*u)}var M=0;d&&(M=r);var I,T,P,R,A=0,F=A+M,j=F+D,V=j+n,W=i-M-D-n;if(g){var B=_/c;I=y?1:2,(P=Math.max(0,Math.floor((W-w-2)*B/(a+B)))+l)/B>b&&(P=Math.floor(b*B)),R=W-P,"left"===v?(T=0,A+=P,F+=P,j+=P,V+=P):T=i-P-w}else T=0,P=0,I=0,R=W;var H=S?O:0;return{width:i,height:o,glyphMarginLeft:A,glyphMarginWidth:M,lineNumbersLeft:F,lineNumbersWidth:D,decorationsLeft:j,decorationsWidth:n,contentLeft:V,contentWidth:R,renderMinimap:I,minimapLeft:T,minimapWidth:P,viewportColumn:Math.max(1,Math.floor((R-w-2)/a)),verticalScrollbarWidth:w,horizontalScrollbarHeight:x,overviewRuler:{top:H,width:w,height:o-2*H,right:0}}},t}(f),T=function(e){function t(){var t={enabled:!0};return e.call(this,47,"lightbulb",t,{"editor.lightbulb.enabled":{type:"boolean",default:t.enabled,description:o.a("codeActions","Enables the code action lightbulb in the editor.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:g.boolean(t.enabled,this.defaultValue.enabled)}},t}(h),P=function(e){function t(){return e.call(this,49,"lineHeight",G.lineHeight,0,150,{description:o.a("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})||this}return a(t,e),t.prototype.compute=function(e,t,n){return e.fontInfo.lineHeight},t}(m),R=function(e){function t(){var t={enabled:!0,side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};return e.call(this,54,"minimap",t,{"editor.minimap.enabled":{type:"boolean",default:t.enabled,description:o.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:t.side,description:o.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:t.showSlider,description:o.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:t.scale,minimum:1,maximum:3,description:o.a("minimap.scale","Scale of content drawn in the minimap.")},"editor.minimap.renderCharacters":{type:"boolean",default:t.renderCharacters,description:o.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:t.maxColumn,description:o.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:g.boolean(t.enabled,this.defaultValue.enabled),side:_.stringSet(t.side,this.defaultValue.side,["right","left"]),showSlider:_.stringSet(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:g.boolean(t.renderCharacters,this.defaultValue.renderCharacters),scale:m.clampedInt(t.scale,1,1,3),maxColumn:m.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}},t}(h);var A=function(e){function t(){var t={enabled:!0,cycle:!1};return e.call(this,64,"parameterHints",t,{"editor.parameterHints.enabled":{type:"boolean",default:t.enabled,description:o.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:t.cycle,description:o.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:g.boolean(t.enabled,this.defaultValue.enabled),cycle:g.boolean(t.cycle,this.defaultValue.cycle)}},t}(h),F=function(e){function t(){return e.call(this,105)||this}return a(t,e),t.prototype.compute=function(e,t,n){return e.pixelRatio},t}(f),j=function(e){function t(){var t=this,n={other:!0,comments:!1,strings:!1};return(t=e.call(this,66,"quickSuggestions",n,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:n.strings,description:o.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:n.comments,description:o.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:n.other,description:o.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:n,description:o.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")})||this).defaultValue=n,t}return a(t,e),t.prototype.validate=function(e){if("boolean"==typeof e)return e;if("object"==typeof e){var t=e,n={other:g.boolean(t.other,this.defaultValue.other),comments:g.boolean(t.comments,this.defaultValue.comments),strings:g.boolean(t.strings,this.defaultValue.strings)};return!!(n.other&&n.comments&&n.strings)||!!(n.other||n.comments||n.strings)&&n}return this.defaultValue},t}(h),V=function(e){function t(){return e.call(this,50,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[o.a("lineNumbers.off","Line numbers are not rendered."),o.a("lineNumbers.on","Line numbers are rendered as absolute number."),o.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),o.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:o.a("lineNumbers","Controls the display of line numbers.")})||this}return a(t,e),t.prototype.validate=function(e){var t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return void 0!==e&&("function"==typeof e?(t=4,n=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:n}},t}(h);function W(e){var t=e.get(73);return"editable"===t?e.get(68):"on"!==t}var B=function(e){function t(){var t=[];return e.call(this,77,"rulers",t,{type:"array",items:{type:"number"},default:t,description:o.a("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})||this}return a(t,e),t.prototype.validate=function(e){if(Array.isArray(e)){for(var t=[],n=0,i=e;nconsole.log` because `log` has been completed recently."),o.a("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:o.a("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:X(new _(94,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[o.a("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),o.a("tabCompletion.off","Disable tab completions."),o.a("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:o.a("tabCompletion","Enables tab completions.")})),useTabStops:X(new g(95,"useTabStops",!0,{description:o.a("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:X(new y(96,"wordSeparators",s.b,{description:o.a("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:X(new _(97,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[o.a("wordWrap.off","Lines will never wrap."),o.a("wordWrap.on","Lines will wrap at the viewport width."),o.a({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),o.a({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:o.a({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:X(new y(98,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:X(new y(99,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:X(new m(100,"wordWrapColumn",80,1,1073741824,{markdownDescription:o.a({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapMinified:X(new g(101,"wordWrapMinified",!0)),wrappingIndent:X(new b(102,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],(function(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}),{enumDescriptions:[o.a("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),o.a("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),o.a("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),o.a("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:o.a("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:X(new _(103,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[o.a("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),o.a("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:o.a("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:X(new O),pixelRatio:X(new F),tabFocusMode:X(new K),layoutInfo:X(new I),wrappingInfo:X(new q)}},"/cAr":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return n.e(156).then(n.bind(null,"8m5U"))}})},"/cxE":function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return r})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return l}));var i=new(function(){function e(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((function(){if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e}),0)}}return e.prototype.emit=function(e){this.listeners.forEach((function(t){t(e)}))},e.prototype.onUnexpectedError=function(e){this.unexpectedErrorHandler(e),this.emit(e)},e.prototype.onUnexpectedExternalError=function(e){this.unexpectedErrorHandler(e)},e}());function o(e){s(e)||i.onUnexpectedError(e)}function r(e){return e instanceof Error?{$isError:!0,name:e.name,message:e.message,stack:e.stacktrace||e.stack}:e}function s(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function a(){var e=new Error("Canceled");return e.name=e.message,e}function u(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function l(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},"/kV6":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return g}));var i,o=n("/cxE"),r=function(){function e(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return e.prototype.define=function(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e},e.prototype.keyCodeToStr=function(e){return this._keyCodeToStr[e]},e.prototype.strToKeyCode=function(e){return this._strToKeyCode[e.toLowerCase()]||0},e}(),s=new r,a=new r,u=new r;function l(e,t){return(e|(65535&t)<<16>>>0)>>>0}function c(e,t){if(0===e)return null;var n=(65535&e)>>>0,i=(4294901760&e)>>>16;return new f(0!==i?[d(n,t),d(i,t)]:[d(n,t)])}function d(e,t){var n=!!(2048&e),i=!!(256&e);return new h(2===t?i:n,!!(1024&e),!!(512&e),2===t?n:i,255&e)}!function(){function e(e,t,n,i){void 0===n&&(n=t),void 0===i&&(i=n),s.define(e,t),a.define(e,n),u.define(e,i)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return s.keyCodeToStr(e)},e.fromString=function(e){return s.strToKeyCode(e)},e.toUserSettingsUS=function(e){return a.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return u.keyCodeToStr(e)},e.fromUserSettings=function(e){return a.strToKeyCode(e)||u.strToKeyCode(e)}}(i||(i={}));var h=function(){function e(e,t,n,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyCode=o}return e.prototype.equals=function(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode},e.prototype.isModifierKey=function(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode},e.prototype.toChord=function(){return new f([this])},e.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode},e}(),f=function(){function e(e){if(0===e.length)throw Object(o.b)("parts");this.parts=e}return e.prototype.equals=function(e){if(null===e)return!1;if(this.parts.length!==e.parts.length)return!1;for(var t=0;t /?";var o=function(e){void 0===e&&(e="");for(var t="(-?\\d*\\.\\d\\w*)|([^",n=0,o=i;n =0||(t+="\\"+r)}return t+="\\s]+)",new RegExp(t,"g")}();function r(e){var t=o;if(e&&e instanceof RegExp)if(e.global)t=e;else{var n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}function s(e,t,n,i){t.lastIndex=0;var o=t.exec(n);if(!o)return null;var r=o[0].indexOf(" ")>=0?function(e,t,n,i){var o,r=e-1-i;for(t.lastIndex=0;o=t.exec(n);){var s=o.index||0;if(s>r)return null;if(t.lastIndex>=r)return{word:o[0],startColumn:i+1+s,endColumn:i+1+t.lastIndex}}return null}(e,t,n,i):function(e,t,n,i){var o,r=e-1-i,s=n.lastIndexOf(" ",r-1)+1;for(t.lastIndex=s;o=t.exec(n);){var a=o.index||0;if(a<=r&&t.lastIndex>=r)return{word:o[0],startColumn:i+1+a,endColumn:i+1+t.lastIndex}}return null}(e,t,n,i);return t.lastIndex=0,r}},"0hpf":function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n o,d=i>r,h=i r)continue;if(_i)continue;if(y 1&&o--,e.columnSelect(t,n,i.fromViewLineNumber,i.fromViewVisualColumn,i.toViewLineNumber,o)},e.columnSelectRight=function(e,t,n){for(var i=0,o=Math.min(n.fromViewLineNumber,n.toViewLineNumber),r=Math.max(n.fromViewLineNumber,n.toViewLineNumber),s=o;s<=r;s++){var a=t.getLineMaxColumn(s),c=u.a.visibleColumnFromColumn2(e,t,new l.a(s,a));i=Math.max(i,c)}var d=n.toViewVisualColumn;return d=0;o--){var r=e.charCodeAt(o),s=t.get(r);if(0===s){if(2===i)return this._createWord(e,i,s,o+1,this._findEndOfWord(e,t,i,o+1));i=1}else if(2===s){if(1===i)return this._createWord(e,i,s,o+1,this._findEndOfWord(e,t,i,o+1));i=2}else if(1===s&&0!==i)return this._createWord(e,i,s,o+1,this._findEndOfWord(e,t,i,o+1))}return 0!==i?this._createWord(e,i,1,0,this._findEndOfWord(e,t,i,0)):null},e._findEndOfWord=function(e,t,n,i){for(var o=e.length,r=i;r =0;o--){var r=e.charCodeAt(o),s=t.get(r);if(1===s)return o+1;if(1===n&&2===s)return o+1;if(2===n&&0===s)return o+1}return 0},e.moveWordLeft=function(t,n,i,o){var r=i.lineNumber,s=i.column,a=!1;1===s&&r>1&&(a=!0,r-=1,s=n.getLineMaxColumn(r));var u=e._findPreviousWordOnLine(t,n,new l.a(r,s));if(0===o){if(u&&!a)if(n.getLineLastNonWhitespaceColumn(r) 1?new l.a(n-1,e.getLineMaxColumn(n-1)):t;for(var o=e.getLineContent(n),r=t.column-1;r>1;r--){var s=o.charCodeAt(r-2),a=o.charCodeAt(r-1);if(95!==s&&95===a)return new l.a(n,r);if(p.z(s)&&p.A(a))return new l.a(n,r);if(p.A(s)&&p.A(a)&&r+1=u.start+1&&(u=e._findNextWordOnLine(t,n,new l.a(r,u.end+1))),s=u?u.start+1:n.getLineMaxColumn(r);return new l.a(r,s)},e._moveWordPartRight=function(e,t){var n=t.lineNumber,i=e.getLineMaxColumn(n);if(t.column===i)return n1?u=1:(a--,u=n.getLineMaxColumn(a)):(h&&u<=h.end+1&&(h=e._findPreviousWordOnLine(t,n,new l.a(a,h.start+1))),h?u=h.end+1:u>1?u=1:(a--,u=n.getLineMaxColumn(a))),new c.a(a,u,s.lineNumber,s.column)},e._deleteWordPartLeft=function(t,n){if(!n.isEmpty())return n;var i=n.getPosition(),o=e._moveWordPartLeft(t,i);return new c.a(i.lineNumber,i.column,o.lineNumber,o.column)},e._findFirstNonWhitespaceChar=function(e,t){for(var n=e.length,i=t;i =p.start+1&&(p=e._findNextWordOnLine(t,n,new l.a(a,p.end+1))),p?u=p.start+1:u a&&(d=a,h=e.model.getLineMaxColumn(d)),u.d.fromModelState(new u.f(new c.a(r.lineNumber,1,d,h),0,new l.a(d,h),0))}var f=t.modelState.selectionStart.getStartPosition().lineNumber;if(r.lineNumber f){a=e.viewModel.getLineCount();var p=s.lineNumber+1,g=1;return p>a&&(p=a,g=e.viewModel.getLineMaxColumn(p)),u.d.fromViewState(t.viewState.move(t.modelState.hasSelection(),p,g,0))}var m=t.modelState.selectionStart.getEndPosition();return u.d.fromModelState(t.modelState.move(t.modelState.hasSelection(),m.lineNumber,m.column,0))},e.word=function(e,t,n,i){var o=e.model.validatePosition(i);return u.d.fromModelState(v.word(e.config,e.model,t.modelState,n,o))},e.cancelSelection=function(e,t){if(!t.modelState.hasSelection())return new u.d(t.modelState,t.viewState);var n=t.viewState.position.lineNumber,i=t.viewState.position.column;return u.d.fromViewState(new u.f(new c.a(n,i,n,i),0,new l.a(n,i),0))},e.moveTo=function(e,t,n,i,o){var r=e.model.validatePosition(i),s=o?e.validateViewPosition(new l.a(o.lineNumber,o.column),r):e.convertModelPositionToViewPosition(r);return u.d.fromViewState(t.viewState.move(n,s.lineNumber,s.column,0))},e.move=function(e,t,n){var i=n.select,o=n.value;switch(n.direction){case 0:return 4===n.unit?this._moveHalfLineLeft(e,t,i):this._moveLeft(e,t,i,o);case 1:return 4===n.unit?this._moveHalfLineRight(e,t,i):this._moveRight(e,t,i,o);case 2:return 2===n.unit?this._moveUpByViewLines(e,t,i,o):this._moveUpByModelLines(e,t,i,o);case 3:return 2===n.unit?this._moveDownByViewLines(e,t,i,o):this._moveDownByModelLines(e,t,i,o);case 4:return this._moveToViewMinColumn(e,t,i);case 5:return this._moveToViewFirstNonWhitespaceColumn(e,t,i);case 6:return this._moveToViewCenterColumn(e,t,i);case 7:return this._moveToViewMaxColumn(e,t,i);case 8:return this._moveToViewLastNonWhitespaceColumn(e,t,i);case 9:var r=t[0],s=e.getCompletelyVisibleModelRange(),a=this._firstLineNumberInRange(e.model,s,o),u=e.model.getLineFirstNonWhitespaceColumn(a);return[this._moveToModelPosition(e,r,i,a,u)];case 11:r=t[0],s=e.getCompletelyVisibleModelRange(),a=this._lastLineNumberInRange(e.model,s,o),u=e.model.getLineFirstNonWhitespaceColumn(a);return[this._moveToModelPosition(e,r,i,a,u)];case 10:r=t[0],s=e.getCompletelyVisibleModelRange(),a=Math.round((s.startLineNumber+s.endLineNumber)/2),u=e.model.getLineFirstNonWhitespaceColumn(a);return[this._moveToModelPosition(e,r,i,a,u)];case 12:for(var l=e.getCompletelyVisibleViewRange(),c=[],d=0,h=t.length;d n.endLineNumber-1&&(o=n.endLineNumber-1),o 1)for(var r=n.modelState?n.modelState.position:null,s=n.viewState?n.viewState.position:null,a=0,u=o.length;ao&&(i=o);var r=new c.a(i,1,i,e.context.model.getLineMaxColumn(i)),s=0;if(n.at)switch(n.at){case O.RawAtArgument.Top:s=3;break;case O.RawAtArgument.Center:s=1;break;case O.RawAtArgument.Bottom:s=4}var a=e.context.convertModelRangeToViewRange(r);e.revealRange(t.source,!1,a,s,0)},t}(R))),e.SelectAll=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"selectAll",precondition:void 0})||this}return P(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[C.selectAll(e.context,e.getPrimaryCursor())])},t}(R))),e.SetSelection=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"setSelection",precondition:void 0})||this}return P(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[u.d.fromModelSelection(t.selection)])},t}(R)))}(N||(N={})),E=L||(L={}),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return P(t,e),t.prototype.runEditorCommand=function(e,t,n){var i=t._getCursors();i&&this.runCoreEditingCommand(t,i,n||{})},t}(s.c),E.CoreEditingCommand=D,E.LineBreakInsert=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"lineBreakInsert",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:0,mac:{primary:301}}})||this}return P(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,k.a.lineBreakInsert(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))))},t}(D))),E.Outdent=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"outdent",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:T.a.and(I.a.editorTextFocus,I.a.tabDoesNotMoveFocus),primary:1026}})||this}return P(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,k.a.outdent(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection})))),e.pushUndoStop()},t}(D))),E.Tab=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"tab",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:T.a.and(I.a.editorTextFocus,I.a.tabDoesNotMoveFocus),primary:2}})||this}return P(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,k.a.tab(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection})))),e.pushUndoStop()},t}(D))),E.DeleteLeft=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"deleteLeft",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})||this}return P(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){var i=h.a.deleteLeft(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))),o=i[0],r=i[1];o&&e.pushUndoStop(),e.executeCommands(this.id,r),t.setPrevEditOperationType(2)},t}(D))),E.DeleteRight=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"deleteRight",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})||this}return P(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){var i=h.a.deleteRight(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))),o=i[0],r=i[1];o&&e.pushUndoStop(),e.executeCommands(this.id,r),t.setPrevEditOperationType(3)},t}(D)));var F=function(e){function t(t){var n=e.call(this,t)||this;return n._editorHandler=t.editorHandler,n._inputHandler=t.inputHandler,n}return P(t,e),t.prototype.runCommand=function(e,t){var n=e.get(a.a).getFocusedCodeEditor();if(n&&n.hasTextFocus())return this._runEditorHandler(e,n,t);var i=document.activeElement;if(!(i&&["input","textarea"].indexOf(i.tagName.toLowerCase())>=0)){var o=e.get(a.a).getActiveCodeEditor();return o?(o.focus(),this._runEditorHandler(e,o,t)):void 0}document.execCommand(this._inputHandler)},t.prototype._runEditorHandler=function(e,t,n){var i=this._editorHandler;"string"==typeof i?t.trigger("keyboard",i,n):((n=n||{}).source="keyboard",i.runEditorCommand(e,t,n))},t}(s.a),j=function(e){function t(t,n,i){var o=e.call(this,{id:t,precondition:void 0,description:i})||this;return o._handlerId=n,o}return P(t,e),t.prototype.runCommand=function(e,t){var n=e.get(a.a).getFocusedCodeEditor();n&&n.trigger("keyboard",this._handlerId,t)},t}(s.a);function V(e,t){A(new j("default:"+e,e)),A(new j(e,e,t))}A(new F({editorHandler:N.SelectAll,inputHandler:"selectAll",id:"editor.action.selectAll",precondition:I.a.textInputFocus,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:{menuId:25,group:"1_basic",title:o.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1}})),A(new F({editorHandler:M.b.Undo,inputHandler:"undo",id:M.b.Undo,precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:2104},menuOpts:{menuId:17,group:"1_do",title:o.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1}})),A(new j("default:"+M.b.Undo,M.b.Undo)),A(new F({editorHandler:M.b.Redo,inputHandler:"redo",id:M.b.Redo,precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:{menuId:17,group:"1_do",title:o.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2}})),A(new j("default:"+M.b.Redo,M.b.Redo)),V(M.b.Type,{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),V(M.b.ReplacePreviousChar),V(M.b.CompositionStart),V(M.b.CompositionEnd),V(M.b.Paste),V(M.b.Cut)},"23p7":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return n.e(138).then(n.bind(null,"aA7r"))}})},"24hK":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("JYp7"),o=function(){function e(t){this.element=t,this.next=e.Undefined,this.prev=e.Undefined}return e.Undefined=new e(void 0),e}(),r=function(){function e(){this._first=o.Undefined,this._last=o.Undefined,this._size=0}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return this._first===o.Undefined},e.prototype.clear=function(){this._first=o.Undefined,this._last=o.Undefined,this._size=0},e.prototype.unshift=function(e){return this._insert(e,!1)},e.prototype.push=function(e){return this._insert(e,!0)},e.prototype._insert=function(e,t){var n=this,i=new o(e);if(this._first===o.Undefined)this._first=i,this._last=i;else if(t){var r=this._last;this._last=i,i.prev=r,r.next=i}else{var s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;var a=!1;return function(){a||(a=!0,n._remove(i))}},e.prototype.shift=function(){if(this._first!==o.Undefined){var e=this._first.element;return this._remove(this._first),e}},e.prototype.pop=function(){if(this._last!==o.Undefined){var e=this._last.element;return this._remove(this._last),e}},e.prototype._remove=function(e){if(e.prev!==o.Undefined&&e.next!==o.Undefined){var t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===o.Undefined&&e.next===o.Undefined?(this._first=o.Undefined,this._last=o.Undefined):e.next===o.Undefined?(this._last=this._last.prev,this._last.next=o.Undefined):e.prev===o.Undefined&&(this._first=this._first.next,this._first.prev=o.Undefined);this._size-=1},e.prototype.iterator=function(){var e,t=this._first;return{next:function(){return t===o.Undefined?i.b:(e?e.value=t.element:e={done:!1,value:t.element},t=t.next,e)}}},e.prototype.toArray=function(){for(var e=[],t=this._first;t!==o.Undefined;t=t.next)e.push(t.element);return e},e}()},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n 0&&z.filter((function(t){return t.name.indexOf(e.target.value)>-1})):z;Y(t)},style:{width:"220px"}}),l.default.createElement("ul",{className:"navUl"},l.default.createElement("li",{className:0===M?"navli active":"navli",onClick:function(){return Z(0)}},l.default.createElement("i",{className:"iconfont icon-fenzhi1 font-14 mr3"}),"分支列表"),b&&l.default.createElement("li",{className:1===M?"navli active":"navli",onClick:function(){return Z(1)}},l.default.createElement("i",{className:"iconfont icon-biaoqian3 font-14 mr3"}),"标签列表"))),l.default.createElement(o.default,{spinning:R},l.default.createElement("ul",{className:"OptionsUl",id:"ul-btn"},G&&G.length>0?G.map((function(e,t){return l.default.createElement("li",{key:t,onClick:function(){return t=e.name,void v(t);var t}},l.default.createElement("a",{className:"task-hide ulALink"},e.name))})):l.default.createElement("p",{className:"listTips"},"暂无",L,0===M?"分支":"标签","~"))));return l.default.createElement(i.default,{placement:"bottom",visible:V,content:X,onClick:function(){return W(!V)},overlayClassName:"branch-tagBox-list"},l.default.createElement("div",{className:"branch-tagBox"},l.default.createElement("span",{className:"color-grey-9 mr3 ml8"},0===M?"分支":"标签",":"),l.default.createElement("a",{className:"ant-dropdown-link"},S),l.default.createElement("i",{className:"showtag iconfont icon-xiajiantou font-14 color-grey-9 mr8"})))}},"3L66":function(e,t,n){var i=n("MMmD"),o=n("ExA7");e.exports=function(e){return o(e)&&i(e)}},"3Rsk":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("ic2d"),o=n("MI8n"),r={JSONContribution:"base.contributions.json"};var s=new(function(){function e(){this._onDidChangeSchema=new o.a,this.schemasById={}}return e.prototype.registerSchema=function(e,t){var n;this.schemasById[(n=e,n.length>0&&"#"===n.charAt(n.length-1)?n.substring(0,n.length-1):n)]=t,this._onDidChangeSchema.fire(e)},e.prototype.notifySchemaChanged=function(e){this._onDidChangeSchema.fire(e)},e}());i.a.add(r.JSONContribution,s)},"4bUh":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("twdY"),o=function(){function e(e,t){this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t}return e.prototype.equals=function(t){return t instanceof e&&this.slicedEquals(t,0,this._tokensCount)},e.prototype.slicedEquals=function(e,t,n){if(this._text!==e._text)return!1;if(this._tokensCount!==e._tokensCount)return!1;for(var i=t<<1,o=i+(n<<1),r=i;r 0?this._tokens[e-1<<1]:0},e.prototype.getMetadata=function(e){return this._tokens[1+(e<<1)]},e.prototype.getLanguageId=function(e){var t=this._tokens[1+(e<<1)];return i.x.getLanguageId(t)},e.prototype.getStandardTokenType=function(e){var t=this._tokens[1+(e<<1)];return i.x.getTokenType(t)},e.prototype.getForeground=function(e){var t=this._tokens[1+(e<<1)];return i.x.getForeground(t)},e.prototype.getClassName=function(e){var t=this._tokens[1+(e<<1)];return i.x.getClassNameFromMetadata(t)},e.prototype.getInlineStyle=function(e,t){var n=this._tokens[1+(e<<1)];return i.x.getInlineStyleFromMetadata(n,t)},e.prototype.getEndOffset=function(e){return this._tokens[e<<1]},e.prototype.findTokenIndexAtOffset=function(t){return e.findIndexInTokensArray(this._tokens,t)},e.prototype.inflate=function(){return this},e.prototype.sliceAndInflate=function(e,t,n){return new r(this,e,t,n)},e.convertToEndOffset=function(e,t){for(var n=(e.length>>>1)-1,i=0;i >>1)-1;nt&&(i=o)}return n},e}(),r=function(){function e(e,t,n,i){this._source=e,this._startOffset=t,this._endOffset=n,this._deltaOffset=i,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(var o=this._firstTokenIndex,r=e.getCount();o =n)break;this._tokensCount++}}return e.prototype.equals=function(t){return t instanceof e&&(this._startOffset===t._startOffset&&this._endOffset===t._endOffset&&this._deltaOffset===t._deltaOffset&&this._source.slicedEquals(t._source,this._firstTokenIndex,this._tokensCount))},e.prototype.getCount=function(){return this._tokensCount},e.prototype.getForeground=function(e){return this._source.getForeground(this._firstTokenIndex+e)},e.prototype.getEndOffset=function(e){var t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset},e.prototype.getClassName=function(e){return this._source.getClassName(this._firstTokenIndex+e)},e.prototype.getInlineStyle=function(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)},e.prototype.findTokenIndexAtOffset=function(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex},e}()},"4oKn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=a(n("17x9")),r=a(n("q1tI")),s=n("JwdM");function a(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t 0))return r;o=r-1}}return-(i+1)}function a(e,t){return function e(t,n,i,o,r){if(o<=i)return;var s=i+(o-i)/2|0;if(e(t,n,i,s,r),e(t,n,s+1,o,r),n(t[s],t[s+1])<=0)return;!function(e,t,n,i,o,r){for(var s=n,a=i+1,u=n;u<=o;u++)r[u]=e[u];for(u=n;u<=o;u++)s>i?e[u]=r[a++]:a>o?e[u]=r[s++]:t(r[a],r[s])<0?e[u]=r[a++]:e[u]=r[s++]}(t,n,i,s,o,r)}(e,t,0,e.length-1,[]),e}function u(e){return e.filter((function(e){return!!e}))}function l(e){return!Array.isArray(e)||0===e.length}function c(e){return Array.isArray(e)&&e.length>0}function d(e,t){if(!t)return e.filter((function(t,n){return e.indexOf(t)===n}));var n=Object.create(null);return e.filter((function(e){var i=t(e);return!n[i]&&(n[i]=!0,!0)}))}function h(e){var t=new Set;return e.filter((function(e){return!t.has(e)&&(t.add(e),!0)}))}function f(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}function p(e,t){for(var n=0;n 0?e[0]:t}function v(e){var t;return(t=[]).concat.apply(t,e)}function y(e,t){var n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);var i=[];if(n<=t)for(var o=n;o t;o--)i.push(o);return i}function _(e,t,n){var i=e.slice(0,t),o=e.slice(t);return i.concat(n,o)}n.d(t,"p",(function(){return i})),n.d(t,"q",(function(){return o})),n.d(t,"f",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"n",(function(){return a})),n.d(t,"c",(function(){return u})),n.d(t,"l",(function(){return l})),n.d(t,"m",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"k",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"g",(function(){return g})),n.d(t,"i",(function(){return m})),n.d(t,"j",(function(){return v})),n.d(t,"o",(function(){return y})),n.d(t,"a",(function(){return _}))},"6Ogq":function(e,t,n){"use strict";var i,o;Object.defineProperty(t,"__esModule",{value:!0});var r={position:"absolute",top:"-9999px",width:"50px",height:"50px"};t.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE",t.measureScrollbar=function(e){var t=e.direction,n=void 0===t?"vertical":t,s=e.prefixCls;if("undefined"==typeof document||"undefined"==typeof window)return 0;var a="vertical"===n;if(a&&i)return i;if(!a&&o)return o;var u=document.createElement("div");Object.keys(r).forEach((function(e){u.style[e]=r[e]})),u.className="".concat(s,"-hide-scrollbar scroll-div-append-to-body"),a?u.style.overflowY="scroll":u.style.overflowX="scroll",document.body.appendChild(u);var l=0;return a?(l=u.offsetWidth-u.clientWidth,i=l):(l=u.offsetHeight-u.clientHeight,o=l),document.body.removeChild(u),l},t.debounce=function(e,t,n){var i;function o(){for(var o=arguments.length,r=new Array(o),s=0;s 0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"8HAY":function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c}));var i,o=n("pmY6"),r=n("MI8n"),s=(i=function(e,t){return(i=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])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},u=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1] 200)return t;if("object"==typeof t){switch(t.$mid){case 1:return B.a.revive(t);case 2:return new RegExp(t.source,t.flags)}for(var i in t)Object.hasOwnProperty.call(t,i)&&(t[i]=e(t[i],n+1))}return t}(t)}var J,$=n("tYmi"),ee=n("PTeM"),te=n("MrjW"),ne=n("N0LK"),ie=n("MNsG"),oe=function(){for(var e=0,t=0,n=arguments.length;t 1&&e.scheme===$.b.file?"//"+e.authority+n:ie.h&&47===n.charCodeAt(0)&&ee.b(n.charCodeAt(1))&&58===n.charCodeAt(2)?n.substr(1):n,ie.h&&(t=t.replace(/\//g,"\\")),t}!function(e){e.META_DATA_LABEL="label",e.META_DATA_DESCRIPTION="description",e.META_DATA_SIZE="size",e.META_DATA_MIME="mime",e.parseMetaData=function(t){var n=new Map;t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";")).split(";").forEach((function(e){var t=e.split(":"),i=t[0],o=t[1];i&&o&&n.set(i,o)}));var i=t.path.substring(0,t.path.indexOf(";"));return i&&n.set(e.META_DATA_MIME,i),n}}(J||(J={}));var se,ae=n("nnTU"),ue=n("Cg/j"),le=n("pmY6"),ce=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},de=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1] =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},me=function(e,t){return function(n,i){t(n,i,e)}},ve=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},ye=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1] =this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));var n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var i=n.range.getStartPosition();this._editor.setPosition(i),this._editor.revealPositionInCenter(i,t)}finally{this.ignoreSelectionChange=!1}}},t.prototype.canNavigate=function(){return this.ranges&&this.ranges.length>0},t.prototype.next=function(e){void 0===e&&(e=0),this._move(!0,e)},t.prototype.previous=function(e){void 0===e&&(e=0),this._move(!1,e)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.ranges=[],this.disposed=!0},t}(le.a),Ee=new(function(){function e(){this._zoomLevel=0,this._onDidChangeZoomLevel=new V.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}return e.prototype.getZoomLevel=function(){return this._zoomLevel},e.prototype.setZoomLevel=function(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))},e}()),De=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)}}(),ke=ie.e?1.5:1.35,Me=function(){function e(e){this.zoomLevel=e.zoomLevel,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}return e.createFromValidatedSettings=function(t,n,i){var o=t.get(33),r=t.get(37),s=t.get(36),a=t.get(35),u=t.get(49),l=t.get(46);return e._create(o,r,s,a,u,l,n,i)},e._create=function(t,n,i,o,r,s,a,u){0===r?r=Math.round(ke*i):r<8&&(r=8);var l=1+(u?0:.1*Ee.getZoomLevel());return new e({zoomLevel:a,fontFamily:t,fontWeight:n,fontSize:i*=l,fontFeatureSettings:o,lineHeight:r*=l,letterSpacing:s})},e.prototype.getId=function(){return this.zoomLevel+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.fontFeatureSettings+"-"+this.lineHeight+"-"+this.letterSpacing},e.prototype.getMassagedFontFamily=function(){return/[,"']/.test(this.fontFamily)?this.fontFamily:/[+ ]/.test(this.fontFamily)?'"'+this.fontFamily+'"':this.fontFamily},e}(),Ie=function(e){function t(t,n){var i=e.call(this,t)||this;return i.isTrusted=n,i.isMonospace=t.isMonospace,i.typicalHalfwidthCharacterWidth=t.typicalHalfwidthCharacterWidth,i.typicalFullwidthCharacterWidth=t.typicalFullwidthCharacterWidth,i.canUseHalfwidthRightwardsArrow=t.canUseHalfwidthRightwardsArrow,i.spaceWidth=t.spaceWidth,i.middotWidth=t.middotWidth,i.maxDigitWidth=t.maxDigitWidth,i}return De(t,e),t.prototype.equals=function(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.maxDigitWidth===e.maxDigitWidth},t}(Me),Te=n("iuje"),Pe=n("M1Kb"),Re=n("twdY"),Ae=n("i/Ef"),Fe=Object(ue.c)("editorWorkerService"),je=n("t49l"),Ve=n("X+cX"),We=n("/cxE"),Be=n("746U"),He=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)}}(),ze=!1;function Ue(e){ie.g&&(ze||(ze=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}var Ke=function(){function e(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return e.prototype.setWorkerId=function(e){this._workerId=e},e.prototype.sendMessage=function(e,t){var n=this,i=String(++this._lastSentReq);return new Promise((function(o,r){n._pendingReplies[i]={resolve:o,reject:r},n._send({vsWorker:n._workerId,req:i,method:e,args:t})}))},e.prototype.handleMessage=function(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))},e.prototype._handleMessage=function(e){var t=this;if(e.seq){var n=e;if(!this._pendingReplies[n.seq])return void console.warn("Got reply to unknown seq");var i=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){var o=n.err;return n.err.$isError&&((o=new Error).name=n.err.name,o.message=n.err.message,o.stack=n.err.stack),void i.reject(o)}i.resolve(n.res)}else{var r=e,s=r.req;this._handler.handleMessage(r.method,r.args).then((function(e){t._send({vsWorker:t._workerId,seq:s,res:e,err:void 0})}),(function(e){e.detail instanceof Error&&(e.detail=Object(We.f)(e.detail)),t._send({vsWorker:t._workerId,seq:s,res:void 0,err:Object(We.f)(e)})}))}},e.prototype._send=function(e){var t=[];if(e.req)for(var n=e,i=0;i 0||this.m_modifiedCount>0)&&this.m_changes.push(new Qe(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824},e.prototype.AddOriginalElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),rt=function(){function e(t,n,i){void 0===i&&(i=null),this.ContinueProcessingPredicate=i;var o=e._getElements(t),r=o[0],s=o[1],a=o[2],u=e._getElements(n),l=u[0],c=u[1],d=u[2];this._hasStrings=a&&d,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=c,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e._isStringArray=function(e){return e.length>0&&"string"==typeof e[0]},e._getElements=function(t){var n=t.getElements();if(e._isStringArray(n)){for(var i=new Int32Array(n.length),o=0,r=n.length;o =e&&i>=n&&this.ElementsAreEqual(t,i);)t--,i--;if(e>t||n>i){var r=void 0;return n<=i?(nt.Assert(e===t+1,"originalStart should only be one more than originalEnd"),r=[new Qe(e,0,n,i-n+1)]):e<=t?(nt.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[new Qe(e,t-e+1,n,0)]):(nt.Assert(e===t+1,"originalStart should only be one more than originalEnd"),nt.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[]),r}var s=[0],a=[0],u=this.ComputeRecursionPoint(e,t,n,i,s,a,o),l=s[0],c=a[0];if(null!==u)return u;if(!o[0]){var d=this.ComputeDiffRecursive(e,l,n,c,o),h=[];return h=o[0]?[new Qe(l+1,t-(l+1)+1,c+1,i-(c+1)+1)]:this.ComputeDiffRecursive(l+1,t,c+1,i,o),this.ConcatenateChanges(d,h)}return[new Qe(e,t-e+1,n,i-n+1)]},e.prototype.WALKTRACE=function(e,t,n,i,o,r,s,a,u,l,c,d,h,f,p,g,m,v){var y,_=null,b=new ot,C=t,w=n,S=h[0]-g[0]-i,O=-1073741824,x=this.m_forwardHistory.length-1;do{(D=S+e)===C||D =0&&(e=(u=this.m_forwardHistory[x])[0],C=1,w=u.length-1)}while(--x>=-1);if(y=b.getReverseChanges(),v[0]){var N=h[0]+1,L=g[0]+1;if(null!==y&&y.length>0){var E=y[y.length-1];N=Math.max(N,E.getOriginalEnd()),L=Math.max(L,E.getModifiedEnd())}_=[new Qe(N,d-N+1,L,p-L+1)]}else{b=new ot,C=r,w=s,S=h[0]-g[0]-a,O=1073741824,x=m?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var D;(D=S+o)===C||D =l[D+1]?(f=(c=l[D+1]-1)-S-a,c>O&&b.MarkNextChange(),O=c+1,b.AddOriginalElement(c+1,f+1),S=D+1-o):(f=(c=l[D-1])-S-a,c>O&&b.MarkNextChange(),O=c,b.AddModifiedElement(c+1,f+1),S=D-1-o),x>=0&&(o=(l=this.m_reverseHistory[x])[0],C=1,w=l.length-1)}while(--x>=-1);_=b.getChanges()}return this.ConcatenateChanges(y,_)},e.prototype.ComputeRecursionPoint=function(e,t,n,i,o,r,s){var a=0,u=0,l=0,c=0,d=0,h=0;e--,n--,o[0]=0,r[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var f=t-e+(i-n),p=f+1,g=new Int32Array(p),m=new Int32Array(p),v=i-n,y=t-e,_=e-n,b=t-i,C=(y-v)%2==0;g[v]=e,m[y]=t,s[0]=!1;for(var w=1;w<=f/2+1;w++){var S=0,O=0;l=this.ClipDiagonalBound(v-w,w,v,p),c=this.ClipDiagonalBound(v+w,w,v,p);for(var x=l;x<=c;x+=2){u=(a=x===l||x S+O&&(S=a,O=u),!C&&Math.abs(x-y)<=w-1&&a>=m[x])return o[0]=a,r[0]=u,N<=m[x]&&w<=1448?this.WALKTRACE(v,l,c,_,y,d,h,b,g,m,a,t,o,u,i,r,C,s):null}var L=(S-e+(O-n)-w)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(S,L))return s[0]=!0,o[0]=S,r[0]=O,L>0&&w<=1448?this.WALKTRACE(v,l,c,_,y,d,h,b,g,m,a,t,o,u,i,r,C,s):(e++,n++,[new Qe(e,t-e+1,n,i-n+1)]);d=this.ClipDiagonalBound(y-w,w,y,p),h=this.ClipDiagonalBound(y+w,w,y,p);for(x=d;x<=h;x+=2){u=(a=x===d||x =m[x+1]?m[x+1]-1:m[x-1])-(x-y)-b;for(N=a;a>e&&u>n&&this.ElementsAreEqual(a,u);)a--,u--;if(m[x]=a,C&&Math.abs(x-v)<=w&&a<=g[x])return o[0]=a,r[0]=u,N>=g[x]&&w<=1448?this.WALKTRACE(v,l,c,_,y,d,h,b,g,m,a,t,o,u,i,r,C,s):null}if(w<=1447){var E=new Int32Array(c-l+2);E[0]=v-l+1,it.Copy2(g,l,E,1,c-l+1),this.m_forwardHistory.push(E),(E=new Int32Array(h-d+2))[0]=y-d+1,it.Copy2(m,d,E,1,h-d+1),this.m_reverseHistory.push(E)}}return this.WALKTRACE(v,l,c,_,y,d,h,b,g,m,a,t,o,u,i,r,C,s)},e.prototype.PrettifyChanges=function(e){for(var t=0;t 0,s=n.modifiedLength>0;n.originalStart+n.originalLength=0;t--){n=e[t],i=0,o=0;if(t>0){var u=e[t-1];u.originalLength>0&&(i=u.originalStart+u.originalLength),u.modifiedLength>0&&(o=u.modifiedStart+u.modifiedLength)}r=n.originalLength>0,s=n.modifiedLength>0;for(var l=0,c=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength),d=1;;d++){var h=n.originalStart-d,f=n.modifiedStart-d;if(hc&&(c=p,l=d)}n.originalStart-=l,n.modifiedStart-=l}return e},e.prototype._OriginalIsBoundary=function(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])},e.prototype._OriginalRegionIsBoundary=function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1},e.prototype._ModifiedIsBoundary=function(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])},e.prototype._ModifiedRegionIsBoundary=function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1},e.prototype._boundaryScore=function(e,t,n,i){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,i)?1:0)},e.prototype.ConcatenateChanges=function(e,t){var n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){var i=new Array(e.length+t.length-1);return it.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],it.Copy(t,1,i,e.length,t.length-1),i}i=new Array(e.length+t.length);return it.Copy(e,0,i,0,e.length),it.Copy(t,0,i,e.length,t.length),i},e.prototype.ChangesOverlap=function(e,t,n){if(nt.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),nt.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){var i=e.originalStart,o=e.originalLength,r=e.modifiedStart,s=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(s=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new Qe(i,o,r,s),!0}return n[0]=null,!1},e.prototype.ClipDiagonalBound=function(e,t,n,i){if(e>=0&&e0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&r()){var f=i.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),p=o.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1),g=at(f,p,r,!0).changes;a&&(g=function(e){if(e.length<=1)return e;for(var t=[e[0]],n=t[0],i=1,o=e.length;i 1&&m>1;){if(f.charCodeAt(g-2)!==p.charCodeAt(m-2))break;g--,m--}(g>1||m>1)&&this._pushTrimWhitespaceCharChange(s,a+1,1,g,u+1,1,m);for(var v=pt(f,1),y=pt(p,1),_=f.length+1,b=p.length+1;v<_&&y=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.changeValue=function(e,t){return e=Object(mt.a)(e),t=Object(mt.a)(t),this.values[e]!==t&&(this.values[e]=t,e-1 =n.length)return!1;var o=n.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1 =0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.getTotalValue=function(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)},e.prototype.getAccumulatedValue=function(e){return e<0?0:(e=Object(mt.a)(e),this._getAccumulatedValue(e))},e.prototype._getAccumulatedValue=function(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];var t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(var n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]},e.prototype.getIndexOf=function(e){e=Math.floor(e),this.getTotalValue();for(var t=0,n=this.values.length-1,i=0,o=0,r=0;t<=n;)if(i=t+(n-t)/2|0,e<(r=(o=this.prefixSum[i])-this.values[i]))n=i-1;else{if(!(e>=o))break;t=i+1}return new vt(i,e-r)},e}(),_t=function(){function e(e,t,n,i){this._uri=e,this._lines=t,this._eol=n,this._versionId=i,this._lineStarts=null}return e.prototype.dispose=function(){this._lines.length=0},e.prototype.getText=function(){return this._lines.join(this._eol)},e.prototype.onEvents=function(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);for(var t=0,n=e.changes;t t&&(t=l),s>n&&(n=s),(c=r[2])>n&&(n=c)}t++,n++;var a=new wt(n,t,0);for(i=0,o=e.length;i =this._maxCharCode?0:this._states.get(e,t)},e}(),Ot=null;var xt=null;var Nt=function(){function e(){}return e._createLink=function(e,t,n,i,o){var r=o-1;do{var s=t.charCodeAt(r);if(2!==e.get(s))break;r--}while(r>i);if(i>0){var a=t.charCodeAt(i-1),u=t.charCodeAt(r);(40===a&&41===u||91===a&&93===u||123===a&&125===u)&&r--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:r+2},url:t.substring(i,r+1)}},e.computeLinks=function(t,n){void 0===n&&(null===Ot&&(Ot=new St([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),n=Ot);for(var i=function(){if(null===xt){xt=new Ct.a(0);for(var e=0;e<" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…".length;e++)xt.set(" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…".charCodeAt(e),1);for(e=0;e<".,;".length;e++)xt.set(".,;".charCodeAt(e),2)}return xt}(),o=[],r=1,s=t.getLineCount();r<=s;r++){for(var a=t.getLineContent(r),u=a.length,l=0,c=0,d=0,h=1,f=!1,p=!1,g=!1;l=0?((i+=n?1:-1)<0?i=e.length-1:i%=e.length,e[i]):null},e.INSTANCE=new e,e}(),Dt=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)}}(),kt=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},Mt=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1] =i._lines.length?st.b:(n=i._lines[o],s=i._wordenize(n,e),r=0,o+=1,a())};return{next:a}},t.prototype.getLineWords=function(e,t){for(var n=this._lines[e-1],i=[],o=0,r=this._wordenize(n,t);o this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,i=!0;else{var o=this._lines[t-1].length+1;n<1?(n=1,i=!0):n>o&&(n=o,i=!0)}return i?{lineNumber:t,column:n}:e},t}(_t),Tt=function(){function e(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}return e.prototype.dispose=function(){this._models=Object.create(null)},e.prototype._getModel=function(e){return this._models[e]},e.prototype._getModels=function(){var e=this,t=[];return Object.keys(this._models).forEach((function(n){return t.push(e._models[n])})),t},e.prototype.acceptNewModel=function(e){this._models[e.url]=new It(B.a.parse(e.url),e.lines,e.EOL,e.versionId)},e.prototype.acceptModelChanged=function(e,t){this._models[e]&&this._models[e].onEvents(t)},e.prototype.acceptRemovedModel=function(e){this._models[e]&&delete this._models[e]},e.prototype.computeDiff=function(e,t,n,i){return kt(this,void 0,void 0,(function(){var o,r,s,a,u,l,c;return Mt(this,(function(d){return o=this._getModel(e),r=this._getModel(t),o&&r?(s=o.getLinesContent(),a=r.getLinesContent(),u=new ht(s,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}),l=u.computeDiff(),c=!(l.changes.length>0)&&this._modelsAreIdentical(o,r),[2,{quitEarly:l.quitEarly,identical:c,changes:l.changes}]):[2,null]}))}))},e.prototype._modelsAreIdentical=function(e,t){var n=e.getLineCount();if(n!==t.getLineCount())return!1;for(var i=1;i<=n;i++){if(e.getLineContent(i)!==t.getLineContent(i))return!1}return!0},e.prototype.computeMoreMinimalEdits=function(t,n){return kt(this,void 0,void 0,(function(){var i,o,r,s,a,u,l,c,d,h,f,p,g,m,v,y,_,b;return Mt(this,(function(C){if(!(i=this._getModel(t)))return[2,n];for(o=[],r=void 0,n=Object(Xe.n)(n,(function(e,t){return e.range&&t.range?z.a.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1)})),s=0,a=n;s e._diffLimit)o.push({range:l,text:c});else for(f=tt(h,c,!1),p=i.offsetAt(z.a.lift(l).getStartPosition()),g=0,m=f;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},zt=function(e,t){return function(n,i){t(n,i,e)}},Ut=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},Kt=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1] 3e5&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null))},t.prototype.withWorker=function(){return this._lastWorkerUsedTime=(new Date).getTime(),this._editorWorkerClient||(this._editorWorkerClient=new $t(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)},t}(le.a),Xt=function(e){function t(t,n,i){var o=e.call(this)||this;if(o._syncedModels=Object.create(null),o._syncedModelsLastUsedTime=Object.create(null),o._proxy=t,o._modelService=n,!i){var r=new Ve.c;r.cancelAndSet((function(){return o._checkStopModelSync()}),Math.round(3e4)),o._register(r)}return o}return Bt(t,e),t.prototype.dispose=function(){for(var t in this._syncedModels)Object(le.e)(this._syncedModels[t]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),e.prototype.dispose.call(this)},t.prototype.ensureSyncedResources=function(e){for(var t=0,n=e;t 6e4&&t.push(n)}for(var i=0,o=t;i =this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=e);for(var n=0;n n)&&(!c.isEmpty()||0!==l.type&&3!==l.type)){var d=c.startLineNumber===n?c.startColumn:i,h=c.endLineNumber===n?c.endColumn:o;r[s++]=new e(d,h,l.inlineClassName,l.type)}}return r},e.compare=function(e,t){return e.startColumn===t.startColumn?e.endColumn===t.endColumn?e.className t.className?1:0:e.endColumn-t.endColumn:e.startColumn-t.startColumn},e}(),un=function(e,t,n){this.startOffset=e,this.endOffset=t,this.className=n},ln=function(){function e(){this.stopOffsets=[],this.classNames=[],this.count=0}return e.prototype.consumeLowerThan=function(e,t,n){for(;this.count>0&&this.stopOffsets[0] 0&&t =e){this.stopOffsets.splice(n,0,e),this.classNames.splice(n,0,t);break}this.count++},e}(),cn=function(){function e(){}return e.normalize=function(e,t){if(0===t.length)return[];for(var n=[],i=new ln,o=0,r=0,s=t.length;r 1){var d=e.charCodeAt(u-2);ne.x(d)&&u--}if(l>1){d=e.charCodeAt(l-2);ne.x(d)&&l--}var h=u-1,f=l-2;o=i.consumeLowerThan(h,o,n),0===i.count&&(o=h),i.insert(f,c)}return i.consumeLowerThan(1073741824,o,n),n},e}(),dn=function(e,t){this.endIndex=e,this.type=t},hn=function(){function e(e,t){this.startOffset=e,this.endOffset=t}return e.prototype.equals=function(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset},e}(),fn=function(){function e(e,t,n,i,o,r,s,a,u,l,c,d,h,f,p,g,m,v){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.continuesWithWrappedLine=i,this.isBasicASCII=o,this.containsRTL=r,this.fauxIndentLength=s,this.lineTokens=a,this.lineDecorations=u,this.tabSize=l,this.startVisibleColumn=c,this.spaceWidth=d,this.middotWidth=h,this.stopRenderingLineAfter=f,this.renderWhitespace="all"===p?3:"boundary"===p?1:"selection"===p?2:0,this.renderControlCharacters=g,this.fontLigatures=m,this.selectionsOnLine=v&&v.sort((function(e,t){return e.startOffset>>16},e.getCharIndex=function(e){return(65535&e)>>>0},e.prototype.setPartData=function(e,t,n,i){var o=(t<<16|n<<0)>>>0;this._data[e]=o,this._absoluteOffsets[e]=i+n},e.prototype.getAbsoluteOffsets=function(){return this._absoluteOffsets},e.prototype.charOffsetToPartData=function(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]},e.prototype.partDataToCharOffset=function(t,n,i){if(0===this.length)return 0;for(var o=(t<<16|i<<0)>>>0,r=0,s=this.length-1;r+1 >>1,u=this._data[a];if(u===o)return a;u>o?s=a:r=a}if(r===s)return r;var l=this._data[r],c=this._data[s];if(l===o)return r;if(c===o)return s;var d=e.getPartIndex(l);return i-e.getCharIndex(l)<=(d!==e.getPartIndex(c)?n:e.getCharIndex(c))-i?r:s},e}(),gn=function(e,t,n){this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=n};function mn(e,t){if(0===e.lineContent.length){var n=0,i=" ";if(e.lineDecorations.length>0){for(var o=[],r=[],s=0,a=e.lineDecorations.length;s"+(o.length>0?'':"")+(r.length>0?'':"")+""}return t.appendASCIIString(i),new gn(new pn(0,0),!1,n)}return function(e,t){var n=e.fontIsMonospace,i=e.canUseHalfwidthRightwardsArrow,o=e.containsForeignElements,r=e.lineContent,s=e.len,a=e.isOverflowing,u=e.parts,l=e.fauxIndentLength,c=e.tabSize,d=e.startVisibleColumn,h=e.containsRTL,f=e.spaceWidth,p=e.middotWidth,g=e.renderWhitespace,m=e.renderControlCharacters,v=p>f?11825:183,y=new pn(s+1,u.length),_=0,b=d,C=0,w=0,S=0;t.appendASCIIString("");for(var O=0,x=u.length;O=0;if(C=0,t.appendASCIIString('1?t.write1(8594):t.write1(65515);for(var R=2;R<=P;R++)t.write1(160)}else P=1,t.write1(v);C+=P,_>=l&&(b+=P)}w=k}else{k=0;for(h&&t.appendASCIIString(' dir="ltr"'),t.appendASCII(62);_ "),new gn(y,h,o)}(function(e){var t,n,i=e.useMonospaceOptimizations,o=e.lineContent;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter=l&&(b+=P)}w=k}t.appendASCIIString(" ")}y.setPartData(s,u.length-1,C,S),a&&t.appendASCIIString("…");return t.appendASCIIString("0&&(i[o++]=new dn(t,""));for(var r=0,s=e.getCount();r =n){i[o++]=new dn(n,u);break}i[o++]=new dn(a,u)}}return i}(e.lineTokens,e.fauxIndentLength,n);(3===e.renderWhitespace||1===e.renderWhitespace||2===e.renderWhitespace&&e.selectionsOnLine)&&(r=function(e,t,n,i,o,r,s,a,u,l){var c,d=[],h=0,f=0,p=i[f].type,g=i[f].endIndex,m=i.length,v=ne.o(e);-1===v?(v=t,c=t):c=ne.B(e);for(var y=!1,_=0,b=u&&u[_],C=s%r,w=o;w=b.endOffset&&(_++,b=u&&u[_]);var O=void 0;if(w c)O=!0;else if(9===S)O=!0;else if(32===S)if(l)if(y)O=!0;else{var x=w+1 w),y?(!O||!a&&C>=r)&&(d[h++]=new dn(w,"vs-whitespace"),C%=r):(w===g||O&&w>o)&&(d[h++]=new dn(w,p),C%=r),9===S?C=r:ne.w(S)?C+=2:C++,y=O,w===g&&++f 0?e.charCodeAt(t-1):0,E=t>1?e.charCodeAt(t-2):0;32===L&&32!==E&&9!==E||(N=!0)}else N=!0;return d[h++]=new dn(t,N?"vs-whitespace":p),d}(o,n,e.continuesWithWrappedLine,r,e.fauxIndentLength,e.tabSize,e.startVisibleColumn,i,e.selectionsOnLine,1===e.renderWhitespace));var s=0;if(e.lineDecorations.length>0){for(var a=0,u=e.lineDecorations.length;al&&(l=g.startOffset,a[u++]=new dn(l,p)),!(g.endOffset+1<=f)){l=f,a[u++]=new dn(l,p+" "+g.className);break}l=g.endOffset+1,a[u++]=new dn(l,p+" "+g.className),s++}f>l&&(l=f,a[u++]=new dn(l,p))}var m=n[n.length-1].endIndex;if(s =50&&(o[r++]=new dn(c+1,l),d=c+1,c=-1);d!==u&&(o[r++]=new dn(u,l))}else o[r++]=f;i=u}else for(s=0,a=t.length;s50){l=f.type;var g=Math.ceil(p/50);for(h=1;h '"_]/g,"-")}function In(e,t){return new Error(e.languageId+": "+t)}function Tn(e,t,n,i,o){var r=null;return t.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,(function(t,s,a,u,l,c,d,h,f){return Dn(a)?Dn(u)?!Dn(l)&&l 0;){var i=e.tokenizer[n];if(i)return i;var o=n.lastIndexOf(".");n=o<0?null:n.substr(0,o)}return null}var Rn=function(){function e(e){this._maxCacheDepth=e,this._entries=Object.create(null)}return e.create=function(e,t){return this._INSTANCE.create(e,t)},e.prototype.create=function(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new An(e,t);var n=An.getStackElementId(e);n.length>0&&(n+="|"),n+=t;var i=this._entries[n];return i||(i=new An(e,t),this._entries[n]=i,i)},e._INSTANCE=new e(5),e}(),An=function(){function e(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}return e.getStackElementId=function(e){for(var t="";null!==e;)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t},e._equals=function(e,t){for(;null!==e&&null!==t;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t},e.prototype.equals=function(t){return e._equals(this,t)},e.prototype.push=function(e){return Rn.create(this,e)},e.prototype.pop=function(){return this.parent},e.prototype.popall=function(){for(var e=this;e.parent;)e=e.parent;return e},e.prototype.switchTo=function(e){return Rn.create(this.parent,e)},e}(),Fn=function(){function e(e,t){this.modeId=e,this.state=t}return e.prototype.equals=function(e){return this.modeId===e.modeId&&this.state.equals(e.state)},e.prototype.clone=function(){return this.state.clone()===this.state?this:new e(this.modeId,this.state)},e}(),jn=function(){function e(e){this._maxCacheDepth=e,this._entries=Object.create(null)}return e.create=function(e,t){return this._INSTANCE.create(e,t)},e.prototype.create=function(e,t){if(null!==t)return new Vn(e,t);if(null!==e&&e.depth>=this._maxCacheDepth)return new Vn(e,t);var n=An.getStackElementId(e),i=this._entries[n];return i||(i=new Vn(e,null),this._entries[n]=i,i)},e._INSTANCE=new e(5),e}(),Vn=function(){function e(e,t){this.stack=e,this.embeddedModeData=t}return e.prototype.clone=function(){return(this.embeddedModeData?this.embeddedModeData.clone():null)===this.embeddedModeData?this:jn.create(this.stack,this.embeddedModeData)},e.prototype.equals=function(t){return t instanceof e&&(!!this.stack.equals(t.stack)&&(null===this.embeddedModeData&&null===t.embeddedModeData||null!==this.embeddedModeData&&null!==t.embeddedModeData&&this.embeddedModeData.equals(t.embeddedModeData)))},e}(),Wn=function(){function e(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}return e.prototype.enterMode=function(e,t){this._language=t},e.prototype.emit=function(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._language||(this._lastTokenType=t,this._lastTokenLanguage=this._language,this._tokens.push(new K.a(e,t,this._language)))},e.prototype.nestedModeTokenize=function(e,t,n){var i=t.modeId,o=t.state,r=Re.y.get(i);if(!r)return this.enterMode(n,i),this.emit(n,""),o;var s=r.tokenize(e,o,n);return this._tokens=this._tokens.concat(s.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,s.endState},e.prototype.finalize=function(e){return new K.b(this._tokens,e)},e}(),Bn=function(){function e(e,t){this._modeService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}return e.prototype.enterMode=function(e,t){this._currentLanguageId=this._modeService.getLanguageIdentifier(t).id},e.prototype.emit=function(e,t){var n=this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==n&&(this._lastTokenMetadata=n,this._tokens.push(e),this._tokens.push(n))},e._merge=function(e,t,n){var i=null!==e?e.length:0,o=t.length,r=null!==n?n.length:0;if(0===i&&0===o&&0===r)return new Uint32Array(0);if(0===i&&0===o)return n;if(0===o&&0===r)return e;var s=new Uint32Array(i+o+r);null!==e&&s.set(e);for(var a=0;a 0&&i.nestedModeTokenize(s,t.embeddedModeData,n);var a=e.substring(o);return this._myTokenize(a,t,n+o,i)},e.prototype._safeRuleName=function(e){return e?e.name:"(unknown)"},e.prototype._myTokenize=function(e,t,n,i){i.enterMode(n,this._modeId);for(var o,r,s=e.length,a=t.embeddedModeData,u=t.stack,l=0,c=null,d=!0;d||l =s)break;d=!1;var w=this._lexer.tokenizer[g];if(!w&&!(w=Pn(this._lexer,g)))throw In(this._lexer,"tokenizer state is not defined: "+g);for(var S=e.substr(l),O=0,x=w;O=this._lexer.maxStack)throw In(this._lexer,"maximum tokenizer stack size reached: ["+u.state+","+u.parent.state+",...]");u=u.push(g)}else if("@pop"===y.next){if(u.depth<=1)throw In(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(_));u=u.pop()}else if("@popall"===y.next)u=u.popall();else{var E;if("@"===(E=Tn(this._lexer,y.next,v,m,g))[0]&&(E=E.substr(1)),!Pn(this._lexer,E))throw In(this._lexer,"trying to set a next state '"+E+"' that is undefined in rule: "+this._safeRuleName(_));u=u.push(E)}}y.log&&"string"==typeof y.log&&(o=this._lexer,r=this._lexer.languageId+": "+Tn(this._lexer,y.log,v,m,g),console.log(o.languageId+": "+r))}if(null===L)throw In(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(_));if(Array.isArray(L)){if(c&&c.groups.length>0)throw In(this._lexer,"groups cannot be nested: "+this._safeRuleName(_));if(m.length!==L.length+1)throw In(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(_));for(var D=0,k=1;k =0&&a()}))})},e.colorizeLine=function(e,t,n,i,o){void 0===o&&(o=4);var r=Sn.isBasicASCII(e,t),s=Sn.containsRTL(e,r,n);return yn(new fn(!1,!0,e,!1,r,s,0,i,[],o,0,0,0,-1,"none",!1,!1,null)).html},e.colorizeModelLine=function(e,t,n){void 0===n&&(n=4);var i=e.getLineContent(t);e.forceTokenization(t);var o=e.getLineTokens(t).inflate();return this.colorizeLine(i,e.mightContainNonBasicASCII(),e.mightContainRTL(),o,n)},e}();function Kn(e,t,n){return new Promise((function(i,o){var r=function(){var s=function(e,t,n){for(var i=[],o=n.getInitialState(),r=0,s=e.length;r "),o=u.endState}return i.join("")}(e,t,n);if(n instanceof Hn){var a=n.getLoadStatus();if(!1===a.loaded)return void a.promise.then(r,o)}i(s)};r()}))}function qn(e,t){var n=[],i=new Uint32Array(2);i[0]=0,i[1]=16793600;for(var o=0,r=e.length;o")}return n.join("")}var Gn=n("uDWl"),Yn=n("S3by");var Zn=n("3/fG"),Xn=n("ic2d"),Qn=n("3Rsk"),Jn=n("QDVR"),$n="base.contributions.configuration",ei={properties:{},patternProperties:{}},ti={properties:{},patternProperties:{}},ni={properties:{},patternProperties:{}},ii={properties:{},patternProperties:{}},oi={properties:{},patternProperties:{}},ri={properties:{},patternProperties:{}},si=Xn.a.as(Qn.a.JSONContribution),ai=function(){function e(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new V.a,this._onDidUpdateConfiguration=new V.a,this.defaultOverridesConfigurationNode={id:"defaultOverrides",title:Zn.a("defaultConfigurations.title","Default Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultOverridesConfigurationNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},si.registerSchema("vscode://schemas/settings/resourceLanguage",this.resourceLanguageSettingsSchema)}return e.prototype.registerConfiguration=function(e,t){void 0===t&&(t=!0),this.registerConfigurations([e],t)},e.prototype.registerConfigurations=function(e,t){var n=this;void 0===t&&(t=!0);var i=[];e.forEach((function(e){i.push.apply(i,n.validateAndRegisterProperties(e,t)),n.configurationContributors.push(e),n.registerJSONConfiguration(e)})),si.registerSchema("vscode://schemas/settings/resourceLanguage",this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(i)},e.prototype.registerOverrideIdentifiers=function(e){for(var t=0,n=e;t 5e3&&n._leaveChordMode():n._leaveChordMode()}),500)},t.prototype._leaveChordMode=function(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null},t.prototype._dispatch=function(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t)},t.prototype._doDispatch=function(e,t){var n=this,i=!1;if(e.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;var o=e.getDispatchParts()[0];if(null===o)return i;var r=this._contextKeyService.getContext(t),s=this._currentChord?this._currentChord.keypress:null,a=e.getLabel(),u=this._getResolver().resolve(r,s,o);return u&&u.enterChord?(i=!0,this._enterChordMode(o,a),i):(this._currentChord&&(u&&u.commandId||(this._notificationService.status(Zn.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,a),{hideAfter:1e4}),i=!0)),this._leaveChordMode(),u&&u.commandId&&(u.bubble||(i=!0),void 0===u.commandArgs?this._commandService.executeCommand(u.commandId).then(void 0,(function(e){return n._notificationService.warn(e)})):this._commandService.executeCommand(u.commandId,u.commandArgs).then(void 0,(function(e){return n._notificationService.warn(e)})),this._telemetryService.publicLog2("workbenchActionExecuted",{id:u.commandId,from:"keybinding"})),i)},t.prototype.mightProducePrintableCharacter=function(e){return!e.ctrlKey&&!e.metaKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30)},t}(le.a),Zi=n("T8No"),Xi=function(){function e(t,n){this._defaultKeybindings=t,this._defaultBoundCommands=new Map;for(var i=0,o=t.length;i =0;c--)this._isTargetedForRemoval(e[c],a,u,s,l)&&e.splice(c,1);else n.push(r)}return e.concat(n)},e.prototype._addKeyPress=function(t,n){var i=this._map.get(t);if(void 0===i)return this._map.set(t,[n]),void this._addToLookupMap(n);for(var o=i.length-1;o>=0;o--){var r=i[o];if(r.command!==n.command){var s=r.keypressParts.length>1,a=n.keypressParts.length>1;s&&a&&r.keypressParts[1]!==n.keypressParts[1]||e.whenIsEntirelyIncluded(r.when,n.when)&&this._removeFromLookupMap(r)}}i.push(n),this._addToLookupMap(n)},e.prototype._addToLookupMap=function(e){if(e.command){var t=this._lookupMap.get(e.command);void 0===t?(t=[e],this._lookupMap.set(e.command,t)):t.push(e)}},e.prototype._removeFromLookupMap=function(e){if(e.command){var t=this._lookupMap.get(e.command);if(void 0!==t)for(var n=0,i=t.length;n1&&null!==u.keypressParts[1]?{enterChord:!0,commandId:null,commandArgs:null,bubble:!1}:{enterChord:!1,commandId:u.command,commandArgs:u.commandArgs,bubble:u.bubble}:null},e.prototype._findCommand=function(t,n){for(var i=n.length-1;i>=0;i--){var o=n[i];if(e.contextMatchesRules(t,o.when))return o}return null},e.contextMatchesRules=function(e,t){return!t||t.evaluate(e)},e}(),Qi=n("nrhi"),Ji=function(e,t,n,i,o){this.resolvedKeybinding=e,this.keypressParts=e?function(e){for(var t=[],n=0,i=e.length;n1},t.prototype.getParts=function(){var e=this;return this._parts.map((function(t){return e._getPart(t)}))},t.prototype._getPart=function(e){return new W.d(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))},t.prototype.getDispatchParts=function(){var e=this;return this._parts.map((function(t){return e._getDispatchPart(t)}))},t}(W.c),ao=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)}}(),uo=function(e){function t(t,n){return e.call(this,n,t.parts)||this}return ao(t,e),t.prototype._keyCodeToUILabel=function(e){if(2===this._os)switch(e){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return W.b.toString(e)},t.prototype._getLabel=function(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)},t.prototype._getAriaLabel=function(e){return e.isDuplicateModifierCase()?"":W.b.toString(e.keyCode)},t.prototype._getDispatchPart=function(e){return t.getDispatchStr(e)},t.getDispatchStr=function(e){if(e.isModifierKey())return null;var t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+=W.b.toString(e.keyCode)},t}(so),lo=n("sM1p"),co=Object(ue.c)("contextService");!function(e){e.isIWorkspace=function(e){return e&&"object"==typeof e&&"string"==typeof e.id&&Array.isArray(e.folders)}}(io||(io={})),(oo||(oo={})).isIWorkspaceFolder=function(e){return e&&"object"==typeof e&&B.a.isUri(e.uri)&&"string"==typeof e.name&&"function"==typeof e.toResource};!function(){function e(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=null),this._id=e,this._configuration=n,this._foldersMap=Jn.c.forPaths(),this.folders=t}Object.defineProperty(e.prototype,"folders",{get:function(){return this._folders},set:function(e){this._folders=e,this.updateFoldersMap()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"configuration",{get:function(){return this._configuration},set:function(e){this._configuration=e},enumerable:!0,configurable:!0}),e.prototype.getFolder=function(e){return e&&this._foldersMap.findSubstr(e.with({scheme:e.scheme,authority:e.authority,path:e.path}).toString())||null},e.prototype.updateFoldersMap=function(){this._foldersMap=Jn.c.forPaths();for(var e=0,t=this.folders;e =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},Eo=function(e,t){return function(n,i){t(n,i,e)}},Do=function(){for(var e=0,t=0,n=arguments.length;t .001){b=!1;break}}var x=!0;b&&v.width!==C&&(x=!1),v.width>m.width&&(x=!1);var N=Yo.b()>2e3;return new Ie({zoomLevel:Yo.c(),fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,fontFeatureSettings:e.fontFeatureSettings,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:b,typicalHalfwidthCharacterWidth:i.width,typicalFullwidthCharacterWidth:o.width,canUseHalfwidthRightwardsArrow:x,spaceWidth:r.width,middotWidth:y.width,maxDigitWidth:_},N)},t.INSTANCE=new t,t}(le.a),ir=function(e){function t(t,n,i,o){void 0===i&&(i=null);var r=e.call(this,t,n)||this;return r.accessibilityService=o,r._elementSizeObserver=r._register(new $o(i,n.dimension,(function(){return r._onReferenceDomElementSizeChanged()}))),r._register(nr.INSTANCE.onDidChange((function(){return r._onCSSBasedConfigurationChanged()}))),r._validatedOptions.get(9)&&r._elementSizeObserver.startObserving(),r._register(Yo.o((function(e){return r._recomputeOptions()}))),r._register(r.accessibilityService.onDidChangeScreenReaderOptimized((function(){return r._recomputeOptions()}))),r._recomputeOptions(),r}return er(t,e),t.applyFontInfoSlow=function(e,t){e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px"},t.applyFontInfo=function(e,t){e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)},t.prototype._onReferenceDomElementSizeChanged=function(){this._recomputeOptions()},t.prototype._onCSSBasedConfigurationChanged=function(){this._recomputeOptions()},t.prototype.observeReferenceElement=function(e){this._elementSizeObserver.observe(e)},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._getExtraEditorClassName=function(){var e="";return Yo.k||Yo.n||(e+="no-user-select "),ie.e&&(e+="mac "),e},t.prototype._getEnvConfiguration=function(){return{extraEditorClassName:this._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:Yo.m||Yo.h,pixelRatio:Yo.a(),zoomLevel:Yo.c(),accessibilitySupport:this.accessibilityService.isScreenReaderOptimized()?2:this.accessibilityService.getAccessibilitySupport()}},t.prototype.readConfiguration=function(e){return nr.INSTANCE.readConfiguration(e)},t}(Oi),or=n("sswD"),rr=n("ZlPH"),sr=n("pg8w"),ar=n("XSiN"),ur=n("AKMP"),lr=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)}}(),cr=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.toClientCoordinates=function(){return new dr(this.x-Z.d.scrollX,this.y-Z.d.scrollY)},e}(),dr=function(){function e(e,t){this.clientX=e,this.clientY=t}return e.prototype.toPageCoordinates=function(){return new cr(this.clientX+Z.d.scrollX,this.clientY+Z.d.scrollY)},e}(),hr=function(e,t,n,i){this.x=e,this.y=t,this.width=n,this.height=i};function fr(e){var t=Z.w(e);return new hr(t.left,t.top,t.width,t.height)}var pr=function(e){function t(t,n){var i=e.call(this,t)||this;return i.pos=new cr(i.posx,i.posy),i.editorPos=fr(n),i}return lr(t,e),t}(ar.a),gr=function(){function e(e){this._editorViewDomNode=e}return e.prototype._create=function(e){return new pr(e,this._editorViewDomNode)},e.prototype.onContextMenu=function(e,t){var n=this;return Z.g(e,"contextmenu",(function(e){t(n._create(e))}))},e.prototype.onMouseUp=function(e,t){var n=this;return Z.g(e,"mouseup",(function(e){t(n._create(e))}))},e.prototype.onMouseDown=function(e,t){var n=this;return Z.g(e,"mousedown",(function(e){t(n._create(e))}))},e.prototype.onMouseLeave=function(e,t){var n=this;return Z.h(e,(function(e){t(n._create(e))}))},e.prototype.onMouseMoveThrottled=function(e,t,n,i){var o=this;return Z.j(e,"mousemove",t,(function(e,t){return n(e,o._create(t))}),i)},e}(),mr=function(){function e(e){this._editorViewDomNode=e}return e.prototype._create=function(e){return new pr(e,this._editorViewDomNode)},e.prototype.onPointerUp=function(e,t){var n=this;return Z.g(e,"pointerup",(function(e){t(n._create(e))}))},e.prototype.onPointerDown=function(e,t){var n=this;return Z.g(e,"pointerdown",(function(e){t(n._create(e))}))},e.prototype.onPointerLeave=function(e,t){var n=this;return Z.i(e,(function(e){t(n._create(e))}))},e.prototype.onPointerMoveThrottled=function(e,t,n,i){var o=this;return Z.j(e,"pointermove",t,(function(e,t){return n(e,o._create(t))}),i)},e}(),vr=function(e){function t(t){var n=e.call(this)||this;return n._editorViewDomNode=t,n._globalMouseMoveMonitor=n._register(new ur.a),n._keydownListener=null,n}return lr(t,e),t.prototype.startMonitoring=function(e,t,n,i,o){var r=this;this._keydownListener=Z.k(document,"keydown",(function(e){e.toKeybinding().isModifierKey()||r._globalMouseMoveMonitor.stopMonitoring(!0)}),!0);this._globalMouseMoveMonitor.startMonitoring(e,t,(function(e,t){return n(e,new pr(t,r._editorViewDomNode))}),i,(function(){r._keydownListener.dispose(),o()}))},t}(le.a),yr=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)}}(),_r=function(e){function t(){var t=e.call(this)||this;return t._shouldRender=!0,t}return yr(t,e),t.prototype.shouldRender=function(){return this._shouldRender},t.prototype.forceShouldRender=function(){this._shouldRender=!0},t.prototype.setShouldRender=function(){this._shouldRender=!0},t.prototype.onDidRender=function(){this._shouldRender=!1},t.prototype.onConfigurationChanged=function(e){return!1},t.prototype.onContentSizeChanged=function(e){return!1},t.prototype.onCursorStateChanged=function(e){return!1},t.prototype.onDecorationsChanged=function(e){return!1},t.prototype.onFlushed=function(e){return!1},t.prototype.onFocusChanged=function(e){return!1},t.prototype.onLanguageConfigurationChanged=function(e){return!1},t.prototype.onLineMappingChanged=function(e){return!1},t.prototype.onLinesChanged=function(e){return!1},t.prototype.onLinesDeleted=function(e){return!1},t.prototype.onLinesInserted=function(e){return!1},t.prototype.onRevealRangeRequest=function(e){return!1},t.prototype.onScrollChanged=function(e){return!1},t.prototype.onThemeChanged=function(e){return!1},t.prototype.onTokensChanged=function(e){return!1},t.prototype.onTokensColorsChanged=function(e){return!1},t.prototype.onZonesChanged=function(e){return!1},t.prototype.handleEvents=function(e){for(var t=!1,n=0,i=e.length;n=u?o=Math.max(o,u+l-i):(t[n++]=new Nr(i,o),i=u,o=l)}return t[n++]=new Nr(i,o),t},e._createHorizontalRangesFromClientRects=function(e,t){if(!e||0===e.length)return null;for(var n=[],i=0,o=e.length;i a)return null;(t=Math.min(a,Math.max(0,t)))!==(i=Math.min(a,Math.max(0,i)))&&i>0&&0===o&&(i--,o=1073741824);var u=e.children[t].firstChild,l=e.children[i].firstChild;if(u&&l||(!u&&0===n&&t>0&&(u=e.children[t-1].firstChild,n=1073741824),!l&&0===o&&i>0&&(l=e.children[i-1].firstChild,o=1073741824)),!u||!l)return null;n=Math.min(u.textContent.length,Math.max(0,n)),o=Math.min(l.textContent.length,Math.max(0,o));var c=this._readClientRects(u,n,l,o,s);return this._createHorizontalRangesFromClientRects(c,r)},e}(),Mr=n("t9D7"),Ir=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)}}(),Tr=!!ie.f||!(ie.d||Yo.h||Yo.k),Pr=Yo.f,Rr=function(){function e(e,t){this._domNode=e,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=t}return Object.defineProperty(e.prototype,"clientRectDeltaLeft",{get:function(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft},enumerable:!0,configurable:!0}),e}(),Ar=function(){function e(e,t){this.themeType=t;var n=e.options,i=n.get(34);this.renderWhitespace=n.get(74),this.renderControlCharacters=n.get(69),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.useMonospaceOptimizations=i.isMonospace&&!n.get(23),this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=n.get(49),this.stopRenderingLineAfter=n.get(88),this.fontLigatures=n.get(35)}return e.prototype.equals=function(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures},e}(),Fr=function(){function e(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}return e.prototype.getDomNode=function(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null},e.prototype.setDomNode=function(e){if(!this._renderedViewLine)throw new Error("I have no rendered view line to set the dom node to...");this._renderedViewLine.domNode=Object(rr.b)(e)},e.prototype.onContentChanged=function(){this._isMaybeInvalid=!0},e.prototype.onTokensChanged=function(){this._isMaybeInvalid=!0},e.prototype.onDecorationsChanged=function(){this._isMaybeInvalid=!0},e.prototype.onOptionsChanged=function(e){this._isMaybeInvalid=!0,this._options=e},e.prototype.onSelectionChanged=function(){return!(!Pr&&this._options.themeType!==Mr.b&&"selection"!==this._options.renderWhitespace)&&(this._isMaybeInvalid=!0,!0)},e.prototype.renderLine=function(t,n,i,o){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;var r=i.getViewLineRenderingData(t),s=this._options,a=an.filter(r.inlineDecorations,t,r.minColumn,r.maxColumn),u=null;if(Pr||s.themeType===Mr.b||"selection"===this._options.renderWhitespace)for(var l=0,c=i.selections;l t)){var h=d.startLineNumber===t?d.startColumn:r.minColumn,f=d.endLineNumber===t?d.endColumn:r.maxColumn;h ');var g=mn(p,o);o.appendASCIIString("");var m=null;return Tr&&r.isBasicASCII&&s.useMonospaceOptimizations&&0===g.containsForeignElements&&r.content.length<300&&p.lineTokens.getCount()<100&&(m=new jr(this._renderedViewLine?this._renderedViewLine.domNode:null,p,g.characterMapping)),m||(m=Br(this._renderedViewLine?this._renderedViewLine.domNode:null,p,g.characterMapping,g.containsRTL,g.containsForeignElements)),this._renderedViewLine=m,!0},e.prototype.layoutLine=function(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))},e.prototype.getWidth=function(){return this._renderedViewLine?this._renderedViewLine.getWidth():0},e.prototype.getWidthIsFast=function(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()},e.prototype.getVisibleRangesForRange=function(e,t,n){if(!this._renderedViewLine)return null;e|=0,t|=0,e=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,e)),t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t));var i=0|this._renderedViewLine.input.stopRenderingLineAfter,o=!1;-1!==i&&e>i+1&&t>i+1&&(o=!0),-1!==i&&e>i+1&&(e=i+1),-1!==i&&t>i+1&&(t=i+1);var r=this._renderedViewLine.getVisibleRangesForRange(e,t,n);return r&&r.length>0?new Er(o,r):null},e.prototype.getColumnOfNodeOffset=function(e,t,n){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t,n):1},e.CLASS_NAME="view-line",e}(),jr=function(){function e(e,t,n){this.domNode=e,this.input=t,this._characterMapping=n,this._charWidth=t.spaceWidth}return e.prototype.getWidth=function(){return this._getCharPosition(this._characterMapping.length)},e.prototype.getWidthIsFast=function(){return!0},e.prototype.getVisibleRangesForRange=function(e,t,n){var i=this._getCharPosition(e),o=this._getCharPosition(t);return[new Nr(i,o-i)]},e.prototype._getCharPosition=function(e){var t=this._characterMapping.getAbsoluteOffsets();return 0===t.length?0:Math.round(this._charWidth*t[e-1])},e.prototype.getColumnOfNodeOffset=function(e,t,n){for(var i=t.textContent.length,o=-1;t;)t=t.previousSibling,o++;return this._characterMapping.partDataToCharOffset(o,i,n)+1},e}(),Vr=function(){function e(e,t,n,i,o){if(this.domNode=e,this.input=t,this._characterMapping=n,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=o,this._cachedWidth=-1,this._pixelOffsetCache=null,!i||0===this._characterMapping.length){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(var r=0,s=this._characterMapping.length;r<=s;r++)this._pixelOffsetCache[r]=-1}}return e.prototype._getReadingTarget=function(e){return e.domNode.firstChild},e.prototype.getWidth=function(){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0},e.prototype.getWidthIsFast=function(){return-1!==this._cachedWidth},e.prototype.getVisibleRangesForRange=function(e,t,n){if(!this.domNode)return null;if(null!==this._pixelOffsetCache){var i=this._readPixelOffset(this.domNode,e,n);if(-1===i)return null;var o=this._readPixelOffset(this.domNode,t,n);return-1===o?null:[new Nr(i,o-i)]}return this._readVisibleRangesForRange(this.domNode,e,t,n)},e.prototype._readVisibleRangesForRange=function(e,t,n,i){if(t===n){var o=this._readPixelOffset(e,t,i);return-1===o?null:[new Nr(o,0)]}return this._readRawVisibleRangesForRange(e,t,n,i)},e.prototype._readPixelOffset=function(e,t,n){if(0===this._characterMapping.length){if(0===this._containsForeignElements)return 0;if(2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth();var i=this._getReadingTarget(e);return i.firstChild?i.firstChild.offsetWidth:0}if(null!==this._pixelOffsetCache){var o=this._pixelOffsetCache[t];if(-1!==o)return o;var r=this._actualReadPixelOffset(e,t,n);return this._pixelOffsetCache[t]=r,r}return this._actualReadPixelOffset(e,t,n)},e.prototype._actualReadPixelOffset=function(e,t,n){if(0===this._characterMapping.length){var i=kr.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,n.clientRectDeltaLeft,n.endNode);return i&&0!==i.length?i[0].left:-1}if(t===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth();var o=this._characterMapping.charOffsetToPartData(t-1),r=pn.getPartIndex(o),s=pn.getCharIndex(o),a=kr.readHorizontalRanges(this._getReadingTarget(e),r,s,r,s,n.clientRectDeltaLeft,n.endNode);return a&&0!==a.length?a[0].left:-1},e.prototype._readRawVisibleRangesForRange=function(e,t,n,i){if(1===t&&n===this._characterMapping.length)return[new Nr(0,this.getWidth())];var o=this._characterMapping.charOffsetToPartData(t-1),r=pn.getPartIndex(o),s=pn.getCharIndex(o),a=this._characterMapping.charOffsetToPartData(n-1),u=pn.getPartIndex(a),l=pn.getCharIndex(a);return kr.readHorizontalRanges(this._getReadingTarget(e),r,s,u,l,i.clientRectDeltaLeft,i.endNode)},e.prototype.getColumnOfNodeOffset=function(e,t,n){for(var i=t.textContent.length,o=-1;t;)t=t.previousSibling,o++;return this._characterMapping.partDataToCharOffset(o,i,n)+1},e}(),Wr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ir(t,e),t.prototype._readVisibleRangesForRange=function(t,n,i,o){var r=e.prototype._readVisibleRangesForRange.call(this,t,n,i,o);if(!r||0===r.length||n===i||1===n&&i===this._characterMapping.length)return r;if(!this.input.containsRTL){var s=this._readPixelOffset(t,i,o);if(-1!==s){var a=r[r.length-1];a.left =4&&3===e[0]&&7===e[3]},e.isStrictChildOfViewLines=function(e){return e.length>4&&3===e[0]&&7===e[3]},e.isChildOfScrollableElement=function(e){return e.length>=2&&3===e[0]&&5===e[1]},e.isChildOfMinimap=function(e){return e.length>=2&&3===e[0]&&8===e[1]},e.isChildOfContentWidgets=function(e){return e.length>=4&&3===e[0]&&1===e[3]},e.isChildOfOverflowingContentWidgets=function(e){return e.length>=1&&2===e[0]},e.isChildOfOverlayWidgets=function(e){return e.length>=2&&3===e[0]&&4===e[1]},e}(),Zr=function(){function e(e,t,n){this.model=e.model;var i=e.configuration.options;this.layoutInfo=i.get(107),this.viewDomNode=t.viewDomNode,this.lineHeight=i.get(49),this.typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,this.lastRenderData=n,this._context=e,this._viewHelper=t}return e.prototype.getZoneAtCoord=function(t){return e.getZoneAtCoord(this._context,t)},e.getZoneAtCoord=function(e,t){var n=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(n){var i=n.verticalOffset+n.height/2,o=e.model.getLineCount(),r=null,s=void 0,a=null;return n.afterLineNumber!==o&&(a=new H.a(n.afterLineNumber+1,1)),n.afterLineNumber>0&&(r=new H.a(n.afterLineNumber,e.model.getLineMaxColumn(n.afterLineNumber))),s=null===a?r:null===r?a:t=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,$r._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))})),Qr={isAfterLines:!0};function Jr(e){return{isAfterLines:!1,horizontalDistanceToText:e}}var $r=function(){function e(e,t){this._context=e,this._viewHelper=t}return e.prototype.mouseTargetIsWidget=function(e){var t=e.target,n=wr.collect(t,this._viewHelper.viewDomNode);return!(!Yr.isChildOfContentWidgets(n)&&!Yr.isChildOfOverflowingContentWidgets(n))||!!Yr.isChildOfOverlayWidgets(n)},e.prototype.createMouseTarget=function(t,n,i,o){var r=new Zr(this._context,this._viewHelper,t),s=new Xr(r,n,i,o);try{return e._createMouseTarget(r,s,!1)}catch(e){return s.fulfill(0)}},e._createMouseTarget=function(t,n,i){if(null===n.target){if(i)return n.fulfill(0);var o=e._doHitTest(t,n);return o.position?e.createMouseTargetFromHitTestPosition(t,n,o.position.lineNumber,o.position.column):this._createMouseTarget(t,n.withTarget(o.hitTarget),!0)}var r=n,s=null;return(s=(s=(s=(s=(s=(s=(s=(s=(s=(s=s||e._hitTestContentWidget(t,r))||e._hitTestOverlayWidget(t,r))||e._hitTestMinimap(t,r))||e._hitTestScrollbarSlider(t,r))||e._hitTestViewZone(t,r))||e._hitTestMargin(t,r))||e._hitTestViewCursor(t,r))||e._hitTestTextArea(t,r))||e._hitTestViewLines(t,r,i))||e._hitTestScrollbar(t,r))||n.fulfill(0)},e._hitTestContentWidget=function(e,t){if(Yr.isChildOfContentWidgets(t.targetPath)||Yr.isChildOfOverflowingContentWidgets(t.targetPath)){var n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(9,null,null,n):t.fulfill(0)}return null},e._hitTestOverlayWidget=function(e,t){if(Yr.isChildOfOverlayWidgets(t.targetPath)){var n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(12,null,null,n):t.fulfill(0)}return null},e._hitTestViewCursor=function(e,t){if(t.target)for(var n=0,i=r=e.lastRenderData.lastViewCursorsRenderData;no.contentLeft+o.width)){var c=e.getVerticalOffsetForLineNumber(o.position.lineNumber);if(c<=a&&a<=c+o.height)return t.fulfill(6,o.position)}}return null},e._hitTestViewZone=function(e,t){var n=e.getZoneAtCoord(t.mouseVerticalOffset);if(n){var i=t.isInContentArea?8:5;return t.fulfill(i,n.position,null,n)}return null},e._hitTestTextArea=function(e,t){return Yr.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfill(6,e.lastRenderData.lastTextareaPosition):t.fulfill(1,e.lastRenderData.lastTextareaPosition):null},e._hitTestMargin=function(e,t){if(t.isInMarginArea){var n=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),i=n.range.getStartPosition(),o=Math.abs(t.pos.x-t.editorPos.x),r={isAfterLines:n.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:o};return(o-=e.layoutInfo.glyphMarginLeft)<=e.layoutInfo.glyphMarginWidth?t.fulfill(2,i,n.range,r):(o-=e.layoutInfo.glyphMarginWidth)<=e.layoutInfo.lineNumbersWidth?t.fulfill(3,i,n.range,r):(o-=e.layoutInfo.lineNumbersWidth,t.fulfill(4,i,n.range,r))}return null},e._hitTestViewLines=function(t,n,i){if(!Yr.isChildOfViewLines(n.targetPath))return null;if(t.isAfterLines(n.mouseVerticalOffset)){var o=t.model.getLineCount(),r=t.model.getLineMaxColumn(o);return n.fulfill(7,new H.a(o,r),void 0,Qr)}if(i){if(Yr.isStrictChildOfViewLines(n.targetPath)){var s=t.getLineNumberAtVerticalOffset(n.mouseVerticalOffset);if(0===t.model.getLineLength(s)){var a=t.getLineWidth(s),u=Jr(n.mouseContentHorizontalOffset-a);return n.fulfill(7,new H.a(s,1),void 0,u)}var l=t.getLineWidth(s);if(n.mouseContentHorizontalOffset>=l){u=Jr(n.mouseContentHorizontalOffset-l);var c=new H.a(s,t.model.getLineMaxColumn(s));return n.fulfill(7,c,void 0,u)}}return n.fulfill(0)}var d=e._doHitTest(t,n);return d.position?e.createMouseTargetFromHitTestPosition(t,n,d.position.lineNumber,d.position.column):this._createMouseTarget(t,n.withTarget(d.hitTarget),!0)},e._hitTestMinimap=function(e,t){if(Yr.isChildOfMinimap(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new H.a(n,i))}return null},e._hitTestScrollbarSlider=function(e,t){if(Yr.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){var n=t.target.className;if(n&&/\b(slider|scrollbar)\b/.test(n)){var i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),o=e.model.getLineMaxColumn(i);return t.fulfill(11,new H.a(i,o))}}return null},e._hitTestScrollbar=function(e,t){if(Yr.isChildOfScrollableElement(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new H.a(n,i))}return null},e.prototype.getMouseColumn=function(t,n){var i=this._context.configuration.options,o=i.get(107),r=this._context.viewLayout.getCurrentScrollLeft()+n.x-t.x-o.contentLeft;return e._getMouseColumn(r,i.get(34).typicalHalfwidthCharacterWidth)},e._getMouseColumn=function(e,t){return e<0?1:Math.round(e/t)+1},e.createMouseTargetFromHitTestPosition=function(e,t,n,i){var o=new H.a(n,i),r=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>r){if(Yo.e&&1===o.column){var s=Jr(t.mouseContentHorizontalOffset-r);return t.fulfill(7,new H.a(n,e.model.getLineMaxColumn(n)),void 0,s)}var a=Jr(t.mouseContentHorizontalOffset-r);return t.fulfill(7,o,void 0,a)}var u=e.visibleRangeForPosition(n,i);if(!u)return t.fulfill(0,o);var l=u.left;if(t.mouseContentHorizontalOffset===l)return t.fulfill(6,o);var c=[];if(c.push({offset:u.left,column:i}),i>1){var d=e.visibleRangeForPosition(n,i-1);d&&c.push({offset:d.left,column:i-1})}if(i =t.editorPos.y+e.layoutInfo.height&&(o=t.editorPos.y+e.layoutInfo.height-1);var r=new cr(t.pos.x,o),s=this._actualDoHitTestWithCaretRangeFromPoint(e,r.toClientCoordinates());return s.position?s:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())},e._actualDoHitTestWithCaretRangeFromPoint=function(e,t){var n,i=Z.y(e.viewDomNode);if(!(n=i?void 0===i.caretRangeFromPoint?function(e,t,n){var i=document.createRange(),o=e.elementFromPoint(t,n);if(null!==o){for(;o&&o.firstChild&&o.firstChild.nodeType!==o.firstChild.TEXT_NODE;)o=o.lastChild;var r=o.getBoundingClientRect(),s=window.getComputedStyle(o,null).getPropertyValue("font"),a=o.innerText,u=r.left,l=0,c=void 0;if(t>r.left+r.width)l=a.length;else for(var d=es.getInstance(),h=0;h 0?1:-1;Ee.setZoomLevel(n+i),t.preventDefault(),t.stopPropagation()}}}),{capture:!0,passive:!1})),r._context.addEventHandler(r),r}return ts(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onCursorStateChanged=function(e){return this._mouseDownOperation.onCursorStateChanged(e),!1},t.prototype.onFocusChanged=function(e){return this._isFocused=e.isFocused,!1},t.prototype.onScrollChanged=function(e){return this._mouseDownOperation.onScrollChanged(),!1},t.prototype.getTargetAtClientPoint=function(e,t){var n=new dr(e,t).toPageCoordinates(),i=fr(this.viewHelper.viewDomNode);return n.y i.y+i.height||n.x i.x+i.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),i,n,null)},t.prototype._createMouseTarget=function(e,t){return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,t?e.target:null)},t.prototype._getMouseColumn=function(e){return this.mouseTargetFactory.getMouseColumn(e.editorPos,e.pos)},t.prototype._onContextMenu=function(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})},t.prototype._onMouseMove=function(e){this._mouseDownOperation.isActive()||(e.timestamp t.y+t.height){var a,u;r=i.getCurrentScrollTop()+(e.posy-t.y);if(a=Zr.getZoneAtCoord(this._context,r))if(u=this._helpPositionJumpOverViewZone(a))return new Gr(null,13,o,u);var l=i.getLineNumberAtVerticalOffset(r);return new Gr(null,13,o,new H.a(l,n.getLineMaxColumn(l)))}var c=i.getLineNumberAtVerticalOffset(i.getCurrentScrollTop()+(e.posy-t.y));return e.posx t.x+t.width?new Gr(null,13,o,new H.a(c,n.getLineMaxColumn(c))):null},t.prototype._findMousePosition=function(e,t){var n=this._getPositionOutsideEditor(e);if(n)return n;var i=this._createMouseTarget(e,t);if(!i.position)return null;if(8===i.type||5===i.type){var o=this._helpPositionJumpOverViewZone(i.detail);if(o)return new Gr(i.element,i.type,i.mouseColumn,o,null,i.detail)}return i},t.prototype._helpPositionJumpOverViewZone=function(e){var t=new H.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),n=e.positionBefore,i=e.positionAfter;return n&&i?n.isBefore(t)?n:i:null},t.prototype._dispatchMouse=function(e,t){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})},t}(le.a),rs=function(){function e(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}return Object.defineProperty(e.prototype,"altKey",{get:function(){return this._altKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ctrlKey",{get:function(){return this._ctrlKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"metaKey",{get:function(){return this._metaKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shiftKey",{get:function(){return this._shiftKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftButton",{get:function(){return this._leftButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"middleButton",{get:function(){return this._middleButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startedOnLineNumbers",{get:function(){return this._startedOnLineNumbers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){return this._lastMouseDownCount},enumerable:!0,configurable:!0}),e.prototype.setModifiers=function(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey},e.prototype.setStartButtons=function(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton},e.prototype.setStartedOnLineNumbers=function(e){this._startedOnLineNumbers=e},e.prototype.trySetCount=function(t,n){var i=(new Date).getTime();i-this._lastSetMouseDownCountTime>e.CLEAR_MOUSE_DOWN_COUNT_TIME&&(t=1),this._lastSetMouseDownCountTime=i,t>this._lastMouseDownCount+1&&(t=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(n)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=n,this._lastMouseDownCount=Math.min(t,this._lastMouseDownPositionEqualCount)},e.CLEAR_MOUSE_DOWN_COUNT_TIME=400,e}(),ss=n("CjF5"),as=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 us(e,t){var n={translationY:t.translationY,translationX:t.translationX};return e&&(n.translationY+=e.translationY,n.translationX+=e.translationX),n}var ls=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o.viewHelper.linesContentDomNode.style.msTouchAction="none",o.viewHelper.linesContentDomNode.style.msContentZooming="none",o._installGestureHandlerTimeout=window.setTimeout((function(){if(o._installGestureHandlerTimeout=-1,window.MSGesture){var e=new MSGesture,t=new MSGesture;e.target=o.viewHelper.linesContentDomNode,t.target=o.viewHelper.linesContentDomNode,o.viewHelper.linesContentDomNode.addEventListener("MSPointerDown",(function(n){var i=n.pointerType;i!==(n.MSPOINTER_TYPE_MOUSE||"mouse")?i===(n.MSPOINTER_TYPE_TOUCH||"touch")?(o._lastPointerType="touch",e.addPointer(n.pointerId)):(o._lastPointerType="pen",t.addPointer(n.pointerId)):o._lastPointerType="mouse"})),o._register(Z.j(o.viewHelper.linesContentDomNode,"MSGestureChange",(function(e){return o._onGestureChange(e)}),us)),o._register(Z.g(o.viewHelper.linesContentDomNode,"MSGestureTap",(function(e){return o._onCaptureGestureTap(e)}),!0))}}),100),o._lastPointerType="mouse",o}return as(t,e),t.prototype._onMouseDown=function(t){"mouse"===this._lastPointerType&&e.prototype._onMouseDown.call(this,t)},t.prototype._onCaptureGestureTap=function(e){var t=this,n=new pr(e,this.viewHelper.viewDomNode),i=this._createMouseTarget(n,!1);i.position&&this.viewController.moveTo(i.position),n.browserEvent.fromElement?(n.preventDefault(),this.viewHelper.focusTextArea()):setTimeout((function(){t.viewHelper.focusTextArea()}))},t.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),e.prototype.dispose.call(this)},t}(is),cs=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o.viewHelper.linesContentDomNode.style.touchAction="none",o._installGestureHandlerTimeout=window.setTimeout((function(){if(o._installGestureHandlerTimeout=-1,window.MSGesture){var e=new MSGesture,t=new MSGesture;e.target=o.viewHelper.linesContentDomNode,t.target=o.viewHelper.linesContentDomNode,o.viewHelper.linesContentDomNode.addEventListener("pointerdown",(function(n){var i=n.pointerType;"mouse"!==i?"touch"===i?(o._lastPointerType="touch",e.addPointer(n.pointerId)):(o._lastPointerType="pen",t.addPointer(n.pointerId)):o._lastPointerType="mouse"})),o._register(Z.j(o.viewHelper.linesContentDomNode,"MSGestureChange",(function(e){return o._onGestureChange(e)}),us)),o._register(Z.g(o.viewHelper.linesContentDomNode,"MSGestureTap",(function(e){return o._onCaptureGestureTap(e)}),!0))}}),100),o._lastPointerType="mouse",o}return as(t,e),t.prototype._onMouseDown=function(t){"mouse"===this._lastPointerType&&e.prototype._onMouseDown.call(this,t)},t.prototype._onCaptureGestureTap=function(e){var t=this,n=new pr(e,this.viewHelper.viewDomNode),i=this._createMouseTarget(n,!1);i.position&&this.viewController.moveTo(i.position),n.browserEvent.fromElement?(n.preventDefault(),this.viewHelper.focusTextArea()):setTimeout((function(){t.viewHelper.focusTextArea()}))},t.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),e.prototype.dispose.call(this)},t}(is),ds=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;o._register(sr.b.addTarget(o.viewHelper.linesContentDomNode)),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Tap,(function(e){return o.onTap(e)}))),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Change,(function(e){return o.onChange(e)}))),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Contextmenu,(function(e){return o._onContextMenu(new pr(e,o.viewHelper.viewDomNode),!1)}))),o._lastPointerType="mouse",o._register(Z.g(o.viewHelper.linesContentDomNode,"pointerdown",(function(e){var t=e.pointerType;o._lastPointerType="mouse"!==t?"touch"===t?"touch":"pen":"mouse"})));var r=new mr(o.viewHelper.viewDomNode);return o._register(r.onPointerMoveThrottled(o.viewHelper.viewDomNode,(function(e){return o._onMouseMove(e)}),ns(o.mouseTargetFactory),is.MOUSE_MOVE_MINIMUM_TIME)),o._register(r.onPointerUp(o.viewHelper.viewDomNode,(function(e){return o._onMouseUp(e)}))),o._register(r.onPointerLeave(o.viewHelper.viewDomNode,(function(e){return o._onMouseLeave(e)}))),o._register(r.onPointerDown(o.viewHelper.viewDomNode,(function(e){return o._onMouseDown(e)}))),o}return as(t,e),t.prototype.onTap=function(e){if(e.initialTarget&&this.viewHelper.linesContentDomNode.contains(e.initialTarget)){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new pr(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.dispatchMouse({position:t.position,mouseColumn:t.position.column,startedOnLineNumbers:!1,mouseDownCount:e.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1})}},t.prototype.onChange=function(e){"touch"===this._lastPointerType&&this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype._onMouseDown=function(t){t.target&&this.viewHelper.linesContentDomNode.contains(t.target)&&"touch"===this._lastPointerType||e.prototype._onMouseDown.call(this,t)},t}(is),hs=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o._register(sr.b.addTarget(o.viewHelper.linesContentDomNode)),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Tap,(function(e){return o.onTap(e)}))),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Change,(function(e){return o.onChange(e)}))),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Contextmenu,(function(e){return o._onContextMenu(new pr(e,o.viewHelper.viewDomNode),!1)}))),o}return as(t,e),t.prototype.onTap=function(e){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new pr(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.moveTo(t.position)},t.prototype.onChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t}(is),fs=function(e){function t(t,n,i){var o=e.call(this)||this;return window.navigator.msPointerEnabled?o.handler=o._register(new ls(t,n,i)):ie.c&&ss.a.pointerEvents?o.handler=o._register(new ds(t,n,i)):window.TouchEvent?o.handler=o._register(new hs(t,n,i)):window.navigator.pointerEnabled||window.PointerEvent?o.handler=o._register(new cs(t,n,i)):o.handler=o._register(new is(t,n,i)),o}return as(t,e),t.prototype.getTargetAtClientPoint=function(e,t){return this.handler.getTargetAtClientPoint(e,t)},t}(le.a),ps=(n("VvMK"),function(){function e(e,t,n,i,o){this.value=e,this.selectionStart=t,this.selectionEnd=n,this.selectionStartPosition=i,this.selectionEndPosition=o}return e.prototype.toString=function(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"},e.readFromTextArea=function(t){return new e(t.getValue(),t.getSelectionStart(),t.getSelectionEnd(),null,null)},e.prototype.collapseSelection=function(){return new e(this.value,this.value.length,this.value.length,null,null)},e.prototype.writeToTextArea=function(e,t,n){t.setValue(e,this.value),n&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)},e.prototype.deduceEditorPosition=function(e){if(e<=this.selectionStart){var t=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1)}if(e>=this.selectionEnd){t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(this.selectionEndPosition,t,1)}var n=this.value.substring(this.selectionStart,e);if(-1===n.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(this.selectionStartPosition,n,1);var i=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,i,-1)},e.prototype._finishDeduceEditorPosition=function(e,t,n){for(var i=0,o=-1;-1!==(o=t.indexOf("\n",o+1));)i++;return[e,n*t.length,i]},e.selectedText=function(t){return new e(t,0,t.length,null,null)},e.deduceInput=function(e,t,n){if(!e)return{text:"",replaceCharCnt:0};var i=e.value,o=e.selectionStart,r=e.selectionEnd,s=t.value,a=t.selectionStart,u=t.selectionEnd,l=i.substring(r),c=s.substring(u),d=ne.d(l,c);s=s.substring(0,s.length-d);var h=(i=i.substring(0,i.length-d)).substring(0,o),f=s.substring(0,a),p=ne.c(h,f);if(s=s.substring(p),i=i.substring(p),a-=p,o-=p,u-=p,r-=p,n&&a===u&&i.length>0){var g=null;if(a===s.length?ne.H(s,i)&&(g=s.substring(i.length)):ne.k(s,i)&&(g=s.substring(0,s.length-i.length)),null!==g&&g.length>0&&(/\uFE0F/.test(g)||ne.e(g)))return{text:g,replaceCharCnt:0}}return a===u?i===s&&0===o&&r===i.length&&a===s.length&&-1===s.indexOf("\n")&&ne.f(s)?{text:"",replaceCharCnt:0}:{text:s,replaceCharCnt:h.length-p}:{text:s,replaceCharCnt:r-o}},e.EMPTY=new e("",0,0,null,null),e}()),gs=function(){function e(){}return e._getPageOfLine=function(e,t){return Math.floor((e-1)/t)},e._getRangeForPage=function(e,t){var n=e*t,i=n+1,o=n+t;return new z.a(i,1,o+1,1)},e.fromEditorSelection=function(t,n,i,o,r){var s,a=e._getPageOfLine(i.startLineNumber,o),u=e._getRangeForPage(a,o),l=e._getPageOfLine(i.endLineNumber,o),c=e._getRangeForPage(l,o),d=u.intersectRanges(new z.a(1,1,i.startLineNumber,i.startColumn)),h=n.getValueInRange(d,1),f=n.getLineCount(),p=n.getLineMaxColumn(f),g=c.intersectRanges(new z.a(i.endLineNumber,i.endColumn,f,p)),m=n.getValueInRange(g,1);if(a===l||a+1===l)s=n.getValueInRange(i,1);else{var v=u.intersectRanges(i),y=c.intersectRanges(i);s=n.getValueInRange(v,1)+String.fromCharCode(8230)+n.getValueInRange(y,1)}if(r){h.length>500&&(h=h.substring(h.length-500,h.length)),m.length>500&&(m=m.substring(0,500)),s.length>1e3&&(s=s.substring(0,500)+String.fromCharCode(8230)+s.substring(s.length-500,s.length))}return new ps(h+s+m,h.length,h.length+s.length,new H.a(i.startLineNumber,i.startColumn),new H.a(i.endLineNumber,i.endColumn))},e}(),ms=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)}}(),vs=!1,ys=function(){function e(){this._lastState=null}return e.prototype.set=function(e,t){this._lastState={lastCopiedValue:e,data:t}},e.prototype.get=function(e){return this._lastState&&this._lastState.lastCopiedValue===e?this._lastState.data:(this._lastState=null,null)},e.INSTANCE=new e,e}(),_s=function(e){function t(t,n){var i=e.call(this)||this;i.textArea=n,i._onFocus=i._register(new V.a),i.onFocus=i._onFocus.event,i._onBlur=i._register(new V.a),i.onBlur=i._onBlur.event,i._onKeyDown=i._register(new V.a),i.onKeyDown=i._onKeyDown.event,i._onKeyUp=i._register(new V.a),i.onKeyUp=i._onKeyUp.event,i._onCut=i._register(new V.a),i.onCut=i._onCut.event,i._onPaste=i._register(new V.a),i.onPaste=i._onPaste.event,i._onType=i._register(new V.a),i.onType=i._onType.event,i._onCompositionStart=i._register(new V.a),i.onCompositionStart=i._onCompositionStart.event,i._onCompositionUpdate=i._register(new V.a),i.onCompositionUpdate=i._onCompositionUpdate.event,i._onCompositionEnd=i._register(new V.a),i.onCompositionEnd=i._onCompositionEnd.event,i._onSelectionChangeRequest=i._register(new V.a),i.onSelectionChangeRequest=i._onSelectionChangeRequest.event,i._host=t,i._textArea=i._register(new Cs(n)),i._asyncTriggerCut=i._register(new Ve.d((function(){return i._onCut.fire()}),0)),i._textAreaState=ps.EMPTY,i._selectionChangeListener=null,i.writeScreenReaderContent("ctor"),i._hasFocus=!1,i._isDoingComposition=!1,i._nextCommand=0,i._register(Z.k(n.domNode,"keydown",(function(e){!i._isDoingComposition||109!==e.keyCode&&1!==e.keyCode||e.stopPropagation(),e.equals(9)&&e.preventDefault(),i._onKeyDown.fire(e)}))),i._register(Z.k(n.domNode,"keyup",(function(e){i._onKeyUp.fire(e)}))),i._register(Z.g(n.domNode,"compositionstart",(function(e){i._isDoingComposition||(i._isDoingComposition=!0,Yo.f||i._setAndWriteTextAreaState("compositionstart",ps.EMPTY),i._onCompositionStart.fire())})));var o=function(e){var t=i._textAreaState,n=ps.readFromTextArea(i._textArea);return[n,ps.deduceInput(t,n,e)]},r=function(e){var t=i._textAreaState,n=ps.selectedText(e);return[n,{text:n.value,replaceCharCnt:t.selectionEnd-t.selectionStart}]},s=function(e){return!(!Yo.f||"ja"!==e)||!(!Yo.i||0!==e.indexOf("zh-Han"))};return i._register(Z.g(n.domNode,"compositionupdate",(function(e){if(s(e.locale)){var t=o(!1),n=t[0],a=t[1];return i._textAreaState=n,i._onType.fire(a),void i._onCompositionUpdate.fire(e)}var u=r(e.data),l=u[0],c=u[1];i._textAreaState=l,i._onType.fire(c),i._onCompositionUpdate.fire(e)}))),i._register(Z.g(n.domNode,"compositionend",(function(e){if(i._isDoingComposition){if(s(e.locale)){var t=o(!1),n=t[0],a=t[1];i._textAreaState=n,i._onType.fire(a)}else{var u=r(e.data);n=u[0],a=u[1];i._textAreaState=n,i._onType.fire(a)}(Yo.f||Yo.d)&&(i._textAreaState=ps.readFromTextArea(i._textArea)),i._isDoingComposition&&(i._isDoingComposition=!1,i._onCompositionEnd.fire())}}))),i._register(Z.g(n.domNode,"input",(function(){if(i._textArea.setIgnoreSelectionChangeTime("received input event"),!i._isDoingComposition){var e=o(ie.e),t=e[0],n=e[1];0===n.replaceCharCnt&&1===n.text.length&&ne.x(n.text.charCodeAt(0))||(i._textAreaState=t,0===i._nextCommand?""!==n.text&&i._onType.fire(n):(""===n.text&&0===n.replaceCharCnt||i._firePaste(n.text,null),i._nextCommand=0))}}))),i._register(Z.g(n.domNode,"cut",(function(e){i._textArea.setIgnoreSelectionChangeTime("received cut event"),i._ensureClipboardGetsEditorSelection(e),i._asyncTriggerCut.schedule()}))),i._register(Z.g(n.domNode,"copy",(function(e){i._ensureClipboardGetsEditorSelection(e)}))),i._register(Z.g(n.domNode,"paste",(function(e){if(i._textArea.setIgnoreSelectionChangeTime("received paste event"),bs.canUseTextData(e)){var t=bs.getTextData(e),n=t[0],o=t[1];""!==n&&i._firePaste(n,o)}else i._textArea.getSelectionStart()!==i._textArea.getSelectionEnd()&&i._setAndWriteTextAreaState("paste",ps.EMPTY),i._nextCommand=1}))),i._register(Z.g(n.domNode,"focus",(function(){i._setHasFocus(!0)}))),i._register(Z.g(n.domNode,"blur",(function(){i._setHasFocus(!1)}))),i}return ms(t,e),t.prototype._installSelectionChangeListener=function(){var e=this,t=0;return Z.g(document,"selectionchange",(function(n){if(e._hasFocus&&!e._isDoingComposition&&Yo.d&&ie.h){var i=Date.now(),o=i-t;if(t=i,!(o<5)){var r=i-e._textArea.getIgnoreSelectionChangeTime();if(e._textArea.resetSelectionChangeTime(),!(r<100)&&e._textAreaState.selectionStartPosition&&e._textAreaState.selectionEndPosition){var s=e._textArea.getValue();if(e._textAreaState.value===s){var a=e._textArea.getSelectionStart(),u=e._textArea.getSelectionEnd();if(e._textAreaState.selectionStart!==a||e._textAreaState.selectionEnd!==u){var l=e._textAreaState.deduceEditorPosition(a),c=e._host.deduceModelPosition(l[0],l[1],l[2]),d=e._textAreaState.deduceEditorPosition(u),h=e._host.deduceModelPosition(d[0],d[1],d[2]),f=new U.a(c.lineNumber,c.column,h.lineNumber,h.column);e._onSelectionChangeRequest.fire(f)}}}}}}))},t.prototype.dispose=function(){e.prototype.dispose.call(this),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)},t.prototype.focusTextArea=function(){this._setHasFocus(!0),this.refreshFocusState()},t.prototype.isFocused=function(){return this._hasFocus},t.prototype.refreshFocusState=function(){var e=Z.y(this.textArea.domNode);e?this._setHasFocus(e.activeElement===this.textArea.domNode):Z.G(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)},t.prototype._setHasFocus=function(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&(Yo.e?this._setAndWriteTextAreaState("focusgain",ps.EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire())},t.prototype._setAndWriteTextAreaState=function(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t},t.prototype.writeScreenReaderContent=function(e){this._isDoingComposition||this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent(this._textAreaState))},t.prototype._ensureClipboardGetsEditorSelection=function(e){var t=this._host.getDataToCopy(bs.canUseTextData(e)&&ss.a.clipboard.richText),n={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};ys.INSTANCE.set(Yo.h?t.text.replace(/\r\n/g,"\n"):t.text,n),bs.canUseTextData(e)?bs.setTextData(e,t.text,t.html,n):this._setAndWriteTextAreaState("copy or cut",ps.selectedText(t.text))},t.prototype._firePaste=function(e,t){t||(t=ys.INSTANCE.get(e)),this._onPaste.fire({text:e,metadata:t})},t}(le.a),bs=function(){function e(){}return e.canUseTextData=function(e){return!!e.clipboardData||!!window.clipboardData},e.getTextData=function(e){if(e.clipboardData){e.preventDefault();var t=e.clipboardData.getData("text/plain"),n=null,i=e.clipboardData.getData("vscode-editor-data");if("string"==typeof i)try{1!==(n=JSON.parse(i)).version&&(n=null)}catch(e){}return[t,n]}if(window.clipboardData)return e.preventDefault(),[t=window.clipboardData.getData("Text"),null];throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")},e.setTextData=function(e,t,n,i){if(e.clipboardData)return e.clipboardData.setData("text/plain",t),"string"==typeof n&&e.clipboardData.setData("text/html",n),e.clipboardData.setData("vscode-editor-data",JSON.stringify(i)),void e.preventDefault();if(window.clipboardData)return window.clipboardData.setData("Text",t),void e.preventDefault();throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")},e}(),Cs=function(e){function t(t){var n=e.call(this)||this;return n._actual=t,n._ignoreSelectionChangeTime=0,n}return ms(t,e),t.prototype.setIgnoreSelectionChangeTime=function(e){this._ignoreSelectionChangeTime=Date.now()},t.prototype.getIgnoreSelectionChangeTime=function(){return this._ignoreSelectionChangeTime},t.prototype.resetSelectionChangeTime=function(){this._ignoreSelectionChangeTime=0},t.prototype.getValue=function(){return this._actual.domNode.value},t.prototype.setValue=function(e,t){var n=this._actual.domNode;n.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),n.value=t)},t.prototype.getSelectionStart=function(){return this._actual.domNode.selectionStart},t.prototype.getSelectionEnd=function(){return this._actual.domNode.selectionEnd},t.prototype.setSelectionRange=function(e,t,n){var i=this._actual.domNode,o=Z.y(i),r=(o?o.activeElement:document.activeElement)===i,s=i.selectionStart,a=i.selectionEnd;if(r&&s===t&&a===n)Yo.h&&window.parent!==window&&i.focus();else{if(r)return this.setIgnoreSelectionChangeTime("setSelectionRange"),i.setSelectionRange(t,n),void(Yo.h&&window.parent!==window&&i.focus());try{var u=Z.P(i);this.setIgnoreSelectionChangeTime("setSelectionRange"),i.focus(),i.setSelectionRange(t,n),Z.N(i,u)}catch(e){}}},t}(le.a),ws=(n("Krc3"),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)}}()),Ss=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ws(t,e),t}(_r),Os=n("zrhQ"),xs=n("MD5Z"),Ns=Object(xs.Eb)("editor.lineHighlightBackground",{dark:null,light:null,hc:null},Zn.a("lineHighlight","Background color for the highlight of line at the cursor position.")),Ls=Object(xs.Eb)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},Zn.a("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),Es=Object(xs.Eb)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},Zn.a("rangeHighlight","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."),!0),Ds=Object(xs.Eb)("editor.rangeHighlightBorder",{dark:null,light:null,hc:xs.b},Zn.a("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),ks=Object(xs.Eb)("editor.symbolHighlightBackground",{dark:xs.s,light:xs.s,hc:null},Zn.a("symbolHighlight","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."),!0),Ms=Object(xs.Eb)("editor.symbolHighlightBorder",{dark:null,light:null,hc:xs.b},Zn.a("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),Is=Object(xs.Eb)("editorCursor.foreground",{dark:"#AEAFAD",light:Os.a.black,hc:Os.a.white},Zn.a("caret","Color of the editor cursor.")),Ts=Object(xs.Eb)("editorCursor.background",null,Zn.a("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),Ps=Object(xs.Eb)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},Zn.a("editorWhitespaces","Color of whitespace characters in the editor.")),Rs=Object(xs.Eb)("editorIndentGuide.background",{dark:Ps,light:Ps,hc:Ps},Zn.a("editorIndentGuides","Color of the editor indentation guides.")),As=Object(xs.Eb)("editorIndentGuide.activeBackground",{dark:Ps,light:Ps,hc:Ps},Zn.a("editorActiveIndentGuide","Color of the active editor indentation guides.")),Fs=Object(xs.Eb)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:Os.a.white},Zn.a("editorLineNumbers","Color of editor line numbers.")),js=Object(xs.Eb)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:xs.b},Zn.a("editorActiveLineNumber","Color of editor active line number"),!1,Zn.a("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),Vs=Object(xs.Eb)("editorLineNumber.activeForeground",{dark:js,light:js,hc:js},Zn.a("editorActiveLineNumber","Color of editor active line number")),Ws=Object(xs.Eb)("editorRuler.foreground",{dark:"#5A5A5A",light:Os.a.lightgrey,hc:Os.a.white},Zn.a("editorRuler","Color of the editor rulers.")),Bs=(Object(xs.Eb)("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},Zn.a("editorCodeLensForeground","Foreground color of editor code lenses")),Object(xs.Eb)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},Zn.a("editorBracketMatchBackground","Background color behind matching brackets")),Object(xs.Eb)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:xs.e},Zn.a("editorBracketMatchBorder","Color for matching brackets boxes")),Object(xs.Eb)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},Zn.a("editorOverviewRulerBorder","Color of the overview ruler border."))),Hs=Object(xs.Eb)("editorGutter.background",{dark:xs.n,light:xs.n,hc:xs.n},Zn.a("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),zs=Object(xs.Eb)("editorUnnecessaryCode.border",{dark:null,light:null,hc:Os.a.fromHex("#fff").transparent(.8)},Zn.a("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),Us=Object(xs.Eb)("editorUnnecessaryCode.opacity",{dark:Os.a.fromHex("#000a"),light:Os.a.fromHex("#0007"),hc:null},Zn.a("unnecessaryCodeOpacity","Opacity of unnecessary (unused) source code in the editor. For example, \"#000000c0\" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.")),Ks=Object(xs.Eb)("editorOverviewRuler.errorForeground",{dark:new Os.a(new Os.b(255,18,18,.7)),light:new Os.a(new Os.b(255,18,18,.7)),hc:new Os.a(new Os.b(255,50,50,1))},Zn.a("overviewRuleError","Overview ruler marker color for errors.")),qs=Object(xs.Eb)("editorOverviewRuler.warningForeground",{dark:xs.G,light:xs.G,hc:xs.F},Zn.a("overviewRuleWarning","Overview ruler marker color for warnings.")),Gs=Object(xs.Eb)("editorOverviewRuler.infoForeground",{dark:xs.B,light:xs.B,hc:xs.A},Zn.a("overviewRuleInfo","Overview ruler marker color for infos."));Object(Mr.e)((function(e,t){var n=e.getColor(xs.n);n&&t.addRule(".monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: "+n+"; }");var i=e.getColor(xs.w);i&&t.addRule(".monaco-editor, .monaco-editor .inputarea.ime-input { color: "+i+"; }");var o=e.getColor(Hs);o&&t.addRule(".monaco-editor .margin { background-color: "+o+"; }");var r=e.getColor(Es);r&&t.addRule(".monaco-editor .rangeHighlight { background-color: "+r+"; }");var s=e.getColor(Ds);s&&t.addRule(".monaco-editor .rangeHighlight { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+s+"; }");var a=e.getColor(ks);a&&t.addRule(".monaco-editor .symbolHighlight { background-color: "+a+"; }");var u=e.getColor(Ms);u&&t.addRule(".monaco-editor .symbolHighlight { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+u+"; }");var l=e.getColor(Ps);l&&t.addRule(".vs-whitespace { color: "+l+" !important; }")}));var Ys=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)}}(),Zs=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._readConfig(),n._lastCursorModelPosition=new H.a(1,1),n._renderResult=null,n._context.addEventHandler(n),n}return Ys(t,e),t.prototype._readConfig=function(){var e=this._context.configuration.options;this._lineHeight=e.get(49);var t=e.get(50);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(71);var n=e.get(107);this._lineNumbersLeft=n.lineNumbersLeft,this._lineNumbersWidth=n.lineNumbersWidth},t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return this._readConfig(),!0},t.prototype.onCursorStateChanged=function(e){var t=e.selections[0].getPosition();return this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(t),2===this._renderLineNumbers||3===this._renderLineNumbers},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._getLineRenderLineNumber=function(e){var t=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new H.a(e,1));if(1!==t.column)return"";var n=t.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(n);if(2===this._renderLineNumbers){var i=Math.abs(this._lastCursorModelPosition.lineNumber-n);return 0===i?''+n+"":String(i)}return 3===this._renderLineNumbers?this._lastCursorModelPosition.lineNumber===n||n%10==0?String(n):"":String(n)},t.prototype.prepareRender=function(e){if(0!==this._renderLineNumbers){for(var n=ie.d?this._lineHeight%2==0?" lh-even":" lh-odd":"",i=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber,r=' ',s=this._context.model.getLineCount(),a=[],u=i;u<=o;u++){var l=u-i;if(this._renderFinalNewline||u!==s||0!==this._context.model.getLineLength(u)){var c=this._getLineRenderLineNumber(u);a[l]=c?r+c+"":""}else a[l]=""}this._renderResult=a}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.CLASS_NAME="line-numbers",t}(Ss);Object(Mr.e)((function(e,t){var n=e.getColor(Fs);n&&t.addRule(".monaco-editor .line-numbers { color: "+n+"; }");var i=e.getColor(Vs);i&&t.addRule(".monaco-editor .current-line ~ .line-numbers { color: "+i+"; }")}));var Xs=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)}}(),Qs=function(e){function t(n){var i=e.call(this,n)||this,o=i._context.configuration.options,r=o.get(107);return i._canUseLayerHinting=!o.get(22),i._contentLeft=r.contentLeft,i._glyphMarginLeft=r.glyphMarginLeft,i._glyphMarginWidth=r.glyphMarginWidth,i._domNode=Object(rr.b)(document.createElement("div")),i._domNode.setClassName(t.OUTER_CLASS_NAME),i._domNode.setPosition("absolute"),i._domNode.setAttribute("role","presentation"),i._domNode.setAttribute("aria-hidden","true"),i._glyphMarginBackgroundDomNode=Object(rr.b)(document.createElement("div")),i._glyphMarginBackgroundDomNode.setClassName(t.CLASS_NAME),i._domNode.appendChild(i._glyphMarginBackgroundDomNode),i}return Xs(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._canUseLayerHinting=!t.get(22),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollTopChanged},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");var t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);var n=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(n),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(n)},t.CLASS_NAME="glyph-margin",t.OUTER_CLASS_NAME="margin",t}(Cr),Js=n("5v8Y"),$s=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)}}(),ea=function(){function e(e){this.type=1,this._source=e}return e.prototype.hasChanged=function(e){return this._source.hasChanged(e)},e}(),ta=function(e){this.type=2,this.contentWidth=e.contentWidth,this.contentHeight=e.contentHeight,this.contentWidthChanged=e.contentWidthChanged,this.contentHeightChanged=e.contentHeightChanged},na=function(e,t){this.type=3,this.selections=e,this.modelSelections=t},ia=function(){this.type=4},oa=function(){this.type=5},ra=function(e){this.type=6,this.isFocused=e},sa=function(){this.type=7},aa=function(){this.type=8},ua=function(e,t){this.type=9,this.fromLineNumber=e,this.toLineNumber=t},la=function(e,t){this.type=10,this.fromLineNumber=e,this.toLineNumber=t},ca=function(e,t){this.type=11,this.fromLineNumber=e,this.toLineNumber=t},da=function(e,t,n,i,o){this.type=12,this.source=e,this.range=t,this.verticalType=n,this.revealHorizontal=i,this.scrollType=o},ha=function(e){this.type=13,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged},fa=function(){this.type=14},pa=function(e){this.type=15,this.ranges=e},ga=function(){this.type=16},ma=function(){this.type=17},va=function(e){function t(){var t=e.call(this)||this;return t._listeners=[],t._collector=null,t._collectorCnt=0,t}return $s(t,e),t.prototype.dispose=function(){this._listeners=[],e.prototype.dispose.call(this)},t.prototype._beginEmit=function(){return this._collectorCnt++,1===this._collectorCnt&&(this._collector=new ya),this._collector},t.prototype._endEmit=function(){if(this._collectorCnt--,0===this._collectorCnt){var e=this._collector.finalize();this._collector=null,e.length>0&&this._emit(e)}},t.prototype._emit=function(e){for(var t=this._listeners.slice(0),n=0,i=t.length;n0)return new ps(i,i.length,i.length,n,n)}}return ps.EMPTY}return gs.fromEditorSelection(e,a,o._selections[0],o._accessibilityPageSize,0===o._accessibilitySupport)},deduceModelPosition:function(e,t,n){return o._context.model.deduceModelPositionRelativeToViewPosition(e,t,n)}};return o._textAreaInput=o._register(new _s(u,o.textArea)),o._register(o._textAreaInput.onKeyDown((function(e){o._viewController.emitKeyDown(e)}))),o._register(o._textAreaInput.onKeyUp((function(e){o._viewController.emitKeyUp(e)}))),o._register(o._textAreaInput.onPaste((function(e){var t=!1,n=null,i=null;e.metadata&&(t=o._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,n=void 0!==e.metadata.multicursorText?e.metadata.multicursorText:null,i=e.metadata.mode),o._viewController.paste("keyboard",e.text,t,n,i)}))),o._register(o._textAreaInput.onCut((function(){o._viewController.cut("keyboard")}))),o._register(o._textAreaInput.onType((function(e){e.replaceCharCnt?o._viewController.replacePreviousChar("keyboard",e.text,e.replaceCharCnt):o._viewController.type("keyboard",e.text)}))),o._register(o._textAreaInput.onSelectionChangeRequest((function(e){o._viewController.setSelection("keyboard",e)}))),o._register(o._textAreaInput.onCompositionStart((function(){var e=o._selections[0].startLineNumber,t=o._selections[0].startColumn;o._context.privateViewEventBus.emit(new da("keyboard",new z.a(e,t,e,t),0,!0,1));var n=o._viewHelper.visibleRangeForPositionRelativeToEditor(e,t);n&&(o._visibleTextArea=new Ca(o._context.viewLayout.getVerticalOffsetForLineNumber(e),n.left,wa?0:1),o._render()),o.textArea.setClassName("inputarea ime-input"),o._viewController.compositionStart("keyboard")}))),o._register(o._textAreaInput.onCompositionUpdate((function(e){Yo.f?o._visibleTextArea=o._visibleTextArea.setWidth(0):o._visibleTextArea=o._visibleTextArea.setWidth(function(e,t){var n=document.createElement("canvas").getContext("2d");n.font=(i=t,o="normal",r=i.fontWeight,s=i.fontSize,a=i.lineHeight,u=i.fontFamily,o+" normal "+r+" "+s+"px / "+a+"px "+u);var i,o,r,s,a,u;var l=n.measureText(e);return Yo.h?l.width+2:l.width}(e.data,o._fontInfo)),o._render()}))),o._register(o._textAreaInput.onCompositionEnd((function(){o._visibleTextArea=null,o._render(),o.textArea.setClassName("inputarea"),o._viewController.compositionEnd("keyboard")}))),o._register(o._textAreaInput.onFocus((function(){o._context.privateViewEventBus.emit(new ra(!0))}))),o._register(o._textAreaInput.onBlur((function(){o._context.privateViewEventBus.emit(new ra(!1))}))),o}return ba(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._getWordBeforePosition=function(e){for(var t=this._context.model.getLineContent(e.lineNumber),n=Object(Js.a)(this._context.configuration.options.get(96)),i=e.column,o=0;i>1;){var r=t.charCodeAt(i-2);if(0!==n.get(r)||o>50)return t.substring(i-1,e.column-1);o++,i--}return t.substring(0,e.column-1)},t.prototype._getCharacterBeforePosition=function(e){if(e.column>1){var t=this._context.model.getLineContent(e.lineNumber).charAt(e.column-2);if(!ne.x(t.charCodeAt(0)))return t}return""},t.prototype._getAriaLabel=function(e){return 1===e.get(2)?Zn.a("accessibilityOffAriaLabel","The editor is not accessible at this time. Press Alt+F1 for options."):e.get(4)},t.prototype._setAccessibilityOptions=function(e){this._accessibilitySupport=e.get(2);var t=e.get(3);2===this._accessibilitySupport&&t===F.e.accessibilityPageSize.defaultValue?this._accessibilityPageSize=160:this._accessibilityPageSize=t},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._setAccessibilityOptions(t),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._contentHeight=n.height,this._fontInfo=t.get(34),this._lineHeight=t.get(49),this._emptySelectionClipboard=t.get(25),this._copyWithSyntaxHighlighting=t.get(15),this.textArea.setAttribute("aria-label",this._getAriaLabel(t)),ie.g&&e.hasChanged(68)&&(t.get(68)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),e.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!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 this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0},t.prototype.onZonesChanged=function(e){return!0},t.prototype.isFocused=function(){return this._textAreaInput.isFocused()},t.prototype.focusTextArea=function(){this._textAreaInput.focusTextArea()},t.prototype.getLastRenderData=function(){return this._lastRenderPosition},t.prototype.setAriaOptions=function(e){e.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",e.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant"))},t.prototype.prepareRender=function(e){this._primaryCursorPosition=new H.a(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition)},t.prototype.render=function(e){this._textAreaInput.writeScreenReaderContent("render"),this._render()},t.prototype._render=function(){if(this._visibleTextArea)this._renderInsideEditor(null,this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight);else if(this._primaryCursorVisibleRange){var e=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(ethis._contentLeft+this._contentWidth)this._renderAtTopLeft();else{var t=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;t<0||t>this._contentHeight?this._renderAtTopLeft():ie.e?this._renderInsideEditor(this._primaryCursorPosition,t,e,wa?0:1,this._lineHeight):this._renderInsideEditor(this._primaryCursorPosition,t,e,wa?0:1,wa?0:1)}}else this._renderAtTopLeft()},t.prototype._renderInsideEditor=function(e,t,n,i,o){this._lastRenderPosition=e;var r=this.textArea,s=this.textAreaCover;ir.applyFontInfo(r,this._fontInfo),r.setTop(t),r.setLeft(n),r.setWidth(i),r.setHeight(o),s.setTop(0),s.setLeft(0),s.setWidth(0),s.setHeight(0)},t.prototype._renderAtTopLeft=function(){this._lastRenderPosition=null;var e=this.textArea,t=this.textAreaCover;if(ir.applyFontInfo(e,this._fontInfo),e.setTop(0),e.setLeft(0),t.setTop(0),t.setLeft(0),wa)return e.setWidth(0),e.setHeight(0),t.setWidth(0),void t.setHeight(0);e.setWidth(1),e.setHeight(1),t.setWidth(1),t.setHeight(1);var n=this._context.configuration.options;n.get(40)?t.setClassName("monaco-editor-background textAreaCover "+Qs.OUTER_CLASS_NAME):0!==n.get(50).renderType?t.setClassName("monaco-editor-background textAreaCover "+Zs.CLASS_NAME):t.setClassName("monaco-editor-background textAreaCover")},t}(Cr);var Oa=n("1YUG"),xa=function(){function e(e,t,n,i){this.configuration=e,this.viewModel=t,this.outgoingEvents=n,this.commandDelegate=i}return e.prototype._execMouseCommand=function(e,t){t.source="mouse",this.commandDelegate.executeEditorCommand(e,t)},e.prototype.paste=function(e,t,n,i,o){this.commandDelegate.paste(e,t,n,i,o)},e.prototype.type=function(e,t){this.commandDelegate.type(e,t)},e.prototype.replacePreviousChar=function(e,t,n){this.commandDelegate.replacePreviousChar(e,t,n)},e.prototype.compositionStart=function(e){this.commandDelegate.compositionStart(e)},e.prototype.compositionEnd=function(e){this.commandDelegate.compositionEnd(e)},e.prototype.cut=function(e){this.commandDelegate.cut(e)},e.prototype.setSelection=function(e,t){this.commandDelegate.executeEditorCommand(Oa.CoreNavigationCommands.SetSelection,{source:e,selection:t})},e.prototype._validateViewColumn=function(e){var t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column =4?this._selectAll():3===e.mouseDownCount?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position):this._lastCursorLineSelect(e.position):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):2===e.mouseDownCount?this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position):e.inSelectionMode?this._wordSelectDrag(e.position):this._wordSelect(e.position):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position):this.moveTo(e.position)},e.prototype._usualArgs=function(e){return e=this._validateViewColumn(e),{position:this._convertViewToModelPosition(e),viewPosition:e}},e.prototype.moveTo=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.MoveTo,this._usualArgs(e))},e.prototype._moveToSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.MoveToSelect,this._usualArgs(e))},e.prototype._columnSelect=function(e,t,n){e=this._validateViewColumn(e),this._execMouseCommand(Oa.CoreNavigationCommands.ColumnSelect,{position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:n})},e.prototype._createCursor=function(e,t){e=this._validateViewColumn(e),this._execMouseCommand(Oa.CoreNavigationCommands.CreateCursor,{position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})},e.prototype._lastCursorMoveToSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LastCursorMoveToSelect,this._usualArgs(e))},e.prototype._wordSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.WordSelect,this._usualArgs(e))},e.prototype._wordSelectDrag=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.WordSelectDrag,this._usualArgs(e))},e.prototype._lastCursorWordSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LastCursorWordSelect,this._usualArgs(e))},e.prototype._lineSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LineSelect,this._usualArgs(e))},e.prototype._lineSelectDrag=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LineSelectDrag,this._usualArgs(e))},e.prototype._lastCursorLineSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LastCursorLineSelect,this._usualArgs(e))},e.prototype._lastCursorLineSelectDrag=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LastCursorLineSelectDrag,this._usualArgs(e))},e.prototype._selectAll=function(){this._execMouseCommand(Oa.CoreNavigationCommands.SelectAll,{})},e.prototype._convertViewToModelPosition=function(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)},e.prototype.emitKeyDown=function(e){this.outgoingEvents.emitKeyDown(e)},e.prototype.emitKeyUp=function(e){this.outgoingEvents.emitKeyUp(e)},e.prototype.emitContextMenu=function(e){this.outgoingEvents.emitContextMenu(e)},e.prototype.emitMouseMove=function(e){this.outgoingEvents.emitMouseMove(e)},e.prototype.emitMouseLeave=function(e){this.outgoingEvents.emitMouseLeave(e)},e.prototype.emitMouseUp=function(e){this.outgoingEvents.emitMouseUp(e)},e.prototype.emitMouseDown=function(e){this.outgoingEvents.emitMouseDown(e)},e.prototype.emitMouseDrag=function(e){this.outgoingEvents.emitMouseDrag(e)},e.prototype.emitMouseDrop=function(e){this.outgoingEvents.emitMouseDrop(e)},e.prototype.emitMouseWheel=function(e){this.outgoingEvents.emitMouseWheel(e)},e}(),Na=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)}}(),La=function(e){function t(t){var n=e.call(this)||this;return n.onDidContentSizeChange=null,n.onDidScroll=null,n.onDidGainFocus=null,n.onDidLoseFocus=null,n.onKeyDown=null,n.onKeyUp=null,n.onContextMenu=null,n.onMouseMove=null,n.onMouseLeave=null,n.onMouseUp=null,n.onMouseDown=null,n.onMouseDrag=null,n.onMouseDrop=null,n.onMouseWheel=null,n._viewModel=t,n}return Na(t,e),t.prototype.emitContentSizeChange=function(e){this.onDidContentSizeChange&&this.onDidContentSizeChange(e)},t.prototype.emitScrollChanged=function(e){this.onDidScroll&&this.onDidScroll(e)},t.prototype.emitViewFocusGained=function(){this.onDidGainFocus&&this.onDidGainFocus(void 0)},t.prototype.emitViewFocusLost=function(){this.onDidLoseFocus&&this.onDidLoseFocus(void 0)},t.prototype.emitKeyDown=function(e){this.onKeyDown&&this.onKeyDown(e)},t.prototype.emitKeyUp=function(e){this.onKeyUp&&this.onKeyUp(e)},t.prototype.emitContextMenu=function(e){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseMove=function(e){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseLeave=function(e){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseUp=function(e){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDown=function(e){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDrag=function(e){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDrop=function(e){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseWheel=function(e){this.onMouseWheel&&this.onMouseWheel(e)},t.prototype._convertViewToModelMouseEvent=function(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e},t.prototype._convertViewToModelMouseTarget=function(e){return t.convertViewToModelMouseTarget(e,this._viewModel.coordinatesConverter)},t.convertViewToModelMouseTarget=function(e,t){return new Ea(e.element,e.type,e.mouseColumn,e.position?t.convertViewPositionToModelPosition(e.position):null,e.range?t.convertViewRangeToModelRange(e.range):null,e.detail)},t}(le.a),Ea=function(){function e(e,t,n,i,o,r){this.element=e,this.type=t,this.mouseColumn=n,this.position=i,this.range=o,this.detail=r}return e.prototype.toString=function(){return Gr.toString(this)},e}(),Da=function(){function e(e){this._createLine=e,this._set(1,[])}return e.prototype.flush=function(){this._set(1,[])},e.prototype._set=function(e,t){this._lines=t,this._rendLineNumberStart=e},e.prototype._get=function(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}},e.prototype.getStartLineNumber=function(){return this._rendLineNumberStart},e.prototype.getEndLineNumber=function(){return this._rendLineNumberStart+this._lines.length-1},e.prototype.getCount=function(){return this._lines.length},e.prototype.getLine=function(e){var t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[t]},e.prototype.onLinesDeleted=function(e,t){if(0===this.getCount())return null;var n=this.getStartLineNumber(),i=this.getEndLineNumber();if(t i)return null;for(var r=0,s=0,a=n;a<=i;a++){var u=a-this._rendLineNumberStart;e<=a&&a<=t&&(0===s?(r=u,s=1):s++)}if(e =n&&r<=i&&(this._lines[r-this._rendLineNumberStart].onContentChanged(),o=!0);return o},e.prototype.onLinesInserted=function(e,t){if(0===this.getCount())return null;var n=t-e+1,i=this.getStartLineNumber(),o=this.getEndLineNumber();if(e<=i)return this._rendLineNumberStart+=n,null;if(e>o)return null;if(n+e>o)return this._lines.splice(e-this._rendLineNumberStart,o-e+1);for(var r=[],s=0;s n))for(var a=Math.max(t,s.fromLineNumber),u=Math.min(n,s.toLineNumber),l=a;l<=u;l++){var c=l-this._rendLineNumberStart;this._lines[c].onTokensChanged(),i=!0}}return i},e}(),ka=function(){function e(e){var t=this;this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new Da((function(){return t._host.createVisibleLine()}))}return e.prototype._createDomNode=function(){var e=Object(rr.b)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e},e.prototype.onConfigurationChanged=function(e){return!!e.hasChanged(107)},e.prototype.onFlushed=function(e){return this._linesCollection.flush(),!0},e.prototype.onLinesChanged=function(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesDeleted=function(e){var t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(var n=0,i=t.length;nt)(u=t)<=(s=Math.min(n,o.rendLineNumberStart-1))&&(this._insertLinesBefore(o,u,s,i,t),o.linesLength+=s-u+1);else if(o.rendLineNumberStart 0&&(this._removeLinesBefore(o,a),o.linesLength-=a)}if(o.rendLineNumberStart=t,o.rendLineNumberStart+o.linesLength-1 n){var s,a,u=Math.max(0,n-o.rendLineNumberStart+1);(a=(s=o.linesLength-1)-u+1)>0&&(this._removeLinesAfter(o,a),o.linesLength-=a)}return this._finishRendering(o,!1,i),o},e.prototype._renderUntouchedLines=function(e,t,n,i,o){for(var r=e.rendLineNumberStart,s=e.lines,a=t;a<=n;a++){var u=r+a;s[a].layoutLine(u,i[u-o])}},e.prototype._insertLinesBefore=function(e,t,n,i,o){for(var r=[],s=0,a=t;a<=n;a++)r[s++]=this.host.createVisibleLine();e.lines=r.concat(e.lines)},e.prototype._removeLinesBefore=function(e,t){for(var n=0;n =0;s--){var a=e.lines[s];i[s]&&(a.setDomNode(r),r=r.previousSibling)}},e.prototype._finishRenderingInvalidLines=function(e,t,n){var i=document.createElement("div");i.innerHTML=t;for(var o=0;o '),i.appendASCIIString(o),i.appendASCIIString(""),!0)},e.prototype.layoutLine=function(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))},e}(),Ra=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options.get(107);return n._contentWidth=i.contentWidth,n.domNode.setHeight(0),n}return Ia(t,e),t.prototype.onConfigurationChanged=function(t){var n=this._context.configuration.options.get(107);return this._contentWidth=n.contentWidth,e.prototype.onConfigurationChanged.call(this,t)||!0},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}(Ta),Aa=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options,o=i.get(107);return n._contentLeft=o.contentLeft,n.domNode.setClassName("margin-view-overlays"),n.domNode.setWidth(1),ir.applyFontInfo(n.domNode,i.get(34)),n}return Ia(t,e),t.prototype.onConfigurationChanged=function(t){var n=this._context.configuration.options;ir.applyFontInfo(this.domNode,n.get(34));var i=n.get(107);return this._contentLeft=i.contentLeft,e.prototype.onConfigurationChanged.call(this,t)||!0},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}(Ta),Fa=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)}}(),ja=function(e,t){this.top=e,this.left=t},Va=function(e){function t(t,n){var i=e.call(this,t)||this;return i._viewDomNode=n,i._widgets={},i.domNode=Object(rr.b)(document.createElement("div")),wr.write(i.domNode,1),i.domNode.setClassName("contentWidgets"),i.domNode.setPosition("absolute"),i.domNode.setTop(0),i.overflowingContentWidgetsDomNode=Object(rr.b)(document.createElement("div")),wr.write(i.overflowingContentWidgetsDomNode,2),i.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets"),i}return Fa(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,f=t.left;return h+n>o.scrollLeft+o.viewportWidth&&(h=o.scrollLeft+o.viewportWidth-n),f+n>o.scrollLeft+o.viewportWidth&&(f=o.scrollLeft+o.viewportWidth-n),h s&&(a-=o=a-(s-i),n-=o);a =22,y=l+i<=c.height-22;return this._fixedOverflowWidgets?{fitsAbove:v,aboveTop:Math.max(u,22),aboveLeft:f,fitsBelow:y,belowTop:l,belowLeft:m}:{fitsAbove:v,aboveTop:Math.max(r,22),aboveLeft:h,fitsBelow:y,belowTop:s,belowLeft:g}},e.prototype._prepareRenderWidgetAtExactPositionOverflowing=function(e){return new ja(e.top,e.left+this._contentLeft)},e.prototype._getTopAndBottomLeft=function(e){if(!this._viewRange)return[null,null];var t=e.linesVisibleRangesForRange(this._viewRange,!1);if(!t||0===t.length)return[null,null];for(var n=t[0],i=t[0],o=0,r=t;o i.lineNumber&&(i=s)}for(var a=1073741824,u=0,l=n.ranges;u e.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}(),Ba=(n("kw+w"),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)}}()),Ha=!0,za=function(e){function t(t){var n=e.call(this)||this;n._context=t;var i=n._context.configuration.options,o=i.get(107);return n._lineHeight=i.get(49),n._renderLineHighlight=i.get(72),n._contentLeft=o.contentLeft,n._contentWidth=o.contentWidth,n._selectionIsEmpty=!0,n._cursorLineNumbers=[],n._selections=[],n._renderData=null,n._context.addEventHandler(n),n}return Ba(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype._readFromSelections=function(){var e=!1,t=Ha?this._selections.slice(0,1):this._selections,n=t.map((function(e){return e.positionLineNumber}));n.sort((function(e,t){return e-t})),Xe.f(this._cursorLineNumbers,n)||(this._cursorLineNumbers=n,e=!0);var i=t.every((function(e){return e.isEmpty()}));return this._selectionIsEmpty!==i&&(this._selectionIsEmpty=i,e=!0),e},t.prototype.onThemeChanged=function(e){return this._readFromSelections()},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._lineHeight=t.get(49),this._renderLineHighlight=t.get(72),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections,this._readFromSelections()},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||e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){if(this._shouldRenderThis()){for(var t=this._renderOne(e),n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,o=this._cursorLineNumbers.length,r=0,s=[],a=n;a<=i;a++){for(var u=a-n;r =this._renderData.length?"":this._renderData[n]},t}(Ss),Ua=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ba(t,e),t.prototype._renderOne=function(e){return''},t.prototype._shouldRenderThis=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t.prototype._shouldRenderOther=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t}(za),Ka=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ba(t,e),t.prototype._renderOne=function(e){return''},t.prototype._shouldRenderThis=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t.prototype._shouldRenderOther=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t}(za);Object(Mr.e)((function(e,t){Ha=!1;var n=e.getColor(Ns);if(n&&(t.addRule(".monaco-editor .view-overlays .current-line { background-color: "+n+"; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { background-color: "+n+"; border: none; }")),!n||n.isTransparent()||e.defines(Ls)){var i=e.getColor(Ls);i&&(Ha=!0,t.addRule(".monaco-editor .view-overlays .current-line { border: 2px solid "+i+"; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid "+i+"; }"),"hc"===e.type&&(t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}}));n("Vtyv");var qa=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)}}(),Ga=function(e){function t(t){var n=e.call(this)||this;n._context=t;var i=n._context.configuration.options;return n._lineHeight=i.get(49),n._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,n._renderResult=null,n._context.addEventHandler(n),n}return qa(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=t.get(34).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;o t.options.zIndex)return 1;var n=e.options.className,i=t.options.className;return ni?1:z.a.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}(Ss),Ya=n("GJhM"),Za=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)}}(),Xa=function(e){function t(t,n,i,o){var r=e.call(this,t)||this,s=r._context.configuration.options,a=s.get(78),u=s.get(56),l=s.get(27),c={listenOnDomNode:i.domNode,className:"editor-scrollable "+Object(Mr.d)(t.theme.type),useShadows:!1,lazyRender:!0,vertical:a.vertical,horizontal:a.horizontal,verticalHasArrows:a.verticalHasArrows,horizontalHasArrows:a.horizontalHasArrows,verticalScrollbarSize:a.verticalScrollbarSize,verticalSliderSize:a.verticalSliderSize,horizontalScrollbarSize:a.horizontalScrollbarSize,horizontalSliderSize:a.horizontalSliderSize,handleMouseWheel:a.handleMouseWheel,alwaysConsumeMouseWheel:a.alwaysConsumeMouseWheel,arrowSize:a.arrowSize,mouseWheelScrollSensitivity:u,fastScrollSensitivity:l};r.scrollbar=r._register(new Ya.c(n.domNode,c,r._context.viewLayout.getScrollable())),wr.write(r.scrollbar.getDomNode(),5),r.scrollbarDomNode=Object(rr.b)(r.scrollbar.getDomNode()),r.scrollbarDomNode.setPosition("absolute"),r._setLayout();var d=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(Z.g(i.domNode,"scroll",(function(e){return d(i.domNode,!0,!0)}))),r._register(Z.g(n.domNode,"scroll",(function(e){return d(n.domNode,!0,!1)}))),r._register(Z.g(o.domNode,"scroll",(function(e){return d(o.domNode,!0,!1)}))),r._register(Z.g(r.scrollbarDomNode.domNode,"scroll",(function(e){return d(r.scrollbarDomNode.domNode,!0,!1)}))),r}return Za(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._setLayout=function(){var e=this._context.configuration.options,t=e.get(107);this.scrollbarDomNode.setLeft(t.contentLeft),"right"===e.get(54).side?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)},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.hasChanged(78)||e.hasChanged(56)||e.hasChanged(27)){var t=this._context.configuration.options,n=t.get(78),i=t.get(56),o=t.get(27),r={handleMouseWheel:n.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:o};this.scrollbar.updateOptions(r)}return e.hasChanged(107)&&this._setLayout(),!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onThemeChanged=function(e){return this.scrollbar.updateClassName("editor-scrollable "+Object(Mr.d)(this._context.theme.type)),!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this.scrollbar.renderNow()},t}(Cr),Qa=(n("hHjc"),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)}}()),Ja=function(e,t,n){this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(n)},$a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Qa(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}($a),tu=(n("C6rC"),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)}}()),nu=function(e){function t(t){var n=e.call(this)||this;n._context=t,n._primaryLineNumber=0;var i=n._context.configuration.options,o=i.get(108),r=i.get(34);return n._lineHeight=i.get(49),n._spaceWidth=r.spaceWidth,n._enabled=i.get(70),n._activeIndentEnabled=i.get(43),n._maxIndentLeft=-1===o.wrappingColumn?-1:o.wrappingColumn*r.typicalHalfwidthCharacterWidth,n._renderResult=null,n._context.addEventHandler(n),n}return tu(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(108),i=t.get(34);return this._lineHeight=t.get(49),this._spaceWidth=i.spaceWidth,this._enabled=t.get(70),this._activeIndentEnabled=t.get(43),this._maxIndentLeft=-1===n.wrappingColumn?-1:n.wrappingColumn*i.typicalHalfwidthCharacterWidth,!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++){var f=a<=h&&h<=u,p=h-t,g=s[p],m="";if(g>=1)for(var v=e.visibleRangeForPosition(new H.a(h,1)),y=v?v.left:0,_=1;_<=g;_++){if(m+='',(y+=i)>o||this._maxIndentLeft>0&&y>this._maxIndentLeft)break}d[p]=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}(Ss);Object(Mr.e)((function(e,t){var n=e.getColor(Rs);n&&t.addRule(".monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 "+n+" inset; }");var i=e.getColor(As)||n;i&&t.addRule(".monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 "+i+" inset; }")}));n("OKK6");var iu=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)}}(),ou=function(){function e(){this._currentVisibleRange=new z.a(1,1,1,1)}return e.prototype.getCurrentVisibleRange=function(){return this._currentVisibleRange},e.prototype.setCurrentVisibleRange=function(e){this._currentVisibleRange=e},e}(),ru=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},su=function(e){function t(t,n){var i=e.call(this,t)||this;i._linesContent=n,i._textRangeRestingSpot=document.createElement("div"),i._visibleLines=new ka(i),i.domNode=i._visibleLines.domNode;var o=i._context.configuration,r=i._context.configuration.options,s=r.get(34),a=r.get(108);return i._lineHeight=r.get(49),i._typicalHalfwidthCharacterWidth=s.typicalHalfwidthCharacterWidth,i._isViewportWrapping=a.isViewportWrapping,i._revealHorizontalRightPadding=r.get(75),i._cursorSurroundingLines=r.get(19),i._cursorSurroundingLinesStyle=r.get(20),i._canUseLayerHinting=!r.get(22),i._viewLineOptions=new Ar(o,i._context.theme.type),wr.write(i.domNode,7),i.domNode.setClassName("view-lines"),ir.applyFontInfo(i.domNode,s),i._maxLineWidth=0,i._asyncUpdateLineWidths=new Ve.d((function(){i._updateLineWidthsSlow()}),200),i._lastRenderedData=new ou,i._horizontalRevealRequest=null,i}return iu(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 Fr(this._viewLineOptions)},t.prototype.onConfigurationChanged=function(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(108)&&(this._maxLineWidth=0);var t=this._context.configuration.options,n=t.get(34),i=t.get(108);return this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._isViewportWrapping=i.isViewportWrapping,this._revealHorizontalRightPadding=t.get(75),this._cursorSurroundingLines=t.get(19),this._cursorSurroundingLinesStyle=t.get(20),this._canUseLayerHinting=!t.get(22),ir.applyFontInfo(this.domNode,n),this._onOptionsMaybeChanged(),e.hasChanged(107)&&(this._maxLineWidth=0),!0},t.prototype._onOptionsMaybeChanged=function(){var e=this._context.configuration,t=new Ar(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.source,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 ru(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.scrollTop',r=[],s=t;s<=n;s++){for(var a=s-t,u=i[a],l="",c=0,d=u.length;cn)&&(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 H.a(i,1);var o=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber();if(i r)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=z.a.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!i)return null;var o=[],r=0,s=new Rr(this.domNode.domNode,this._textRangeRestingSpot),a=0;t&&(a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new H.a(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),f=this._visibleLines.getVisibleLine(c).getVisibleRangesForRange(d,h,s);if(f){if(t&&c this._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(t,n,new Rr(this.domNode.domNode,this._textRangeRestingSpot))},t.prototype.visibleRangeForPosition=function(e){var t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new Lr(t.outsideRenderedLine,t.ranges[0].left):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),this._linesContent.setContain("strict");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._maxLineWidth u)s=o;else if(1===i||2===i)if(2===i&&a<=o&&r<=l)s=a;else{var d=(o+r)/2;s=Math.max(0,d-u/2)}else s=this._computeMinimumScrolling(a,l,o,r,3===i,4===i);return s},t.prototype._computeScrollLeftToRevealRange=function(e,n,i){var o=0,r=this._context.viewLayout.getCurrentViewport(),s=r.left,a=s+r.width,u=this._visibleRangesForLineRange(e,n,i),l=1073741824,c=0;if(!u)return{scrollLeft:s,maxHorizontalOffset:o};for(var d=0,h=u.ranges;d c&&(c=f.left+f.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}(Cr),au=(n("J+ZK"),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)}}()),uu=function(e){function t(t){var n=e.call(this)||this;n._context=t;var i=n._context.configuration.options.get(107);return n._decorationsLeft=i.decorationsLeft,n._decorationsWidth=i.decorationsWidth,n._renderResult=null,n._context.addEventHandler(n),n}return au(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options.get(107);return this._decorationsLeft=t.decorationsLeft,this._decorationsWidth=t.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';o[s]=u}this._renderResult=o},t.prototype.render=function(e,t){return this._renderResult?this._renderResult[t-e]:""},t}($a),du=(n("8gvo"),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}()),hu=function(){function e(){var e=this;this._onDidChange=new V.a,this.onDidChange=this._onDidChange.event,this._updateColorMap(),Re.y.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=Re.y.getColorMap();if(!e)return this._colors=[du.Empty],void(this._backgroundIsLight=!0);this._colors=[du.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}(),fu=function(){for(var e=[],t=32;t<=126;t++)e.push(t);return e.push(65533),e}(),pu=function(){function e(t,n){this.scale=n,this.charDataNormal=e.soften(t,.8),this.charDataLight=e.soften(t,50/60)}return e.soften=function(e,t){for(var n=new Uint8ClampedArray(e.length),i=0,o=e.length;i e.width||n+l>e.height)console.warn("bad render request outside image data");else for(var c=a?this.charDataLight:this.charDataNormal,d=function(e,t){return(e-=32)<0||e>96?t<=2?(e+96)%96:95:e}(i,s),h=4*e.width,f=r.r,p=r.g,g=r.b,m=o.r-f,v=o.g-p,y=o.b-g,_=e.data,b=d*u*l,C=n*h+4*t,w=0;w e.width||n+a>e.height)console.warn("bad render request outside image data");else for(var u=4*e.width,l=o.r,c=o.g,d=o.b,h=l+.5*(i.r-l),f=c+.5*(i.g-c),p=d+.5*(i.b-d),g=e.data,m=n*u+4*t,v=0;v>1]=mu[e[n]]<<4|15&mu[e[n+1]];return t},yu={1:Object(gu.a)((function(){return vu("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")})),2:Object(gu.a)((function(){return vu("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126")}))},_u=function(){function e(){}return e.create=function(t,n){return this.lastCreated&&t===this.lastCreated.scale&&n===this.lastFontFamily?this.lastCreated:(i=yu[t]?new pu(yu[t](),t):e.createFromSampleData(e.createSampleData(n).data,t),this.lastFontFamily=n,this.lastCreated=i,i);var i},e.createSampleData=function(e){var t=document.createElement("canvas"),n=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",n.fillStyle="#ffffff",n.font="bold 16px "+e,n.textBaseline="middle";for(var i=0,o=0,r=fu;o 0)for(var l=255/a,c=0;c=s+b)return new e(a,u,y,_,c,C=1,s);var C=Math.max(1,Math.floor(n-_*h/f));return l&&l.scrollHeight===u&&(l.scrollTop>a&&(C=Math.min(C,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._gestureDisposable=sr.b.addTarget(n._domNode.domNode),n._sliderTouchStartListener=Z.g(n._domNode.domNode,sr.a.Start,(function(e){e.preventDefault(),e.stopPropagation(),n._lastRenderData&&(n._slider.toggleClassName("active",!0),n._gestureInProgress=!0,n.scrollDueToTouchEvent(e))})),n._sliderTouchMoveListener=Z.k(n._domNode.domNode,sr.a.Change,(function(e){e.preventDefault(),e.stopPropagation(),n._lastRenderData&&n._gestureInProgress&&n.scrollDueToTouchEvent(e)})),n._sliderTouchEndListener=Z.k(n._domNode.domNode,sr.a.End,(function(e){e.preventDefault(),e.stopPropagation(),n._gestureInProgress=!1,n._slider.toggleClassName("active",!1)})),n}return bu(t,e),t.prototype.scrollDueToTouchEvent=function(e){var t=this._domNode.domNode.getBoundingClientRect().top,n=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._context.viewLayout.setScrollPositionNow({scrollTop:n})},t.prototype.dispose=function(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.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._decorationsCanvas.setWidth(this._options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._options.canvasInnerHeight,this._slider.setWidth(this._options.minimapWidth)},t.prototype._getBuffer=function(){return this._buffers||this._options.canvasInnerWidth>0&&this._options.canvasInnerHeight>0&&(this._buffers=new Lu(this._canvas.domNode.getContext("2d"),this._options.canvasInnerWidth,this._options.canvasInnerHeight,this._tokensColorTracker.getColor(2))),this._buffers?this._buffers.getBuffer():null},t.prototype._onOptionsMaybeChanged=function(){var e=new Su(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.onCursorStateChanged=function(e){return this._selections=e.selections,this._renderDecorations=!0,!0},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 this._renderDecorations=!0,!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.onDecorationsChanged=function(e){return this._renderDecorations=!0,!0},t.prototype.onThemeChanged=function(e){return this._context.model.invalidateMinimapColorCache(),this._selectionColor=this._context.theme.getColor(xs.yb),this._renderDecorations=!0,!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=Ou.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*wu(this._options.renderMinimap,this._options.fontScale)/this._options.pixelRatio));this._sliderHorizontal.setLeft(i),this._sliderHorizontal.setWidth(this._options.minimapWidth-i),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(t.sliderHeight),this.renderDecorations(t),this._lastRenderData=this.renderLines(t)},t.prototype.renderDecorations=function(e){if(this._renderDecorations){this._renderDecorations=!1;var t=this._context.model.getDecorationsInViewport(new z.a(e.startLineNumber,1,e.endLineNumber,this._context.model.getLineMaxColumn(e.endLineNumber))),n=this._options,i=n.renderMinimap,o=n.canvasInnerWidth,r=n.canvasInnerHeight,s=Cu(i,this._options.fontScale),a=wu(0,this._options.fontScale),u=this._context.model.getOptions().tabSize,l=this._decorationsCanvas.domNode.getContext("2d");l.clearRect(0,0,o,r);for(var c=new Map,d=0;d this._options.canvasInnerHeight)){var d=t.get(r),h=!d;if(!d){var f=this._context.model.getLineContent(r);d=[F.f];for(var p=1;p r?d.length-1:y-1;if(w>0){var S=d[w]-C||2;this.renderDecoration(e,i,C,c,S,s)}h&&this.renderLineHighlight(e,i,c,s)}},t.prototype.renderLineHighlight=function(e,t,n,i){e.fillStyle=t&&t.transparent(.5).toString()||"",e.fillRect(F.f,n,e.canvas.width,i)},t.prototype.renderDecoration=function(e,t,n,i,o,r){e.fillStyle=t&&t.toString()||"",e.fillRect(n,i,o,r)},t.prototype.renderLines=function(e){var n=this._options.renderMinimap,i=this._options.charRenderer(),o=e.startLineNumber,r=e.endLineNumber,s=Cu(n,this._options.fontScale);if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){var a=this._lastRenderData._get();return new Nu(e,a.imageData,a.lines)}var u=this._getBuffer();if(!u)return null;for(var l=t._renderUntouchedLines(u,o,r,s,this._lastRenderData),c=l[0],d=l[1],h=l[2],f=this._context.model.getMinimapLinesRenderingData(o,r,h),p=f.tabSize,g=this._tokensColorTracker.getColor(2),m=this._tokensColorTracker.backgroundIsLight(),v=0,y=[],_=0,b=r-o+1;_=0&&x f)return;var w=c.charCodeAt(g);if(9===w){var S=a-(g+m)%a;m+=S-1,p+=S*h}else if(32===w)p+=h;else for(var O=ne.w(w)?2:1,x=0;x f)return}},t}(Cr);Object(Mr.e)((function(e,t){var n=e.getColor(xs.Ib);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(xs.Jb);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(xs.Hb);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(xs.Gb);u&&t.addRule(".monaco-editor .minimap-shadow-visible { box-shadow: "+u+" -6px 0 6px -6px inset; }")}));n("cl4r");var Du=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)}}(),ku=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options.get(107);return n._widgets={},n._verticalScrollbarWidth=i.verticalScrollbarWidth,n._minimapWidth=i.minimapWidth,n._horizontalScrollbarHeight=i.horizontalScrollbarHeight,n._editorHeight=i.height,n._editorWidth=i.width,n._domNode=Object(rr.b)(document.createElement("div")),wr.write(n._domNode,4),n._domNode.setClassName("overlayWidgets"),n}return Du(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){var t=this._context.configuration.options.get(107);return this._verticalScrollbarWidth=t.verticalScrollbarWidth,this._minimapWidth=t.minimapWidth,this._horizontalScrollbarHeight=t.horizontalScrollbarHeight,this._editorHeight=t.height,this._editorWidth=t.width,!0},t.prototype.addWidget=function(e){var t=Object(rr.b)(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}(),Tu=function(e){function t(t){var n=e.call(this,t)||this;return n._domNode=Object(rr.b)(document.createElement("canvas")),n._domNode.setClassName("decorationsOverviewRuler"),n._domNode.setPosition("absolute"),n._domNode.setLayerHinting(!0),n._domNode.setContain("strict"),n._domNode.setAttribute("aria-hidden","true"),n._updateSettings(!1),n._tokensColorTrackerListener=Re.y.onDidChange((function(e){e.changedColorMap&&n._updateSettings(!0)})),n._cursorPositions=[],n}return Mu(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._tokensColorTrackerListener.dispose()},t.prototype._updateSettings=function(e){var t=new Iu(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;t t&&(D=t-a),O=D-a,M=D+a;O>y+1||C!==m?(0!==_&&u.fillRect(l[m],v,c[m],y-v),m=C,v=O,y=M):M>y&&(y=M)}u.fillRect(l[m],v,c[m],y-v)}if(!this._settings.hideCursor&&this._settings.cursorColor){var x=2*this._settings.pixelRatio|0,N=x/2|0,L=this._settings.x[7],E=this._settings.w[7];u.fillStyle=this._settings.cursorColor;for(v=-100,y=-100,_=0,b=this._cursorPositions.length;_t&&(D=t-N);var M=(O=D-N)+x;O>y+1?(0!==_&&u.fillRect(L,v,E,y-v),v=O,y=M):M>y&&(y=M)}u.fillRect(L,v,E,y-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())}else this._domNode.setBackgroundColor(this._settings.backgroundColor?this._settings.backgroundColor:"")},t}(Cr),Pu=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}(),Ru=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.color n&&(h=n-f);var p=u.color,g=this._color2Id[p];g||(g=++this._lastAssignedId,this._color2Id[p]=g,this._id2Color[g]=p);var m=new Pu(h-f,h+f,g);u.setColorZone(m),r.push(m)}return this._colorZonesInvalid=!1,r.sort(Pu.compare),r},e}(),Fu=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)}}(),ju=function(e){function t(t,n){var i=e.call(this)||this;i._context=t;var o=i._context.configuration.options;return i._domNode=Object(rr.b)(document.createElement("canvas")),i._domNode.setClassName(n),i._domNode.setPosition("absolute"),i._domNode.setLayerHinting(!0),i._domNode.setContain("strict"),i._zoneManager=new Au((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(o.get(49)),i._zoneManager.setPixelRatio(o.get(105)),i._context.addEventHandler(i),i}return Fu(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return e.hasChanged(49)&&(this._zoneManager.setLineHeight(t.get(49)),this._render()),e.hasChanged(105)&&(this._zoneManager.setPixelRatio(t.get(105)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0},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}(_r),Vu=(n("7zd4"),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)}}()),Wu=function(e){function t(t){var n=e.call(this,t)||this;n.domNode=Object(rr.b)(document.createElement("div")),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n.domNode.setClassName("view-rulers"),n._renderedRulers=[];var i=n._context.configuration.options;return n._rulers=i.get(77),n._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,n}return Vu(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._rulers=t.get(77),this._typicalHalfwidthCharacterWidth=t.get(34).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(e 0;){(r=Object(rr.b)(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;t 0;return this._shouldShow!==e&&(this._shouldShow=e,!0)},t.prototype.getDomNode=function(){return this._domNode},t.prototype._updateWidth=function(){var e=this._context.configuration.options.get(107);0===e.renderMinimap||e.minimapWidth>0&&0===e.minimapLeft?this._width=e.width:this._width=e.width-e.minimapWidth-e.verticalScrollbarWidth},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options.get(78);return this._useShadows=t.useShadows,this._updateWidth(),this._updateShouldShow(),!0},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}(Cr);Object(Mr.e)((function(e,t){var n=e.getColor(xs.Gb);n&&t.addRule(".monaco-editor .scroll-decoration { box-shadow: "+n+" 0 6px 6px -6px inset; }")}));n("eC1c");var zu=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)}}(),Uu=function(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null},Ku=function(e,t){this.lineNumber=e,this.ranges=t};function qu(e){return new Uu(e)}function Gu(e){return new Ku(e.lineNumber,e.ranges.map(qu))}var Yu=Yo.f,Zu=function(e){function t(t){var n=e.call(this)||this;n._previousFrameVisibleRangesWithStyle=[],n._context=t;var i=n._context.configuration.options;return n._lineHeight=i.get(49),n._roundedSelection=i.get(76),n._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,n._selections=[],n._renderResult=null,n._context.addEventHandler(n),n}return zu(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._lineHeight=t.get(49),this._roundedSelection=t.get(76),this._typicalHalfwidthCharacterWidth=t.get(34).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;t 1)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;a 0){var g=t[a-1].ranges[0].left,m=t[a-1].ranges[0].left+t[a-1].ranges[0].width;Xu(d-g)g&&(f.top=1),Xu(h-m)'},t.prototype._actualRenderOneSelection=function(e,n,i,o){if(0!==o.length)for(var r=!!o[0].ranges[0].startStyle,s=this._lineHeight.toString(),a=(this._lineHeight-1).toString(),u=o[0].lineNumber,l=o[o.length-1].lineNumber,c=0,d=o.length;c 1,l)}}this._previousFrameVisibleRangesWithStyle=r,this._renderResult=t.map((function(e){return e[0]+e[1]}))},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}(Ss);function Xu(e){return e<0?-e:e}Object(Mr.e)((function(e,t){var n=e.getColor(xs.C);n&&t.addRule(".monaco-editor .focused .selected-text { background-color: "+n+"; }");var i=e.getColor(xs.z);i&&t.addRule(".monaco-editor .selected-text { background-color: "+i+"; }");var o=e.getColor(xs.D);o&&t.addRule(".monaco-editor .view-line span.inline-selected-text { color: "+o+"; }")}));n("2Tsy");var Qu=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},Ju=function(){function e(e){this._context=e;var t=this._context.configuration.options,n=t.get(34);this._cursorStyle=t.get(18),this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(21),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(rr.b)(document.createElement("div")),this._domNode.setClassName("cursor"),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),ir.applyFontInfo(this._domNode,n),this._domNode.setDisplay("none"),this._position=new H.a(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){var t=this._context.configuration.options,n=t.get(34);return this._cursorStyle=t.get(18),this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(21),this._typicalHalfwidthCharacterWidth),ir.applyFontInfo(this._domNode,n),!0},e.prototype.onCursorPositionChanged=function(e){return this._position=e,!0},e.prototype._prepareRender=function(e){var t="";if(this._cursorStyle===F.g.Line||this._cursorStyle===F.g.LineThin){var n,i=e.visibleRangeForPosition(this._position);if(!i||i.outsideRenderedLine)return null;if(this._cursorStyle===F.g.Line){if((n=Z.p(this._lineCursorWidth>0?this._lineCursorWidth:2))>2){var o=this._context.model.getLineContent(this._position.lineNumber),r=ne.C(o,this._position.column-1);t=o.substr(this._position.column-1,r)}}else n=Z.p(1);var s=i.left;n>=2&&s>=1&&(s-=1);var a=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta;return new Qu(a,s,n,this._lineHeight,t,"")}var u=this._context.model.getLineContent(this._position.lineNumber),l=ne.C(u,this._position.column-1),c=e.linesVisibleRangesForRange(new z.a(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+l),!1);if(!c||0===c.length)return null;var d=c[0];if(d.outsideRenderedLine||0===d.ranges.length)return null;var h=d.ranges[0],f=h.width<1?this._typicalHalfwidthCharacterWidth:h.width,p="";if(this._cursorStyle===F.g.Block){var g=this._context.model.getViewLineData(this._position.lineNumber);t=u.substr(this._position.column-1,l);var m=g.tokens.findTokenIndexAtOffset(this._position.column-1);p=g.tokens.getClassName(m)}var v=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta,y=this._lineHeight;return this._cursorStyle!==F.g.Underline&&this._cursorStyle!==F.g.UnderlineThin||(v+=this._lineHeight-2,y=2),new Qu(v,h.left,f,y,t,p)},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}(),$u=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)}}(),el=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options;return n._readOnly=i.get(68),n._cursorBlinking=i.get(16),n._cursorStyle=i.get(18),n._cursorSmoothCaretAnimation=i.get(17),n._selectionIsEmpty=!0,n._isVisible=!1,n._primaryCursor=new Ju(n._context),n._secondaryCursors=[],n._renderData=[],n._domNode=Object(rr.b)(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 Ve.e,n._cursorFlatBlinkInterval=new Ve.c,n._blinkingEnabled=!1,n._editorHasFocus=!1,n._updateBlinking(),n}return $u(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){var t=this._context.configuration.options;this._readOnly=t.get(68),this._cursorBlinking=t.get(16),this._cursorStyle=t.get(18),this._cursorSmoothCaretAnimation=t.get(17),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(var n=0,i=this._secondaryCursors.length;nt.length){var r=this._secondaryCursors.length-t.length;for(i=0;i n){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;t d&&S.index--}e.splice(d,1),t.splice(c,1),this._removeSecondaryCursor(d-1),o--}}}}},e}(),hl=n("snIX"),fl=n("GR/f"),pl=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 gl=function(e,t,n,i,o,r){this.selections=e,this.modelVersionId=t,this.oldSelections=n,this.oldModelVersionId=i,this.source=o,this.reason=r},ml=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;t =t.length)return!1;if(!t[n].strictContainsRange(e[n]))return!1}return!0},e}(),yl=function(e){function t(t,n,i){var o=e.call(this)||this;o._onDidReachMaxCursorCount=o._register(new V.a),o.onDidReachMaxCursorCount=o._onDidReachMaxCursorCount.event,o._onDidAttemptReadOnlyEdit=o._register(new V.a),o.onDidAttemptReadOnlyEdit=o._onDidAttemptReadOnlyEdit.event,o._onDidChange=o._register(new V.a),o.onDidChange=o._onDidChange.event,o._configuration=t,o._model=n,o._knownModelVersionId=o._model.getVersionId(),o._viewModel=i,o.context=new Ur.c(o._configuration,o._model,o._viewModel),o._cursors=new dl(o.context),o._isHandling=!1,o._isDoingComposition=!1,o._selectionsWhenCompositionStarted=null,o._columnSelectData=null,o._autoClosedActions=[],o._prevEditOperationType=0,o._register(o._model.onDidChangeRawContent((function(e){if(o._knownModelVersionId=e.versionId,!o._isHandling){var t=e.containsEvent(1);o._onModelContentChanged(t)}}))),o._register(i.addEventListener((function(e){(function(e){for(var t=0,n=e.length;t 0)for(var e=this._cursors.getSelections(),t=0;t t.MAX_CURSOR_COUNT&&(i=i.slice(0,t.MAX_CURSOR_COUNT),this._onDidReachMaxCursorCount.fire(void 0));var o=new ml(this._model,this);this._cursors.setStates(i),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,n,o)},t.prototype.setColumnSelectData=function(e){this._columnSelectData=e},t.prototype.reveal=function(e,t,n,i){this._revealRange(e,n,0,t,i)},t.prototype.revealRange=function(e,t,n,i,o){this.emitCursorRevealRange(e,n,i,t,o)},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;n0&&this._pushAutoClosedAction(n,i),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}},t.prototype._interpretCommandResult=function(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()},t.prototype._emitStateChangedIfNecessary=function(e,t,n){var i=new ml(this._model,this);if(i.equals(n))return!1;var o=this._cursors.getSelections(),r=this._cursors.getViewSelections();try{this._beginEmit().emit(new na(r,o))}finally{this._endEmit()}if(!n||n.cursorState.length!==i.cursorState.length||i.cursorState.some((function(e,t){return!e.modelState.equals(n.cursorState[t].modelState)}))){var s=n?n.cursorState.map((function(e){return e.modelState.selection})):null,a=n?n.modelVersionId:0;this._onDidChange.fire(new gl(o,i.modelVersionId,s,a,e||"keyboard",t))}return!0},t.prototype._revealRange=function(e,t,n,i,o){var r=this._cursors.getViewPositions(),s=r[0];if(1===t)for(var a=1;a 1)return;var u=new z.a(s.lineNumber,s.column,s.lineNumber,s.column);this.emitCursorRevealRange(e,u,n,i,o)},t.prototype.emitCursorRevealRange=function(e,t,n,i,o){try{this._beginEmit().emit(new da(e,t,n,i,o))}finally{this._endEmit()}},t.prototype._findAutoClosingPairs=function(e){if(!e.length)return null;for(var t=[],n=0,i=e.length;n=0)return null;var r=o.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!r)return null;var s=r[1],a=this.context.config.autoClosingPairsClose2.get(s);if(!a||1!==a.length)return null;var u=a[0].open,l=o.text.length-r[2].length-1,c=o.text.lastIndexOf(u,l-1);if(-1===c)return null;t.push([c,l])}return t},t.prototype.executeEdits=function(e,t,n){var i=this,o=null;"snippet"===e&&(o=this._findAutoClosingPairs(t)),o&&(t[0]._isTracked=!0);var r=[],s=[],a=this._model.pushEditOperations(this.getSelections(),t,(function(e){if(o)for(var t=0,a=o.length;t0&&this._pushAutoClosedAction(r,s)},t.prototype.trigger=function(e,t,n){var i=Te.b;if(t===i.CompositionStart)return this._isDoingComposition=!0,void(this._selectionsWhenCompositionStarted=this.getSelections().slice(0));if(t===i.CompositionEnd&&(this._isDoingComposition=!1),this._configuration.options.get(68))this._onDidAttemptReadOnlyEdit.fire(void 0);else{var o=new ml(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){Object(We.e)(e)}this._isHandling=!1,t!==i.Undo&&t!==i.Redo&&this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,r,o)&&this._revealRange(e,0,0,!0,0)}},t.prototype._interpretCompositionEnd=function(e){if(!this._isDoingComposition&&"keyboard"===e){var t=vl.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(fl.a.compositionEndWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this._selectionsWhenCompositionStarted,this.getSelections(),t)),this._selectionsWhenCompositionStarted=null}},t.prototype._type=function(e,t){if(this._isDoingComposition||"keyboard"!==e)this._executeEditOperation(fl.a.typeWithoutInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),t));else for(var n=t.length,i=0;i 0&&(r[0]._isTracked=!0);var u=e.model.pushEditOperations(e.selectionsBefore,r,(function(n){for(var i=[],o=0;o 0?(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 U.a(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn):new U.a(i.endLineNumber,i.endColumn,i.startLineNumber,i.startColumn)}})):l[n]=e.selectionsBefore[n]};for(o=0;o o.identifier.major?i.identifier.major:o.identifier.major).toString()]=!0;for(var s=0;s 0&&n--}}return t},e}(),bl=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}(),Cl=n("wQH0");function wl(e,t,n,i,o,r,s){for(var a=" ",u=i,l=0,c=0,d=t.getCount();c"}var Sl=n("QuOb"),Ol=function(){function e(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}return e.prototype.insert=function(e){this._hasPending=!0,this._inserts.push(e)},e.prototype.change=function(e){this._hasPending=!0,this._changes.push(e)},e.prototype.remove=function(e){this._hasPending=!0,this._removes.push(e)},e.prototype.mustCommit=function(){return this._hasPending},e.prototype.commit=function(e){if(this._hasPending){var t=this._inserts,n=this._changes,i=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],e._commitPendingChanges(t,n,i)}},e}(),xl=function(e,t,n,i,o){this.id=e,this.afterLineNumber=t,this.ordinal=n,this.height=i,this.minWidth=o,this.prefixSum=0},Nl=function(){function e(t,n){this._instanceId=ne.G(++e.INSTANCE_COUNT),this._pendingChanges=new Ol,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=t,this._lineHeight=n}return e.findInsertionIndex=function(e,t,n){for(var i=0,o=e.length;i0;)f+=s?" ":" ",g--;break;case 60:f+="<";break;case 62:f+=">";break;case 38:f+="&";break;case 0:f+="";break;case 65279:case 8232:f+="�";break;case 13:f+="";break;case 32:f+=s?" ":" ";break;default:f+=String.fromCharCode(p)}}if(a+=''+f+"",h>o||u>=o)break}}return a+=" >>1;t===e[r].afterLineNumber?n 0||n.length>0)&&(this._minWidth=-1),e.length+t.length+n.length<=1){for(var i=0,o=e;i t&&(this._arr[n].afterLineNumber-=t-e+1)}},e.prototype.onLinesInserted=function(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount+=t-e+1;for(var n=0,i=this._arr.length;n=t.length||t[o+1].afterLineNumber>=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 t 1?this._lineHeight*(e-1):0)+this.getWhitespaceAccumulatedHeightBeforeLineNumber(e)},e.prototype.getWhitespaceMinWidth=function(){if(this._checkPendingChanges(),-1===this._minWidth){for(var e=0,t=0,n=this._arr.length;t this.getLinesTotalHeight()},e.prototype.getLineNumberAtOrAfterVerticalOffset=function(e){if(this._checkPendingChanges(),(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){this._checkPendingChanges(),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.getFirstWhitespaceIndexAfterLineNumber(r),l=0|this.getWhitespacesCount();-1===u?(u=l,i=a+1,n=0):(i=0|this.getAfterLineNumberForWhitespaceIndex(u),n=0|this.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 f=[],p=e+(t-e)/2,g=-1,m=r;m<=a;m++){if(-1===g){(c<=p&&p p)&&(g=m)}for(c+=o,f[m-r]=d,d+=o;i===m;)d+=n,c+=n,++u>=l?i=a+1:(i=0|this.getAfterLineNumberForWhitespaceIndex(u),n=0|this.getHeightForWhitespaceIndex(u));if(c>=t){a=m;break}}-1===g&&(g=a);var v=0|this.getVerticalOffsetForLineNumber(a),y=r,_=a;return y<_&&s t&&_--,{bigNumbersDelta:h,startLineNumber:r,endLineNumber:a,relativeVerticalOffset:f,centeredLineNumber:g,completelyVisibleStartLineNumber:y,completelyVisibleEndLineNumber:_}},e.prototype.getVerticalOffsetForWhitespaceIndex=function(e){this._checkPendingChanges(),e|=0;var t=this.getAfterLineNumberForWhitespaceIndex(e);return(t>=1?this._lineHeight*t:0)+(e>0?this.getWhitespacesAccumulatedHeight(e-1):0)},e.prototype.getWhitespaceIndexAtOrAfterVerticallOffset=function(e){this._checkPendingChanges(),e|=0;var t=0,n=this.getWhitespacesCount()-1;if(n<0)return-1;if(e>=this.getVerticalOffsetForWhitespaceIndex(n)+this.getHeightForWhitespaceIndex(n))return-1;for(;t =o+this.getHeightForWhitespaceIndex(i))t=i+1;else{if(e>=o)return i;n=i}}return t},e.prototype.getWhitespaceAtVerticalOffset=function(e){this._checkPendingChanges(),e|=0;var t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0)return null;if(t>=this.getWhitespacesCount())return null;var n=this.getVerticalOffsetForWhitespaceIndex(t);if(n>e)return null;var i=this.getHeightForWhitespaceIndex(t);return{id:this.getIdForWhitespaceIndex(t),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(t),verticalOffset:n,height:i}},e.prototype.getWhitespaceViewportData=function(e,t){this._checkPendingChanges(),e|=0,t|=0;var n=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),i=this.getWhitespacesCount()-1;if(n<0)return[];for(var o=[],r=n;r<=i;r++){var s=this.getVerticalOffsetForWhitespaceIndex(r),a=this.getHeightForWhitespaceIndex(r);if(s>=t)break;o.push({id:this.getIdForWhitespaceIndex(r),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(r),verticalOffset:s,height:a})}return o},e.prototype.getWhitespaces=function(){return this._checkPendingChanges(),this._arr.slice(0)},e.prototype.getWhitespacesCount=function(){return this._checkPendingChanges(),this._arr.length},e.prototype.getIdForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].id},e.prototype.getAfterLineNumberForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].afterLineNumber},e.prototype.getHeightForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].height},e.INSTANCE_COUNT=0,e}(),Ll=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)}}(),El=function(){function e(e,t,n,i){(e|=0)<0&&(e=0),(t|=0)<0&&(t=0),(n|=0)<0&&(n=0),(i|=0)<0&&(i=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=n,this.contentHeight=i,this.scrollHeight=Math.max(n,i)}return e.prototype.equals=function(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight},e}(),Dl=function(e){function t(t,n){var i=e.call(this)||this;return i._onDidContentSizeChange=i._register(new V.a),i.onDidContentSizeChange=i._onDidContentSizeChange.event,i._dimensions=new El(0,0,0,0),i._scrollable=i._register(new Sl.a(t,n)),i.onDidScroll=i._scrollable.onScroll,i}return Ll(t,e),t.prototype.getScrollable=function(){return this._scrollable},t.prototype.setSmoothScrollDuration=function(e){this._scrollable.setSmoothScrollDuration(e)},t.prototype.validateScrollPosition=function(e){return this._scrollable.validateScrollPosition(e)},t.prototype.getScrollDimensions=function(){return this._dimensions},t.prototype.setScrollDimensions=function(e){if(!this._dimensions.equals(e)){var t=this._dimensions;this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight});var n=t.contentWidth!==e.contentWidth,i=t.contentHeight!==e.contentHeight;(n||i)&&this._onDidContentSizeChange.fire({contentWidth:e.contentWidth,contentHeight:e.contentHeight,contentWidthChanged:n,contentHeightChanged:i})}},t.prototype.getFutureScrollPosition=function(){return this._scrollable.getFutureScrollPosition()},t.prototype.getCurrentScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},t.prototype.setScrollPositionNow=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.setScrollPositionSmooth=function(e){this._scrollable.setScrollPositionSmooth(e)},t}(le.a),kl=function(e){function t(t,n,i){var o=e.call(this)||this;o._configuration=t;var r=o._configuration.options,s=r.get(107);return o._linesLayout=new Nl(n,r.get(49)),o._scrollable=o._register(new Dl(0,i)),o._configureSmoothScrollDuration(),o._scrollable.setScrollDimensions(new El(s.contentWidth,0,s.height,0)),o.onDidScroll=o._scrollable.onDidScroll,o.onDidContentSizeChange=o._scrollable.onDidContentSizeChange,o._updateHeight(),o}return Ll(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.getScrollable=function(){return this._scrollable.getScrollable()},t.prototype.onHeightMaybeChanged=function(){this._updateHeight()},t.prototype._configureSmoothScrollDuration=function(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(87)?125:0)},t.prototype.onConfigurationChanged=function(e){var t=this._configuration.options;if(e.hasChanged(49)&&this._linesLayout.setLineHeight(t.get(49)),e.hasChanged(107)){var n=t.get(107),i=n.contentWidth,o=n.height,r=this._scrollable.getScrollDimensions(),s=r.scrollWidth;this._scrollable.setScrollDimensions(new El(i,r.contentWidth,o,this._getContentHeight(i,o,s)))}else this._updateHeight();e.hasChanged(87)&&this._configureSmoothScrollDuration()},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,t){var n=this._configuration.options.get(78);return 2===n.horizontal||e>=t?0:n.horizontalScrollbarSize},t.prototype._getContentHeight=function(e,t,n){var i=this._configuration.options,o=this._linesLayout.getLinesTotalHeight();return i.get(80)?o+=t-i.get(49):o+=this._getHorizontalScrollbarHeight(e,n),o},t.prototype._updateHeight=function(){var e=this._scrollable.getScrollDimensions(),t=e.width,n=e.height,i=e.scrollWidth;this._scrollable.setScrollDimensions(new El(t,e.contentWidth,n,this._getContentHeight(t,n,i)))},t.prototype.getCurrentViewport=function(){var e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new bn(t.scrollTop,t.scrollLeft,e.width,e.height)},t.prototype.getFutureViewport=function(){var e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new bn(t.scrollTop,t.scrollLeft,e.width,e.height)},t.prototype._computeContentWidth=function(e){var t=this._configuration.options,n=t.get(108),i=t.get(34);if(n.isViewportWrapping){var o=t.get(107),r=t.get(54);return e>o.contentWidth+i.typicalHalfwidthCharacterWidth&&r.enabled&&"right"===r.side?e+o.verticalScrollbarWidth:e}var s=t.get(79)*i.typicalHalfwidthCharacterWidth,a=this._linesLayout.getWhitespaceMinWidth();return Math.max(e+s,a)},t.prototype.onMaxLineWidthChanged=function(e){var t=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new El(t.width,this._computeContentWidth(e),t.height,t.contentHeight)),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.changeWhitespace=function(e){return this._linesLayout.changeWhitespace(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.getContentWidth=function(){return this._scrollable.getScrollDimensions().contentWidth},t.prototype.getScrollWidth=function(){return this._scrollable.getScrollDimensions().scrollWidth},t.prototype.getContentHeight=function(){return this._scrollable.getScrollDimensions().contentHeight},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}(le.a),Ml=n("tX9W"),Il=function(e,t){this.outputLineIndex=e,this.outputOffset=t},Tl=function(){function e(e,t,n){this.breakOffsets=e,this.breakOffsetsVisibleColumn=t,this.wrappedTextIndentLength=n}return e.getInputOffsetOfOutputPosition=function(e,t,n){return 0===t?n:e[t-1]+n},e.getOutputPositionOfInputOffset=function(e,t){for(var n=0,i=e.length-1,o=0,r=0;n<=i;){var s=e[o=n+(i-n)/2|0];if(t<(r=o>0?e[o-1]:0))i=o-1;else{if(!(t>=s))break;n=o+1}}return new Il(o,t-r)},e}(),Pl=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){return this._lines.convertViewRangeToModelRange(e)},e.prototype.validateViewPosition=function(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)},e.prototype.validateViewRange=function(e,t){return this._lines.validateViewRange(e,t)},e.prototype.convertModelPositionToViewPosition=function(e){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column)},e.prototype.convertModelRangeToViewRange=function(e){return this._lines.convertModelRangeToViewRange(e)},e.prototype.modelPositionIsVisible=function(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)},e}(),Rl=function(){function e(e){this._counts=e,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}return e.prototype._invalidate=function(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)},e.prototype._ensureValid=function(){if(!this._isValid){for(var e=this._validEndIndex+1,t=this._counts.length;e 0?this._modelToView[e-1]:0;this._modelToView[e]=i+n;for(var o=0;o 0?this._modelToView[t-1]:0;return new vt(t,e-n)},e}(),Al=function(){function e(e,t,n,i,o,r,s,a){this.model=e,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=t,this._monospaceLineBreaksComputerFactory=n,this.fontInfo=i,this.tabSize=o,this.wrappingStrategy=r,this.wrappingColumn=s,this.wrappingIndent=a,this._constructLines(!0,null)}return e.prototype.dispose=function(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])},e.prototype.createCoordinatesConverter=function(){return new Pl(this)},e.prototype._constructLines=function(e,t){var n=this;this.lines=[],e&&(this.hiddenAreasIds=[]);for(var i=this.model.getLinesContent(),o=i.length,r=this.createLineBreaksComputer(),s=0;s =c&&p<=d,m=zl(a[s],!g);u[s]=m.getViewLineCount(),this.lines[s]=m}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new Rl(u)},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(z.a.compareRangesUsingStarts),i=[],o=n[0].startLineNumber,r=n[0].endLineNumber,s=1,a=n.length;sr+1?(i.push(new z.a(o,1,r,1)),o=u.startLineNumber,r=u.endLineNumber):u.endLineNumber>r&&(r=u.endLineNumber)}return i.push(new z.a(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(z.a.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 y=this.lines[r].getViewLineCount();this.prefixSumComputer.changeValue(r,y)}}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,null),!0)},e.prototype.setWrappingSettings=function(e,t,n,i){var o=this.fontInfo.equals(e),r=this.wrappingStrategy===t,s=this.wrappingColumn===n,a=this.wrappingIndent===i;if(o&&r&&s&&a)return!1;var u=o&&r&&!s&&a;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=n,this.wrappingIndent=i;var l=null;if(u){l=[];for(var c=0,d=this.lines.length;c s?(f=(h=(l=(u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1)+s-1)+1)+(o-s)-1,a=!0):o t?t:0|e},e.prototype.getActiveIndentGuide=function(e,t,n){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){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),f=d.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(c+1)),p=0;(C=f-h+1)>1&&1===d.getViewLineMinColumn(this.model,c+1,f)&&(p=0===h?1:2),r.push(C),s.push(p),null===l&&(l=new H.a(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,y=0,_=o.length;y<_;y++){var b=o[y],C=Math.min(g-v,r[y]),w=void 0;w=2===(p=s[y])?0:1===p?1:C;for(var S=0;St&&(f=!0,h=t-o+1);var p=d+h;if(c.getViewLinesData(this.model,u+1,d,p,o-e,n,a),o+=h,f)break}}return a},e.prototype.validateViewPosition=function(e,t,n){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 H.a(o+1,l)).equals(n)?new H.a(e,t):this.convertModelPositionToViewPosition(n.lineNumber,n.column)},e.prototype.validateViewRange=function(e,t){var n=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),i=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new z.a(n.lineNumber,n.column,i.lineNumber,i.column)},e.prototype.convertViewPositionToModelPosition=function(e,t){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 H.a(i+1,r))},e.prototype.convertViewRangeToModelRange=function(e){var t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),n=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new z.a(t.lineNumber,t.column,n.lineNumber,n.column)},e.prototype.convertModelPositionToViewPosition=function(e,t){for(var n=this.model.validatePosition(new H.a(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 H.a(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.convertModelRangeToViewRange=function(e){var t=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn),n=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn);return e.startLineNumber===e.endLineNumber&&t.lineNumber!==n.lineNumber&&n.column===this.getViewLineMinColumn(n.lineNumber)?new z.a(t.lineNumber,t.column,n.lineNumber-1,this.getViewLineMaxColumn(n.lineNumber-1)):new z.a(t.lineNumber,t.column,n.lineNumber,n.column)},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 ql,r=0,s=i;r t.id?1:0:n}));for(var d=[],h=0,f=null,p=0,g=r;p 0&&(r=Bl(this._lineBreakData.wrappedTextIndentLength)+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._lineBreakData.wrappedTextIndentLength+o),o},e.prototype.getViewLineMinColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return n>0?this._lineBreakData.wrappedTextIndentLength+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=Bl(this._lineBreakData.wrappedTextIndentLength)+r);var s=n>0?this._lineBreakData.wrappedTextIndentLength+1:1,a=r.length+1,u=n+1 0&&(l=this._lineBreakData.wrappedTextIndentLength);var c=e.getLineTokens(t),d=0===n?0:this._lineBreakData.breakOffsetsVisibleColumn[n-1];return new wn(r,u,s,a,d,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&&(n 0&&(o+=this._lineBreakData.wrappedTextIndentLength),new H.a(e+i,o)},e.prototype.getViewLineNumberOfModelPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");return e+Tl.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1).outputLineIndex},e}(),Wl=[""];function Bl(e){if(e>=Wl.length)for(var t=1;t<=e;t++)Wl[t]=Hl(t);return Wl[e]}function Hl(e){return new Array(e+1).join(" ")}function zl(e,t){return null===e?t?Fl.INSTANCE:jl.INSTANCE:new Vl(e,t)}var Ul=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}(),Kl=function(){function e(e){this.model=e}return e.prototype.dispose=function(){},e.prototype.createCoordinatesConverter=function(){return new Ul(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,i){return!1},e.prototype.createLineBreaksComputer=function(){var e=[];return{addRequest:function(t,n){e.push(null)},finalize:function(){return e}}},e.prototype.onModelFlushed=function(){},e.prototype.onModelLinesDeleted=function(e,t,n){return new la(t,n)},e.prototype.onModelLinesInserted=function(e,t,n,i){return new ca(t,n)},e.prototype.onModelLineChanged=function(e,t,n){return[!1,new ua(t,t),null,null]},e.prototype.acceptVersionId=function(e){},e.prototype.getViewLineCount=function(){return this.model.getLineCount()},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}(),Gl=function(){function e(e,t,n,i,o){this.editorId=e,this.model=t,this.configuration=n,this._linesCollection=i,this._coordinatesConverter=o,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}return e.prototype._clearCachedModelDecorationsResolver=function(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null},e.prototype.dispose=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.reset=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.onModelDecorationsChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.onLineMappingChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype._getOrCreateViewModelDecoration=function(e){var t=e.id,n=this._decorationsCache[t];if(!n){var i=e.range,o=e.options,r=void 0;if(o.isWholeLine){var s=this._coordinatesConverter.convertModelPositionToViewPosition(new H.a(i.startLineNumber,1)),a=this._coordinatesConverter.convertModelPositionToViewPosition(new H.a(i.endLineNumber,this.model.getLineMaxColumn(i.endLineNumber)));r=new z.a(s.lineNumber,s.column,a.lineNumber,a.column)}else r=this._coordinatesConverter.convertModelRangeToViewRange(i);n=new xn(r,o),this._decorationsCache[t]=n}return n},e.prototype.getDecorationsViewportData=function(e){var t=null!==this._cachedModelDecorationsResolver;return(t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange))||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(e),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver},e.prototype._getDecorationsViewportData=function(e){for(var t=this._linesCollection.getDecorationsInRange(e,this.editorId,Object(F.j)(this.configuration.options)),n=e.startLineNumber,i=e.endLineNumber,o=[],r=0,s=[],a=n;a<=i;a++)s[a-n]=[];for(var u=0,l=t.length;u =2&&e.viewportStartLineTrackedRange){var x=e.model._getTrackedRange(e.viewportStartLineTrackedRange);if(x){var N=e.coordinatesConverter.convertModelPositionToViewPosition(x.getStartPosition()),L=e.viewLayout.getVerticalOffsetForLineNumber(N.lineNumber);e.viewLayout.setScrollPositionNow({scrollTop:L+e.viewportStartLineDelta})}}}))),this._register(this.model.onDidChangeTokens((function(t){for(var n=[],i=0,o=t.ranges.length;i a||(r 0&&u[c-1]===u[c]||(l+=this.model.getLineContent(u[c])+i);return l}if(o&&t){for(var d=[],h=0,f=0,p=e;f '+this._getHTMLToCopy(i,s)+""}},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?"
":wl(c,l.inflate(),t,d,h,s,ie.h)}return a},t.prototype._getColorMap=function(){var e=Re.y.getColorMap(),t=["#000000"];if(e)for(var n=1,i=e.length;n=0&&e<256?this._asciiMap[e]:e>=12352&&e<=12543||e>=13312&&e<=19903||e>=19968&&e<=40959?3:this._map.get(e)||this._defaultValue},t}(Ct.a),tc=[],nc=[],ic=function(){function e(e,t){this.classifier=new ec(e,t)}return e.create=function(t){return new e(t.get(99),t.get(98))},e.prototype.createLineBreaksComputer=function(e,t,n,i){var o=this;t|=0,n=+n;var r=[],s=[];return{addRequest:function(e,t){r.push(e),s.push(t)},finalize:function(){for(var a=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth,u=[],l=0,c=r.length;l=0)for(var y=Math.abs(l[v]-g);v+1 =y)break;y=j,v++}for(;v g){S=k,O=x-T,x-w>d&&(C=0),E=!1;break}N=M,L=I}if(E){p>0&&(h[p]=u[u.length-1],f[p]=l[u.length-1],p++);break}}if(0===C){x=b,M=n.charCodeAt(_),I=e.get(M);var P=!1;for(D=_-1;D>=0;D--){k=D+1;if(9===(N=n.charCodeAt(D))){P=!0;break}L=void 0;var R=void 0;if(ne.y(N)?(D--,L=0,R=2):(L=e.get(N),R=ne.w(N)?r:1),x<=g){if(0===S&&(S=k,O=x),x<=g-d)break;if(uc(N,L,M,I)){C=k,w=x;break}}x-=R,M=N,I=L}if(0!==C){var A=d-(O-w);if(A<=i){var F=n.charCodeAt(S);T=void 0;A-(T=ne.x(F)?2:sc(F,O,i,r))<0&&(C=0)}}if(P){v--;continue}}for(0===C&&(C=S,w=O),h[p]=C,f[p]=w,p++,g=w+d;v<0||v =y)break;y=j,v++}}return 0===p?null:(h.length=p,f.length=p,tc=t.breakOffsets,nc=t.breakOffsetsVisibleColumn,t.breakOffsets=h,t.breakOffsetsVisibleColumn=f,t.wrappedTextIndentLength=c,t)}function rc(e,t,n,i,o,r){if(-1===i)return null;var s=t.length;if(s<=1)return null;var a=lc(t,n,i,o,r),u=i-a,l=[],c=[],d=0,h=0,f=0,p=i,g=t.charCodeAt(0),m=e.get(g),v=sc(g,0,n,o),y=1;ne.x(g)&&(v+=1,g=t.charCodeAt(1),m=e.get(g),y++);for(var _=y;_ p&&((0===h||v-f>u)&&(h=b,f=v-S),l[d]=h,c[d]=f,d++,p=f+u,h=0),g=C,m=w}return 0===d?null:(l[d]=s,c[d]=v,new Tl(l,c,a))}function sc(e,t,n,i){return 9===e?n-t%n:ne.w(e)?i:1}function ac(e,t){return t-e%t}function uc(e,t,n,i){return 32!==n&&(2===t||3===t&&2!==i||1===i||3===i&&1!==t)}function lc(e,t,n,i,o){var r=0;if(0!==o){var s=ne.o(e);if(-1!==s){for(var a=0;an&&(r=0)}}return r}var cc=function(){function e(){}return e.create=function(){return new e},e.prototype.createLineBreaksComputer=function(e,t,n,i){t|=0,n=+n;var o=[];return{addRequest:function(e,t){o.push(e)},finalize:function(){return function(e,t,n,i,o){if(-1===i){for(var r=[],s=0,a=e.length;su?(v=0,y=0):_=u-w}var S=m.substr(v),O=dc(S,y,n,_,c);d[s]=v,h[s]=y,f[s]=S,p[s]=O[0],g[s]=O[1]}l.innerHTML=c.build(),l.style.position="absolute",l.style.top="10000",l.style.wordWrap="break-word",document.body.appendChild(l);var x=document.createRange(),N=Array.prototype.slice.call(l.children,0),L=[];for(s=0;s');for(var r=e.length,s=t,a=0,u=[],l=[],c=0 "),[u,l]}function hc(e,t,n,i){if(n.length<=1)return null;var o=[];return function e(t,n,i,o,r,s,a,u){if(o===s)return;if(r=r||fc(t,n,i[o],i[o+1]),a=a||fc(t,n,i[s],i[s+1]),Math.abs(r[0].top-a[0].top)<=.1)return;if(o+1===s)return void u.push(s);var l=o+(s-o)/2|0,c=fc(t,n,i[l],i[l+1]);e(t,n,i,o,r,l,c,u),e(t,n,i,l,c,s,a,u)}(e,t.firstChild,i,0,null,n.length-1,null,o),0===o.length?null:(o.push(n.length),o)}function fc(e,t,n,i){return e.setStart(t,n),e.setEnd(t,i),e.getClientRects()}var pc=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)}}(),gc=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},mc=function(e,t){return function(n,i){t(n,i,e)}},vc=0,yc=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(){Object(le.e)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.cursor.dispose(),this.viewModel.dispose()},e}(),_c=function(e){function t(t,n,i,o,r,s,a,u,l,c){var d=e.call(this)||this;d._onDidDispose=d._register(new V.a),d.onDidDispose=d._onDidDispose.event,d._onDidChangeModelContent=d._register(new V.a),d.onDidChangeModelContent=d._onDidChangeModelContent.event,d._onDidChangeModelLanguage=d._register(new V.a),d.onDidChangeModelLanguage=d._onDidChangeModelLanguage.event,d._onDidChangeModelLanguageConfiguration=d._register(new V.a),d.onDidChangeModelLanguageConfiguration=d._onDidChangeModelLanguageConfiguration.event,d._onDidChangeModelOptions=d._register(new V.a),d.onDidChangeModelOptions=d._onDidChangeModelOptions.event,d._onDidChangeModelDecorations=d._register(new V.a),d.onDidChangeModelDecorations=d._onDidChangeModelDecorations.event,d._onDidChangeConfiguration=d._register(new V.a),d.onDidChangeConfiguration=d._onDidChangeConfiguration.event,d._onDidChangeModel=d._register(new V.a),d.onDidChangeModel=d._onDidChangeModel.event,d._onDidChangeCursorPosition=d._register(new V.a),d.onDidChangeCursorPosition=d._onDidChangeCursorPosition.event,d._onDidChangeCursorSelection=d._register(new V.a),d.onDidChangeCursorSelection=d._onDidChangeCursorSelection.event,d._onDidAttemptReadOnlyEdit=d._register(new V.a),d.onDidAttemptReadOnlyEdit=d._onDidAttemptReadOnlyEdit.event,d._onDidLayoutChange=d._register(new V.a),d.onDidLayoutChange=d._onDidLayoutChange.event,d._editorTextFocus=d._register(new bc),d.onDidFocusEditorText=d._editorTextFocus.onDidChangeToTrue,d.onDidBlurEditorText=d._editorTextFocus.onDidChangeToFalse,d._editorWidgetFocus=d._register(new bc),d.onDidFocusEditorWidget=d._editorWidgetFocus.onDidChangeToTrue,d.onDidBlurEditorWidget=d._editorWidgetFocus.onDidChangeToFalse,d._onWillType=d._register(new V.a),d.onWillType=d._onWillType.event,d._onDidType=d._register(new V.a),d.onDidType=d._onDidType.event,d._onDidCompositionStart=d._register(new V.a),d.onDidCompositionStart=d._onDidCompositionStart.event,d._onDidCompositionEnd=d._register(new V.a),d.onDidCompositionEnd=d._onDidCompositionEnd.event,d._onDidPaste=d._register(new V.a),d.onDidPaste=d._onDidPaste.event,d._onMouseUp=d._register(new V.a),d.onMouseUp=d._onMouseUp.event,d._onMouseDown=d._register(new V.a),d.onMouseDown=d._onMouseDown.event,d._onMouseDrag=d._register(new V.a),d.onMouseDrag=d._onMouseDrag.event,d._onMouseDrop=d._register(new V.a),d.onMouseDrop=d._onMouseDrop.event,d._onContextMenu=d._register(new V.a),d.onContextMenu=d._onContextMenu.event,d._onMouseMove=d._register(new V.a),d.onMouseMove=d._onMouseMove.event,d._onMouseLeave=d._register(new V.a),d.onMouseLeave=d._onMouseLeave.event,d._onMouseWheel=d._register(new V.a),d.onMouseWheel=d._onMouseWheel.event,d._onKeyUp=d._register(new V.a),d.onKeyUp=d._onKeyUp.event,d._onKeyDown=d._register(new V.a),d.onKeyDown=d._onKeyDown.event,d._onDidContentSizeChange=d._register(new V.a),d.onDidContentSizeChange=d._onDidContentSizeChange.event,d._onDidScrollChange=d._register(new V.a),d.onDidScrollChange=d._onDidScrollChange.event,d._onDidChangeViewZones=d._register(new V.a),d.onDidChangeViewZones=d._onDidChangeViewZones.event,d._domElement=t,d._id=++vc,d._decorationTypeKeysToIds={},d._decorationTypeSubtypes={},d.isSimpleWidget=i.isSimpleWidget||!1,d._telemetryData=i.telemetryData,n=n||{},d._configuration=d._register(d._createConfiguration(n,c)),d._register(d._configuration.onDidChange((function(e){d._onDidChangeConfiguration.fire(e);var t=d._configuration.options;if(e.hasChanged(107)){var n=t.get(107);d._onDidLayoutChange.fire(n)}}))),d._contextKeyService=d._register(a.createScoped(d._domElement)),d._notificationService=l,d._codeEditorService=r,d._commandService=s,d._themeService=u,d._register(new Cc(d,d._contextKeyService)),d._register(new wc(d,d._contextKeyService)),d._instantiationService=o.createChild(new Xl([Zi.c,d._contextKeyService])),d._modelData=null,d._contributions={},d._actions={},d._focusTracker=new Sc(t),d._focusTracker.onChange((function(){d._editorWidgetFocus.setValue(d._focusTracker.hasFocus())})),d._contentWidgets={},d._overlayWidgets={};for(var h=0,f=Array.isArray(i.contributions)?i.contributions:or.d.getEditorContributions();h 1),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}(le.a),wc=function(e){function t(t,n){var i=e.call(this)||this;i._editor=t,i._contextKeyService=n,i._langId=Cl.a.languageId.bindTo(n),i._hasCompletionItemProvider=Cl.a.hasCompletionItemProvider.bindTo(n),i._hasCodeActionsProvider=Cl.a.hasCodeActionsProvider.bindTo(n),i._hasCodeLensProvider=Cl.a.hasCodeLensProvider.bindTo(n),i._hasDefinitionProvider=Cl.a.hasDefinitionProvider.bindTo(n),i._hasDeclarationProvider=Cl.a.hasDeclarationProvider.bindTo(n),i._hasImplementationProvider=Cl.a.hasImplementationProvider.bindTo(n),i._hasTypeDefinitionProvider=Cl.a.hasTypeDefinitionProvider.bindTo(n),i._hasHoverProvider=Cl.a.hasHoverProvider.bindTo(n),i._hasDocumentHighlightProvider=Cl.a.hasDocumentHighlightProvider.bindTo(n),i._hasDocumentSymbolProvider=Cl.a.hasDocumentSymbolProvider.bindTo(n),i._hasReferenceProvider=Cl.a.hasReferenceProvider.bindTo(n),i._hasRenameProvider=Cl.a.hasRenameProvider.bindTo(n),i._hasSignatureHelpProvider=Cl.a.hasSignatureHelpProvider.bindTo(n),i._hasDocumentFormattingProvider=Cl.a.hasDocumentFormattingProvider.bindTo(n),i._hasDocumentSelectionFormattingProvider=Cl.a.hasDocumentSelectionFormattingProvider.bindTo(n),i._hasMultipleDocumentFormattingProvider=Cl.a.hasMultipleDocumentFormattingProvider.bindTo(n),i._hasMultipleDocumentSelectionFormattingProvider=Cl.a.hasMultipleDocumentSelectionFormattingProvider.bindTo(n),i._isInWalkThrough=Cl.a.isInEmbeddedEditor.bindTo(n);var o=function(){return i._update()};return i._register(t.onDidChangeModel(o)),i._register(t.onDidChangeModelLanguage(o)),i._register(Re.d.onDidChange(o)),i._register(Re.a.onDidChange(o)),i._register(Re.b.onDidChange(o)),i._register(Re.f.onDidChange(o)),i._register(Re.e.onDidChange(o)),i._register(Re.p.onDidChange(o)),i._register(Re.z.onDidChange(o)),i._register(Re.o.onDidChange(o)),i._register(Re.h.onDidChange(o)),i._register(Re.l.onDidChange(o)),i._register(Re.t.onDidChange(o)),i._register(Re.u.onDidChange(o)),i._register(Re.g.onDidChange(o)),i._register(Re.i.onDidChange(o)),i._register(Re.w.onDidChange(o)),o(),i}return pc(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.reset=function(){var e=this;this._contextKeyService.bufferChangeEvents((function(){e._langId.reset(),e._hasCompletionItemProvider.reset(),e._hasCodeActionsProvider.reset(),e._hasCodeLensProvider.reset(),e._hasDefinitionProvider.reset(),e._hasDeclarationProvider.reset(),e._hasImplementationProvider.reset(),e._hasTypeDefinitionProvider.reset(),e._hasHoverProvider.reset(),e._hasDocumentHighlightProvider.reset(),e._hasDocumentSymbolProvider.reset(),e._hasReferenceProvider.reset(),e._hasRenameProvider.reset(),e._hasDocumentFormattingProvider.reset(),e._hasDocumentSelectionFormattingProvider.reset(),e._hasSignatureHelpProvider.reset(),e._isInWalkThrough.reset()}))},t.prototype._update=function(){var e=this,t=this._editor.getModel();t?this._contextKeyService.bufferChangeEvents((function(){e._langId.set(t.getLanguageIdentifier().language),e._hasCompletionItemProvider.set(Re.d.has(t)),e._hasCodeActionsProvider.set(Re.a.has(t)),e._hasCodeLensProvider.set(Re.b.has(t)),e._hasDefinitionProvider.set(Re.f.has(t)),e._hasDeclarationProvider.set(Re.e.has(t)),e._hasImplementationProvider.set(Re.p.has(t)),e._hasTypeDefinitionProvider.set(Re.z.has(t)),e._hasHoverProvider.set(Re.o.has(t)),e._hasDocumentHighlightProvider.set(Re.h.has(t)),e._hasDocumentSymbolProvider.set(Re.l.has(t)),e._hasReferenceProvider.set(Re.t.has(t)),e._hasRenameProvider.set(Re.u.has(t)),e._hasSignatureHelpProvider.set(Re.w.has(t)),e._hasDocumentFormattingProvider.set(Re.g.has(t)||Re.i.has(t)),e._hasDocumentSelectionFormattingProvider.set(Re.i.has(t)),e._hasMultipleDocumentFormattingProvider.set(Re.g.all(t).length+Re.i.all(t).length>1),e._hasMultipleDocumentSelectionFormattingProvider.set(Re.i.all(t).length>1),e._isInWalkThrough.set(t.uri.scheme===$.b.walkThroughSnippet)})):this.reset()},t}(le.a),Sc=function(e){function t(t){var n=e.call(this)||this;return n._onChange=n._register(new V.a),n.onChange=n._onChange.event,n._hasFocus=!1,n._domFocusTracker=n._register(Z.T(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 pc(t,e),t.prototype.hasFocus=function(){return this._hasFocus},t}(le.a),Oc=encodeURIComponent("");function Nc(e){return Oc+encodeURIComponent(e.toString())+xc}var Lc=encodeURIComponent('');Object(Mr.e)((function(e,t){var n=e.getColor(xs.o);n&&t.addRule(".monaco-editor .squiggly-error { border-bottom: 4px double "+n+"; }");var i=e.getColor(xs.p);i&&t.addRule('.monaco-editor .squiggly-error { background: url("data:image/svg+xml,'+Nc(i)+'") repeat-x bottom left; }');var o=e.getColor(xs.F);o&&t.addRule(".monaco-editor .squiggly-warning { border-bottom: 4px double "+o+"; }");var r=e.getColor(xs.G);r&&t.addRule('.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,'+Nc(r)+'") repeat-x bottom left; }');var s=e.getColor(xs.A);s&&t.addRule(".monaco-editor .squiggly-info { border-bottom: 4px double "+s+"; }");var a=e.getColor(xs.B);a&&t.addRule('.monaco-editor .squiggly-info { background: url("data:image/svg+xml,'+Nc(a)+'") repeat-x bottom left; }');var u=e.getColor(xs.x);u&&t.addRule(".monaco-editor .squiggly-hint { border-bottom: 2px dotted "+u+"; }");var l=e.getColor(xs.y);l&&t.addRule('.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,'+(Lc+encodeURIComponent(l.toString())+Ec+'") no-repeat bottom left; }'));var c=e.getColor(Us);c&&t.addRule(".monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: "+c.rgba.a+"; }");var d=e.getColor(zs);d&&t.addRule(".monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed "+d+"; }");var h=e.getColor(xs.w)||"inherit";t.addRule(".monaco-editor .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: "+h+"}")}));n("lKfe");var Dc=n("cMOf"),kc=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=!1),this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=n},Mc=[];var Ic,Tc,Pc,Rc=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)}}(),Ac=Object(ue.c)("IEditorCancelService"),Fc=new Zi.d("cancellableOperation",!1);Ic=Ac,Tc=function(){function e(){this._tokens=new WeakMap}return e.prototype.add=function(e,t){var n,i=this._tokens.get(e);return i||(i=e.invokeWithinContext((function(e){return{key:Fc.bindTo(e.get(Zi.c)),tokens:new X.a}})),this._tokens.set(e,i)),i.key.set(!0),n=i.tokens.push(t),function(){n&&(n(),i.key.set(!i.tokens.isEmpty()),n=void 0)}},e.prototype.cancel=function(e){var t=this._tokens.get(e);if(t){var n=t.tokens.pop();n&&(n.cancel(),t.key.set(!t.tokens.isEmpty()))}},e}(),Pc=!0,Mc.push([Ic,new kc(Tc,[],Pc)]);var jc=function(e){function t(t,n){var i=e.call(this,n)||this;return i.editor=t,i._unregister=t.invokeWithinContext((function(e){return e.get(Ac).add(t,i)})),i}return Rc(t,e),t.prototype.dispose=function(){this._unregister(),e.prototype.dispose.call(this)},t}(j.a);Object(or.f)(new(function(e){function t(){return e.call(this,{id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:Fc})||this}return Rc(t,e),t.prototype.runEditorCommand=function(e,t){e.get(Ac).cancel(t)},t}(or.c)));var Vc=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)}}(),Wc=(function(){function e(e,t){if(this.flags=t,0!=(1&this.flags)){var n=e.getModel();this.modelVersionId=n?ne.p("{0}#{1}",n.uri.toString(),n.getVersionId()):null}else this.modelVersionId=null;0!=(4&this.flags)?this.position=e.getPosition():this.position=null,0!=(2&this.flags)?this.selection=e.getSelection():this.selection=null,0!=(8&this.flags)?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}e.prototype._equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.modelVersionId===n.modelVersionId&&(this.scrollLeft===n.scrollLeft&&this.scrollTop===n.scrollTop&&(!(!this.position&&n.position||this.position&&!n.position||this.position&&n.position&&!this.position.equals(n.position))&&!(!this.selection&&n.selection||this.selection&&!n.selection||this.selection&&n.selection&&!this.selection.equalsRange(n.selection))))},e.prototype.validate=function(t){return this._equals(new e(t,this.flags))}}(),function(e){function t(t,n,i){var o=e.call(this,t,i)||this;return o.editor=t,o._listener=new le.b,4&n&&o._listener.add(t.onDidChangeCursorPosition((function(e){return o.cancel()}))),2&n&&o._listener.add(t.onDidChangeCursorSelection((function(e){return o.cancel()}))),8&n&&o._listener.add(t.onDidScrollChange((function(e){return o.cancel()}))),1&n&&(o._listener.add(t.onDidChangeModel((function(e){return o.cancel()}))),o._listener.add(t.onDidChangeModelContent((function(e){return o.cancel()})))),o}Vc(t,e),t.prototype.dispose=function(){this._listener.dispose(),e.prototype.dispose.call(this)}}(jc),function(e){function t(t,n){var i=e.call(this,n)||this;return i._listener=t.onDidChangeContent((function(){return i.cancel()})),i}Vc(t,e),t.prototype.dispose=function(){this._listener.dispose(),e.prototype.dispose.call(this)}}(j.a),function(){function e(e,t){this._visiblePosition=e,this._visiblePositionScrollDelta=t}return e.capture=function(t){var n=null,i=0;if(0!==t.getScrollTop()){var o=t.getVisibleRanges();if(o.length>0){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}()),Bc=(n("DTDp"),n("WqXY")),Hc=n("8HAY"),zc=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)}}(),Uc=function(){function e(e,t,n,i){this.originalLineStart=e,this.originalLineEnd=t,this.modifiedLineStart=n,this.modifiedLineEnd=i}return e.prototype.getType=function(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0},e}(),Kc=function(e){this.entries=e},qc=function(e){function t(t){var n=e.call(this)||this;return n._width=0,n._diffEditor=t,n._isVisible=!1,n.shadow=Object(rr.b)(document.createElement("div")),n.shadow.setClassName("diff-review-shadow"),n.actionBarContainer=Object(rr.b)(document.createElement("div")),n.actionBarContainer.setClassName("diff-review-actions"),n._actionBar=n._register(new Bc.a(n.actionBarContainer.domNode)),n._actionBar.push(new Hc.a("diffreview.close",Zn.a("label.close","Close"),"close-diff-review",!0,(function(){return n.hide(),Promise.resolve(null)})),{label:!1,icon:!0}),n.domNode=Object(rr.b)(document.createElement("div")),n.domNode.setClassName("diff-review monaco-editor-background"),n._content=Object(rr.b)(document.createElement("div")),n._content.setClassName("diff-review-content"),n.scrollbar=n._register(new Ya.a(n._content.domNode,{})),n.domNode.domNode.appendChild(n.scrollbar.getDomNode()),n._register(t.onDidUpdateDiff((function(){n._isVisible&&(n._diffs=n._compute(),n._render())}))),n._register(t.getModifiedEditor().onDidChangeCursorPosition((function(){n._isVisible&&n._render()}))),n._register(t.getOriginalEditor().onDidFocusEditorWidget((function(){n._isVisible&&n.hide()}))),n._register(t.getModifiedEditor().onDidFocusEditorWidget((function(){n._isVisible&&n.hide()}))),n._register(Z.k(n.domNode.domNode,"click",(function(e){e.preventDefault();var t=Z.r(e.target,"diff-review-row");t&&n._goToRow(t)}))),n._register(Z.k(n.domNode.domNode,"keydown",(function(e){(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),n._goToRow(n._getNextRow())),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),n._goToRow(n._getPrevRow())),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),n.hide()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),n.accept())}))),n._diffs=[],n._currentDiff=null,n}return zc(t,e),t.prototype.prev=function(){var e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){for(var t=-1,n=0,i=this._diffs.length;n0){var y=e[r-1];m=0===y.originalEndLineNumber?y.originalStartLineNumber+1:y.originalEndLineNumber+1,v=0===y.modifiedEndLineNumber?y.modifiedStartLineNumber+1:y.modifiedEndLineNumber+1}var _=p-3+1,b=g-3+1;if(_ S)L+=N=S-L,E+=N;if(E>O)L+=N=O-E,E+=N;h[f++]=new Uc(C,L,w,E),i[o++]=new Kc(h)}var D=i[0].entries,k=[],M=0;for(r=1,s=i.length;r d)&&(d=v),0!==y&&(0===h||yf)&&(f=_)}var b=document.createElement("div");b.className="diff-review-row";var C=document.createElement("div");C.className="diff-review-cell diff-review-summary";var w=d-c+1,S=f-h+1;C.appendChild(document.createTextNode(a+1+"/"+this._diffs.length+": @@ -"+c+","+w+" +"+h+","+S+" @@")),b.setAttribute("data-line",String(h));var O=function(e){return 0===e?Zn.a("no_lines","no lines"):1===e?Zn.a("one_line","1 line"):Zn.a("more_lines","{0} lines",e)},x=O(w),N=O(S);b.setAttribute("aria-label",Zn.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines", "1 line" or "X lines", localized separately.']},"Difference {0} of {1}: original {2}, {3}, modified {4}, {5}",a+1,this._diffs.length,c,x,h,N)),b.appendChild(C),b.setAttribute("role","listitem"),l.appendChild(b);var L=h;for(p=0,g=u.length;p 0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1] o.modifiedStartLineNumber?Zn.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):Zn.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,(function(){return Jc(a,void 0,void 0,(function(){return $c(this,(function(e){switch(e.label){case 0:return[4,this._clipboardService.writeText(o.originalContent.join(l)+l)];case 1:return e.sent(),[2]}}))}))})));var d=0,h=void 0;o.originalEndLineNumber>o.modifiedStartLineNumber&&(h=new Hc.a("diff.clipboard.copyDeletedLineContent",Zn.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",o.originalStartLineNumber),void 0,!0,(function(){return Jc(a,void 0,void 0,(function(){return $c(this,(function(e){switch(e.label){case 0:return[4,this._clipboardService.writeText(o.originalContent[d])];case 1:return e.sent(),[2]}}))}))})),c.push(h)),i.getOption(68)||c.push(new Hc.a("diff.inline.revertChange",Zn.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,(function(){return Jc(a,void 0,void 0,(function(){var e;return $c(this,(function(t){return 0===o.modifiedEndLineNumber?(e=i.getModel().getLineMaxColumn(o.modifiedStartLineNumber),i.executeEdits("diffEditor",[{range:new z.a(o.modifiedStartLineNumber,e,o.modifiedStartLineNumber,e),text:l+o.originalContent.join(l)}])):(e=i.getModel().getLineMaxColumn(o.modifiedEndLineNumber),i.executeEdits("diffEditor",[{range:new z.a(o.modifiedStartLineNumber,1,o.modifiedEndLineNumber,e),text:o.originalContent.join(l)}])),[2]}))}))})));var f=function(e,t){a._contextMenuService.showContextMenu({getAnchor:function(){return{x:e,y:t}},getActions:function(){return h&&(h.label=Zn.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",o.originalStartLineNumber+d)),c},autoSelectFirstItem:!0})};return a._register(Z.k(a._diffActions,"mousedown",(function(e){var t=Z.w(a._diffActions),n=t.top,i=t.height,o=Math.floor(u/3);e.preventDefault(),f(e.posx,n+i+o)}))),a._register(i.onMouseMove((function(e){8===e.target.type||5===e.target.type?e.target.detail.viewZoneId===a._viewZoneId?(a.visibility=!0,d=a._updateLightBulbPosition(a._marginDomNode,e.event.browserEvent.y,u)):a.visibility=!1:a.visibility=!1}))),a._register(i.onMouseDown((function(e){e.event.rightButton&&(8!==e.target.type&&5!==e.target.type||e.target.detail.viewZoneId===a._viewZoneId&&(e.event.preventDefault(),d=a._updateLightBulbPosition(a._marginDomNode,e.event.browserEvent.y,u),f(e.event.posx,e.event.posy+u)))}))),a}return Qc(t,e),Object.defineProperty(t.prototype,"visibility",{get:function(){return this._visibility},set:function(e){this._visibility!==e&&(this._visibility=e,this._diffActions.style.visibility=e?"visible":"hidden")},enumerable:!0,configurable:!0}),t.prototype._updateLightBulbPosition=function(e,t,n){var i=t-Z.w(e).top,o=Math.floor(i/n),r=o*n;return this._diffActions.style.top=r+"px",o},t}(le.a),td=Object(ue.c)("editorProgressService"),nd=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)}}(),id=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},od=function(e,t){return function(n,i){t(n,i,e)}},rd=function(){function e(e,t){this._contextMenuService=e,this._clipboardService=t,this._zones=[],this.inlineDiffMargins=[],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;n